/* ウォーターグリーン サイト本体（名刺のロゴ由来：青・黄緑・白・まるい形） */
:root {
  --blue: #00a4e3;          /* 名刺の青。差し色としてだけ使う */
  --green: #8ec31f;         /* 名刺の黄緑。同上 */
  --ink: #12181c;           /* 墨に近い濃紺 */
  --slate: #626c74;
  --sky: #f6f8f8;           /* ほんのり冷たい白 */
  --leaf: #f9f9f6;
  --hair: #dcdfdd;
  --head: 60px;
  --gutter: clamp(18px, 5vw, 72px);
  --wrap: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: #fff; color: var(--ink);
  font-family: var(--sans); font-weight: 500;
  line-height: 1.95; letter-spacing: .02em; -webkit-font-smoothing: antialiased;
}
body.demo-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ===== ヘッダー ===== */
.site-head {
  position: sticky; top: 0; z-index: 40; height: var(--head);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hair);
}
.site-head .logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.site-head .logo img { height: 40px; width: auto; display: block; }
.site-head .logo span { font-weight: 900; font-size: 15px; }
.site-head nav { display: flex; gap: clamp(12px, 2vw, 26px); font-size: 13px; font-weight: 700; }
.site-head nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.site-head nav a:hover, .site-head nav a[aria-current] { border-bottom-color: var(--blue); }
.site-head .cta { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-decoration: none; background: var(--ink); color: #fff; padding: .8em 1.5em; border: 1px solid var(--ink); border-radius: 2px; white-space: nowrap; }
.site-head .cta:hover { background: #fff; color: var(--ink); }

/* ===== 共通の型 ===== */
.wrap { max-width: var(--wrap); margin: 0 auto; }
section { padding: clamp(56px, 10vh, 112px) var(--gutter); }
section.tint { background: var(--sky); }
section.leaf { background: var(--leaf); }
.sec-head { margin-bottom: clamp(24px, 5vh, 48px); }
.sec-head .en { display: block; font-size: 11px; font-weight: 700; letter-spacing: .28em; color: var(--slate); margin-bottom: .9em; }
.sec-head .en::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--blue); margin-right: .9em; vertical-align: middle; }
.sec-head h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); line-height: 1.45; letter-spacing: .04em; }
.sec-head p { margin-top: .8em; color: var(--slate); font-size: clamp(14px, 1.4vw, 16px); max-width: 44em; }
.lead-copy { font-size: clamp(15px, 1.5vw, 18px); line-height: 2.1; color: #33414c; max-width: 42em; }
.note { font-size: 13px; color: var(--slate); line-height: 2; }

/* ページ見出し（下層ページ） */
.page-head { background: #fff; border-bottom: 1px solid var(--hair); padding: clamp(52px, 10vh, 104px) var(--gutter) clamp(36px, 7vh, 64px); }
.page-head .crumb { font-size: 12px; color: var(--slate); margin-bottom: .8em; }
.page-head .crumb a { text-decoration: none; }
.page-head h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 4vw, 44px); line-height: 1.45; letter-spacing: .04em; }
.page-head p { margin-top: .9em; color: var(--slate); max-width: 44em; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; gap: .8em;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .06em;
  text-decoration: none; padding: .95em 2em; border: 1px solid var(--ink); border-radius: 2px;
  transition: background .2s, color .2s;
}
.btn::after { content: ""; width: 16px; height: 1px; background: currentColor; }
.btn:hover { background: #fff; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.big { font-size: clamp(14px, 1.4vw, 16px); padding: 1.15em 2.6em; }

/* カード */
.cards { display: grid; gap: clamp(16px, 2.4vw, 26px); grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card { background: #fff; border: 1px solid var(--hair); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; }
.card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card .in { padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: .7em; flex: 1; }
.card .kind { font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--slate); }
.card h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(19px, 2.1vw, 25px); line-height: 1.5; letter-spacing: .03em; }
.card p { font-size: clamp(13px, 1.3vw, 15px); line-height: 2; color: var(--slate); }
.card .in .btn { align-self: flex-start; margin-top: auto; }

/* 小さいタイル */
.tiles { display: grid; gap: clamp(12px, 1.8vw, 20px); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.tile { background: #fff; border: 1px solid var(--hair); border-radius: 2px; overflow: hidden; transition: border-color .2s; }
.tile:hover { border-color: var(--ink); }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile .in { padding: 14px 16px 18px; }
.tile h4 { font-weight: 700; font-size: 15px; letter-spacing: .03em; }
.tile h4::before { content: ""; display: inline-block; width: .5em; height: .5em; border-radius: 999px; background: var(--blue); margin-right: .5em; vertical-align: middle; }
.tile:nth-child(even) h4::before { background: var(--green); }
.tile p { margin-top: .5em; font-size: 12px; line-height: 1.9; color: var(--slate); }

/* 番号つきリスト */
.numbered { display: grid; gap: clamp(16px, 2.6vw, 30px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); counter-reset: n; }
.numbered > li { list-style: none; background: transparent; border-top: 1px solid var(--ink); padding: clamp(18px, 2.2vw, 26px) 0 0; }
.numbered > li::before { counter-increment: n; content: counter(n, decimal-leading-zero); display: block; font-family: var(--serif); font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--slate); margin-bottom: 1.1em; }
.numbered h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(17px, 1.9vw, 22px); letter-spacing: .04em; }
.numbered p { margin-top: .6em; font-size: clamp(13px, 1.3vw, 15px); line-height: 2; color: var(--slate); }

/* 箇条書き */
.ticks { display: grid; gap: .7em; }
.ticks li { list-style: none; padding-left: 1.7em; position: relative; font-size: clamp(13px, 1.35vw, 15px); line-height: 1.9; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .95em; width: 12px; height: 1px; background: var(--blue); }

/* 表 */
.facts { border-top: 1px solid var(--hair); }
.facts div { display: grid; grid-template-columns: 9em 1fr; gap: 1em; padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: clamp(13px, 1.3vw, 15px); }
.facts dt { font-weight: 700; color: var(--slate); }

/* 人物 */
.people { display: grid; gap: clamp(16px, 2.4vw, 26px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.person { background: #fff; border-top: 1px solid var(--hair); padding: clamp(18px, 2.2vw, 26px) 0 0; }
.person .role { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--slate); }
.person .name { font-family: var(--serif); font-weight: 800; font-size: 20px; margin-top: .3em; letter-spacing: .05em; }
.person p { margin-top: .7em; font-size: 13px; line-height: 2; color: var(--slate); }
.person img { width: 88px; aspect-ratio: 1; object-fit: cover; border-radius: 0; margin-bottom: 1.2em; filter: grayscale(.2); }

/* Q&A */
.qa { border-top: 1px solid var(--hair); }
.qa details { border-bottom: 1px solid var(--hair); padding: 18px 0; }
.qa summary { font-weight: 700; letter-spacing: .03em; cursor: pointer; list-style: none; display: flex; gap: .7em; align-items: flex-start; font-size: clamp(14px, 1.45vw, 17px); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "Q"; font-family: var(--serif); color: var(--blue); font-weight: 800; }
.qa details p { margin: .8em 0 0 1.7em; color: var(--slate); font-size: clamp(13px, 1.3vw, 15px); }

/* フォーム */
.form { display: grid; gap: 18px; max-width: 720px; }
.form label { display: grid; gap: .4em; font-size: 13px; font-weight: 700; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 500; padding: .9em 1em; border: 1px solid var(--hair); border-radius: 2px; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); outline: none; }
.form textarea { min-height: 160px; resize: vertical; }
.form .row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form .req { color: var(--blue-d); font-weight: 700; font-size: 11px; letter-spacing: .1em; }

/* CTA帯 */
.cta-band { background: var(--ink); color: #fff; text-align: center; }
.cta-band h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(26px, 4.2vw, 46px); line-height: 1.45; letter-spacing: .06em; }
.cta-band p { margin-top: 1.2em; line-height: 2.1; color: rgba(255, 255, 255, .78); font-size: 15px; }
.cta-band .btn { background: #fff; color: var(--ink); border-color: #fff; margin-top: clamp(24px, 4vh, 40px); }
.cta-band .btn:hover { background: transparent; color: #fff; }

/* フッター */
.site-foot { border-top: 1px solid var(--hair); padding: 30px var(--gutter) 44px; font-size: 12px; color: var(--slate); }
.site-foot .in { max-width: var(--wrap); margin: 0 auto; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--blue); }
.site-foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.tagline { letter-spacing: .18em; font-weight: 700; }
.tagline .s1 { color: var(--blue); }
.tagline .s2 { color: var(--green); }
.tagline .s3 { color: #8a949c; }

/* トップの旗 */
.flag .headline { font-family: var(--serif); font-weight: 800; font-size: clamp(38px, 7vw, 92px); line-height: 1.25; letter-spacing: .06em; }
.flag .headline em { font-style: normal; position: relative; }
.flag .headline em::after { content: ""; position: absolute; left: 0; right: .35em; bottom: .12em; height: 2px; background: var(--blue); }
.flag .body { margin-top: clamp(26px, 5vh, 50px); display: grid; gap: clamp(14px, 2vw, 22px); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.flag .body p { border-top: 1px solid var(--hair); padding-top: clamp(16px, 2vw, 24px); font-size: clamp(14px, 1.35vw, 15px); line-height: 2.1; color: var(--slate); }
.flag .body p b { display: block; font-family: var(--serif); font-size: 1.15em; font-weight: 800; margin-bottom: .8em; color: var(--ink); letter-spacing: .05em; }

/* 体験を呼び出す帯 */
.try { background: var(--sky); border: 1px solid var(--hair); border-radius: 2px; padding: clamp(24px, 3vw, 44px); display: flex; gap: clamp(16px, 3vw, 32px); align-items: center; justify-content: space-between; flex-wrap: wrap; }
.try h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(18px, 2.1vw, 25px); letter-spacing: .04em; }
.try p { color: var(--slate); font-size: clamp(13px, 1.3vw, 15px); margin-top: .4em; }
.try .soon { font-size: 12px; color: var(--slate); }

@media (max-width: 760px) {
  .site-head nav { display: none; }
  .form .row { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: .2em; }
}

/* ---- 全幅の写真帯 ---- */
.band { position: relative; padding: 0; }
.band img { display: block; width: 100%; height: clamp(260px, 52vh, 560px); object-fit: cover; filter: grayscale(.18) contrast(1.02); }
.band .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 5vw, 64px) var(--gutter);
  background: linear-gradient(180deg, rgba(18, 24, 28, 0) 0%, rgba(18, 24, 28, .72) 70%);
  color: #fff;
}
.band .cap p { max-width: var(--wrap); margin: 0 auto; font-family: var(--serif); font-weight: 800; font-size: clamp(18px, 2.6vw, 34px); line-height: 1.6; letter-spacing: .05em; }

/* ---- 引用 ---- */
.quote { border-left: 2px solid var(--ink); padding-left: clamp(16px, 2.4vw, 28px); margin-bottom: clamp(20px, 3vh, 32px); }
.quote p { font-family: var(--serif); font-weight: 800; font-size: clamp(18px, 2.2vw, 28px); line-height: 1.75; letter-spacing: .04em; }

/* ---- 大きな顔写真（代表挨拶） ---- */
.portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(.2); border-radius: 2px; }
.portrait .role { margin-top: 1.1em; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--slate); }
.portrait .name { font-family: var(--serif); font-weight: 800; font-size: 22px; margin-top: .35em; letter-spacing: .05em; }
.portrait p.bio { margin-top: .8em; font-size: 13px; line-height: 2; color: var(--slate); }
.msg { display: grid; gap: clamp(20px, 3.4vw, 44px); grid-template-columns: minmax(200px, 300px) 1fr; align-items: start; }
@media (max-width: 720px) { .msg { grid-template-columns: 1fr; } }


/* ---- 現場写真のグリッド ---- */
.gal { display: grid; gap: clamp(8px, 1.2vw, 14px); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; filter: grayscale(.12); }
