@charset "UTF-8";
/* 全ページ共通：リセット／トークン／ベース／レイアウト／コンポーネント */
/* =========================================================
   Reset（modern-normalize ベースの最小リセット）
========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

/* =========================================================
   Tokens
========================================================= */
:root {
  /* color（カンプから抽出） */
  --c-navy: #0b4a86;        /* カテゴリ背景・ロゴ */
  --c-navy-btn: #065390;    /* 無料相談ボタン */
  --c-navy-dark: #022553;   /* フッター */
  --c-heading: #053572;     /* 見出しテキスト */
  --c-blue: #0a6ab0;        /* キャッチ強調 */
  --c-orange: #f98a26;      /* 見積りCTA */
  --c-orange-dark: #e9750f;
  --c-wine: #8c1d3a;        /* 季節訴求（クリスマス・正月をイメージ） */
  --c-wine-dark: #6f1530;
  --c-wine-light: #f8eaee;
  --c-wine-line: #e6c3cd;
  --c-text: #2b3d55;
  --c-text-sub: #5a6b80;
  --c-bg-light: #f1f8fe;    /* 実績背景 */
  --c-bg-hero: #e6f3fd;
  --c-circle: #e5f1fb;      /* 流れアイコン円 */
  --c-line: #dbe6f1;
  --c-white: #fff;

  /* font */
  --ff-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --ff-en: "Montserrat", "Noto Sans JP", sans-serif;

  /* fluid typography：clamp(最小, vw基準, 最大)  375px〜1440px で可変。フッター以外は最小16px */
  --fs-hero-catch: clamp(2.5rem, 1.664rem + 3.568vw, 4.875rem);  /* 40→78px */
  --fs-hero-lead:  clamp(1.375rem, 1.023rem + 1.502vw, 2.375rem); /* 22→38px */
  --fs-hero-text:  clamp(1.0625rem, 0.909rem + 0.657vw, 1.5rem);  /* 17→24px */
  --fs-h2:         clamp(1.5rem, 1.236rem + 1.127vw, 2.25rem);     /* 24→36px */
  --fs-h3:         clamp(1.125rem, 0.993rem + 0.563vw, 1.5rem);    /* 18→24px */
  --fs-num:        clamp(1.75rem, 1.486rem + 1.127vw, 2.5rem);     /* 28→40px */
  --fs-body:       clamp(1rem, 0.956rem + 0.188vw, 1.125rem);      /* 16→18px */
  --fs-sm:         clamp(1rem, 0.978rem + 0.094vw, 1.0625rem);     /* 16→17px */
  --fs-xs:         clamp(1rem, 0.989rem + 0.047vw, 1.03125rem);    /* 16→16.5px（コンテンツ内の最小） */
  --fs-btn:        clamp(1.0625rem, 0.996rem + 0.282vw, 1.25rem);  /* 17→20px */
  --fs-footer:     clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);    /* 12→13px（フッター専用） */

  /* spacing */
  --gutter: clamp(16px, 4vw, 60px);
  --container: 1320px;
  --sec-pad: clamp(56px, 4rem + 3vw, 112px);
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 74, 134, .08);
  --header-h: clamp(64px, 3.4rem + 1.6vw, 84px);
}

/* =========================================================
   Base
========================================================= */
body {
  font-family: var(--ff-base);
  font-size: var(--fs-body);
  line-height: 1.8;
  letter-spacing: .04em;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--c-orange); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* utility */
.u-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.u-skip { position: absolute; left: 8px; top: -60px; z-index: 200; padding: 8px 16px; background: var(--c-navy); color: #fff; border-radius: 4px; }
.u-skip:focus { top: 8px; }
.u-center { text-align: center; }
.u-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.u-pc { display: none; }
@media (min-width: 768px) { .u-pc { display: inline; } }

/* =========================================================
   Layout
========================================================= */
.l-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.l-section { padding-block: var(--sec-pad); }

/* header */
.l-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); transition: box-shadow .3s; }
.l-header.is-scrolled { box-shadow: 0 2px 16px rgba(11, 74, 134, .1); }
.l-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: clamp(16px, 3.6vw, 52px); }
.c-logo { display: inline-flex; align-items: center; gap: .45em; font-family: var(--ff-en); font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); font-weight: 600; letter-spacing: .08em; line-height: 1; color: var(--c-navy); }
.c-logo img { width: 1.6em; height: 1.6em; }
.l-gnav__list a { font-size: var(--fs-sm); font-weight: 700; color: var(--c-heading); transition: color .2s; }
.l-gnav__list a:hover, .l-gnav__list a[aria-current="page"] { color: var(--c-blue); }

.l-header__toggle { position: relative; width: 44px; height: 44px; }
.l-header__toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--c-navy); transition: transform .3s, opacity .3s; }
.l-header__toggle span:nth-child(1) { top: 15px; }
.l-header__toggle span:nth-child(2) { top: 21px; }
.l-header__toggle span:nth-child(3) { top: 27px; }
.l-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.l-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.l-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .l-gnav { position: fixed; inset: var(--header-h) 0 auto; background: #fff; padding: 8px var(--gutter) 28px; box-shadow: 0 12px 24px rgba(11, 74, 134, .12); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: .3s; }
  .l-gnav.is-open { visibility: visible; opacity: 1; transform: none; }
  /* メニュー展開時：背面を暗くするオーバーレイ（ヘッダーの下・固定CTAの上） */
  .l-gnav-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(4, 26, 54, .55); visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
  .l-gnav-overlay.is-show { visibility: visible; opacity: 1; }
  .l-gnav__list a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--c-line); font-size: var(--fs-body); }
  .l-gnav__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
}
@media (min-width: 1024px) {
  .l-header__toggle, .l-gnav-overlay { display: none; }
  .l-gnav { display: flex; align-items: center; flex: 1; justify-content: flex-end; gap: clamp(32px, 6vw, 130px); }
  .l-gnav__list { display: flex; gap: clamp(24px, 3vw, 48px); }
  .l-gnav__btns { display: flex; gap: 20px; }
}

/* footer */
.l-footer { background: var(--c-navy-dark); color: #fff; padding: clamp(40px, 2rem + 2vw, 56px) 0 96px; }
.l-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.l-footer__logo { color: #fff; }
.l-footer__nav { display: flex; flex-wrap: wrap; gap: 12px clamp(20px, 2.5vw, 40px); }
.l-footer__nav a, .l-footer__sub a { font-size: var(--fs-footer); font-weight: 500; opacity: .9; }
.l-footer__nav a:hover, .l-footer__sub a:hover { opacity: 1; text-decoration: underline; }
.l-footer__btns { display: flex; gap: 14px; }
.l-footer .c-btn--sm { font-size: var(--fs-footer); }
.l-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; }
.l-footer__bottom small { font-family: var(--ff-en); font-size: var(--fs-footer); opacity: .8; }
.l-footer__sub { display: flex; }
@media (min-width: 768px) { .l-footer { padding-bottom: 36px; } }

/* =========================================================
   Components
========================================================= */
/* button */
.c-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; border-radius: 999px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-align: center; border: 2px solid transparent; transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; }
.c-btn svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.c-btn:hover { transform: translateY(-2px); }
.c-btn { padding: .9em 2em; font-size: var(--fs-btn); }
.c-btn--sm { min-width: clamp(110px, 6rem + 2vw, 132px); padding: .55em 1.4em; font-size: var(--fs-xs); }
.c-btn--lg { min-width: clamp(240px, 14rem + 4vw, 310px); padding: 1em 2em; }
.c-btn--orange { background: var(--c-orange); color: #fff; box-shadow: 0 6px 16px rgba(249, 138, 38, .32); }
.c-btn--orange:hover { background: var(--c-orange-dark); }
.c-btn--navy { background: var(--c-navy-btn); color: #fff; }
.c-btn--navy:hover { background: var(--c-navy); }
.c-btn--outline { background: #fff; color: var(--c-navy-btn); border-color: var(--c-navy-btn); }
.c-btn--outline:hover { background: var(--c-bg-light); }
.c-btn--white { background: #fff; color: var(--c-navy-dark); }
.c-btn--ghost-white { color: #fff; border-color: rgba(255, 255, 255, .85); }
.c-btn--ghost-white:hover { background: rgba(255, 255, 255, .12); }
.c-btn--arrow { position: relative; min-width: clamp(260px, 14rem + 6vw, 330px); padding-inline: 3em; font-size: var(--fs-sm); }
.c-btn--arrow svg { position: absolute; right: 1.4em; width: 1em; height: 1em; }
/* 戻るボタン（左向き矢印） */
.c-btn--back { min-width: clamp(260px, 14rem + 6vw, 330px); font-size: var(--fs-sm); }
.c-btn--back svg { transform: scaleX(-1); width: 1em; height: 1em; }

/* section heading（中央＋下線） */
.c-heading { position: relative; margin-bottom: clamp(32px, 1.5rem + 2vw, 56px); padding-bottom: .55em; font-size: var(--fs-h2); font-weight: 700; line-height: 1.45; letter-spacing: .1em; color: var(--c-heading); text-align: center; }
.c-heading::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 40px; height: 2px; background: var(--c-blue); transform: translateX(-50%); }
.c-heading--white { color: #fff; }
.c-heading--white::after { background: #fff; }

/* link arrow */
.c-link-arrow { display: inline-flex; align-items: center; gap: .5em; font-size: var(--fs-xs); font-weight: 700; color: var(--c-heading); }
.c-link-arrow svg { width: 1.2em; height: 1.2em; transition: transform .2s; }
.c-link-arrow:hover svg { transform: translateX(4px); }

/* card（制作実績） */
.c-card { background: #fff; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.c-card a { display: block; height: 100%; }
.c-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.c-card a:hover img { transform: scale(1.05); }
.c-card__body { position: relative; padding: 14px 16px 18px; background: #fff; }
.c-card__title { font-size: var(--fs-sm); font-weight: 700; color: var(--c-heading); }
.c-card__tag { display: inline-block; margin-bottom: 8px; padding: .05em .8em; border-radius: 999px; background: #e3f0fa; font-size: var(--fs-xs); font-weight: 700; color: var(--c-blue); }
.c-card__text { margin-top: 4px; font-size: var(--fs-xs); color: var(--c-text-sub); line-height: 1.6; }

/* faq */
.c-faq { background: #fff; border: 1px solid var(--c-line); border-radius: 8px; transition: box-shadow .2s; }
.c-faq[open] { box-shadow: var(--shadow); }
.c-faq summary { position: relative; padding: 1em 3em 1em 1.6em; font-size: var(--fs-sm); font-weight: 500; color: var(--c-heading); cursor: pointer; }
.c-faq summary::before, .c-faq summary::after { content: ""; position: absolute; right: 1.6em; top: 50%; width: 11px; height: 1.5px; background: var(--c-heading); transition: transform .3s; }
.c-faq summary::after { transform: rotate(90deg); }
.c-faq[open] summary::after { transform: rotate(0); }
.c-faq p { padding: 0 1.6em 1.2em 3.2em; font-size: var(--fs-sm); color: var(--c-text-sub); position: relative; }
.c-faq p::before { content: "A."; position: absolute; left: 1.6em; color: var(--c-orange); font-weight: 700; }

/* SP固定CTA */
.c-fixed-cta { position: fixed; inset: auto 0 0; z-index: 90; display: grid; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -4px 16px rgba(11, 74, 134, .12); transform: translateY(110%); transition: transform .3s; }
.c-fixed-cta.is-show { transform: none; }
.c-fixed-cta__btn { display: flex; align-items: center; justify-content: center; gap: .4em; padding: .8em; border-radius: 999px; background: var(--c-navy-btn); color: #fff; font-size: var(--fs-sm); font-weight: 700; }
.c-fixed-cta__btn--orange { background: var(--c-orange); }
.c-fixed-cta__btn svg { width: 1.2em; height: 1.2em; }
@media (min-width: 768px) { .c-fixed-cta { display: none; } }

/* cta（共通コンポーネント／※背景は都市景観写真に差し替え想定：現在はグラデーションの仮背景） */
.c-cta { position: relative; overflow: hidden; padding-block: clamp(56px, 3rem + 3vw, 96px) clamp(80px, 4rem + 4vw, 140px); background:
  url("../img/cta-skyline.svg") center bottom / auto clamp(90px, 5rem + 6vw, 200px) repeat-x,
  linear-gradient(180deg, #ffffff 0%, #eef6fd 55%, #d9eaf8 100%); }
.c-cta__inner { text-align: center; }
.c-cta__title { font-size: var(--fs-h2); font-weight: 700; letter-spacing: .1em; line-height: 1.5; color: var(--c-heading); }
.c-cta__text { margin-top: 10px; font-size: var(--fs-sm); color: var(--c-heading); }
.c-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(16px, 2vw, 28px); margin-top: clamp(24px, 1rem + 1.5vw, 36px); }
@media (max-width: 767px) { .c-cta__btns .c-btn { width: 100%; min-width: 0; } }


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* 見出しの改行バランス（孤立文字防止） */
.c-heading, .p-season__title { text-wrap: balance; }
.c-heading { word-break: keep-all; overflow-wrap: anywhere; }
.c-cta__title { word-break: keep-all; overflow-wrap: anywhere; }


/* =========================================================
   Components（下層ページ用）
========================================================= */
/* breadcrumb */
.c-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: var(--fs-xs); font-weight: 500; color: var(--c-heading); }
.c-breadcrumb li:not(:last-child)::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 .9em .15em .7em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }
.c-breadcrumb a:hover { color: var(--c-blue); text-decoration: underline; }
.c-breadcrumb [aria-current] { font-weight: 700; }

/* section title（左ライン＋英字ラベル） */
.c-sec-title { position: relative; padding-left: clamp(18px, 1rem + .5vw, 26px); }
.c-sec-title::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--c-heading) 70%, #8fb3d6); }
.c-sec-title__en { display: block; font-family: var(--ff-en); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; color: var(--c-blue); line-height: 1.4; }
.c-sec-title__ja { display: block; margin-top: 0; font-size: var(--fs-h2); font-weight: 700; line-height: 1.45; letter-spacing: .08em; color: var(--c-heading); }
.c-sec-title__sub { margin-top: 8px; font-size: var(--fs-sm); color: var(--c-text-sub); }

/* card：右下の丸矢印つき */
.c-card--arrow .c-card__body { padding: 18px 64px 22px 20px; }
.c-card__arrow { position: absolute; right: 18px; bottom: 22px; display: grid; place-items: center; width: 34px; height: 34px; border: 1.5px solid var(--c-blue); border-radius: 50%; color: var(--c-blue); transition: background-color .2s, color .2s; }
.c-card__arrow svg { width: 16px; height: 16px; }
.c-card--arrow a:hover .c-card__arrow { background: var(--c-blue); color: #fff; }

/* cta：横並び帯（下層ページ用） */
.c-cta--band { padding-block: clamp(48px, 2.5rem + 2vw, 72px); background: linear-gradient(110deg, #0b4f93 0%, #0d5ea6 55%, #1a72b8 100%); color: #fff; }
.c-cta--band::after { content: ""; position: absolute; inset: auto 0 0; height: clamp(70px, 3rem + 5vw, 150px); background: url("../img/cta-skyline.svg") right bottom / auto 100% repeat-x; opacity: .18; pointer-events: none; }
.c-cta--band .c-cta__inner { position: relative; z-index: 1; display: grid; gap: 24px; align-items: center; text-align: left; }
.c-cta__label { font-size: var(--fs-xs); font-weight: 700; opacity: .9; }
.c-cta--band .c-cta__title { margin-top: 6px; color: #fff; }
.c-cta--band .c-cta__text { color: rgba(255, 255, 255, .9); }
.c-cta--band .c-cta__btns { justify-content: flex-start; margin-top: 0; }
@media (min-width: 1024px) {
  .c-cta--band .c-cta__inner { grid-template-columns: 1fr auto; gap: 48px; }
  .c-cta--band .c-cta__btns { justify-content: flex-end; }
}

/* footer：SP（〜767px）のみ ボタン非表示・下段を中央寄せ */
@media (max-width: 767px) {
  .l-footer__btns { display: none; }
  .l-footer__bottom { flex-direction: column; align-items: center; justify-content: center; gap: 0; text-align: center; }
}

/* メニュー展開中は背面をスクロールさせない（位置固定は main.js で付与） */
body.is-menu-open { position: fixed; left: 0; right: 0; overflow: hidden; }
