@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Drawer開閉時のスクロールロック用 */
html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
  height: 100%;
}

/* CSSのみでドロワー開時に背景スクロールを抑止（:has 対応ブラウザ） */
html:has(.drawer.drawer--active),
body:has(.drawer.drawer--active) {
  overflow: hidden !important;
  height: 100%;
}

.header {
  font-family: "Noto Serif JP", serif;
}

.fs-c-slick .slick-dots {
  padding: 14px !important;
}

/* ========== Banner Block ========== */
.header .banner {
  background-color: #dcedf4;
  color: #333333;
  /* text-align: center;
padding: 8px 0; */
  font-size: 16px;
  text-decoration: underline;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .banner--sp {
  padding: 6px 0;
  font-size: 12px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== Header Block ========== */
.header {
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  padding: 0;
}

.header__main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 40px;
  height: 100px;
  border-bottom: 1px solid #e0e0e0;
}

.header--sp .header__main {
  padding: 13px 8px 12px 16px;
}

.header--sp {
  display: none;
}

/* ========== Logo Block ========== */
.header .logo {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header .logo__image {
  width: 200px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 4px;
}

.header .logo__image img {
  width: 100%;
  display: block;
}

.header .logo__text {
  font-size: 14px;
  line-height: 1.5;
}

.header .logo--sp {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.header .logo__image--sp {
  height: auto;
  width: 114.865px;
  font-size: 20px;
  letter-spacing: 2px;
}

.header .logo__text--sp {
  font-size: 8px;
  color: #666666;
}

/* ========== Nav Block ========== */
.header .nav {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
}

.header .nav--sp {
  gap: 5px;
}

.header .nav__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 20px;
  color: #4f4f4f;
  text-decoration: none;
  height: 100%;
  transition: color 0.3s ease;
}

.header .nav__item:hover,
.header .nav__item.nav__item--active {
  color: #89b7dc;
}

.header .nav__item .nav__icon {
  position: relative;
}

.header .nav__icon .nav__icon-default {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.header .nav__icon .nav__icon-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.header .nav__item:hover .nav__icon-default,
.header .nav__item.nav__item--active .nav__icon-default {
  opacity: 0;
}

.header .nav__item:hover .nav__icon-hover,
.header .nav__item.nav__item--active .nav__icon-hover {
  opacity: 1;
}

.header .nav__item--sp {
  flex-direction: column;
  gap: 3px;
  padding: 0;
}

.header .nav__item--sp > img {
  height: 45px;
  width: auto;
  display: block;
}

.header .nav__icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.header .nav__label {
  font-size: 14px;
}

.header .nav__label--sp {
  font-size: 10px;
}

/* タブレット専用ナビ項目（デフォルト非表示） */
.nav__item--tb-only {
  display: none;
}

/* ========== Search Block ========== */
.header .search {
  position: fixed;
  top: 150px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px 0;
  z-index: 99999;
  /* transition */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.header .nav__item:hover .search,
.header .search:hover,
.header .search.search--active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.header .search__form {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.header .search__input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  border: 2px solid #89b7dc;
  background-color: #ffffff;
  font-size: 18px;
  border-radius: 0 !important;
}

.header .search__input::placeholder {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.header .search__input::-webkit-input-placeholder {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.header .search__input::-moz-placeholder {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.header .search__button {
  position: absolute;
  right: 40px;
  top: 0;
  bottom: 0;
  width: 50px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .search__icon {
  width: 24px;
  height: 24px;
}

.header .search__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* SP用検索 */
.header .search--sp {
  position: relative !important;
  width: 100%;
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
  margin-top: 0;
  transform: none !important;
  left: 0;
  top: auto !important;
  /* accordion transition */
  max-height: 0;
  opacity: 0;
  visibility: visible !important;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
  background: transparent !important;
  box-shadow: none !important;
  z-index: auto !important;
}

.header .search--sp.search--active {
  max-height: 200px;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  padding-top: 15px;
  padding-bottom: 15px;
  background: #ffffff !important;
}

.header .search__form--sp {
  position: relative;
  padding: 0 !important;
}

.header .search__input--sp {
  width: 100%;
  padding: 10px 50px 10px 15px;
  border: 1px solid #89b7dc;
  font-size: 14px;
  font-family: "Noto Serif JP", serif;
}

.header .search__button--sp {
  position: absolute;
  right: 0px;
  top: 0;
  bottom: 0;
  width: 50px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .search__button--sp .search__icon {
  width: 20px;
  height: 20px;
}

.header .search__button--sp .search__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* タブレット/SP用 お問い合わせ（アコーディオン） */
.header .contact--sp {
  position: relative !important;
  width: 100%;
  padding: 15px;
  border-bottom: 1px solid #e0e0e0;
  margin-top: 0;
  transform: none !important;
  left: 0;
  top: auto !important;
  /* accordion transition */
  max-height: 0;
  opacity: 0;
  visibility: visible !important;
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
  background: transparent !important;
  box-shadow: none !important;
  z-index: auto !important;
}

.header .contact--sp.contact--active {
  max-height: 600px;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
  padding-top: 15px;
  padding-bottom: 15px;
  background: #ffffff !important;
}

/* ========== Contact Block ========== */
.header .contact {
  position: fixed;
  top: 150px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px 0;
  z-index: 999;
  /* transition */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.header .nav__item:hover .contact,
.header .contact:hover,
.header .contact.contact--active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.header .contact__inner {
  max-width: 790px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.header .contact__phone {
  text-align: center;
}

/* タブレット */

@media (min-width: 768px) and (max-width: 1090px) {
  .header .nav {
    gap: 11px;
  }

  .header .nav__label {
    font-size: 12px;
  }

  .header .contact__phone {
    width: 100%;
    max-width: 275px;
  }

  .header .contact__number--small {
    font-size: 27px !important;
  }

  .header .contact__hours--small {
    margin-bottom: 0px;
  }

  .header .contact__inner {
    width: 80%;
    gap: 40px !important;
  }

  .header .search__form {
    width: 80%;
  }

  .header .search__button--sp {
    right: 0px;
  }

  .header .contact.contact--sp,
  #hamburger-toggle {
    display: none !important;
  }

  .header .contact.contact--sp.contact--active {
    display: block !important;
  }

  .fs-pt-carousel--fitImage .fs-pt-carousel__slide img {
    width: 100vw !important;
  }

  .site-footer__group-logo img {
    margin: auto;
  }
}

.site-footer {
  margin-top: 80px;
}

/*712px~768pxの時 */
@media (max-width: 767px) {
  .fs-pt-carousel__slide a {
    width: 100vw;
  }

  .nav__item--tb-only {
    display: none !important;
  }

  .header .contact {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .header .contact__inner {
    justify-content: space-between;
    /* left: phone, right: button */
  }

  .header .contact__phone {
    display: grid;
    grid-template-columns: auto auto;
    /* label | number */
    grid-template-areas:
      "label number"
      "hours hours";
    column-gap: 16px;
    row-gap: 0px;
    justify-content: start;
    align-items: center;
    text-align: left;
  }

  .header .contact__label {
    grid-area: label;
    margin: 0;
  }

  .header .contact__number {
    grid-area: number;
    margin: 0;
  }

  .header .contact__hours {
    grid-area: hours;
    margin: 0;
  }
}

.header .contact__label {
  font-size: 14px;
  color: #ffffff;
  background-color: #89b7dc;
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  text-align: center;
}

.header .contact__number {
  font-size: 40px;
  color: #89b7dc;
  letter-spacing: 2px;
  margin-bottom: 5px;
  line-height: 1;
  font-family: "A-OTF A1 Mincho Std", "Noto Serif JP", serif;
}

.header .contact__number--small {
  font-size: 40px;
}

.header .contact__hours {
  font-size: 12px;
  color: #666666;
}

.header .contact__hours--small {
  font-size: 10px;
  margin-bottom: 20px;
}

.header .contact__button {
  background-color: #89b7dc;
  color: #ffffff;
  padding: 15px 60px;
  border: none;
  font-size: 18px;
  width: 370px;
  cursor: pointer;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, "Helvetica Neue", Arial, sans-serif;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: opacity 0.3s ease;
}

.header .contact__button:hover {
  color: #89b7dc;
  background-color: #ffffff;
  border: 1px solid #89b7dc;
  opacity: 1 !important;
}

.header .contact__button--small {
  padding: 12px 40px;
  font-size: 14px;
  width: 90%;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ========== Hamburger Block ========== */
.header .hamburger {
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: 10px;
}

.header .hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #333333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header .hamburger--active .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header .hamburger--active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.header .hamburger--active .hamburger__line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ========== Drawer Block ========== */
.header .drawer {
  position: fixed;
  top: 115px;
  right: -100%;
  width: 100%;
  height: calc(100vh - 115px);
  background-color: #f7f7f7;
  transition: right 0.3s ease;
  z-index: 999;
  overflow-y: auto;
  padding: 20px 20px 60px;
  overscroll-behavior: contain;
  /* ドロワー内スクロールが背景へ連鎖しない */
}

.header .drawer--active {
  right: 0;
}

.header .drawer__overlay {
  position: fixed;
  top: 115px;
  left: 0;
  width: 100%;
  height: calc(100vh - 115px);
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 998;
  touch-action: none;
  /* タッチ時の背景スクロールを抑止 */
}

.header .drawer__overlay--active {
  display: block;
}

.header .drawer__section {
  padding: 20px 0;
}

.header .drawer__section:first-child {
  padding-top: 0;
}

.header .drawer__heading {
  font-size: 18px;
  color: #4f4f4f;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 12px;
}

/* Drawer heading underline (side-nav style) */
.header .drawer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    #89b7dc 0,
    #89b7dc 48px,
    #dcedf4 48px,
    #dcedf4 100%
  );
}

.header .drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  text-decoration: none;
  color: #333333;
  font-size: 18px;
}

.header .drawer__link-text {
  display: flex;
  align-items: center;
  gap: 10px;
  /* icon-text gap */
}

.header .drawer__arrow {
  width: 8px;
  height: 8px;
  border-top: 2px solid #89b7dc;
  border-right: 2px solid #89b7dc;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.header .drawer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.header .drawer__product-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: #333333;
}

/* Lineup items: icon left, text right */
.header .drawer__product-item--lineup {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.header .drawer__product-item--lineup .drawer__product-name span {
  display: block;
  font-size: 14px;
  color: #4f4f4f;
}

.header .drawer__product-image--thumb {
  width: 54px;
  height: 60px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.header .drawer__product-image {
  width: 100%;
  aspect-ratio: 1;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999999;
}

.header .drawer__product-name {
  font-size: 16px;
  line-height: 1.4;
}

.header .drawer__icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header .sns__drawer .drawer__icon {
  width: 45px;
  height: 50px;
}

.header .drawer__icon img {
  width: 100%;
  height: 100%;
}

.header .drawer__image-card {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.header .drawer__image-card .drawer__product-image {
  margin: 0;
  aspect-ratio: auto;
}

.header .drawer__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
}

.header .drawer__contact {
  text-align: center;
  padding: 30px 0 20px;
  border-bottom: none;
  background: #fff;
}

.header .drawer__contact-text {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.header .contact__hours--small {
  margin-bottom: 20px;
}

/* ========== レスポンシブ切り替え ========== */
/* タブレット（820px） */
@media (max-width: 1000px) {
  .header .nav__item {
    flex-wrap: wrap;
    height: auto;
  }
}

/* タブレット（1024px） */
@media (max-width: 1024px) {
  .header .nav__item {
    flex-wrap: wrap;
    height: auto;
  }
}

/* タブレット（768-1024）でタブレット専用ナビ項目を表示 */
@media (min-width: 768px) and (max-width: 1024px) {
  .nav__item--tb-only {
    display: block;
  }
}

/* タブレットでもSPヘッダーを使用 */
@media (max-width: 1040px) {
  .header:not(.header--sp) .banner,
  .header:not(.header--sp) .header__main {
    display: none;
  }

  .header--sp {
    display: block;
  }

  .header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .header .header__main {
    height: 75px;
  }

  .header .search:not(.search--sp) {
    top: 0px;
  }

  .header .search__form:not(.search__form--sp) {
    padding: 0;
  }
}

/* ========== Demo Block (デモ用) ========== */
.demo {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.demo__title {
  font-size: 24px;
  margin-bottom: 20px;
}

.demo__text {
  line-height: 1.8;
  margin-bottom: 15px;
}

.demo__spacer {
  height: 1500px;
  background: linear-gradient(to bottom, #ffffff, #f0f0f0);
  padding: 20px;
  margin-top: 20px;
}

.site-footer__contact-cta a:visited {
  color: #fff;
}

/* ==========  ↑↑↑ テストヘッダー用CSS ↑↑↑   ========== */

/* ===== Footer (scoped) ===== */
.site-footer {
  background-color: #ffffff;
  color: #333333;
  border-top: 1px solid #e5e5e5;
  font-family: "Noto Serif JP", serif;
}

/* Top blue band */
.site-footer__top {
  background-color: #dcedf4;
  /* 指定カラー */
  padding: 100px 20px 80px;
}

.site-footer__top-inner {
  max-width: 1140px;
  /* PC requirement */
  margin: 0 auto;
}

.site-footer__payments {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.site-footer__payment-item {
  background: #ffffff;
  padding: 30px 16px;
  height: 378px;
  /* PC指定高さ */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.site-footer__payment-head,
.site-footer__payment-acc-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
  /* デザインに合わせて間隔 */
}

.site-footer__icon-box img {
  width: 60px;
  height: 60px;
}

@media (max-width: 768px) {
  .site-footer__icon-box img {
    width: 28.2px;
    height: 28.2px;
  }
}

.site-footer__payment-title {
  font-size: 18px;
  line-height: 1.4;
}

.site-footer__payment-body {
  margin-top: 20px;
  margin-bottom: auto;
  /* 下の詳しく見るまで余白を伸ばす */
  font-size: 14px;
  line-height: 1.4;
  color: #666666;
}

.site-footer__more {
  margin-top: 12px;
  display: inline-block;
  color: #4f4f4f;
  text-decoration: none;
  align-self: center;
  /* PCは中央 */
  position: relative;
  font-size: 14px;
}

@media (min-width: 768px) {
  .site-footer__calendar-note {
    margin-left: 33px;
  }
}

.site-footer__more::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 3px;
  border-right: 1px solid #89b7dc;
  /* 90° corner using borders */
  border-top: 1px solid #89b7dc;
  transform: rotate(45deg);
  /* points to the right like ＞ */
  transform-origin: center;
}

/* Contact strip inside blue band */
.site-footer__top-contact {
  margin-top: 20px;
  background: #ffffff;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1.4fr 2fr 1.3fr;
  /* PCレイアウト */
  gap: 24px;
  align-items: center;
}

.site-footer__top-contact-left {
  color: #4f4f4f;
  font-size: 18px;
  padding-right: 20px;
  border-right: 1px solid #cfe0ee;
  /* 縦線 */
  height: 100%;
  display: flex;
  align-items: center;
}

.site-footer__free-badge {
  display: inline-block;
  background: #89b7dc;
  color: #ffffff;
  font-size: 18px;
  padding: 6px 12px;
  margin-right: 10px;
}

.site-footer__tel {
  color: #89b7dc;
  display: flex;
  align-items: center;
  gap: 0px 12px;
  justify-content: center;
  padding-left: 16px;
  /* 左の縦線分の余白 */
  flex-wrap: wrap;
  /* 備考文を下段へ回す */
}

.site-footer__tel-number {
  font-size: 42px;
  letter-spacing: 3px;
  color: #89b7dc;
  font-family: "A-OTF A1 Mincho Std", "Noto Serif JP", serif;
  text-decoration: none;
  display: inline-block;
}

.site-footer__tel-number:hover {
  text-decoration: underline;
}

.site-footer__tel-note {
  font-size: 13px;
  display: block;
  flex-basis: 100%;
  text-align: center;
  color: #4f4f4f;
}

.site-footer__contact-button {
  background: #89b7dc;
  color: #ffffff;
  text-align: center;
  padding: 16px 12px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  /* 右側で1行に収める */
  font-weight: bold;
  font-size: 18px;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, "Helvetica Neue", Arial, sans-serif;
  width: 100%;
  height: 70px;
}

.site-footer__contact-button:hover {
  color: #ffffff;
}

.site-footer__contact-cta {
  text-align: right;
  justify-self: end;
  width: 312px;
  color: #4f4f4f;
}

/* Bottom white section */
.site-footer__bottom {
  background: #ffffff;
  padding: 40px 20px 60px;
}

.site-footer__bottom-inner {
  max-width: 1000px;
  /* PC requirement */
  margin: 0 auto;
  display: grid;
  gap: 36px;
}

.site-footer__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Helpful links */
.site-footer__helpful .site-footer__helpful-list {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #4f4f4f;
}

.site-footer__section-title,
.site-footer__helpful-title {
  color: #4f4f4f;
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid #cfe0ee;
  /* 下線 */
}

.site-footer__helpful-list {
  display: grid;
  grid-template-columns: auto 1fr;
  /* 2 columns */
  gap: 10px 60px;
  font-size: 16px;
}

@media (min-width: 768px) {
  .site-footer__helpful-list,
  .site-footer__sns,
  .calendar_box,
  .site-footer__group-logos {
    margin-left: 33px;
  }
}

@media (min-width: 768px) and (max-width: 1040px) {
  .site-footer__group-logos {
    width: 80% !important;
    margin: 0 auto;
  }

  .calendar_box,
  .site-footer__calendar-note {
    margin-left: 0 !important;
  }
}

.site-footer__helpful-list a {
  text-decoration: none;
}

.site-footer__helpful-list a:hover {
  text-decoration: underline;
}

/* Calendar */
.site-footer__calendar .svn_tit {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Container: two months side-by-side on PC and SP */
.site-footer__calendar .calendar_box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: nowrap;
  /* remove unnecessary frame */
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  color: #333333;
}

.site-footer__calendar .cal_wrapper {
  flex: 1 1 0;
  min-width: 0;
}

.site-footer__calendar .cal {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, "Helvetica Neue", Arial, sans-serif;
  /* thin outer frame like design */
}

/* Month title */
.site-footer__calendar .cal th {
  padding: 0;
  text-align: left;
  border: none;
  font-weight: 400;
  font-size: 14px;
}

.site-footer__calendar .cal th p {
  margin: 0 0 6px;
  font-size: 20px;
  color: #4f4f4f;
}

.calendar_box table .headline {
  border: 1px solid #89b7dc;
}

@media (max-width: 768px) {
  .site-footer__calendar .cal th p {
    margin: 0px;
    font-size: 13px;
  }
}

/* Weekday header */
.site-footer__calendar .cal .headline td {
  background: #89b7dc;
  color: #ffffff;
  text-align: center;
  padding: 6px 0;
  border: none;
  /* remove grid on header row */
}

/* Day cells */
.site-footer__calendar .cal td {
  padding: 0;
  /* show grid even for empty cells */
}

.calendar_box table td {
  border: 1px solid #89b7dc;
}

.site-footer__calendar .cal td > div {
  height: 28px;
  display: grid;
  place-items: center;
  border: none;
  /* borders are on td */
  font-size: 12px;
  background: #ffffff;
  border-radius: 0;
}

/* Weekends & Holidays */
.site-footer__calendar .cal td > div.Sat,
.site-footer__calendar .cal td > div.Sun,
.site-footer__calendar .cal td > div.Holyday {
  background: #ffcd95;
}

/* AKO Group + SNS */

.site-footer__group-logos {
  width: 436px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 20px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* タブレット（820px） */
@media (max-width: 820px) {
  .site-footer__group-logos {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .site-footer__group-logos {
    width: 100%;
  }
}

.site-footer__group-logo img {
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.site-footer__group-logo.group-logo--main img {
  height: 53.916px;
}

.site-footer__group-logo.group-logo--ako img {
  height: 25px;
}

.site-footer__group-logo.group-logo--amashio img {
  height: 70px;
}

.site-footer__group-logo.group-logo--amashio {
  display: flex;
  justify-content: center;
}

.site-footer__group-logo.group-logo--gallery img {
  height: 70px;
}

.site-footer__sns {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer__sns-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-footer__sns-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-footer__payment-acc-body {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

.site-foote-copyright {
  color: #4f4f4f;
  text-align: center;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",
    "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, Segoe UI,
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin-top: 50px;
}

/* SP styles */
@media (max-width: 768px) {
  .site-footer__payments {
    display: block;
    /* accordion list */
  }

  .site-footer__payment-item {
    margin-bottom: 10px;
    padding: 0;
    overflow: hidden;
    height: auto;
    /* SPは高さ可変 */
  }

  .site-footer__payment-acc-head {
    display: flex;
    flex-direction: row;
    /* SPは横並び */
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #ffffff;
    text-align: left;
    height: 59px;
  }

  .site-footer__acc-toggle {
    margin-left: auto;
    width: 22px;
    height: 22px;
    border-radius: 0;
    background: transparent;
    /* 背景なし */
    color: #4f4f4f;
    /* 線の色指定 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
  }

  .site-footer__payment-acc-body {
    display: none;
    /* default closed */
    padding: 0 20px 14px;
    background: #ffffff;
  }

  .site-footer__payment-item.is-open .site-footer__payment-acc-body {
    display: block;
  }

  .site-footer__bottom {
    padding: 40px 15px 60px;
  }

  .site-footer__bottom-inner {
    grid-template-columns: 1fr;
  }

  .site-footer__row {
    grid-template-columns: 1fr;
  }

  .site-footer__top-contact {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px 20px;
    gap: 0;
  }

  .site-footer__tel {
    justify-content: center;
    flex-direction: column;
    /* 縦並び */
    gap: 8px;
    padding-left: 0;
    margin-top: 15px;
  }

  .site-footer__free-badge {
    font-size: 14px;
  }

  .site-footer__top-contact-left {
    border-right: none;
    padding-right: 0;
    font-size: 18px;
    line-height: 1.7;
    justify-self: center;
  }

  .site-footer__payments .site-footer__acc-toggle {
    display: flex;
  }

  .site-footer__contact-cta {
    text-align: center;
    justify-self: center;
    margin-top: 20px;
    width: 100%;
  }

  /* アコーディオン閉時は「詳しく見る」を非表示 */
  .site-footer__payment-item:not(.is-open) .site-footer__more {
    display: none;
  }

  /* 開いた時は右端に配置 */
  .site-footer__payment-item.is-open .site-footer__more {
    align-self: flex-end;
    margin: 0 20px 15px;
  }

  /* Accordion transition */
  .site-footer__payment-acc-body {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    /* closed: no padding */
    margin: 0;
    /* closed: no margin */
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.2s ease;
  }

  .site-footer__payment-item.is-open .site-footer__payment-acc-body {
    max-height: 500px;
    /* sufficient for content */
    opacity: 1;
    padding: 0 20px 14px;
    /* open: restore padding */
  }

  /* Toggle icon animation if plus/minus or chevron is used */
  .site-footer__acc-toggle {
    transition: transform 0.3s ease;
  }

  .site-footer__payment-item.is-open .site-footer__acc-toggle {
    transform: rotate(180deg);
  }

  .site-footer__tel-note {
    font-size: 14px;
  }

  .site-footer__contact-button {
    height: 51px;
  }

  .site-footer__helpful-list {
    font-size: 14px;
  }

  .site-footer__sns {
    justify-content: space-between;
    padding: 0 19px;
  }

  /* Reorder bottom sections on SP */
  .site-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .site-footer__row {
    display: contents;
  }

  .site-footer__helpful {
    order: 1;
  }

  .site-footer__calendar {
    order: 2;
  }

  .site-footer__sns-wrap {
    order: 3;
    margin-bottom: 20px;
  }

  .site-footer__group {
    order: 4;
  }

  .site-foote-copyright {
    margin-top: 64px;
  }

  .site-footer {
    margin-top: 40px;
  }
}

/* サイドナビ */
.side-nav {
  width: 220px;
  font-family: "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 ProN",
    "Yu Mincho", YuMincho, serif;
  color: #4f4f4f;
}

.side-nav__inner {
  display: grid;
  gap: 40px;
}

.side-nav__block {
  padding-bottom: 6px;
}

.side-nav__section-title {
  position: relative;
  margin: 0 0 30px;
  padding: 12px 0 14px;
  font-size: 20px;
}

.side-nav__section-title:first-child {
  padding-top: 0;
}

.side-nav__section-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    #89b7dc 0,
    #89b7dc 48px,
    #dcedf4 48px,
    #dcedf4 100%
  );
}

/* ラインナップ */
.side-nav__banner-list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.side-nav__banner-list img {
  width: 100%;
  height: auto;
  display: block;
}

.side-nav__lineup-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.side-nav__lineup-list li a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #4f4f4f;
}

.side-nav__thumb {
  width: 54px;
  height: 60px;
  /* 仮置き背景 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.side-nav__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.side-nav__name {
  font-size: 18px;
  /* メイン */
  line-height: 1.4;
  letter-spacing: 0.2px;
}

.side-nav__name span {
  /* サブ（例: 地域のいいもの） */
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

/* 硬度 */
.side-nav__hardness-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.side-nav__hardness-list li a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: #4f4f4f;
}

/* 知って楽しむ */
.side-nav__learn-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.side-nav__learn-list li a {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  color: #4f4f4f;
  text-decoration: none;
}

/* SNS */
.side-nav__sns-col {
  display: grid;
  gap: 20px;
  margin-right: 11px;
}

.side-nav__sns-item {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
  align-items: center;
}

.side-nav__sns-icon {
  width: 45px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.side-nav__sns-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.side-nav__sns-label {
  color: #4f4f4f;
}

/* Group banner */
.side-nav__group-banner {
  display: grid;
  gap: 20px;
}

.side-nav__group-logo img {
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.side-nav__group-logo.side-logo--main img {
  height: 53.916px;
}

.side-nav__group-logo.side-logo--ako img {
  height: 21px;
  margin: 17px 0;
}

.side-nav__group-logo.side-logo--amashio img {
  height: 70px;
}

.side-nav__group-logo.side-logo--gallery img {
  height: 70px;
}

@media (max-width: 768px) {
  .side-nav {
    display: none;
  }
}
