/* ========================================
 * body
 * ======================================== */
body p{
  letter-spacing: 0.05em; /* 約10%の文字間拡張。フォントサイズの5% */
}
/* ========================================
 * レイアウト（l- prefix）
 * ======================================== */
 .l-container {
  max-width: 1440px; /* 指定された1440px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.l-main{
  margin-bottom: 4rem;
}

.l-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 5rem;
  padding-right: 5rem;
}

@media (max-width: 768px){
  .l-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .l-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.l-header {
  background-color: transparent; /* 初期は透過 */
  box-shadow: none; /* 初期はシャドウなし */
  color: var(--color-white); /* 文字色を白に */
  margin: var(--space-md);
  padding: var(--space-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1010; /* JSの9999と衝突しないように初期値も設定 */
  margin-left: auto; /* 中央寄せ */
  margin-right: auto; /* 中央寄せ */
 border-radius: 50px;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-radius 0.3s ease;
}

/* スクロール後のヘッダーのスタイル */
.l-header.is-scrolled {
  background-color: var(--color-white); /* スクロール後は白背景に */
  color: var(--color-gray-dark); /* 文字色を濃いグレーに */
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.25);
  top: 0;
}

.l-header.is-scrolled .header-tel {
  color: var(--color-gray-medium);
}

/* ▼ 下層ページ用：半透明背景の初期ヘッダー */
.l-header.is-subpage {
  background-color: rgba(255, 255, 255, 0.5);
  background-color: rgb(0 0 0 / 40%);
  color: var(--color-white);
  box-shadow: none;
}

/* ▼ スクロール後の下層ヘッダー */
.l-header.is-subpage.is-scrolled {
  background-color: #fff;
  color: var(--color-black);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.header-tel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-right: 1rem;
  margin-left: 3rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: clamp(1rem, 2vw, 2rem);
  flex-shrink: 1;
  min-width: 0;
}

.header-tel img {
  width: 30px;
  height: auto;
  vertical-align: middle;
}

/* スクロール後のロゴの色 */
.l-header.is-scrolled .site-logo a {
  color: var(--color-gray-dark); /* スクロール後は濃いグレーに */
}
/* スクロール後のナビゲーションリンクの色 */
.l-header.is-scrolled .global-nav-list li a {
  color: var(--color-gray-medium); /* スクロール後は中間グレーに */
}
.l-header.is-scrolled .global-nav-list li a:hover,
.l-header.is-scrolled .global-nav-list li a.active {
  color: var(--color-primary); /* スクロール後もホバーとアクティブは赤 */
}
/* スクロール後のヘッダー内での「お問い合わせ」ボタンのスタイル */
.l-header.is-scrolled .global-nav-list li .btn-small.btn-primary {
  background-color: var(--color-primary); /* スクロール後もプライマリ色 */
  color: var(--color-white); /* スクロール後も白文字 */
  border-color: var(--color-primary); /* スクロール後もプライマリ色ボーダー */
}
/* スクロール後のヘッダー内での「お問い合わせ」ボタンのホバー */
.l-header.is-scrolled .global-nav-list li .btn-small.btn-primary:hover {
  background-color: var(--color-primary-light-1); /* ホバー時は指定された薄い赤に */
  color: var(--color-white); /* ホバー時も文字は白 */
  border-color: var(--color-primary-light-1); /* ホバー時はボーダーを薄い赤に */
}

 /* メニュー内リンク */
 .global-nav.is-open .global-nav-list li a {
  color: var(--color-primary) !important;
}
.global-nav.is-open .global-nav-list li a:hover,
.global-nav.is-open .global-nav-list li a.active {
  color: var(--color-primary) !important;
}

/* 「お問い合わせ」ボタン */
.global-nav.is-open .global-nav-list li .btn-small.btn-primary {
  background-color: var(--color-primary) !important;
  color: var(--color-white) !important;
  border-color: var(--color-primary) !important;
}
.global-nav.is-open .global-nav-list li .btn-small.btn-primary:hover {
  background-color: var(--color-primary-light-1) !important;
  color: var(--color-white) !important;
  border-color: var(--color-primary-light-1) !important;
}

.global-nav-list {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;

  }

  .global-nav-list li {
    margin-left: var(--space-md);
  }
  .global-nav-list li a {
    display: block;
    padding: var(--space-xs);
    color: var(--color-white);
    font-weight: bold;
    transition: color 0.3s ease;
    white-space: nowrap; /* ← テキストが途中改行されない */


  }
  .global-nav-list li a:hover,
  .global-nav-list li a.active {
    color: var(--color-primary); /* ホバー時とアクティブ時は赤 */
  }

/* 通常時 (スクロール前) のお問い合わせボタンのスタイル */
.global-nav-list li .btn-small.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  font-weight: bold;
  padding: var(--space-xs) var(--space-lg);
}
/* 通常時 (スクロール前) のお問い合わせボタンのホバー */
.global-nav-list li .btn-small.btn-primary:hover {
  background-color: var(--color-primary-light-1);
  color: var(--color-white);
  border-color: var(--color-primary-light-1);
}


@media (max-width: 1024px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 1rem 3rem;
  }

  .site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .header-icons {
    display: flex;
    gap: 2rem;
    align-items: center;
    z-index: 999;
  }

  .header-icons img {
    width: 2rem;
    height: auto;
  }

  .header-tel.pc-only { display: none !important; }

  .global-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: #fff;
    z-index: 0;
    transition: transform 0.3s ease-out;
    transform: translateX(100%);
}
.global-nav.is-open {
    transform: translateX(0);
    display: block;
}
.global-nav-list {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 7.25rem;
    margin-top: 3rem;
}
.global-nav-list li {
    width: 80%;
    margin-left: auto;   /* ← 左右中央寄せ */
    margin-right: auto;
}
.global-nav-list li a {
    padding: var(--space-xs);
    text-align: left;
    border-bottom: 1px solid var(--color-gray-lighter);
    color: var(--color-primary);
}
.global-nav-list li a:hover {
    color: var(--color-primary);
}
.global-nav-list li:last-child a {
    border-bottom: none;
}
.global-nav-list .nav-toggle {
border-bottom: 1px solid #ccc;
}

/* ボタン（お問い合わせ）だけ別スタイル */
.global-nav-list li.nav-contact {
width: auto;
margin-top: var(--space-md);
}

.global-nav-list li.nav-contact a.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 58px;
  text-align: center;
  line-height: 1; /* 追加 */
}
/* 通常のリンクに > を表示 */
.global-nav-list li a {
  position: relative;
  padding-right: 2rem;
  display: block;
  text-align: left;

}

.nav-sub-list a {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5aab0;
  box-sizing: border-box;
  font-weight: 100 !important;

}
/* サブメニュー（nav-sub-list）内のリンクにはアイコンを表示しない */
.global-nav-list .nav-sub-list a::after {
  content: none !important;
}

/* > アイコン（除外されていないリンクに） */
.global-nav-list li:not(.nav-toggle):not(.nav-contact) > a::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  width: 0.6rem;
  height: 0.6rem;
  background-image: url('../../assets/images/global_nav_arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* トグルボタンに + / − を表示 */
.js-toggle-open {
  position: relative;
  padding-right: 2rem;
  display: block;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  background: none;
  border: none;
  font-weight: bold;
  color: var(--color-gray-dark);
  font: inherit;
  color: inherit;
  cursor: pointer;
  margin-bottom: 0;
  padding-bottom: 0;
  font-weight: bold;
  color: var(--color-primary);

}

.js-toggle-open::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-primary);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

/* トグル開閉 */

body.menu-open{
  position: fixed;
  width: 100%;
  overflow: hidden;
}
.nav-toggle {
  position: relative;
}

.nav-toggle-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background: url('../images/icon_plus.svg') no-repeat center;
  background-size: contain;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

/* 開いた時のアイコン切り替え */
.nav-toggle.open .nav-toggle-icon {
  background-image: url('../images/icon_minus.svg');
}


.nav-sub-list {
  display: none;
  background-color: #fff2f4;
  margin-top: 0;
  padding-top: 0;

  }


/* .open クラスがついたときに表示 */
.nav-toggle.open .nav-sub-list {
  display: block;
}
  .js-toggle-open {
    margin-bottom: 0;
    padding-bottom: 0;
  background: none;
  border: none;
  font: inherit;
  color: var(--color-gray-dark);
  text-align: left;
  cursor: pointer;
  padding: 8px;
  font-weight: bold;
  color: var(--color-primary);
  }



/* 開いた状態で − 表示 */
.nav-toggle.open .js-toggle-open::after {
  content: '−';
}

}

@media (max-width: 768px){
  .l-header {
      padding: 18px 0;

  }
  .header-inner {
    padding: 0 2rem;
  }
  .site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .header-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  .header-icons img {
    width: 1.5rem;
    height: auto;
  }
}

/* section共通 */

/* ==============================
   セクション共通タイトルスタイル
   ============================== */

   .section-heading {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-gray-dark);
    margin-bottom: var(--space-xs);
    gap: var(--space-sm); /* アイコンとテキストの間隔 */
  }

   .section-subtitle {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: var(--space-3xl);
    font-weight: bold;
    margin-left: calc(1.5rem + 1rem); /* アイコン幅＋gap分ずらす */
  }


  .section-heading-icon {
    width: 1.5rem;
    height: auto;
    display: inline-block;
  }
  .section-center-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    text-align: center;
    position: relative;
  }

  .section-title-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
  }

  .section-title-line .line {
    flex: 1;
    height: 2px;
    background-color: #e60033;
  }

  .section-title-line .diamond {
    width: 10px;
    height: 10px;
    background-color: #e60033;
    transform: rotate(45deg);
  }

  .center-description {
    font-size: clamp(1rem, 1vw, 1.25rem); /* 可変サイズ */
    white-space: wrap;
    line-height: 2.5;
    text-align: left;
    margin-bottom: 2rem;
  }

@media screen and (max-width: 768px) {

  .section-heading {
    font-size: 1.3rem;
    gap: var(--space-xs);

  }
  .section-subtitle {
    margin-left: calc(1rem + 1rem); /* アイコン幅＋gap分ずらす */
    margin-bottom: var(--space-lg);
  }
  .section-heading-icon {
    width: 1rem;
  }

  .section-center-title{
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .center-description {
    font-size: 1rem;
    line-height: 28px;
    text-align: left;
    margin-bottom: 0;
  }
}


.l-footer {
  background: url('../../assets/images/footer-bg.webp') no-repeat center center;
  background-size: cover;
  color: var(--color-white);
  padding: var(--space-lg) 0;
  font-size: 16px;
  text-align: center;
  position: relative;
  z-index: 0;
}
.l-footer a {
  color: var(--color-white);
}
.l-footer a:hover {
  color: var(--color-primary);
}

.footer-bg {
padding: 50px 0 30px;
color: var(--color-white);
}

.footer-inner {
display: flex;
justify-content: space-between;
gap: 2rem;
}

.footer-group{
  display: flex;
  flex-wrap: wrap;
  /* gap: var(--space-md); */
  justify-content: flex-end; /* 右側に寄せる */
  min-width: 0; /* 縮小時の折り返し制御 */
}

.footer-column {
  flex: 1 1 200px;
  min-width: 0;
}

.footer-column.contact-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* ← 右揃えにする */
  text-align: right;     /* テキストも右寄せに */
}

.logo-area .footer-logo {
width: 160px;
height: auto;
}

.footer-nav-group {
display: flex;
gap: 4rem;
justify-content: flex-end;
}

.footer-nav,
.footer-policy {
list-style: none;
padding: 0;
margin: 0;
font-size: 14px;
text-align: left;
}

.footer-nav li,
.footer-policy li {
margin-bottom: 0.5rem;
}

.footer-policy strong {
display: block;
margin-bottom: 0.5rem;
}
.footer-tel {
font-size: 2rem;
font-weight: bold;
margin-bottom: 1rem;
letter-spacing: 1.7px;
display: flex;               /* ← 横並び */
align-items: center;         /* ← アイコンと文字を縦方向中央揃え */
gap: 0.5rem;                 /* ← 適度な間隔 */
flex-shrink: 1; /* ← 縮小可 */
min-width: 0;
}

.footer-tel .icon img {
width: 1.5rem;               /* ← 必要に応じて調整 */
height: auto;
display: inline-block;
}

.footer-sns {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
}

.footer-sns a {
  display: inline-block;
  padding: 0;
  line-height: 0;
}

.footer-sns img {
  width: 34px; /* ← 2倍書き出し画像ならこれでちょうど表示サイズになる */
  height: auto;
  display: block;
}


.footer-certification {
  margin-top: 16px;
  text-align: right;
}

.footer-certification img {
  max-width: 50%;
  height: auto;
  display: inline-block;
}

.footer-cert {
font-size: 12px;
margin-top: 1rem;
}

.footer-bottom {
text-align: center;
font-size: 12px;
margin-top: 2rem;
color: var(--color-white);
}

@media screen and (max-width: 1024px) {

  .footer-inner {
    flex-wrap: wrap;
    }

  .footer-column.logo-area {
    display: flex;
    justify-content: center;
  }

  .footer-logo {
    margin-bottom: 0;
    padding-bottom: 0;
  }


  .footer-nav-group {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
  }

  .footer-nav,
  .footer-policy {
    flex: 1 1 45%;
    padding: 0;
    text-align: left;
  }

  .footer-column.contact-area {
    margin-top: 1.5rem;
    text-align: center;
  }
}



@media (max-width: 768px) {
  .l-footer {
    padding: 1rem 0;
    background: url('../../assets/images/footer-bg_sp.webp') no-repeat center center;
  }

  .l-footer a {
    font-size: clamp(11px, 2.5vw, 16px);
  }

  .footer-bg {
    padding: 30px;
    }
  .footer-policy strong{
    font-size: clamp(11px, 2.5vw, 16px);
  }

  .footer-inner,
  .l-container.footer-inner {
    padding: 0; /* containerの上下paddingを解除 */
  }

.footer-inner {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0;
}
.footer-group{
  flex-direction: column;
  justify-content: center;
}
.footer-nav-group {
  display: flex;
  width: 100%;
  box-sizing: border-box;
}
.footer-nav,
.footer-policy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-column {
  align-items: center;
}
.footer-column.logo-area {
  flex: none !important;       /* flex縮小を解除 */
  height: auto !important;     /* 不要な高さ指定を削除 */
  margin: 0 auto 1rem;         /* 中央寄せ＋下だけマージン */
  padding: 0 !important;       /* 念の為パディングも削除 */
}

.footer-logo img {
  display: block;
  max-width: 120px;
  height: auto;
  margin: 0 auto;
}

.footer-column.contact-area {
  /* display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;  */
  display: none;
}

.footer-contact-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  order: 1; /* 上に表示 */
  margin-bottom: 0.5rem; /* 認証ロゴとの隙間を詰める */
  justify-content: space-between;
  width: 100%;
  padding: 0 1rem;
}


.footer-tel{
  font-size: 1rem;
}
.footer-tel .icon img {
  max-width: 1rem;
  }
.footer-tel,
.footer-sns {
  margin: 0;
}
.footer-sns {
  display: flex;
  gap: 0.5rem;
}

.footer-sns a {
  max-width: 24px;
  height: auto;
  display: inline-block;
}

.footer-sns img {
  width: 100%;
  height: auto;
  display: block;
}


.footer-bottom {
  margin-top: 1rem; /* コピーライトとの隙間 */
  font-size: 0.75rem;
}

}
