/*
Theme Name: すぷりーむハウスあさひ｜オリジナルテーマ
Theme URI:
Author: 株式会社レコ　梅原
Author URI:
Description:
デザイン担当　谷岡（株式会社モリタ）
トップページは固定ページ＋カスタムHTML、front-page.phpは本文表示のみ。
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supreme-house-asahi
*/

/* =========================
共通パーツ（最小）
========================= */
:root{
  /* layout */
  --container: 1100px;
  --gutter: 20px;
  --radius-sm: 10px;
  --radius-md: 17px;
  --radius-lg: 25px;
  --radius-mx: 30px;
  --radius-xx: 40px;

  /* shadow */
  --shadow-soft: 0 10px 30px rgba(0,0,0,.08);
  --shadow-header: 0 10px 28px rgba(175, 130, 100, 0.22);

  /* colors（サイト固定） */
  --c-text: #382D27;     /* 文字 */
  --c-text-sub:#AC976F;
  --c-brown: #483C34;    /* ブラウン（UI） */
  --c-lightbrown:#81604A;
  --c-bg: #FFFBF0;       /* 背景 */
  --c-accent: #EB6C2E;   /* アクセント（オレンジ） */
  --c-white: #FFFFFF;
  --primary: var(--c-brown);
  --white: var(--c-white);
  --shadow: var(--shadow-soft);
  --text: var(--c-text);
  --muted: rgba(56, 45, 39, .75);

  /* header height */
  --header-h: 115px; /* PC：デフォルト */

  /* fonts */
  --font-base: "Zen Kaku Gothic New",
               "Hiragino Kaku Gothic ProN",
               "Yu Gothic",
               "Meiryo",
               sans-serif;

  --font-brand: "RocknRoll One",
                "Hiragino Maru Gothic ProN",
                "Yu Gothic",
                sans-serif;
}

h1 { font-size: 50px; }

@media screen and (max-width: 700px) {
  h1 { font-size: 30px; }
}

/* =========================================================
   共通パーツ：ドット下線ボタン (.c-btn-dott)
========================================================= */

/* ボタン本体の基本構造 */
.c-btn-dott {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--c-text); /* 文字色は基本テキスト色 */
  position: relative;
  transition: opacity 0.3s ease;
}

/* テキスト部分 */
.c-btn-dott__text {
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* 矢印アイコン（Font Awesome想定） */
.c-btn-dott__icon {
  color: var(--c-accent); /* 矢印はアクセントカラー */
  line-height: 1;
  transition: transform 0.2s ease; /* ホバー時の動き用 */
}

/* 点線下線（radial-gradientで自作） */
.c-btn-dott::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-image: radial-gradient(
    circle,
    var(--c-accent) 1.5px,
    transparent 1.5px
  );
  background-size: 9px 3px;
  background-repeat: repeat-x;
  background-position: left center;
}

/* --- ホバーアクション --- */
@media (hover: hover) {
  .c-btn-dott:hover {
    opacity: 0.7;
  }
  /* ホバー時に矢印を右に動かす */
  .c-btn-dott:hover .c-btn-dott__icon {
    transform: translateX(4px);
  }
}

/* すべてのリンクの色を黒にする例 */
a {
  color: var(--c-text);           /* 文字の色 */
  text-decoration: none;  /* 下線を消したい場合 */
}

.orange{
  color: var(--c-accent);
}


/* =========================================================
   2. サイズ・場所別のバリエーション
========================================================= */

/* A. サイト内の汎用大型ボタン（提示されたH25px相当） */
.p-dott__btn {
  gap: 20px;
  font-size: 23px;
  line-height: 1.2;
  padding-bottom: 10px;
}
.p-dott__btn .c-btn-dott__icon {
  font-size: 20px;
  margin-right: 5px;
}

/* B. 子メニュー内（ナビゲーション）用のサイズ調整 */
.sub-menu a {
  gap: 8px;
  font-size: 16px; /* 子メニューに適したサイズ */
  padding: 10px 6px;
  width: 100%;
  justify-content: space-between; /* 矢印を右端に寄せる場合 */
}

/* =========================================================
  レスポンシブ個別改行
========================================================= */
/* PC版のみ改行 */
@media screen and (max-width: 700px) {
.u-pc-only{
  display: none;
}
}
/* SP版のみ改行 */
@media screen and (min-width: 701px) {
.u-sp-only{
  display: none;
}
}




/* 全体の文字色・書体指定 */
body{
  color: var(--c-text);
  font-family: var(--font-base);
}



.l-container{
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.c-heading{
  font-size: clamp(22px, 2.5vw, 32px);
  margin: 0 0 12px;
}

.c-lead{
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.c-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.c-btn--primary{
  background: var(--primary);
  color: var(--white);
}

.c-btn--ghost{
  background: transparent;
  border-color: rgba(0,0,0,.18);
  color: var(--text);
}

.c-media{
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.c-card{
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.c-card__body{ padding: 16px; }
.c-card__title{ margin: 0 0 8px; font-size: 20px; }
.c-card__text{ margin: 0 0 12px; color: var(--muted); line-height: 1.7; }
.c-card__more{ font-weight: 700; }

.c-link{
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,.25);
}


/* =========================
  p-front-top 背景 + 装飾画像（左/右）
  - 左：p-front-topが画面に入ったら表示（.is-left-in）
  - 右：p-aboutが見え始めたら表示（.is-right-in）
  - 位置は PC/SP で指定、X/Yは変数で微調整
========================= */

.p-front-top{
  background: var(--c-bg);
  padding: 0;
  position: relative;

  /* はみ出しを隠したい場合だけON（外に出したいなら削除） */
  overflow: hidden;

  /* 画像URL（必要なら片方だけ別ファイルに） */
  --deco-left:  url("/wp-content/themes/supreme/_assets/img/common/effect.webp");
  --deco-right: url("/wp-content/themes/supreme/_assets/img/common/effect.webp");

  /* X/Y微調整（ここだけ触ればOK） */
  --left-x: 0px;
  --left-y: 0px;
  --right-x: 0px;
  --right-y: 0px;

  /* フェードイン時のスライド量（好みで） */
  --slide: 40px;
}

/* 擬似要素：共通（初期状態） */
.p-front-top::before,
.p-front-top::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;

  /* 初期状態：透明 */
  opacity: 0;
  /* 動きの滑らかさ */
  transition: opacity 1.2s ease, transform 1.2s ease;
}

/* 左画像：初期位置をさらに左へ飛ばす */
.p-front-top::before {
  top: 500px;
  width: 528px;
  height: 500px;
  left: calc(-1 * (528px - 290px));
  background-image: var(--deco-left);
  /* さらに左へスライドさせておく */
  transform: translateX(calc(-1 * var(--slide)));
}

/* 右画像：初期位置をさらに右へ飛ばす */
.p-front-top::after {
  bottom: 45px;
  width: 552px;
  height: 535px;
  right: calc(-1 * (552px - 350px));
  background-image: var(--deco-right);
  /* さらに右へスライドさせておく */
  transform: translateX(var(--slide));
}

/* 実行状態：左（100px〜） */
.p-front-top.is-animated-left::before {
  opacity: 1;
  transform: translateX(0);
}

/* 実行状態：右（600px〜） */
.p-front-top.is-animated-right::after {
  opacity: 1;
  transform: translateX(0);
}

/* 中身を前面に（重要） */
.p-front-top > *{
  position: relative;
  z-index: 1;
}



/* =========================
  SP（〜767px）
  ※サイズ・配置はあなたの値を採用
========================= */
@media (max-width: 700px){
  .p-front-top::before{
    top: 440px;
    height: 270px;
    width: 270px; /* ←要素幅（仮）。画像の比率に合わせて調整 */
    left: calc(-1 * (270px - 185px)); /* 270-185=85px */
  }

  .p-front-top::after{
    bottom: 70px;
    height: 275px;
    width: 275px; /* ←要素幅（仮） */
    right: calc(-1 * (275px - 140px)); /* 275-140=135px */
  }
}




/* =========================
FV（ファーストビュー）
========================= */



/* -------------------------
PC-写真
------------------------- */

/* FV全体を3分割→右2/3を画像 */
.p-fv__inner{
  position: relative; 
  width: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 2fr; /* 左1/3：コピー用エリア、右2/3：画像 */
  gap: 0;
  align-items: stretch;
}

/* 画像は指定サイズにフィット（トリミング） */
.p-fv__img{
  width: 100%;
  height: 700px;      /* 画像H幅指定 */
  display: block;
  object-fit: cover;
  object-position: 50% 50%; 
	/* 位置微調整はここ↑
もっと右を見せたい → 70% 50%
もっと上を見せたい → 50% 30%
左上寄せ → 20% 20% */
  border-radius: 0;
  box-shadow: none;
}



/* 画像高さ */
.p-fv__media{
  height: 700px;
  min-height: 700px;
  overflow: hidden;   /* はみ出しを隠す */

  position: relative;
}

.p-fv__media::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(254,252,249,0.18); /* ← 明るさ調整 */
  pointer-events: none;
}


/* -------------------------
PC-キャッチコピーの配置
------------------------- */

.p-fv__copy{
  /* 中央寄せ */
  padding: 0;
  margin: 0;

  /* X：キャッチコピーカラム内の中央 */
  justify-self: center;

  /* Y：右画像の高さ中央に揃える：
     グリッドの縦方向を中央にする */
  align-self: center;

  /* 念のため最大幅（縦書きなので狭めでもOK） */
  max-width: 900px;
}

/* PC：キャッチコピーを少し下げる */
@media (min-width: 901px){
  .p-fv__copy{
    margin-top: 40px; /* ← まずは20px */
  }
}

/* -------------------------
PC-キャッチコピーの段組
------------------------- */


/* 3列の並びは flex で作る（縦書きは各列へ） */
.p-fv__catch{
  display: flex;
  flex-wrap: nowrap;
  gap: 0.8em;              /* 行間＝0.8文字分 */
  margin: 0;
  color: var(--c-brown);
  font-weight: 700;
}

/* 各列（1行分）を縦書きにする */
.p-fv__line{
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
	font-size: 35px;/* 文字サイズ */
  line-height: 1.35;
  letter-spacing: 0.08em;
}

/* 階段：2列目・3列目の文頭を下げる（追加ズレ） */
.p-fv__line--2{
  padding-top: 1em;
}

.p-fv__line--3{
  padding-top: 4.5em;
}

/* 強調色（安心） */
.p-fv__catch .is-accent{
  color: #EB6C2E;
}

/* -------------------------
SP-写真
------------------------- */

@media (max-width: 700px){
	
/* 画像は横幅いっぱい0 */
  .p-fv__inner{
    grid-template-columns: 1fr;
  }
	
  /* 画像ラッパー：余白を完全に排除、高さは410px */
  .p-fv__media{
    height: 410px;
    min-height: 410px;
    max-height: 410px;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
  }

  /* 画像の上にグラデーションを重ねる */
  .p-fv__media::after {
    content: "";
    position: absolute;
    inset: 0; /* 上下左右 0 */
    /* linear-gradient(方向, 開始色 停止位置, 終了色 停止位置)
       左端（0%）から中央（50%）にかけて透明にする
    */
    background: linear-gradient(
      to right, 
      rgba(255, 251, 240, 0.8) 0%, 
      rgba(255, 251, 240, 0) 50%
    );
    pointer-events: none; /* 下にある画像のクリック（保存等）を邪魔しない */
    z-index: 1;
  }

  /* img自体も厳密に410px */
  .p-fv__img{
    height: 410px;
    min-height: 410px;
    max-height: 410px;
    display: block;
	object-position: 20% 100%;
	  /* SP用の位置微調整はここ↑
現状左下寄せ */
width: 100%;
    height: auto;
    display: block;
  }

  /* 会社概要などで設定した l-container の影響をFVだけ無視させる */
  .p-fv .l-container {
    width: 100vw;
    max-width: none;
    padding: 0;
  }
}

/* -------------------------
SP-キャッチコピー
------------------------- */

/* --- コピーは画像の上に重ねる --- */
@media (max-width: 700px){
  .p-fv{
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  /* SPは“画像の上に重ねる”ので、画像エリアを基準にする */
  .p-fv__media{
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .p-fv__copy{
    position: absolute;
    z-index: 10;           /* Z軸：手前 */

    /* Y：画像上辺から25px下 */
    top: 25px;

    /* X：画面左半分の中央
       → 左端から25%の位置に置いて、要素の幅の半分だけ戻す */
    left: 25%;
    transform: translateX(-50%);

    /* SPでは横幅を持たせて読みやすく（必要なら調整） */
    max-width: 900px;

    /* 文字が写真に埋もれる場合の保険（背景なし） */
    padding: 0;
  }

  /* SPではコピーの下に画像が続くので、コピー分の余白を確保したい時の保険（任意）
     → もしコピーが画像にかぶりすぎるならコメントアウト解除
  */
  /*
  .p-fv__media{
    padding-top: 180px;
  }
  */
}

/* -------------------------
SP-キャッチコピーの段組（大枠はPC版で指定）
------------------------- */

/* SPも縦書き維持：サイズだけ調整 */
@media (max-width: 700px){
  .p-fv__catch{
    gap: 0.5em;
  }
  .p-fv__line{
	font-size: 23px;/* 文字サイズ */
    letter-spacing: 0.06em;
  }
  .p-fv__line--2{ padding-top: 1em; }
  .p-fv__line--3{ padding-top: 4.5em; }
}




/* =========================
PC：ヘッダー
========================= */


/* -------------------------
PC-基盤
-FVで透明→スクロールで背景＆影
------------------------- */

/* 基本：上部固定＆最前面 */
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 9999; /* Z軸一番上 */
  display: flex;
  align-items: stretch;

  /* ふわっと変化 */
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
  background: transparent;
  box-shadow: none;
}

/* ヘッダーの中身の横幅・余白（必要に応じて） */
.site-header__inner{
  width: 100%;          /* ← 1480px制限をやめる */
  margin: 0;            /* ← 中央寄せをやめる */
  height: 100%;
  padding: 0;           /* ← 左45pxは header-home で取るのでここは0でOK */
  display: flex;
  align-items: center;
  justify-content: flex-end; /* navを右へ（leftはabsoluteなので影響なし） */
  position: relative;   /* header-home absolute の基準 */
}

/* ナビが画像の上に重なるので、文字が読みやすいように（任意） */
.site-header a{
  color: var(--c-text);
  text-decoration: none;
}


/* =========================================
  ヘッダー：トップページ以外は常に背景あり
  - front-page のみ「透明→スクロールで背景」
  - それ以外は最初から背景＋影
========================================= */

/* トップページ以外（= body に .home や .front-page が付かないページ） */
body:not(.home):not(.front-page) .site-header{
  background: var(--c-bg);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-header);
}

/* 念のため：トップページは初期透明を維持 */
body.home .site-header,
body.front-page .site-header{
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* =========================================
  トップページ以外は、
  ヘッダーの高さ分だけ下から開始させる
========================================= */

/* トップページ以外は body では押さない（←これが原因になりやすい） */
body:not(.home):not(.front-page){
  padding-top: 0;
}

/* トップページ以外は main をヘッダー分だけ下げる */
body:not(.home):not(.front-page) main{
  padding-top: var(--header-h);
}


/* -------------------------
PC　-ホームブロック基盤
------------------------- */

.header-home{
  position: absolute;
  left: 45px;
  top: 20px;
  width: 395px;
  height: 80px;
  z-index: 10000;
}

/* ヘッダー内は“絶対に横書き”にする（FVの縦書き影響を遮断） */
.header-home,
.header-home *{
  writing-mode: horizontal-tb !important;
  text-orientation: initial !important;
}

/* 中身配置 */
.header-home__link{
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* -------------------------
PC　-ホームブロックA＋B
------------------------- */
@media (min-width: 1300px){
/* A：ロゴ */
.header-home__logo{
  flex: 0 0 auto;
  margin-right: 20px;
}
.header-home__logo img{
  width: 100px;
  height: 80px;
  display: block;
  object-fit: contain;
}

/* B：テキスト */
.header-home__text{
  position: relative;
  height: 100%;
  flex: 1 1 auto;
}

/* コピー（PC：上から15px、高さ20px） */
.header-home__catch{
  position: absolute;
  top: 15px;
  left: 0;
  height: 20px;
  line-height: 20px;
  margin: 0;
  white-space: nowrap; /* ←縦に落ちるの防止 */
  font-size: 16px;
  color: var(--c-text);
}

/* 施設名（画像）PC：コピー下8px、高さ26px相当の位置 */
.header-home__name{
  position: absolute;
  top: calc(15px + 20px + 8px);
  left: 0;
  height: 26px;      /* 位置合わせ用（画像は中で伸縮） */
  margin: 0;
  display: block;
}

.header-home__name img{
  display: block;
  width: 275px;      /* PCはW275 */
  height: auto;
}
}

/* -------------------------
PC　-C：ヘッダーナビ全体
------------------------- */



/* 全体：右寄せ、右余白（30px） */
.site-header__nav{
  margin-left: auto;
  display: grid;
  gap: 10px; /* 行間（必要なら調整） */
  padding-right: 30px;
}

/* 2段組 */
.nav-pc__top,
.nav-pc__bottom{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* 上段：お問い合わせ + 20px + 受付時間 */
.nav-pc__top{
  transform: translateY(10px);
  display: flex;
  align-items: center; /* ← これが基準 */
  gap: 20px;
}

/* 下段：D1（メニュー） + 25px + E1（TEL） */
.nav-pc__bottom{
  gap: 25px;
}

/* PC表記色：基本 var(--c-brown) */
.nav-pc__top,
.nav-pc__bottom,
.nav-menu .global-nav a,
.nav-hours{
  color: var(--c-brown);
}


/* -------------------------
PC　-D1：メニュー
------------------------- */

.nav-menu .global-nav{
  list-style: none;
  display: flex;
  align-items: center;           /* 下段の真ん中に揃える */
  gap: 40px;                     /* 間隔40px */
  margin: 0;
  padding: 0;
}

.nav-menu .global-nav a{
  text-decoration: none;
  color: var(--c-brown);
  display: inline-flex;
  align-items: center;
  height: 25px;                  /* 文字は25pxの高さ */
  line-height: 25px;
  font-weight: 700;
  font-size: 0.95em;
}

/* D1：左側に下向き矢印（H7px / var(--c-accent)） */
.nav-menu .global-nav .has-down > a{
  display: inline-flex;
  align-items: center;
}

.nav-menu .global-nav .has-down > a::before{
  content: "\f107"; /* fa-angle-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 700;
  font-size: 16px;
  color: var(--c-accent);
  margin-right: 6px;
  display: inline-block;
  line-height: 1;
  position: relative;
  top: 1px; /* 縦位置の微調整（ここだけで完結） */
}

/* 右側矢印が残っていたら無効化（保険） */
.nav-menu .global-nav .has-down > a::after{
  content: none;
}



/* =========================================================
sub-menu 表示制御（役割分担）
- PC（global-nav）: hover / focus-within で opacity表示（displayは使わない）
- SP（sp-nav）    : is-open で display表示（JSで制御）
========================================================= */

/* sub-menuの共通リセット（displayは触らない） */
.global-nav .sub-menu,
.sp-nav .sub-menu{
  margin: 0;
  padding: 0;
  list-style: none;
}

/* SP：子メニューは通常は非表示 → 親が is-open の時だけ表示 */
.sp-nav .sub-menu{
  display: none;
}
.sp-nav li.is-open > .sub-menu{
  display: block;
}



/* -------------------------
PC - D1：子メニュー（ホバーで子メニュー表示）
・表示をさらに15px下げる
・親→子にカーソル移動してもホバーが切れない（hoverブリッジ）
------------------------- */

@media (min-width:1030px){

  .nav-menu .global-nav > li{
    position: relative;
  }

  /* 子メニューの箱 */
  .nav-menu .global-nav > li > .sub-menu{
    position: absolute;
    top: 100%;
    left: -10px;

    /* ★ここで“落ち”を作る：既存10px + 9px = 19px */
    margin-top: 19px;

    min-width: 150px;
    padding: 16px 18px 22px;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 28px rgba(72, 60, 52, .22);
    z-index: 20000;
  }

  .nav-menu .global-nav > li > .sub-menu > li + li{
    margin-top: 5px;       /* 「間隔」はmargin-bottomよりmargin-topの方が自然 */
  }

  /* 子は初期非表示（displayは固定） */
  .nav-menu .global-nav > li.menu-item-has-children > .sub-menu{
    display: block;
    opacity: 0;

    /* ★transformで位置を動かさない（ホバー判定のズレを防ぐ） */
    transform: none;

    pointer-events: none;
    transition: opacity .18s ease;
  }

  /* hover / focus-within で表示 */
  .nav-menu .global-nav > li.menu-item-has-children:hover > .sub-menu,
  .nav-menu .global-nav > li.menu-item-has-children:focus-within > .sub-menu{
    opacity: 1;
    pointer-events: auto;
  }

  /* ★ホバーが切れないための“ブリッジ”（透明の当たり判定） */
  .nav-menu .global-nav > li.menu-item-has-children::after{
    content: "";
    position: absolute;

    /* 親liの下に、子メニューまでの隙間分を透明で埋める */
    left: -10px;
    right: -10px;
    top: 100%;
    height: 19px; /* ← margin-topと同じ値にする（重要） */

    background: transparent;
  }

  /* 子メニュー内リンク */
  .nav-menu .global-nav > li > .sub-menu a{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 8px;
    padding: 10px 6px;
    text-decoration: none;
  }

  /* 矢印を右端に固定 */
  .nav-menu .global-nav > li > .sub-menu a::after{
    justify-self: end;
  }

}

/* =========================================================
PC 子メニュー：点線＆矢印（fa-arrow-right）を確実に表示させる
※後勝ちさせるため、style.cssの下の方に追記推奨
========================================================= */

@media (min-width: 1120px) {

  /* 子メニューリンク：ドット線と矢印の設定 */
  .nav-menu .global-nav > li > .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 16px;
    padding: 10px 0px; /* 下側の余白を少し広げてドット線の位置を調整 */
    width: 100%;
    text-decoration: none;

    /* 1. dashedの代わりにドット背景を指定 */
    border-bottom: none; 
    background-image: radial-gradient(
      circle,
      var(--c-accent) 1.5px, 
      transparent 1.5px
    );
    background-size: 9px 3px;
    background-repeat: repeat-x;
    background-position: left bottom; /* 下端に配置 */
  }

  /* 右矢印を表示（ここは元のコードを維持） */
  .nav-menu .global-nav > li > .sub-menu a::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 700;
    font-size: 16px;
    color: var(--c-accent);
    transition: transform .2s ease;
    /* flexのアイテムとして右端に固定されるようになります */
  }

  /* ホバーで少し右へ */
  .nav-menu .global-nav > li > .sub-menu a:hover::after {
    transform: translateX(4px);
  }
}

/* -------------------------
PC　-E1：電話ブロック
------------------------- */

.nav-tel__link{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  color: var(--c-accent);
}

.nav-tel__icon{
  font-size: 30px;      /* 指定：H28px相当 */
  color: var(--c-accent);
  top: -5px; /* +1 or -1 で微調整 */
}

.nav-tel__num{
  top: 3px; 
	position: relative;
  display: inline-block;
  font-size: 30px;
  height: 40px;     /* ← 縦40px基準 */
  line-height: 25px;
  font-weight: 700;
}


/* -------------------------
PC　-お問い合わせボタン
------------------------- */

.nav-contact-btn{
  width: 160px;
  height: 40px;
  background: var(--c-brown);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;             /* アイコンと文字の間 15px */
  text-decoration: none;
  color: #fff;
}

.nav-contact-btn__icon{
  font-size: 20px;      /* 指定：H20px */
  color: #fff;
}

.nav-contact-btn__text{
  width: auto;          /* ← 幅固定をやめる */
  white-space: nowrap; /* ← 絶対に1行にする */
  line-height: 1;
  font-weight: 700;
}

/* -------------------------
PC　-営業時間
------------------------- */

.nav-hours{
  display: inline-flex;
  align-items: center;
  height: 40px;     /* ← お問い合わせボタンと同じ高さ */
  line-height: 1;
  font-weight: 500; /* ← 400 → 500 */
}

.nav-hours__time{
  letter-spacing: 0.1em; /* 数字は少し広めが読みやすい */
}



/* -------------------------
PC　-ダミーやリンク色が残る対策
------------------------- */

/* PCのE1（電話） */
.nav-tel__icon{
  background: none !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
  line-height: 1 !important;
}

/* PCのお問い合わせ */
.nav-contact-btn__icon{
  background: none !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
  line-height: 1 !important;
}

/* お問い合わせボタンは常に白 */
.site-header .nav-contact-btn,
.site-header .nav-contact-btn:link,
.site-header .nav-contact-btn:visited{
  color: #fff;
}
.site-header .nav-contact-btn__text{
  color: #fff;
}
.site-header .nav-contact-btn__icon{
  color: currentColor;  /* アイコンも白に追従 */
}

/* PC：E1（電話）は常にオレンジ */
.site-header .nav-tel__link,
.site-header .nav-tel__link:link,
.site-header .nav-tel__link:visited{
  color: var(--c-accent);
}
.site-header .nav-tel__num{
  color: var(--c-accent);
}
.site-header .nav-tel__icon{
  color: currentColor;  /* アイコンもオレンジに追従 */
}


/* =========================
SP：ヘッダー
========================= */

/* -------------------------
SP -基盤
-常時背景＆影
------------------------- */

@media (max-width: 1120px){
  .header-home{
    position: static;     /* ← absoluteやめる */
    width: auto;
    height: auto;
    margin-left: 10px;    /* 左余白 */
  }

/* ヘッダー高さ：SP */
  :root{
    --header-h: 80px;
  }

/* FVと重ねない／常時 背景＆影／上部固定 */
  .site-header{
    background: var(--c-bg);
    box-shadow: 0 10px 28px rgba(72, 60, 52, .22);
  }

  .site-header__inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }
  .site-header__nav{
    max-width: 100%;
  }
}


/* ブラウザのデフォルト余白を消す（全端末で安全） */
html, body{
  margin: 0;
  padding: 0;
}

@media (max-width: 700px){
  html, body{ overflow-x: hidden; }
}

/* SP：FVの開始位置をヘッダー直下に揃える */
@media (max-width: 700px){
  .p-fv{
    margin-top: 0 !important;
    padding-top: var(--header-h); /* 80px */
  }
}


/* -------------------------
SP -A+Bホームブロック
------------------------- */



@media (max-width: 1299px){
  .header-home{
    width: auto;
    max-width: calc(100% - 110px); /* 右のTEL+MENU分を確保（調整可） */
    left: 10px;
    top: 15px;
    height: 50px;
  }

  .header-home__logo{
    margin-right: 5px;
  }
  .header-home__logo img{
    width: 65px;
    height: 50px;
  }

  .header-home__catch{
    top: 12px;
    height: 10px;
    line-height: 10px;
    font-size: 10px;
  }

  .header-home__name{
    top: calc(12px + 10px + 6px);
    height: 18px; /* 位置合わせ用 */
  }

  .header-home__name img{
    width: 182px; /* SPはW182 */
    height: auto;
  }
}


/* -------------------------
SP -C（D2：メニューボタン+E2：電話ボタン）
------------------------- */


/* 右寄せ、右余白（15px） */
@media (max-width: 1119px){
  .site-header__nav{
    padding-right: 15px;
    display: flex;
    align-items: center;
    gap: 15px; /* D2とE2の間隔 15px */
  }

  .nav-pc__top,
  .nav-pc__bottom{
    display: none;
  }

  .nav-sp{
    display: flex;
    align-items: center;
    gap: 15px;
  }
}

/* -------------------------
SP -D2/E2 ボタン見た目（TEL/メニュー共通）
------------------------- */
@media (max-width: 1119px){
  .nav-sp__btn{
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: var(--c-accent);
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
  }

  .nav-sp__ico{
    font-size: 20px;
    color: var(--c-accent);
  }

  .nav-sp__lbl{
    font-size: 10px;
    line-height: 1;
  }
}

.nav-sp__tel .nav-sp__lbl{
  font-weight: 500;
}


/* -------------------------
SP -E2（電話リンク）の色固定（link/visited対策）
------------------------- */
.nav-sp__tel,
.nav-sp__tel:link,
.nav-sp__tel:visited{
  color: var(--c-accent);
  text-decoration: none;
}

.nav-sp__tel .nav-sp__ico{
  color: currentColor;
}

.nav-sp__tel:hover,
.nav-sp__tel:active{
  color: var(--c-accent);
}

.nav-sp__tel:focus-visible{
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* -------------------------
SP -ドロワー（D2メニューの表示）
------------------------- */
@media (max-width: 1119px){

  .sp-drawer{
    position: fixed;
    inset: 0;
    z-index: 20000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }

  .sp-drawer.is-open{
    opacity: 1;
    pointer-events: auto;
  }

  .sp-drawer__backdrop{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 1;
  }

  .sp-drawer.is-open .sp-drawer__backdrop{
    opacity: 1;
  }


  /* パネルの上端を覆う不透明フタ（スクロールの影響を受けない） */
  .sp-drawer__panel::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;            /* ← 必要なら増やしてOK */
    background: var(--c-bg);
    z-index: 50;
    pointer-events: none;
  }

  /* MENUタイトルと×をフタより上に出す */
  .sp-drawer__title{ z-index: 60; }
  .sp-drawer__close{ z-index: 99999; }

  .sp-drawer.is-open .sp-drawer__panel{
    transform: translateX(0);
  }


  .sp-drawer__panel{
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    width: min(86vw, 360px);
    height: 100%;
    background: var(--c-bg);
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow: hidden;
    box-shadow: -10px 0 28px rgba(72, 60, 52, .22);
    z-index: 2;
  }

  .sp-drawer.is-open .sp-drawer__panel{
    transform: translateX(0);
  }

  /* 中身：ヘッダー＋スクロール領域の2段 */
  .sp-drawer__content{
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0;             /* ← ここではpaddingしない */
    overflow: hidden;       /* ← contentはスクロールさせない */
  }

  /* 上部固定ヘッダー（MENU + ×） */
  .sp-drawer__head{
    position: relative;
    height: 90px;
    flex: 0 0 auto;
    background: var(--c-bg);

    /* ← margin-leftは使わない！ */
    margin-left: 30px;
    margin-top: 20px;

    /* 左30 / 右18 をここで確保 */
    padding: 0 18px 0 30px;

    display: flex;
    align-items: center;      /* 縦ズレ防止 */
  }

  .sp-drawer__title{
    margin: 0;
    font-size: 15pt;
    font-weight: 700;
    line-height: 1;
    color: var(--c-accent);
    padding-right: 60px; /* ×領域回避 */
  }

  /* ×ボタン */
  .sp-drawer__close{
    font-size: 35px;
    line-height: 1;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--c-accent);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);  /* ← 縦中央で固定 */
    right: 18px;
    padding: 10px;
    z-index: 50;
  }

  /* navだけスクロール */
  .sp-drawer__nav{
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    margin-left:30px;

    padding: 30px 18px 30px 30px; /* タイトル下30 / 左30 / 右18 / 下30 */
    box-sizing: border-box;

    /* 念のためアンカー無効 */
    overflow-anchor: none;
  }



  /* スクロールバー非表示 */
  .sp-drawer__content{
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .sp-drawer__content::-webkit-scrollbar{
    display: none;
  }

  .sp-nav{
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 40px;
  }

  .sp-nav a{
    text-decoration: none;
    color: var(--c-brown);
    font-size: 20px;
    font-weight: 500;
  }

  .sp-drawer__contact{
    margin-top: 100px;
    width: 100%;
    max-width: 900px;
    align-self: center;
    flex: 0 0 auto;
    min-height: 48px;
    white-space: nowrap;
  }
}

/* =========================================================
SPドロワー：親子メニュー
========================================================= */
@media (max-width: 1119px){

  /* ★スクロールアンカー無効化（表示が押し出されるのを防ぐ） */
  .sp-drawer__content{
    overflow-anchor: none;
  }
  .sp-nav,
  .sp-nav *{
    overflow-anchor: none;
  }

  /* 親リンク行：右側に矢印 */
  .sp-nav .menu-item-has-children > a{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0;
  }

  /* 親メニュー下矢印（fa-angle-down） */
  .sp-nav .menu-item-has-children > a::after{
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    color: var(--c-accent);
    line-height: 1;
    transition: transform .22s ease;
  }

  /* 親が開いた時：オレンジ＋太字＋矢印回転 */
  .sp-nav .menu-item-has-children.is-open > a{
    font-weight: 700;
    color: var(--c-accent);
  }
  .sp-nav .menu-item-has-children.is-open > a::after{
    transform: rotate(180deg);
  }

  /* -------------------------
     子メニュー：下向きに“上品に”開く（displayで消さない）
     ※margin-topは「開いた時だけ」
  ------------------------- */
  .sp-nav .menu-item-has-children > .sub-menu{
    margin-top: 0;              /* ← 閉じてる時は余白ゼロ */
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0px;                  /* 上品（40→24） */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition:
      max-height .28s ease,
      opacity .20s ease,
      transform .20s ease;
  }

  .sp-nav .menu-item-has-children.is-open > .sub-menu{
    margin-top: 30px;           /* ← 開いた時だけ親と子の間 */
    max-height: 520px;          /* 子が増えるなら大きくしてOK */
    opacity: 1;
    transform: translateY(0);
    display: grid;
  }

  /* 子メニュー a：左矢印 */
  .sp-nav .sub-menu a{
    display: block;
    position: relative;
    padding-left: 22px;
    font-size: 20px;
    font-weight: 500;
    color: var(--c-brown);
    text-decoration: none;
  }

  .sp-nav .sub-menu a::before{
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: var(--c-accent);
    line-height: 1;
  }
}


/* =========================================================
PCではSP用（TEL/MENU + ドロワー）を絶対に表示しない
※style.css の一番下に置く
========================================================= */
@media (min-width: 1120px){
  .nav-sp,
  #sp-drawer,
  .sp-drawer{
    display: none !important;
  }
}

/* =========================================
  SPヘッダーを全ページで固定＆常時表示（強制）
  - 背景色あり
  - HOME + TEL + MENU を常に表示
  - position: fixed を保つ
========================================= */
@media (max-width: 1119px){

  /* ヘッダーは常に fixed（ページごとに崩れるのを防ぐ） */
  .site-header{
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-h);
    z-index: 9999;
    background: var(--c-bg) !important;
    box-shadow: 0 10px 28px rgba(72, 60, 52, .22) !important;
    backdrop-filter: blur(6px);
  }

  /* PC用のナビはSPでは必ず消す */
  .nav-pc__top,
  .nav-pc__bottom{
    display: none !important;
  }

  /* SP用のTEL/MENUは必ず表示する（ページ差分の上書きを潰す） */
  .nav-sp{
    display: flex !important;
    align-items: center;
    gap: 15px;
  }

  /* ドロワー自体もSPでは存在させる（display:none を潰す） */
  #sp-drawer,
  .sp-drawer{
    display: block !important;
  }

  /* ヘッダー内の配置が崩れる場合の保険 */
  .site-header__inner{
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  /* header-home（左のホームブロック）も表示 */
  .header-home{
    display: block !important;
  }
}



/* =========================================================
Footer（共通：PC/SP共通）
========================================================= */

.site-footer{
  background: var(--c-brown); /* #483C34 */
  color: #fff;
  width: 100%;
  position: relative;
  z-index: 10; /* CTAより大きい値 */
}

.site-footer a{
  color: inherit;
}

/* リストのデフォルト（黒丸）を確実に消す */
.footer-h__list{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* メニューリンク：下線はborderで付ける（自動下線は無効） */
.footer-h__link{
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.7);
  padding-bottom: 6px;
}

/* アクセスリンク：白＋下線（ここだけ） */
.footer-a__link{
  text-decoration: none;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.7);
  padding-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-a__link i{
  color: inherit;
  font-size: 20px; /* 縦20px相当 */
}

/* SNS */
.footer-sns__link{
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.footer-sns__link .fa-instagram{
  font-size: 23px; /* PC基準。SPで上書き */
}

/* スクリーンリーダー用 */
.u-sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* 会社名以外を2カラム化するラッパー */
.footer-g__cols{
  display: flex;           /* PCは横並び */
  align-items: flex-start; /* 上揃え */
  justify-content: flex-start; /* ← ここ変更 */
  gap: 20px; /* ← ここで距離を調整（15〜30で微調整OK） */
}


/* =========================================================
Footer（PC）
========================================================= */
@media (min-width: 800px){

  .site-footer{
    height: 400px;
  }

  .site-footer__inner{
    height: 100%;
    display: flex;
    justify-content: space-between;
    position: relative;
  }

  /* 左側（F + G） */
  .site-footer__left{
    padding-left: 180px;
    padding-top: 30px;
  }

  /* 右側（H） */
  .footer-h{
    padding-right: 180px;
    padding-top: 60px;
  }

  .footer-h__list{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end; /* 右寄せを維持 */
    gap: 50px;
    align-items: center;
  }

  .footer-h__item {
  white-space: nowrap;   /* 「プライバシーポリシー」などの単語の途中で改行させない */
}

  /* F（ロゴブロック） */
  .footer-f{
    display: flex;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-f__logo img{
    display: block;
    width: 130px;
    height: 104px;
    object-fit: contain;
  }

  .footer-f__texts{
    display: flex;
    flex-direction: column;
  }

  .footer-f__copy{
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    position: relative;
    top: 22px; /* コピー上辺：ロゴより22px下 */
  }

  .footer-f__name{
    margin-top: calc(22px + 15px); /* コピー下から15px */
  }

  .footer-f__name img{
    display: block;
    width: 359px;
    height: 34px;
    object-fit: contain;
  }

  /* G（情報ブロック） */
  .footer-g{
    margin-top: 25px; /* Fとの間25px */
    display: flex;
    flex-direction: column;
  }

  .footer-g__company{
    margin: 0;
    font-size: 20pt; /* 指示に合わせ調整済み */
    font-weight: 500;
    line-height: 1.2;
  }

  .footer-g__info{
    margin-top: 7px;
  }

  .footer-g__line{
    margin: 0;
    font-size: 12pt;
    line-height: 1.5;
  }

  /* PC：アクセスは住所行の末尾っぽく見せる（見た目だけ同一行） */
  .footer-g__line:first-child{
    display: inline;
  }


  /* SNS */
  .footer-sns{
    margin-top: 12px;
  }

  /* クレジット：右上に飛ばさず、下から25pxの位置 */
  .footer-credit{
    position: absolute;
    left: 180px;
    bottom: 25px;
    margin: 0;
    font-size: 16px;
    opacity: .9;
    background: transparent;
  }

    /* 会社名の下に2カラムを置く */
  .footer-g__cols{
    margin-top: 7px; /* 会社名の下7px（今のinfo相当） */
  }

  /* 左：4行 */
  .footer-g__col--lines{
    flex: 0 0 auto;
    min-width: 0;
  }

  /* 右：アクセス */
  .footer-g__col--access{
    flex: 0 0 auto;
    white-space: nowrap; /* アクセスが折れない */
  }

  /* SNSは従来どおり12px下 */
  .footer-sns{
    margin-top: 12px;
  }
}

/* =========================================================
Footer（SP）
========================================================= */
@media (max-width: 799px){

  .site-footer{
    min-height: 610px;
  }

  .site-footer__inner{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 35px 0; /* 上30 / 左右35 */
    box-sizing: border-box;
  }

  /* PC用パディングを無効化 */
  .site-footer__left{
    padding: 0;
  }
  .footer-h{
    padding: 0;
    margin-top: 20px; /* G→H 20px */
  }

  /* F2（ロゴブロック） */
  .footer-f{
    display: flex;
    align-items: flex-start;
    gap: 15px;
  }

  .footer-f__logo img{
    width: 80px;
    height: 64px;
  }

  .footer-f__copy{
    font-size: 10px;
    top: 10px; /* ロゴより13px下 */
  }

  .footer-f__name{
    margin-top: calc(0px + 10px);
  }

  .footer-f__name img{
    width: 223px;
    height: 21px;
  }

  /* G2（情報ブロック） */
  .footer-g{
    margin-top: 40px; /* F→G 40px */
    display: flex;
    flex-direction: column;
  }

  .footer-g__company{
    margin: 0;
    font-size: 20px; /* 高さ21px相当 */
    font-weight: 500;
    line-height: 1.2;
  }

  /* SPは縦並び */
  .footer-g__cols{
    flex-direction: column;
    align-items: flex-start;
    gap: 0; /* ブロック間は個別marginで作る */
  }

    /* SP：表示順をアクセス → 4行 に */
  .footer-g__col--access{
    order: 1;
  }
  .footer-g__col--lines{
    order: 2;
  }

  /* 会社名の下23pxにアクセス */
  .footer-g__col--access{
    margin-top: 23px;
  }

  /* その下10pxに4行 */
  .footer-g__col--lines{
    margin-top: 10px;
  }

  /* SNSは4行の下10px */
  .footer-sns{
    margin-top: 10px;
  }

  /* その下10pxで住所群 */
  .footer-g__info{
    margin-top: 10px;
  }

  .footer-g__line{
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
  }

  /* SNS：Webの下10px */
  .footer-sns{
    margin-top: 10px;
  }
  .footer-sns__link .fa-instagram{
    font-size: 20px;
  }

  /* H2（メニュー：縦並び20px） */
  .footer-h__list{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  /* クレジット：最下部、下から25px */
  .footer-credit{
    margin: 0;
    margin-top: auto;
    padding-top: 25px;
    font-size: 11px; /* H11px */
    opacity: .9;
    background: transparent;
  }
}


/* =========================
  お知らせ帯（p-newsbar）
  PC/SP 指定再現
========================= */

/* セクションの上下余白（FV下〜 / About上〜） */
.p-newsbar{
  padding-top: 30px;   /* PC：FV画像までの空間 30px */
  padding-bottom: 145px; /* PC：次のコンテンツ（about見出し上辺）まで 145px */
}


/* ボックス本体 */
.p-newsbar__box{
  width: 790px;       /* PC：W790 */
  height: 105px;      /* PC：H105 */
  border-radius: var(--radius-lg);/* PC：角丸26 */
  background: #fff;
  box-shadow: 0 3px 6px #00000029; /* 指定 */
  display: block;
  text-decoration: none;
  color: inherit;
}

/* 8:2 の2カラム */
.p-newsbar__cols{
  height: 100%;
  display: flex;
}

/* 左カラム（8） */
.p-newsbar__left{
  flex: 8;
  position: relative;
  padding-left: 30px; /* PC：左から30px */
  padding-top: 15px;  /* PC：上から15px */
}

/* ラベル（お知らせ） */
.p-newsbar__label{
  margin: 0;
  height: 22px;       /* PC：高さ22px */
  line-height: 22px;
  font-size: 16px;    /* 指定に「高さ」表現だったので、見た目はCSSで調整 */
  font-weight: 700;
}

/* 投稿1件表示（横並び） */
.p-newsbar__post{
  margin-top: 10px; /* PC：ラベルから10px下 */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  white-space: nowrap; /* PCは横並び固定 */
}

/* 日付 */
.p-newsbar__date{
  font-size: 16px; /* PC：H16px相当 */
  line-height: 1;
}

/* 日付と件名の間隔25px（指定） */
.p-newsbar__gap{
  width: 25px;
  flex: 0 0 25px;
}

/* 件名（下線付き） */
.p-newsbar__title{
  font-size: 20px; /* PC：H18px相当 */
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 右カラム（2） */
.p-newsbar__right{
  flex: 2;
  display: flex;
  align-items: center;     /* 縦中央 */
  justify-content: flex-end;
  padding-right: 15px;     /* 右から15px */
  font-size: 20px;
}

/* 矢印色（オレンジ） */
.p-newsbar__right .fa-angle-right{
  color: var(--c-accent);
}

/* ホバー（任意：リンクらしさ） */
.p-newsbar__box:hover .p-newsbar__title{
  opacity: 0.85;
}

/* =========================
  SP（〜767px想定）
========================= */
@media (max-width: 700px){

  /* FV下45px / 次コンテンツまで45px */
  .p-newsbar{
    padding-top: 45px;
    padding-bottom: 45px;
  }

  /* 左余白は解除し、左右均等に */
  .p-newsbar__inner{
    padding-left: 0;
    padding-right: 0;
    display: flex;
    justify-content: center; /* W350を中央へ */
  }

  /* ボックス本体 */
  .p-newsbar__box{
    width: 350px;        /* SP：W350 */
    min-height: 80px;        /* SP：H80 */
    border-radius: var(--radius-sm); /* SP：角丸11 */
  }

  /* 左カラム余白（上10/左15） */
  .p-newsbar__left{
    padding-left: 15px;
    padding-top: 10px;
  }

  /* ラベル（高さ15px） */
  .p-newsbar__label{
	  padding-top:5px;
    height: 15px;
    line-height: 15px;
    font-size: 15px;
  }

  /* SPは2行構成にする（縦並び） */
  .p-newsbar__post{
    margin-top: 5px;      /* ラベルから5px下 */
    display: block;       /* 2行にする */
    white-space: normal;  /* 折り返し許可 */
  }

  /* 1行目：日付 */
  .p-newsbar__date{
    display: block;
    font-size: 12px; /* SP：H10px相当 */
    line-height: 1.2;
    margin-bottom: 4px;
  }

  /* 25pxギャップはSPでは不要 */
  .p-newsbar__gap{
    display: none;
  }

  /* 2行目：件名 */
  .p-newsbar__title{
    display: block;
    font-size: 16px; /* SP：H14px相当 */
    line-height: 1.3;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-decoration: none !important;
  }

  /* 右矢印：右から15px、縦中央 */
  .p-newsbar__right{
    padding-right: 15px;
    font-size: 20px;
  }
}

/* =========================
  ③ 施設について（p-about）

  指定：head内（タイトル/本文/ボタン）
  ※p-about__body（画像+本文レイアウト）は触らない
========================= */

/* PC：全体 左180px / 下165px / 左揃え */
.p-about{
  padding-bottom: 165px;
}

/* head全体：左揃え */
.p-about__head{
  text-align: left;
}

/* 1. タイトル（H35px相当） */
.p-about__head .c-heading{
  margin: 0;
  font-size: 35px;
  line-height: 1.25;
}

/* 共通：タイトル左アイコン（PCのみ） */

.c-titleWithIcon{
  display: flex;
  align-items: center;
  gap: 10px; /* タイトルとの間10px */
}

/* アイコンは文字高さと同じ */
.c-titleWithIcon__icon{
  height: 40px; /* ← 文字高さと揃える */
  width: auto;
  display: block;
}

/* SPではアイコン非表示 */
@media (max-width: 700px){
  .c-titleWithIcon{
    justify-content: center; /* 中央揃えの場合 */
  }
  .c-titleWithIcon__icon{
    display: none;
  }
}



/* 1と2の間：65px */
.p-about__copy{
  margin-top: 65px;
}

/* 2. 本文（H20px相当） */
.p-about__copy p{
  margin: 0;
  font-size: 20px;
  line-height: 1.8;
  font-weight: 300; /* 本文だけ軽く */
}

/* 3文それぞれの間：文字高さ1行分（= line-height分） */
.p-about__copy p + p{
  margin-top: 1em;
}

/* 2と3の間：65px */
.p-buttons{
  margin-top: 65px;
}

/* 3. ボタン（文字H25px相当＋右矢印＋点線下線） */
.p-dott__btn{
  display: inline-flex;
  align-items: center;
  gap: 20px;            /* 文字右に20px */
  font-size: 23px;      /* PC：H25px相当 */
  line-height: 1.2;
  text-decoration: none;
  color: inherit;
  position: relative;
  padding-bottom: 10px;  /* 下に10px空けて点線 */
  font-weight: 400;
}

/* 矢印（オレンジ） */
.p-dott__btnIcon{
  color: var(--c-accent);
  font-size: 16px; /* 見た目W16px相当 */
  line-height: 1;
}

/* 点線下線（オレンジ / H3px / 間隔8px） */
.p-dott__btn::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;  /* 文字〜矢印まで全部 */
  bottom: 0;
  height: 3px;
  background-image: radial-gradient(
    circle,
    var(--c-accent) 1.5px,
    transparent 1.5px
  );
  background-size: 9px 3px;  /* ←間隔調整 */
  background-repeat: repeat-x;
  background-position: left center;
}

.p-dott__btnText{
  font-weight: 500;
  letter-spacing: 0.03em; /* 少しだけ抜け感 */
}


/* =========================
  SP（〜767px想定）
========================= */
@media (max-width: 700px){

  /* SP：左右35px / 下75px / 中央揃え */
  .p-about{
    padding-bottom: 75px;
  }
  .p-about__inner{
    padding-left: 20px;
    padding-right: 20px;
  }
  .p-about__head{
    text-align: left;
  }

  /* タイトル（H20px相当） */
  .p-about__head .c-heading{
    font-size: 25px;
    line-height: 1.35;
  }

  /* 1と2の間：25px */
  .p-about__copy{
    width: 320px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    text-align: left;
  }

  /* 本文（H16px相当） */
  .p-about__copy p{
    font-size: 16px;
    line-height: 1.8;
    font-weight: 500;
  }

  /* 2と3の間：25px */
  .p-buttons{
    margin-top: 25px;
  }

  /* ボタン（H18px相当） */
  .p-dott__btn{
    font-size: 20px;
    gap: 20px;
    padding-bottom: 9px; /* 下に9px空けて点線 */
    font-weight: 600; /* 文字の太さ */
  }

  /* 矢印（W21px相当） */
  .p-dott__btnIcon{
    font-size: 20px;
  }
}

/* =========================
  ④ サービス内容（p-services）
========================= */

@media (min-width: 701px){
/* 空間1 / 空間3（PC） */
.p-services{
  padding-top: 135px;   /* 空間1 */
  padding-bottom: 185px;/* 空間3 */
}
}
/* カラムA：タイトル列 + 説明 */
.p-services__a{
  display: flex;
  align-items: flex-start;
}

/* タイトルブロック（左） */
.p-services__titleBlock{
  min-width: max-content;
  margin-right: 65px; /* PC：右に65px */
  text-align: left;
}

.p-services__title{
  margin: 0;
  font-size: 35px; /* PC：H35 */
  line-height: 1.25;
  font-weight: 700;
}

.p-services__en{
  margin: 6px 0 0 0;
  font-size: 23px; /* PC：H25 */
  line-height: 1.2;
  font-weight: 700;
  color: var(--c-accent);
}

/* ローマ字をアイコン分右にずらす */
.p-services .p-services__en{
  margin-left: calc(45px + 10px);
}


/* 説明（右） */
.p-services__desc p{
  margin: 0;
  font-size: 20px; /* PC：H20 */
  line-height: 1.9;
  font-weight: 300; /* 本文だけ軽く */
}

/* 空間2（PC：75px） */
.p-services__cards{
  margin-top: 75px;
  display: flex;
  gap: 100px; /* PC：カラム間W100 */
  justify-content: flex-start;
  align-items: flex-start;
}

@media (min-width: 701px){

/* カード全体リンク */
.p-serviceCard{
  display: block;
  text-decoration: none;
  color: inherit;
  width: 510px;   /* PC：W510 */
  height: 450px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* 変化を滑らかに */
  border-radius: var(--radius-lg); /* 角丸がある場合は指定（変数を使用） */
}

/* ホバー時の挙動 */
.p-serviceCard:hover {  
  /* ドロップシャドウを付与（既存の変数 --shadow-soft を活用、またはカスタム） */
  box-shadow: 0 10px 25px rgba(72, 60, 52, 0.15);
}
}

/* 内部の画像を拡大（オプション） */
.p-serviceCard:hover .p-serviceCard__img {
  transform: scale(1.1); /* 1.1倍に拡大 */
}

/* カード枠 */
.p-serviceCard__frame{
  position: relative;
  width: 510px;
  height: 500px; /* PC：H500 */
}

/* 一番奥：画像（R26 / W510 H320） */
.p-serviceCard__image{
  position: absolute;
  top: 0;
  left: 0;
  width: 510px;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 1;
  position: relative; /* 必須 */
}

.p-serviceCard__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease; /* 0.3秒かけて変化 */
}

.p-serviceCard__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(254, 252, 249, 0.18);
  pointer-events: none;
  z-index: 1; /* 画像より上に */
}

/* 手前：四角（R26 / W510 H200 / 上辺50pxは画像に被せる） */
.p-serviceCard__panel{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 510px;
  height: 200px;
  border-radius: var(--radius-lg);
  background: #FFF6D1;
  z-index: 2;

  /* 画像に50px被せるため上へ引き上げ */
  transform: translateY(-50px);

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 正円（φ200 / 四角から上に50pxはみ出る） */
.p-serviceCard__circle{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #FFF6D1;

  /* 四角上辺から上に50pxはみ出す */
  margin-top: -50px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* アイコン（有料老人ホーム） */
.p-serviceCard--home .p-serviceCard__icon{
  height: 100px;
  width: auto;
  display: block;
}
/* アイコン（訪問介護） */
.p-serviceCard--care .p-serviceCard__icon{
  height: 90px;
}

/* アイコンから25px下にボタン、ボタン下は25px空ける */
.p-serviceCard__btnWrap{
  margin-top: 10px;
  margin-bottom: 45px;
}

/* ボタン：③と同じ見た目を使うが、中央揃えに */
.p-serviceCard__btn{
  justify-content: center;
  z-index: 900;
}



/* =========================
  SP（〜767px）
========================= */
@media (max-width: 700px){

  /* 空間1 / 空間3（SP） */
  .p-services{
    padding-top: 50px;
    padding-bottom: 100px;
  }

  /* カラムA：縦並び、中央揃え */
  .p-services__a{
    display: block;
    text-align: center;
  }

  .p-services__titleBlock{
    margin-right: 0;
    text-align: center;
    margin-bottom: 35px; /* タイトル→説明の下に35px */
  }

  .p-services__title{
    font-size: 23px; /* SP：H25 */
  }

  .p-services__en{
    font-size: 20px; /* SP：H20 */
    margin-top: 6px;
  }

  /* ローマ字をアイコン分右にずらす */
.p-services .p-services__en{
  margin-left: 0; /* PCで付けた分を解除 */
}

  .p-services__desc{
    width: 320px;
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* 説明は読みやすく左寄せ推奨（指定がなければ外してOK） */
  }

  .p-services__desc p{
    font-weight: 500;
    font-size: 16px; /* SP：H20 */
    line-height: 1.9;
  }

  /* 空間2（SP：35px） */
  .p-services__cards{
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 45px; /* SP：カラム間H45 */
    align-items: center;
  }

  /* カードサイズ（SP：W320 H310） */
  .p-serviceCard{
    width: 320px;
  }

  .p-serviceCard__frame{
    width: 320px;
    height: 310px;
  }

  /* 画像（R26 / W320 H200） */
  .p-serviceCard__image{
    width: 320px;
    height: 200px;
    border-radius: var(--radius-lg);
  }

  /* 四角（R26 / W320 H130 / 上辺20px被せ） */
  .p-serviceCard__panel{
    width: 320px;
    height: 130px;
    border-radius: var(--radius-lg);
    transform: translateY(-20px);
  }

  /* 正円（φ110 / 四角から上に30pxはみ出る） */
  .p-serviceCard__circle{
    width: 110px;
    height: 110px;
    margin-top: -30px;
  }

  /* アイコン（H60） */
  .p-serviceCard__icon{
    margin-top: 5px;
    height: 60px!important;
  }

  /* アイコンから15px下にボタン、ボタン下は30px空ける */
  .p-serviceCard__btnWrap{
    margin-top: 10px;
    margin-bottom: 30px;
  }

  /* ボタン（③仕様流用だがサイズだけSP準拠にしたい場合） */
  .p-serviceCard__btn{
    font-size: 20px; /* ③SPボタン相当 */
  }
}

/* =========================
  ⑤ 採用情報（p-recruit）
  背景：#FFFBF0（⑥より前面に）
  PC：横並び / SP：縦並び
========================= */

/* ⑥より前面にしたい：セクションに重なり順を付与 */
.p-recruit{
  padding-top: 175px;
  position: relative;
  z-index: 2;
}

/* 背景ベタ（PC: H570 / SP: H660） */
.p-recruit__bg{
  background: #FFFBF0;
  height: 570px;
  position: relative;
  overflow: visible; /* 画像が上にはみ出すため */
}

/* 2カラムレイアウト（PC） */
.p-recruit__layout{
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 85px;           /* カラム間 W85px */
  max-width: 900px;   /* 必要なら調整OK（基盤に合わせて） */
  margin: 0 auto;
  padding-right: 20px; /* 右側だけ軽く余白（不要なら0でOK） */
}

/* 画像：左端にピッタリ＆上に100px飛び出す */
.p-recruit__media{
  width: 640px;
  flex: 0 0 640px;

  /* 画面左端にピッタリ */
  margin-left: calc(50% - 50vw);

  /* 背景上辺より100px上にずらす */
  transform: translateY(-100px);
  position: relative; /* 必須 */
}

.p-recruit__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(254, 252, 249, 0.18);
  pointer-events: none;
  z-index: 1;
}

.p-recruit__img{
  width: 640px;
  height: auto;
  display: block;

  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* 右カラム */
.p-recruit__content{
  flex: 1;
  padding-top: 55px; /* タイトル上の余白（あなたの値を維持） */
}

/* ④と同じ仕様に寄せる（タイトル H35 / 英字 H25） */
.p-recruit .p-services__title{
  font-size: 35px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0;
}
.p-recruit .p-services__en{
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--c-accent);
  margin: 6px 0 0 0;

  /* PC：英字をタイトル文字の左に合わせる（アイコン + gap分） */
  margin-left: calc(2em + 0px);
}

/* 説明（20px） */
.p-recruit__desc{
  margin: 10px 0 0 0;
  font-size: 20px;
  line-height: 1.9;

  /* PC：説明もタイトル文字の左に合わせる（アイコン + gap分） */
  margin-left: calc(2em + 10px);
}

/* ボタン縦列（PC：間隔40px） */
.p-recruit__buttons{
  list-style: none;
  padding: 0;
  margin: 65px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 40px;

  /* PC：ボタンもタイトル文字の左に合わせる（アイコン + gap分） */
  margin-left: calc(10em + 10px);
}

/* ボタンは③④共通仕様を流用 */
.p-recruit__btn{
  display: inline-flex;
}

/* ========================================
  採用情報：応募フォームボタン
======================================== */

/* ラッパー（中央揃え） */
.recruit-entry-btn{
  width: 100%;
  display: flex;
  justify-content: center;
}

/* 共通リンク */
.recruit-entry-btn__link{
  background: var(--c-brown);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s ease;
}

.recruit-entry-btn__link:hover{
  opacity: .85;
}

/* ======================
   PC
====================== */
@media (min-width: 701px){

  .recruit-entry-btn{
    margin-top: 50px; /* 上に50px */
    margin-left: 70px;
  }

  .recruit-entry-btn__link{
    width: 345px;
    height: 80px;
    transform: translateX(-100px);
  }

  .recruit-entry-btn__iconA{
    font-size: 23px; /* H25px */
    margin-right: 20px;
  }

  .recruit-entry-btn__text{
    font-size: 23px;
    font-weight: 700;
    margin-right: 15px;
    white-space: nowrap;
  }

  .recruit-entry-btn__iconB{
    font-size: 16px; /* H17px */
  }

}




/* =========================
  SP（〜767px）
========================= */
@media (max-width: 700px){

  .p-recruit__bg{
    height: 660px;
  }

  .p-recruit__desc{
    font-weight: 500;
  }

  .p-recruit__layout{
    display: flex;
    flex-direction: column;
    gap: 50px;      /* カラム間 H50px（仕様どおり） */
    max-width: none;
    margin: 0;
    padding-right: 0;
  }

  /* 画像：左端にピッタリ＆上に150px飛び出す
     ※transformではなくmargin-topで詰める（余白が残らない） */
  .p-recruit__media{
    width: 330px;
    flex: 0 0 auto;
    margin-left: calc(50% - 50vw);

    transform: none;
    margin-top: -150px; /* ←ここで飛び出し量 */
  }

  /* 画像：比率（トリミング）を固定して1枚目に寄せる */
  .p-recruit__img{
    width: 330px;
    height: 300px;          /* ←トリミング枠（好みで調整） */
    display: block;

    object-fit: cover;
    object-position: center; /* ←中心。上を見せたいなら center top */

    border-top-right-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  /* 右カラム */
  .p-recruit__content{
    padding-left: 35px;
    padding-right: 35px;
    padding-top: 10px; /* タイトル上 */
    text-align: center;
  }

  /* SP：アイコン無し */
  .p-recruit .c-titleWithIcon__icon{
    display: none;
  }

  /* タイトル/英字（SP） */
  .p-recruit .p-services__title{
    font-size: 23px;
  }

  .p-recruit .p-services__en{
    font-size: 23px;   /* Serviceが小さい問題の調整値（必要なら22〜24で） */
    margin-left: 0;    /* PCのズラし解除 */
  }

  /* 説明：左揃え（16px） */
  .p-recruit__desc{
    margin-top: 35px;  /* タイトル＆英字の下 35px（仕様） */
    font-size: 16px;
    line-height: 1.9;

    margin-left: 0;
    text-align: left;
  }

  /* ボタン：説明の下25px、縦列、間隔35px、左揃え */
  .p-recruit__buttons{
    margin: 35px auto 0 auto;  /* ←左右autoで中央配置 */
    gap: 35px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* ←中身は左揃えのまま */

    width: fit-content;        /* ←中身幅に合わせる */
  }


  .p-recruit__btn{
    display: inline-flex;
  }

  .recruit-entry-btn{
    margin-top: 30px; /* 上に30px */
  }

  .recruit-entry-btn__link{
    width: 240px;
    height: 50px;
  }

  .recruit-entry-btn__iconA{
    font-size: 20px;
    margin-right: 15px;
  }

  .recruit-entry-btn__text{
    font-size: 20px;
    font-weight: 700;
    margin-right: 13px;
    white-space: nowrap;
  }

  .recruit-entry-btn__iconB{
    font-size: 16px;
  }
}


/* =========================
  ⑥ お問い合わせ（CTA）
========================= */

.p-cta{
  position: relative;
  height: 760px; /* PC */
  background: transparent;
  /* overflow: hidden; ← これが上下も切るので差し替え */
  overflow-x: clip;   /* 横はみ出し対策 */
  overflow-y: visible;/* 上部を見切らせない */
  z-index: 1; /* フッターより小さくする */
}

/* 背景画像（右上 / 左下） */
.p-cta::before,
.p-cta::after{
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  background-image: url("/wp-content/themes/supreme/_assets/img/common/effect.webp"); /* FVと同じ画像に */
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

/* 右上：上半分は⑤の下、右半分は画面外に隠す */
.p-cta::before{
  top: -310px;     /* 画像H620の半分だけ上に隠す */
  right: -310px;   /* 半分だけ右に隠す */
  /* 4分割の左下だけ見せたい → 表示位置を左下寄せ */
  background-position: left bottom;
}

/* 左下：左は画面外、下はフッター側へ隠れる想定
   「左端から410pxだけ顔」= 620-410=210pxを左へ隠す */
.p-cta::after{
  left: -210px;
  bottom: -310px; /* 下半分隠す（フッターに隠れる感じ） */
  background-position: center;
}

.p-cta__inner{
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

/* 中央パネル（FV背景と同じ色） */
.p-cta__panel{
  width: 855px;
  height: 290px;
  border-radius: var(--radius-md);
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

/* タイトル：上45px */
.p-cta__title{
  margin: 45px 0 0 0;
  font-size: 35px; /* 既存の見出しと揃えたいなら調整OK */
  line-height: 1.25;
  font-weight: 700;
  color: var(--c-brown);
  text-align: center;
}

/* タイトル下の空間：40px */
.p-cta__buttons{
  margin-top: 40px;
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
}

/* 共通ボタン（PC：W345×H110） */
.p-cta__btn{
  width: 345px;
  height: 110px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}

/* 電話ボタン */
.p-cta__btn--tel{
  background: #fff;
  border: 1px solid var(--c-brown);
  flex-direction: column;
  gap: 6px;
}

.p-cta__telTop{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--c-accent);
  font-size: 35px; /* H35px相当 */
  line-height: 1;
  font-weight: 700;
}

.p-cta__telIcon{
  font-size: 0.7em; /* アイコン少しだけ小さめに */
  line-height: 1;
  transform: translateY(2px);
}

.p-cta__telBottom{
  color: var(--c-brown);
  font-size: 16px; /* H16px */
  line-height: 1.2;
}

/* フォームボタン */
.p-cta__btn--form{
  background: var(--c-brown);
  border: 2px solid var(--c-brown);
  color: #fff;
}

.p-cta__formRow{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 20px; /* 内容H25px相当 */
  line-height: 1.2;
  font-weight: 500;
}

.p-cta__formText{
  font-weight: 500; /* お好みで 500〜700 */
}


.p-cta__formIcon{
  font-size: 0.95em;
}

.p-cta__arrow{
  font-size: 0.95em;
}

/* =========================
  SP
========================= */
@media (max-width: 700px){

  .p-cta{
    height: 500px;
    overflow: hidden;   /* 横だけ切る */
    z-index: 1;            /* ← メインより奥 */
    margin-top: -60px;     /* ← 被り量（好みで -30〜-120 で調整） */
  }

  .p-cta::before,
  .p-cta::after{
    width: 300px;
    height: 300px;
    background-repeat: no-repeat;
    background-size: contain; /* “切り取らずにそのまま表示”寄せ */
  }

  /* 右上：左端から210pxだけ顔 → 270-210=60pxを左に隠す */
  .p-cta::before{
    top: 0;    /* 上半分を隠す */
    right: -135px;  /* 右半分を隠す */
    /* SP指定は「左端から210pxだけ顔」ニュアンスなので位置調整 */
    transform: translateX(-60px);
    background-position: right top;
  }

  /* 左下：左端から175pxだけ顔 → 270-175=95pxを左に隠す */
  .p-cta::after{
    left: -95px;
    bottom: -75px;
    background-position: left bottom;
  }

  .p-cta__panel{
    width: 340px;
    height: auto;
    border-radius: var(--radius-md);
    margin-top: 100px; 
    }

  .p-cta__title{
    margin-top: 40px;
    font-size: 20px;
  }

  .p-cta__buttons{
    margin-top: 25px;
    margin-bottom: 25px;
    flex-direction: column;
    gap: 25px;
  }

  .p-cta__btn{
    width: 255px;
    height: 85px;
  }

  .p-cta__telTop{
    font-size: 30px; /* H30 */
  }

  .p-cta__telBottom{
    font-size: 10px; /* H12 */
  }

  .p-cta__formRow{
    font-size: 20px; /* 内容H18 */
  }


  /* いま grid の place-items:center だと、要素の高さ次第で
     “はみ出し”が出やすいので、上寄せに変更 */
  .p-cta__inner{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;

    /* 仕様「上に70pxの空間」に合わせる */
    padding-top: 70px;

    /* 横はみ出し対策 */
    overflow: hidden;
  }
}



/* =========================================================
  共通ヒーロー（トップページ以外の固定ページ共通想定）
========================================================= */

/* PCのみ：ヒーロー上の余白を完全に消す */
@media (min-width: 901px){

  .c-hero{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .c-hero__inner{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* パンくずの下に100px空間 */
  .p-newsArchive{
    margin-top: 100px;
  }

}

.c-hero{
  position: relative;
  height: 435px; /* PC：パンくず含む */
  overflow: hidden;
}

/* 背景画像（effect.png） */
.c-hero__bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.c-hero__bg::before{
  content: "";
  position: absolute;

  /* PC：背景画像サイズH570、左上から顔出し（上と左は画面外） */
  width: 670px;
  height: 670px;

  /* 「左上からH460/W530が顔出し」→ 見える分だけ残して外へ */
  left: calc(-1 * (570px - 430px)); /* 570-430=140 を左へ隠す */
  top:  calc(-1 * (570px - 360px)); /* 570-360=210 を上へ隠す */

  background-image: url("/wp-content/themes/supreme/_assets/img/common/effect.webp");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left top;
  opacity: 1;
}

.c-hero__inner{
  height: 100%;
  position: relative;
  z-index: 1;
}

/* タイトルブロック（PC：上180px） */
.c-hero__titleBlock{
  padding-top: 180px;
}

.c-hero__titleRow{
  display: flex;
  align-items: center;
  gap: 10px;
}

.c-hero__icon{
  width: 40px;
  height: auto;
  display: block;
}

.c-hero__title{
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
  color: var(--c-brown);
}

/* 英字：タイトル文字の左揃えで25px */
.c-hero__en{
  margin: 6px 0 0 0;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--c-accent);

  /* アイコン+gapぶんだけ右へ（=タイトルの左揃えに合わせる）
  margin-left: calc(40px + 10px); */
}

/* 右側イメージ：左に540px空間 / 上60px / W940 H330 R33 */

.c-hero__imageWrap{
position: absolute;
top: 60px;
left: 400px;
width: 1240px;
height: 330px;
border-radius: var(--radius-mx);
overflow: hidden;
}

.c-hero__image{
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}


/* パンくず：上20pxの空間、右揃え、下100pxの空間（エリア内に収める） */
.c-hero__breadcrumb{
  position: absolute;
  right: 0;
  top: calc(60px + 330px + 20px); /* 画像下+20px */
  width: 100%;
  justify-content: flex-end;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* 右寄せのまま */
  gap: 12px;                 /* ←ここで間隔調整（例: 12〜24px） */
  flex-wrap: wrap;           /* 長い時に折り返し（不要なら消してOK） */
}

/* Breadcrumb NavXT の出力をCSSで寄せる */
.c-hero__breadcrumb,
.c-hero__breadcrumb *{
  font-size: 16px;
  line-height: 1.2;
}

/* リンク＝アクセント / 現在ページ＆区切り＝ブラウン */
.c-hero__breadcrumb a{
  color: var(--c-accent);
  text-decoration: none;
}
.c-hero__breadcrumb .current-item,
.c-hero__breadcrumb .separator{
  color: var(--c-brown);
}
.c-hero__breadcrumb .separator{
  margin: 0 18px;
}

/* プラグイン無し保険（.c-breadcrumb） */
.c-breadcrumb__link{
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(235,108,46,.35);
}
.c-breadcrumb__sep,
.c-breadcrumb__current{
  color: var(--c-brown);
}
.c-breadcrumb__sep{
  margin: 0 8px;
}

/* さっきのmargin系を無効化（干渉防止） */
.c-hero__breadcrumb > *,
.c-hero__breadcrumb span > *{
  margin-right: 0 !important;
}



/* =========================
  SP（〜767px）
========================= */
@media (max-width: 700px){
  .c-hero{
    height: 220px;
  }

  /* SP：背景画像サイズH255、左上からH245/W210顔出し */
  .c-hero__bg::before{
    width: 255px;
    height: 255px;
    left: calc(-1 * (255px - 210px)); /* 45px隠す */
    top:  calc(-1 * (255px - 245px)); /* 10px隠す */
  }

  /* SP：イメージ画像（ヘッダー直下からH105、横幅100%で被さる） */
  .c-hero__imageWrap{
    order: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 105px;
    margin-top: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    border-radius: 0; /* 指示に丸み無しなので 0。必要なら変更OK */
  }

  /* パンくず：上5px、右揃え */
  .c-hero__breadcrumb{
    top: calc(105px + 5px);
    padding-right: 20px;
    order: 2;
    margin-top: 5px;
    text-align: right;
  }

  /* タイトルブロック：上下40px（見た目を成立させるため、下は自然に確保） */
  .c-hero__titleBlock{
    padding-top: calc(105px + 5px + 40px); /* 画像＋パンくず後に40px */
    order: 3; 
    margin-bottom: 40px; /* ←「タイトルブロック下」40px */
  }

  /* タイトル内部：アイコンW26、gap5、タイトル25、英字20左揃え */
  .c-hero__titleRow{
    gap: 5px;
  }
  .c-hero__icon{
    width: 26px;
  }

  .c-hero__en{
    font-size: 20px;
  }

  .c-hero__main{
    padding-top: 40px;
  }

   /* SPヒーローの中身は縦並びで順序固定 */
  .c-hero__inner{
    display: flex;
    flex-direction: column;
  }
}


/* =========================================================
  お知らせアーカイブ
========================================================= */

.p-newsArchive{
  padding-top: 40px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

/* -------------------------
  リスト共通
------------------------- */

.p-newsList{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(72,60,52,.25);
}

.p-newsList__item{
  border-bottom: 1px solid rgba(72,60,52,.25);
}

.p-newsList__link{
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 20px 0;
}

/* 上段 */
.p-newsList__top{
  display: flex;
  align-items: center;
}

/* カテゴリ */
.p-newsList__cat{
  flex: 0 0 105px;
  width: 105px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--c-brown);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 400;
}

/* 日付 */
.p-newsList__date{
  margin-left: 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-brown);
  white-space: nowrap;
}

/* タイトル */
.p-newsList__title{
  font-size: 20px;
  font-weight: 600;
  color: var(--c-brown);
}

/* 矢印 */
.p-newsList__arrow{
  display: inline-flex;
  align-items: center;
}

.p-newsList__arrow .p-dott__btnIcon{
  color: var(--c-accent);
  font-size: 20px;
  line-height: 1;
}

/* hover */
.p-newsList__link:hover .p-newsList__title{
  opacity: .85;
}


/* =========================================================
  PC（768px〜）
========================================================= */

@media (min-width: 901px){

  .p-newsList__link{
    position: relative;
    display: flex;
    align-items: center;
    padding: 35px 50px 35px 0; /* 右に矢印分の逃げ */
  }

  /* 上下概念を無効化 */
  .p-newsList__top,
  .p-newsList__bottom{
    display: contents;
  }

  .p-newsList__title{
    margin-left: 50px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* 矢印を右端中央固定 */
  .p-newsList__arrow{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}


/* =========================================================
  SP（〜767px）
========================================================= */

@media (max-width: 700px){

  .p-newsList__bottom{
    margin-top: 20px;
  }

  .p-newsList__title{
    margin-left: 0;
    font-size: 20px;
    display: block;
  }

  .p-newsList__top{
    display: flex;
    align-items: center;
  }

  .p-newsList__arrow{
    margin-left: auto;   /* ← 右端へ */
    position: static;    /* ← absolute解除 */
    transform: none;     /* ← 念のため解除 */
  }

}


/* =========================================================
  ページネーション
========================================================= */

.p-newsPager{
  margin-top: 100px;
  display: flex;
  justify-content: center;
}

.p-newsPager ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.p-newsPager .page-numbers{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  color: var(--c-accent);
  border: 2px solid var(--c-accent);
  background: #fff;
  box-sizing: border-box;
}

.p-newsPager .page-numbers.current{
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}

/* prev / next */
.p-newsPager .page-numbers.prev,
.p-newsPager .page-numbers.next{
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.p-newsPager .page-numbers.prev{
  margin-right: 33px;
}
.p-newsPager .page-numbers.next{
  margin-left: 33px;
}

.p-newsPager .page-numbers.prev i,
.p-newsPager .page-numbers.next i{
  color: var(--c-accent);
  font-size: 16px;
  line-height: 1;
}


/* SP pagination */

@media (max-width: 700px){

  .p-newsPager{
    margin-top: 40px;
  }

  .p-newsPager .page-numbers{
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .p-newsPager .page-numbers.prev{
    margin-right: 30px;
  }
  .p-newsPager .page-numbers.next{
    margin-left: 30px;
  }

  .p-newsPager .page-numbers.prev i,
  .p-newsPager .page-numbers.next i{
    font-size: 10px;
  }
}

/* =========================
  お知らせ単体：メイン（p-newsSingle）
========================= */

.p-newsSingle{
  /* ページ共通のメイン余白設計に合わせるなら、ここは0でもOK */
  padding: 0;
}

/* ①カテゴリ＋投稿日 */
.p-newsSingle__meta{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px; /* 一覧に合わせて必要なら微調整 */
  margin: 0 0 30px 0; /* PC：下30px */
}

/* カテゴリラベル（一覧と同等：c--brown ベタ＋白） */
.p-newsSingle__cat{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 105px;
  height: 35px;
  border-radius: 999px;

  background: var(--c-brown);
  color: #fff;

  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

/* 投稿日（yyyy/mm/dd） */
.p-newsSingle__date{
  font-size: 16px;
  line-height: 1;
  font-weight: 500; /* 400〜500の範囲指定に寄せる */
  color: var(--c-text);
}

/* ②投稿タイトル */
.p-newsSingle__title{
  margin: 0 0 50px 0; /* PC：下50px */
  font-size: 30px;   /* PC：30px */
  line-height: 1.35;
  font-weight: 600;
  color: var(--c-text);
  text-align: left;
}

/* ③罫線 */
.p-newsSingle__line{
  border: 0;
  height: 1px;
  background: rgba(56,45,39,.35);
  margin: 0 0 50px 0; /* PC：下50px */
}

/* ④本文 */
.p-newsSingle__content{
  margin: 0 0 100px 0; /* PC：下100px */
  color: var(--c-text);
  text-align: left;
}

/* WordPress本文の段落の見た目（必要なら） */
.p-newsSingle__content p{
  margin: 0;
  line-height: 2;
  font-size: 16px; /* 既存に合わせて調整可 */
  font-weight: 400;
}
.p-newsSingle__content p + p{
  margin-top: 1.2em;
}

/* ⑤一覧へボタン */
.p-newsSingle__back{
  margin: 0;
  text-align: center;
}

.p-newsSingle__backBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 200px;
  height: 45px;
  border-radius: var(--radius-md);

  background: var(--c-brown);
  color: #fff;
  text-decoration: none;

  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

/* hover（任意） */
.p-newsSingle__backBtn:hover{
  opacity: .92;
}

/* =========================
  SP（〜767px）
========================= */
@media (max-width: 700px){
  .p-newsSingle{
    background: transparent;
    position: relative;
    z-index: 2;            /* ← CTAより手前 */
  }

  /* ①カテゴリ＋投稿日：下20px */
  .p-newsSingle__meta{
    margin-top: 40px;
    margin-bottom: 20px;
  }

  /* ②タイトル：25px、下40px */
  .p-newsSingle__title{
    font-size: 23px;
    margin-bottom: 40px;
  }

  /* ③罫線：下40px */
  .p-newsSingle__line{
    margin-bottom: 40px;
  }

  /* ④本文：下80px */
  .p-newsSingle__content{
    margin-bottom: 80px;
    font-weight: 500;
  }

  /* ⑤ボタン：W150×35、文字15px */
  .p-newsSingle__backBtn{
    width: 150px;
    height: 35px;
    font-size: 16px;
  }
}


/* =========================================================
  固定ページ：会社概要 (About)
========================================================= */
/* --- 共通タイトルパーツ --- */
.c-sectionTitle {
  display: flex;
  align-items: center;
  gap: 10px;
}
.c-sectionTitle__icon { width: 40px; height: auto; }
.c-sectionTitle__text {
  font-size: 35px;
  font-weight: 700;
  color: var(--c-brown);
}
.c-sectionTitle__icon--spOnly { display: none; }

/* --- ② 代表挨拶 --- */
.p-_1st_Section {
  padding: 80px 0 160px;
  background: #fff;
}
.p-_1st_Section .c-sectionTitle { margin-bottom: 50px; }
.p-_1st_Section__content {
  display: flex;
  gap: 50px;
}
.p-_1st_Section__textBlock {
  width: calc(100% - 380px - 50px);
  height: 320px;
}
.p-_1st_Section__desc {
  font-size: 20px;
  line-height: 1.8;
  color: var(--c-brown);
}
.p-_1st_Section__name {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 700;
  color: var(--c-brown);
}
.p-_1st_Section__image img {
  width: 380px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* --- ③ 会社概要 --- */
.p-_2nd_Section {
  position: relative;
  padding: 100px 0;
  background: var(--c-bg);
  z-index: 100;
}
.p-_2nd_Section .c-sectionTitle { margin-bottom: 50px; }
.p-aboutTable {
  width: 1120px;
  margin: 0 auto;
  border-collapse: collapse;
}
.p-aboutTable th, .p-aboutTable td {
  height: calc(520px / 9); /* 全体高H520を項目数で割る目安 */
  font-size: 20px;
}
.p-aboutTable th {
  width: 260px;
  background: #EB6C2E;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid #fff;
  font-weight: 500;
}
.p-aboutTable td {
  width: 860px;
  background: #fff;
  color: var(--c-brown);
  padding-left: 40px;
  border-bottom: 1px solid #EB6C2E;
}
.p-aboutTable tr:last-child th, .p-aboutTable tr:last-child td { border-bottom: none; }
.p-aboutTable a { color: #EB6C2E; text-decoration: none; }

/* --- ④ アクセス --- */
@media screen and (min-width: 700px){
.p-_3rd_Section { padding-top: 100px; }
}

.p-_3rd_Section .c-sectionTitle { margin-bottom: 0px; }
.p-_3rd_Section__map iframe {
  width: 1120px;
  height: 520px;
  margin-bottom: 30px;
}

/* 文字色 */
.p-square__S__info { color: var(--c-brown); }

/* pタグが元々持っている上下の余白をリセット */
.p-square__S__info p {
  margin: 0; 
  line-height: 1.5;
}

.p-square__S__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  height: auto; /* 固定高さを解除 */
}
.p-square__S__rect {
  display: inline-block;
  width: 5px;
  height: 25px;
  background: var(--c-accent);
}
.p-_3rd_Section__row {
  display: flex;
  gap: 60px;
  margin-top: 20px;
}

.u-sp-indent {
  display: none;
}

/* --- SP版レイアウト --- */
@media (max-width: 700px) {
  .l-container { 
    padding: 0 35px; 
    width: 100%;
    box-sizing: border-box; /* paddingを幅の中に含める設定 */
  }
  
  .c-sectionTitle { justify-content: center; margin-bottom: 30px !important; }
  .c-sectionTitle__icon { width: 26px; }
  .c-sectionTitle__icon--spOnly { display: block; margin-left: 5px; }
  .c-sectionTitle__text { font-size: 23px; }

  .p-_1st_Section { padding: 50px 0 60px; }
  .p-_1st_Section__content { flex-direction: column; gap: 40px; align-items: center; }
  .p-_1st_Section__textBlock { width: 320px; height: auto; }
  .p-_1st_Section__desc { font-size: 16px; font-weight: 500;}
  .p-_1st_Section__name { margin-top: 20px; font-size: 16px; }
  .p-_1st_Section__image img { width: 320px; height: 270px; }

  .p-_2nd_Section { padding: 60px 0; }
  
  .p-aboutTable {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
  }

  /* 行（tr）の設定 */
  .p-aboutTable tr {
    display: block;
    width: 100%;
    margin-bottom: 0; /* 隙間が不要なら0、必要なら調整 */
  }

  /* 項目（th）と内容（td）の共通設定 */
  .p-aboutTable th,
  .p-aboutTable td {
    display: flex; /* blockからflexに変更して中央寄せを制御 */
    align-items: center; /* 垂直方向の中央 */
    justify-content: center; /* 水平方向の中央 */
    width: 100%;
    box-sizing: border-box;
    padding: 10px 15px; /* 上下左右に適切な余白を確保 */
    
    /* PC版の固定高さをリセット */
    height: auto !important; 
    min-height: 40px; /* 最低限の高さ */
  }

  .p-aboutTable td {
    font-weight: 500;
  }

  /* 項目マス（オレンジ） */
  .p-aboutTable th {
    background: #EB6C2E;
    color: #fff;
    font-size: 16px;
    border-bottom: none;
  }

  /* 内容マス（白） */
  .p-aboutTable td {
    background: #fff;
    color: var(--c-brown);
    font-size: 16px;
    border-bottom: 1px solid #EB6C2E;
    line-height: 1.5; /* 複数行になった時の行間 */
  }

  /* 最後の要素のボーダー調整 */
  .p-aboutTable tr:last-child td {
    border-bottom: none;
  }
  .p-_3rd_Section{
    padding-top: 60px; 
  }
  .p-_3rd_Section .c-sectionTitle { margin-bottom: 40px !important; }
  .p-_3rd_Section__map iframe { width: 320px; height: 320px; margin: 0 auto 20px; display: block; }
  .p-square__S__info { 
    width: 100%;
    max-width: 900px; /* マップの最大幅と合わせる */
    margin: 0 auto;   /* 中央に寄せる */
    padding: 0;       /* 余計なパディングをリセット */
    box-sizing: border-box;
   }
  .p-square__S__info p {
    font-size: 16px;
    font-weight: 500;
  }
  .p-_3rd_Section__row { flex-direction: column; gap: 20px; margin-top: 20px; }
  .p-square__S__rect { height: 20px; }
  .p-square__S__item--train { align-items: flex-start; }
  .p-_3rd_Section__indent { display: block; height: 0; margin-top: 0; }
 
  .p-square__S__item--train p { line-height: 1.5; }
  .u-sp-indent {
    display: inline; /* 改行と空白を有効にする */
  }
  /* 2行になるので、アイコン（四角）を1行目の頭に固定 */
  .p-square__S__item--train {
    align-items: flex-start !important;
  }
  .p-square__S__item--train .p-square__S__rect {
    margin-top: 4px; /* 1行目の文字の高さに合わせる */
  }
}



/* =========================================================
  固定ページ：訪問介護 (Home care service)
========================================================= */

/* =========================
  イントロダクション (訪問介護)
========================= */

.Bg-Circle2-RightUp {
  position: relative;
  background: transparent;
  overflow: hidden; /* 背景のはみ出し対策 */
  z-index: 1;       /* 提供サービス内容(z-index:2想定)より下 */
  padding: 110px 0; /* PC上下余白 */
}

/* 背景画像（CTAと同じ仕様） */
.Bg-Circle2-RightUp::before,
.Bg-Circle2-RightUp::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  background-image: url("/wp-content/themes/supreme/_assets/img/common/effect.webp");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}

/* 右上 */
.Bg-Circle2-RightUp::before {
  top: 0px;
  right: -310px;
  background-position: left bottom;
}

/* 左下 */
.Bg-Circle2-RightUp::after {
  left: -210px;
  bottom: -310px;
  background-position: center;
}


/* タイトルエリア（左寄せ） */
.p-home-careMessage .c-sectionTitle__text {
  font-size: 40px;
  text-align: left; /* PC: 左寄せ */
  margin-bottom: 0;
  color: var(--c-brown);
  line-height: 1.4;
}

/* タイトル下の点線（オレンジの下線） */
.p-home-careMessage .c-sectionTitle {
  justify-content: flex-start; /* PC: 左寄せ */
  position: relative;
  padding-bottom: 10px; /* タイトル下10px */
  margin-bottom: 60px; /* 線から本文まで60px */
}

.p-home-careMessage .c-sectionTitle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;  /* 文字〜矢印まで全部 */
  bottom: 0;
  height: 3px;
  background-image: radial-gradient(
    circle,
    var(--c-accent) 1.5px,
    transparent 1.5px
  );
  background-size: 9px 3px;  /* ←間隔調整 */
  background-repeat: repeat-x;
  background-position: left center;
  display: inline;
  box-decoration-break: clone;
}

/* 本文エリア */
.p-home-careMessage__content {
  margin-top: 60px; /* PCタイトル下60px */
}

.p-home-careMessage__desc {
  font-size: 20px;
  line-height: 2;
  color: var(--c-brown);
  text-align: left;
}

/* 外側の白い角丸ボックス */
.white-square{
  background-color:var(--c-white);
  border-radius: var(--radius-mx);
  box-shadow:0 4px 20px rgba(72, 60, 52, 0.15);
}

.p-home-careService__inner {
  padding:70px 80px;
  display: flex;         /* 横並びを有効化 */
  flex-direction: row;   /* PCでは横並び */
  gap: 80px;
  align-items: flex-start;
}

.p-home-careService__column {
  flex: 1; /* 均等幅 */
}

/* 見出し：身体介護 / 生活援助 */
.p-home-careService__title {
  color: var(--c-brown);
  font-size: 30px;
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  position: relative;
}

/* 見出し下のオレンジドット線 */
.p-home-careService__title::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;  /* 文字〜矢印まで全部 */
  bottom: 0;
  height: 3px;
  background-image: radial-gradient(
    circle,
    var(--c-accent) 1.5px,
    transparent 1.5px
  );
  background-size: 9px 3px;  /* ←間隔調整 */
  background-repeat: repeat-x;
  background-position: left center;
}

/* リストスタイル */
.p-home-careService__list {
  list-style: none;
  padding: 20px 0 0 25px;
  margin: 0;
}

.p-home-careService__list li {
  font-size: 20px;
  line-height: 2;
  color:  var(--c-brown);
  position: relative;
  padding-left: 1.5em;
}

/* 箇条書きの中黒（・）を擬似要素で作成 */
.p-home-careService__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--c-brown);
}

.p-home-carePrice__note{
  font-size: 23px;
}


/* =========================
  SP版レイアウト
========================= */
@media (max-width: 700px) {
  .Bg-Circle2-RightUp {
    padding: 80px 0 60px; /* 上80px / 下60px */
  }

  /* 背景画像サイズ調整 */
  .Bg-Circle2-RightUp::before,
  .Bg-Circle2-RightUp::after {
    width: 300px;
    height: 300px;
  }

  .Bg-Circle2-RightUp::before {
    top: 0px;
    right: -100px;
  }

  .Bg-Circle2-RightUp::after {
    left: -100px;
    bottom: -150px;
  }

  /* タイトル中央寄せ */
  .p-home-careMessage .c-sectionTitle {
    text-align: center;
    display: flex;
    justify-content: center;
  }

  .p-home-careMessage .c-sectionTitle__text {
    font-size: 20px;
    padding-bottom: 5px; /* タイトル下5px */
    line-height: 1.4;
  }

  /* 本文エリア */
  .p-home-careMessage__content {
    margin-top: 40px; /* 本文上40px */
  }

  .p-home-careMessage__desc {
    font-size: 16px;
    text-align: center; /* SP中央寄せ */
  }

  /* 外側の白い角丸ボックス */
.white-square{
  background-color:var(--c-white);
  border-radius: var(--radius-mx);
  box-shadow:0 4px 20px rgba(72, 60, 52, 0.15);
}

.p-home-careService__inner {
  padding:40px 25px;
  flex-direction: column; /* SPでは縦並びにする */
  gap: 40px;
}

.p-home-careService__column {
  flex: 1; /* 均等幅 */
  width: 100%;
}

/* 見出し：身体介護 / 生活援助 */
.p-home-careService__title {
  font-size: 20px;
}

/* リストスタイル */
.p-home-careService__list {
  padding: 30px 0 0 25px;
}

.p-home-careService__list li {
  font-size: 16px;
  font-weight: 500;
}

.p-home-carePrice__note{
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}
}



/* ==========================================================================
p-sitemap (サイトマップセクション)
========================================================================== */
/* ①サイトマップブロック */
.p-sitemap {
  padding-top: 125px;
  width: 100%;
}

@media screen and (max-width: 700px) {
  .p-sitemap {
    padding-top: 60px;
  }
}

/* リスト全体のレイアウト */
.p-sitemap__list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 100px;
  row-gap: 0;
}

@media screen and (max-width: 1120px) {
  .p-sitemap__list {
    justify-content: center;
  }
}

@media screen and (max-width: 700px) {
  .p-sitemap__list {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
}
@media screen and (min-width: 701px) {
/* ②ページブロック */
.p-sitemap__item {
  width: 300px;
  min-height: 130px;
  padding-bottom: 100px;
}
}

@media screen and (max-width: 700px) {
  .p-sitemap__item {
    width: 300px;
    height: auto;
    padding-bottom: 50px;
  }
}

/* ③親ページブロック */
.p-sitemap__parent .c-btn-dott {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 45px;
  font-size: 23px;
  text-decoration: none;
}

@media screen and (max-width: 700px) {
  .p-sitemap__parent .c-btn-dott {
    height: 35px;
    font-size: 20px;
  }
}

/* ④子ページブロック */
.p-sitemap__children {
  margin: 0;
  list-style: none;
  padding-top: 20px;
  padding-left: 20px;
}

@media screen and (max-width: 700px) {
  .p-sitemap__children {
    padding-top: 15px;
    padding-left: 15px;
  }
}

.p-sitemap__childItem {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 10px;
}

@media screen and (max-width: 700px) {
  .p-sitemap__childItem {
    font-size: 16px;
    font-weight: 500;
  }
}

.p-sitemap__childItem a {
  text-decoration: none;
  color: inherit;
}

.p-sitemap__childItem a:hover {
  opacity: 0.7;
}



/* ==========================================================================
   p-ppContent (プライバシーポリシー本文エリア)
========================================================================== */

/* ①全体ブロック */
.p-ppContent {

  z-index: -90; /* ヒーロー(z-index: 1)よりも手前に表示 */
  padding-top: 150px;
  padding-bottom: 100px; /* 余白の調整 */
}

.p-ppContent__inner {
  max-width: 720px; /* PC版 */
  margin-right: auto;
  color: var(--c-brown);
}

@media screen and (max-width: 700px) {
  .p-ppContent {
    background-color: transparent;
    padding-top: 30px;
  }
  .p-ppContent__inner {
    color: var(--c-brown);
  }
}

/* ③説明文・リード文の共通設定 */
.p-ppContent__lead,
.p-ppContent__text {
  font-size: 20px;
  line-height: 1.7;
  padding-top: 0px;
  padding-bottom: 60px;
}

/* ②タイトル */
.p-ppContent__title {
  font-size: 30px;
  font-weight: bold;
  padding-top: 0px;
  padding-bottom: 30px;
}

/* スマホ版のサイズ調整 */
@media screen and (max-width: 700px) {
  .p-ppContent__lead,
  .p-ppContent__text {
    font-weight: 500;
    font-size: 16px;
    padding-top: 0px;
    padding-bottom: 30px;
  }

  .p-ppContent__title {
    font-size: 20px;
    padding-top: 0px;
    padding-bottom: 10px;
  }
}

/* 最後のブロックの余白を調整 */
.p-ppContent__block:last-child .p-ppContent__text {
  padding-bottom: 0;
}

/* =========================================================
  画像なしページ（プライバシーポリシー等）のSP調整
========================================================= */
@media (max-width: 700px) {
  /* ページ全体のクラスで限定 */
  .p-PrivacyPolicyPage .c-hero {
    /* 固定高さ210pxを解除して中身（文字）に合わせる */
    height: auto !important;
    padding-bottom: 40px; /* セクション下の余白 */
  }

  .p-PrivacyPolicyPage .c-hero__inner {
    /* flexの縦並び順序をパンくず→タイトルに整える（必要なら） */
    display: flex !important;
    flex-direction: column !important;
  }

  /* パンくず：画像(105px)前提の配置をリセット */
  .p-PrivacyPolicyPage .c-hero__breadcrumb {
    position: static !important; /* 絶対配置を解除 */
    margin-top: 20px !important; /* ヘッダーからの余白 */
    order: 1 !important;         /* 一番上に配置 */
    padding-right: 20px;
    text-align: right;
  }

  /* タイトルブロック：画像＋パンくず分のpadding(105px+α)をリセット */
  .p-PrivacyPolicyPage .c-hero__titleBlock {
    padding-top: 20px !important; /* パンくずとの間隔 */
    order: 2 !important;          /* パンくずの下に配置 */
    margin-bottom: 0 !important;
  }

   /* SP：背景画像サイズH255、左上からH245/W210顔出し */
  .p-PrivacyPolicyPage .c-hero__bg::before{
    width: 255px;
    height: 255px;
    left: calc(-1 * (255px - 210px)); /* 45px隠す */
    top:  calc(-1 * (255px - 145px)); /* 10px隠す */
  }

  /* 最終手段：さらに全体を上に詰めたい場合のみ使用 */
  /* .p-PrivacyPolicyPage .p-ppContent {
    margin-top: -50px !important;
  }
  */
}

/* ==========================================================================
  料金・Q&A
========================================================================== */

/* オレンジボックス見出し文字色 */
.p-square__L__info { color: var(--c-brown); }

/* pタグが元々持っている上下の余白をリセット */
.p-square__L__info p {
  margin: 0; 
  line-height: 1.5;
}

.p-square__L__item {
  display: flex;
  align-items: center;
  font-size: 30px;
  font-weight: bold;
  gap: 15px;
  height: auto; /* 固定高さを解除 */
}
.p-square__L__rect {
  display: inline-block;
  width: 10px;
  height: 30px;
  background: var(--c-accent);
}


/* テーブル全体のコンテナ */
.p-priceTable {
  width: 100%;
  max-width: 1200px; /* 必要に応じて調整 */
  margin: 30px 0px;
}

.p-priceTable__container {
  display: flex;
}

/* 各テーブル共通設定 */
.p-priceTable__unit {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.p-priceTable__unit th,
.p-priceTable__unit td {
  border: 1px solid #DEDEDE;
  padding: 15px;
  text-align: center;
  vertical-align: middle;
  height: 55px;
}

/* 1行目（ヘッド） */
.p-priceTable__unit thead th {
  background-color: var(--c-accent);
  color: #fff;
  font-weight: normal;
}

/* 項目列（背景色あり） */
.p-priceTable__unit tbody th {
  background-color: #FFEDE2;
  font-weight: normal;
  color: #333;
}

/* 値段列（背景色なし） */
.p-priceTable__unit tbody td {
  background-color: transparent;
  color: #333;
}

/* 合計行の強調 */
.p-priceTable__total strong {
  font-size: 1.2em;
}

/* 注釈 */
.p-priceTable__note {
  text-align: right;
  font-size: 16px;
  margin-top: 10px;
  color: #666;
}

.white-square__inner{
  padding:60px 50px;
  display: flex;
  gap: 60px;
  flex-direction: column;
  align-items: flex-start;
}


/* 最後のグループだけは下の余白を消す（外枠のpaddingと重複させないため） */
.p-qa__BoxGroup:last-child {
  margin-bottom: 0;
}

.p-qa__innnerbox{
  display: flex;
  gap: 10px;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 15px;
}

/* Q&A 共通のベース設定 */
.question, .answer {
  display: flex;         /* 横並びにする */
  align-items: flex-start; /* 上端で揃える */
  gap: 10px;             /* ラベルと本文の間隔 */
  font-size: 23px;
  line-height: 1.5;
}

/* 質問（Q）の装飾 */
.question {
  color: var(--c-accent);
  font-weight: 600;      /* 太さを600に調整 */
  margin-bottom: -10px;
}

.question::before {
  content: "Q";
  font-size: 30px;
  font-weight: 700;
  min-width: 1.0em;      /* 左側のエリア幅を固定 */
  flex-shrink: 0;        /* ラベルが潰れないように固定 */
  transform: translateY(-5px);
}

/* 回答（A）の装飾 */
.answer {
  color: var(--c-text);
  font-weight: 400;      /* 本文は標準の太さに */
}

.answer::before {
  content: "A";
  font-size: 30px;
  font-weight: 600;
  color: var(--c-text);
  min-width: 1.0em;      /* Qと幅を揃える */
  flex-shrink: 0;        /* 左側に「A」を固定し、本文を回り込ませない */
  transform: translateY(-5px);
}



/* =========================================================
  PC版のレイアウト調整（1つの表に見せる）
========================================================= */
@media screen and (min-width: 701px) {
  .p-price__Content1{
    margin-bottom: 80px;
  }

  /* 2つのテーブルを隙間なく並べる */
  .p-priceTable__unit + .p-priceTable__unit {
    margin-left: -1px; /* 境界線の重なりを解消 */
  }

  /* 2つ目のテーブルの「項目」列を完全に消す */
  .p-priceTable__unit:nth-child(2) th:first-child,
  .p-priceTable__unit:nth-child(2) .u-pcOnly {
    display: none;
  }

  .u-spOnly {
    display: none;
  }

/* PC版（769px以上）で、項目の列だけを左揃えにする */
  .p-priceTable__unit tbody th {
    text-align: left !important;
    padding-left: 20px; /* 左側に少し余白を作ると見やすくなります */
  }


  /* 3列（項目 / 個室 / 2人部屋）を均等に33.3%ずつ配分
     ※2つのテーブルを並べているため、それぞれのth/tdに幅を指定します
  */
  .p-priceTable__unit th,
  .p-priceTable__unit td {
    width: 33.33% !important;
    box-sizing: border-box;
  }

  /* 共通設定：テーブルのレイアウトを固定 */
  .p-priceTable__unit {
    table-layout: fixed !important;
    width: 100%;
  }

  /* --- 1つ目のテーブル（項目 / 個室の場合） --- */
  /* 全2列のうち、左側（項目）に全体の 1/3 の幅を持たせる */
  .p-priceTable__unit:first-child th,
  .p-priceTable__unit:first-child td {
    width: 50% !important; /* テーブル内では半分だが、全体で見れば1/3ずつ */
  }

  /* --- 2つ目のテーブル（2人部屋の場合） --- */
  /* 「項目」列を消しているため、残った「2人部屋」列が
     全体の 1/3 の幅になるように調整する */
  .p-priceTable__unit:nth-child(2) {
    width: 33.33% !important; /* テーブル自体の幅を全体の1/3にする */
  }

  .p-priceTable__unit:nth-child(2) th,
  .p-priceTable__unit:nth-child(2) td {
    width: 100% !important; /* その中で100%使い切る */
  }

  /* 1つ目のテーブルは残りの 66.66% を占めるようにする */
  .p-priceTable__unit:first-child {
    width: 66.66% !important;
  }

  .p-price__visit{
    font-size: 23px;
    margin-top: 40px;
    margin-left: 25px;
  }
}


/* =========================================================
  SP版のレイアウト調整（縦2列に分ける）
========================================================= */
@media screen and (max-width: 700px) {

  .p-price__Content1{
  margin-bottom:60px ; 
}

.p-square__L__info {
    display: flex;
    justify-content: center; /* 横方向の中央寄せ */
   }
.p-square__L__item {
  font-size: 20px;
  font-weight: 500;
  gap: 10px;
}
  .p-square__L__rect {
  width: 5px;
  height: 20px;}

  /* 1. 不要なセル（項目マス）を確実に非表示にする */
  .u-pcOnly,
  .p-priceTable__unit thead th.u-pcOnly {
    display: none !important;
  }

  /* 2. セルの縦幅を狭め、文字を中央揃えにする */
  .p-priceTable__unit th,
  .p-priceTable__unit td {
    /* display: blockだと中央揃えが難しいため、flexを使用 */
    display: flex !important;
    align-items: center;      /* 上下中央 */
    justify-content: center;  /* 左右中央 */
    font-weight: 500;
    width: 100% !important;
    height: auto !important;
    min-height: 44px;         /* 縦幅をスリムに（44pxはタップしやすい最小サイズ） */
    padding: 8px 15px !important; /* 上下余白を削る */
    box-sizing: border-box;
    
    /* 枠線の調整（縦に並ぶ際の重複を防ぐ） */
    border-bottom: none;
  }

  /* 最後のセルだけ下線を引く */
  .p-priceTable__unit td:last-child {
    border-bottom: 1px solid #DEDEDE;
  }

  /* 3. 各行の背景色と文字の太さ */
  .p-priceTable__unit tbody th {
    background-color: #FFEDE2;
    font-size: 16px;
    font-weight: 500;
  }

  .p-priceTable__unit tbody td {
    background-color: #ffffff;
    font-size: 16px;
  }

  /* テーブル間の余白 */
  .p-priceTable__container {
    flex-direction: column;
    gap: 30px !important;
  }

  .p-priceTable__note{
    text-align: center;
    font-weight: 500;
  }

  .p-price__visit{
  text-align: center;
  font-weight: 500;
  }
}

/* =========================================================
  料金表下の注釈エリア
========================================================= */
.p-price__footer {
  margin: 30px 40px 0px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px; /* 行同士の間隔 */
}

.p-price__footer__btn{
  padding: 40px 0px 0px 25px;
}

.p-price__info {
  display: flex;
  align-items: center;
  gap: 15px; /* ラベルと説明文の間隔 */
  margin: 0;
}

/* ラベル部分（黒い丸角） */
.p-price__info dt {
  background-color: #4A4340; /* 濃いブラウン〜黒 */
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 4px 16px;
  border-radius: 50px; /* 完全に丸くする */
  white-space: nowrap; /* 改行させない */
  min-width: 100px;    /* ラベルの幅を統一 */
  text-align: center;
}

/* 説明文部分 */
.p-price__info dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}



/* =========================================================
  SP版の調整（～768px）
========================================================= */
@media screen and (max-width: 700px) {
  .p-price__footer {
    margin: 30px 0px;
    align-items: center; /* 全体を中央寄せ */
    text-align: center;
  }
  .p-price__footer__btn{
  margin: 20px auto;
  text-align: center;
  padding: 0px !important;
}

  .p-price__info {
    flex-direction: column; /* 縦並びに変更 */
    gap: 10px;
  }

  .p-price__info dt {
    width: fit-content;
    min-width: 120px;
  }

  .p-price__info dd {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
  }


.white-square__inner{
  padding:40px 25px;
}

.p-qa__BoxGroup{
  gap: 30px;
}

.p-qa__innnerbox{
  padding: 0 15px;
}

.p-qa__set{
  gap:25px;
}

/* Q&A */
  .question, .answer {
    font-size: 20px;     /* スマホで見やすいサイズに */
    gap: 10px;
  }
  .question::before, .answer::before {
    font-size: 20px;
    min-width: 1.2em;
    transform: translateY(0px);
  }
}



/* =========================================================
  採用情報
========================================================= */


.p-Recruit_1st_Section{
/* 表示エリアのサイズ */
  width: 100%;
  height: 880px;

  /* 背景画像の設定 */
  background-repeat: no-repeat;
  background-position: center center;
  
  /* 【重要】隙間なく一面に広げ、比率を維持する */
  background-size: cover;
  color: #fff;
  text-align: center;
}

.top__copy {
  display: flex;
  flex-direction: column;  /* 中身を縦並びに */
  justify-content: flex-end; /* 下側に寄せる */ 
}

/* --- 共通・装飾 --- */
.p-recruit-nav {
  right: 0;
  position: fixed;
  z-index: 1000;
  background-color: var(--c-bg);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); /* ドロップシャドウ */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s;
  visibility: hidden;
  opacity: 0;
}


/* 点線装飾のクラス：li または a に適用 */
.p-recruit-nav__list li {
  list-style: none;
  display: block;
  padding-bottom: 0; /* aタグ側で余白を管理するため */
  margin-bottom: 24px; /* 項目間の距離 */
}

/* aタグをブロック要素にして、点線を端から端まで引く */
.p-recruit-nav__menu a.c-btn-dott {
  display: block;         /* 横幅いっぱいに広げる */
  width: 85%;            /* 親要素(li)の幅に合わせる */
  text-decoration: none;
  padding-bottom: 8px;    /* 文字と線の間の距離 */
  color: inherit;
}

/* 文字自体のスタイリング（サイズ調整など） */
.c-btn-dott__recruit {
  font-size: 20px;
  display: inline-block; /* 必要に応じて */
}

/* --- PC版 (769px以上) --- */
@media (min-width: 701px) {
  .top__copy {
    height: 880px;
  }

  .top__copy h1{
    font-size:70px ;
    text-align: left;
  }

  .p-recruit-nav {
    top: 50%;
    right: 20px;
    transform: translateY(-50%) translateX(0); /* 最初は開いている  */
    width: 270px;
    padding-top: 30px;
    border-radius: 8px;
    overflow: visible; /* これを入れると中身がはみ出さなくなります */
  }
  .c-btn-dott__recruit{
    font-size: 20px;
  }
  .p-recruit-nav__logo {
    text-align: center;
    margin-bottom: 30px;
  }
  .p-recruit-nav__logo img { width: 30px; }

  /* 閉じた状態：画面右外へ飛ばす */
  .p-recruit-nav.is-closed {
    transform: translateY(-50%) translateX(290px);
  }

  /* 下部の閉じるボタン */
  .p-recruit-nav__close-btn {
    display: block;
    width: 100%;       /* width: 270pxだと親との間に隙間ができる可能性があるため100%を推奨 [cite: 9] */
    height: 48px;      /* 少し高さを出すと押しやすくなります [cite: 9] */
    margin: 20px 0 0;  /* 左右autoを外し、下端に密着させる [cite: 9] */
    background: var(--c-accent); 
    color: #fff; 
    font-size: 20px; 
    
    /* 枠線を消すための重要プロパティ */
    border: none;      /* デフォルトのボーダーを消去 [cite: 9] */
    outline: none;     /* フォーカス時の輪郭線を消去 */
    cursor: pointer;   /* マウスを乗せた時に指マークにする */

    /* 角丸の調整：下2点のみ本体と同じ 8px に設定 */
    border-radius: 0 0 8px 8px; 
  }

  /* 画面右中央に張り付く「開く」ボタン */
 .p-recruit-nav__open-btn-pc {
    /* 既存のプロパティ */
    display: none !important;
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    width: 100px;
    height: 200px;
    background: var(--c-accent);
    color: #fff;
    border: none;
    border-radius: 100px 0 0 100px;
    cursor: pointer;
    font-size: 18px;
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column-reverse; /* 子要素の順序を逆転（矢印が左、文字が右に） */
    align-items: center;
    justify-content: center;
    padding-left: 15px; /* 半円のカーブを避けるための左余白 */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); /* ドロップシャドウ */  
  }

  /* 矢印アイコン自体の調整（必要に応じて） */
  .p-recruit-nav__open-btn-pc .arrow {
    margin-top: 10px;
    font-size: 2em;
  }

  .p-recruit-nav.is-closed {
    /* 修正2: 本体(270px) + 余白(20px) = 290px 移動させて画面外へ */
    transform: translateY(-50%) translateX(290px);
  }

  /* 閉じている時だけ表示 */
  .p-recruit-nav.is-closed .p-recruit-nav__open-btn-pc {
    display: flex !important;
  }

  /* スマホ用トグルボタンをPCでは完全に消す */
  .p-recruit-nav__open-toggle-btn-sp.u-mobile {
    display: none !important;
  }
  /* スマホ用トグルボタンをPCでは完全に消す */
  .p-recruit-nav__close-toggle-btn-sp.u-mobile {
    display: none !important;
  }

  .p-recruit-nav__toggle-btn-sp.u-mobile{
    display: none;
  }
}

/* --- SP版 (700px以下) 修正 --- */
@media (max-width: 700px) {
  .p-Recruit_1st_Section{
  margin-top: 20px;
  height: 400px;
  }

  .top__copy {
    height: 400px;
  }

  .top__copy h1{
    font-size:40px ;
    text-align: left;
  }
  
}

/* --- SP版 (700px以下) 決定版：ヘッダー直下固定・スライドダウン --- */
@media (max-width: 700px) {
  /* 1. 外側のコンテナ：最初からヘッダー（80px）の下に固定 */
  .p-recruit-nav {
    position: fixed !important; /* stickyからfixedに変更 */
    top: 80px; /* ヘッダーの高さ分下げる */
    left: 0;
    width: 100%;
    z-index: 100;
    
    /* 共通設定の強制解除 */
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  /* 2. 移動する中身本体 */
  .p-recruit-nav__inner {
    position: relative;
    width: 100%;
    background-color: #FFF9EE;
    display: flex;
    flex-direction: column;
    
    /* 【重要】初期状態：リスト部分をヘッダーの裏（上）へ隠す */
    /* リスト部分（100%）を上に飛ばすが、ボタンだけは下に見えるように調整 */
    transform: translateY(-100%); 
    
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  /* 3. 開いた時の状態：ヘッダーのすぐ下へスライドダウン */
  .p-recruit-nav.is-open .p-recruit-nav__inner {
    transform: translateY(0);
  }

  /* 4. メニューリスト（2列レイアウト） */
  .p-recruit-nav__list {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 15px 20px 35px; /* 左右の余白を少し詰める */
  margin: 0;
  /* 左寄せ気味にして、項目間の隙間を直接コントロールする */
  justify-content: flex-start; 
  gap: 0 2%; /* 左右のアイテム間の隙間を 4% に固定（お好みで 2% などに下げて調整） */
  list-style: none;
}

  .p-recruit-nav__list li {
  width: 48%; 
  /* 2列並びを維持するための最小幅（必要に応じて調整） */
  margin-bottom: 20px; /* 項目間の上下の距離 */
  list-style: none; /* [cite: 11] */
}

  .c-btn-dott__recruit {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    white-space: nowrap; /* テキストの折り返しを防ぐ */
  }

  /* 5. トグルボタン：常にinnerの底にくっついて「取っ手」になる */
  .p-recruit-nav__toggle-btn-sp.u-mobile {
    display: flex !important;
    width: 100%;
    height: 50px;
    background-color: var(--c-accent);
    color: #fff;
    border: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    gap: 8px;

    /* innerが上に隠れていても、その下端に張り付いて画面に見えるようにする */
    position: absolute;
    top: 100%;
    left: 0;
  }
  
  /* 開いている時は、ボタンがリストの末尾に自然に続くように配置 */
  .p-recruit-nav.is-open .p-recruit-nav__toggle-btn-sp.u-mobile {
    position: relative;
    top: auto;
  }

  /* 不要な要素の完全排除 */
  .p-recruit-nav__logo,
  .p-recruit-nav__close-btn.u-desktop,
  .p-recruit-nav__open-btn-pc.u-desktop,
  .p-recruit-nav__open-toggle-btn-sp {
    display: none !important;
  }
}

/* =========================================================
  採用情報：2セクション目（メッセージ）
========================================================= */
.p-Recruit_2nd_Section{
  background-color: var(--c-bg);
}

.recruit-message{
  font-size: 23px;
  text-align: center;
  color: #483C34;
  line-height: 2em;
}

@media (max-width: 700px) {
  .recruit-message{
  font-size: 16px;
  font-weight: 500;
}
}

/* =========================================================
  採用情報：3セクション目（メッセージ）
========================================================= */

.p-Recruit_3rd_Section{
  padding: 100px 0;

}
@media (max-width: 700px) {
  .p-Recruit_3rd_Section{
  padding: 70px 0 80px 0;
}
}

.recruite-title-text{
  font-size: 55px;
  text-align: center;
}
@media (max-width: 700px) {
  .recruite-title-text{
  font-size: 23px;
}
}

.circle-container{
  display: flex; /* Flexboxで横並びに */
  gap: 35px; /* 丸の間の余白 */
  justify-content: center; /* 中央寄せ */
  padding: 40px 0 115px 0;
}
@media (max-width: 700px) {
  .circle-container{
  gap: 20px; /* 丸の間の余白 */
  padding: 20px 0 40px 0;
  }
}

.yellow-circle {
  width: 25px;
  height: 25px;
  background-color:#FFF09D;
  border-radius: 50%;
}
@media (max-width: 700px) {
  .yellow-circle {
  width: 12px;
  height: 12px;
}
}

/* ベーススタイル（共通） */
.r3-content {
  display: flex;
  flex-direction: column;
}

.r3-content-Box {
  display: flex;
  align-items: center; /* 垂直中央揃え */
}

.r3-content-img {
  flex-shrink: 0;
}

.r3-content-Group {
  display: flex;
  flex-direction: column;
}

.r3-content-title {
  color: #AC976F;
  font-weight: bold;
}

.r3-content-text {
  color: var(--c-text);
  line-height: 1.6;
}

.staff-btn-VoiceMore{
  background-color: var(--c-brown);
  color: white;
  margin: auto;
  text-align: center;
  transition: background-color 0.3s ease; /* ふんわり変化させるためのアニメーション */
}

/* ホバー時のスタイル */
.staff-btn-VoiceMore:hover {
  background-color: var(--c-accent);
}

/* -------------------------------------------
   PC版: 701px以上
------------------------------------------- */
@media screen and (min-width: 701px) {
  .r3-content {
    gap: 50px; /* Box同士の間隔 */
  }

  .r3-content-Box {
    gap: 50px; /* imgとGroupの間隔 */
  }

  .r3-content-img {
    width: 315px;
    height: 315px;
  }

  .r3-content-Group {
    text-align: left;
    gap: 30px; /* titleとtextの間隔 */
  }

  .r3-content-title {
    font-size: 45px;
  }

  .r3-content-text {
    font-size: 20px;
  }

  .staff-btn-VoiceMore{
  width: 240px;
  height: 40px;
  line-height: 40px;
}
}

/* -------------------------------------------
   SP版: 700px以下
------------------------------------------- */
@media screen and (max-width: 700px) {
  .r3-content {
    gap: 50px; /* Box同士の間隔 */
  }

  .r3-content-Box {
    flex-direction: column; /* 縦並び */
    gap: 0px; /* imgとGroupの間隔 */
  }

  /* HTMLの記述順によらずSPでは画像が上に来るようにする場合 */
  /* 必要に応じて、2番目のBoxの並びを制御 */
  .r3-content-Box:nth-child(even) {
    flex-direction: column-reverse; 
  }

  .r3-content-img {
    width: 235px;
    height: 235px;
    margin-bottom: 20px; /* 縦並びの際の画像下の余白（任意） */
  }

  .r3-content-Group {
    text-align: center;
    gap: 20px; /* titleとtextの間隔 */
  }

  .r3-content-title {
    font-size: 23px;
  }

  .r3-content-text {
    font-size: 16px;
    font-weight: 500;
  }

  .staff-btn-VoiceMore{
  width: 170px;
  height: 30px;
  line-height: 30px;
}
}

/* -------------------------------------------
   共通設定
------------------------------------------- */
.p-Recruit_4th_Section {
  width: 100%;
}

.c-round-Box {
  background-color: var(--c-bg);
  position: relative;
  overflow: hidden; /* 角丸からはみ出さないように */
}

.c-round-title {
  color: #AC976F;
  font-weight: bold;
  line-height: 1.4;
}

.c-round-text {
  color: var(--c-text);
  line-height: 1.8;
}

.c-round-name {
  font-weight: bold;
  color: var(--c-text); /* 必要に応じて変更してください */
}

/* =========================================================
  代表挨拶：4セクション目（メッセージ）
========================================================= */
/* --- c-round-Box --- */
.c-round-Box {
  background-color: var(--c-bg);
  display: flex;
  position: relative;
  overflow: hidden; /* 角丸の食い込み防止 */
}

.c-round-title {
  color: #AC976F;
  font-weight: bold;
}

.c-round-text {
  color: var(--c-text);
}

.c-round-name {
  font-weight: bold;
}
/* --- PC版: 701px以上 --- */
@media screen and (min-width: 701px) {
  .p-Recruit_4th_Section {
    padding-bottom: 200px;
  }

  .c-round-Box {
    display: grid; /* Gridを使うと位置指定が自由になります */
    grid-template-columns: 600px 1fr; /* 左600px, 右残り */
    align-items: center;
    border-radius: var(--radius-xx);
    padding: 0 55px 75px 55px; /* Box全体の余白 */
  }

  .c-round-TextBox {
    grid-column: 1;
    grid-row: 1;
    width: 600px;
    text-align: left;
  }

  .c-round-img {
    width: 310px;
    height: 390px;
    grid-column: 2;
    grid-row: 1 / 3; /* 画像を1行目から2行目にかけて縦に結合 */
    justify-self: center;
    object-fit: cover;
    padding: 70px 55px 0 80px;
  }

  .c-round-name {
    grid-column: 1;
    grid-row: 2;
    font-size: 23px;
    font-weight: bold;
    text-align: left;
  }

  .c-round-title { font-size: 55px; margin-bottom: 30px; }
  .c-round-text { font-size: 20px; }
}

/* --- SP版: 700px以下 --- */
@media screen and (max-width: 700px) {
  .p-Recruit_4th_Section {
    padding-bottom: 100px;
  }

  .c-round-Box {
    display: block; /* 縦に流すだけにする */
    border-radius: var(--radius-lg);
    text-align: center;
    padding: 30px 25px;
  }

  .c-round-TextBox {
    width: 100%;
    margin: 0 auto;
  }

  .c-round-img {
    margin: 20px auto; /* 画像の上下に余白 */
    width: 200px; /* サイズは適宜 */
    height: 250px;
    object-fit: cover;
  }

  .c-round-name {
    font-size: 16px;
    font-weight: bold;
    padding-top: 10px;
  }

  .c-round-title { font-size: 23px; margin-bottom: 20px; }
  .c-round-text { font-size: 16px; font-weight: 500; }
}



/* =========================================================
  スタッフの声：5セクション目
========================================================= */

.p-Recruit_5th_Section{
  background-color: var(--c-bg);
  position: relative;
  z-index: 9;
}

.r4-content{
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.staff-Box{
  display: flex;
}

.staff-image{
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius-mx);
}

.staff-VoiceBox{
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.staff-nameBox{
  color: #AC976F;
  display: flex; /* jobとnameの並びを制御 */
}

.staff-name{
  font-weight: bold;
}

/* --- PC版: 701px以上 --- */
@media screen and (min-width: 701px) {
  .p-Recruit_5th_Section {
    padding: 120px 0 200px 0;
  }

  .staff-Box{
    flex-direction: row; /* 画像の横にVoiceBox */
    align-items: center;
    height: 345px;
    gap: 80px;
  }

  .staff-image{
  width: 345px;
  height: 345px;
  border-radius: var(--radius-mx);
  flex-shrink: 0;
  }

  .staff-VoiceBox {
    height: 345px;
    flex: 1;
    gap: 30px; /* 各要素（名前、見出し、ボタン）の間隔 */
  }

  .staff-nameBox{
  flex-direction: row;
  align-items: baseline;
  display: flex;
  gap: 40px;
  }



  .staff-job{
    font-size: 30px;
    vertical-align: 3px;
  }

  .staff-name{
    font-size: 45px;
  }

  .staff-VoiceHead{
  letter-spacing: 0.07em;
  line-height: 2;
  font-size: 20px;
  }
  
}

/* --- SP版: 700px以下 --- */
@media screen and (max-width: 700px) {
  .p-Recruit_5th_Section {
    padding: 60px 0;
  }


  .staff-Box{
    flex-direction: column; /* 画像とVoiceBoxを縦並び */
    align-items: center;
    gap: 20px;
  }

  .staff-image{
  width: 250px;
  height: 250px;
  }

  .staff-VoiceBox {
  width: 100%;
  align-items: center; /* 中央揃え（任意） */
  gap: 15px;
  }

  .staff-nameBox{
  flex-direction: column;
  align-items: center;
  gap: 10px;
  }

  .staff-job{
    font-size: 16px;
  }

  .staff-name{
    font-size: 23px;
  }

  .staff-VoiceHead{
    padding-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
  }
  
}

/* =========================================================
  現場の様子：6セクション目
========================================================= */


/* 親コンテナの基本設定 */
.Recruit-movie {
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;     /* 上下中央揃え */
}

/* --- PC版: 701px以上 --- */
@media screen and (min-width: 701px) {
  .Recruit-movie {
    flex-direction: row; /* 横並び */
    gap: 40px;           /* 動画間の空間 */
  }

  .Recruit-movie iframe {
    width: 540px;
    height: 304px;       /* 16:9のアスペクト比を維持する場合の推奨値 */
  }
}

/* --- SP版: 700px以下 --- */
@media screen and (max-width: 700px) {
  .Recruit-movie {
    flex-direction: column; /* 縦並び */
    gap: 50px;              /* 動画間の空間 */
  }

  .Recruit-movie iframe {
    width: 320px;
    height: 180px;          /* 16:9のアスペクト比を維持する場合の推奨値 */
  }
}


/* =========================================================
  募集職種・要項：7セクション目
========================================================= */

.p-Recruit_7th_Section{
  background-color: var(--c-bg);
}

.r7-content{
  display: flex;
  justify-content: center; /* 中央寄せ */
  align-items: center;
}

.jobCard{
  overflow: hidden;
  display: flex;
  background-color: white;
  border-radius: var(--radius-mx);
  flex-direction: row; /* 横並び */
  gap: 35px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jobCard:hover {
  /* ちょっと上に浮かせると、より「押せる感」が出ます */
  transform: translateY(-2px);
  
  /* ドロップシャドウ：左右に0、下に5px、ぼかし15px、色は黒の透明度20% */
  box-shadow: 0 5px 15px rgba(252, 134, 0, 0.471);
}

.jobCard-image{
  padding-top: 0;
  overflow: hidden;
  width: 100%;
}

.jobCard-img{
  width: 100%;
  object-fit: cover;
}

.jobCard-info{
  text-align: center;
  display: flex;
  flex-direction: column;
}

.jobCard-title{
  font-weight: bold;
}

.jobCard-text{
  text-align: center;
}

.jobCard-btn{
  background-color: var(--c-accent);
  color: white;
  display: block;
  text-align: center;
  margin-left: auto ;
  margin-right: auto;
  margin-top: auto;
}



@media screen and (min-width: 701px) {
  .p-Recruit_7th_Section {
    padding: 120px 0 200px 0;
  }

  /* 1. 親コンテナ：横並びと間隔の設定 */
  .r7-content {
    flex-direction: row;      /* 横並び */
    justify-content: center;   /* 中央寄せ */
    gap: 35px;                /* カード同士の間隔を35pxに固定 */
    flex-wrap: nowrap;        /* 3つ並びを維持（入りきらない場合は wrap に変更） */
  }

  .jobCard{
    width: 350px;
    height: 100%;           /* 隣のカードと高さを合わせる */
  }

  .jobCard-image{
    height: 230px;
  }

  .jobCard-img{
  transform: scale(1.7);
  }
  
  .jobCard-info{
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
    height: 270px;
  }

  .jobCard-title{
    padding-top: 35px;
    padding-bottom: 25px;
    font-size: 30px;
  }

  .jobCard-text{
    font-size: 20px;
    padding-bottom: max(5%, 35px);
  }
  
  .jobCard-btn{
    font-size: 20px;
    width: 235px;
    height: 35px;
    line-height: 35px; /* height と同じ値を指定すると上下中央になる */ 
    margin-top: auto;       /* ★重要：上の要素との間に自動で余白を作り、最下部へ移動 */
  /* ボタン自体のスタイル */
  display: inline-block;
  align-self: center;     /* ボタンを左右中央に配置 */ 
}  
}

@media screen and (max-width: 700px) {
  .p-Recruit_7th_Section {
    padding: 60px 0;
  }

  /* 1. 親コンテナ：縦並びと間隔の設定 */
  .r7-content {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央寄せ */
    gap: 70px;              /* カード同士の間隔 */
  }

  .jobCard{
    width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .jobCard-image{
    height: 185px;
  }

  .jobCard-img{
  height: 185px;
  transform: scale(1.7);
  }
  
  .jobCard-info{
    display: flex;
    flex-direction: column;
    flex: none;
    padding-bottom: 30px;
  }

  .jobCard-title{
    padding-top: 30px;
    padding-bottom: 20px;
    font-size: 23px;
  }

  .jobCard-text{
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 20px;
  }
  
  .jobCard-btn{
    font-size: 16px;
    width: 170px;
    height: 30px;
    line-height: 30px; /* height と同じ値を指定すると上下中央になる */  
}  
}

/* =========================================================
  応募フォーム：8セクション目
========================================================= */


.p-Recruit_8th_Section{
  position: relative;
  z-index: 9;
}

.r8-content{
  text-align: center;
  line-height: 2.5;
}
@media screen and (min-width: 701px) {
  .r8-content{
  font-size: 20px;
  }
}
@media screen and (max-width: 700px) {
  .r8-content{
  font-size: 16px;
  font-weight: 500;
  }
}

.formAria{
  background-color: var(--c-bg);
  margin: auto;
}

.recruit-form{
  text-align: center;
}

.form-title{
  font-weight: bold;
  text-align: center;
}
@media screen and (min-width: 701px) {
  .formAria{
  padding-bottom: 100px;
  }

  .form-title{
    padding-top: 60px;
    padding-bottom: 25px;
    font-size: 23px;
  }
}
@media screen and (max-width: 700px) {
  .formAria{
  padding-bottom: 60px;
  }

  .form-title{
    padding-top: 40px;
    padding-bottom: 20px;
    font-size: 20px;
  }
}

/* =========================================================
  応募フォーム：（Contact7）
========================================================= */

/* フォーム全体のコンテナ */
.custom-form-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 140px 70px 130px;
    background: #fff;
    border-radius: 40px; /* 画像のような大きな角丸 */
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-intro {
    text-align: center;
    margin-bottom: 70px;
    font-size: 20px;
}

/* 行全体の設定 */
.form-row {
  display: flex;
  flex-wrap: wrap; /* スマホで折り返す用 */
  align-items: flex-start;
  margin-bottom: 60px; /* 行間の余白 */
}

.textarea-row {
    align-items: flex-start;
    padding-bottom: 100px;
}

/* 1. ラベルグループ全体の幅を固定する */
.label-group {
  width: 250px;       /* 入力欄の開始位置を決定します */
  flex: 0 0 250px;    /* flex環境でも幅を固定 */
  display: flex;
  align-items: center;
  gap: 8px;           /* チップとテキストの間隔 */
  padding-top: 10px;
  line-height: 1;
}

/* 2. ラベルテキストの余計な幅と余白を消す */
.label-text {
  color: var(--c-lightbrown);
  line-height: 1.4;
  white-space: nowrap; 
  font-size: 20px;
}

/* 必須チップ */
.required-chip {
  display: inline-flex;     /* 👈 flexに変更して中の文字を制御 */
  align-items: center;      /* 👈 垂直方向の中央 */
  justify-content: center;  /* 👈 水平方向の中央 */
  background: var(--c-accent);
  color: #fff;
  font-size: 16px;
  border-radius: 2px;
  flex-shrink: 0;
  width: 50px;
  height: 26px;             /* 👈 30pxだと少し厚いので、ラベル文字と馴染むよう26〜28pxに調整 */
  line-height: 1;           /* 👈 center指定にするためリセット */
  margin-right: 20px;
}

/* CF7が自動挿入するスパン要素が幅を取らないようにする */
.input-group .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.input-group {
  flex: 1; /* 残りの幅をすべて専有する */
  height: 60px;
  padding-right: 0;
  margin-left: 90px;
}

/* 入力欄自体の幅を100%にする（これで右端が揃う） */
.input-group input,
.input-group textarea {
  width: 100% !important;
  box-sizing: border-box;
}

/* 必須チップがない場合の代替余白（PC版） */
.no-chip {
    width: 65px;
    flex-shrink: 0;
}


/* CF7独自のinputタグスタイル上書き */
.custom-form-container input[type="text"],
.custom-form-container input[type="tel"],
.custom-form-container input[type="email"],
.custom-form-container textarea {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #f0f0f0; /* グレーの背景 */
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.custom-form-container textarea {
    height: 200px;
}

/* 送信ボタンが表示されない問題を解決する修正案 */
.custom-form-container .wpcf7-submit,
.custom-form-container .wpcf7-previous {
    display: block !important;    /* 非表示設定を強制上書き */
    margin: 40px auto 0 !important; /* 余白を適切な値にリセットし、中央寄せ */
    width: 240px !important;
    height: 50px !important;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: opacity 0.3s;
    position: relative; /* 重なり順位を正常化 */
    z-index: 10;
    color: #fff !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-form-container .wpcf7-submit:hover,
.custom-form-container .wpcf7-previous:hover {
  /* ちょっと上に浮かせると、より「押せる感」が出ます */
  transform: translateY(-2px);
  
  /* ドロップシャドウ：左右に0、下に5px、ぼかし15px、色は黒の透明度20% */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-form-container .wpcf7-submit{
    background-color: var(--c-brown) !important; 
  }

.custom-form-container .wpcf7-previous{
    background-color: var(--c-accent) !important; 
  }

/* ボタンを包む行の設定 */
.submit-row {
    display: flex !important;
    justify-content: center;
    width: 100%;
    clear: both;     /* 回り込みを強制解除 */
    margin-top: 70px; /* 備考欄との距離を確保 */
}

.confirm-value{
  font-size: 23px;
}

/* --- SP版のレスポンシブ対応 --- */
@media screen and (max-width: 700px) {
    .custom-form-container {
        padding: 20px;
        border-radius: 25px;
    }

    .form-intro {
    margin-bottom: 40px;
    font-size: 16px;
    }

    .form-row {
        flex-direction: column; /* 縦並びに変更 */
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .label-group {
        flex: 0 0 auto;
        margin-bottom: 0px;
        flex-wrap: wrap; /* チップとテキストを柔軟に配置 */
    }

    .required-chip {
        /* SP版の指定サイズ */
        width: 40px;
        height: 20px;
        margin-right: 10px;
        font-size: 0.7rem;
    }

    .label-text {
        font-size: 16px;
        font-weight: 500;
    }

    /* SP版ではチップがない場合は余白を消して左に詰める */
    .no-chip {
        display: none;
    }

    .input-group {
      margin-top: 0;
      margin-left: 0;
        width: 100%;
    }

    /* input-group内の自動生成pタグの余白をリセット */
    .input-group p {
        margin: 0 !important;
        padding: 0 !important;
        display: contents; /* 👈 pタグ自体のボックスを無視し、中身だけを反映させる */
    }

    /* 自動挿入されるbrタグもSP版では不要なことが多いため非表示に */
    .input-group br {
        display: none !important;
    }

    .textarea-row {
    align-items: flex-start;
    padding-bottom: 0;
    }
    
    .custom-form-container input[type="submit"] {
      font-size: 16px;
    width: 150px;
    height: 30px;
    margin: 20px auto;
    }

    .submit-row {
    margin-top: -50px; /* 備考欄との距離を確保 */
    margin-bottom: -20px;
    }
}



/* =========================================================
  スタッフの声 ページ
  Interview
========================================================= */

.interview-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.interview-card {
  background: white;
  border-radius: 40px; /* デザインの角丸 */
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* 画像の基本設定 */
.voice-header-image {
  overflow: hidden;
}


/* 画像の基本設定 */
.voice-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-image {
  overflow-x: clip;
}

/* 画像の基本設定 */
.item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- タイトル部分 --- */
.voice-job-title {
  color: var(--c-text-sub);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.voice-person-name {
  color: var(--c-text-sub);
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}

.voice-card-body{
    display: flex;
    flex-direction: column;
}

.voice-question {
  margin-top: 0;
  font-size: 35px;
  font-weight: bold;
  position: relative;
  padding-bottom: 60px;
  margin-bottom: 0;
}

/* オレンジの下線 */
.voice-question::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 160px;
  height: 4px;
  background-color: var(--c-accent);
}

.voice-answer {
  padding-top: 45px;
  line-height: 1.8;
  color: #555;
  font-size: 20px;
}

.voice-answer p + p {
  margin-top: 0;
}

/* --- レスポンシブレイアウト (PC) --- */
@media screen and (min-width: 701px) {
  .interview-container{
  gap: 100px;
  }


  .voice-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 110px;
  }

  .voice-header-image {
  width: 570px;
  height: 400px;
    aspect-ratio: 4 / 3;
  }

  .voice-header-text{
    margin-top: 0;
  }

  .voice-card-body{
    gap:110px;
  }

  .interview-item.has-image {
    display: flex;
    align-items: flex-start;
  }

  .item-content {
    flex: 1;
    margin-right: 30px;
  }

  .item-image {
    width: 350px;
    height: 320px;
    aspect-ratio: 1 / 1;
  }

}

/* --- レスポンシブレイアウト (SP) --- */
@media screen and (max-width: 700px) {
  .interview-container{
  gap: 50px;
  }

  .interview-card {
    border-radius: 20px;
    padding: 30px;
  }

  .voice-header-image {
    width: 245px;
    height: 245px;
    margin-bottom: 20px;
    border-radius: 20px;
    text-align: center;
  }

  .voice-card-body{
    margin-top: 30px;
    gap:40px;
  }

  /* SPは画像を上に、テキストを下に */
  .voice-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .voice-job-title{
    margin: 0;
    font-size: 16px;
  }
  
  .voice-header-text {
    order: 2;
    text-align: center;
  }

  .voice-header-image {
    order: 1;
  }

  .voice-person-name {
    margin-top: 10px;
    font-size: 23px;
  }

  .item-image {
    margin-top: 30px;
    width: 100%;
    height: 270px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
  }
  
  .voice-question {
    font-size: 20px;
    text-align: center;
    padding-bottom: 20px;
  }
  
  .voice-question::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .voice-answer{
    padding-top: 20px;
    font-size:15px;
    font-weight: 500;
  }
}

/* =========================================================
  有料老人ホーム ページ
  Nursing home
========================================================= */

.p-heading-dots {
  color: var(--c-brown);
  font-weight: bold;
  line-height: 1;
  font-size: 35px;
  position: relative;
  /* PC版で左寄せにしつつ、ドットを右端で止める */
  width: fit-content; 
}

/* 共通のドット線定義 */
.p-heading-dots,
.p-heading-dots__line {
  --dot-image: radial-gradient(
    circle,
    var(--c-accent) 1.5px,
    transparent 1.5px
  );
  --dot-size: 9px 3px;
}

/* PC版の設定 */
@media screen and (min-width: 701px) {
  .p-heading-dots {
    text-align: left;
    background-image: var(--dot-image);
    background-size: var(--dot-size);
    background-repeat: repeat-x;
    background-position: left bottom;
    padding-bottom: 15px;
    /* 親要素自体を左寄せ */
    margin-left: 0;
    margin-right: auto;
  }
  
  .p-heading-dots__line {
    display: inline; 
    background: none;
  }
}

/* SP版の設定 */
@media screen and (max-width: 700px) {
  .p-heading-dots {
    /* 親要素を画面中央に配置 */
    margin: 0 auto;
    text-align: center;
    font-size: 23px;
    background: none; 
  }
  
  .p-heading-dots__line {
    /* blockにして改行させる */
    display: block; 
    /* 幅を文字に合わせる */
    width: fit-content; 
    /* ★ここがポイント：文字幅を保ったまま中央へ寄せる */
    margin: 0 auto 15px; 
    padding-bottom: 10px;
    
    background-image: var(--dot-image);
    background-size: var(--dot-size);
    background-repeat: repeat-x;
    background-position: left bottom;
  }
  
  .p-heading-dots__line:last-child {
    margin-bottom: 0;
  }
}

/* 1日の流れセクション */
/* ベース構造 */
.p-nursing-home-1day {
  display: flex;
  flex-direction: column;
  gap: 70px; /* 要素間の余白 */
}

/* PC版レイアウト */
@media screen and (min-width: 701px) {
  .p-nursing-home-1day {
    padding: 80px 120px;
    align-items: flex-start;
  }
}

/* SP版レイアウト */
@media screen and (max-width: 700px) {
  .p-nursing-home-1day {
    padding: 40px 20px;
    gap: 50px; /* 要素間の余白 */
  }
}

/* アイテム単体 */
.p-nursing-home-1day__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  width: fit-content;
}

/* ドット線の実装（最後の要素以外） */
.p-nursing-home-1day__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(100% + 5px); /* 時刻枠のすぐ下から開始 */
  left: 65px;            /* 時刻枠の中央（130px / 2） */
  transform: translateX(-50%);
  width: 3px;
  height: 70px;          /* gapに合わせた長さ */
  background-image: radial-gradient(
    circle,
    var(--c-accent) 1.5px,
    transparent 1.5px
  );
  background-size: 3px 9px; /* 縦方向の繰り返し */
  background-repeat: repeat-y;
}

/* 時刻のオレンジ枠 */
.p-nursing-home-1day__time {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130px;
  height: 44px;
  border: 2px solid var(--c-accent);
  border-radius: 22px;
  color: var(--c-accent);
  font-weight: bold;
  font-size: 30px;
  background: #fff;
}

/* テキストラベル */
.p-nursing-home-1day__label {
  color: var(--c-text);
  font-weight: bold;
  font-size: 30px;
  line-height: 1.4;
}

/* SPでの微調整 */
@media screen and (max-width: 700px) {
  /* アイテム単体 */
.p-nursing-home-1day__item {
  gap: 20px;
}

  .p-nursing-home-1day__time,
  .p-nursing-home-1day__label {
    font-size: 20px;
  }

  /* 時刻のオレンジ枠 */
  .p-nursing-home-1day__time {
  max-width: 80px;
  height: 35px;
  }

  .p-nursing-home-1day__item:not(:last-child)::after {
    left:42px;
  }

}



.p-_4th_Section{
  background-color: var(--c-bg);
  position: relative;
  z-index: 9;
}

.hospital-teams{
  margin-top: 0;
  font-size: 23px;
  line-height: 2;
  }

/* --- レスポンシブレイアウト (PC) --- */
@media screen and (min-width: 701px) {
  .space-for-icon-only-pc{
  margin-left: 50px;
  }

  .p-_4th_Section{
    margin-top: 100px;
    padding: 100px 0;
  }

  .hospital-teams p{
  font-size: 23px;
  }
}

/* --- レスポンシブレイアウト (SP) --- */
@media screen and (max-width: 700px) {
  .space-for-icon-only-pc{
    text-align: center;
  margin-left: 0px;
  }

  .p-_4th_Section{
    margin-top: 60px;
    padding: 60px 0;
  }
  .hospital-teams{
  font-size: 16px;
  font-weight: 500;
  }
}


/* =========================================================
  募集要項 ページ
  Jobs
========================================================= */
.p-Recruit_jobs_Section{
  background-color: var(--c-bg);
  padding: 110px 0;
  position: relative;
  z-index: 9;
}

.jobs-cards{
  display: flex;
  flex-direction: column;
  gap:100px;
}


/* 共通設定 */
.jobs-recruitment {
  color: var(--c-brown);
  line-height: 1.8;
  padding: 60px 0;
  background-color: white;
  width: 100%;
  margin: 0 70px 100px 70px;
  display: block;
  border-top: 4px solid var(--c-accent);
  border-bottom: 4px solid var(--c-accent);
  margin-left: auto;
  margin-right: auto;
}

.jobs-recruitment__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
}

/* 導入部分 */
.jobs-recruitment__intro {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 175px;
}

.jobs-recruitment__intro-desc{
  width: 390px;
  height: 145px;
  margin-top: 40px;
  margin-bottom: 0;
}

.jobs-recruitment__intro-text {
  flex: 1;
  font-size: 20px;
}

.jobs-recruitment__intro-title {
  font-size: 40px;
  padding-bottom: 40px;
  position: relative;
  margin: 0;
}

.jobs-recruitment__intro-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 160px;
  height: 4px;
  background-color: var(--c-accent);
}

.jobs-recruitment__pc_intro-image {
  width: 580px;
  height: 370px;
  flex: 1;
}

.jobs-recruitment__pc_intro-image img {
  width:auto ;
  height: 100%;
}

/* 募集要項タイトル（オレンジの下線） */
.jobs-recruitment__body-title {
  font-size: 35px;
  padding-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.jobs-recruitment__body-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 160px;
  height: 4px;
  background-color: var(--c-accent);
}

/* リスト部分 */
.jobs-recruitment__item {
  display: grid;
  padding: 30px 0;
  position: relative;
  /* 標準のborderは使わず、背景でドットを描画 */
  background-image: radial-gradient(
    circle,
    var(--c-accent) 2px, /* ドットの大きさ（半径2px = 直径4px） */
    transparent 2px
  );
  background-size: 12px 4px; /* ドットの間隔12px、高さ4px */
  background-repeat: repeat-x;
  background-position: left bottom;
}

.jobs-recruitment__item:first-child {
  border-top: 1px dotted var(--c-accent);
}

.jobs-recruitment__term {
  color: var(--c-lightbrown);
  text-align: left;
  font-size: 20px;
}

.jobs-recruitment__description{
  font-size: 20px;
  text-align: left;
  margin-left: 0;
}

/* ★ 1番上の線の非表示化 */
/* 「一番上の線」は、最初のアイテムの下線ではなく、
   「最初のアイテムの上」に線がない状態にしたいという意図に合わせて
   first-childへのborder-topなどの付与を完全に排除します。
*/
.jobs-recruitment__item:first-child {
  border-top: none;
}

/* ★ 1番下の線の非表示化 */
/* 最後のアイテムの下線を消します */
.jobs-recruitment__item:last-child {
  background-image: none;
}


/* PC版の調整 */
@media screen and (min-width: 701px) {
  .jobs-recruitment__item {
    grid-template-columns: 200px 1fr;
    gap: 20px;
    text-align: center;
  }

  .jobs-recruitment__sp_intro-image {
    display: none;
  }
}

/* SP版の調整 */
@media screen and (max-width: 700px) {
  .p-Recruit_jobs_Section{
    margin-top: 20px;
  padding: 60px 0;
  }

  .jobs-cards{
    gap:50px;
  }

  .jobs-recruitment {
    margin-top: 0;
    margin-bottom: 50px;
  }

  .jobs-recruitment__intro {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-bottom: 0;
  }

  .jobs-recruitment__intro-title{
    font-size: 20px;
    padding-bottom: 20px;
  }

  .jobs-recruitment__intro-title::after {
    width: 100px;
    left: 50%;
    transform: translateX(-50%);
  }

  .jobs-recruitment__intro-desc{
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    text-align: left;
  }

  .jobs-recruitment__pc_intro-image{
    display: none;
  }

  .jobs-recruitment__sp_intro-image {
    margin-top: 30px;
    width: calc(100% + 60px); 
    max-width: none; /* 100%制限を解除 */
    height: 245px;
    flex: 1;
    overflow: hidden;
    /* 左右のpadding（20pxと仮定）をネガティブマージンで打ち消す */
    margin-left: -30px;
    margin-right: -30px;
  }

  .jobs-recruitment__sp_intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .jobs-recruitment__intro-text {
    display: block;
    flex-direction: column;
    width: 100%;
  }

  .jobs-recruitment__body-title {
    text-align: center;
    font-size: 20px;
  }

  .jobs-recruitment__body-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .jobs-recruitment__item {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
    display: block;      /* gridからblockに変更して1列にする */
  }
  
  .jobs-recruitment__term {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    text-align: center;
  }

  .jobs-recruitment__description{
    font-size: 16px;
    font-weight: 500;
    display: block;
    width: 100%;
    margin: 0;           /* 余計なマージンをリセット */
    padding: 0;
    text-align: center;
  }
}

/* =========================================================
  施設について ページ
  Facility
========================================================= */

/* オレンジの丸背景を右下に表示する */

.p-facility-Message .Bg-Circle2-RightUp::before {
    top: 500px;
    right: -100px;
}

.p-facility-Message .Bg-Circle2-RightUp::after {
    display: none;
}


.p-facility-Message__inner{
  /* Layout Properties */
  width: 90%;
  height: auto;
  /* UI Properties */
  background: white 0% 0% no-repeat padding-box;
  box-shadow: 0px 0px 50px var(--c-bg);
  border: 4px solid #E0D6C0;
  opacity: 1;
  border-radius: var(--radius-mx);
  text-align: center !important;
  padding: 100px 50px;
  margin: auto;
}

.p-facility-Message__inner .p-heading-dots{
  margin-left: auto;
  margin-right: auto;
}

.p-facility-Message .p-home-careMessage__desc{
  text-align: center;
}


.p-facility-phptps .Bg-Circle2-RightUp::after {
    display: none;
}

/* ===========================================================
  施設の特徴セクション (facility-features)
=========================================================== */

/* 全体のコンテナ（必要に応じて余白などを調整） */
.facility-features {
  width: 100%;
  max-width: 1000px; /* 任意のコンテンツ幅 */
  margin: 0 auto;
  padding: 60px 20px; /* 任意の上下パディング */
}

/* 各特徴ブロックの共通設定（01, 02の間隔など） */
.facility-features-content {
  margin-bottom: 80px; /* 特徴同士の間隔（任意） */
}
.facility-features-content:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------
  PC版のスタイル (デフォルト)
----------------------------------------------------------- */

/* 番号とタイトルエリアの横並び設定 */
.facility-features-content .frontbox {
  display: flex;
  align-items: center; /* 上下中央揃え */
  margin-bottom: 30px; /* 【titleboxとtextの間 */
}

/* 数字 */
.facility-features-content .num {
  font-size: 60px; 
  color: #F9863E;
  font-weight: bold;
  line-height: 1;
  margin-right: 30px; /* numとtitleの間（横方向）30px */
}

/* タイトルエリア（点線を含む） */
.facility-features-content .titlebox {
  flex: 1; /* 残りの幅をすべて使う */
  border-bottom: 4px dotted var(--c-accent); /* 下辺に点線 */
  padding-bottom: 10px; /* titleと点線の間10px */
}

/* タイトルテキスト */
.facility-features-content .title {
  font-size: 30px; 
  color: var(--c-text-main);
  font-weight: bold;
  line-height: 1.4;
}

/* 説明テキスト */
.facility-features-content .text {
  font-size: 20px;
  line-height: 1.8;
  padding-left: calc(70px + 30px);  
}

.facility-features-content .p-buttons{
  margin-top: 30px;
}

.p-facility-phptos{
  margin:165px 0 100px 0 ;
}

.p-facility-phptos .facility-rooms{
  margin-top: 40px;
}

/* p-facility-phptos セクション内のボタン群だけを中央寄せにする */
.p-facility-phptos .p-buttons {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 50px; /* 必要に応じて調整してください */
}

/* もし a タグ自体が display: block などで幅一杯になっている場合の保険 */
.p-facility-phptos .p-dott__btn {
  width: fit-content;
}
/* ===========================================================
  SP版のスタイル (ブレイクポイント：767px以下)
=========================================================== */
@media screen and (max-width: 767px) {
  .p-facility-Message__inner{
    width: 100%;
    padding: 50px 0px;
    border: 3px solid #E0D6C0;
    margin: 0 auto;
  }
  
  .facility-features{
    padding: 0;
  }

  .p-home-careMessage__desc{
    font-weight: 500;
  }

  /* 全体を中央揃えの縦並びに変更 */
  .facility-features-content .frontbox {
    flex-direction: column; /* 縦並び */
    justify-content: center;
    text-align: center;
    margin-bottom: 20px; /* 【要件】titleboxとtextの間（縦方向）20px */
  }

  /* 数字 (SP) */
  .facility-features-content .num {
    font-size: 50px; /* 【要件】font-size：50px */
    margin-left: 0;
    margin-right: 0; /* 横幅をリセット */
    margin-bottom: 10px; /* 【要件】numとtitleの間（縦方向）10px */
  }

  /* タイトルエリア (SP) */
  .facility-features-content .titlebox {
    width: 100%; /* 横幅いっぱい */
    border-bottom-width: 3px; /* 点線を少し太く（画像再現） */
    padding-bottom: 15px; /* 【要件】titleと点線の間（縦方向）15px */
  }

  /* タイトルテキスト (SP) */
  .facility-features-content .title {
    font-size: 20px;
    line-height: 1.3;
  }

  /* 説明テキスト (SP) */
  .facility-features-content .text {
    font-size: 16px; /* 【要件】font-size：15px */
    text-align: center; /* 中央揃え */
    line-height: 1.7;
    padding-left: 0 !important; /* PC用の余白をリセット */
    font-weight: 500;
  }

  .p-facility-phptos{
    margin:60px auto ;
  }
}


/* -------------------------------------------
  ギャラリー全体設定
------------------------------------------- */
/* 親要素：画面からはみ出す画像をここでカットする */
.gallery {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden; 
}

/* Swiper本体：親(100vw)と同じ幅にする */
.js-gallery-swiper {
  width: 100%;
  /* 左右を見せるためにこれが必要 */
  overflow: visible !important;
}

.swiper-slide {
  width: 725px; /* PCサイズ */
  opacity: 0.4;
  transition: opacity 0.3s;
}

.swiper-slide-active {
  opacity: 1;
}

@media screen and (max-width: 767px) {
  .swiper-slide {
    width: 320px; /* SPサイズ */
  }
}

/* 画像の基本スタイル */
.gallery-img {
  width: 100%;
  border-radius: var(--radius-mx);
  overflow: hidden;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ラベルテキスト */
.gallery-name {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  color: #555;
}

/* ナビゲーションボタン */
.gallery-controls {
  display: flex;
  justify-content: center;
  gap: 740px; /* PC版：中央画像の下でボタンを左右に配置 */
  margin-top: -50px;
}

/* 矢印（アイコン）自体のサイズ調整 */
.gallery-prev i, 
.gallery-next i {
  font-size: 35px; /* 矢印の大きさを変更 */
}

.gallery-prev, .gallery-next {
  width: 80px;
  height: 80px;
  background-color: #F9863E;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
  z-index: 10;
}

.gallery-prev:hover, .gallery-next:hover {
  opacity: 0.8;
}

/* --- PC版設定 --- */
@media screen and (min-width: 768px) {
  .gallery-item {
    width: 725px; /* 【要件】画像サイズ */
  }
  .gallery-img {
    height: 450px; /* 【要件】画像サイズ */
  }
}

/* --- SP版設定 --- */
@media screen and (max-width: 767px) {
  .gallery-item {
    width: 320px; /* 【要件】画像サイズ */
  }
  .gallery-img {
    height: 320px; /* 【要件】画像サイズ */
  }
  .gallery-controls {
    gap: 240px; /* ボタンの間隔を調整 */
    margin-top: -10px;
  }

  .gallery-prev i, 
  .gallery-next i {
  font-size: 17px; /* 矢印の大きさを変更 */
  }

  .gallery-prev, .gallery-next {
    width: 40px;
    height: 40px;
  }
  .gallery-name {
    font-size: 16px;
  }
}






/* =========================================================
  部屋紹介・設備紹介 ページ
  facility-equipment
========================================================= */

/* 全体コンテナ */
.facility-rooms {
    display: grid;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
}

/* 各アイテムの構造 */
.facility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.facility-img {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-mx);
}

.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 指定サイズ内で綺麗にトリミング */
    display: block;
}

.facility-name {
    margin: 0;
    text-align: center;
}




/* PC版 ------------------------------- */
@media screen and (min-width: 701px) {
    .facility-rooms {
        /* repeat(2, 1fr) で親の 1120px を使い切る設定にします */
        grid-template-columns: repeat(2, 1fr); 
        column-gap: 60px;
        row-gap: 50px;
        display: grid; /* 念のため明示 */
    }

    /* 1. bigを含むアイテムを横いっぱいに広げる */
    .facility-item:has(.big) {
        grid-column: 1 / -1; /* 1番目から最後(3番目)の線まで。1 / 3 と同じ意味です */
    }

    /* 2. bigクラス自体も横幅100%にする */
    .facility-item .big {
        width: 100%;
    }

    /* 3. bigの中の画像サイズを上書き */
    .facility-item .big .facility-img {
        height: 500px; /* PC全幅時の高さ */
        width: 100%;
    }

    /* 通常（big以外）の画像サイズ */
    .facility-img {
        height: 430px;
        width: 100%;
    }

    .facility-name {
        margin-top: 15px;
        font-size: 23px;
    }
}

/* SP版 (1カラム) ------------------------------- */
@media screen and (max-width: 700px) {
    .facility-rooms {
        grid-template-columns: 320px; /* w320px */
        row-gap: 40px; /* 全体のgap */
        justify-content: center;
    }

    .facility-img {
        height: 320px; /* h320px */
    }

    .facility-name {
        margin-top: 20px; /* 画像と文字の間 */
        font-size: 16px;   /* 文字サイズ */
        font-weight: 500;
    }
}



.facility-text{
  margin-top: -50px;
  font-size: 20px;
  text-align: left;
  line-height: 2;
}

.equipment-link{
  margin-top:100px;
  display: flex;
  justify-content: center; /* 中央寄せ */
}

.equipment-link .space-for-icon-only-pc {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}


.machines .p-heading-dots{
  font-size: 35px;
}

.p-_3rd_Section .facility-text{
  margin-top: 0;
}

.p-_4th_Section .facility-text{
  margin-top: 0;
}

/* PC版 ------------------------------- */
@media screen and (min-width: 701px) {
    .equipment-link .space-for-icon-only-pc {
        flex-direction: row; /* 横並び */
        gap: 100px;          /* 間隔100px */
    }
}

/* SP版  ------------------------------- */
@media screen and (max-width: 700px) {
  .facility-text{
    margin-top: 0;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
  }

  .equipment-link{
    margin-top:40px;
  }

  .equipment-link .space-for-icon-only-pc {
    flex-direction: column; /* 縦並び */
    gap: 40px;             /* 間隔40px */
  }


  .machines .p-heading-dots{
    font-size: 23px;
  }

  .facility-text-sub{
    margin-top: 50px;
    font-size: 10px;
    text-align: center;
  }
}

/* 画像コンテナの基本設定 */
.machine-img {
    display: flex;
    width: 100%;
}

.machine-img img {
    width: 100%;
    height: auto;
    object-fit: cover; /* 比率を保ちつつ枠いっぱいに表示 */
}

/* PC版 ------------------------------- */
@media screen and (min-width: 701px) {
    .machine-img {
        flex-direction: row; /* 横並び */
        justify-content: center;
        margin-top: 45px;
        gap: 25px;           /* 画像間25px */
    }

    .machine-img img {
        width: auto;         /* 横幅は自動（高さに合わせる） */
        height: 315px;       /* 高さ375px固定 */
    }
}

/* SP版 ------------------------------- */
@media screen and (max-width: 700px) {
    .machine-img {
        flex-direction: column; /* 縦並び */
        align-items: center;
        margin-top: 40px;
        gap: 45px;             /* 画像間45px */
    }

    .machine-img img {
        width: 100%;           /* 横幅100% */
        height: auto;          /* 高さは比率維持 */
    }
}


/* 画像コンテナの基本設定 */
.machine-img2 {
    display: flex;
    width: 100%;
}

.machine-img2 img {
    width: 100%;
    height: auto;
    object-fit: cover; /* 比率を保ちつつ枠いっぱいに表示 */
}

/* PC版 ------------------------------- */
@media screen and (min-width: 701px) {
    .machine-img2 {
        flex-direction: row; /* 横並び */
        justify-content: center;
        margin-top: 45px;
        gap: 60px;           /* 画像間25px */
    }

    .machine-img2 img {
        width: auto;         /* 横幅は自動（高さに合わせる） */
        height: 360px;       /* 高さ375px固定 */
    }
}

/* SP版 ------------------------------- */
@media screen and (max-width: 700px) {
    .machine-img2 {
        flex-direction: column; /* 縦並び */
        align-items: center;
        margin-top: 40px;
        gap: 45px;             /* 画像間45px */
    }

    .machine-img2 img {
        width: 100%;           /* 横幅100% */
        height: auto;          /* 高さは比率維持 */
    }
}


/* === CTA背景のはみ出しで横スクロールが出るのを強制的に防ぐ === */
html, body{
  overflow-x: clip; /* Safariが怪しければ hidden にしてもOK */
  scroll-behavior: smooth;
}

/* スクロールしたら背景 var(--c-bg) + 影 var(--c-brown) */
body.is-scrolled .site-header{
  background: var(--c-bg);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-header);
} 
/* 固定ヘッダーの高さ分（例：100px）だけ余白を作る */
[id] {
    scroll-margin-top: 100px;
}









/* 
開発メモ:
- トップページは固定ページ「ホーム」を使用
- レイアウトは固定ページ本文のカスタムHTMLで構成
- front-page.php は the_content() のみ
- CSSはモバイルファースト
- 投稿（お知らせ）は通常投稿で運用
- 参考元テーマ：nakaso（中曽産科婦人科医院）
- 修正更新担当の方へ：
  素人がチャッピーと手本を見ながら独学で作ったため、不備があるかもしれません(TT;)
  何卒ご容赦ください。引き継ぎよろしくお願いいたしますm(__)mby 梅原
  */