:root {
  --base-color: #4b2316;
  --base-fontset: "indivisible", "ryo-gothic-plusn", sans-serif;
  --sans-serif: "indivisible", sans-serif;
  --serif: "dnp-shuei-nmincho-std", serif;
  --nav-bg: #4b2316;
  --nav-color: #e4cea1;
}

body {
  font-family: var(--base-fontset);
  font-feature-settings: "palt";
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 2;
  background-color: var(--nav-bg);
  color: var(--base-color);
}
p {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 959px) {
  body {
    font-size: min(4vw, 15px);
  }
}
@media (min-width: 960px) {
  body {
    font-size: min(1.35vw, 15.5px);
    background-color: #fff;
  }
  html {
    scrollbar-gutter: stable;
  }
}
@media (min-width: 740px) {
  .sp {
    display: none;
  }
}
@media (min-width: 960px) {
  .tb {
    display: none;
  }
  .sptb {
    display: none;
  }
}
@media (max-width: 739px) {
  .tb {
    display: none;
  }
  .tbpc {
    display: none;
  }
}
@media (max-width: 959px) {
  .pc {
    display: none;
  }
}
h1,
h2,
h3,
h4 {
  font-weight: normal;
  text-wrap: wrap;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
a {
  color: inherit;
}
a[href*="tel:"] {
  pointer-events: none;
}
@media (any-hover: hover) {
  .underline {
    background-image: linear-gradient(
      90deg,
      var(--base-color),
      var(--base-color)
    );
    background-position: left bottom; /* 線の起点を左・下に設定 */
    background-repeat: no-repeat;
    background-size: 0 1px; /* 線の横幅を0、縦幅を2pxに */
    padding-bottom: 3px; /* 下線を下にズラす */
    transition: background-size 0.5s;
  }
  a:hover .underline {
    background-size: 100% 1px;
  }
}
@media screen and (max-width: 640px) {
  a[href*="tel:"] {
    pointer-events: auto;
  }
}
address {
  font-style: normal;
}
.contents_wrapper {
  position: relative;
  z-index: 2;
}
main {
  display: block;
}
@media (max-width: 739px) {
  main {
    position: relative;
    z-index: 5;
  }
  aside.right {
    display: none;
  }
}
@media (min-width: 740px) {
  main {
    position: relative;
    z-index: 5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
  }
  aside.right {
    position: relative;
    z-index: 4;
  }
}
@media (min-width: 740px) and (max-width: 959px) {
  .contents_wrapper {
    display: flex;
    overflow-y: scroll;
    & aside.left {
      flex: 1;
    }
    & main {
      width: min(64%, 460px);
    }
    & aside.right {
      flex: 1;
    }
  }
}
@media (min-width: 960px) {
  .contents_wrapper {
    display: flex;
    & aside.left {
      flex: 1;
    }
    & main {
      width: min(46%, 540px);
    }
    & aside.right {
      width: min(12%, 174px);
    }
  }
}
.content.sub_page {
  background-color: #fff;
}
.container {
  width: 82%;
  margin: auto;
}
h2 img {
  width: min(90%, 380px);
  margin: auto;
}
.asterisk {
  position: relative;
  padding: 0 0 0 1.2em;
  font-size: 0.9em;
}
.asterisk::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
}

/* 左サイド */
@media (max-width: 959px) {
  .left_contents {
    display: none;
  }
}
@media (min-width: 960px) {
  .left .container {
    position: sticky;
    top: 0;
    padding: 2.5em 0;
    height: 100vh;
  }
  .left_contents {
    display: flex;
    flex-direction: column;
    height: 100%;
    .left_logo {
      margin: 0 0 0 -1em;
      & img {
        width: max(50%, 240px);
      }
    }
    .left {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 2em 0;
    }
    & a {
      color: #fff;
    }
    .nav_label {
      display: flex;
      gap: 0.75em;
      align-items: center;
    }
    .nav_label::before {
      content: "";
      display: block;
      width: 0.6em;
      height: 0.6em;
      border-radius: 50%;
      border: 3px solid #ea596d;
    }
    .c_nav {
      display: inline-flex;
      gap: 0.5em;
      align-items: center;
      margin: 0.25em 0;
      .en {
        font-size: 1.125em;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        padding-left: 0.25em;
      }
      .jp {
        font-size: 0.875em;
      }
    }
    .nav_onlineshop {
      padding: 0.5em 0 0.75em 0;
    }
  }
}
@media (min-width: 1240px) {
  .left_contents {
    .c_nav {
      .en {
        font-size: 1.25em;
      }
    }
  }
}
/* 右サイド */
.side_tab {
  position: fixed;
  top: 20px;
  left: calc((100% - 460px) / 2 + 460px);
  width: 4em;
  .side_onlineshop {
    color: #fff;
    font-weight: 700;
    & a {
      background-color: #773d2c;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.75em;
      width: 4em;
      text-align: center;
      padding: 1em 0 1.5em;
    }
    & p {
      writing-mode: vertical-rl;
      letter-spacing: 0;
      font-size: 0.875em;
      font-feature-settings: normal;
    }
    .side_onlineshop_image {
      width: 3em;
      & img {
        filter: invert(100%) sepia(59%) saturate(2%) hue-rotate(313deg)
          brightness(112%) contrast(101%);
      }
    }
    .side_onlineshop_icon {
      width: 1.75em;
      border: 1px solid;
      border-radius: 50%;
    }
  }
  .side_sns {
    background-color: #fff;
    padding: 0.75em 0;
    & li {
      width: 4em;
      & a {
        display: block;
        margin: 0.75em auto;
        text-align: center;
        width: 2em;
        height: 2em;
      }
      & a img {
        filter: invert(23%) sepia(49%) saturate(848%) hue-rotate(328deg)
          brightness(90%) contrast(82%);
      }
    }
  }
}
@media (min-width: 960px) {
  .right {
    background-color: #fff;
  }
  .right_contents {
    position: sticky;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
  }
  .right_logo {
    flex: 1;
    padding: 30px 2.5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    & img {
      max-width: 90px;
      margin: auto;
    }
  }
  .side_tab {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    .side_onlineshop {
      color: var(--base-color);
      font-weight: 700;
      border: solid rgba(75, 35, 22, 0.1);
      border-width: 1px 0;
      & a {
        background-color: #fff;
        display: flex;
        gap: 0.25em;
        width: 100%;
        text-align: center;
        padding: 0.5em 0;
      }
      & p {
        writing-mode: horizontal-tb;
        letter-spacing: 0.03em;
        font-feature-settings: "palt";
        font-size: 0.7em;
      }
      .side_onlineshop_image {
        width: 3em;
        width: 3em;
        & img {
          filter: invert(15%) sepia(8%) saturate(4480%) hue-rotate(329deg)
            brightness(95%) contrast(95%);
        }
      }
      .side_onlineshop_icon {
        display: none;
      }
    }
    .side_sns {
      padding: 0 0.75em 0.75em;
      width: 100%;
      & ul {
        display: flex;
        width: 100%;
        gap: 0.5em;
      }
      & li {
        width: auto;
        flex: 1;
        & a {
          display: block;
          margin: 0.75em auto;
          text-align: center;
          width: auto;
          height: auto;
        }
        & a img {
          max-width: 2em;
          margin: auto;
          filter: invert(15%) sepia(8%) saturate(4480%) hue-rotate(329deg)
            brightness(95%) contrast(95%);
        }
      }
    }
  }
}
/* スマホ・タブレット用ドロワーメニュー */
.page_nav_wrapper {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  overflow: hidden;
  pointer-events: none;
}
.home_link a {
  display: inline-flex;
  align-items: center;
  gap: 1em;
  letter-spacing: 0.15em;
  margin: 0 0 3em 0;
  & svg {
    width: 1.2em;
    height: 1.2em;
    fill: var(--nav-color);
  }
}
.drawer_nav {
  padding: 1.75em 0 5em;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  background: var(--nav-bg);
  transform: translateY(100vh);
  transition: 1s;
  pointer-events: all;
  & a {
    color: var(--nav-color);
  }
  .c_nav {
    display: flex;
    align-items: center;
    column-gap: 0.5em;
    .en {
      font-size: 1.25em;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .jp {
      font-size: 0.9em;
    }
  }
  & li {
    margin: 0.5em 0;
  }
  .nav_onlineshop ul {
    color: var(--nav-color);
  }
  .nav_tel {
    margin: 1em 0;
    padding: 1em 0;
    border-top: 1px solid rgba(234, 214, 178, 0.3);
    text-align: center;
    p.telnum {
      font-size: 1.8em;
      line-height: 1.5;
    }
    p:not(.telnum) {
      font-size: 0.9em;
    }
  }
}
@media (min-width: 740px) {
  .drawer_nav {
    width: min(64%, 460px);
    margin: 0 auto;
    padding: 3em 0 5em;
  }
}
@media (min-width: 960px) {
  .drawer_nav {
    width: min(46%, 540px);
    margin-left: auto;
    margin-right: min(12%, 174px);
  }
  .home_link {
    display: none;
  }
}
@media (any-hover: hover) {
  .drawer_nav a:hover .underline {
    background-image: linear-gradient(
      90deg,
      var(--nav-color),
      var(--nav-color)
    );
  }
}
.drawer_nav.is-open {
  transform: translateY(0);
}
.contents_wrapper.is-scrollLock {
  overflow: auto;
  scrollbar-gutter: stable;
}
.nav_onlineshop {
  padding: 0.5em 0 0.75em 0;
  & > div a {
    font-weight: 500;
    font-size: 1.125em;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
  }
  & > div a svg {
    width: 1em;
    transform: translateY(-0.1em);
  }
  & ul {
    display: flex;
    column-gap: 2em;
    flex-wrap: wrap;
    padding: 0 0 0 1em;
    font-size: 0.9375em;
    list-style: disc;
    & li {
      margin: 0.25em 0;
    }
  }
}
.menu_sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;
  margin: 1.5em 0 0 0;
  & a {
    display: block;
  }
  & img {
    width: 2.2em;
    filter: invert(98%) sepia(56%) saturate(1006%) hue-rotate(315deg)
      brightness(96%) contrast(85%);
  }
}
.nav_button {
  position: fixed;
  right: 20px;
  top: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 10;
  pointer-events: all;
  & button {
    width: 1.8em;
    height: 4em;
    position: relative;
    z-index: 101;
    color: #fff;
    & span:not(.text) {
      position: absolute;
      left: 0;
      width: 100%;
      height: 2px;
      background: #fff;
      transform-origin: center center;
      transition-duration: 1s;
      transition-property: -webkit-transform;
      transition-property: transform;
      transition-property: transform, -webkit-transform;
      transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
    }
    & span:not(.text):first-child {
      transform: translateY(-8px);
    }
    & span:not(.text):nth-of-type(2) {
      transform: translateX(-8px);
    }
    & span:not(.text):nth-of-type(3) {
      transform: translateY(8px);
    }
    & span.text {
      position: absolute;
      top: 80%;
      left: calc(50% - 1.6em);
      font-size: 0.625em;
      letter-spacing: 0.1em;
      font-weight: 600;
    }
  }
}
.nav_button.is-open button {
  & span:not(.text):first-child {
    transform: translateY(0px) rotate(-30deg);
  }
  & span:not(.text):nth-of-type(2) {
    transform: scale(0);
  }
  & span:not(.text):nth-of-type(3) {
    transform: translateY(0px) rotate(30deg);
  }
}
@media (max-width: 739px) {
  .nav_button button {
    color: var(--base-color);
    transition: 0.5s;
    & span:not(.text) {
      background: var(--base-color);
    }
  }
  .nav_button.light button {
    color: #fff;
    transition: 0.5s;
    & span:not(.text) {
      background: #fff;
    }
  }
  .nav_button.is-open button {
    color: var(--nav-color);
    & span:not(.text) {
      background: var(--nav-color);
    }
  }
}
@media (min-width: 960px) {
  .nav_button {
    right: 30px;
  }
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 49;
  pointer-events: none;
}
.overlay.is-open {
  pointer-events: all;
}
@media (min-width: 960px) {
  .nav_button {
    & button {
      color: var(--base-color);
      & span:not(.text) {
        background: var(--base-color);
      }
    }
  }
}
.loader {
  width: 100%;
  height: 100vh;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  position: fixed;
  transition: 0.5s;
  z-index: 51;
  .loading_anime {
    animation: roast 6s ease infinite;
  }
  .move_beans {
    animation: bounce 2s ease infinite;
    width: 2em;
    & svg {
      width: 2em;
    }
  }
}
.loader.loaded {
  opacity: 0;
}
@keyframes roast {
  0% {
    color: #cec084;
  }
  33% {
    color: #bf8755;
  }
  66% {
    color: #884d1e;
  }
  100% {
    color: #3a1a04;
  }
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(0);
  }
  40% {
    transform: translateY(20px) rotate(360deg);
  }
  60% {
    transform: translateY(15px);
  }
}
.contact {
  & a {
    background: #f8c9d0 url(../images/contact_bg.webp) no-repeat center center;
    background-size: cover;
    padding: 3.5em 0;
    display: block;
    color: #fff;
  }
  & h2 {
    font-size: 2em;
    margin: 0 0 0.5em 0;
  }
  & p {
    font-size: 0.9375em;
  }
  .container {
    display: flex;
    gap: 1.2em;
    align-items: center;
  }
  .contact_text {
    flex: 1;
  }
  .contact_icon {
    width: 80px;
  }
  .link_circle {
    position: relative;
    width: 80px;
    height: 80px;
  }
  .circle1,
  .circle2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
  }
  .circle1 {
    & circle {
      fill: none;
      stroke: #fff;
      stroke-width: 1;
    }
  }
  .circle2 {
    & circle {
      fill: none;
      stroke: #e74259;
      stroke-width: 1;
      stroke-dasharray: 244.92;
      /* 2πr = 2 * π * 98 ≒ 615.75 */
      stroke-dashoffset: 244.92;
      transform: rotate(-90deg);
      /* 描画開始位置を12時に調整 */
      transform-origin: 50% 50%;
      transition: stroke-dashoffset 1s ease-out;
    }
  }
  .circle2:hover circle {
    stroke-dashoffset: 0;
  }
  .yajirushi {
    width: 40px;
    transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    fill: #fff;
    transition: 0.5s;
  }
}
@media (hover: hover) {
  .contact {
    & a .link_circle {
      transition: 0.3s;
    }
    & a:hover .link_circle {
      transform: scale(1.2);
    }
  }
}
.footer {
  background-color: #f1ebe7;
  .happy {
    text-align: center;
    padding: 3em 0 3em;
    .en {
      font-size: 1.5em;
      letter-spacing: 0.08em;
      line-height: 1.4;
      text-transform: capitalize;
      font-weight: 400;
    }
    .jp {
      padding: 0.3em 0 0 0;
      font-size: 1.125em;
      font-weight: 500;
    }
  }
}
.footer_nav {
  & > ul > li {
    padding: 0.1em 0;
  }
  .c_nav {
    display: block;
    .en {
      font-size: 1.125em;
      text-transform: uppercase;
      font-weight: 700;
    }
    .jp {
      font-size: 0.9em;
      padding: 0 0 0 1em;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
  }
  & .nav_onlineshop {
    padding: 1em 0 0 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  & .footer_sns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    padding: 2em 0 0 0;
    & a {
      display: block;
      width: 2.5em;
      text-align: center;
    }
    & img {
      width: 2em;
      filter: invert(16%) sepia(10%) saturate(2981%) hue-rotate(329deg)
        brightness(89%) contrast(91%);
    }
  }
}
@media (min-width: 960px) {
  .footer {
    & .happy {
      .en {
        font-size: 1.8em;
      }
    }
  }
}

.copyright {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.8125em;
  padding: 4em 0;
  text-transform: uppercase;
}

/* スライダー設定 */
.splide,
.splide__track,
.splide__list,
.splide__slide {
  width: 100%;
  height: 100vh;
}
.splide {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  & picture {
    width: 100%;
    height: 100vh;
  }
}
.splide__slide div {
  width: 100%;
  height: 100%;
  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
  }
}
.splide__slide.is-active div,
.splide__slide.is-prev div,
.splide__slide div.is-prev {
  -webkit-animation: scale 8s linear 0s normal both;
  animation: scale 8s linear 0s normal both;
}
.splide__track[aria-live="polite"] .splide__slide div {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}
@-webkit-keyframes scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}
@media (min-width: 960px) {
  .splide {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    & picture {
      width: 100%;
      height: 100vh;
    }
  }
}
/* 戻るボタン */
.back_link {
  margin: 4em 0 0 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.85em;
  & a {
    display: inline-flex;
    cursor: pointer;
    gap: 0.5em;
    align-items: center;
    border: 1px solid rgba(71, 39, 28, 0.5);
    background: transparent;
    padding: 0.25em 2em;
    transition: 0.3s;
  }
  & svg {
    width: 1em;
    fill: currentColor;
    transition: 0.3s;
  }
}
@media (any-hover: hover) {
  .back_link {
    & a:hover {
      background: rgba(203, 154, 112, 0.4);
    }
    & a:hover svg {
      transform: translateX(-0.5em);
    }
  }
}
main.notfound {
  background: #fff;
  .page_header {
    padding: 3em 0 0 0;
    .page_logo {
      width: 4.5em;
      & a {
        display: block;
      }
    }
  }
  .content_body {
    padding: 4em 0 8em 0;
    & h2 {
      text-align: center;
      font-size: 3em;
      margin-bottom: 1em;
    }
  }
}
@media (max-width: 959px) {
  main.notfound {
    .page_header {
      padding: 1.5em 0 2.5em 0;
      background: url(../images/header_notfound.webp) no-repeat center center;
      background-size: cover;
      height: 100vw;
      max-height: 420px;
      .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
      }
      & h2 img {
        height: 2.7em;
        width: auto;
        border-bottom: 2px solid;
      }
    }
  }
}
.no_post {
  padding: 4em 0;
  text-align: center;
}
/* reCAPCHA非表示 */
.grecaptcha-badge {
  visibility: hidden;
}
