/*
 Theme Name: Twenty Twenty-One Child
 Template: twentytwentyone
*/



html {
  scroll-behavior: smooth;
}

.site-main > *:first-child {
    margin-top: 0!important;
    margin-bottom: 0!important;
}

.site-main > * {
    margin-top: 0!important;
    margin-bottom: 0!important;
}

.site-footer.custom-footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
}


/* ========================================
   文字サイズ変更機能対応（CSS変数版）
======================================== */



:root {
  --font-scale: 1;
}

html.font-small {
  --font-scale: 0.875;
}

/*html.font-large {
  --font-scale: 1.125;
}*/

html.font-large body > :not(header) {
  --font-scale: 1.125;
}

header {
  --font-scale: 1;
}



/* htmlのfont-sizeを変更すると、remベースの全サイズに影響 */
html {
  font-size: calc(16px * var(--font-scale));
}

/* ============================================================
   トップページ専用CSS
============================================================ */

.front-page {
  overflow-x: hidden;
}

main {
    display: block;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top: solid 1px #ccc;
}


.site-footer.custom-footer {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0;
    background-color: #fff;
    padding: 0;
    font-size: 0.8125rem;
    line-height: 1.7;
}

.front-page * {
  box-sizing: border-box;
}

/* コンテナ */
.fp-container {
  max-width: min(90%, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* PC/SP表示切り替え */
.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

@media (max-width: 1100px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
}
/* ============================================================
   トップページ専用CSS - MV〜選ばれる3つの理由
   - Twenty Twenty-One の影響を受けないよう設計
   - 文字サイズ変更に対応
   - レスポンシブ対応（1100px以下でSP化）
============================================================ */

/* ========================================
   文字サイズ変更機能対応
======================================== */
html.font-small {
  font-size: 14px;
}

html.font-large {
  font-size: 18px;
}

/* デフォルト（標準）は16px（ブラウザ標準）のまま */

/* ----------------------------------------
   共通設定
---------------------------------------- */
.front-page {
  overflow-x: hidden;
}

.front-page * {
  box-sizing: border-box;
}

/* コンテナ */
.fp-container {
  max-width: min(90%, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* PC/SP表示切り替え */
.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

@media (max-width: 1100px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
}

/* ============================================================
   トップページ専用CSS - MV〜選ばれる3つの理由
   - Twenty Twenty-One の影響を受けないよう設計
   - 文字サイズ変更に対応
   - レスポンシブ対応（1100px以下でSP化）
============================================================ */

/* ========================================
   文字サイズ変更機能対応
======================================== */
html.font-small {
  font-size: 14px;
}

html.font-large {
  font-size: 18px;
}

/* デフォルト（標準）は16px（ブラウザ標準）のまま */



/* ========================================
   Google Fonts 用途別フォント設定
======================================== */

/* 基本フォント（本文・段落） */
body,
p,
.entry-content {
    font-family: 'Noto Sans JP', sans-serif !important;
}

/* 見出し（h1〜h6） */
h1, h2, h3, h4, h5, h6,
.site-title,
.page-title,
.section-title {
    font-family: 'Zen Maru Gothic', sans-serif !important;
    font-weight: 500; /* font-weight はそのままでOK */
}

/* 数字（電話番号・料金・日付など） */
.tel,
.price,
.date,
.number,
input[type="tel"],
input[type="number"] {
    font-family: 'Lato', sans-serif !important;
}

/* 電話番号リンク */
a[href^="tel:"] {
    font-family: 'Lato', sans-serif !important;
}





/* ----------------------------------------
   共通設定
---------------------------------------- */
.front-page {
  overflow-x: hidden;
}

.front-page * {
  box-sizing: border-box;
}

/* コンテナ */
.fp-container {
  max-width: min(90%, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* PC/SP表示切り替え */
.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

@media (max-width: 1100px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
}

/* ----------------------------------------
   メインビジュアル（MV）- スライダー対応
---------------------------------------- */
.fp-mv {
  position: relative;
  background-image: url('./assets/images/bg-green.jpg');
  background-repeat: repeat;
  background-position: center;
  background-size: auto;
  padding: clamp(3rem, 3vw, 6rem) 0 clamp(5rem, 12vw, 10rem) 0;
  overflow: hidden;
}

.fp-mv__inner {
 max-width: 1520px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.8vw, 1.4rem);
  display: grid;
  /* PC版: 左3割(文章) 右7割(画像) */
  grid-template-columns: 3fr 7fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

/* ========================================
   MVコンテンツ（左側・文章エリア）
======================================== */
.fp-mv__content {
  color: #fff;
  position: relative;
  z-index: 3; /* 画像より上に */
  display: flex;          /* ← MVの下に合わせる */
  flex-direction: column; /* ← MVの下に合わせる */
  justify-content: flex-end; /* ← MVの下に合わせる */
  align-self: end; /* ← MVの下に合わせる */
}

/* 「あなたでよかった」見出し画像 */
.fp-mv__hero-text {
  width: 145%; /* 左3割エリアの1.45倍 = 全体の約43.5%を使用 */
  max-width: 600px;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  z-index: 4;
}




/* PC版のみ適用 */
@media (min-width: 1101px) {
  .fp-mv__content {
    margin: 0 0 0 17%;
  }
}

/* 1400px以下：gapを少し狭める */
@media (max-width: 1400px) and (min-width: 1101px) {
  .fp-mv__content {
   margin: 0 0 0 15%;
  }
}

/* 1300px以下：gapをさらに狭める */
@media (max-width: 1300px) and (min-width: 1101px) {
  .fp-mv__content {
    margin: 0 0 0 10%;
  }
}

/* 1200px以下：gapを最小に */
@media (max-width: 1200px) and (min-width: 1101px) {
  .fp-mv__content {
    margin: 0 0 0 5%;
  }
}






.fp-mv__hero-text img {
  width: 100%;
  height: auto;
  display: block;
}

/* メッセージ文章（明朝体・小さめ） */
.fp-mv__message {
  font-family: 'Noto Serif JP', serif!important; /* 明朝体 */
      font-size: clamp(0.75rem, 1.4vw, 0.875rem);
  line-height: 1.9;
  margin: 0 0 clamp(1.5rem, 3vw, 2rem) 0;
  opacity: 0.95;
  font-weight: 400;
}

/* 受賞バッジ2つ横並び */
.fp-mv__badges {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: center;
}

.fp-mv__badge-item {
    width: clamp(110px, 10vw, 113px);
  height: auto;
}

.fp-mv__badge-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   MV画像（右側）- スライダー対応
======================================== */
.fp-mv__slider-wrapper {
  position: relative;
  z-index: 2;
}

.fp-mv__slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.fp-mv__slide {
  display: none;
  width: 100%;
  height: auto;
}

.fp-mv__slide--active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fp-mv__slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   スライダーコントロール（画像内右下）
======================================== */
.fp-mv__controls {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1rem);
  z-index: 10;
}

/* インジケーターバー */
.fp-mv__indicators {
  display: flex;
  gap: 0.5rem;
}

.fp-mv__indicator {
  width: clamp(2rem, 4vw, 3rem);
  height: clamp(0.3rem, 0.5vw, 0.4rem);
  background-color: rgba(255, 255, 255, 0.5) !important;
  border: none;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.fp-mv__indicator:hover {
  background-color: rgba(255, 255, 255, 0.8) !important;
}

.fp-mv__indicator--active {
  background-color: #5a7f5f !important;
}

/* 前後ボタン（< > ボタン） */
.fp-mv__nav-buttons {
  display: flex;
  gap: 0.5rem;
}

.fp-mv__nav-button {
  width: clamp(2.5rem, 5vw, 3rem);
  height: clamp(3.6rem, 5vw, 3.7rem);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: bold;
  color: #fff;
  transition: all 0.3s ease;
  /* グラデーション: 上が薄め、下が濃いめの緑 */
  background: linear-gradient(to bottom, #7ba083, #4a6b4d);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fp-mv__nav-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fp-mv__nav-button span {
  line-height: 1;
}

/* ========================================
   斜めカット（三角形の波）
======================================== */
.fp-mv__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(60px, 10vw, 120px);
  z-index: 1;
  line-height: 0;
}

.fp-mv__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ========================================
   レスポンシブ（SP版）
======================================== */
@media (max-width: 767px) {
  .fp-mv__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 clamp(1rem, 4vw, 2rem);
  }
  
  /* SP版：スライダーを上、コンテンツを下に */
  .fp-mv__content {
    order: 2;
  }

  .fp-mv__nav-button {
    width: clamp(2.5rem, 5vw, 3rem);
    height: clamp(3.6rem, 5vw, 3.4rem);
  }
  
  .fp-mv__slider-wrapper {
    order: 1;
  }
  
  /* 「あなたでよかった」見出し画像：SP版は画像と被せない */
  .fp-mv__hero-text {
    width: 100%;
    max-width: 400px;
    margin: 0 auto clamp(1.5rem, 4vw, 2rem) auto;
  }
  
  /* メッセージ文章 */
  .fp-mv__message {
    text-align: left;
        font-size: clamp(1.0125rem, 2.1vw, 1.0375rem);
  }
  
  /* 受賞バッジ：中央揃え */
  .fp-mv__badges {
    justify-content: center;
  }

  .fp-mv__badge-item {
  width: clamp(134px, 15vw, 165px);
}
  
  /* ========================================
     SP版：インジケーターバーを非表示
     ※表示したい場合は下記コメントアウトを削除
  ======================================== */
  .fp-mv__indicators {
    display: none; /* ← この行を削除すると表示される */
  }
  
  /* SP版でも前後ボタン（< >）は表示 */
  .fp-mv__controls {
    bottom: clamp(0.75rem, 3vw, 1.5rem);
    right: clamp(0.75rem, 3vw, 1.5rem);
  }
}


/* ----------------------------------------
   選ばれる3つの理由
---------------------------------------- */
.fp-reasons {
  background: linear-gradient(to bottom, #ffffff 0%, #fffcf4 100%);
  padding: clamp(0rem, 0vw, 0rem) 0;
  position: relative;
}

/* セクションタイトル */
.fp-section-title {
  text-align: center;
      margin: 0 0 clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
}

/* 点線の半円装飾（画像） */
.fp-section-title__decoration {
  width: clamp(43.6px, 3vw, 43px);
    height: auto;
    margin: 0 auto 0.4rem;
}

.hd_mv .fp-section-title__decoration {
      width: clamp(67px, 3vw, 69px);
}

.fp-section-title__decoration img {
  width: 100%;
  height: auto;
  display: block;
}

.fp-section-title__ja {
  display: block;
  font-size: clamp(1.95rem, 1.7vw, 2.1rem);
  font-weight: 700;
  color: #2d4a2e;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.fp-section-title__ja.whitemoji {
  color: #FFF!important;
}



.fp-section-title__accent {
  color: #d97643;
}

.fp-section-title__sub {
  display: block;
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 500;
  color: #666;
  line-height: 1.6;
}

.fp-section-title__sub.whitemoji{
  color: #FFF!important;
}

/* 3カラムグリッド */
.fp-reasons__grid {
  display: flex;
  justify-content: center;
  align-items: flex-end; /* 下端を揃える */
  gap: clamp(1.2rem, 2.5vw, 2.3rem); /* ========== ボックス間の余白調整 ========== */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 各アイテム */
.fp-reasons__item {
  background-color: #fff;
  border-radius: 4rem 4rem 1rem 1rem;; /* ========== 角丸の調整 ========== */
  overflow: visible;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease; /* hoverは影のみ */
  position: relative;
  padding-top: 0;
}

/* ========== ここでアイテムの大きさを調整 ========== */
.fp-reasons__item:nth-child(1),
.fp-reasons__item:nth-child(3) {
  flex: 0 1 calc(100% * 0.6); /* 左右のボックス横幅（0.6倍） */
  max-width: 307px;
  margin-bottom: 0; /* 左右は下に揃える */
}

.fp-reasons__item:nth-child(2) {
  flex: 0 1 calc(100% * 0.8); /* 中央のボックス横幅（0.8倍） */
 max-width: 360px;
  /*padding-top: 40px;*/ /* 上の飛び出し（10/1くらい） */
  padding-bottom: 26px; /* 下の飛び出し（10/1くらい） */
  margin-bottom: -30px; /* 下の飛び出し分を調整 */
}
/* ============================================== */

.fp-reasons__item:hover {
  /* transform: translateY(-8px); */ /* ========== hoverアニメーション（コメントアウト） ========== */
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* 画像エリア */
.fp-reasons__image {
  position: relative;
  overflow: visible;
  border-radius: 4rem 4rem 0 0; /* ========== 上部の角丸調整 ========== */
}

.fp-reasons__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 4rem 4rem 0 0; /* ========== 上部の角丸調整 ========== */
}

/* .fp-reasons__item:hover .fp-reasons__image img {
  transform: scale(1.05);
} */ /* ========== hoverアニメーション（コメントアウト） ========== */

/* アイコン（画像と文章の境界に配置） */
.fp-reasons__icon {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  width: clamp(50px, 10vw, 70px);
  height: clamp(50px, 10vw, 70px);
  z-index: 10;
  /*background-color: #fff;*/
  border-radius: 50%;
  padding: 0.3rem;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
}

/* ========== 中央のアイコンだけ少し大きく ========== */
.fp-reasons__item:nth-child(2) .fp-reasons__icon {
  width: clamp(55px, 11vw, 78px);
  height: clamp(55px, 11vw, 78px);
}

.fp-reasons__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* コンテンツエリア */
.fp-reasons__content {
  padding: clamp(2.5rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2rem) clamp(2rem, 4vw, 2.5rem);
  text-align: center;
  position: relative;
  overflow: visible;
  background-color: #fff;
  border-radius: 0 0 2rem 2rem; /* ========== 下部の角丸調整 ========== */
}

.fp-reasons__title {
  font-size: clamp(0.65rem, 1.7vw, 1.1rem);
  font-weight: 700;
  color: #2d4a2e;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.fp-reasons__subtitle {
      font-size: clamp(0.675rem, 1.1vw, 0.8rem);
  font-weight: 600;
  color: #555;
  padding: 0.5em;
  border-radius: 2em;
  margin: 0 0 1rem 0;
  background-color: #fef5e8;
  line-height: 1.6;
}

.fp-reasons__text {
  font-size: clamp(0.675rem, 1.9vw, 0.7375rem);
  line-height: 1.8;
  color: #555;
  margin: 0;
  text-align: left;
}

/* 弧を描く装飾画像 */
.fp-reasons__bottom-decoration {
  width: 100%;
  max-width: 1200px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  text-align: center;
}

.fp-reasons__bottom-decoration img {
  width: 100%;
  height: auto;
  display: block;
}

/* レスポンシブ調整 */
@media (max-width: 767px) {
  .fp-reasons__grid {
    flex-direction: column;
    align-items: center;
  }

   /* ========== 表示順序の変更 ========== */
  .fp-reasons__item:nth-child(1) {
    order: 2; /* 2番目に表示 */
  }
  
  .fp-reasons__item:nth-child(2) {
    order: 1; /* 1番目に表示 */
  }
  
  .fp-reasons__item:nth-child(3) {
    order: 3; /* 3番目に表示(変わらず) */
  }
  /* ==================================== */

  .fp-reasons__title {
    font-size: clamp(1.25rem, 1.5vw, 1.5rem);
}


.fp-reasons__subtitle {
            font-size: clamp(0.875rem, 1.1vw, 1.1rem);
}

.fp-reasons__text {
          font-size: clamp(0.875rem, 1.9vw, 1.0375rem);
}
  
  .fp-reasons__item:nth-child(1),
  .fp-reasons__item:nth-child(2),
  .fp-reasons__item:nth-child(3) {
    flex: 1 1 100%;
    max-width: 500px;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}













































/* ===================================
   サービス説明セクション（修正版）
   =================================== */

.service-description-section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  background: linear-gradient(to bottom, #fffcf4 0%, #ffffff 100%);
}

.service-container {
  max-width: min(90%, 1000px);
  margin: 0 auto;
  padding: 0 1rem;
}

.service-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.service-subtitle {
  font-size: clamp(0.8125rem, 1.8vw, 0.875rem);
  color: #999;
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 400;
}

/* ===================================
   PC版: タブ全体をラップ(横幅調整用)
   =================================== */
.service-tabs-wrapper {
  max-width: 700px; /* ← ここで横幅を一括調整可能 */
  margin: 0 auto;
}

/* タブナビゲーション */
.service-tabs {
  display: flex;
  justify-content: space-between; /* 3等分配置 */
  gap: 0;
  margin-bottom: 0;
  border-bottom: 2px solid #e5e5e0;
}

.service-tab {
  flex: 1; /* 3等分 */
  padding: clamp(0.75rem, 1.2vw, 1rem) clamp(1rem, 2vw, 1.5rem);
  background: none;
  border: none;
  background-color: transparent !important;
  border-bottom: 3px solid transparent;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  color: #3e3e3e !important;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-align: center;
}

.service-tab:hover {
  color: #2d4a2e !important;
}

.service-tab.active {
  color: #2d4a2e !important;
  border-bottom-color: #6b9b6f;
  font-weight: 600;
}

/* ===================================
   タブコンテンツ(余白・行間調整)
   =================================== */
.service-tab-content {
  display: none;
  background: white;
  margin: 2rem 0;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 1rem;
  box-shadow: 0 2.5px 12.2px rgb(0 0 0 / 26%);
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: auto 70%;
}

/* 各タブコンテンツに異なる背景画像を設定 */
.service-tab-content#admission {
  background-image: url('./assets/images/top-service01.png');
}

.service-tab-content#info {
  background-image: url('./assets/images/top-service02.png');
}

.service-tab-content#facility {
  background-image: url('./assets/images/top-service03.png');
}

.service-tab-content.active {
  display: block;
}

.tab-content-title {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: #2f4f32;
  margin-bottom: clamp(0.4rem, 1.2vw, 0.55rem);
  letter-spacing: 0.03em;
  line-height: 1.5;
}

/* ===================================
   チェックリスト(画像チェックマーク対応)
   =================================== */
.service-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-checklist li {
  padding: 0.75rem 0 0.75rem 2rem;
  font-size: clamp(0.675rem, 1.8vw, 0.8375rem);
  color: #444;
  position: relative;
  line-height: 0.8;
  letter-spacing: 0.02em;
}

.service-checklist li:last-child {
  border-bottom: none;
}

/* チェックマークを画像に変更 */
.service-checklist li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.875rem;
  width: 1rem;
  height: 1rem;
  background-image: url('./assets/images/icon-form_check.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* ===================================
   施設見学セクション
   =================================== */
.facility-tour-section {
  padding: clamp(5rem, 12vw, 7rem) clamp(1rem, 3vw, 2rem);
  background-image: url('./assets/images/bg-facility-tour.png');
  background-size: cover;
  background-position: center;
  color: white;
  background-color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* PC版のみ：波線を確実に表示 */
@media screen and (min-width: 768px) {
  .facility-tour-section {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (min-width: 1200px) {
  .facility-tour-section {
    min-height: 480px;
  }
}

@media screen and (min-width: 1600px) {
  .facility-tour-section {
    min-height: 550px;
  }
}

.tour-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 40%);
  z-index: 0;
}

.tour-container {
  max-width: min(90%, 900px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tour-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  margin-bottom: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.tour-description {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  margin-bottom: 0;
  opacity: 0.95;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.tour-note {
  font-size: clamp(0.8125rem, 1.8vw, 0.875rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.tour-buttons {
  display: flex;
  gap: clamp(1rem, 2vw, 1.25rem);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: clamp(1rem, 2vw, 1.125rem) clamp(2.5rem, 5vw, 3.125rem);
  border-radius: clamp(2.5rem, 5vw, 3.75rem);
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.05em;
}

.btn-white {
  background-color: #db7644;
  color: #FFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background-color: #f8f8f8;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border-color: white;
  flex-direction: column;
  gap: 0;
  padding: clamp(0.875rem, 2vw, 1rem) clamp(2.5rem, 5vw, 2.875rem);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-label {
  font-size: clamp(0.5125rem, 1.4vw, 0.775rem);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.btn-tel {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 767px) {
  .tour-buttons {
    flex-direction: column;
    align-items: center;
  } 
  
  .btn {
    font-size: clamp(1.7rem, 2.6vw, 2.125rem);
    width: 100%;
    max-width: 380px;
  }
  
  .btn-label {
    font-size: clamp(1.1125rem, 1.5vw, 1.475rem);
  }
  
  .btn-tel {
font-size: clamp(1.4rem, 2.6vw, 2.125rem);
  }
}

@media screen and (max-width: 600px) {
  .btn {
    max-width: 100%;
  }
}



/* ===================================
   施設長メッセージセクション
   =================================== */

.director-message-section {
  padding: clamp(1.9rem, 5.4vw, 3.2rem)  clamp(1rem, 3vw, 2rem);
  background-color: white;
}

.message-container {
  max-width: min(90%, 1100px);
  margin: 0 auto;
}

.message-content {
  display: flex;
  gap: clamp(2.5rem, 7vw, 4.5rem);
  align-items: flex-start;
}

.director-image {
  flex-shrink: 0;
  width: clamp(280px, 35%, 380px);
}

.director-image img {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.message-text {
  flex: 1;
  padding-top: clamp(0.5rem, 1vw, 0.625rem);
}

.message-title {
  font-size: clamp(1.375rem, 3vw, 1.625rem);
  font-weight: 500;
  font-weight: bold;
    color: #476947;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.message-title .highlight {
  color: #d88b4a;
  font-weight: 600;
}

.message-body {
    font-size: clamp(0.875rem, 2vw, 0.9375rem);
    line-height: 2.1;              /* ほんの少しだけ余裕 */
    color: #444;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: 0.03em;        /* 0.02 → 0.03 */
    max-width: 48em;               /* 1行が長くなりすぎない */
}

.message-body p {
    margin-bottom: clamp(1.25rem, 3vw, 1.75rem); /* 段落間を少し広く */
}

.message-body p span{
   font-weight:bold;
}

/* 最初の導入文を少し強調 */
.message-body p:first-child {
    font-weight: 500;
}

/* 「5つの安心」の塊を読みやすく */
.message-body p:nth-of-type(3) {
    line-height: 2.2;
}

.message-body p:last-child {
  margin-bottom: 0;
}

.message-body strong {
  font-weight: 700;
  color: #333;
}

.director-signature {
  text-align: left;
  border-top: 1px solid #e8e8e5;
  padding-top: clamp(1rem, 2.5vw, 1.5rem);
}

.signature-label {
  font-size: clamp(0.8125rem, 1.8vw, 0.875rem);
  color: #888;
  margin-bottom: 0.375rem;
  letter-spacing: 0.05em;
}

.signature-name {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 600;
  color: #333;
  letter-spacing: 0.03em;
}

/* ===================================
   レスポンシブ対応
   =================================== */

@media (max-width: 768px) {
  
  /* タブを2-1レイアウトに(PCと同じデザイン) */
  .service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem; /* タブ間に隙間 */
    border-bottom: none; /* 全体の線は削除 */
    justify-content: center; /* 中央揃え */
  }
  
  .service-tab {
    flex: 0 0 calc(50% - 0.25rem); /* 1行目: 2つ並び */
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e5e0; /* 各タブに独立した線 */
    position: relative;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(0.5rem, 2vw, 1rem);
  }
  
  /* 3つ目だけ次の行・中央配置 */
  .service-tab:nth-child(3) {
    flex: 0 0 calc(50% - 0.25rem);
    margin: 0 auto 1rem;
  }
  
  .service-tab.active {
    border-bottom-color: #6b9b6f;
  }
  
  /* SP版: すべてのタブに下向き三角を表示 */
  .service-tab::after {
    content: '';
    position: absolute;
    bottom: -7px; /* 線の下に配置 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #e5e5e0; /* 非アクティブ時は灰色 */
  }
  
  /* アクティブ時は緑の三角 */
  .service-tab.active::after {
    border-top-color: #6b9b6f;
  }
  
  /* タブコンテンツ */
  .service-tab-content {
    padding: clamp(1.25rem, 4vw, 1.5rem);
    background-size: auto 70%;
  }
  
  .tab-content-title {
    margin-bottom: 0.875rem;
  }
  
  .service-checklist li {
    padding: 0.625rem 0 0.625rem 1.75rem;
    line-height: 1.7;
  }
}

@media screen and (max-width: 767px) {
  .daily-schedule-banner {
    max-width: 100%;
  }

  .schedule-icon {
    width: 35%;
  }

  /* 施設長メッセージセクション */
  .message-content {
    flex-direction: column;
    gap: 2rem;
  }

  .director-image {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }

  .message-title {
    text-align: center;
  }

  .director-signature {
    text-align: left;
  }
}

@media screen and (max-width: 600px) {
  .service-tab {
    padding: 0.875rem 1.125rem;
  }

  .service-tab-content {
    padding: 1.75rem 1.25rem;
  }

  .service-checklist li {
    padding: 0.75rem 0 0.75rem 1.625rem;
        font-size: clamp(0.875rem, 1.7vw, 1.0375rem);
        line-height: 1;
  }

  .service-checklist li:before {
    font-size: 0.875rem;
    top: 0.75rem;
  }


  .director-image {
    max-width: 100%;
  }
}

/* ===================================
   一日の流れバナー
   =================================== */
.daily-schedule-banner {
  display: flex;
  align-items: center; 
  background: white;
  padding: 0;
  border-radius: clamp(2.5rem, 6vw, 3.75rem);
  max-width: clamp(400px, 70%, 550px);
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
  text-decoration: none; /* 追加 */
  /* PC版: 背景画像を設定 */
  background-image: url('./assets/images/schedule-image.jpg');
  background-size: 48% 100%;
  background-position: left center;
  background-repeat: no-repeat;
}

.daily-schedule-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* PC版: 左側から中央へのグラデーション */
.daily-schedule-banner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%; /* ← グラデーションの範囲調整可能 */
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
  z-index: 1;
}

/* PC版: 画像領域(非表示) */
.schedule-icon {
  display: none;
}

.schedule-text {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem);
  padding-left: 0; /* 左側のパディングを削除 */
  margin-left: 52%; /* ← 背景画像の幅と合わせる */
  background: transparent;
  position: relative;
  z-index: 2;
}

.schedule-text-content {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.schedule-label {
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  color: #666;
  margin: 0;
  letter-spacing: 0.05em;
}

.schedule-title {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 600;
  color: #616161;
  margin: 0;
  letter-spacing: 0.02em;
}

.schedule-link {
  width: clamp(2.25rem, 5vw, 2.75rem);
  height: clamp(2.25rem, 5vw, 2.75rem);
  background: linear-gradient(to bottom, #6bae6b, #2f4f2f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.daily-schedule-banner:hover .schedule-link {
  background: linear-gradient(to bottom, #6bae6b, #2f4f2f);
  transform: scale(1.05);
}

/* ===================================
   一日の流れバナー SP版レスポンシブ対応
   =================================== */
@media screen and (max-width: 767px) {
  .daily-schedule-banner {
    flex-direction: column;
    align-items: stretch;
    background-image: none; /* PC版の背景画像を削除 */
    background: white;
  }
  
  /* SP版: 背景グラデーション削除 */
  .daily-schedule-banner::before {
    display: none;
  }

  /* SP版: 画像領域を表示 */
  .schedule-icon {
    display: block;
    width: 100%;
    height: 150px; /* ← 画像の高さ調整 */
    border-radius: clamp(2rem, 5vw, 2.5rem) clamp(2rem, 5vw, 2.5rem) 0 0;
    position: relative;
    overflow: hidden;
  }

  .schedule-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: clamp(2rem, 5vw, 2.5rem) clamp(2rem, 5vw, 2.5rem) 0 0;
  }

  /* SP版: 下側グラデーション追加 */
  .schedule-icon::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%; /* ← グラデーションの高さ調整可能 */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    z-index: 1;
  }

  .schedule-text {
    padding: 1.25rem 1.5rem;
    padding-left: 1.5rem; /* SP版では左パディングを復元 */
    margin-left: 0; /* SP版ではマージンをリセット */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    background: white;
  }

  /* SP版: テキスト部分を左にずらす */
  .schedule-text-content {
    display: flex;
    flex-direction: column;
    margin-right: calc(clamp(2.25rem, 5vw, 2.75rem) / 2); /* ボタン幅の半分だけ左にずらす */
  }

  .schedule-link {
    position: static;
    margin: 0;
  }
}






/* ========================================
   施設紹介セクション
======================================== */
.fp-facility {
  background-color: #fff;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.fp-facility__content {
  display: grid;
      grid-template-columns: 1.3fr 0.85fr; /* ★右側(ギャラリー)の幅を縮小 */
  gap: clamp(2.1rem, 4.4vw, 3.1rem); /* ★左右の余白を拡大(調整可能) */
  align-items: start;
}

/* 左側:メイン画像+テキスト */
.fp-facility__main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.fp-facility__main-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.fp-facility__main-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/11;
  object-fit: cover;
  display: block;
}

/* メイン画像下のテキスト */
.fp-facility__main-text {
  padding: 0 0.5rem;
}

.fp-facility__label-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.05em;
  color: #4a6b4a;
}

.fp-facility__label-text {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  line-height: 1.8;
  margin: 0;
  letter-spacing: 0.02em;
  color: #555;
}

/* 右側:ギャラリー(6枚・2列×3行) */
.fp-facility__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.525rem; /* ★画像間の余白(縦横共通)0.625rem=10px */
  align-content: start;
}

.fp-facility__gallery-item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.fp-facility__gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.fp-facility__gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3.5 / 2.6;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.fp-facility__gallery-item:hover img {
  transform: scale(1.05);
}

.fp-facility__gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, #fbf1e2 100%);
  color: #636363;
      padding: clamp(0.3rem, 0.6vw, 0.4rem) clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(0.75rem, 1.6vw, 0.8125rem);
  font-weight: 600;
  margin: 0;
  text-align: center;
  letter-spacing: 0.03em;
}

/* ========================================
   レスポンシブ:タブレット以下
======================================== */
@media (max-width: 1100px) {
  .fp-facility__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .fp-facility__gallery {
    gap: 1rem;
  }
}

/* ========================================
   レスポンシブ:スマホ
======================================== */
@media (max-width: 768px) {
  .fp-facility {
    padding: 3rem 0;
  }
  
  .fp-facility__content {
    gap: 2.5rem;
  }
  
  /* メイン画像:width90% */
  .fp-facility__main {
    width: 100%;
    margin: 0 auto;
    gap: 1.25rem;
  }
  
  .fp-facility__main-image {
    border-radius: 0.75rem;
  }
  
  .fp-facility__main-text {
    padding: 0;
  }
  
  .fp-facility__label-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }
  
  .fp-facility__label-text {
    font-size: 0.875rem;
    line-height: 1.7;
  }
  
  /* ギャラリー:左右5%余白、中央2%余白 */
  .fp-facility__gallery {
    width: 100%; /* 左右5%ずつ余白 */
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 2%; /* 中央の余白2% */
    row-gap: 1rem; /* 縦方向の余白 */
  }
  
  .fp-facility__gallery-item {
    border-radius: 0.5rem;
  }
  
  .fp-facility__gallery-caption {
            padding: 0.575rem 0;
        font-size: clamp(0.7rem, 2.5vw, 1.05rem);
  }
}





/* ========================================
   料金案内セクション(安心価格の家賃設定)
======================================== */
.fp-pricing {
  background-image: url(./assets/images/bg-facility-tour2.png);
  background-size: cover;
  background-position: center;
  background-color: #fff;
  padding: clamp(2.7rem, 5.4vw, 5.7rem) 0;
}

/* SP */
@media (max-width: 767px) {
  .fp-pricing {
    background-position: 75% center;
  }
}



/* 料金表示エリア */
.fp-pricing__rates {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 2vw, 3.6rem);
  margin: 0 auto 1rem;
  max-width: 700px;
}

.fp-pricing .fp-section-title {
    margin: 0 0 clamp(2.2rem, 3.3vw, 4rem) 0;
}


.fp-pricing__rate-item {
  text-align: center;
  color: white;
}

.fp-pricing__rate-label {
  font-size: clamp(1rem, 2.5vw, 1.25rem); /* ★調整可能 */
  font-weight: 500;
  display: flex;
    align-items: center;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.fp-pricing__rate-price {
      font-size: clamp(1.7rem, 2.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fp-pricing__rate-suffix {
      font-size: clamp(0.95rem, 1.5vw, 1.45rem);
  font-weight: 500;
  margin-left: 0.25rem;
}

/* 縦線の仕切り */
.fp-pricing__divider {
     width: 1px;
    height: clamp(64.3px, 4.8vw, 65.5px);
  background-color: white;
}

/* 料金詳細カード */
.fp-pricing__detail-card {
  max-width: 900px;
  margin: 0 auto;
  background: transparent;
  border: 2px solid white;
  border-radius: 1.5rem;
  padding: clamp(1.8rem, 2.2vw, 2.8rem) clamp(1.5rem, 3vw, 2.5rem);
}

.fp-pricing__note {
    max-width: 900px;
    margin: 0.5rem auto 0;
    font-size: 0.8rem;
    color: #FFF;
    text-align: right;
    letter-spacing: 0.02em;
}

.fp-pricing__detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}

/* 左側:テキストエリア */
.fp-pricing__detail-text {
  color: white;
}

.fp-pricing__detail-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(0.825rem, 1.5vw, 1.175rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.fp-pricing__detail-icon {
  width: clamp(24px, 5vw, 32px);
  height: clamp(24px, 5vw, 32px);
  object-fit: contain;
}

.fp-pricing__detail-description {
  font-size: clamp(0.675rem, 1.6vw, 0.8375rem);
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.02em;
}

/* 右側:ボタンエリア */
.fp-pricing__detail-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fp-pricing__detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: 66%; /* ★ボタン幅調整可能(右側の2/3) */
  padding: clamp(0.875rem, 2vw, 1.125rem) clamp(1.5rem, 3vw, 2rem);
  background-color: white;
  color: #6b9b6f;
  text-decoration: none;
  border-radius: 3rem;
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: 2px solid #6b9b6f;
  box-shadow: 0 5px 1px rgb(123 189 105), 0 -5px 1px rgb(123 189 105);
}

.fp-pricing__detail-button:hover {
  background-color: #f0f8f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(107, 155, 111, 0.3);
}

.fp-pricing__button-icon {
  width: clamp(20px, 4vw, 24px);
  height: clamp(20px, 4vw, 24px);
  object-fit: contain;
}

/* ========================================
   レスポンシブ:タブレット以下
======================================== */
@media (max-width: 1100px) {
  .fp-pricing__detail-content {
    gap: 2rem;
  }
  
  .fp-pricing__detail-button {
    width: 75%;
  }
}

/* ========================================
   レスポンシブ:スマホ
======================================== */
@media (max-width: 768px) {
  .fp-pricing {
    padding: 3rem 0;
  }
  
  /* 料金表示:縦並び */
  .fp-pricing__rates {
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 2.5rem;
  }
  
  .fp-pricing__rate-item {
    width: 100%;
    padding: 0;
  }
  
  .fp-pricing__rate-label {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 1rem;
    display: flex;
  align-items: center; 
  justify-content: center; 
  }
  
  .fp-pricing__rate-price {
    display: inline-block;
    font-size: 3rem;
  }

  .fp-pricing__rate-suffix {
    font-size: 1.5rem;
}
  
  /* 横線の仕切り */
  .fp-pricing__divider {
    width: 80%;
    height: 2px;
    margin: 0 auto;
  }
  
  /* 料金詳細カード:縦並び */
  .fp-pricing__detail-card {
    padding: 2rem 1.5rem;
  }
  
  .fp-pricing__detail-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .fp-pricing__detail-heading {
    font-size: 1.125rem;
            text-align: center;
        display: block;
  }
  
  .fp-pricing__detail-description {
    font-size: 0.875rem;
  }
  
  .fp-pricing__detail-button {
    width: 100%;
    max-width: 280px;
  }
}









/* ========================================
   お客様の声セクション（完全新規版）
======================================== */

/* セクション全体 */
.fp-voice {
  background-color: #fff;
  /* セクションの上下余白 - 調整可能 */
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

/* スライダーコンテナ（ボタン含む全体） */
.fp-voice__slider-container {
  position: relative;
  /* スライダー全体の最大幅 - 調整可能 */
  max-width: 900px;
  margin: 0 auto;
}

/* スライダー本体（オーバーフロー制御） */
.fp-voice__slider {
  overflow: visible; /* 前後のスライドを見せるためvisible */
  position: relative;
}

/* スライドトラック（横並び） */
.fp-voice__track {
  display: flex;
  /* スライドアニメーション */
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* 初期位置：ループ対応のため最初のスライド（複製後の位置）を中央に */
  transform: translateX(calc(-80% + 10%));
}

/* 各スライド */
.fp-voice__slide {
  /* スライド幅：中央のアクティブスライドの幅を調整可能 - ★調整ポイント★ */
  flex: 0 0 80%;
  /* スライド間の余白 - ★調整ポイント★ */
  padding: 0 2.5%;
}

/* スライドの中身 */
.fp-voice__content {
  background: white;
  /* ボックス全体の角丸 */
  border-radius: 0.75rem;
  /* ボックスのシャドウ */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  /* ボックス内の余白 - 調整可能 */
  padding: clamp(1.5rem, 4vw, 2rem);
  display: grid;
  /* 左1:右4の比率 - ★ボックスの横幅調整ポイント★ */
  grid-template-columns: 1fr 5fr;
  /* 左右カラムの間隔 - 調整可能 */
  gap: clamp(1.5rem, 4vw, 2.5rem);
  /* 非アクティブ時は薄く表示 */
  opacity: 0.35;
  /* スケール変更 */
  transform: scale(0.92);
  /* アニメーション */
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* アクティブなスライド */
.fp-voice__slide.fp-voice__slide--active .fp-voice__content {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* 左カラム */
.fp-voice__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* 各要素の間隔 - 調整可能 */
  gap: 0.75rem;
}

/* アバター画像 */
.fp-voice__avatar {
  /* アバターのサイズ - 調整可能 */
  width: clamp(50px, 8vw, 70px);
  height: clamp(50px, 8vw, 70px);
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-voice__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ユーザー情報 */
.fp-voice__user {
  /* ユーザー名のフォントサイズ - 調整可能 */
  font-size: clamp(0.8125rem, 1.8vw, 0.875rem);
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* 星評価 */
.fp-voice__stars {
  display: flex;
  gap: 0.2rem;
  justify-content: center;
}

.fp-voice__star {
  /* 星のサイズ - 調整可能 */
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: #f4a460;
}

.fp-voice__star--empty {
  color: #ddd;
}

/* 右カラム */
.fp-voice__right {
  display: flex;
  flex-direction: column;
  /* Q&Aブロック間の間隔 - 調整可能 */
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

/* Q&Aブロック */
.fp-voice__block {
  display: flex;
  flex-direction: column;
  /* 質問と回答の間隔 - 調整可能 */
  gap: 0.5rem;
}

/* 質問 */
.fp-voice__q {
  /* 質問のフォントサイズ - 調整可能 */
  font-size: clamp(0.875rem, 1.8vw, 0.9375rem);
  font-weight: 600;
      color: #535353;
  margin: 0;
  letter-spacing: 0.02em;
}

/* 回答 */
.fp-voice__a {
  background-color: #fffaf3;
  /* 回答ボックスの角丸 */
  border-radius: 0.5rem;
  /* 回答ボックスの内側余白 - 調整可能 */
  padding: clamp(0.75rem, 2.5vw, 1.25rem);
}

.fp-voice__a p {
  /* 回答テキストのフォントサイズ - 調整可能 */
  font-size: clamp(0.8125rem, 1.8vw, 0.875rem);
  line-height: 1.7;
  color: #555;
  margin: 0;
  letter-spacing: 0.02em;
}


.fp-voice__a p span{
    font-weight: bold;
    margin: 0 0 0.3rem;
    display: inline-block;
}



/* ナビゲーションボタン */
.fp-voice__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* ボタンのサイズ（幅） - ★調整ポイント★ */
  width: clamp(30px, 4vw, 38px);
  height: clamp(30px, 4vw, 38px);
  padding: 0;
  border-radius: 50%;
  border: none;
  /* グラデーション背景 */
  background: linear-gradient(135deg, #ff6600 0%, #ff9966 100%);
  color: white;
  /* 矢印のサイズ - 調整可能 */
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(255, 102, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 100;
}

.fp-voice__btn:hover {
  background: linear-gradient(135deg, #ff5500 0%, #ff8855 100%);
  box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.fp-voice__btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* 前へボタン（左側が濃い） - アクティブボックスの左端に配置 */
.fp-voice__btn--prev {
  /* アクティブボックスの左端位置 - ★調整ポイント★ */
  left: calc(7.1% + 3.5%);
  background: linear-gradient(90deg, #f9aa83 0%, #dd7a49 100%);
}

.fp-voice__btn--prev:hover {
  background: linear-gradient(90deg, #ff5500 0%, #ff8855 100%);
}

/* 次へボタン（右側が濃い） - アクティブボックスの右端に配置 */
.fp-voice__btn--next {
  /* アクティブボックスの右端位置 - ★調整ポイント★ */
  right: calc(7.1% + 3.5%);
  background: linear-gradient(270deg, #f9aa83 0%, #dd7a49 100%);
}

.fp-voice__btn--next:hover {
  background: linear-gradient(270deg, #ff5500 0%, #ff8855 100%);
}

/* インジケーター */
.fp-voice__indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  /* インジケーターとスライダーの間隔 - 調整可能 */
  gap: 0.6rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
}

.fp-voice__indicator {
  /* インジケーターの幅 - 調整可能 */
  width: clamp(35px, 5vw, 50px);
  /* インジケーターの高さ（細さ） - 調整可能 */
  height: 6.1px;
  border-radius: 15px;
  border: none;
  background-color: #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

/* WordPress Twenty Twenty-Oneテーマの上書き */
.site .fp-voice__indicator {
  background-color: #e0e0e0 !important;
}

.site .fp-voice__indicator:hover {
  background-color: #ffcc99 !important;
  transform: scaleX(1.1);
}

.site .fp-voice__indicator.fp-voice__indicator--active {
  background-color: #ee9569 !important;
  height: 6.1px;
  border-radius: 15px;
  transform: scaleX(1.2);
}

/* ========================================
   レスポンシブ対応
======================================== */

@media screen and (max-width: 1100px) {
  .fp-voice__slider-container {
    max-width: 750px;
  }
}

@media screen and (max-width: 768px) {
  /* スマホでは縦並び */
  .fp-voice__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .fp-voice__btn {
    bottom: -14%;
            top: inherit;
  }

  /* SP版：ボタンをアクティブボックスの左右端に配置 */
  .fp-voice__btn--prev {
    /* ボックスの左端：画面左端5% + パディング2.5% = 7.5%の位置 */
    left: 7.5%;
  }

  .fp-voice__btn--next {
    /* ボックスの右端：画面右端5% + パディング2.5% = 7.5%の位置 */
    right: 7.5%;
  }

  /* SP版：左カラムを横並びに変更し、中央寄せ */
  .fp-voice__left {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
    gap: 1rem;
    margin: 0 auto;
    max-width: fit-content;
  }

  /* SP版：アバターは固定幅 */
  .fp-voice__avatar {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
  }

  /* SP版：ユーザー情報と星評価を縦並びにするラッパー */
  .fp-voice__user-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
  }

  /* SP版：ユーザー名を左揃え */
  .fp-voice__user {
    text-align: left;
  }

  /* SP版：星評価を左揃え */
  .fp-voice__stars {
    justify-content: flex-start;
  }

  .fp-voice__btn {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .fp-voice__indicator {
    width: 30px;
  }

  /* スマホではスライド幅を大きく調整（横幅を広げる） */
  .fp-voice__track {
    transform: translateX(5%);
  }

  .fp-voice__slide {
    /* 85% → 90%に変更してボックスを大きく */
    flex: 0 0 90%;
    /* パディングを少し小さく調整 */
    padding: 0 2%;
  }
}

@media screen and (max-width: 600px) {
  /* 600px以下でも横並びを維持し、中央寄せに */
  .fp-voice__left {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: left;
    margin: 0 auto;
    max-width: fit-content;
  }

  .fp-voice__user-info {
    align-items: flex-start;
  }

  .fp-voice__user {
    text-align: left;
  }

  .fp-voice__stars {
    justify-content: flex-start;
  }

  .fp-voice__content {
    padding: 1.25rem;
  }

  .fp-voice__a {
    padding: 0.875rem;
  }

  .fp-voice__btn {
    width: 35px;
    height: 35px;
  }
  
  /* 600px以下でもボタン位置を維持 */
  .fp-voice__btn--prev {
    left: 0.5%;
  }

  .fp-voice__btn--next {
    right: 0.5%;
  }
}












































/* ========================================
   訪問介護サービスセクション
======================================== */

.fp-home-care {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
  overflow: visible;
  background: linear-gradient(to right, #fff9ef 0%, /* 左上 */ #fffdf3 100% /* 右上 */), linear-gradient(to right, #fff7ec 0%, /* 左下 */ #fffbf1 100% /* 右下 */);
    background-size: 100% 50%, 100% 50%;
    background-position: top, bottom;
    background-repeat: no-repeat;
}

/* 上部のWAVE背景 */
.fp-home-care::before {
  content: '';
  position: absolute;
  top: -1%;
  left: 0;
  width: 100%;
  height: 3%; /* 可変可能 */
  background-image: url('./assets/images/home-care-bg_ue.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 下部のWAVE背景 */
.fp-home-care::after {
  content: '';
  position: absolute;
  bottom: -1%;
  left: 0;
  width: 100%;
  height: 2%; /* 可変可能 */
  background-image: url('./assets/images/home-care-bg-shita.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.fp-home-care .fp-container {
  position: static;
  z-index: 2;
}

.fp-home-care__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: flex-end;
  margin-bottom: 0;
  padding-bottom: clamp(7.8rem, 16.4vw, 7.4rem);
  position: static;
  min-height: 500px;
}

.fp-home-care__text {
  max-width: 55%;
  position: relative;
  z-index: 2;
  padding-bottom: 0;
  margin-bottom: -20px;
}

.fp-home-care__description {
  font-size: clamp(0.7375rem, 0.9vw, 1.1rem);
  line-height: 1.9;
  color: #333;
  margin: 0 0 clamp(2rem, 4vw, 2.5rem) 0;
  letter-spacing: 0.03em;
}

.fp-home-care__info-box {
  background: white;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 0.75rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.fp-home-care__info-title {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 700;
  color: #476947;
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.03em;
}

.fp-home-care__info-title:not(:first-child) {
  margin-top: 1.5rem;
}

.fp-home-care__info-text {
  font-size: clamp(0.875rem, 0.8vw, 0.8375rem);
  line-height: 1.8;
  color: #555;
  margin: 0;
}

.fp-home-care__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-home-care__list li {
  padding: 0 0 0.5rem 1.5rem;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  color: #555;
  position: relative;
  line-height: 1.7;
}

.fp-home-care__list li:before {
  content: "";
  position: absolute;
  background-image: url('./assets/images/icon-form_check.png');
  left: 0;
  color: #6b9b6f;
  width: 1rem;
  height: 1rem;
  top: 0.3rem;
  font-weight: bold;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.fp-home-care__note {
  background: #ffffff;
  padding: clamp(0.3rem, 0.9vw, 0.95rem) clamp(0.75rem, 2.6vw, 1.1rem);
  width: 70%;
  border-left: 6px solid #e8956b;
}

.fp-home-care__note p {
  font-size: clamp(0.7375rem, 0.9vw, 1.1rem);
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* PC版：画像を画面右端から配置 */
.fp-home-care__image {
  position: absolute;
  right: 0;
  top: 42%;
  transform: translateY(-50%);
  width: 52vw;
  min-width: 420px;
  max-width: none;
  border-radius: 1rem 0 0 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1;
  height: auto;
}

.fp-home-care__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

/* 詳細バナー - PC版 */
.fp-home-care__banner {
  display: flex;
  border-radius: 1rem;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  gap: 0;
  padding: 0;
  overflow: hidden;
  margin-top: 0; /* margin-topを削除 */
}

.fp-home-care__banner-image {
  flex: 1;
  min-width: 50%;
  height: auto;
  min-height: 250px;
  overflow: hidden;
  position: relative;
}

.fp-home-care__banner-image::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
}

.fp-home-care__banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-home-care__banner-content {
    flex: 1;
    min-width: 50%;
    padding: clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    background-color: #fff;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.fp-home-care__banner-text,
.fp-home-care__banner-button {
    width: 100%;
    max-width: 355px;
}

.fp-home-care__banner-title {
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 700;
  color: #28732f;
  margin: 0 0 0.5rem 0;
}

.fp-home-care__banner-subtitle {
  font-size: clamp(0.8125rem, 1.8vw, 0.875rem);
  color: #666;
  margin: 0;
}

.fp-home-care__banner-button {
  display: block;
  padding: clamp(0.875rem, 2vw, 1rem) clamp(1.75rem, 4vw, 2.5rem);
 background: linear-gradient(to bottom, #7aab64, #274711);
  color: white;
      text-align: center;
  text-decoration: none;
  border-radius: 3rem;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.fp-home-care__banner-button:hover {
  background: linear-gradient(to bottom, #7da781, #4a7a4e);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* ========================================
   レスポンシブ対応 - SP版(767px以下)
======================================== */

@media screen and (max-width: 767px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }

  .fp-home-care__content {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 0;
    padding-bottom: clamp(2.3rem, 4.5vw, 3.8rem); /* SP用の距離 */
    position: relative;
    min-height: auto;
  }

  .fp-home-care__banner-text,
.fp-home-care__banner-button {
    width: 100%;
    max-width: none;
}

  .fp-home-care__image {
    position: static;
    width: 100%;
    min-width: auto;
    margin-bottom: 2rem;
    margin-right: 0;
    border-radius: 1rem;
    overflow: hidden;
    transform: none;
    top: auto;
  }

  .fp-home-care__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
  }

  .fp-home-care__text {
    max-width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .fp-home-care__list li {
    padding-left: 1.5rem;
  }

  .fp-home-care__list li:before {
    top: 0.3rem;
  }

  .fp-home-care__note {
    width: 100%;
  }

  .fp-home-care__note p {
    font-size: clamp(1.1375rem, 1.2vw, 1.5rem);
  }

  .fp-home-care__info-title {
    font-size: clamp(1.4rem, 2.2vw, 1.525rem);
  }

  .fp-home-care__description {
    font-size: clamp(1.075rem, 2vw, 1.2375rem);
  }

  .fp-home-care__list li {
    font-size: clamp(1.075rem, 2vw, 1.2375rem);
  }

  .fp-home-care__info-text {
    font-size: clamp(1.075rem, 2vw, 1.2375rem);
  }

  .fp-home-care__banner {
    flex-direction: column;
    margin-top: 0; /* SP版もmargin-topを削除 */
  }
  
  .fp-home-care__banner-image {
    min-width: 100%;
    min-height: auto;
    position: relative;
  }

  .fp-home-care__banner-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    top: inherit;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
  }
  
  .fp-home-care__banner-image img {
    object-fit: contain;
  }
  
  .fp-home-care__banner-content {
    min-width: 100%;
    padding: 1.5rem;
    gap: 1.25rem;
    text-align: left;
    align-items: flex-start;
  }

  .fp-home-care__banner-title {
    font-size: clamp(1.125rem, 4vw, 1.25rem);
    color: #28732f;
  }

  .fp-home-care__banner-subtitle {
    font-size: clamp(0.9375rem, 3.5vw, 1rem);
  }
  
  .fp-home-care__banner-button {
    align-self: center;
  }
}

/* ========================================
   よくある質問セクション
======================================== */

.fp-faq {
  background: linear-gradient(
  to bottom,
  #fffdf9 0%,
  #ffffff 100%
);
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.fp-faq__list {
  max-width: 900px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.fp-faq__item {
  background: white;
    border: 2px solid #e6e6e6;
    border-radius: 0.75rem;
    box-shadow: 0 4px 8px rgb(0 0 0 / 12%);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fp-faq__item .fp-faq__question{
  background: white!important;
}

.fp-faq__item:hover {
  border-color: #6b9b6f;
}

.fp-faq__item--open {
  border-color: #6b9b6f;
}

.fp-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 1.5rem) clamp(1.5rem, 3vw, 2rem);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.fp-faq__question:hover {
  background-color: #f8f8f5;
}

.fp-faq__question-text {
  font-size: clamp(0.9375rem, 2vw, 1rem);
  font-weight: 600;
  color: #476947;
  line-height: 1.6;
  flex: 1;
  padding-right: 1rem;
}

.fp-faq__icon {
  flex-shrink: 0;
  width: clamp(20px, 3vw, 24px);
  height: clamp(20px, 3vw, 24px);
  color: #6b9b6f;
  transition: transform 0.3s ease;
}

.fp-faq__item--open .fp-faq__icon {
  transform: rotate(180deg);
}

.fp-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #fafaf8;
}

.fp-faq__answer--open {
  max-height: 500px;
  padding: 0 clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 1.5rem);
}

.fp-faq__answer p {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  line-height: 1.8;
  color: #555;
  margin: clamp(1rem, 2vw, 1.25rem) 0 0;
}

.fp-faq__contact-banner {
/* max-width: 900px;*/
    margin: 0 auto;
    background: linear-gradient(135deg, #fbf1e2 0%, #fbf1e2 100%);
    padding: clamp(1rem, 1.8vw, 1rem);
    /*border-radius: 0.75rem;*/
    font-weight: bold;
    text-align: center;
   /* border: 2px solid #f0e8dc;*/
}

.fp-faq__contact-banner p {
  font-size: clamp(0.9375rem, 2vw, 1rem);
  color: #555;
  margin: 0;
  line-height: 1.7;
}
/* ========================================
   アクセスセクション
======================================== */
.fp-access {
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
  padding: clamp(3rem, 8vw, 5rem) 0;
}
.fp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.fp-access__info .fp-section-title{
  text-align: left;
  margin: 0;
}
.fp-access__info .fp-section-title__decoration{
  text-align: left;
  margin: 0 0 0 4%;
}

.fp-section-title__ja {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #2d4a2e;
}
.fp-access__content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
      gap: clamp(2.7rem, 5.3vw, 5.3rem);
  align-items: start;
}
.fp-access__map {
  width: 100%;
  height: clamp(350px, 50vw, 500px);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.fp-access__map iframe {
  width: 100%;
  height: 100%;
}
.fp-access__info {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.fp-access__info-item {
  background: white;
  /*padding: clamp(0.875rem, 2vw, 1rem);*/
   padding: 0;
  border-radius: 0.5rem;
}
.fp-access__info-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: solid 2px #dbdbdb;
      padding-bottom: 0.65rem;
  margin-bottom: 0.5rem;
}
.fp-access__icon {
flex-shrink: 0;
    width: 1.8rem;
    height: 1.8rem;
    margin-right: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #79aa63, #274711);
    border-radius: 50%;
}
.fp-access__icon img {
     width: 1rem;
    filter: brightness(0) invert(1);
    height: auto;
    object-fit: contain;
}
.fp-access__info-title {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  font-weight: 700;
  color: #2d4a2e;
      margin: 0.6rem 0 0;
  letter-spacing: 0.03em;
  flex: 1;
}
/*.fp-access__info-content {
  padding-left: calc(clamp(28px, 5vw, 32px) + 0.75rem);
}*/
.fp-access__info-text {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  line-height: 1.7;
  color: #555;
  margin: 0.5rem 0 0 0;
}
.fp-access__list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}
.fp-access__list li {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.15rem;
}
/* ========================================
   レスポンシブ対応
======================================== */
@media screen and (max-width: 767px) {
  .fp-access__content {
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2.5vw, 4rem);
  }
  
  /* SP版：タイトルを地図の上に配置 */
  .fp-access__info {
    display: contents;
  }

.fp-access__info-title {
  font-size: clamp(1.4rem, 2.2vw, 1.525rem);
          margin: 0;
    }


  .fp-access__info .fp-section-title {
    order: -2;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
.fp-access__info .fp-section-title__decoration {
    text-align: center;
    margin: 0 auto;
}

  .fp-access__map {
    order: -1;
    margin-bottom: 1.5rem;
  }
  
  .fp-access__info-item {
    order: 0;
            margin: 0.5rem 0 0;
  }

.fp-access__icon {
    margin-right: 0.45rem;
}


}

@media screen and (max-width: 600px) {
  .fp-access {
    padding: clamp(2.5rem, 8vw, 4rem) 0;
  }
  
  .fp-access__map {
    height: 280px;
  }
  
  .fp-access__info-item {
    padding: 0;
  }
  
  .fp-access__info-header {
    gap: 0.5rem;
  }
  
  .fp-access__info-content {
    padding-left: calc(clamp(28px, 5vw, 32px) + 0.5rem);
  }





}





/* ========================================
   お問い合わせセクション
======================================== */

.fp-contact {
  background: linear-gradient(135deg, #5a8860 0%, #4a7a4e 100%);
  padding: clamp(5rem, 10vw, 7rem) 0;
  color: white;
  text-align: center;
}

.fp-contact__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem 0;
  letter-spacing: 0.05em;
}

.fp-contact__subtitle {
  font-size: clamp(0.9375rem, 2vw, 1rem);
  margin: 0 0 clamp(3rem, 6vw, 4rem) 0;
  opacity: 0.95;
  line-height: 1.7;
}

.fp-contact__boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: 900px;
  margin: 0 auto;
}

.fp-contact__box {
  background: white;
  color: #333;
  padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.fp-contact__box-icon {
  width: clamp(50px, 10vw, 60px);
  height: clamp(50px, 10vw, 60px);
  margin: 0 auto 1.25rem;
}

.fp-contact__box-title {
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: #2d4a2e;
  margin: 0 0 0.75rem 0;
  letter-spacing: 0.03em;
}

.fp-contact__box-hours {
  font-size: clamp(0.8125rem, 1.8vw, 0.875rem);
  color: #666;
  margin: 0 0 0.5rem 0;
}

.fp-contact__box-tel {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #2d4a2e;
  margin: 0 0 1.5rem 0;
  letter-spacing: 0.02em;
}

.fp-contact__box-note {
  font-size: clamp(0.8125rem, 1.8vw, 0.875rem);
  color: #666;
  margin: 0 0 1.5rem 0;
  line-height: 1.7;
}

.fp-contact__box-button {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: clamp(0.875rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  background-color: #6b9b6f;
  color: white;
  text-decoration: none;
  border-radius: 3rem;
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #6b9b6f;
}

.fp-contact__box-button:hover {
  background-color: #5a8a5e;
  border-color: #5a8a5e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(107, 155, 111, 0.3);
}

.fp-contact__box-button--form {
  background-color: transparent;
  color: #6b9b6f;
  border-color: #6b9b6f;
}

.fp-contact__box-button--form:hover {
  background-color: #6b9b6f;
  color: white;
}

/* ========================================
   レスポンシブ対応
======================================== */

@media screen and (max-width: 767px) {

  .fp-contact__boxes {
    grid-template-columns: 1fr;
  }

.fp-faq__contact-banner p {
    text-align: left;
}


}

/* SP版レイアウト */
@media screen and (max-width: 600px) {
  
  .fp-faq__question {
    padding: 1rem 1.25rem;
  }
  
  .fp-faq__answer--open {
    padding: 0 1.25rem 1rem;
  }
  
  .fp-contact__box {
    padding: 1.75rem 1.25rem;
  }
}







/* ======================
  一日の流れ
====================== */

.oneday {
  background: linear-gradient(to bottom, #ffffff 0%, #fff2e3 100%);
}

/* MV */
.oneday-mv {
     background-image: url(./assets/images/oneday_mv.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom; /* 下部を基準に */
    padding: 75px 0;
    text-align: center;
}


@media screen and (max-width: 768px) {
  .oneday-mv {
    background-image: url(./assets/images/sp_schedule_top.jpg); 
    background-position: center bottom; /* 下部を基準に */
    padding: 16% 0; 
  }
  .oneday-mv__lead {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
}
}

.oneday-mv__title {
      font-size: clamp(2rem, 1.3vw, 2.4rem);
    color: #444444;
    font-weight: bold;
}

.oneday-mv__lead {
  font-size: clamp(0.7rem, 1.3vw, 0.9rem);
    margin-top: 10px;
    color: #464646;
}

/* breadcrumb */
.breadcrumb {
  max-width: 1100px;
  margin: 20px auto;
  font-size: clamp(0.65rem, 1.3vw, 0.775rem);
  color: #73a773;
}

.breadcrumb .ct1{
  color: #000;
  font-size: clamp(0.75rem, 1.3vw, 0.8rem);
}


@media screen and (max-width: 768px) {
  .breadcrumb {
    margin: 20px 2%;
    font-size: clamp(0.75rem, 1.3vw, 0.775rem);
}
}


/* heading */
.oneday-heading {
  text-align: center;
  margin: 60px 0;
  color: #3a5f3a;
}

.oneday-heading span {
  font-size: 1.2rem;
}

.oneday-heading strong {
  font-size: 2rem;
  color: #e08b3a;
}

/* ===== タイムライン全体 ===== */
.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 80px 0 80px; /* 上のpaddingで時計アイコン分の余白確保 */
}

/* 中央縦線 */
.timeline::before {
  content: "";
  position: absolute;
  top: 60px; /* 時計アイコンの下から始まる */
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #7da56f;
  transform: translateX(-50%);
}

/* 時計アイコン(縦線の開始位置) */
.timeline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background-image:
    url(./assets/images/icon-clock.svg),
    linear-gradient(to bottom, #7bac65 0%, #33571c 100%);
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: 80%, 100%;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

/* ===== 各タイムラインアイテム ===== */
.timeline-item {
  position: relative;
  margin-bottom: 100px;
  min-height: 200px;
}

/* ===== 時間バッジ(中央) ===== */
.timeline-time {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 24px;
  min-width: 110px;
  height: 51px;
  background: linear-gradient(to bottom, #8cc374, #324f25);
  color: #fff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  z-index: 10; /* 常に点線より上 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

/* ===== 点線(時間バッジの下に来る横線) ===== */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  border-top: 2px dotted #7da56f;
  z-index: 1;
}

/* 通常配置:中央から右へ */
.timeline-item:not(.reverse)::before {
  left: 50%;
}

/* 反転配置:中央から左へ */
.timeline-item.reverse::before {
  right: 50%;
}

/* 画像エリア */
.timeline-image {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 330px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像がない場合のダミー背景 */
.timeline-image:empty {
  background: #ddd;
}

/* テキストボックス */
.timeline-box {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  z-index: 999;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* アイコン付き見出し */
.timeline-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.timeline-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(to bottom, #eaa380 0%, #f2c8b7 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.timeline-icon img {
  width: 69%;
  height: auto;
  object-fit: cover;
}

.timeline-box h3 {
  color: #3a5f3a;
  font-size: 1.1rem;
  font-weight: bold;
}

.timeline-box p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== 左側配置(画像左、テキスト右) ===== */
.timeline-item:not(.reverse) .timeline-image {
  right: 50%;
  margin-right: 120px;
}

.timeline-item:not(.reverse) .timeline-box {
  left: 50%;
  margin-left: 120px;
}

/* ===== 右側配置(テキスト左、画像右) ===== */
.timeline-item.reverse .timeline-image {
  left: 50%;
  margin-left: 120px;
}

.timeline-item.reverse .timeline-box {
  right: 50%;
  margin-right: 120px;
}

/* ===== 注意文 ===== */
.oneday-note {
    position: relative;
    margin: 60px auto;
    padding: 2rem;
    font-size: 0.9rem;
    color: #777;
    background-color: #fff;
    width: 60%;
    border-left: 6px solid #6cb164;

    display: flex;
    justify-content: center;
    gap: 0.5rem;
    text-align: left;
}

.oneday-note::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url(./assets/images/icon-info.svg);
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
margin-top: 0.3rem;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  /* 中央縦線：時計の下から最後のボックスの途中まで */
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
    top: 100px; /* 時計(80px) + 時計下の余白(20px) */
    bottom: auto;
    height: calc(100% - 280px); /* 最後のボックスの手前で終わる */
  }

  .timeline::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    padding-left: 0;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  /* PC版の点線を非表示 */
  .timeline-item::before {
    display: none;
  }

  /* 時計アイコンの下に縦線を追加（timeline全体の疑似要素として） */
  .timeline {
    padding-top: 100px; /* 時計アイコン分の余白を増やす */
  }
  
  /* 時計と最初のtimeline-timeをつなぐ線（SP専用） */
  .timeline-item:first-child .timeline-time::before {
    content: "";
    position: absolute;
    bottom: 100%; /* timeline-timeの上から */
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px; /* timeline-timeの上から時計までの距離 */
    background: #7da56f;
    z-index: 1;
  }

  .timeline-time {
    position: static;
    transform: none;
    width: 60%;
    margin: 0 auto 20px;
  }

  .timeline-image {
    position: static;
    transform: none;
    width: 90%;
    height: auto;
    aspect-ratio: 330 / 200;
    margin: 0 auto 0 !important;
  }

  .timeline-box {
    position: static;
    transform: none;
    width: 90%;
    margin: -30px auto 0 !important;
    z-index: 2;
  }

  .oneday-note {
    margin: 0 auto 20%;
    width: 90%;
  }
}



/* ========================================
   訪問介護ページ専用CSS
   ファイル名: page-houmonkaigo.css
======================================== */

/* ========================================
   共通設定
======================================== */
.page-houmonkaigo {
    font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
    color: #333;
    line-height: 1.8;
}

.homecare{
  background: linear-gradient(to bottom, #ffffff 0%, #fff2e3 100%);
}



/* MV */
.page-houmonkaigo .oneday-mv {
  background-image: url(./assets/images/visit_top.jpg);
}

.company .oneday-mv {
  background-image: url(./assets/images/overview_top.jpg);
}

.contact .oneday-mv {
  background-image: url(./assets/images/contact_top.jpg);
}

@media screen and (max-width: 768px) {
  .page-houmonkaigo .oneday-mv {
    background-image: url(./assets/images/sp_visit_top.jpg); 
  }

  .company .oneday-mv {
    background-image: url(./assets/images/sp_overview_top.jpg); 
  }

    .contact .oneday-mv {
    background-image: url(./assets/images/sp_contact_top.jpg); 
  }




}


/* ========================================
   MV（メインビジュアル）
======================================== */
.hk-mv {
    position: relative;
    width: 100%;
    height: 245px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('./assets/images/oneday_mv.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hk-mv__inner {
    max-width: 1100px;
    width: 100%;
    padding: 0 20px;
}

.hk-mv__content {
    position: relative;
    text-align: center;
    color: #fff;
}

/* 装飾ドット */
.hk-mv__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.hk-mv__dots span {
    display: block;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.hk-mv__title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 15px;
    letter-spacing: 0.1em;
}

.hk-mv__subtitle {
    font-size: 1.125rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.05em;
}

/* ========================================
   パンくずリスト
======================================== */
.hk-breadcrumb {
    background-color: #f9f9f9;
    padding: 15px 0;
}

.hk-breadcrumb__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 0.875rem;
    color: #666;
}

.hk-breadcrumb a {
    color: #4a90e2;
    text-decoration: none;
    transition: opacity 0.3s;
}

.hk-breadcrumb a:hover {
    opacity: 0.7;
}

.hk-breadcrumb__separator {
    margin: 0 8px;
    color: #999;
}

.hk-breadcrumb__current {
    color: #333;
}

/* ========================================
   「訪問介護とは」セクション
======================================== */
.hk-about {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #fffdf8 45%, #fffcf3 100%);
}

.hk-about__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* 装飾ドット */
.hk-about__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.hk-about__dots span {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #a8d5a3;
    border-radius: 50%;
}

/* 見出し */
.hk-about__heading {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 50px;
    letter-spacing: 0.05em;
}

.hk-about__heading-accent {
    color: #e87d4f;
}

/* 本文 */
.hk-about__content {
    margin-bottom: 60px;
}

.hk-about__text {
        font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    line-height: 2;
}

.hk-about__text:last-child {
    margin-bottom: 0;
}

.hk-about__highlight {
    background: linear-gradient(transparent 60%, #fff4cc 60%);
    font-weight: 600;
}

.hk-about__link {
    color: #d97643;
}


/* ========================================
   おすすめセクション（リスト左 + 画像右端）
======================================== */
.hk-recommend {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    /* max-width の制約を解除するため、親要素から飛び出す */
    width: calc(100vw - ((100vw - 1045px) / 2));
    max-width: none;
    margin-left: 0;
    margin-right: calc(-1 * ((100vw - 1100px) / 2));
}

/* おすすめリストボックス（左側・横幅拡大） */
.hk-recommend__box {
    position: relative;
    z-index: 2;
    flex: 0 0 600px;
    background-color: #ffffff;
    padding: 3% 4%;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    opacity: 1;
}

/* ①背景画像の透明度調整用（疑似要素を使用） */
.hk-recommend__box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./assets/images/visit_about-icon.png');
    background-repeat: no-repeat;
    background-position: right 1% bottom 4%;
    background-size: 36% auto;
    opacity: 0.15; /* 画像の透明度（0.1〜1.0で調整可能） */
    border-radius: inherit;
    pointer-events: none;
    z-index: -1;
}

.hk-recommend__title {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    font-weight: 700;
    color: #4e7637;
    margin: 0 0 30px;
    text-align: left;
    position: relative;
    z-index: 1;
}

/* ボックス内を左右2カラムに分割 */
.hk-recommend__content {
    display: flex;
    gap: 30px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* 左側：リストエリア */
.hk-recommend__list-wrap {
    flex: 1;
}

.hk-recommend__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hk-recommend__list li {
    display: flex;
    align-items: flex-start;
    font-size: clamp(0.6rem, 1.4vw, 0.9rem);
    line-height: 1.6;
    margin-bottom: 0.2rem;
    position: relative;
    padding-left: 28px; /* ④チェックアイコンのスペース確保 */
}

.hk-recommend__list li:last-child {
    margin-bottom: 0;
}

/* ④チェックアイコンを疑似要素で実装 */
.hk-recommend__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em; /* テキストに合わせて微調整可能 */
    width: 18px; /* アイコンサイズ（調整可能） */
    height: 18px; /* アイコンサイズ（調整可能） */
    background-image: url('./assets/images/icon-form_check.png'); /* ④チェック画像のパス */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* ④従来のアイコン要素は非表示 */
.hk-recommend__icon {
    display: none;
}

/* ①右側のアイコン画像エリアは削除（背景画像に統合） */
.hk-recommend__icon-image {
    display: none;
}

/* 画像（右側・画面右端まで広がる） */
.hk-recommend__image {
    position: relative;
    z-index: 1;
    flex: 1;
    margin-left: -60px; /* ボックスに少し重なるように */
    /*min-height: 400px;*/
}

.hk-recommend__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0;
    border-top-left-radius: 14%;
    border-bottom-left-radius: 5%;
}

/* ========================================
   レスポンシブ対応（788px〜1100px：PC版の調整）
======================================== */
@media screen and (min-width: 788px) and (max-width: 1100px) {
    .hk-recommend {
        width: 100%;
        margin-right: 0;
        padding-left: 20px; /* 左側のみ余白 */
        padding-right: 0; /* 右側は余白なし */
    }

    .hk-recommend__box {
        flex: 0 0 50%; /* ボックスを画面幅の50%に */
        min-width: 400px; /* 最小幅を設定 */
    }

    .hk-recommend__image {
        flex: 1; /* 画像は残りのスペースを全て使用 */
        margin-left: -40px; /* 重なりを少し減らす */
        margin-right: 0; /* 右端をbodyの端に合わせる */
        /*min-height: 350px;*/
    }
}

/* ========================================
   レスポンシブ対応（スマートフォン：787px以下）
======================================== */
@media screen and (max-width: 787px) {
    .hk-mv {
        height: 300px;
    }

    .hk-mv__title {
        font-size: 2rem;
    }

    .hk-mv__subtitle {
        font-size: 0.9375rem;
    }

    .hk-about {
        padding: 50px 0;
    }

    .hk-about__heading {
        font-size: 1.625rem;
        margin-bottom: 30px;
    }

    .hk-about__text {
        font-size: 0.875rem;
    }

    /* ⑤SP版では画像が上、ボックスが下 */
    .hk-recommend {
        flex-direction: column-reverse; /* 順序を逆に */
        width: 100%;
        margin-right: 0;
        padding: 0;
    }

    .hk-recommend__image {
        min-height: 250px;
        margin-bottom: 20px; /* ボックスとの間隔 */
        margin-left: 0;
        flex: none;
        width: 100%;
    }
    
    .hk-recommend__image img {
        border-top-left-radius: 0; /* SP版では左上の角丸を削除 */
        border-bottom-left-radius: 0; /* SP版では左下の角丸を削除 */
    }

    .hk-recommend__box {
        padding: 30px 20px;
        max-width: 100%;
        margin: 0; /* ⑤下に配置されるため margin 調整 */
        flex: none;
        width: 100%;
    }
    
    .hk-recommend__box::before {
        background-position: right 6% center;
        background-size: 32% auto;
        opacity: 0.12; /* SP版では少し薄く（調整可能） */
    }

    .hk-recommend__title {
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    /* スマホでは縦並びに */
    .hk-recommend__content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start; /* 左寄せ */
    }
    
    .hk-recommend__list-wrap {
        width: 100%; /* 幅いっぱいに */
    }

    .hk-recommend__list li {
        font-size: 0.875rem;
        padding-left: 24px; /* SP版ではチェックアイコンのスペースを少し狭める */
        text-align: left; /* リストを左寄せ */
    }
    
    /* ④SP版のチェックアイコンサイズ調整 */
    .hk-recommend__list li::before {
        width: 16px;
        height: 16px;
    }
}






/* ========================================
   サービス内容セクション
======================================== */
.hk-service {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fffcf3 0%, #fff 100%);
}

.hk-service__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 装飾ドット */
.hk-service__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.hk-service__dots span {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #a8d5a3;
    border-radius: 50%;
}

/* 見出し */
.hk-service__heading {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px;
    letter-spacing: 0.05em;
}

.hk-service__heading-accent {
    color: #e87d4f;
}

.hk-service__subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin: 0 0 50px;
}

/* サービスカード3枚横並び */
.hk-service__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hk-service__card {
    background-color: #fff;
        border-radius: 3rem 3rem 1rem 1rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hk-service__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.hk-service__card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.hk-service__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hk-service__card-title {
    font-size: clamp(1rem, 1.4vw, 1.3rem);
    font-weight: 700;
    color: #476633;
    margin: 20px 20px 10px;
    text-align: center;
}

.hk-service__card-desc {
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    line-height: 1.5;
    color: #666;
        margin: 0 0.5rem 0.9rem;
    padding: 0 0.6rem 0.6rem;
    border-bottom: 2px dotted #6cb164;
}

.hk-service__card-label {
        background-color: #fbf1e2;
    padding: 0.1rem 0;
    width: 90%;
    text-align: center;
    margin: 0 auto;
    border-radius: 2em;
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    font-weight: 600;
    color: #818181;
}

.hk-service__card-list {
list-style: none;
    padding: 0.3rem 1.7rem 0.5rem;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1rem;
}

.hk-service__card-list li {
    display: flex;
    align-items: flex-start;
        font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    line-height: 1.6;
    color: #6d6d6d;
    white-space: nowrap;
    flex: 0 0 auto;
}

.hk-service__card-list li:last-child {
    margin-bottom: 0;
}

.hk-service__card-list li span {
    color: #ecaf90;
    margin-right: 0.2rem;
    flex-shrink: 0;
}

/* ========================================
   料金についてセクション
======================================== */

.hk-price {
  padding: 1.5rem 0;
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
  overflow: visible;
      background: linear-gradient(to right, #fff9ef 0%, /* 左上 */ #fffdf3 100% /* 右上 */), linear-gradient(to right, #fff7ec 0%, /* 左下 */ #fffbf1 100% /* 右下 */);
    background-size: 100% 50%, 100% 50%;
    background-position: top, bottom;
    background-repeat: no-repeat;
}

/* 上部のWAVE背景 */
.hk-price::before {
  content: '';
  position: absolute;
  top: -1%;
  left: 0;
  width: 100%;
  height: 5%; /* 可変可能 */
  background-image: url('./assets/images/home-care-bg_ue.png');
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 下部のWAVE背景 */
.hk-price::after {
  content: '';
  position: absolute;
  bottom: -1%;
  left: 0;
  width: 100%;
  height: 3%; /* 可変可能 */
  background-image: url('./assets/images/home-care-bg-shita.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}





.hk-price__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 装飾ドット */
.hk-price__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.hk-price__dots span {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #a8d5a3;
    border-radius: 50%;
}

/* 見出し */
.hk-price__heading {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px;
    letter-spacing: 0.05em;
}

.hk-price__heading-accent {
    color: #e87d4f;
}

.hk-price__subtitle {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin: 0 0 50px;
}

/* 2カラムレイアウト */
.hk-price__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
}

.hk-price__box {
    border-radius: 12px;
    padding: 0;
}

.hk-price__box-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #a8d5a3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hk-price__box-icon img {
    max-width: 50px;
    height: auto;
}

.hk-price__box-title {
   font-size: clamp(0.8rem, 1.7vw, 1.3rem);
    font-weight: 700;
    color: #3b4b5b;
    text-align: left;
    margin: 0 0 20px;
  position: relative;
     padding-left: 4.2rem;
}

.hk-price__box-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 3.5rem;   /* ← アイコン横サイズ */
  height: 3.5rem;  /* ← アイコン縦サイズ */

  background-image: url("./assets/images/icon-insurance.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.hk-price__box--table .hk-price__box-title::before {
  background-image: url("./assets/images/icon-price2.png");
}



.hk-price__box-text {
        font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    line-height: 1.8;
    color: #666;
        margin-bottom: 0.8rem;
}

/* 情報リスト */
.hk-price__info-list {
      list-style: none;
    padding: 0.3rem 0 2rem;
    background-color: #fff;
    margin: 0;
    border-radius: 0.6rem;
    box-shadow: 0 5.4px 13.1px rgb(0 0 0 / 14%);
}

.hk-price__info-list li {
    background-color: #fff;
    border-radius: 8px;
      position: relative;
  padding-left: 3rem;   /* ●分の余白 */
    padding: 1rem 2rem 0 4.1rem;
}
.hk-price__info-list li::before {
 content: "";
    position: absolute;
    left: 1.9rem;
    top: 1.4rem;
    width: 13.7px;
    height: 13.7px;
    border-radius: 50%;
    background: linear-gradient(to bottom, #eca989 0%, #f0c0aa 100%);
}

/* ぶら下げインデント */
.hk-price__info-list li {
  text-indent: -1rem;
}

.hk-price__info-list li:last-child {
    margin-bottom: 0;
}

.hk-price__info-label {
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    font-weight: 700;
    color: #5e5e5e;
    margin-bottom: 5px;
}

.hk-price__info-desc {
        font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    color: #555;
    line-height: 1.6;
}

/* 料金表 */
.hk-price__table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0 0.5rem;
    background-color: #fff;
    overflow: hidden;
}

.hk-price__table thead {
    background-color: #476947;
    color: #fff;
}

.hk-price__table th {
    padding: 12px 10px;
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    font-weight: 600;
    text-align: center;
}

.hk-price__table td {
    padding: 12px 10px;
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    color: #555;
    text-align: center;
        border: 1px solid #e0e0e0;
}

/*.hk-price__table tbody tr:last-child td {
    border-bottom: none;
}*/

.hk-price__note {
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    color: #666;
    margin-bottom: 20px;
}

.hk-price__note span{
    color: #e8956b;
}

/* ダウンロードボタン */
.hk-price__download {
    text-align: center;
}

.hk-price__download-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: #FFF;
    color: #666;
    padding: 0.7rem 0;
    width: 83%;
    border-radius: 50px;
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    font-weight: 600;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 3.5px 1px rgb(127 176 105), 0 -5px 1px rgb(123 189 105 / 0%);
    border: 2px solid #7fb069;
}


.hk-price__download-icon {
    font-size: 1.25rem;
}

/* ========================================
   レスポンシブ対応（タブレット）
======================================== */
@media screen and (max-width: 786px) {
    .hk-service__cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hk-price__content {
        grid-template-columns: 1fr;
       gap: 1rem;
    }

.hk-service__card-desc {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
}
.hk-service__card-label {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
}
.hk-service__card-list {
            padding: 0.3rem 1.3rem 1.5rem;
    gap: 0.2rem 0.5rem;
}
.hk-service__card-list li {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
}

}

/* ========================================
   レスポンシブ対応（スマートフォン）
======================================== */
@media screen and (max-width: 768px) {
    .hk-service {
        padding: 50px 0;
    }

    .hk-service__heading,
    .hk-price__heading {
        font-size: 1.625rem;
    }

    .hk-service__card-title {
     font-size: clamp(1.2rem, 1.4vw, 1.3rem);
    }


.hk-price__box-title {
 font-size: clamp(1.2rem, 1.4vw, 1.3rem);
}

.hk-price__box-text {
            font-size: clamp(0.9rem, 1.4vw, 1rem);
}

.hk-price__note {
            font-size: clamp(0.9rem, 1.4vw, 1rem);
}

.hk-price__download-btn {
            font-size: clamp(0.9rem, 1.4vw, 1rem);
}

.hk-price__info-desc {
font-size: clamp(0.9rem, 1.4vw, 1rem);
}

    .hk-price__info-label {
 font-size: clamp(1.2rem, 1.4vw, 1.3rem);
}

    .hk-price {
        padding: 50px 0;
    }

    .hk-price__box {
        padding: 30px 20px;
    }

    .hk-price__table th,
    .hk-price__table td {
        font-size: 0.75rem;
        padding: 8px 5px;
    }
}













/* ========================================
   対応エリアセクション
======================================== */
.hk-area {
    position: relative;
        padding: 5rem 0;
    background-image: url('./assets/images/bg-facility-tour3.jpg');
    background-size: cover;
    background-position: top;
    background-color:#fff;
    background-repeat: no-repeat;
    overflow: hidden;
}



/* ヘッダー部分（ドット・見出し・サブタイトル） */
.hk-area__header {
    text-align: center;
    margin-bottom: 50px;
}

/* 装飾ドット（画像） */
.hk-area__dots {
    margin-bottom: 20px;
}

.hk-area__dots img {
    display: block;
    margin: 0 auto;
    max-width: 100px;
    height: auto;
}

.hk-area__heading {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    letter-spacing: 0.05em;
}

.hk-area__subtitle {
    font-size: 1rem;
    color: #fff;
    margin: 0;
}

/* コンテンツエリア */
.hk-area__content {
        position: relative;
    z-index: 1;
        max-width: 850px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

/* 左側：地図画像 */
.hk-area__map {
    flex: 0 0 480px;
}

.hk-area__map img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.2));
}

/* 右側：エリア情報ボックス */
.hk-area__box {
    flex: 1;
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        margin-left: -7rem;
    position: relative;
    z-index: 2;
}

.hk-area__info-item {
   margin: 0px 0 1rem;
}

.hk-area__info-item:last-child {
   margin: 0px 0 0.5rem;
}

.hk-area__info-icon {
    font-size: 1.375rem;
    margin-bottom: 10px;
}

.hk-area__info-title {
        font-size: clamp(0.8rem, 1.4vw, 0.9rem);
    font-weight: 700;
    color: #4d7536;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px; 
}

.hk-area__info-title::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("./assets/images/icon-main-area.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.hk-area__info-title.another::before {
    background-image: url("./assets/images/icon-other-area.svg");
}


.hk-area__info-text {
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    line-height: 1.8;
    color: #555;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8em 0.7em;
}
.hk-area__info-text span{
background-color: #eef9e7;
    padding: 0 0.5rem;
}

.hk-area__note {
      font-size: clamp(0.6rem, 1.4vw, 0.8rem);
        color: #666;
        text-align: left;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .hk-area {
        padding: 80px 0;
    }

    .hk-area__content {
        flex-direction: column;
    }

    .hk-area__map {
        flex: none;
        max-width: 500px;
        width: 100%;
    }

    .hk-area__box {
        margin-left: 0;
        margin-top: -5rem;
        max-width: 600px;
        width: 80%;
        padding: 1.2rem 2rem;
    }

    .hk-area__dots img {
        max-width: 80px;
    }

    .hk-area__info-title {
    font-size: clamp(1.2rem, 1.4vw, 1.3rem);
}

.hk-area__info-text {
    font-size: clamp(0.9rem, 1.4vw, 1rem);

}
.hk-area__note {
        font-size: clamp(0.9rem, 1.4vw, 1rem);

}



}


/* ========================================
   ご利用の流れセクション
======================================== */
.hk-flow {
    background-color: #fff;
    padding: 60px 0;
}
.hk-flow__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}
/* 左側:画像(画面左端から) */
.hk-flow__image {
    position: relative;
    flex: 0 0 50%;
        min-height: 480px;
}
.hk-flow__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* 右側:コンテンツエリア */
.hk-flow__content {
    flex: 0 0 50%;
    position: relative;
    z-index: 2;
}
.hk-flow__inner {
    padding: 0 1.5rem 1.5rem;
    max-width: 600px;
}
/* 装飾ドット */
.hk-flow__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}
.hk-flow__dots span {
    display: block;
    width: 10px;
    height: 10px;
    background-color: #a8d5a3;
    border-radius: 50%;
}
.hk-flow__heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px;
    letter-spacing: 0.05em;
}
.hk-flow__heading-accent {
    color: #e87d4f;
}
.hk-flow__subtitle {
    text-align: center;
    font-size: 0.9375rem;
    color: #666;
    margin: 0 0 30px;
    line-height: 1.6;
}
/* STEPリスト */
.hk-flow__steps {
    position: relative;
}
/* STEPアイテム */
.hk-flow__step {
    position: relative;
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding-left: 15px;
}
.hk-flow__step:last-child {
    margin-bottom: 0;
}
/* STEPとSTEPを繋ぐ縦線 */
.hk-flow__step::before {
    content: '';
    position: absolute;
    left: 54px;
    top: 28px;
    width: 2px;
    height: calc(100% + 15px);
    background-color: #d0d0d0;
}
.hk-flow__step:last-child::before {
    display: none;
}
/* STEPバッジ(カプセル型・グラデーション) */
.hk-flow__step-badge {
    flex: 0 0 80px;
    height: 40px;
    background: linear-gradient(to bottom, #80af6b, #33571c);
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(108, 177, 100, 0.3);
    position: relative;
    z-index: 1;
}
/* STEPコンテンツ */
.hk-flow__step-content {
    flex: 1;
}
.hk-flow__step-title {
    font-size: clamp(0.8rem, 1.7vw, 1.3rem);
    font-weight: 700;
        color: #51783b;
    margin: 0 0 8px;
}
.hk-flow__step-text {
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    line-height: 1.8;
    color: #666;
    margin: 0;
}
/* ========================================
   レスポンシブ対応(スマートフォン)
======================================== */
@media screen and (max-width: 768px) {
    
    .hk-flow {
        padding: 50px 0;
    }
    
    .hk-flow__wrapper {
        flex-direction: column;
    }
    
    .hk-flow__image {
        flex: none;
        width: 100%;
        min-height: 300px;
    }
    
    .hk-flow__content {
        flex: none;
        margin-left: 0;
        width: 100%;
        padding: 0 20px;
        margin-top: 0;
    }
    
    .hk-flow__inner {
        max-width: 100%;
        padding: 30px 20px;
    }
    
    .hk-flow__heading {
        font-size: 1.625rem;
    }
    
    .hk-flow__subtitle {
        margin-bottom: 25px;
    }
    
    .hk-flow__step {
        gap: 12px;
        padding-left: 10px;
        margin-bottom: 25px;
    }
    
    .hk-flow__step::before {
        left: 45px;
        height: calc(100% + 10px);
    }
    
    .hk-flow__step-badge {
        flex: 0 0 70px;
        height: 36px;
        font-size: 0.8125rem;
    }
    
    .hk-flow__step-title {
        font-size: clamp(1.2rem, 1.4vw, 1.3rem);
        margin-bottom: 6px;
    }
    
    .hk-flow__step-text {
        font-size: clamp(0.9rem, 1.4vw, 1rem);
    }
}


.homecare .fp-faq {
    padding: clamp(4rem, 10vw, 7rem) 0;
    position: relative;
    overflow: visible;
    background: linear-gradient(to right, #fffcf6 0%, /* 左上 */ #fffcf6 100% /* 右上 */), linear-gradient(to right, #fffcf6 0%, /* 左下 */ #fffcf6 100% /* 右下 */);
    background-size: 100% 50%, 100% 50%;
    background-position: top, bottom;
    background-repeat: no-repeat;
}


.homecare .fp-faq:before {
    content: '';
    position: absolute;
    top: -1%;
    left: 0;
    width: 100%;
    height: 3%;
    background-image: url(./assets/images/faq_ue.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}








/* ========================================
   お問い合わせセクション
======================================== */
.hk-contact {
    position: relative;
    background-image: url('./assets/images/bg-green.jpg');
    background-repeat: repeat;
    overflow: hidden;
}

.hk-contact__wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 500px;
}

/* 左側：コンテンツエリア */
.hk-contact__content {
    flex: 1;
    position: relative;
    z-index: 2;
max-width: 50.5%;
    padding-left: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hk-contact__inner {
    padding-right: 60px;
    max-width: 900px;
    /* この値を調整すると画像への被り具合が変わります */
    margin-right: -100px;
}

/* 見出し */
.hk-contact__heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    letter-spacing: 0.05em;
}

.hk-contact__subtitle {
   font-size: clamp(0.875rem, 2vw, 0.9375rem);
    color: #fff;
    margin: 0 0 1rem;
}

/* お問い合わせボックス */
.hk-contact__boxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hk-contact__box {
    display: flex;
    align-items: center;
    gap: 1.9rem;
    background-color: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* アイコン */
.hk-contact__box-icon {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    background: linear-gradient(to bottom, #367232 0%, /* 少し暗い緑（上） */ #6cb164 50%, /* 元の色 */ #8fcd8a 100% /* 薄い緑（下） */);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hk-contact__box-icon img {
    max-width: 40px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* 中央：情報エリア */
.hk-contact__box-info {
    flex: 1;
}

.hk-contact__box-title {
    font-size: clamp(1rem, 1.3vw, 1.5rem);
    font-weight: 700;
    color: #42692c;
    margin: 0 0 5px;
}

.hk-contact__box-time {
    font-size: 0.875rem;
    color: #585858;
    background-color: #fbf1e2;
    display: inline-block;
    font-weight: bold;
    padding: 0.3rem 1.2rem;
    border-radius: 4px;
    margin: 0;
}

/* 右側：アクションエリア */
.hk-contact__box-action {
    flex: 0 0 auto;
    text-align: right;
    min-width: 280px;
}

.hk-contact__tel {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: #575757;
    margin-bottom: 10px;
}

.hk-contact__form-note {
        font-size: clamp(0.6rem, 1.3vw, 0.8rem);
    color: #666;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* ボタン */
.hk-contact__btn {
    display: inline-block;
    padding: 12px;
    border-radius: 50px;
    width: 100%;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hk-contact__btn:hover {
    transform: translateY(-2px);
}

.hk-contact__btn--phone {
    background-color: #fff;
    color: #e87d4f;
    box-shadow: 0 3.5px 1px rgb(232 125 79), 0 -5px 1px rgb(123 189 105 / 0%);
    border: 2px solid #e87d4f;
}

.hk-contact__btn--phone:hover {
    background-color: #e87d4f;
    color: #fff;
}

.hk-contact__btn--form {
    background-color: #e87d4f;
    color: #fff;
    box-shadow: 0 3.9px 1px rgb(76 35 17), 0 -5px 1px rgb(123 189 105 / 0%);
}

.hk-contact__btn--form:hover {
    background-color: #d96d3f;
}

/* 右側：画像（画面右端から） */
.hk-contact__image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hk-contact__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   レスポンシブ対応（タブレット）
======================================== */
@media screen and (max-width: 1100px) {
    .hk-contact__content {
        padding: 2rem 0 2rem 2rem;
        justify-content: flex-start;
    }

    .hk-contact__inner {
        padding-right: 0;
        margin-right: 0;
    }

    .hk-contact__image {
        width: 45%;
    }


.hk-contact__form-note {
    font-size: clamp(0.9rem, 1.1vw, 1.1rem);
}

    .hk-contact__box {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .hk-contact__box-action {
        flex: 0 0 100%;
        text-align: center;
        margin-top: 15px;
    }
}

/* ========================================
   レスポンシブ対応（スマートフォン）
======================================== */
@media screen and (max-width: 767px) {
    .hk-contact {
        padding: 0;
    }

    .hk-contact__wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .hk-contact__image {
        position: relative;
        width: 100%;
        height: auto;
        top: auto;
        transform: none;
        order: -1;
    }

    .hk-contact__form-note {
    font-size: clamp(0.9rem, 1.3vw, 0.8rem);
}

    .hk-contact__content {
        max-width: 100%;
        padding: 50px 20px;
    }

    .hk-contact__heading {
        font-size: 1.375rem;
    }

    .hk-contact__subtitle {
        font-size: 0.875rem;
        margin-bottom: 30px;
    }

    .hk-contact__box {
        flex-direction: column;
        text-align: center;
                padding: 2rem 0;
                gap: 0.5rem;
    }

    .hk-contact__box-icon {
        margin: 0 auto;
    }

    .hk-contact__box-info {
        margin: 15px 0;
    }

    .hk-contact__box-action {
        width: 100%;
        text-align: center;
        margin-top: 0;
    }

    .hk-contact__tel {
        font-size: 1.25rem;
    }

    .hk-contact__btn {
        width: 100%;
        max-width: 280px;
    }
}







@charset "UTF-8";

/* ==========================================================================
   お問い合わせページ専用スタイル
   - フォントサイズは必ずrem単位で指定（文字サイズ変更機能対応）
   - 基準：16px = 1rem
========================================================================== */

/* =========================
   お問い合わせ方法コンテンツ
========================= */


.contact {
    background: linear-gradient(to bottom, #fff 0%, #fff 100%);
}



.contact-methods {
  background: #fff;
  padding: 4rem 1.25rem;
}

.contact-methods__inner {
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
}

.contact-methods__title {
  text-align: center;
  font-size: 2rem; /* 32px */
  font-weight: 700;
  color: #2f5d1e;
  margin-bottom: 0.5rem;
}

.contact-methods__title .title-accent {
  color: #e87c3e; /* オレンジ色 */
}

.contact-methods__subtitle {
  text-align: center;
  font-size: 0.875rem; /* 14px */
  color: #666;
  margin-bottom: 3rem;
}

.contact-methods__boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 62.5rem; /* 1000px */
  margin: 0 auto;
}

/* 個別ボックス */
.contact-box {
  background: #fff;
  border-radius: 1.25rem; /* 20px */
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.08);
  border: 0.125rem solid #e5e5e5; /* 2px */
  text-align: center;
}

/* アイコン（画像を枠線の上に配置） */
.contact-box__icon {
    /*flex: 0 0 70px; */
    width: 70px;
    /* margin: 0 auto 1rem; */
    position: absolute;
    top: -7%;
    left: 41%;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #367232 0%, /* 少し暗い緑（上） */ #6cb164 50%, /* 元の色 */ #8fcd8a 100% /* 薄い緑（下） */);
}

.contact-box__icon img {
    width: 55%;
    height: auto;
    object-fit: contain;
}

.contact-box__title {
text-align: center;
    font-size: 1.25rem;
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    font-weight: 700;
    color: #2f5d1e;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.contact-box__hours,
.contact-box__status {
    text-align: center;
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    color: #666;
    padding: 0.4em 2rem;
    background-color: #fbf1e3;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.contact-box__tel {
 text-align: center;
    font-size: clamp(1.3rem, 1.7vw, 1.7rem);
    font-weight: 700;
    color: #2f5d1e;
    margin: 0 0 1rem;
    letter-spacing: 0.05em;
}

.contact-box__note {
text-align: center;
font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    color: #333;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.contact-box__features {
display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-box__features li {
    position: relative;
    padding-left: 2em;
    display: inline-flex;
    align-items: center;
    font-size: clamp(0.6rem, 1.4vw, 0.8rem);
    color: #619440;
}

.contact-box__features li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1.5em;
    height: 1.5em;
    background-image: url("./assets/images/icon-form_check.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ボタン共通 */
.contact-box__button {
  display: block;
  text-align: center;
  padding: 0.875rem 2rem; /* 14px 32px */
  border-radius: 624.9375rem; /* 9999px */
  font-size: 1rem; /* 16px */
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

/* アウトラインボタン（電話） */
.contact-box__button--outline {
  background: #fff;
  color: #5a8f3e;
  border: 2px solid #6b9b6f;
    box-shadow: 0 3px 1px rgb(123 189 105), 0 -1px 1px rgb(123 189 105);
}

.contact-box__button--outline:hover {
  background: #5a8f3e;
  color: #fff;
}

/* 塗りつぶしボタン（フォーム） */
.contact-box__button--filled {
  background: linear-gradient(to bottom, #79aa63, #274711);
  color: #fff;
  border: none;
}

.contact-box__button--filled:hover {
  opacity: 0.9;
  transform: translateY(-0.125rem); /* 2px */
}

/* ========================================
   レスポンシブ対応 - SP版(767px以下)
======================================== */

@media screen and (max-width: 767px) {

.contact-box__title {
    font-size: clamp(1.2rem, 1.1vw, 1.3rem);
    margin-top: 2rem;
}
.contact-box__hours, .contact-box__status ,.contact-box__note,.contact-box__features li {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
}










}


/* =========================
   お問い合わせフォームセクション
========================= */
.contact-form-section {
      padding: clamp(4rem, 10vw, 7rem) 0;
    position: relative;
    overflow: visible;
background: linear-gradient(to right, #fff9ef 0%, /* 左上 */ #fffdf3 100% /* 右上 */), linear-gradient(to right, #fff9ef 0%, /* 左下 */ #fffcf2 100% /* 右下 */);
    background-size: 100% 50%, 100% 50%;
    background-position: top, bottom;
    background-repeat: no-repeat;
}


.contact-form-section::before {
    content: '';
    position: absolute;
    top: -1%;
    left: 0;
    width: 100%;
    height: 3%;
    background-image: url(./assets/images/home-care-bg_ue.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}






.contact-form-section__inner {
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
}

.contact-form-section__title {
  text-align: center;
  font-size: 2rem; /* 32px */
  font-weight: 700;
  color: #2f5d1e;
  margin-bottom: 0.5rem;
}

.contact-form-section__title .title-accent {
  color: #e87c3e;
}

.contact-form-section__subtitle {
  text-align: center;
  font-size: 0.875rem; /* 14px */
  color: #666;
  margin-bottom: 3rem;
}

/* =========================
   フォームラッパー（白い背景ボックス）
========================= */
.contact-form-wrap {
  background: #fff;
  max-width: 47.5rem; /* 760px */
  margin: 0 auto 2rem;
  padding: 3rem 3.5rem; /* 48px 56px */
  border-radius: 1.25rem; /* 20px */
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.08);
}

/* =========================
   フォーム行（2カラムレイアウト）
========================= */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem; /* 24px */
  margin-bottom: 1.5rem;
}

/* フォームグループ */
.form-group {
  margin-bottom: 0;
}

.form-row .form-group {
  margin-bottom: 0;
}

/* ラベル */
.contact-form-wrap label {
  display: block;
  font-weight: 600;
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
  margin-bottom: 0.5rem;
      color: #434343;
}

.contact-form-wrap .form-label{
  display: block;
  font-weight: 600;
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
  margin-bottom: 0.5rem;
      color: #434343;
}



/* 必須マーク */
.required {
  color: #ff0700;
  margin-left: 0.25rem;
  font-size: 0.875rem; /* 14px */
}

/* 入力欄共通 */
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea {
  width: 100%;
  padding: 0.875rem 1rem; /* 14px 16px */
  border-radius: 0.5rem; /* 8px */
      border: 0.0625rem solid #454545;
  font-size: 0.9375rem; /* 15px */
  background: #fff;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.contact-form-wrap textarea {
  min-height: 10rem; /* 160px */
  resize: vertical;
  line-height: 1.6;
}

/* フォーカス時 */
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: #5a8f3e;
}

/* =========================
   チェックボックス（お問い合わせ種別）
========================= */
.form-group--checkbox {
  margin-bottom: 1.5rem;
}

.checkbox-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* Contact Form 7のデフォルトスタイルをリセット */
.checkbox-wrapper .wpcf7-list-item {
  margin: 0;
  display: inline-flex;
  align-items: center;
      margin: 0 1.1em 0 0;
}

.checkbox-wrapper .wpcf7-list-item-label {
  display: inline-flex;
  align-items: center;
  font-weight: 400;
  font-size: clamp(0.7rem, 1.4vw, 0.8rem);
  color: #333;
  margin: 0;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
  margin-right: 0.375rem;
  width: 1.125rem; /* 18px */
  height: 1.125rem;
  cursor: pointer;
  accent-color: #5a8f3e;
}



/* ========================================
   レスポンシブ対応 - SP版(767px以下)
======================================== */

@media screen and (max-width: 767px) {

.contact-form-wrap .form-label{
    font-size: clamp(1.2rem, 1.1vw, 1.3rem);
    margin-top: 2rem;
}

.contact-form-wrap label{
    font-size: clamp(1.2rem, 1.1vw, 1.3rem);
}

.checkbox-wrapper .wpcf7-list-item-label {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
}










}




/* =========================
   個人情報の取り扱い
========================= */
.form-privacy {
        padding: 0;
    text-align: center;
    border-radius: 0.5rem;
}

.privacy-text {
 font-size: clamp(0.7rem, 1.4vw, 0.9rem);
  color: #666;
  line-height: 1.6;
      margin-bottom: 0;
}

.privacy-text a {
  color: #5a8f3e;
  text-decoration: underline;
}

.privacy-text a:hover {
  color: #4f7f33;
}

.contact-form-wrap label.privacy-checkbox {
    display: flex;
    align-items: center;
    font-weight: 400 !important;
    font-size: clamp(0.7rem, 1.4vw, 0.9rem);
    color: #757575 !important;
    margin: 0.8rem 0 0;
    cursor: pointer;
    justify-content: center;
}

.privacy-checkbox .wpcf7-form-control-wrap {
    top: 0.2rem;
}


.privacy-checkbox input[type="checkbox"] {
  margin-right: 0.5rem;
  width: 1.25rem; /* 20px */
  height: 1.25rem;
  cursor: pointer;
  accent-color: #5a8f3e;
}

/* =========================
   送信ボタン
========================= */
.form-submit {
  text-align: center;
  margin-top: 2rem;
}

/* 確認画面：お問い合わせ種別（checkbox）の見出し修正 */
.wpcf7-confirm th p {
  position: relative;
}

/* 左列が checkbox の選択肢だった場合に隠す */
.wpcf7-confirm th p:where(
  :contains("施設入居について"),
  :contains("訪問介護について"),
  :contains("見学予約"),
  :contains("料金について"),
  :contains("その他")
) {
  color: transparent;
}

/* 見出しを差し替え */
.wpcf7-confirm th p:where(
  :contains("施設入居について"),
  :contains("訪問介護について"),
  :contains("見学予約"),
  :contains("料金について"),
  :contains("その他")
)::before {
  content: "お問い合わせ種別";
  color: #333;
  position: absolute;
  left: 0;
  top: 0;
}


.contact-form-wrap input[type="submit"] {
  display: inline-block;
 padding: 1.175rem 6rem;
  border-radius: 624.9375rem; /* 9999px */
  border: none;
 background: linear-gradient(to bottom, #79aa63, #274711);
  color: #fff!important;
  font-size: 1rem; /* 16px */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form-wrap input[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-0.125rem); /* 2px */
}

/* Contact Form 7のエラーメッセージ */
.contact-form-wrap .wpcf7-not-valid-tip {
  font-size: 0.8125rem; /* 13px */
  color: #d9534f;
  margin-top: 0.25rem;
  display: block;
}

.contact-form-wrap .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem;
  border-radius: 0.5rem; /* 8px */
  font-size: 0.875rem; /* 14px */
}

.contact-form-wrap .wpcf7-validation-errors {
  border: 0.125rem solid #d9534f; /* 2px */
  background: #ffe6e6;
  color: #d9534f;
}

.contact-form-wrap .wpcf7-mail-sent-ok {
  border: 0.125rem solid #5a8f3e; /* 2px */
  background: #e6f4e6;
  color: #5a8f3e;
}

/* =========================
   フォーム下の注意書き
========================= */
.contact-form-notice {
  text-align: center;
  font-size: 0.875rem; /* 14px */
  color: #666;
  line-height: 1.6;
  max-width: 47.5rem; /* 760px */
  margin: 0 auto 2rem;
}

/* 区切り線 */
.contact-form-divider {
  width: 100%;
  height: 0.0625rem; /* 1px */
  background: #ccc;
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
}

/* =========================
   レスポンシブ対応
========================= */

/* タブレット */
@media (max-width: 68.75rem) { /* 1100px */
  .contact-methods__boxes {
    gap: 1.5rem;
  }
  
  .contact-box {
    padding: 2rem 1.5rem;
  }
  
  .contact-form-wrap {
    padding: 2.5rem 2rem;
  }
}

/* スマホ */
@media (max-width: 48rem) { /* 768px */
  .contact-methods {
    padding: 3rem 1rem;
  }
  
  .contact-methods__title,
  .contact-form-section__title {
    font-size: 1.5rem; /* 24px */
  }
  
  .contact-methods__boxes {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-box {
    padding: 2rem 1.25rem;
  }
  
  .contact-box__tel {
    font-size: 1.25rem; /* 20px */
  }
  
  .contact-form-section {
    padding: 3rem 1rem;
  }
  
  .contact-form-wrap {
    padding: 2rem 1.25rem; /* 32px 20px */
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .checkbox-wrapper {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .contact-form-wrap input[type="submit"] {
    width: 100%;
    padding: 1rem;
  }
}

/* =========================
   Contact Form 7 スピナー（ローディング）を非表示
========================= */
.contact-form-wrap .wpcf7-spinner {
  display: none !important;
}

/* ボタンを中央配置に修正 */
.form-submit p {
  margin: 0;
  display: flex;
  justify-content: center;
}

.checkbox-wrapper input[type="checkbox"] {
    margin-right: 0.375rem;
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: #5a8f3e;
}


@supports (-webkit-appearance: none) or (-moz-appearance: none) {

  input[type=checkbox],
  input[type=radio] {
    background: #fff!important; /* 未チェック時 */
  }

  input[type=checkbox]:checked,
  input[type=radio]:checked {
    background: #0e5a00!important; /* チェック時 */
  }
}



@supports (-webkit-appearance: none) or (-moz-appearance: none) {

  input[type=checkbox] {
    background: #fff;
    border: 3px solid var(--form--color-text);
    position: relative;
  }


  input[type=checkbox]:checked {
    background: #0e5a00;
    border-color: #0e5a00; /* 枠と背景を同色にする */
  }

  input[type=checkbox]:checked::after {
    content: "";
        opacity: 1;
        position: absolute;
        left: 3px;
        top: -2px;
        width: 7px;
        height: 13px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        border-top: 0;
        border-left: 0;
        transform: rotate(45deg);
        box-sizing: content-box;
  }
}

/* CF7 チェックボックスの縦ズレ修正 */
.wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}





/* =========================
   個人情報の取り扱いセクション
========================= */
.privacy-policy-section {
    padding: 4rem 1.25rem;
    background: linear-gradient(to bottom, /* 上：左右で色違い */ rgb(255 255 255) 0%, rgb(255 249 239) 0%, /* 上→下に自然に白へ */ #fffef8 45%, #ffffff 65%, #ffffff 100%);
}

.privacy-policy-section__inner {
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
}

.privacy-policy-section__title {
  text-align: center;
  font-size: 2rem; /* 32px */
  font-weight: 700;
  color: #2f5d1e;
  margin-bottom: 2.5rem;
}

.privacy-policy-section__title .title-accent {
  color: #e87c3e; /* オレンジ色 */
}

/* 個人情報の白いボックス */
.privacy-policy-box {
  background: #fff;
  max-width: 50rem; /* 800px */
  margin: 0 auto;
  padding: 2.5rem 3rem;
  border-radius: 1.25rem; /* 20px */
  box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.08);
}

.privacy-policy-box__heading {
font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  color: #2f5d1e;
  margin-bottom: 1rem;
}

.privacy-policy-box__text {
    font-size: clamp(0.7rem, 1.4vw, 0.8rem);
  color: #333;
  line-height: 1.8;
margin-bottom: 0;
}

.privacy-policy-box__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.privacy-policy-box__list li {
  position: relative;
  padding-left: 1.5rem;
font-size: clamp(0.7rem, 1.4vw, 0.8rem);
    color: #333;
    line-height: 1.8;
    margin-bottom: 0;
}

.privacy-policy-box__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #2f5d1e;
  font-weight: 700;
}

/* 区切り線 */
.privacy-policy-box__divider {
  width: 100%;
  height: 0.0625rem; /* 1px */
  background: #e5e5e5;
margin: 1rem 0;
}

/* =========================
   その他の連絡方法セクション
========================= */
/*.other-contact-section {
  background-image: url('./assets/images/bg-facility-tour.png');
  background-color: #fef5f5; 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 1.25rem;
}*/


.other-contact-section {
      padding: clamp(4rem, 10vw, 7rem) 0;
    position: relative;
    overflow: visible;
    background: linear-gradient(to right, #fff9ef 0%, /* 左上 */ #fffdf3 100% /* 右上 */), linear-gradient(to right, #fff7ec 0%, /* 左下 */ #fffbf1 100% /* 右下 */);
    background-size: 100% 50%, 100% 50%;
    background-position: top, bottom;
    background-repeat: no-repeat;
}


.other-contact-section::before {
    content: '';
    position: absolute;
    top: -2%;
    left: 0;
    width: 100%;
    height: 6%;
    background-image: url(./assets/images/home-care-bg_ue.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.other-contact-section::after {
    content: '';
    position: absolute;
    bottom: -4%;
    left: 0;
    width: 100%;
    height: 6%;
    background-image: url(./assets/images/home-care-bg-shita.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}






.other-contact-section__inner {
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
}

.other-contact-section__title {
  text-align: center;
  font-size: 2rem; /* 32px */
  font-weight: 700;
  color: #2f5d1e;
  margin-bottom: 0.5rem;
}

.other-contact-section__title .title-accent {
  color: #e87c3e; /* オレンジ色 */
}

.other-contact-section__subtitle {
  text-align: center;
  font-size: 0.875rem; /* 14px */
  color: #666;
  margin-bottom: 2.5rem;
}

/* SNS連絡ボックス */
.sns-contact-box {
  background: #fff;
    max-width: 56.25rem;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    border-radius: 1.25rem;
    border: 0.65rem solid transparent;
    background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #e4e0ff 0%, #ffbfdf 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

/* 左側：テキストコンテンツ */
.sns-contact-box__content {
  padding-right: 1rem;
}

.sns-contact-box__heading {
  font-size: 1.375rem; /* 22px */
  font-weight: 700;
  color: #2f5d1e;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sns-contact-box__text {
  font-size: 0.9375rem; /* 15px */
  color: #333;
  line-height: 1.8;
}

/* 右側：Instagram画像 */
.sns-contact-box__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.sns-image-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 0.75rem; /* 12px */
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.sns-image-item:hover {
  transform: translateY(-0.25rem);
}

.sns-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   レスポンシブ対応（追加セクション）
========================= */

/* タブレット */
@media (max-width: 68.75rem) { /* 1100px */
  .privacy-policy-box {
    padding: 2rem 2rem;
  }
  
  .sns-contact-box {
    padding: 2rem 2rem;
    gap: 2rem;
  }
}

/* スマホ */
@media (max-width: 48rem) { /* 768px */
  .privacy-policy-section,
  .other-contact-section {
    padding: 3rem 1rem;
  }
  
  .privacy-policy-section__title,
  .other-contact-section__title {
    font-size: 1.5rem; /* 24px */
  }
  
  .privacy-policy-box {
    padding: 1.5rem 1.25rem;
  }
  
  .privacy-policy-box__heading {
    font-size: 1.125rem; /* 18px */
  }
  
  .sns-contact-box {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    gap: 1.5rem;
  }
  
  .sns-contact-box__content {
    padding-right: 0;
  }
  
  .sns-contact-box__heading {
    font-size: 1.125rem; /* 18px */
  }
  
  .sns-contact-box__images {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}


/* =========================
   施設情報セクション
========================= */
.facility-info-section {
  background: #fff;
  padding: 4rem 1.25rem;
}

.facility-info-section__inner {
  max-width: 75rem; /* 1200px */
  margin: 0 auto;
}

.facility-info-section__title {
  text-align: center;
  font-size: 2rem; /* 32px */
  font-weight: 700;
  color: #2f5d1e;
  margin-bottom: 0.5rem;
}

.facility-info-section__title .title-accent {
  color: #e87c3e; /* オレンジ色 */
}

.facility-info-section__subtitle {
  text-align: center;
  font-size: 0.875rem; /* 14px */
  color: #666;
  margin-bottom: 3rem;
}

/* 施設情報コンテンツ（2カラムレイアウト） */
.facility-info-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 68.75rem; /* 1100px */
  margin: 0 auto;
}

/* 左側：Google Map */
.facility-info-map {
  width: 100%;
  height: 31.25rem; /* 500px */
  border-radius: 1rem; /* 16px */
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.facility-info-map iframe {
  display: block;
}

/* 右側：施設情報リスト */
.facility-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 施設情報項目 */
.facility-info-item {
    display: flex;
    align-items: flex-start;
    padding: 0.7rem 0;
    border-bottom: 0.0625rem solid #6c6969;
}

.facility-info-item:last-child {
  border-bottom: none;
}

/* アイコン */
.facility-info-item__icon {
  flex-shrink: 0;
    width: 1.8rem;
    height: 1.8rem;
  margin-right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
      background: linear-gradient(to bottom, #79aa63, #274711);
  border-radius: 50%;
}

.facility-info-item__icon img {
    width: 0.8rem;
    filter: brightness(0) invert(1);
  height: auto;
  object-fit: contain;
}

/* コンテンツ */
.facility-info-item__content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.facility-info-item__label {
    font-size: clamp(0.8rem, 1.4vw, 0.9rem);
  font-weight: 600;
  color: #585757;
  flex-shrink: 0;
  min-width: 5rem; /* 80px - ラベルの最小幅 */
}

.facility-info-item__value {
      font-size: clamp(0.7rem, 1.4vw, 0.8rem);
  color: #333;
  line-height: 1.7;
  flex: 1;
}

.facility-info-item__note {
  font-size: 0.8125rem; /* 13px */
  color: #666;
}

/* =========================
   レスポンシブ対応（施設情報）
========================= */

/* タブレット */
@media (max-width: 68.75rem) { /* 1100px */
  .facility-info-content {
    gap: 2.5rem;
  }
  
  .facility-info-map {
    height: 25rem; /* 400px */
  }
}

/* スマホ */
@media (max-width: 48rem) { /* 768px */
  .facility-info-section {
    padding: 3rem 1rem;
  }
  
  .facility-info-section__title {
    font-size: 1.5rem; /* 24px */
  }
  
  .facility-info-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .facility-info-map {
    height: 18.75rem; /* 300px */
  }
  
  .facility-info-item {
    padding: 1rem 0;
  }
  
  .facility-info-item__icon {
    width: 2rem; /* 32px */
    height: 2rem;
    margin-right: 0.875rem;
  }
  
  .facility-info-item__icon img {
    width: 1.25rem; /* 20px */
    height: 1.25rem;
  }
  
  .facility-info-item__label {
    font-size: 0.8125rem; /* 13px */
  }
  
  .facility-info-item__value {
    font-size: 0.875rem; /* 14px */
  }
}






/* ========================================
   人と人、地域との繋がりを大切に
========================================= */

.company {
    background-color: #fff;
}
.company-connection {
    position: relative;
    margin-bottom: 0;
}

/* 背景画像エリア */
.company-connection__bg-area {
    position: relative;
    background-image: url('./assets/images/overview_concept-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0 0; /* 80px 0 0 */
    padding-bottom: 16.75rem;
}

/* 背景画像の上にオーバーレイ */
.company-connection__bg-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

/* 山型境界線（PC版） */
.company-connection__bg-area::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 10.75rem;
        background: #fffdf2;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
    z-index: 1;
}

.company-connection__inner {
    max-width: 875px;
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
    position: relative;
    z-index: 2;
}

/* 見出しエリア */
.company-connection__header {
    text-align: left;
    padding-bottom: 1.75rem; /* 60px */
}

.company-connection__title {
    font-size: 2rem; /* 32px */
    font-weight: bold;
    color: #333;
    margin-bottom: 1.875rem; /* 30px */
    line-height: 1.5;
}

.company-connection__intro {
    margin-bottom: 1.875rem; /* 30px */
}

.company-connection__intro p {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    color: #333;
    line-height: 1.5;
}

.company-connection__description {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    color: #333;
    line-height: 1.5;
    margin-bottom: 1.25rem; /* 20px */
}

.text-highlight {
    color: #E67E22;
    font-weight: bold;
}

/* アイコン3つ横並び - 山型の上に配置（PC版） */
.company-connection__icons {
    position: absolute;
    top: 31rem;
    bottom: 5rem; /* 80px */
    left: 0;
    right: 0;
    z-index: 3;
}

.company-connection__icons-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 5.5rem;
    max-width: 50.25rem;
    margin: 0 auto;
}

.company-connection__icon-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 円形アイコン背景 */
.company-connection__icon-circle {
    width: 12.375rem;
    height: 12.375rem;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.875rem; /* 30px */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 1.875rem; /* 30px */
}

.company-connection__icon-circle:hover {
    transform: translateY(-0.3125rem); /* -5px */
    box-shadow: 0 0.375rem 1.875rem rgba(0, 0, 0, 0.15);
}

/* アイコン画像 */
.company-connection__icon-circle img {
    width: 100%;
    height: auto;
    max-width: 6rem;
}

.company-connection__icon-title {
    font-size: 1.25rem; /* 20px */
    font-weight: bold;
    color: #333;
    margin-bottom: 0.9375rem; /* 15px */
    line-height: 1.4;
}

.company-connection__icon-text {
    font-size: 0.875rem; /* 14px */
    color: #666;
    line-height: 1.6;
}

/* 白背景エリア */
.company-connection__white-area {
   background: #fffdf2;
    padding: 5rem 0; /* 80px 0 */
    position: relative;
    z-index: 2;
}


/* ========================================
   レスポンシブ対応（SP版）
========================================= */

@media screen and (max-width: 768px) {
    /* 背景エリア：テキストコンテンツ + 山型境界線 */
    .company-connection__bg-area {
               padding: 0;
               background-image: url(./assets/images/overview_concept-bg_sp.jpg);
    }


    
    /* PC版の山型境界線を非表示 */
    .company-connection__bg-area::after {
        display: none;
    }
    
    .company-connection__title {
        font-size: 1.5rem; /* 24px */
    }
    
    .company-connection__intro p,
    .company-connection__description {
        font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    }
    
    /* アイコンエリア：背景画像を継承 */
    .company-connection__icons {
        position: relative;
        top: auto;
        bottom: auto;
    }
    
    /* アイコンエリアにオーバーレイを追加 */
    .company-connection__icons::before {
        content: '';
        position: absolute;
        top: -1rem;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 0;
 background: linear-gradient(to bottom, rgb(255 255 255 / 0%) 0%, rgb(255 253 242 / 20%) calc(3.75rem + 9rem), /* テキストエリア + アイコンエリア上部 */ rgb(255 253 243) calc(3.75rem + 15.25rem), /* 山型の下 */ rgb(255 253 242) 100%);
    }
     
    /* アイコンエリアに山型境界線を追加（1つ目のアイコンと重なる位置） */
    .company-connection__icons::after {
        content: '';
        position: absolute;
        top: 11rem;
        left: 0;
        right: 0;
        height: 7.25rem;
                background: #fffdf3;
        clip-path: polygon(0 100%, 50% 0, 100% 100%);
        z-index: 1;
    }
    
    .company-connection__icons-wrapper {
        flex-direction: column;
        gap: 3.125rem; /* 50px */
        align-items: center;
        padding: 6.25rem 1.25rem 3.125rem; /* 上部に山型分のスペース確保 */
        position: relative;
        z-index: 2;
    }
    
    .company-connection__icon-item {
        max-width: 18.75rem; /* 300px */
    }
    
    .company-connection__icon-circle {
        width: 7.5rem; /* 120px */
        height: 7.5rem; /* 120px */
        padding: 1.25rem; /* 20px */
    }
    
    .company-connection__icon-circle img {
        max-width: 4rem; /* 64px */
    }
    
    /* 白背景エリア */
    .company-connection__white-area {
        padding: 3.125rem 0; /* 50px 0 */
    }

    

}




/* ========================================
   代表からのメッセージ
========================================= */
.company-message {
    background: linear-gradient(to bottom, #fff 0%, #FFF5F5 100%);
    padding: 5rem 0; /* 80px 0 */
}

.company-message__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
}

.company-message__title {
    font-size: 2rem; /* 32px */
    font-weight: bold;
    color: #6B8E6F;
    text-align: center;
    margin-bottom: 3.75rem; /* 60px */
    line-height: 1.5;
}

.company-message__title-highlight {
    color: #E67E22;
}

.company-message__content {
    display: flex;
    gap: 3.75rem; /* 60px */
    align-items: flex-start;
}

/* 代表画像 */
.company-message__image {
    flex-shrink: 0;
    width: 18.75rem; /* 300px */
}

.company-message__image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem; /* 8px */
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1); /* 0 4px 20px */
}

/* メッセージテキスト */
.company-message__text {
    flex: 1;
}

.company-message__paragraph {
    font-size: 0.9375rem; /* 15px */
    color: #333;
    line-height: 1.9;
    margin-bottom: 1.5625rem; /* 25px */
}

.company-message__paragraph:last-of-type {
    margin-bottom: 2.5rem; /* 40px */
}

/* 署名エリア */
.company-message__signature {
    padding-top: 1.875rem; /* 30px */
    border-top: 1px solid #ccc;
}

.company-message__company {
    font-size: 0.875rem; /* 14px */
    color: #666;
    margin-bottom: 0.625rem; /* 10px */
}

.company-message__role {
    font-size: 0.9375rem; /* 15px */
    color: #333;
}

.company-message__name {
    font-size: 1.125rem; /* 18px */
    font-weight: bold;
    margin-left: 0.625rem; /* 10px */
}

/* ========================================
   レスポンシブ対応
========================================= */

/* タブレット（768px以下） */
@media screen and (max-width: 768px) {
 
    /* 代表メッセージ */
    .company-message {
        padding: 3.75rem 0; /* 60px 0 */
    }
    
    .company-message__title {
        font-size: 1.5rem; /* 24px */
        margin-bottom: 2.5rem; /* 40px */
    }
    
    .company-message__content {
        flex-direction: column;
        gap: 2.5rem; /* 40px */
    }
    
    .company-message__image {
        width: 100%;
        max-width: 18.75rem; /* 300px */
        margin: 0 auto;
    }
    
    .company-message__paragraph {
        font-size: 0.875rem; /* 14px */
    }
}

/* スマホ（600px以下） */
@media screen and (max-width: 600px) {
    .company-connection__bg-area {
        padding: 2.5rem 0 0; /* 40px 0 0 */
    }
    
    .company-connection__title {
        font-size: 1.25rem; /* 20px */
        margin-bottom: 1.25rem; /* 20px */
    }
    
    .company-connection__intro {
        margin-bottom: 1.25rem; /* 20px */
    }
    
    .company-connection__description {
        margin-bottom: 0.9375rem; /* 15px */
    }
    
    .company-connection__icons {
        padding: 2.5rem 0; /* 40px 0 */
    }
    
    .company-connection__icons-wrapper {
        gap: 2.5rem; /* 40px */
    }
    
    .company-connection__white-area {
       padding: 0.05rem 0;
    }
    
    .company-message {
        padding: 2.5rem 0; /* 40px 0 */
    }
    
    .company-message__title {
        font-size: 1.25rem; /* 20px */
        margin-bottom: 2rem; /* 32px */
    }
    
    .company-message__content {
        gap: 2rem; /* 32px */
    }
}






/* ========================================
   基本情報
========================================= */
.company-info {
    padding: 5rem 0; /* 80px 0 */
       background: #fffdf2;
    position: relative;
}

.company-info__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
    position: relative;
}


.hk-area__dots img {
    width: 100%;
    height: auto;
}

.company-info__title {
    font-size: 2rem; /* 32px */
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 3.75rem; /* 60px */
    line-height: 1.5;
}

.company-info__title-highlight {
    color: #E67E22;
}

/* テーブル風レイアウト */
.company-info__table {
    max-width: 53.125rem; /* 850px */
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
}

.company-info__row {
    display: flex;
    border-bottom: 1px solid #ccc;
}

.company-info__row:last-child {
    border-bottom: none;
}

/* 左側：見出し（濃い緑背景） */
.company-info__label {
    width: 12.5rem; /* 200px */
    background: #476947;
    color: #fff;
    font-size: 0.9375rem; /* 15px */
    font-weight: bold;
    padding: 0.75rem 1.5625rem; /* 20px 25px */
    display: flex;
    align-items: center;
    border-right: 1px solid #ccc;
    flex-shrink: 0;
}

/* 右側：内容（白背景） */
.company-info__content {
    flex: 1;
    background: #fff;
    color: #333;
    font-size: 0.9375rem; /* 15px */
    padding: 0.75rem 1.5625rem; /* 20px 25px */
    line-height: 1.8;
}

/* ========================================
   沿革
========================================= */
.company-history {
    padding: 5rem 0; /* 80px 0 */
    background-image: url('./assets/images/bg-green2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 背景画像の上にオーバーレイ（緑系） */
.company-history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: #fff;*/
    z-index: 0;
}

.company-history__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
    position: relative;
    z-index: 1;
}

/* 白いドット装飾 */
.hk-area__dots--white {
    top: -2.5rem; /* -40px */
    left: 1.25rem; /* 20px */
}

.company-history__title {
    font-size: 2rem; /* 32px */
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-bottom: 3.75rem; /* 60px */
    line-height: 1.5;
}

/* タイムライン */
.company-history__timeline {
    max-width: 53.125rem; /* 850px */
    margin: 0 auto;
}

.company-history__item {
    display: flex;
    gap: 3.125rem; /* 50px */
    padding: 1.5625rem 0; /* 25px 0 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    align-items: flex-start;
}

.company-history__item:last-child {
    border-bottom: none;
}

.company-history__year {
    font-size: 1.125rem; /* 18px */
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
    min-width: 6.25rem; /* 100px */
}

.company-history__text {
    font-size: 0.9375rem; /* 15px */
    color: #fff;
    line-height: 1.8;
    flex: 1;
}

/* ========================================
   レスポンシブ対応
========================================= */

/* タブレット（768px以下） */
@media screen and (max-width: 768px) {
    .company-info {
               padding: 0;
    }
    
    .company-info__title {
        font-size: 1.5rem; /* 24px */
        margin-bottom: 2.5rem; /* 40px */
    }
    
    /* テーブルを縦並びに */
    .company-info__row {
        flex-direction: column;
    }
    
    .company-info__label {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding: 1rem 1.25rem; /* 16px 20px */
    }
    
    .company-info__content {
        padding: 1rem 1.25rem; /* 16px 20px */
        font-size: 0.875rem; /* 14px */
    }
    
    /* 沿革 */
    .company-history {
        padding: 3.75rem 0; /* 60px 0 */
    }
    
    .company-history__title {
        font-size: 1.5rem; /* 24px */
        margin-bottom: 2.5rem; /* 40px */
    }
    
    .company-history__item {
        flex-direction: column;
        gap: 0.625rem; /* 10px */
        padding: 1.25rem 0; /* 20px 0 */
    }
    
    .company-history__year {
        font-size: 1rem; /* 16px */
        min-width: auto;
    }
    
    .company-history__text {
        font-size: 0.875rem; /* 14px */
    }
}

/* スマホ（600px以下） */
@media screen and (max-width: 600px) {
    .company-info {
        padding: 2.5rem 0; /* 40px 0 */
    }
    
    .company-info__title {
        font-size: 1.25rem; /* 20px */
        margin-bottom: 2rem; /* 32px */
    }
    
    
    .company-history {
        padding: 2.5rem 0; /* 40px 0 */
    }
    
    .company-history__title {
        font-size: 1.25rem; /* 20px */
        margin-bottom: 2rem; /* 32px */
    }
    
    .company-history__item {
        padding: 1rem 0; /* 16px 0 */
    }
}


/* ========================================
   行動指針
========================================= */
.company-principles {
    padding: 5rem 0; /* 80px 0 */
    background-image: url('./assets/images/overview_guidelines-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* 視差効果（オプション） */
    position: relative;
}

/* 背景画像の上にオーバーレイ（薄いベージュ） */
.company-principles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 237, 223, 0.92); /* 薄いベージュの半透明 */
    z-index: 0;
}

.company-principles__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem; /* 20px */
    position: relative;
    z-index: 1;
}

.company-principles__title {
    font-size: 2rem; /* 32px */
    font-weight: bold;
    text-align: center;
    margin-bottom: 3.75rem; /* 60px */
    line-height: 1.5;
}

.company-principles__title-green {
    color: #6B8E6F;
}

.company-principles__title-orange {
    color: #E67E22;
}

/* グリッドレイアウト（3列×2行） */
.company-principles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem; /* 40px */
}

/* 各ボックス */
.company-principles__box {
    background: #fff;
    border-radius: 2.5rem 2.5rem 0.625rem 0.625rem; /* 上の角丸40px、下の角丸10px */
    padding: 3.125rem 1.875rem 1.875rem; /* 50px 30px 30px */
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1); /* 0 4px 20px */
    position: relative;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-principles__box:hover {
    transform: translateY(-0.625rem); /* -10px */
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15); /* 0 8px 32px */
}

/* 数字（ボックスの境界線に被せる） */
.company-principles__number {
    position: absolute;
    top: -1.65rem;
    left: 50%;
    transform: translateX(-50%);
    color: #87b571;
    font-size: 2rem;
    font-weight: bold;
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1); */
}

/* アイコン */
.company-principles__icon {
    width: 6.25rem; /* 100px */
    height: 6.25rem; /* 100px */
    margin: 0 auto 1.5625rem; /* 0 auto 25px */
        background: linear-gradient(to bottom, #7aaa64 0%, #34581d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem; /* 20px */
}

.company-principles__icon img {
    width: 100%;
    height: auto;
    max-width: 3.75rem; /* 60px */
    filter: brightness(0) invert(1); /* 白色に変換（アイコンが白い場合は不要） */
}

/* テキスト */
.company-principles__text {
   font-size: clamp(0.6rem, 1.4vw, 0.9rem);
    color: #333;
    line-height: 1.8;
}

/* ========================================
   レスポンシブ対応
========================================= */

/* タブレット（768px以下） */
@media screen and (max-width: 768px) {
    .company-principles {
        padding: 3.75rem 0; /* 60px 0 */
    }
    
    .company-principles__title {
        font-size: 1.5rem; /* 24px */
        margin-bottom: 2.5rem; /* 40px */
    }
    
    /* 2列に変更 */
    .company-principles__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem; /* 32px */
    }
    
    .company-principles__box {
        padding: 2.5rem 1.5rem 1.5rem; /* 40px 24px 24px */
    }
    
    .company-principles__icon {
      width: 6rem;
        height: 6rem;
        margin-bottom: 1.25rem; /* 20px */
    }
    
    .company-principles__icon img {
        max-width: 4rem;
    }
    
    .company-principles__text {
        font-size: clamp(0.9rem, 1.4vw, 1rem);
        text-align: left;
    }
}

/* スマホ（600px以下） */
@media screen and (max-width: 600px) {
    .company-principles {
        padding: 2.5rem 0; /* 40px 0 */
    }
    
    .company-principles__title {
        font-size: 1.25rem; /* 20px */
        margin-bottom: 2rem; /* 32px */
    }
    
    /* 1列に変更 */
    .company-principles__grid {
        grid-template-columns: 1fr;
        gap: 2rem; /* 32px */
    }
    
    .company-principles__box {
               width: 95%;
        margin: 0 auto;
    }
    
    .company-principles__number {
              font-size: clamp(2.6rem, 1.4vw, 2.8rem);
        width: 2.5rem;
        height: 2.5rem;
        top: -1.4rem;
    }
}




/* ===== Confirm Plus 確認画面 ===== */
#wpcf7cpcnf {
  padding: 3rem 2rem;
  border-radius: 20px;
  z-index: 1!important;
  margin: 0 auto;
}

/* テーブル全体 */
#wpcf7cpcnf table {
  width: 70%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* 行 */
#wpcf7cpcnf tr:not(:last-child) th,
#wpcf7cpcnf tr:not(:last-child) td {
  border-bottom: 1px solid #f0e4e7; /* 薄い線 */
}

/* 見出し */
#wpcf7cpcnf th {
  width: 32%;
  padding: 1.1rem 1.5rem;
  background-color: #fff0f4; /* 見出し側：少し濃いピンク */
  color: #555;
  font-weight: 600;
  text-align: left;
  vertical-align: middle;
}

/* 項目 */
#wpcf7cpcnf td {
  padding: 1.1rem 1.5rem;
  background-color: #ffffff;
  color: #333;
  vertical-align: middle;
}

#wpcf7cpcnf td p {
  margin: 0;
  line-height: 1.6;
}

#wpcf7cpcnf .wpcf7cp-btns {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

#wpcf7cpcnf .wpcf7cp-btns button {
  display: inline-block;
  padding: 1.175rem 6rem;
  border-radius: 624.9375rem;
  border: none;
  background: linear-gradient(to bottom, #79aa63, #274711);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* hover */
#wpcf7cpcnf .wpcf7cp-btns button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#wpcf7cpcnf .wpcf7cp-cfm-edit-btn {
  background: linear-gradient(to bottom, #b8c7ad, #7b8f6d);
}


@media (max-width: 768px) {
  #wpcf7cpcnf table {
    width: 100%;
  }

  #wpcf7cpcnf th,
  #wpcf7cpcnf td {
    padding: 1rem;
    font-size: 0.9rem;
  }

  #wpcf7cpcnf .wpcf7cp-btns button {
    width: 100%;
    padding: 1rem 0;
  }
}


/* 全体ラップ */
.privacy-wrap {
  background-color: #f7f8f6;
}

/* 中央寄せ */
.privacy-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

/* ヘッダー */
.privacy-header {
  text-align: center;
  margin-bottom: 3rem;
}

.privacy-header h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.privacy-lead {
  font-size: 0.95rem;
  color: #666;
}

/* 本文 */
.privacy-content {
  background-color: #fff;
  border-radius: 12px;
  padding: 3rem 2rem;
}

/* 各ブロック */
.privacy-block + .privacy-block {
  margin-top: 2.5rem;
}

.privacy-block h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  padding-left: 0.75rem;
  border-left: 4px solid #7bac65; /* テーマカラーに合わせて変更OK */
}

.privacy-block p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
}

/* SP調整 */
@media (max-width: 768px) {
  .privacy-inner {
    padding: 3rem 1rem;
  }

  .privacy-content {
    padding: 2rem 1.25rem;
  }

  .privacy-header h1 {
    font-size: 1.6rem;
  }
}
