@charset "UTF-8";
/* =========================================================
   CREAGENCY 共通CSS（全ページ共通パーツ）
   - 変数 / リセット / レイアウト / ボタン / セクション見出し
   - ヘッダー（グロナビ）/ フッター上CTA / フッター
   WordPress化時: header.php / footer.php / CTAパーツに対応
   ========================================================= */

:root {
  --c-ink: #16354a;          /* 見出し（ネイビー） */
  --c-text: #3d5260;         /* 本文 */
  --c-muted: #6b7f89;        /* 補足テキスト */
  --c-hero: #0e4c46;         /* ヒーロー大見出し */
  --c-green: #129a6e;        /* メイングリーン */
  --c-green-2: #1aa878;      /* グラデーション明側 */
  --c-green-deep: #0c6d5d;   /* CTA帯・濃いグリーン */
  --c-mint: #edf8f3;         /* 淡いミント背景 */
  --c-mint-2: #e3f3ec;
  --c-line: #d4eae1;         /* 罫線・カード枠 */
  --c-yellow: #f2e14a;       /* アクセント（黄） */
  --c-white: #fff;
  --grad-green: linear-gradient(90deg, #1aa878 0%, #0f8c63 100%);
  --radius: 8px;
  --shadow-card: 0 6px 24px rgba(20, 80, 60, 0.07);
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Yomogi", "Zen Kurenaido", cursive;
  --container: 1440px;
  --gutter: 58px;
  --header-h: 88px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }

/* ---------- layout ---------- */
.l-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- section eyebrow (01 · ENGLISH LABEL) ---------- */
.c-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-green);
  line-height: 1;
}
.c-eyebrow__no { font-size: 19px; letter-spacing: 0.02em; }
.c-eyebrow__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

/* ---------- headings ---------- */
.c-title {
  font-size: clamp(28px, 2.9vw, 42px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: 0;
  color: var(--c-ink);
}
.c-title em { font-style: normal; color: var(--c-green); }

/* ---------- buttons ---------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 60px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.c-btn__arrow { font-family: Arial, sans-serif; font-weight: 700; transition: transform 0.2s; }
.c-btn:hover .c-btn__arrow { transform: translateX(4px); }
.c-btn--primary {
  background: var(--grad-green);
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(18, 154, 110, 0.25);
}
.c-btn--primary:hover { box-shadow: 0 10px 26px rgba(18, 154, 110, 0.35); transform: translateY(-1px); }
.c-btn--outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--c-green-deep);
  border: 2px solid #7ccaae;
}
.c-btn--outline:hover { background: var(--c-white); border-color: var(--c-green); }
.c-btn--white {
  background: var(--c-white);
  color: var(--c-green-deep);
  box-shadow: 0 8px 22px rgba(0, 60, 40, 0.14);
}
.c-btn--white:hover { transform: translateY(-1px); }
.c-btn--pill { border-radius: 999px; }

/* =========================================================
   Header / Global navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(20, 60, 50, 0.06);
  backdrop-filter: blur(8px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 38px 0 78px;
}
.site-brand { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; line-height: 1; }
.site-brand__logo { width: 200px; height: auto; }
.site-brand__tagline { font-size: 13px; font-weight: 500; color: var(--c-ink); letter-spacing: 0.04em; }
.global-nav { margin-left: auto; }
.global-nav__list { display: flex; gap: 34px; }
.global-nav__list a {
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 6px 0;
}
.global-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--c-green);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.global-nav__list a:hover::after,
.global-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__search {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: 50px;
  color: var(--c-green);
  background: none;
  border: 0;
  cursor: pointer;
}
.site-header__search svg { width: 24px; height: 24px; }
.site-header__cta {
  margin-left: 26px;
  min-height: 58px;
  min-width: 182px;
  padding: 0 28px;
}
.site-header__toggle { display: none; }

/* =========================================================
   Footer CTA（フッター上の相談帯）
   ========================================================= */
.footer-cta {
  position: relative;
  overflow: hidden;
  color: var(--c-white);
  background: linear-gradient(100deg, #0a6a5a 0%, #0e7563 60%, #0f7a66 100%);
}
.footer-cta::after {
  /* 右側の斜めの明るい面 */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 22%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(120, 220, 180, 0.2) 100%);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%);
}
.footer-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 140px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 0 62px;
}
.footer-cta__title { font-size: 30px; font-weight: 700; line-height: 1.45; letter-spacing: 0.02em; }
.footer-cta__title span { display: block; color: var(--c-yellow); }
.footer-cta__btn { margin-left: 52px; min-width: 308px; min-height: 66px; font-size: 18px; }
.footer-cta__divider { width: 1px; height: 76px; margin: 0 34px 0 38px; background: rgba(255, 255, 255, 0.45); }
.footer-cta__tel { display: flex; align-items: center; gap: 22px; }
.footer-cta__tel-icon { width: 46px; height: 46px; color: var(--c-white); }
.footer-cta__tel-num { display: block; font-family: var(--font-en); font-size: 34px; font-weight: 500; line-height: 1.1; letter-spacing: 0.02em; }
.footer-cta__tel-time { display: block; margin-top: 4px; font-size: 15px; opacity: 0.9; }
.footer-cta__hand {
  display: block;
  width: 232px;
  height: auto;
  margin-left: auto;
  opacity: 0.92;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--c-white); }
.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 36px;
  max-width: 1440px;
  min-height: 116px;
  margin: 0 auto;
  padding: 24px 46px 24px 52px;
}
.site-footer .site-brand__logo { width: 150px; }
.site-footer .site-brand__tagline { font-size: 11px; }
.footer-nav__list { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav__list li { white-space: nowrap; }
.footer-nav__list a { font-size: 13px; color: var(--c-text); letter-spacing: 0.03em; }
.footer-nav__list a:hover { color: var(--c-green); }
.site-footer__copy { margin-left: auto; font-family: var(--font-en); font-size: 12px; color: var(--c-muted); white-space: nowrap; }

/* =========================================================
   Responsive（共通パーツ）
   ========================================================= */
@media (max-width: 1280px) {
  .site-header__inner { padding: 0 24px 0 32px; }
  .global-nav__list { gap: 18px; }
  .global-nav__list a { font-size: 14px; }
  .site-brand__logo { width: 170px; }
  .site-header__search { margin-left: 10px; }
  .site-header__cta { margin-left: 8px; min-width: 0; padding: 0 20px; white-space: nowrap; }
  .footer-cta__inner { padding: 0 32px; flex-wrap: wrap; gap: 24px 0; padding-top: 30px; padding-bottom: 30px; }
  .footer-cta__hand { display: none; }
  .site-footer__inner { flex-wrap: wrap; }
  .site-footer__copy { margin-left: 0; width: 100%; }
}
@media (max-width: 1080px) {
  :root { --header-h: 70px; --gutter: 24px; }
  .site-brand__logo { width: 160px; }
  .site-brand__tagline { font-size: 11px; }
  .site-header__search { margin-left: auto; }
  .site-header__cta { display: none; }
  .site-header__toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: 6px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .site-header__toggle span,
  .site-header__toggle span::before,
  .site-header__toggle span::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-ink);
    position: relative;
    transition: transform 0.2s;
    content: "";
  }
  .site-header__toggle span::before { position: absolute; top: -7px; }
  .site-header__toggle span::after { position: absolute; top: 7px; }
  .global-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 24px 28px;
    background: var(--c-white);
    box-shadow: 0 12px 24px rgba(0, 40, 30, 0.08);
    display: none;
  }
  .is-nav-open .global-nav { display: block; }
  .global-nav__list { flex-direction: column; gap: 0; }
  .global-nav__list a { display: block; padding: 16px 0; border-bottom: 1px solid var(--c-line); font-size: 16px; }
  .global-nav__list a::after { display: none; }
  .footer-cta__inner { flex-direction: column; align-items: flex-start; }
  .footer-cta__btn { margin-left: 0; }
  .footer-cta__divider { display: none; }
}
@media (max-width: 640px) {
  .footer-cta__title { font-size: 24px; }
  .footer-cta__btn { width: 100%; min-width: 0; }
  .footer-cta__tel-num { font-size: 28px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 24px; }
}

/* =========================================================
   下層ページ共通: ページヒーロー / パンくず
   ========================================================= */
.page-hero {
  position: relative;
  overflow: hidden;
  /* ページごとの写真は HTML 側の style="background-image:url(...)" で指定（WordPressではアイキャッチ画像を想定） */
  background-color: #f3faf7;
  background-image: url("../../images/top/hero.jpg");
  background-repeat: no-repeat;
  background-position: right 50%;
  /* 広い画面で写真が拡大されすぎて顔が切れないよう、写真の幅は最大1500pxで右寄せ。
     写真の左端は文字側の白い幕の中に入るため見えない（画面幅2800pxまで） */
  background-size: min(100%, 1500px) auto;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 文字の背後だけを白く敷き、写真の人物（右側）にはかけない */
  background:
    linear-gradient(90deg, rgba(244, 251, 248, 0.94) 0, rgba(244, 251, 248, 0.88) calc(50% - 200px), rgba(244, 251, 248, 0) calc(50% + 40px));
}
.page-hero::after {
  /* 左下の三角装飾 */
  content: "";
  position: absolute;
  left: -40px;
  bottom: -60px;
  z-index: -1;
  width: 260px;
  height: 240px;
  background: url("../../images/top/deco-tri-left.png") left bottom / contain no-repeat;
  opacity: 0.55;
}
.page-hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px var(--gutter) 70px;
}
.page-hero__label { display: flex; align-items: baseline; gap: 16px; line-height: 1; }
.page-hero__en { font-family: var(--font-en); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; color: var(--c-green); }
.page-hero__ja { font-size: 15px; font-weight: 700; color: var(--c-ink); padding-left: 16px; border-left: 1px solid #9fd3bf; }
.page-hero__title {
  margin-top: 26px;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1.32;
  color: var(--c-hero);
}
.page-hero__title em { font-style: normal; color: var(--c-green); }
.page-hero__title { word-break: auto-phrase; }
.page-hero__lead { margin-top: 24px; max-width: 720px; font-size: 16px; font-weight: 500; line-height: 2; color: var(--c-text); }

.breadcrumb { border-bottom: 1px solid var(--c-line); background: var(--c-white); }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--gutter);
  font-size: 13px;
  color: var(--c-muted);
}
.breadcrumb__list li + li::before { content: "／"; margin: 0 10px; color: #b5c7c0; }
.breadcrumb__list a { color: var(--c-green-deep); }
.breadcrumb__list a:hover { text-decoration: underline; }

/* 写真の途中に継ぎ目（境界線）がある画像用: 継ぎ目より右までミントで覆ってなじませる */
@media (min-width: 901px) {
  .page-hero--soft-seam::before {
    background: linear-gradient(90deg, rgba(244, 251, 248, 0.97) 0, rgba(244, 251, 248, 0.95) max(53%, calc(100% - 720px)), rgba(244, 251, 248, 0.55) max(59%, calc(100% - 620px)), rgba(244, 251, 248, 0) max(68%, calc(100% - 480px))) !important;
  }
}
/* 写真の左側に余白がない画像用: PCでは写真を右半分に寄せ、左端をミントになじませる */
@media (min-width: 901px) {
  .page-hero--photo-right { background-size: auto 100%; background-position: right center; }
  .page-hero--photo-right::before {
    background: linear-gradient(90deg, #f4fbf8 0, #f4fbf8 calc(100% - 700px), rgba(244, 251, 248, 0) calc(100% - 520px)) !important;
  }
}
@media (min-width: 901px) and (max-width: 1280px) {
  /* 中間幅は文字が写真側へ広がるため、白の範囲を少し広げる */
  .page-hero::before { background: linear-gradient(90deg, rgba(244, 251, 248, 0.94) 0, rgba(244, 251, 248, 0.86) 46%, rgba(244, 251, 248, 0) 68%); }
}
@media (max-width: 900px) {
  /* スマホ: 写真を上に帯状に表示し、文字はその下のミント地に置く（重ねない） */
  .page-hero {
    --hero-photo-h: 220px;
    background-size: max(100%, calc(var(--hero-photo-h) * 2.3)) auto;
    background-position: 88% calc(var(--hero-photo-h) * -0.25);
  }
  .page-hero:not(.page-hero--simple)::before {
    background: linear-gradient(180deg, rgba(244, 251, 248, 0) 0, rgba(244, 251, 248, 0) calc(var(--hero-photo-h) - 1px), #f4fbf8 var(--hero-photo-h));
  }
  .page-hero:not(.page-hero--simple) .page-hero__inner { padding: calc(var(--hero-photo-h) + 30px) var(--gutter) 44px; }
  .page-hero--simple .page-hero__inner { padding: 40px var(--gutter) 40px; }
  .page-hero::after { bottom: -90px; opacity: 0.4; }
  .page-hero__lead br { display: none; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .page-hero { --hero-photo-h: 320px; }
}
@media (max-width: 560px) {
  .page-hero__title { font-size: 27px; }
}

/* ---------- スマホ最適化（2026-10-14） ---------- */
@media (max-width: 600px) {
  .page-hero__label { flex-wrap: wrap; row-gap: 10px; }
  .page-hero__en { font-size: 14px; letter-spacing: 0.08em; }
  .page-hero__label { flex-direction: column; align-items: flex-start; }
  .page-hero__ja { white-space: nowrap; padding-left: 0; border-left: 0; }
}

/* ---------- スマホ最適化（2026-10-14）：メニュー ---------- */
.global-nav__cta { display: none; }
@media (max-width: 1080px) {
  .global-nav__cta { display: flex; justify-content: center; margin-top: 22px; }
  .is-nav-open .site-header__toggle span { background: transparent; }
  .is-nav-open .site-header__toggle span::before { transform: translateY(7px) rotate(45deg); }
  .is-nav-open .site-header__toggle span::after { transform: translateY(-7px) rotate(-45deg); }
}

/* 検索ボタン削除に伴い、SPのメニューボタンを右端へ（2026-10-15） */
@media (max-width: 1080px) {
  .site-header__toggle { margin-left: auto; }
}
