@charset "UTF-8";

/* ===== ヘッダー固定関連の制御 start ===== */
.main_header {
  position: fixed;
  align-items: flex-start;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 102;
  display: flex;
  justify-content: space-between;pointer-events: none;
}

.main_header .header_logo {
  max-width: clamp(calc(6.406rem * 1), calc(-0.985rem * 1 + 15.769vw), calc(12.813rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：102.5px ～ 205px */
  ;
  transition: all 0.3s ease;
  margin: clamp(calc(0.375rem * 1), calc(-0.058rem * 1 + 0.923vw), calc(0.75rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：6px ～ 12px */
  ;pointer-events: all;
}

.main_header.fade_in img {
  filter: brightness(0) saturate(100%) invert(23%) sepia(15%) saturate(650%) hue-rotate(65deg) brightness(85%) contrast(90%);
}

/*  */
.header_inner {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: clamp(calc(0.375rem * 1), calc(-0.058rem * 1 + 0.923vw), calc(0.75rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：6px ～ 12px */
  ;pointer-events: all;
}

.main_header .header_snsIcon {
  filter: brightness(0) invert(1);
  display: flex;
  gap: 8px;
}

.main_header.fade_in .header_snsIcon {
  filter: initial;
}

.main_header .header_snsIcon img {
  width: clamp(calc(1.781rem * 1), calc(1.313rem * 1 + 1vw), calc(2.188rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：28.5px ～ 35px */
  ;
}

@media (max-width: 767px) {}

@media (max-width: 440px) {}

/* ===== ヘッダー固定関連の制御 end ===== */

/* ===== ハンバーガーメニュー関連 start ===== */
#menu-toggle {
  display: none;
}

.hamburger {
  width: clamp(calc(5.625rem * 1), calc(3.462rem * 1 + 4.615vw), calc(7.5rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：90px ～ 120px */
  ;
  height: clamp(calc(1.875rem * 1), calc(0.793rem * 1 + 2.308vw), calc(2.813rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：30px ～ 45px */
  ;
  display: inline-flex;
  font-family: "perpetua", serif;
  padding: 6px;
  line-height: 1;
  color: #fff;
  border: 0.5px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  align-items: flex-start;
  justify-content: center;
  z-index: 999;
  position: relative;
}

.hamburger::after {
  content: "MENU";
  margin-top: clamp(calc(0.25rem * 1), calc(-0.183rem * 1 + 0.923vw), calc(0.625rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：4px ～ 10px */
  ;
}

/* .hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: #333;
      transition: all 0.3s ease;
      border-radius: 1px;
    }

    #menu-toggle:checked~.hamburger {
      background: #e6f1fb;
      border-color: #378add;
    }

    #menu-toggle:checked~.hamburger span {
      background: #378add;
    } */

.fade_in .hamburger {
  color: var(--base_color);
  border-color: var(--base_color);
}

.menu {
  position: fixed;
  top: 0;
  right: -475px;
  max-width: 475px;
  width: 40vw;
  height: 100vh;
  background: #f9f9f9ed;
  border-left: 0.5px solid #d0d0d0;
  padding-top: min(80px, 50px);
  z-index: 998;
  overflow-y: auto;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu_inner {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: calc(100% - 80px);
  overflow-y: auto;
}

#menu-toggle:checked~.menu {
  right: 0;
}

#menu-toggle:checked~.hamburger {
  color: var(--base_color);
  border-color: var(--base_color);
}

#menu-toggle:checked~.hamburger::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  margin-top: 0;
  background-image: url(../image/hamburger_icon.svg);
  background-repeat: no-repeat;
  background-size: 60%;
  background-position: center;
}

.menu a {
  display: inline-flex;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 20px;
}

/* .menu a:hover {
  color: #378add;
} */

.menu a strong {
  font-family: "perpetua", serif;
  font-size: clamp(calc(0.938rem * 1), calc(-0.144rem * 1 + 2.308vw), calc(1.875rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：15px ～ 30px */
  ;
  color: var(--base_color);
}

.menu a small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(calc(0.313rem * 1), calc(-0.048rem * 1 + 0.769vw), calc(0.625rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：5px ～ 10px */
  ;
  color: var(--sub_color);
}

.menu a.list_contact {
  background-color: var(--base_color);
  width: 100%;
}

.menu a.list_contact strong {
  color: #fff;
}

.menu a.list_contact small {
  color: #fff;
}

/*  */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  z-index: 997;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#menu-toggle:checked~.overlay {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 750px) {
  .menu {
    width: 100vw;
    max-width: initial;
    right: -100vw;
  }
}

/* ===== ハンバーガーメニュー関連 end ===== */

/* ===== footer 関連 start ===== */

.main_footer {
  width: 100%;
  font-family: "Noto Serif JP", serif;
  background-color: #000;
  overflow: hidden;
}

.main_footer>img {
  width: 100%;
  position: relative;
}

.main_footer_inner {
  width: 100%;
  min-height: 300px;
  margin-top: clamp(calc(-9.375rem * 1), calc(5.433rem * 1 + -16.923vw), calc(-2.5rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：-40px ～ -150px */
  ;
  background-image: url(../image/main_footer_backimg.svg);
  background-position: top center;
  background-size: 100% auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  padding-top: clamp(calc(4.375rem * 1), calc(-0.673rem * 1 + 10.769vw), calc(8.75rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：70px ～ 140px */
  ;
  padding-bottom: clamp(calc(3.125rem * 1), calc(-0.481rem * 1 + 7.692vw), calc(6.25rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：50px ～ 100px */
  ;
}

.footer_logo {
  width: clamp(calc(10.875rem * 1), calc(-1.673rem * 1 + 26.769vw), calc(21.75rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：174px ～ 348px */
  ;
}

.footer_tel {
  font-size: clamp(calc(1.25rem * 1), calc(-0.192rem * 1 + 3.077vw), calc(2.5rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：20px ～ 40px */
  ;
  margin-top: clamp(calc(1.563rem * 1), calc(-0.24rem * 1 + 3.846vw), calc(3.125rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：25px ～ 50px */
  ;
}

/* 電話番号関連 start */
@media (min-width: 750px) {
  .sp-tel>a[href*="tel:"] {
    cursor: default;
    pointer-events: none;
    text-decoration: none;
  }
}

@media (max-width: 750px) {
  .sp-tel>a[href*="tel:"] {
    cursor: pointer;
    pointer-events: auto;
    text-decoration: underline;
  }
}

/* 電話番号関連 end */

.footer_busihours {
  display: inline-flex;
  margin-top: clamp(calc(0.781rem * 1), calc(-0.12rem * 1 + 1.923vw), calc(1.563rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：12.5px ～ 25px */
  ;
  gap: 20px;
}

.footer_busihours dt {
  font-weight: 400;
  font-size: clamp(calc(0.563rem * 1), calc(-0.015rem * 1 + 1.231vw), calc(1.063rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：9px ～ 17px */
  ;
}

.footer_busihours dd {
  font-size: clamp(calc(0.625rem * 1), calc(-0.096rem * 1 + 1.538vw), calc(1.25rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：10px ～ 20px */
  ;
}

.footer_snsIcon {
  display: inline-flex;
  margin-inline: auto;
  gap: 10px;
  margin-top: clamp(calc(1.25rem * 1), calc(-0.192rem * 1 + 3.077vw), calc(2.5rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：20px ～ 40px */
  ;
}

.footer_snsIcon img {
  width: clamp(calc(1.063rem * 1), calc(-0.163rem * 1 + 2.615vw), calc(2.125rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：17px ～ 34px */
  ;
}

.copyright {
  position: relative;
  z-index: 10;
  font-family: "Noto Serif JP", serif;
  background-color: var(--base_color);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: clamp(calc(0.313rem * 1), calc(-0.12rem * 1 + 0.923vw), calc(0.688rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：5px ～ 11px */
  ;
}

/* ===== footer 関連 end ===== */


/* --- トップボタン固定関連 start --- */
.pageTopLink_outer {
  position: relative;
  height: 1px;
  z-index: 11;
  margin-bottom: -20px;
}

/* --- ボタンを包む共通の親（主にY軸の固定を管理） --- */
.pageTopLink {
  opacity: 0;
  pointer-events: none;
  /* 透明な時はクリックを背後にスルー */
  transition: opacity 0.3s ease;

  /* 追従中（fixed）の基本スタイル */
  position: fixed;
  bottom: 30px;
  /* 通常時の画面下からの余白 */
  left: 0;
  width: 100%;
  /* 画面いっぱいに広げてインナーの max-width を活かす */
  z-index: 999;
}

/* 表示用のクラス */
.pageTopLink.is-show {
  opacity: 1;
  /* 追従中は画面全幅を覆うため none のままにし、
      子要素の inner 側で auto にしてボタンだけをクリック可能にします
    */
  pointer-events: none;
}

/* 【重要】固定化されたら position を解除してインライン（通常配置）に戻す */
.pageTopLink.is-absolute {
  position: static;
  /* position を使わない（解除する） */
  opacity: 1;
  pointer-events: auto;
  /* 通常配置に戻ったら枠ごとクリック可能にしてOK */
}

/* --- 【新設】デザイン上のX軸（横幅・左右位置）を管理するインナー --- */
.pageTopLink_inner {
  max-width: min(100% + var(--wrapper_padding) * 2, var(--wrapper_wide_L) + var(--wrapper_padding) * 2);
  /* デザインに合わせた最大幅 */
  margin-inline: auto;
  /* 中央寄せ */
  padding-inline: var(--wrapper_padding);
  /* 画面端の最低限の余白（必要に応じて調整） */

  display: flex;
  justify-content: flex-end;
  /* ボタンを右端に寄せる */
  width: 100%;
  box-sizing: border-box;
  margin-bottom: -15px;
}

/* 追従中（is-show）の時だけ、ボタン（aタグ）のクリックを有効化 */
.pageTopLink.is-show .pageTopLink_inner a {
  pointer-events: auto;
}

/* --- ボタン単体のデザイン（位置制御を抜いてスッキリ） --- */
.pageTopLink a {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(calc(0.313rem * 1), calc(-0.048rem * 1 + 0.769vw), calc(0.625rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：5px ～ 10px */
  ;
  align-items: center;
  overflow: hidden;
  border-radius: 50%;
  background-color: var(--base_color);
  width: clamp(calc(3.125rem * 1), calc(-0.481rem * 1 + 7.692vw), calc(6.25rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：50px ～ 100px */
  ;
  aspect-ratio: 1/1;
  color: #fff;
  text-decoration: none;
  border: 1px solid #ccc;
  font-family: "perpetua", serif;
}

.pageTopLink a::before {
  content: "";
  display: inline-flex;
  background-image: url(../image/pageTopLink_icon.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: clamp(calc(1rem * 1), calc(-0.154rem * 1 + 2.462vw), calc(2rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：16px ～ 32px */
  ;

}

.pageTopLink a::after {
  content: "TOP";
  display: inline-flex;
  font-size: clamp(calc(0.625rem * 1), calc(-0.096rem * 1 + 1.538vw), calc(1.25rem * 1))
    /* 可変幅：750px ～ 1400px , 入力値：10px ～ 20px */
  ;
}

@media (max-width: 767px) {}

@media (max-width: 440px) {}

/* トップボタン固定関連 end */