/*
Theme Name: Glad Home Pastel - SWELL Child
Theme URI: https://gladhome-pastel.jp/
Description: グラットホーム パステル専用のSWELL子テーマ
Author: Glad Home Pastel
Template: swell
Version: 2.1.15
Text Domain: gladhome-pastel
*/

/* ==========================================================================
   グラットホーム パステル — 共通スタイル
   高齢者・そのご家族が主読者のため、フォントサイズとコントラストを優先
   ========================================================================== */

:root {
  /* 現行サイト（gladhome-pastel.jp / Lightningテーマ）で実際に使われている
     配色に合わせている。--vk-color-primary系（#337ab7 / #296292 / #3886c9）と
     セクション背景 #e2f2ff は、現行サイトのCSSから確認した値をそのまま採用。 */
  --color-primary: #337ab7;      /* 現行サイトのメインカラー（vk-color-primary） */
  --color-primary-dark: #296292; /* 現行サイトのホバー・濃色（vk-color-primary-dark） */
  --color-primary-vivid: #3886c9;/* 現行サイトのアクセント（vk-color-primary-vivid） */
  --color-primary-pale: #edf6fc; /* 記事・規約ページの見出し背景 */
  --color-secondary: #8db6cd;    /* 現行サイトで使われているサブの淡い青 */
  --color-bg: #fdfcfa;           /* ページ全体の背景（現行サイトは白背景。参考サイトに倣いごく僅かに温かみを加えている） */
  --color-bg-soft: #e2f2ff;      /* セクション背景（現行サイトの淡い水色） */
  --color-bg-soft2: #e6f1fa;     /* セクション背景の交互配置用（区切りがはっきり見えるよう少し濃いめに） */
  --color-text: #333333;         /* 本文（現行サイトの本文色に近い濃いグレー） */
  --color-text-light: #6b6b6b;
  --color-border: #e5e5e5;       /* 現行サイトの区切り線色 */
  --color-accent: #f2892e;       /* 差し色（明るいオレンジ）。青一色に偏らないよう要所で使用 */
  --color-accent-dark: #d76f18;
  --color-accent-soft: #fdece0;
  --max-width: 1080px;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  /* スムーススクロールはmain.jsの自前イージングで制御するため、
     ブラウザ標準のsmooth（カクつく機種がある）は使わない */
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.9;
  font-size: 17px;
}

h1:where(:not(.faq_q)), h2:where(:not(.faq_q)), h3:where(:not(.faq_q)), h4:where(:not(.faq_q)) {
  font-weight: 700;
  letter-spacing: 0.02em;
}

h3:where(:not(.faq_q)) {
  display: flex;
  align-items: center;
  gap: 10px;
}

h3:where(:not(.faq_q))::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary-dark);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- ヘッダー ----------
   参考サイト（minoh-greenvilla.jp）は高さ142pxの1段構成で、
   ロゴ・ナビ・サブメニューパネルが横並びになっていた。
   当サイトも2段（上段バー＋下段ナビ）から、1段の背の高いヘッダーに統合。 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.main-nav {
  justify-self: center;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 58px;
  width: auto;
  max-width: none;
  display: block;
}

.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;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header-divider {
  display: block;
  width: 2px;
  height: 32px;
  background: var(--color-border);
  border-radius: 1px;
}

@media (max-width: 1080px) {
  .header-divider {
    display: none;
  }
}

/* お問い合わせボタン（参考サイトの #header ._buttons ._contact を再現。
   丸い白アイコンバッジを左に重ねたソリッドのピルボタン） */
.header-contact {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  min-width: 190px;
  padding: 0 28px 0 60px;
  border-radius: 28px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  overflow: hidden;
  transition: background 0.2s ease;
}

.header-contact:hover {
  background: var(--color-accent-dark);
}

.header-contact::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d76f18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 6l10 7 10-7'/%3E%3C/svg%3E") no-repeat center/20px 20px;
}

/* 電話ボタン：常にアイコンのみ（PC・SPともに番号テキストは出さない） */
.header-tel {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.header-tel:hover {
  background: var(--color-primary-dark);
}

.header-tel .label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-tel::before {
  content: "";
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") no-repeat center/24px 24px;
}

/* SPでは電話ではなくメール（お問い合わせ）を優先し、電話アイコンは非表示 */
@media (max-width: 1080px) {
  .header-tel {
    display: none;
  }
  .header-contact {
    min-width: 0;
    height: auto;
    padding: 0;
    background: none;
    overflow: visible;
  }
  .header-contact:hover {
    background: none;
    opacity: 0.7;
  }
  .header-contact .label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .header-contact::before {
    position: static;
    transform: none;
    width: 36px;
    height: 36px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 6l10 7 10-7'/%3E%3C/svg%3E") no-repeat center/26px 26px;
  }
}

/* ハンバーガーボタン：枠なし・線のみ。長さを段違いにして単調な3本線にしない */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  position: relative;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary-dark);
  transition: width 0.2s ease, background 0.2s ease;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--color-primary-dark);
  transition: top 0.25s ease, transform 0.25s ease, width 0.2s ease;
}

.nav-toggle-bar::before {
  top: -9px;
  width: 26px;
}

.nav-toggle-bar::after {
  top: 9px;
  width: 26px;
}

.nav-toggle-label {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  width: 26px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  width: 26px;
  transform: rotate(-45deg);
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(24px, 2.5vw, 40px);
}

.main-nav > ul > li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.98rem;
  white-space: nowrap;
}

.main-nav > ul > li > a {
  position: relative;
}

.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li > a[aria-current="page"]::after,
.main-nav > ul > li.has-sub.is-current > a::after {
  transform: scaleX(1);
}

.main-nav a:hover,
.main-nav a[aria-current="page"],
.main-nav li.has-sub.is-current > a {
  color: var(--color-primary-dark);
}

/* サービス案内のドロップダウン（参考サイトのメガメニューを簡略化） */
.has-sub .sub-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 10px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.has-sub:hover .sub-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-panel a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.sub-panel a:hover,
.sub-panel a[aria-current="page"] {
  background: var(--color-bg-soft);
}

.sub-panel a::after {
  display: none;
}

.nav-cta-mobile {
  display: none;
}

/* PC：サービス案内を3つのサービスが横並びになるメガメニューで表示 */
@media (min-width: 1081px) {
  .header-divider {
    display: none;
  }

  .main-nav,
  .main-nav > ul {
    height: 100%;
  }

  .main-nav > ul {
    align-items: stretch;
  }

  .main-nav > ul > li {
    display: flex;
    align-items: center;
  }

  .main-nav > ul > li.nav-cta-mobile {
    display: none;
  }

  .main-nav > ul > li.has-sub {
    position: static;
  }

  .main-nav > ul > li.has-sub > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .nav-mega-indicator {
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: margin-top 0.2s ease, transform 0.2s ease;
  }

  .main-nav > ul > li.has-sub:hover .nav-mega-indicator,
  .main-nav > ul > li.has-sub:focus-within .nav-mega-indicator {
    margin-top: 3px;
    transform: rotate(225deg);
  }

  .main-nav .has-sub .sub-panel {
    position: fixed;
    top: 96px;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: min(1080px, calc(100vw - 48px));
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(51, 122, 183, 0.16);
    border-top: 3px solid var(--color-primary);
    border-radius: 0 0 18px 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px rgba(24, 65, 96, 0.16);
    transform: translate(-50%, 10px);
    backdrop-filter: blur(10px);
  }

  body.admin-bar .main-nav .has-sub .sub-panel {
    top: 128px;
  }

  .main-nav .has-sub:hover .sub-panel,
  .main-nav .has-sub:focus-within .sub-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .main-nav .sub-panel a {
    display: grid;
    grid-template-columns: 82px 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 88px;
    padding: 12px 16px 12px 12px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-bg);
    color: var(--color-primary-dark);
    font-size: 0.94rem;
    font-weight: 700;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  }

  .main-nav .sub-panel a::before {
    content: "";
    display: block;
    width: 82px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 9px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 3px 10px rgba(24, 65, 96, 0.14);
  }

  .main-nav .sub-panel a:nth-child(1)::before {
    background-image: url("images/service/glad-home.webp");
  }

  .main-nav .sub-panel a:nth-child(2)::before {
    background-image: url("images/service/day-service.webp");
  }

  .main-nav .sub-panel a:nth-child(3)::before {
    background-image: url("images/service/care-plan.webp");
  }

  .main-nav .sub-panel a::after {
    content: "→";
    display: block;
    color: currentColor;
    font-size: 1.15rem;
    transition: transform 0.2s ease;
  }

  .main-nav .sub-panel a[aria-current="page"] {
    border-color: rgba(51, 122, 183, 0.42);
    background: var(--color-bg-soft);
  }

  .main-nav .sub-panel a:hover,
  .main-nav .sub-panel a:focus-visible {
    border-color: var(--color-primary-dark);
    background: var(--color-primary-dark);
    color: #fff;
    transform: translateY(-2px);
  }

  .main-nav .sub-panel a:hover::after,
  .main-nav .sub-panel a:focus-visible::after {
    transform: translateX(4px);
  }
}

@media (max-width: 1080px) {
  .nav-mega-indicator {
    display: none;
  }
  body.gladhome-pastel-site {
    padding-top: 84px;
  }
  .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 2px 14px rgba(22, 62, 92, 0.08);
  }
  body.nav-is-open {
    overflow: hidden;
  }
  .nav-toggle {
    display: flex;
  }
  .header-inner {
    position: relative;
    z-index: 300;
    height: 84px;
    padding-right: 16px;
    padding-left: 16px;
    gap: 12px;
    background: transparent;
  }
  .logo {
    width: min(292px, calc(100vw - 160px));
  }
  .logo img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: 70px;
    object-fit: contain;
  }
  .main-nav {
    display: none;
    position: fixed;
    justify-self: stretch;
    width: auto;
    z-index: 200;
    top: 84px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    overflow-y: auto;
  }
  body.admin-bar .main-nav {
    top: 116px;
  }
  .main-nav.is-open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 8px 20px 16px;
    gap: 0;
  }
  .main-nav > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 16px 8px 16px 22px;
    font-size: 1.08rem;
    font-weight: 700;
    border-bottom: 1px solid var(--color-border);
    border-radius: 10px;
    transition: background 0.15s ease;
  }
  .main-nav > ul > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 22px;
    border-radius: 3px;
    background: var(--color-primary);
  }

  .main-nav > ul > li > a[aria-current="page"]::before,
  .main-nav > ul > li.has-sub.is-current > a::before {
    background: var(--color-accent);
  }
  .main-nav > ul > li > a::after,
  .main-nav > ul > li > a[aria-current="page"]::after,
  .main-nav > ul > li > a:hover::after,
  .main-nav > ul > li.has-sub.is-current > a::after {
    content: "";
    position: absolute;
    left: auto;
    right: 10px;
    bottom: auto;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -6px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    background: none;
    transform: rotate(-45deg);
    transition: none;
  }
  .main-nav > ul > li > a:active,
  .main-nav > ul > li > a:hover {
    background: var(--color-bg-soft);
  }
  .main-nav .has-sub .sub-panel,
  .main-nav .has-sub:hover .sub-panel {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    padding: 2px 0 10px 22px;
    display: block;
  }
  .sub-panel a {
    position: relative;
    padding: 10px 10px 10px 18px;
  }
  .sub-panel a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-text-light);
  }
  .nav-cta-mobile {
    display: block;
    margin-top: 20px;
  }
  .main-nav .nav-cta-mobile a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 44px;
    border: none;
    border-radius: 999px;
    background: var(--color-primary-dark);
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: var(--shadow);
    transition: background 0.2s ease;
  }

  .main-nav .nav-cta-mobile a::after {
    right: 22px;
    border-color: #fff;
  }
  .main-nav .nav-cta-mobile a::before {
    content: "";
    position: static;
    left: auto;
    top: auto;
    transform: none;
    border-radius: 0;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 6l10 7 10-7'/%3E%3C/svg%3E") no-repeat center/22px 22px;
  }
  .main-nav .nav-cta-mobile a:active {
    background: var(--color-primary);
  }
}

@media (max-width: 782px) {
  body.admin-bar .main-nav {
    top: 130px;
  }
}

/* iPhone SE等、幅の狭い端末向け：ヘッダーの横幅予算がさらに厳しいのでロゴを縮小 */
@media (max-width: 360px) {
  .header-inner {
    gap: 8px;
  }
}

/* ---------- ヒーロー（ファーストビュー） ----------
   参考サイト（minoh-greenvilla.jp）の実際のCSSを解析して構造を再現：
   ・画面幅より広い写真を左右にはみ出させ、天面を大きく丸めた
     アーチ状の「窓」にする（.top_mv_slide { width:calc(100% + 340px);
     border-radius:418px 418px 0 0 } 相当）
   ・写真下部を黒グラデーションでトーンダウンし、文字を重ねる
   ・細字巨大な英字（Josefin Sans, 300, マイナス字間）を装飾的な
     大見出しとして配置し、実際に読ませたい和文は下に控えめに置く
   ・写真右下に、丸い色付きバッジ（参考サイトのスクロール誘導）を重ねる。
     当サイトでは実用性を兼ねて電話バッジにしている。 */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  max-height: 820px;
  overflow: hidden;
}

.hero-frame {
  position: absolute;
  top: 0;
  left: -90px;
  width: calc(100% + 180px);
  height: 100%;
  border-radius: 260px 260px 0 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
}

.hero-slide.is-active {
  opacity: 1;
}

/* 初回表示にはtransitionを付けない（LCP要素のアニメーションはLCP計測を
   遅らせるため）。JS側で初回描画の後にこのクラスを付けて、
   2枚目以降のスライド切り替えだけクロスフェードさせる。 */
.hero-frame.is-ready .hero-slide {
  transition: opacity 1.6s ease;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 20, 25, 0.88) 0%, rgba(15, 20, 25, 0.25) 42%, rgba(15, 20, 25, 0) 68%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 64px;
}

.hero-kicker-big {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  color: #fff;
  margin: 0 0 10px;
}

.hero h1 {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.7;
  margin: 0 0 22px;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
  max-width: 30em;
}

@media (max-width: 480px) {
  .hero-kicker-big {
    font-size: clamp(2.1rem, 10vw, 3rem);
    margin: 0 0 8px;
  }
  .hero h1 {
    font-size: 1.2rem;
    line-height: 1.6;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary-dark);
  --badge-bg: var(--color-primary-dark);
  --badge-color: #fff;
}

.hero-actions .btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
  --badge-bg: #fff;
  --badge-color: var(--color-primary-dark);
}

.hero-actions .btn-outline {
  border-color: #fff;
  color: #fff;
  --badge-bg: rgba(255, 255, 255, 0.22);
  --badge-color: #fff;
}

.hero-actions .btn-outline:hover {
  background: #fff;
  color: var(--color-primary-dark);
  --badge-bg: var(--color-primary-dark);
  --badge-color: #fff;
}

/* スクロール誘導バッジ（参考サイトの ._scroll を再現。丸バッジの中で
   小さな点が上下にバウンドし、下にコンテンツがあることを示す） */
/* 半円のバッジ（写真の下端に張り付く形）にカーソルアイコンと
   「SCROLL」ラベルを収める。 */
/* 完全な円をヒーロー下端でちょうど半分だけ見える位置に配置し、
   .hero の overflow:hidden で下半分をクリップして半円に見せている。 */
.hero-scroll {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: -130px;
}

.hero-scroll .circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding-top: 30px;
  padding-bottom: 26px;
}

.hero-scroll .label {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
  color: #fff;
}

.hero-scroll .cue {
  width: 24px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 13px;
  position: relative;
}

.hero-scroll .cue::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: hero-scroll-cue 1.6s ease-in-out infinite;
}

@keyframes hero-scroll-cue {
  0% { top: 6px; opacity: 1; }
  70% { top: 18px; opacity: 0; }
  71% { top: 6px; opacity: 0; }
  100% { top: 6px; opacity: 1; }
}

@media (max-width: 780px) {
  .hero {
    height: 78vh;
    min-height: 480px;
  }
  .hero-frame {
    left: -40px;
    width: calc(100% + 80px);
    border-radius: 120px 120px 0 0;
  }
  .hero-scroll {
    right: 20px;
    bottom: -95px;
  }
  .hero-scroll .circle {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    padding-top: 20px;
    padding-bottom: 18px;
    gap: 8px;
  }
  .hero-scroll .cue {
    width: 18px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .hero-scroll {
    right: 12px;
    bottom: -60px;
  }
  .hero-scroll .circle {
    width: 120px;
    height: 120px;
    padding-top: 14px;
    padding-bottom: 10px;
    gap: 4px;
  }
  .hero-scroll .label {
    font-size: 0.7rem;
  }
  .hero-scroll .cue {
    width: 14px;
    height: 20px;
  }
}

/* ---------- お知らせ用プロモーションバナー ----------
   お知らせ一覧を強調するのではなく、独立した告知バーとして
   ヒーロー直下に配置。 */
/* 枠全体がリンク。ホバーで背景色が左から右へスライドして
   塗りつぶされ、文字色が反転する。 */
.promo-banner {
  position: relative;
  z-index: 2;
  display: block;
  overflow: hidden;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
}

.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.promo-banner:hover::before {
  transform: scaleX(1);
}

.promo-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  text-align: center;
}

.promo-banner-inner p {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  transition: color 0.3s ease;
}

.promo-banner .link-arrow {
  color: var(--color-primary-dark);
  transition: color 0.3s ease, transform 0.25s ease;
}

.promo-banner:hover .promo-banner-inner p,
.promo-banner:hover .link-arrow {
  color: #fff;
}

.promo-banner:hover .link-arrow {
  transform: translateX(4px);
}

/* ---------- ボタン ----------
   参考サイトの `.all_btn_round`（ピル型＋右端の丸いアイコンバッジ）を再現。
   バッジの色は --badge-bg / --badge-color で文脈ごとに切り替える。 */
.btn {
  --badge-bg: var(--color-primary-dark);
  --badge-color: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 54px 4px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  min-height: 52px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 20px 20px;
  mask-size: 20px 20px;
}

.btn-icon-tel {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.btn-icon-mail {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 6l10 7 10-7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 6l10 7 10-7'/%3E%3C/svg%3E");
}

.btn::after {
  content: "→";
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--badge-bg);
  color: var(--badge-color);
  font-size: 1.05rem;
  transition: background 0.2s ease;
}

.btn-primary {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  --badge-bg: rgba(255, 255, 255, 0.22);
  --badge-color: #fff;
}

.btn-primary:hover {
  background: #fff;
  color: var(--color-primary-dark);
  --badge-bg: var(--color-primary-dark);
  --badge-color: #fff;
}

.btn-outline {
  background: #fff;
  border-color: var(--color-primary-dark);
  color: var(--color-primary-dark);
  --badge-bg: var(--color-primary-dark);
  --badge-color: #fff;
}

.btn-outline:hover {
  background: var(--color-primary-dark);
  color: #fff;
  --badge-bg: #fff;
  --badge-color: var(--color-primary-dark);
}

/* ---------- セクション共通 ----------
   参考サイト（minoh-greenvilla.jp）は余白がかなり大きく取られていた
   （セクションpaddingが120〜270px規模）ので、こちらも規模なりに広めに。 */
section {
  padding: 88px 0;
}

@media (max-width: 640px) {
  section {
    padding: 52px 0;
  }
  #services {
    padding-bottom: 80px;
  }
}

.section-alt {
  background: var(--color-bg-soft2);
  border-top-right-radius: 120px;
  border-bottom-left-radius: 120px;
}

#about,
#access,
#faq {
  position: relative;
  background: var(--color-bg) url("images/pastel-badge-gray.webp?v=5") no-repeat center center / 680px auto fixed;
}

@media (max-width: 640px) {
  #about,
  #access,
  #faq {
    background-size: 320px auto;
  }
}

@media (max-width: 900px) {
  #about,
  #access,
  #faq {
    background-color: transparent;
    background-image: none;
  }

  .pastel-fixed-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1;
    width: min(72vw, 300px);
    aspect-ratio: 1 / 1;
    pointer-events: none;
    opacity: 1;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.2s ease;
  }

  .pastel-fixed-watermark img {
    display: block;
    width: 100%;
    height: auto;
  }

  #main > section {
    position: relative;
    z-index: 2;
  }

  #about > .container,
  #access > .container,
  #faq > .container {
    position: relative;
    z-index: 3;
  }

  #column {
    background-color: var(--color-bg);
  }
}

@media (min-width: 901px) {
  .pastel-fixed-watermark {
    display: none;
  }
}

#about {
  padding-top: 136px;
  border-top-right-radius: 0;
}

@media (max-width: 640px) {
  body.home.gladhome-pastel-site .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .section-alt {
    border-top-right-radius: 40px;
    border-bottom-left-radius: 40px;
  }
  #about {
    padding-top: 72px;
  }
}

/* 現行サイト（Lightningテーマ）の見出し装飾
   （h2 { border-top: 2px solid var(--vk-color-primary); border-bottom: 1px solid ... }）
   を踏襲しつつ、参考サイトの大きく余白を取った見出しサイズに合わせて拡大。 */
.section-heading {
  position: relative;
  text-align: left;
  margin-bottom: 40px;
}

.section-heading::before {
  content: "";
  position: absolute;
  top: -24px;
  left: -28px;
  width: 84px;
  height: 84px;
  background: radial-gradient(circle, var(--color-accent-soft) 0%, rgba(253, 236, 224, 0) 72%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  margin: 0;
  padding: 0;
}

/* 見出しは全ページ共通で罫線なし・英字キッカーのみに統一
   （参考サイトの "About us" のような細字の英字キッカー）。 */

/* ---------- お知らせ一覧 ---------- */
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.news-list li {
  border-bottom: 1px solid var(--color-border);
}

.news-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 20px 4px;
  color: var(--color-text);
  text-decoration: none;
  transition: background 0.2s ease, padding 0.2s ease;
}

.news-list a:hover,
.news-list a:focus-visible {
  padding-right: 12px;
  padding-left: 12px;
  background: rgba(41, 98, 146, 0.06);
}

.news-list time {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 500;
  color: var(--color-primary-dark);
  flex-shrink: 0;
  width: 110px;
}

.news-list .news-text {
  flex: 1;
  min-width: 220px;
  color: var(--color-text);
}

.news-list .news-arrow {
  flex-shrink: 0;
  color: var(--color-primary-dark);
  font-size: 1.15rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.news-list a:hover .news-arrow,
.news-list a:focus-visible .news-arrow {
  transform: translateX(4px);
}

@media (max-width: 600px) {
  .news-list a {
    gap: 6px 12px;
  }
  .news-list time {
    width: 100%;
  }
  .news-list .news-text {
    min-width: 0;
  }
}

/* ---------- 施設情報：シンプルなラベル+値のリスト
   （罫線だらけの表組みをやめ、行間にゆとりを持たせた見せ方に） ---------- */
.access-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
}

.access-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 720px) {
  .access-row {
    grid-template-columns: 1fr;
  }
}

.info-list {
  margin: 0;
  background: none;
  border-radius: var(--radius);
  padding: 8px 24px;
  box-shadow: none;
}

.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
}

.info-row dd {
  margin: 0;
  color: var(--color-text);
}

@media (max-width: 560px) {
  .info-list {
    padding: 0 4px;
  }
  .info-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 11px 0;
    line-height: 1.55;
  }
  .info-row dt {
    font-size: 0.8rem;
    color: var(--color-primary-dark);
  }
}

.section-heading .kicker {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.heading-2line {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem) !important;
}

/* ---------- スクロールで下からふわっと現れる演出 ----------
   参考サイト（urunaracoco.co.jp）の `.scroll_up` を再現。
   要素は最初は少し下＋透明で、画面に入ったタイミングで
   js/main.js（IntersectionObserver）が .is-visible を付与し、
   定位置へフェードインする。 */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-list .scroll-reveal:nth-child(2),
.card-grid .scroll-reveal:nth-child(2),
.service-row-list .scroll-reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.feature-list .scroll-reveal:nth-child(3),
.card-grid .scroll-reveal:nth-child(3),
.service-row-list .scroll-reveal:nth-child(3) {
  transition-delay: 0.24s;
}

/* ---------- サービス：横長カード（写真＋文章を横並びのまま
   カードで囲む形。3カラムのcard-gridより一つ前の見せ方に近い） ---------- */
.service-row-list {
  display: grid;
  gap: 24px;
}

.card.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
  border: none;
}

.card.service-row > * {
  min-width: 0;
}

.service-row-list .service-row:nth-child(2) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.service-row-list .service-row:nth-child(2) .feature-photo {
  order: 2;
}

.service-row .feature-photo img {
  width: 100%;
  margin: 0;
  max-width: none;
}

.service-row .feature-body p {
  margin-bottom: 16px;
}

/* トップページ「3つのサービス」の詳細リンク */
.service-row-list .service-row {
  --service-link-color: var(--color-primary-dark);
}

.service-row .link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  justify-self: start;
  gap: 4px;
  min-width: 0;
  min-height: 0;
  padding: 2px 0 5px;
  border: 0;
  border-bottom: 1px solid rgba(39, 91, 132, 0.42);
  border-radius: 0;
  background: transparent;
  color: var(--service-link-color);
  font-size: 0.84rem;
  box-shadow: none;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.service-row .link-underline .link-arrow {
  display: inline-block;
  flex: 0 0 auto;
  margin-left: 0;
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.service-row .link-underline::after {
  display: none;
  content: none;
}

.service-row .link-underline:hover,
.service-row .link-underline:focus-visible {
  border-color: var(--service-link-color);
  background: transparent;
  color: var(--service-link-color);
  opacity: 0.75;
}

.service-row .link-underline:hover .link-arrow,
.service-row .link-underline:focus-visible .link-arrow {
  transform: translateX(3px);
}

/* ---------- トップページ：最新コラム ---------- */
.column-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.column-card {
  min-width: 0;
}

.column-card-link {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(24, 65, 96, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.column-card-link:hover,
.column-card-link:focus-visible {
  color: var(--color-text);
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(24, 65, 96, 0.14);
}

.column-card-image,
.column-card-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.column-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.column-card-link:hover .column-card-image img,
.column-card-link:focus-visible .column-card-image img {
  transform: scale(1.05);
}

.column-card-placeholder {
  background: var(--color-bg-soft) url("images/pastel-badge-gray.webp?v=5") no-repeat center / 58% auto;
}

.column-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.column-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 10px;
  color: var(--color-text-light);
  font-size: 0.78rem;
}

.column-card-category {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-primary-dark);
  font-weight: 700;
}

.column-card h3 {
  display: block;
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  font-size: 1.08rem;
  line-height: 1.55;
}

.column-card h3::before {
  display: none;
}

.column-card-excerpt {
  margin: 0 0 18px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.8;
}

.column-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--color-primary-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.column-card-more::after {
  content: "→";
  transition: transform 0.2s ease;
}

.column-card-link:hover .column-card-more::after,
.column-card-link:focus-visible .column-card-more::after {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .column-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .column-card-body {
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .card.service-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  body.home.gladhome-pastel-site .card.service-row {
    padding: 18px;
  }
  .service-row .feature-num {
    margin-bottom: 2px;
  }
  .service-row h3 {
    margin-bottom: 6px;
  }
  .service-row .feature-photo {
    margin-bottom: 4px;
  }
  .service-row-list .service-row:nth-child(2) {
    grid-template-columns: 1fr;
  }
  /* 数字→見出し→画像→文章の順に並べ替え */
  .service-row .feature-body {
    display: contents;
  }
  .service-row .feature-num {
    order: 1;
  }
  .service-row h3 {
    order: 2;
  }
  .service-row .feature-photo {
    order: 3;
  }
  .service-row .feature-body p,
  .service-row .feature-body .link-underline {
    order: 4;
  }
  .service-row-list .service-row:nth-child(2) .feature-photo {
    order: 3;
  }
}

/* 下線が左から右へ伸びるリンク（ボタンより軽い「もっと見る」用） */
.link-underline {
  position: relative;
  display: inline-block;
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: none;
  padding-bottom: 4px;
}

.link-arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.25s ease;
}

.link-underline:hover .link-arrow {
  transform: translateX(4px);
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  opacity: 0.35;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.link-underline:hover::after {
  opacity: 1;
}

/* ---------- 番号付きサービス一覧（参考サイトのFeaturesセクションを踏襲） ---------- */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 48px;
}

.feature-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.feature-list li:nth-child(even) .feature-photo {
  order: 2;
}

.feature-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .feature-photo img {
  transform: scale(1.06);
}

.feature-num {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.feature-body h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.feature-body p {
  color: var(--color-text-light);
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .feature-list li {
    grid-template-columns: 1fr;
  }
  .feature-list li:nth-child(even) .feature-photo {
    order: initial;
  }
}

/* ---------- コンセプト（写真＋文章の2カラム） ---------- */
.concept-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}

.about-cta {
  margin-top: 24px;
}

.section-cta {
  text-align: center;
  margin-top: 32px;
}

.btn-soft {
  background: #fff;
  border-color: var(--color-primary-dark);
  color: var(--color-primary-dark);
  padding-right: 44px;
  --badge-bg: var(--color-primary-dark);
  --badge-color: #fff;
}

.btn-soft:hover {
  background: var(--color-primary-dark);
  color: #fff;
  --badge-bg: #fff;
  --badge-color: var(--color-primary-dark);
}

.btn-soft::after {
  top: 50%;
  bottom: auto;
  right: 6px;
  width: 32px;
  height: 32px;
  transform: translateY(-50%);
  font-size: 0.9rem;
}

/* 理念セクションの線画イラスト＋文章 */
.philosophy-intro {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}

.philosophy-illustration {
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .philosophy-intro {
    grid-template-columns: 1fr;
  }
  .philosophy-illustration {
    max-width: 160px;
    margin: 0 auto;
  }
}

/* About写真はPC・SPとも1枚で安定して表示 */
.photo-fan {
  margin: 0;
}

.photo-fan img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.photo-fan .main {
  box-shadow: var(--shadow);
}

.concept-row p {
  font-size: 1.05rem;
}

@media (max-width: 720px) {
  .concept-row {
    grid-template-columns: 1fr;
  }

  .photo-fan,
  .photo-fan img,
  .photo-fan .main {
    width: 100%;
    height: auto !important;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
  }
}

/* ---------- カード ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card-grid--single {
  grid-template-columns: 1fr;
}

.card-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 560px) {
  .card-grid--2col {
    grid-template-columns: 1fr;
  }
}

/* ---------- 施設写真ギャラリー ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.photo-gallery figure {
  margin: 0;
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.photo-gallery figcaption {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--color-text-light);
  text-align: center;
}

/* 参考サイトのFeatures一覧（色枠なし・細いグレー罫線のみ）に合わせて
   左アクセント罫線をやめ、より控えめな見た目にしている。 */
.card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card-icon {
  transition: transform 0.25s ease;
}

.card:hover .card-icon {
  transform: scale(1.1);
}

/* 見出し→イラスト→本文の縦積みカード（住宅型有料老人ホームページ用） */
.card--stacked {
  display: block;
  text-align: center;
}

.card--stacked h3 {
  margin: 0 0 16px;
}

.card--stacked .card-icon {
  margin: 0 auto 16px;
}

.card--stacked p {
  text-align: left;
}

.card-icon {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-bg-soft);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  flex-shrink: 0;
}

.card-body {
  flex: 1;
  min-width: 0;
}

@media (max-width: 600px) {
  .card-grid--single .card {
    flex-direction: column;
    text-align: center;
  }
  .card-grid--single .card .card-body {
    display: contents;
  }
  .card-grid--single .card .card-icon {
    order: 2;
    margin: 0 auto;
  }
  .card-grid--single .card .card-body h3 {
    order: 1;
  }
  .card-grid--single .card .card-body p {
    order: 3;
    text-align: left;
  }
}

.card-body h3 {
  margin-top: 0;
}

/* 会社概要：理念と方針の見出しに十分な余白を確保し、
   SWELLのアイコンフォントがカラーアイコンに重なるのを防ぐ */
.company-philosophy > .container > h3 {
  margin: 32px 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.6;
}

.company-philosophy .card-body h3 {
  width: 100%;
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.company-philosophy .card-icon::before {
  content: none !important;
  display: none !important;
}

/* 会社概要：情報公開・各種資料 */
.company-documents {
  margin-top: 44px;
}

.company-documents h3 {
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.6;
}

.company-document-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-document-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.company-document-list a::before {
  content: "PDF";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 30px;
  border-radius: 4px;
  background: var(--color-primary);
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.company-document-list a:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-soft);
}

/* ケアプラン：手順番号があるためH3の青丸装飾は表示しない */
.care-plan-flow .steps h3::before {
  content: none;
  display: none;
}

/* ---------- アコーディオン（求人一覧） ---------- */
.accordion-list {
  display: grid;
  gap: 16px;
}

.accordion-item {
  background: #fff;
  box-shadow: var(--shadow);
}

.accordion-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item .card-icon {
  width: 44px;
  height: 44px;
  background-size: 20px 20px;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* SWELLのFAQ質問（.faq_q）は通常見出しの装飾から除外し、
   Q/Aアイコンのサイズ・配色・形状は親テーマの指定を使用します。 */

.accordion-title {
  flex: 1;
  font-weight: 700;
  font-size: 1.05rem;
}

.accordion-arrow {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -4px;
}

.accordion-item[open] .accordion-arrow {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.accordion-body {
  padding: 0 24px 24px 84px;
  color: var(--color-text-light);
}

.accordion-body p {
  margin: 0;
  max-width: 760px;
}

/* 求人項目はタイトルのみ表示し、本文の左位置もそろえる */
.recruit-list .accordion-body {
  padding-left: 24px;
}

.recruit-table-wrap {
  margin: 0;
}

.recruit-table-wrap table {
  margin: 0;
}

.recruit-table-wrap th {
  width: 150px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .recruit-table-wrap th {
    width: 108px;
    white-space: normal;
  }
}

.recruit-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  flex-shrink: 0;
}

.recruit-status--open {
  background: var(--color-accent);
}

.recruit-status--closed {
  background: #8a8a8a;
}

@media (max-width: 560px) {
  .recruit-list .accordion-item summary {
    flex-wrap: wrap;
    gap: 10px 12px;
  }

  .recruit-list .accordion-title {
    flex-basis: calc(100% - 24px);
  }

  .recruit-list .recruit-status {
    margin-left: 0;
  }

  .recruit-list .accordion-arrow {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .accordion-body {
    padding-left: 24px;
  }
}

.card-icon.icon-bed {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 18v-6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6'/%3E%3Cpath d='M2 18v2M22 18v2M2 12V8a2 2 0 0 1 2-2h5v6'/%3E%3C/svg%3E");
}

.card-icon.icon-check {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E");
}

/* SWELL本体にも同名の.icon-checkがあり、その黒いチェックマーク（アイコンフォント）が
   カラーアイコンに重なって表示されるのを防ぐ（会社概要と同じ現象） */
.card-icon.icon-check::before {
  content: none !important;
  display: none !important;
}

.card-icon.icon-gift {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='13' rx='1'/%3E%3Cpath d='M3 12h18M12 8v13'/%3E%3Cpath d='M12 8c-2 0-4-1.2-4-3.2A2 2 0 0 1 10 3c1.7 0 2 2 2 5zM12 8c2 0 4-1.2 4-3.2A2 2 0 0 0 14 3c-1.7 0-2 2-2 5z'/%3E%3C/svg%3E");
}

.card-icon.icon-clock {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
}

.card-icon.icon-pin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-7.5-7-12a7 7 0 0 1 14 0c0 4.5-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
}

.card-icon.icon-building {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cpath d='M9 21v-4h6v4M9 7h.01M15 7h.01M9 11h.01M15 11h.01M9 15h.01M15 15h.01'/%3E%3C/svg%3E");
}

.card-icon.icon-heart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 8.6c0 4.7-8.8 10.4-8.8 10.4S3.2 13.3 3.2 8.6a5 5 0 0 1 9-3 5 5 0 0 1 8.6 3z'/%3E%3C/svg%3E");
}

.card-icon.icon-eye {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

/* 理念カード用：ロゴのように上から赤・黄・青の3色にする */
/* 色数を増やすための差し色バリエーション（既存アイコンの形はそのまま、色だけ変える） */
.card-icon.icon-bed.tint-red {
  background-color: #fdeceb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d64541' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 18v-6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v6'/%3E%3Cpath d='M2 18v2M22 18v2M2 12V8a2 2 0 0 1 2-2h5v6'/%3E%3C/svg%3E");
}

.card-icon.icon-check.tint-accent {
  background-color: var(--color-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d76f18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E");
}

.card-icon.icon-check.tint-red {
  background-color: #fdeceb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d64541' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21v-1a6 6 0 0 1 6-6h4a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E");
}

.card-icon.icon-clock.tint-accent {
  background-color: var(--color-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d76f18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
}

.card-icon.icon-building.tint-red {
  background-color: #fdeceb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d64541' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cpath d='M9 21v-4h6v4M9 7h.01M15 7h.01M9 11h.01M15 11h.01M9 15h.01M15 15h.01'/%3E%3C/svg%3E");
}

.card-icon.icon-color-red {
  background-color: #fdeceb;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d64541' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 8.6c0 4.7-8.8 10.4-8.8 10.4S3.2 13.3 3.2 8.6a5 5 0 0 1 9-3 5 5 0 0 1 8.6 3z'/%3E%3C/svg%3E");
}

.card-icon.icon-color-yellow {
  background-color: #fdf3da;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4a017' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.card-icon.icon-color-blue {
  background-color: var(--color-bg-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1'/%3E%3Cpath d='M9 21v-4h6v4M9 7h.01M15 7h.01M9 11h.01M15 11h.01M9 15h.01M15 15h.01'/%3E%3C/svg%3E");
}

.card img {
  width: calc(100% + 24px + 24px);
  margin: -24px -24px 16px;
  max-width: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card h3 {
  margin-top: 0;
  font-size: 1.15rem;
  display: block;
}

.card h3::before {
  content: none;
}

.card p {
  color: var(--color-text-light);
}

.card .btn {
  margin-top: 12px;
  padding: 8px 18px;
  font-size: 0.9rem;
  min-height: auto;
}

.card .btn::after {
  display: none;
}

/* ---------- 料金ハイライト ---------- */
.price-highlight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
}

.price-highlight .label {
  font-weight: 700;
  color: var(--color-primary-dark);
}

.price-highlight .amount {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-accent-dark);
  line-height: 1;
}

.price-highlight .amount small {
  font-size: 1rem;
  font-weight: 700;
  margin-left: 4px;
}

/* ---------- テーブル ---------- */
/* テーブル：罫線だらけの表組み・塗りつぶしヘッダーをやめ、
   .info-listと同じ「白いカード＋細い下線だけ」の見せ方に統一。 */
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 8px 24px;
  box-shadow: var(--shadow);
}

.table-wrap--flat {
  background: none;
  box-shadow: none;
  padding: 0;
}

.table-wrap--flat table {
  background: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 420px;
}

@media (max-width: 480px) {
  table {
    min-width: 0;
  }
}

th,
td {
  padding: 16px 4px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

@media (max-width: 480px) {
  th,
  td {
    padding: 12px 6px;
    font-size: 0.92rem;
  }
}

thead th {
  border-bottom: 2px solid var(--color-primary);
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
}

tbody th {
  font-weight: 700;
  color: var(--color-primary-dark);
  white-space: nowrap;
  padding-left: 0;
}

tr:last-child th,
tr:last-child td {
  border-bottom: none;
}

.table-total td,
.table-total th {
  font-weight: 700;
}

/* ---------- ステップ ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.care-plan-flow {
  padding-bottom: 140px;
}

@media (max-width: 640px) {
  .care-plan-flow {
    padding-bottom: 90px;
  }
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 28px 0 28px 116px;
  min-height: 40px;
  border-bottom: 1px solid var(--color-border);
}

.steps li:first-child {
  border-top: 1px solid var(--color-border);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 28px;
  width: 96px;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--color-accent);
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--color-text-light);
}

@media (max-width: 560px) {
  .steps li {
    padding-left: 76px;
  }
  .steps li::before {
    width: 64px;
    font-size: 1.9rem;
  }
}

/* ---------- サブページ用の写真バナー ---------- */
.page-banner {
  position: relative;
  padding: 56px 0;
  background: var(--color-bg-soft2);
  text-align: center;
  border-bottom-right-radius: 160px;
}

/* 参考サイトの.all_sub_mv_title_sec（和文タイトルが主役56px、
   英字は下に控えめ33px・マイナス字間）の階層を踏襲。 */
.page-banner h1,
.page-banner .page-banner-title {
  display: block;
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  font-weight: 500;
}

.page-banner .kicker {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: -0.03em;
  color: var(--color-primary);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .page-banner {
    padding: 40px 0;
    border-bottom-right-radius: 80px;
  }
}

/* ---------- パンくず ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--color-text-light);
  padding-top: 14px;
  padding-bottom: 14px;
}

/* サブページ冒頭のリード文。パンくずとの間を広めに取り、
   左に色帯のアクセントを添えている。 */
.page-intro {
  margin: 0 0 32px;
}

.page-intro p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb-home {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: -2px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 14px 14px;
  mask-size: 14px 14px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 3l9 6.5'/%3E%3Cpath d='M5 10v10a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1V10'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 3l9 6.5'/%3E%3Cpath d='M5 10v10a1 1 0 0 0 1 1h4v-6h4v6h4a1 1 0 0 0 1-1V10'/%3E%3C/svg%3E");
}

/* ---------- CTAバンド ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary-vivid) 0%, var(--color-primary) 100%);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  margin-top: 0;
}

.cta-band .hero-actions {
  justify-content: center;
  align-items: flex-start;
  margin-top: 24px;
}

.br-sp {
  display: none;
}

@media (max-width: 640px) {
  .br-sp {
    display: inline;
  }
}

.cta-band .btn {
  min-width: 310px;
  min-height: 60px;
  max-width: 100%;
  justify-content: center;
  font-size: 1.05rem;
}

@media (max-width: 480px) {
  .cta-band .btn {
    min-width: 0;
    width: 100%;
  }
}

.cta-band-kicker {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}

.cta-band-heading {
  color: #fff;
  margin: 0 0 28px;
  font-size: clamp(1.8rem, 3.8vw, 2.3rem);
  line-height: 1.45;
}

.cta-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  align-items: flex-end;
  gap: 32px;
  text-align: left;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.cta-card--centered {
  justify-content: center;
  text-align: center;
}

.cta-card--centered .cta-card-body {
  flex: none;
  max-width: 640px;
}

.cta-card--centered .hero-actions {
  justify-content: center;
}

.cta-card--centered .cta-tag-group {
  align-items: center;
}

.cta-card--centered .cta-tag {
  margin-left: 0;
}

.cta-card-body {
  flex: 1;
  min-width: 0;
}

.cta-card-body p {
  color: var(--color-text);
  margin: 0 0 4px;
}

.cta-card .hero-actions {
  justify-content: flex-start;
  margin-top: 20px;
}

.cta-tag-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.cta-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: #fff;
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 6px;
  border: 1px solid var(--color-primary);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
  margin-left: 14px;
  margin-bottom: 10px;
}

.cta-tag::before,
.cta-tag::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-left-style: solid;
  border-right-style: solid;
  border-left-color: transparent;
  border-right-color: transparent;
}

.cta-tag::before {
  bottom: -8px;
  border-left-width: 7px;
  border-right-width: 7px;
  border-top: 8px solid var(--color-primary);
}

.cta-tag::after {
  bottom: -6px;
  border-left-width: 6px;
  border-right-width: 6px;
  border-top: 7px solid #fff;
}

.cta-tag--accent {
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
}

.cta-tag--accent::before {
  border-top-color: var(--color-accent);
}

.btn-cta-outline {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  --badge-bg: #fff;
  --badge-color: var(--color-primary);
}

.btn-cta-outline:hover {
  background: #fff;
  color: var(--color-primary);
  --badge-bg: var(--color-primary);
  --badge-color: #fff;
}

.btn-cta-outline--accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  --badge-bg: #fff;
  --badge-color: var(--color-accent-dark);
}

.btn-cta-outline--accent:hover {
  background: #fff;
  color: var(--color-accent-dark);
  --badge-bg: var(--color-accent);
  --badge-color: #fff;
}

@media (max-width: 720px) {
  .cta-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cta-card .hero-actions {
    justify-content: center;
  }
  .cta-tag-group {
    align-items: center;
  }
  .cta-tag {
    margin-left: 0;
  }
}

/* ---------- フォーム ---------- */
.form-grid {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.required {
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  margin-left: 6px;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  font-size: 1rem;
  font-family: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ---------- フッター ----------
   現行サイトはフッター背景が白（黒背景ではない）で、上部に
   メインカラーの罫線が入るだけのシンプルな構成。それに合わせている。
   参考サイトのフッターに繰り返し使われている「円をoverflow:hiddenの
   箱で切り取って一部だけ見せる」あしらい（ページトップボタン・
   隅の装飾円）を追加している。 */
.site-footer {
  position: relative;
  background: #ffffff;
  color: var(--color-text);
  padding: 0 0 24px;
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  z-index: 0;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 8px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .footer-grid--split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .footer-grid--split .footer-col:not(:first-child) {
    border-top: none;
    padding-top: 0;
  }
  .footer-grid--split .footer-col--info,
  .footer-grid--split .footer-col--nav {
    width: fit-content;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .footer-grid--split {
    gap: 4px;
  }
  .footer-grid--split .footer-col:not(:first-child) {
    border-top: none;
    padding-top: 0;
  }
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 12px;
  display: block;
}

.footer-col:not(:first-child) {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
}

.footer-info-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 10px;
}

.footer-info-line:last-child {
  margin-bottom: 0;
}

.ficon {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.ficon-pin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-7.5-7-12a7 7 0 0 1 14 0c0 4.5-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
}

.ficon-tel {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.ficon-fax {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='9' width='16' height='8' rx='1'/%3E%3Cpath d='M6 9V4h9l3 3v2'/%3E%3Crect x='8' y='13' width='8' height='6'/%3E%3C/svg%3E");
}

.ficon-mail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M2 6l10 7 10-7'/%3E%3C/svg%3E");
}

.ficon-clock {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23296292' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
}

.footer-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.footer-map iframe {
  width: 100%;
  height: 160px;
  border: 0;
  display: block;
}

.footer-map--full {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
  border-radius: 0;
  border: none;
}

.footer-map--full iframe {
  height: 260px;
}

@media (max-width: 560px) {
  .footer-map--full iframe {
    height: 200px;
  }
}

.site-footer h4 {
  color: var(--color-primary-dark);
  font-size: 1rem;
  margin-top: 0;
}

.site-footer a {
  color: var(--color-text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

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

.footer-nav--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 48px;
}

@media (max-width: 480px) {
  .footer-nav--row {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 8px 32px;
    text-align: left;
    font-size: 0.85rem;
  }
}

.footer-col--info { position:relative; z-index:1; text-align:left; padding:6px 0 24px; color:var(--color-text-light); font-size:14px; line-height:1.8; }
.footer-col--info p { margin:0 0 4px; }
.footer-col--info .footer-site-name { font-size:19px; font-weight:700; color:var(--color-primary-dark); letter-spacing:.04em; }
.footer-col--info a { color:inherit; text-decoration:none; }
.footer-col--info span { display:inline-block; margin-left:18px; }
@media (max-width: 767px) {
  .footer-col--info { padding:2px 0 20px; font-size:13px; text-align:center; }
  .footer-col--info span { display:block; margin-left:0; }
}

.footer-copyright {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.footer-col--nav .footer-nav a {
  color: var(--color-text-light);
  font-size: 14px;
}
@media (min-width: 768px) {
  .footer-col--nav .footer-nav {
    grid-auto-flow: column;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(4, auto);
    column-gap: 48px;
  }
}
@media (max-width: 767px) {
  .footer-col--nav .footer-nav {
    justify-content: center;
    text-align: left;
    grid-auto-flow: column;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(4, auto);
    column-gap: 28px;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
}

/* ---------- トップに戻るボタン ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  box-shadow: var(--shadow);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
}

.back-to-top::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-135deg);
}

@media (max-width: 600px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}


/* WordPress integration */
body.gladhome-pastel-site { min-height: 100vh; }
body.admin-bar .site-header { top: 32px; }
.privacy-policy-section { padding-top: 48px; padding-bottom: 96px; }
.privacy-policy-content { max-width: 900px; line-height: 2; }
.privacy-policy-content > p { margin-bottom: 1.5em; }
.privacy-policy-content h2 { margin: 64px 0 24px; padding: 16px 20px; border-left: 5px solid var(--color-primary); background: var(--color-primary-pale); color: var(--color-primary-dark); font-size: clamp(1.25rem, 2.4vw, 1.65rem); }
.privacy-policy-content h3 { margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--color-primary-pale); font-size: 1.15rem; }
.privacy-policy-content h3::before { display: none; }
.privacy-policy-content ol,
.privacy-policy-content ul { margin: 0 0 1.5em; padding-left: 1.7em; }
.privacy-policy-content li { margin-bottom: 0.75em; }
.privacy-policy-content li > ol,
.privacy-policy-content li > ul { margin-top: 0.75em; }
.privacy-signature { margin: 36px 0 0 auto; width: fit-content; }
.contact-content { max-width: 820px; padding-top: 0; padding-bottom: 80px; }
.contact-content .wpcf7-form label { display: block; margin-bottom: 22px; font-weight: 700; }
.contact-content .wpcf7-form input:not([type=submit]),
.contact-content .wpcf7-form textarea { width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 6px; background: #fff; font: inherit; }
.contact-content .wpcf7-submit { border: 0; cursor: pointer; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }

/* ---------- コラム一覧・投稿詳細 ---------- */
.column-archive-section { padding-top: 48px; }
.column-archive-section .column-card h2 { margin: 0 0 14px; color: var(--color-primary-dark); font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.6; }
.column-pagination { margin-top: 48px; text-align: center; }
.column-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.column-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; color: var(--color-primary-dark); }
.column-pagination .page-numbers.current,
.column-pagination a.page-numbers:hover { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }
.column-single { width: min(900px, calc(100% - 40px)); margin: 48px auto 80px; }
.column-single-header { margin-bottom: 36px; }
.column-single-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; color: var(--color-text-light); font-size: 0.88rem; }
.column-single-category { padding: 3px 12px; border-radius: 999px; background: var(--color-primary-pale); color: var(--color-primary-dark); font-size: 0.78rem; font-weight: 700; }
.column-single-header h1 { margin: 0; color: var(--color-primary-dark); font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.5; }
.column-single-eyecatch { margin: 0 0 48px; overflow: hidden; border-radius: 18px; }
.column-single-eyecatch img { display: block; width: 100%; height: auto; }
.column-single-content { font-size: 1rem; line-height: 2; }
.gladhome-article-inner > .column-single-content.post_content { margin: 0; padding: 0; }
.column-single-content > *:first-child { margin-top: 0; }
.column-single-content h2:where(:not(.faq_q)) { margin: 64px 0 24px; padding: 16px 20px; border-left: 5px solid var(--color-primary); background: var(--color-primary-pale); color: var(--color-primary-dark); font-size: clamp(1.3rem, 2.8vw, 1.7rem); line-height: 1.6; }
.column-single-content.post_content h2:where(:not(.faq_q))::before,
.column-single-content.post_content h2:where(:not(.faq_q))::after { display: none; }
.column-single-content h3:where(:not(.faq_q)) { margin: 48px 0 20px; padding: 0 0 12px; border-bottom: 2px solid var(--color-primary-pale); color: var(--color-primary-dark); font-size: clamp(1.15rem, 2.3vw, 1.4rem); line-height: 1.6; }
.column-single-content h3:where(:not(.faq_q))::before { display: none; }
.column-single-content h4:where(:not(.faq_q)) { margin: 36px 0 16px; color: var(--color-primary-dark); font-size: 1.1rem; }
.column-single-content h2:where(:not(.faq_q)),
.column-single-content h3:where(:not(.faq_q)) { scroll-margin-top: 116px; }
.column-single-content p,
.column-single-content ul,
.column-single-content ol,
.column-single-content figure,
.column-single-content table { margin-top: 0; margin-bottom: 1.8em; }
.column-single-content img { max-width: 100%; height: auto; border-radius: 12px; }
.column-single-content a { color: var(--color-primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.column-single-content table { width: 100%; border-collapse: collapse; }
.column-single-content th,
.column-single-content td { padding: 13px 15px; border: 1px solid var(--color-border); text-align: left; }
.column-single-content th { background: var(--color-primary-pale); }
.column-post-nav { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; margin-bottom: 88px; }
.column-post-nav-item a { display: block; color: var(--color-primary-dark); line-height: 1.6; }
.column-post-nav-item span { display: block; margin-bottom: 4px; color: var(--color-text-light); font-size: 0.78rem; }
.column-post-nav-next { text-align: right; }
.column-post-nav-index { padding: 10px 18px; border: 1px solid var(--color-primary); border-radius: 8px; color: var(--color-primary-dark); }

.admission-summary .table-wrap { width: 100%; max-width: none; margin: 0; }
.admission-summary th { width: 190px; color: var(--color-primary-dark); }
.official-info-link { max-width: none; margin: 22px auto 0; padding: 16px 18px; border-left: 4px solid var(--color-primary); border-radius: 0 8px 8px 0; background: var(--color-primary-pale); color: var(--color-text-light); font-size: .9rem; line-height: 1.8; }
.official-info-link a { color: var(--color-primary-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .column-archive-section { padding-top: 32px; }
  .column-single { width: min(100% - 32px, 900px); margin-top: 34px; margin-bottom: 56px; }
  .column-single-header { margin-bottom: 26px; }
  .column-single-eyecatch { margin-bottom: 34px; border-radius: 12px; }
  .column-single-content h2:where(:not(.faq_q)) { margin-top: 48px; padding: 14px 16px; scroll-margin-top: 100px; }
  .column-single-content h3:where(:not(.faq_q)) { margin-top: 38px; scroll-margin-top: 100px; }
  .column-single-content table { display: block; overflow-x: auto; white-space: nowrap; }
  .column-post-nav { grid-template-columns: 1fr 1fr; }
  .column-post-nav-index { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .admission-summary th { width: 34%; }
  .official-info-link { padding: 14px 15px; font-size: .84rem; }
}
@media (max-width: 600px) {
  .privacy-policy-section { padding-top: 32px; padding-bottom: 64px; }
  .privacy-policy-content h2 { margin-top: 48px; padding: 14px 16px; }
}

/* 料金・居室数・入居対象・見学方法：表と補足を見出しと同じ内幅に揃える。 */
body.gladhome-pastel-site #main .admission-summary > .container > .table-wrap,
body.gladhome-pastel-site #main .admission-summary > .container > .official-info-link {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
