@charset "UTF-8";
/**
 * SCSS Mixins
 *
 * 利用例:
 * @use 'mixin' as m;
 *
 * .example {
 *   font-size: 14px;
 *   @include m.mq('pc') {
 *     font-size: 18px;
 *   }
 * }
 */
/**
 * フォント
 *
 * 各ファイルで font-family 文字列を直書きせず、これらの mixin を使う。
 * 利用例:
 * .example { @include m.serif; }
 *
 * - serif    … 英字セリフ（EB Garamond）
 * - serif-jp … 和文明朝（Noto Serif JP）
 * - sans-jp  … 和文ゴシック（Noto Sans JP）
 */
/* 共通フッター（footer-nav.php） */
.l-footer .l-inner,
.p-footer__inner.l-inner {
  inline-size: 100%;
  max-inline-size: 385px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .l-footer .l-inner,
  .p-footer__inner.l-inner {
    max-inline-size: 1318px;
    padding-inline: 25px;
  }
}

/* =========================================================
   フッター
   ========================================================= */
.l-footer {
  padding-block: 48px 32px;
  position: relative;
}
@media (min-width: 768px) {
  .l-footer {
    padding-block: 60px 78px;
  }
}

.p-footer {
  background-color: #fff;
}

.p-footer__inner {
  position: relative;
}
@media (min-width: 768px) {
  .p-footer__inner {
    max-inline-size: 1300px;
  }
}

.p-footer__main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .p-footer__main {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 78px);
  }
}

.p-footer__side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
  -webkit-padding-end: 64px;
  padding-inline-end: 64px;
}
@media (min-width: 768px) {
  .p-footer__side {
    gap: 55px;
    min-width: 260px;
    -webkit-padding-end: 0;
    padding-inline-end: 0;
  }
}

.p-footer__logo-link {
  display: block;
}

.p-footer__logo {
  width: 136px;
  height: auto;
}
@media (min-width: 768px) {
  .p-footer__logo {
    width: 160px;
  }
}

.p-footer__actions {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-footer__shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid #479b60;
  color: #479b60 !important;
  font-family: "EB Garamond", serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
@media (min-width: 768px) {
  .p-footer__shop-btn {
    width: auto;
    justify-content: center;
    padding: 10px 18px;
    font-size: 16px;
    letter-spacing: 0.32em;
  }
}

.p-footer__shop-btn:hover {
  background-color: #479b60;
  color: #fff !important;
}

.p-footer__shop-btn-icon {
  flex-shrink: 0;
}

.p-footer__sub-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-footer__sub-links-link {
  font-family: "EB Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  color: #8d8d8e;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media (any-hover: hover) {
  .p-footer__sub-links-link:hover {
    opacity: 0.6;
  }
}
/* ---------- フッターナビ ---------- */
.p-footer__nav {
  flex: 1;
  min-width: 0;
}
@media (min-width: 768px) {
  .p-footer__nav {
    margin-top: 10px;
  }
}

.p-footer-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .p-footer-nav__list {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
  }
}
@media (min-width: 768px) and (max-width: 1280px) {
  .p-footer-nav__list {
    flex-wrap: wrap;
    row-gap: 12px;
  }
}

.p-footer-nav__item {
  position: relative;
  -webkit-border-after: 1px solid #e5e5e5;
  border-block-end: 1px solid #e5e5e5;
}
@media (max-width: 767px) {
  .p-footer-nav__item.p-footer-nav__item--has-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
  }
}
@media (min-width: 768px) {
  .p-footer-nav__item {
    display: flex;
    align-items: center;
    -webkit-border-after: none;
    border-block-end: none;
    flex-shrink: 0;
  }
  .p-footer-nav__item:not(:first-child)::before {
    content: "";
    display: block;
    width: 1px;
    height: 14px;
    margin-inline: clamp(12px, 1.5vw, 22px);
    background-color: #8d8d8e;
    flex-shrink: 0;
  }
}

.p-footer-nav__link,
.p-footer-nav__toggle {
  display: block;
  width: 100%;
  padding: 18px 4px;
  font-family: "EB Garamond", serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: #4c4948;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
@media (min-width: 768px) {
  .p-footer-nav__link,
  .p-footer-nav__toggle {
    display: inline-block;
    width: auto;
    padding: 0;
    font-size: 14px;
    letter-spacing: 0.12em;
    line-height: 1;
  }
}

.p-footer-nav__toggle {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
@media (min-width: 768px) {
  .p-footer-nav__toggle {
    text-align: inherit;
  }
}
@media (max-width: 767px) {
  .p-footer-nav__toggle {
    flex-shrink: 0;
    width: auto;
  }
}

.p-footer-nav__item--has-child > .p-footer-nav__toggle::before {
  content: "＋";
  -webkit-margin-end: 0.35em;
  margin-inline-end: 0.35em;
  font-size: 0.95em;
  line-height: 1;
}

.p-footer-nav__item--has-child.is-open > .p-footer-nav__toggle::before {
  content: "－";
}

@media (min-width: 768px) {
  .p-footer-nav__item--has-child:hover > .p-footer-nav__toggle::before,
  .p-footer-nav__item--has-child:focus-within > .p-footer-nav__toggle::before {
    content: "－";
  }
}
@media (any-hover: hover) {
  .p-footer-nav__link:hover,
  .p-footer-nav__toggle:hover {
    opacity: 0.6;
  }
}
/* SP: アコーディオン（右へスライド） */
.p-footer-nav__sub {
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 767px) {
  .p-footer-nav__sub {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(14px, 5vw, 28px);
    overflow: hidden;
    flex: 1;
    min-width: 0;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.35s ease, opacity 0.35s ease;
  }
  .p-footer-nav__sub li {
    list-style: none;
  }
}
@media (min-width: 768px) {
  .p-footer-nav__sub {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .p-footer-nav__item--has-child.is-open .p-footer-nav__sub {
    /* JS がインラインstyleを外した後も開いた状態を保つ（max-width が 0 に戻らないように） */
    max-width: none;
    opacity: 1;
  }
}

/* PC: ホバーで下に展開 */
@media (min-width: 768px) {
  .p-footer-nav__sub {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    /* 項目左の区切り（｜）分だけ右へ補正し、ボタン文字の中央に合わせる */
    transform: translateX(calc(-50% + clamp(12px, 1.5vw, 22px) + 0.5px)) translateY(4px);
    min-width: 120px;
    padding: 14px 18px;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2;
    display: flex;
  }
  /* ボタンとメニューの隙間を透明なブリッジで埋め、ホバーが途切れないようにする */
  .p-footer-nav__sub::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
  }
  .p-footer-nav__item--has-child:hover .p-footer-nav__sub,
  .p-footer-nav__item--has-child:focus-within .p-footer-nav__sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(calc(-50% + clamp(12px, 1.5vw, 22px) + 0.5px)) translateY(0);
  }
}
.p-footer-nav__sublink {
  display: block;
  font-family: "EB Garamond", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: #4c4948;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
@media (max-width: 767px) {
  .p-footer-nav__sublink {
    padding: 18px 4px;
  }
}
@media (min-width: 768px) {
  .p-footer-nav__sublink {
    font-size: 14px;
    letter-spacing: 0.06em;
    text-align: center;
  }
}

@media (any-hover: hover) {
  .p-footer-nav__sublink:hover {
    opacity: 0.6;
    text-decoration: underline;
    text-underline-offset: 0.3em;
  }
}
.p-footer__copyright {
  margin: 32px 0 0;
  font-size: 10px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  color: #8d8d8e;
  text-align: center;
}
@media (min-width: 768px) {
  .p-footer__copyright {
    -webkit-margin-before: 48px;
    margin-block-start: 48px;
  }
}

.p-top-btn {
  position: absolute;
  right: 4%;
  top: 5%;
}
@media (min-width: 768px) {
  .p-top-btn {
    bottom: 24%;
    right: 2%;
    top: inherit;
  }
}

.p-top-btn__link {
  display: block;
}

.p-top-btn__img {
  inline-size: 48px;
  block-size: 48px;
  -o-object-fit: contain;
  object-fit: contain;
}
@media (min-width: 768px) {
  .p-top-btn__img {
    inline-size: 56px;
    block-size: 56px;
  }
}

/*# sourceMappingURL=footer.css.map */
