@charset "UTF-8";
/*
Template: arkhe
Theme Name: Arkhe Child
Theme URI: https://arkhe-theme.com/ja/
Description: Arkhe用子テーマ
Version: 1.0.0
Text Domain: arkhe
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================================================
   ページローダー
   ========================================================================== */
.with-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s ease;
}
.with-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.with-loader__inner {
  text-align: center;
}
.with-loader__logo {
  width: 160px;
  opacity: 0;
  animation: withLogoIn 0.8s ease 0.2s forwards;
}
@keyframes withLogoIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}
.with-loader__catch {
  margin-top: 18px;
  font-size: .95rem;
  letter-spacing: .18em;
  color: #3d7a6b;
  white-space: nowrap;
}
.with-loader__char {
  display: inline-block;
  opacity: 0;
  animation: withCharIn 0.5s ease forwards;
}
@keyframes withCharIn {
  from { opacity: 0; transform: translateY(5px); filter: blur(2px); }
  to   { opacity: 1; transform: translateY(0);   filter: blur(0);   }
}
@media (prefers-reduced-motion: reduce) {
  .with-loader__logo,
  .with-loader__char { animation: none; opacity: 1; }
}

/* ==========================================================================
   デザイントークン（CSS カスタムプロパティ）
   ========================================================================== */
:root {
  /* --- ブランドカラー --- */
  --color-accent:       #3d7a6b; /* ビリジアングリーン（メインアクセント） */
  --color-accent-light: #5a9e8d;
  --color-accent-dark:  #2c5a4e;
  --color-accent-bg:    #edf5f3; /* アクセントの薄い背景 */

  /* --- 各サービスカラー --- */
  --color-nozomi:       #e8a0b4; /* のぞみ訪問看護：ピンク */
  --color-nozomi-light: #f5d0db;
  --color-nozomi-dark:  #c4728a;
  --color-nozomi-bg:    #fdf2f5;

  --color-edele:        #3d3d3d; /* エーデレミニス：濃灰色 */
  --color-edele-light:  #6b6b6b;
  --color-edele-dark:   #1a1a1a;
  --color-edele-bg:     #f2f2f2;

  --color-puratto:      #8b6f5e; /* ぷらっとあさひ：茶色 */
  --color-puratto-light: #b0917f;
  --color-puratto-dark:  #5e4a3d;
  --color-puratto-bg:   #f7f2ef;

  --color-daidara:      #3d6a8a; /* daidara：スレートブルー */
  --color-daidara-light: #5a8aaa;
  --color-daidara-dark:  #2a4f6a;
  --color-daidara-bg:   #eef3f8;

  /* --- ベースカラー --- */
  --color-white:  #ffffff;
  --color-bg:     #fafafa;
  --color-text:   #333333;
  --color-text-sub: #666666;
  --color-border: #e0e0e0;

  /* --- タイポグラフィ --- */
  --font-en: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;

  /* --- 角丸（ポップ感） --- */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  /* --- シャドウ --- */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);

  /* --- トランジション --- */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --duration: 0.3s;
}


/* ==========================================================================
   ベーススタイル上書き
   ========================================================================== */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-ja);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-accent);
  transition: color var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}
a:hover {
  color: var(--color-accent-dark);
  opacity: .85;
}


/* ==========================================================================
   英語大見出し ＋ 日本語サブ（ppc-wonder.com スタイル）
   ========================================================================== */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-heading .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--color-accent);
  text-transform: uppercase;
}
.section-heading .ja {
  display: block;
  font-size: clamp(.85rem, 1.8vw, 1rem);
  color: var(--color-text-sub);
  margin-top: .5rem;
  letter-spacing: .1em;
}

/* セクションラベル（小さい英字）*/
.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: .75rem;
}


/* ==========================================================================
   ボタン
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .75em 1.75em;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .05em;
  text-decoration: none;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              background-color var(--duration) var(--ease);
  cursor: pointer;
  border: none;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover { background-color: var(--color-accent-dark); color: var(--color-white); }

.btn-outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover { background-color: var(--color-accent); color: var(--color-white); }


/* ==========================================================================
   カード（角丸＋シャドウ）
   ========================================================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card__body { padding: 1.5rem; }


/* ==========================================================================
   サービス別カラーユーティリティ
   ========================================================================== */
/* のぞみ訪問看護 */
.is-nozomi { --svc-color: var(--color-nozomi); --svc-dark: var(--color-nozomi-dark); --svc-bg: var(--color-nozomi-bg); }
/* エーデレミニス */
.is-edele   { --svc-color: var(--color-edele); --svc-dark: var(--color-edele-dark); --svc-bg: var(--color-edele-bg); }
/* ぷらっとあさひ */
.is-puratto { --svc-color: var(--color-puratto); --svc-dark: var(--color-puratto-dark); --svc-bg: var(--color-puratto-bg); }

/* 使い方: <div class="card is-nozomi"> → カードのアクセントを自動切替 */
.is-nozomi .section-label,
.is-edele  .section-label,
.is-puratto .section-label { color: var(--svc-color); }

.is-nozomi .section-heading .en,
.is-edele  .section-heading .en,
.is-puratto .section-heading .en { color: var(--svc-color); }

.is-nozomi .btn-primary,
.is-edele  .btn-primary,
.is-puratto .btn-primary {
  background-color: var(--svc-color);
}
.is-nozomi .btn-primary:hover,
.is-edele  .btn-primary:hover,
.is-puratto .btn-primary:hover {
  background-color: var(--svc-dark);
}

/* サービスカードのボーダーアクセント */
.service-card {
  border-top: 4px solid var(--svc-color, var(--color-accent));
}


/* ==========================================================================
   スクロールフェードイン
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 遅延バリアント */
.fade-in--d1 { transition-delay: .1s; }
.fade-in--d2 { transition-delay: .2s; }
.fade-in--d3 { transition-delay: .3s; }
.fade-in--d4 { transition-delay: .4s; }
.fade-in--d5 { transition-delay: .5s; }

/* 左右から */
.fade-in--left  { transform: translateX(-28px); }
.fade-in--right { transform: translateX( 28px); }
.fade-in--left.is-visible,
.fade-in--right.is-visible { transform: translateX(0); }


/* ==========================================================================
   セクション共通
   ========================================================================== */
.section {
  padding: clamp(3rem, 8vw, 6rem) 1.25rem;
}
.section--accent-bg { background-color: var(--color-accent-bg); }
.section--white     { background-color: var(--color-white); }

.inner {
  max-width: 1100px;
  margin: 0 auto;
}


/* ==========================================================================
   Arkhe テーマ変数の上書き
   ========================================================================== */
:root {
  --color-main:   #3d7a6b; /* Arkhe の --color-main を上書き */
  --color-second: #2c5a4e;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
}


/* ==========================================================================
   フロントページ 全幅対応
   Arkhe の l-container (max-width あり) をフロントページだけ解除する
   ========================================================================== */

/* WordPress が front-page に付与する body クラスで上書き */
body.home .l-content__body,
body.front-page .l-content__body {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* p-frontPage 自体も全幅 */
.p-frontPage {
  width: 100%;
  overflow-x: hidden;
}


/* ==========================================================================
   フロントページ 共通ユーティリティ
   ========================================================================== */

/* セクション（背景は全幅・左右paddingなし） */
.fp-section {
  padding: clamp(80px, 10vw, 120px) 0;
}
.fp-section--off-white { background-color: #f8f8f6; }
.fp-section--white     { background-color: #fff; }

/* インナー（コンテンツを中央寄せ・左右paddingはここで管理） */
.fp-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 60px);
}

/* セクションラベル（ライン ＋ 英語 ＋ 日本語） */
.fp-section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.fp-section-label__line {
  display: block;
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}
.fp-section-label__en {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--color-accent);
  line-height: 1;
}
.fp-section-label__ja {
  font-size: 1rem;
  letter-spacing: .18em;
  color: var(--color-text-sub);
}

/* セクション見出し（Cormorant Garamond serif） */
.fp-section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

/* 矢印リンク（下線スタイル） */
.fp-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-en);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 3px;
  transition: gap var(--duration) var(--ease);
}
.fp-arrow-link::after { content: '→'; }
.fp-arrow-link:hover  { gap: 1.25rem; color: var(--color-accent); opacity: 1; }
.fp-arrow-link--sm    { font-size: .68rem; }

/* フロントページ汎用ボタン */
.fp-btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 1em 2em;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-decoration: none;
  transition: background-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.fp-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.fp-btn--white {
  background: #fff;
  color: var(--color-accent);
}
.fp-btn--white:hover { background: #f0f0f0; color: var(--color-accent); opacity: 1; }
.fp-btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.65);
}
.fp-btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
  opacity: 1;
}


/* ==========================================================================
   01. HERO — フルスクリーン写真スライダー
   ========================================================================== */
.fp-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(60px, 8vw, 90px);
}

/* スライド */
.fp-hero__slides {
  position: absolute;
  inset: 0;
}
.fp-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}
/* 画像なし時のフォールバック（background-imageのみ指定し、cover/center/no-repeatを上書きしない） */
.fp-hero__slide:nth-child(1) { background-image: linear-gradient(135deg, #c8e0da 0%, #8bbdb3 100%); }
.fp-hero__slide:nth-child(2) { background-image: linear-gradient(135deg, #f0d8e2 0%, #d4a0b8 100%); }
.fp-hero__slide:nth-child(3) { background-image: linear-gradient(135deg, #e0ddd8 0%, #b0a89e 100%); }
.fp-hero__slide.is-active     { opacity: 1; }

/* オーバーレイ */
.fp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.52) 0%, transparent 65%);
  z-index: 1;
}

/* テキストコンテンツ（左下） */
.fp-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 5vw, 60px);
  max-width: 900px;
}

.fp-hero__eyebrow {
  font-family: var(--font-en);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 1rem;
  animation: heroFadeUp .8s var(--ease) both;
}

.fp-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(56px, 11vw, 120px);
  font-weight: 400;
  line-height: .95;
  color: #fff;
  letter-spacing: -.01em;
  margin: 0 0 1rem;
  animation: heroFadeUp .8s .15s var(--ease) both;
}

.fp-hero__sub {
  font-size: clamp(.85rem, 1.8vw, 1rem);
  color: rgba(255,255,255,.85);
  letter-spacing: .2em;
  margin-bottom: 2rem;
  font-weight: 300;
  animation: heroFadeUp .8s .3s var(--ease) both;
  transition: opacity .3s ease;
}

.fp-hero__link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-en);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.6);
  padding-bottom: 4px;
  transition: gap var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
  animation: heroFadeUp .8s .45s var(--ease) both;
}
.fp-hero__link:hover { gap: 1.25rem; border-color: #fff; color: #fff; opacity: 1; }

/* スライドドット（左下） */
.fp-hero__dots {
  position: absolute;
  left: clamp(1.5rem, 5vw, 60px);
  bottom: clamp(1.5rem, 3vw, 40px);
  z-index: 2;
  display: flex;
  gap: 10px;
}
.fp-hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.fp-hero__dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

/* スクロールインジケーター（右側） */
.fp-hero__scroll {
  position: absolute;
  right: clamp(1.5rem, 4vw, 48px);
  bottom: clamp(2rem, 4vw, 48px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
}
.fp-hero__scroll-text {
  font-family: var(--font-en);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  writing-mode: vertical-rl;
}
.fp-hero__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,.45);
  animation: scrollLine 1.8s ease-in-out infinite;
}

/* keyframes（heroFadeUpはstyle.cssの既存定義を使用） */
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* モバイル */
@media (max-width: 768px) {
  .fp-hero__content { padding: 0 1.5rem; }
  .fp-hero__scroll  { display: none; }
}


/* ==========================================================================
   02. ABOUT
   ========================================================================== */
.fp-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: center;
}

/* 画像 */
.fp-about__media {
  position: relative;
}
.fp-about__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.fp-about__img-placeholder {
  aspect-ratio: 4 / 3;
  background: var(--color-accent-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: .8rem;
  color: var(--color-accent);
  letter-spacing: .1em;
  line-height: 1.8;
}
/* ポップ装飾：背景の丸 */
.fp-about__deco-circle {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--color-accent-bg);
  z-index: -1;
}

/* テキスト */
.fp-about__heading {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}
.fp-about__text {
  font-size: .95rem;
  line-height: 2;
  color: var(--color-text-sub);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .fp-about__grid { grid-template-columns: 1fr; }
  .fp-about__deco-circle { display: none; }
}


/* ==========================================================================
   03. SERVICES — サービスカード（ポップ：大きな角丸、カラーグラデーション）
   ========================================================================== */
.fp-services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0;
}
.fp-services__header .fp-section-label { margin-bottom: 0; }

.fp-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

/* カード共通（2×2グリッド用に aspect-ratio を横長に） */
.fp-svc-card {
  position: relative;
  z-index: 2; /* バブルキャンバス(z-index:0)より前面 */
  overflow: hidden;
  border-radius: var(--radius-xl); /* ポップ：大きな角丸 */
  aspect-ratio: 5 / 4;
  cursor: pointer;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.fp-svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* 背景（写真 or グラデーション） */
.fp-svc-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.fp-svc-card:hover .fp-svc-card__bg { transform: scale(1.05); }

/* サービス別グラデーション（background-image のみ指定 → background-size/position をリセットしない） */
.fp-svc-card--nozomi  .fp-svc-card__bg { background-image: linear-gradient(160deg, #f5c5d5 0%, #e08aaa 100%); }
.fp-svc-card--edele   .fp-svc-card__bg { background-image: linear-gradient(160deg, #5a5a5a 0%, #222 100%); }
.fp-svc-card--puratto .fp-svc-card__bg { background-image: linear-gradient(160deg, #c4a08a 0%, #8b6f5e 100%); }
.fp-svc-card--daidara .fp-svc-card__bg { background-image: linear-gradient(160deg, #5a8aaa 0%, #2a4f6a 100%); }

/* オーバーレイ */
.fp-svc-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
}

/* コンテンツ（カード下部） */
.fp-svc-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  color: #fff;
}

/* タグ（ポップ：ピル形状） */
.fp-svc-card__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-bottom: 12px;
}

.fp-svc-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.fp-svc-card__desc {
  font-size: .8rem;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.fp-svc-card:hover .fp-svc-card__desc { opacity: 1; transform: translateY(0); }

.fp-svc-card__link {
  display: inline-block;
  font-family: var(--font-en);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding-bottom: 2px;
  margin-top: 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s .05s ease, transform .3s .05s ease;
}
.fp-svc-card:hover .fp-svc-card__link { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .fp-services__grid { grid-template-columns: 1fr; }
  .fp-svc-card { aspect-ratio: 4 / 3; }
  .fp-svc-card__desc,
  .fp-svc-card__link { opacity: 1; transform: none; }
  /* SP：常時テキスト表示のためオーバーレイを濃く・広く */
  .fp-svc-card__overlay {
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 60%, transparent 100%);
  }
  /* テキストに影を追加して読みやすく */
  .fp-svc-card__tag,
  .fp-svc-card__name,
  .fp-svc-card__desc {
    text-shadow: 0 1px 4px rgba(0,0,0,.6);
  }
}


/* ==========================================================================
   04. FUTURE PLANS
   ========================================================================== */
.fp-future__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.fp-future__item {
  position: relative;
  z-index: 2; /* バブルキャンバス(z-index:0)より前面 */
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.fp-future__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* 画像エリア（未設定時はアクセント薄緑で表示） */
.fp-future__img-wrap {
  aspect-ratio: 8 / 5;
  overflow: hidden;
  background: var(--color-accent-bg);
}
.fp-future__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.fp-future__item:hover .fp-future__img {
  transform: scale(1.04);
}

/* テキストエリア */
.fp-future__body {
  padding: 20px 22px 24px;
}

.fp-future__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.fp-future__desc {
  font-size: .85rem;
  line-height: 1.85;
  color: var(--color-text-sub);
}

@media (max-width: 768px) {
  .fp-future__grid { grid-template-columns: 1fr; gap: 20px; }
}


/* ==========================================================================
   05. CEO MESSAGE
   ========================================================================== */
.fp-ceo {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 120px) 0;
  background: linear-gradient(135deg, #e8f2ef 0%, #d0e8e2 100%);
}

.fp-ceo__deco-word {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 600;
  color: rgba(61,122,107,.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.fp-ceo__inner {
  position: relative;
  z-index: 1;
}

.fp-ceo__content {
  max-width: 680px;
}

.fp-ceo__quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}

.fp-ceo__text {
  font-size: .9rem;
  line-height: 2;
  color: var(--color-text-sub);
  margin-bottom: 1.5rem;
}

.fp-ceo__signature {
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-text);
}
.fp-ceo__signature small {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  color: var(--color-text-sub);
  margin-top: 4px;
}


/* ==========================================================================
   06. NEWS
   ========================================================================== */
.fp-news__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0;
}
.fp-news__header .fp-section-label { margin-bottom: 0; }

.fp-news__list { margin-top: 32px; }

.fp-news__item {
  display: grid;
  grid-template-columns: 100px auto 1fr 24px;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: opacity var(--duration) var(--ease);
}
.fp-news__item:first-child { border-top: 1px solid var(--color-border); }
.fp-news__item:hover { opacity: .6; }

.fp-news__date {
  font-family: var(--font-en);
  font-size: .78rem;
  letter-spacing: .05em;
  color: var(--color-text-sub);
}

/* ポップ：ピル型タグ */
.fp-news__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--color-accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.fp-news__title {
  font-size: .9rem;
  line-height: 1.6;
}

.fp-news__arrow {
  color: var(--color-accent);
  font-size: 1rem;
  text-align: right;
}

.fp-news__empty {
  font-size: .9rem;
  color: var(--color-text-sub);
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .fp-news__item {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }
  .fp-news__date  { grid-column: 1; grid-row: 1; }
  .fp-news__tag   { grid-column: 2; grid-row: 1; }
  .fp-news__title { grid-column: 1 / 3; grid-row: 2; }
  .fp-news__arrow { display: none; }
}


/* ==========================================================================
   07. COMPANY
   ========================================================================== */
.fp-company__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 80px);
  align-items: stretch;
}

.fp-company__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}
.fp-company__table tr {
  border-bottom: 1px solid var(--color-border);
}
.fp-company__table th,
.fp-company__table td {
  padding: 14px 0;
  font-size: .88rem;
  text-align: left;
  vertical-align: top;
}
.fp-company__table th {
  width: 110px;
  font-weight: 400;
  color: var(--color-text-sub);
}
.fp-company__table td {
  padding-left: 1.5rem; /* th との視覚的な間隔を確保 */
}
.fp-company__table a {
  color: var(--color-accent);
  text-decoration: none;
}

.fp-company__map {
  margin-top: 0;
  display: flex;
  flex-direction: column;
}
.fp-company__map-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 16px;
  background: var(--color-accent-dark);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.fp-company__map-logo {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1); /* ロゴを白抜きに */
}
.fp-company__map-name {
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
}
.fp-company__map iframe {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 300px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .fp-company__grid { grid-template-columns: 1fr; }
  .fp-company__map  { margin-top: 0; }
}


/* ==========================================================================
   08. CONTACT BAND
   ========================================================================== */
.fp-contact {
  background: var(--color-accent);
  padding: clamp(60px, 8vw, 80px) 0;
}

.fp-contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.fp-contact__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: .4rem;
}

.fp-contact__sub {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .08em;
}

.fp-contact__actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .fp-contact__inner   { flex-direction: column; align-items: flex-start; }
  .fp-contact__actions { width: 100%; flex-direction: column; }
  .fp-btn              { justify-content: center; }
}


/* ==========================================================================
   ヘッダー スタイル
   ========================================================================== */

/* ---- ヘッダー本体 ----
   backdrop-filter を .l-header 本体に当てると Chrome で position:fixed の子要素
   (.p-drawer) の座標基準がヘッダー内部になるバグがある。
   回避策として ::before 疑似要素でブラーを描画し、本体には background のみ。 */
.l-header {
  background: rgba(255, 255, 255, .92) !important;
  border-bottom: 1px solid rgba(0, 0, 0, .07) !important;
  position: relative !important; /* ::before の基準。home ページは body.home で fixed に上書き */
}
.l-header::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

/* ---- フロントページ: ヘッダーを fixed にしてHEROと重ねる → 隙間ゼロ ---- */
body.home .l-header,
body.home #header {
  position: fixed !important;
  top: 0 !important;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
body.home .l-header::before {
  display: none !important;
}
/* フロントページ: コンテンツ領域の余白を全リセット（隙間ゼロ） */
body.home #wrapper,
body.home #content,
body.home .l-content,
body.home .l-content__body,
body.home .p-frontPage {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* HERO上：IDセレクタで確実に暗いグラデーション背景を適用
   → transparent/white どちらでも白文字が読める */
body.home #header:not(.is-past-hero) {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.22) 65%,
    rgba(0, 0, 0, 0.00) 100%
  ) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* ロゴ・ナビ・ドロワーアイコンを白に */
body.home .l-header:not(.is-past-hero) .c-headLogo { color: #fff !important; }
body.home .l-header:not(.is-past-hero) .c-gnav__li > .c-gnav__a { color: rgba(255,255,255,.9) !important; }
body.home .l-header:not(.is-past-hero) .l-header__drawerBtn svg { fill: #fff !important; }

/* お問合せボタン（HERO上）：帯に馴染むよう少し控えめに */
body.home .l-header:not(.is-past-hero) .with-header-cta > .c-gnav__a {
  background: rgba(61, 122, 107, 0.85) !important;
  padding: 7px 18px !important;
  font-size: .62rem !important;
}

/* フェード用トランジション（両方向） */
body.home .l-header .l-header__left,
body.home .l-header .l-header__center,
body.home .l-header .l-header__right,
body.home .l-header .l-header__drawerBtn { transition: opacity 0.3s ease; }

/* HERO通過後：ロゴ・ナビを非表示（.p-drawer は対象外→ドロワーが正常動作） */
body.home .l-header.is-past-hero .l-header__left,
body.home .l-header.is-past-hero .l-header__center,
body.home .l-header.is-past-hero .l-header__right,
body.home .l-header.is-past-hero .l-header__drawerBtn {
  opacity: 0;
  pointer-events: none;
}
body.home .l-header.is-past-hero { pointer-events: none; }
body.home .l-header.is-past-hero .p-drawer { pointer-events: auto; }

/* ---- 浮遊ハンバーガーボタン（フロントページ スクロール後） ---- */
.with-float-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9000;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .12);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease;
  pointer-events: none;
}
.with-float-menu.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.with-float-menu:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
}
.with-float-menu__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #1e3a30;
  border-radius: 1px;
}

/* ---- ロゴ（テキスト） ---- */
.c-headLogo {
  font-family: var(--font-serif) !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: var(--color-accent) !important;
  letter-spacing: .08em !important;
  text-decoration: none !important;
}

/* キャッチフレーズ（タグライン） */
.c-tagline {
  font-size: .6rem !important;
  letter-spacing: .12em !important;
  color: var(--color-text-sub) !important;
  opacity: 1 !important;
}

/* ---- グローバルナビ リンク ---- */
.c-gnav__li > .c-gnav__a {
  font-family: var(--font-en) !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  color: var(--color-text) !important;
  padding: 14px 12px !important;
  transition: color var(--duration) var(--ease) !important;
}
.c-gnav__li:hover > .c-gnav__a,
.c-gnav__li.-current > .c-gnav__a {
  color: var(--color-accent) !important;
}

/* ---- お問合せボタン（ポップ：ピル形状） ---- */
.with-header-cta > .c-gnav__a {
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: var(--radius-full) !important;
  padding: 9px 22px !important;
  margin-left: 8px !important;
  transition: background-color var(--duration) var(--ease),
              transform var(--duration) var(--ease) !important;
}
.with-header-cta > .c-gnav__a:hover {
  background: var(--color-accent-dark) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

/* ---- 電話番号 ---- */
.with-header-tel > .c-gnav__a {
  color: var(--color-accent) !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .04em !important;
}
.with-header-tel > .c-gnav__a:hover {
  color: var(--color-accent-dark) !important;
}

/* ---- スクロール後のヘッダー影（JS で .is-scrolled を付与） ---- */
.l-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

/* ---- SPドロワーメニュー（白背景・z-index引き上げ） ---- */
.p-drawer {
  background: rgba(255, 255, 255, .98) !important;
  color: #2d2d2d !important;
  z-index: 200 !important;          /* l-header(100) より上に */
  --ark-color--border: rgba(0, 0, 0, .1);
}
/* ドロワー内すべてのテキストを黒系に固定 */
.p-drawer,
.p-drawer *,
.p-drawer a {
  color: #2d2d2d;
}
/* メニューリンク */
.p-drawer .c-drawerNav__a,
.p-drawer .c-drawerNav__a:visited {
  color: #2d2d2d !important;
  display: block !important;
}
.p-drawer .c-drawerNav__a:hover {
  color: var(--color-accent) !important;
  background-color: rgba(61, 122, 107, .06) !important;
}
/* PHP追加アイテム（c-gnav__aクラス） */
.p-drawer .c-gnav__a,
.p-drawer .c-gnav__a:visited {
  color: #2d2d2d !important;
}
/* お問合せCTAボタン */
.p-drawer .with-header-cta > .c-gnav__a,
.p-drawer .with-header-cta > .c-gnav__a:visited {
  background: var(--color-accent) !important;
  color: #fff !important;
  border-radius: var(--radius-full) !important;
  display: inline-block !important;
  padding: 8px 20px !important;
  margin: 4px 0 !important;
}
/* 電話番号 */
.p-drawer .with-header-tel > .c-gnav__a,
.p-drawer .with-header-tel > .c-gnav__a:visited {
  color: var(--color-accent) !important;
  font-weight: 700 !important;
}
/* 閉じるボタン・SVGアイコン */
.p-drawer__close,
.p-drawer__close svg,
.p-drawer .arkhe-svg-close {
  color: #2d2d2d !important;
  fill: #2d2d2d !important;
}


/* ==========================================================================
   ABOUT PAGE — page-about.php
   ========================================================================== */

/* ---- 全幅対応 & Arkhe トップタイトルエリア非表示 ---- */
body.page-about .l-content__body {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}
body.page-about #top_title_area {
  display: none !important;
}

/* ---- セクション共通 ---- */
.ab-section {
  padding: clamp(80px, 10vw, 120px) 0;
}
.ab-section--dark {
  background: #1f3d36;
}
.ab-section--off-white {
  background: #f8f6f3;
}

/* ---- インナーコンテナ ---- */
.ab-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 60px);
}

/* ---- セクションヘッダー ---- */
.ab-section__hd {
  margin-bottom: clamp(40px, 6vw, 60px);
}
.ab-label {
  font-family: var(--font-en);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}
.ab-label--light { color: rgba(255, 255, 255, .55); }
.ab-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: .04em;
  line-height: 1.3;
}
.ab-title--light { color: #fff; }


/* ==========================================================================
   01. MESSAGE
   ========================================================================== */
.ab-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1.5;
  letter-spacing: .04em;
  text-align: center;
  margin: 0 0 clamp(48px, 7vw, 88px);
  padding: 0;
  border: none;
  quotes: none;
  font-style: normal;
}
.ab-message__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.ab-message__text p {
  font-size: 1rem;
  line-height: 2.1;
  color: var(--color-text);
  margin-bottom: 1.4rem;
}
.ab-message__text p:last-of-type { margin-bottom: 0; }
.ab-message__emphasis {
  font-family: var(--font-serif) !important;
  font-size: 1.15rem !important;
  font-style: italic;
  color: var(--color-accent) !important;
  border-left: 3px solid var(--color-accent);
  padding-left: 18px;
  margin: 1.6rem 0 !important;
  line-height: 1.8 !important;
}
.ab-message__sign {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, .1);
}
.ab-message__name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.ab-message__role {
  font-family: var(--font-en);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-text-sub);
}
.ab-message__photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}
.ab-message__img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.ab-message__placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--color-accent-bg) 0%, #bddbd4 100%);
}

@media (max-width: 768px) {
  .ab-message__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ab-message__photo {
    order: -1;
    position: static;
  }
  .ab-message__placeholder { aspect-ratio: 4 / 3; }
}


/* ==========================================================================
   02. PHILOSOPHY (MVV)
   ========================================================================== */
.ab-mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ab-mvv__item {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
}
.ab-mvv__en {
  font-family: var(--font-en);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 6px;
}
.ab-mvv__ja {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.ab-mvv__text {
  font-size: .95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, .82);
}
.ab-mvv__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ab-mvv__list li {
  font-size: .95rem;
  color: rgba(255, 255, 255, .82);
  line-height: 2;
  padding-left: 20px;
  position: relative;
}
.ab-mvv__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, .35);
}

@media (max-width: 768px) {
  .ab-mvv { grid-template-columns: 1fr; }
}


/* ==========================================================================
   03. COMPANY
   ========================================================================== */
.ab-table { max-width: 700px; }
.ab-table__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid rgba(0, 0, 0, .07);
  padding: 20px 0;
}
.ab-table__row:first-child { border-top: 1px solid rgba(0, 0, 0, .07); }
.ab-table dt {
  font-family: var(--font-en);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-top: 3px;
}
.ab-table dd {
  font-size: .96rem;
  line-height: 1.8;
  color: var(--color-text);
}
.ab-table dd a { color: var(--color-accent); }

@media (max-width: 600px) {
  .ab-table__row { grid-template-columns: 1fr; gap: 4px; }
}


/* ==========================================================================
   04. HISTORY — タイムライン
   ========================================================================== */
.ab-timeline { max-width: 680px; }
.ab-timeline__item {
  display: grid;
  grid-template-columns: 88px 32px 1fr;
  column-gap: 16px;
  padding-bottom: 48px;
  position: relative; /* ::after の基準点 */
}
.ab-timeline__item:last-child { padding-bottom: 0; }
.ab-timeline__year {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.2;
  text-align: left !important; /* 親テーマ上書き防止 */
  padding-top: 2px;
}
.ab-timeline__year small { font-size: .7em; opacity: .65; }
.ab-timeline__node {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.ab-timeline__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 0 0 5px rgba(61, 122, 107, .15); /* ハローリング */
}
/* 旧 line 要素は ::after に置換 */
.ab-timeline__line { display: none; }
.ab-timeline__text {
  font-size: .97rem;
  line-height: 1.7;
  color: var(--color-text);
  padding-top: 2px;
}

/* 連続縦線：padding-bottom を貫通して次アイテムのドットまで繋げる */
.ab-timeline__item:not(:last-child)::after {
  content: '';
  position: absolute;
  /* center of node col: year(88) + gap(16) + node-center(16) - line-half(1) = 119px */
  left: 119px;
  top: 20px;  /* ドット下端(4+12)の少し下 */
  bottom: 0;  /* padding-bottom を貫通して次アイテムの直前まで */
  width: 2px;
  background: rgba(61, 122, 107, .22);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform .7s var(--ease);
}

/* タイムライン縦線アニメーション（is-drawing クラス付与で起動） */
.ab-timeline.is-drawing .ab-timeline__item::after { transform: scaleY(1); }
.ab-timeline.is-drawing .ab-timeline__item:nth-child(1)::after { transition-delay: .4s; }
.ab-timeline.is-drawing .ab-timeline__item:nth-child(2)::after { transition-delay: .8s; }
.ab-timeline.is-drawing .ab-timeline__item:nth-child(3)::after { transition-delay: 1.2s; }
.ab-timeline.is-drawing .ab-timeline__item:nth-child(4)::after { transition-delay: 1.6s; }

@media (max-width: 600px) {
  .ab-timeline__item { grid-template-columns: 66px 28px 1fr; }
  /* SP: year(66) + gap(16) + node-center(14) - 1 = 95px */
  .ab-timeline__item:not(:last-child)::after { left: 95px; }
  .ab-timeline__year { font-size: .88rem; }
}


/* ==========================================================================
   05. CTA
   ========================================================================== */
.ab-cta {
  background: var(--color-accent-bg);
  padding: clamp(48px, 7vw, 72px) 0;
  text-align: center;
}
.ab-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.ab-cta__text {
  font-size: 1.1rem;
  color: var(--color-text);
  letter-spacing: .04em;
}
.ab-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  transition: background-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}
.ab-cta__btn:hover {
  background: var(--color-accent-dark);
  color: #fff;
  transform: translateY(-2px);
}


/* ==========================================================================
   Contact ページ (.p-contact)
   ========================================================================== */

/* ---- 全幅オーバーライド ---- */
body.page-contact .l-content__body {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}
body.page-contact #top_title_area { display: none !important; }

/* ---- 共通セクション ---- */
.ct-section {
  padding: 80px 24px;
}

/* ---- HEADER セクション ---- */
.ct-section.ct-header {
  background: var(--color-accent-bg);
  text-align: center;
  padding: 100px 24px 80px;
}
.ct-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--color-text);
  margin: 12px 0 16px;
  line-height: 1.2;
}
.ct-lead {
  font-size: 1rem;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin: 0;
}

/* ---- INNER コンテナ ---- */
.ct-inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* ---- BODY：2カラム ---- */
.ct-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) {
  .ct-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---- INFO カード ---- */
.ct-info-card {
  background: var(--color-accent-bg);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 32px 28px;
}
.ct-info-card__title {
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 20px;
}
.ct-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ct-info-list__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: baseline;
}
.ct-info-list__label {
  font-family: var(--font-en);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--color-accent);
}
.ct-info-list__val {
  font-size: .95rem;
  color: var(--color-text);
}
.ct-info-list__tel {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
}
.ct-info-list__tel:hover {
  text-decoration: underline;
}
.ct-info-card__note {
  font-size: .82rem;
  color: var(--color-text-sub);
  margin: 20px 0 0;
  line-height: 1.7;
}

/* ---- CF7 フォームスタイル ---- */
.wpcf7 p {
  margin: 0 0 20px;
}
.wpcf7 label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--color-text-sub);
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(61, 122, 107, .15);
}
.wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.wpcf7 textarea {
  resize: vertical;
  min-height: 140px;
}
.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-en);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-full);
  padding: 16px 48px;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease),
              transform var(--duration) var(--ease);
  margin-top: 8px;
}
.wpcf7-submit:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}
.wpcf7 .wpcf7-not-valid-tip {
  font-size: .78rem;
  color: #c0392b;
  margin-top: 4px;
  display: block;
}
.wpcf7 .wpcf7-response-output {
  font-size: .88rem;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 16px !important;
}


/* ==========================================================================
   目的別CTA（fp-cta-purpose）
   ========================================================================== */
.fp-cta-purpose {
  background: var(--color-accent-bg);
}

.fp-cta-purpose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.fp-cta-purpose__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-xl);
  border-top: 3px solid var(--color-accent);
  padding: 32px 28px 28px;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.fp-cta-purpose__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  opacity: 1;
}

.fp-cta-purpose__num {
  font-family: var(--font-en);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--color-accent);
  opacity: .45;
  margin-bottom: 16px;
}

.fp-cta-purpose__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
  line-height: 1.4;
}

.fp-cta-purpose__desc {
  font-size: .85rem;
  line-height: 1.85;
  color: var(--color-text-sub);
  flex: 1;
  margin-bottom: 20px;
}

.fp-cta-purpose__arrow {
  font-family: var(--font-en);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
  display: inline-block;
  align-self: flex-start;
  transition: letter-spacing var(--duration) var(--ease);
}
.fp-cta-purpose__card:hover .fp-cta-purpose__arrow {
  letter-spacing: .2em;
}

@media (max-width: 768px) {
  .fp-cta-purpose__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .fp-cta-purpose__card { padding: 24px 22px 22px; }
}
