/* ============================================================
   102 サンプル土地活用 — 和モダン / 生成×深緑×金茶
   ============================================================ */

:root {
  --kinari: #F2EDE3;
  --kinari-2: #EAE3D3;
  --washi: #FAF7EF;
  --sumi: #26241F;
  --sumi-soft: #4A463D;
  --green: #1E3A2F;
  --green-d: #14291F;
  --kincha: #A8853C;        /* 装飾線・大数字のみ（本文には使わない） */
  --kincha-text: #7A5E24;   /* 文字用の濃金茶（AA 5.2:1） */
  --line: rgba(38, 36, 31, 0.14);
  --serif: "Shippori Mincho B1", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", sans-serif;
  --sidebar-w: 92px;
  --demobar-h: 36px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  padding-top: var(--demobar-h);
  background: var(--kinari);
  color: var(--sumi);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
figure { margin: 0; }

/* ─── DEMO BAR ─────────────────────────────────────────── */
#demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  background: rgba(24, 22, 18, 0.97);
  border-bottom: 1px solid rgba(168, 133, 60, 0.35);
  padding: 7px 0;
}
#demo-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.demo-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.7rem; color: rgba(242, 237, 227, 0.5);
}
.demo-badge {
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(168, 133, 60, 0.18); color: #C9A55C;
  padding: 3px 10px; flex-shrink: 0;
}
.demo-link { color: #C9A55C; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.demo-copy { color: rgba(242, 237, 227, 0.28); font-size: 0.62rem; margin-left: 4px; }
@media (max-width: 640px) { .demo-copy { display: none; } }

/* ─── PC 左サイドバー ──────────────────────────────────── */
.side-nav {
  position: fixed; top: var(--demobar-h); left: 0; bottom: 0;
  width: var(--sidebar-w); z-index: 900;
  background: var(--kinari);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center;
  padding: 26px 0 18px; gap: 20px;
  overflow-y: auto;
}
.side-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; flex-shrink: 0; }
.side-logo-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--green); color: var(--kinari);
  font-family: var(--serif); font-size: 1.25rem; font-weight: 700;
}
.side-logo-txt {
  writing-mode: vertical-rl; font-family: var(--serif);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.28em; color: var(--sumi);
}
.side-menu { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; }
.side-menu a {
  writing-mode: vertical-rl;
  font-family: var(--serif); font-size: 0.8rem; letter-spacing: 0.3em;
  color: var(--sumi-soft); padding: 11px 0; position: relative;
  transition: color 0.3s ease;
}
.side-menu a::before {
  content: ""; position: absolute; top: 2px; left: 50%;
  width: 1px; height: 0; background: var(--kincha);
  transition: height 0.35s ease; transform: translateX(11px);
}
.side-menu a:hover { color: var(--sumi); }
.side-menu a:hover::before { height: 100%; }
.side-cta {
  writing-mode: vertical-rl;
  background: var(--green); color: var(--kinari);
  font-family: var(--serif); font-size: 0.82rem; letter-spacing: 0.3em; font-weight: 500;
  padding: 18px 12px; flex-shrink: 0;
  transition: background 0.3s ease;
}
.side-cta:hover, .side-cta:focus { background: var(--green-d); color: var(--kinari); }

/* ─── モバイル上部バー ─────────────────────────────────── */
.site-header {
  display: none;
  position: fixed; top: var(--demobar-h); left: 0; right: 0; z-index: 900;
  background: var(--kinari);
  border-bottom: 1px solid var(--line);
  height: 60px;
  align-items: center; justify-content: space-between;
  padding: 0 18px;
}
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(38, 36, 31, 0.08); }
.mh-logo { font-family: var(--serif); font-size: 1.02rem; font-weight: 700; letter-spacing: 0.14em; color: var(--sumi); }
.hamburger {
  z-index: 1100; position: relative;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--sumi); transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ─── モバイル フルスクリーンメニュー（掛け軸風） ─────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--kinari);           /* 不透明ソリッド：透け防止 */
  padding: 110px 30px 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
}
.mobile-menu::before, .mobile-menu::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(168, 133, 60, 0.4);
}
.mobile-menu::before { left: 22px; }
.mobile-menu::after { right: 22px; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-nav-close {
  position: absolute; top: 52px; right: 34px;
  background: none; border: 1px solid var(--sumi); color: var(--sumi);
  font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0.1em;
  padding: 9px 18px; cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.mobile-nav-close:hover { background: var(--sumi); color: var(--kinari); }
.mobile-nav-home {
  display: inline-block;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 700; letter-spacing: 0.24em;
  color: var(--kinari); background: var(--green);
  padding: 12px 34px; margin-bottom: 26px;
}
.mm-links { display: flex; flex-direction: column; }
.mm-links a {
  font-family: var(--serif); font-size: 1.28rem; letter-spacing: 0.18em; color: var(--sumi);
  padding: 17px 4px; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.mobile-menu.is-open .mm-links a { opacity: 1; transform: none; }
.mobile-menu.is-open .mm-links a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mm-links a:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu.is-open .mm-links a:nth-child(3) { transition-delay: 0.24s; }
.mobile-menu.is-open .mm-links a:nth-child(4) { transition-delay: 0.32s; }
.mobile-menu.is-open .mm-links a:nth-child(5) { transition-delay: 0.4s; }
.mobile-menu.is-open .mm-links a:nth-child(6) { transition-delay: 0.48s; }
.mm-tel { margin-top: 30px; font-size: 0.85rem; color: var(--sumi-soft); }
.mm-tel strong { display: block; font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.08em; color: var(--sumi); }

/* ─── レイアウト共通 ───────────────────────────────────── */
.page { margin-left: var(--sidebar-w); }
.section-inner { max-width: 1120px; margin: 0 auto; padding: 0 5vw; }
section { padding: 96px 0; }

.sec-head { margin-bottom: 52px; }
.sec-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--kincha-text); margin-bottom: 14px;
}
.sec-label::before { content: ""; width: 34px; height: 1px; background: var(--kincha); }
.sec-title { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; letter-spacing: 0.08em; line-height: 1.5; }
.sec-lead { margin-top: 18px; max-width: 640px; color: var(--sumi-soft); font-size: 0.95rem; }

/* ─── ボタン ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--serif); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.14em;
  padding: 17px 40px; border: 1px solid transparent; cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-primary { background: var(--green); color: var(--kinari); }             /* 8.5:1 */
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--green-d); color: var(--kinari); } /* 13:1 */
.btn-ghost { background: transparent; color: var(--sumi); border-color: var(--sumi); } /* 13.3:1 */
.btn-ghost:hover, .btn-ghost:focus, .btn-ghost:active { background: var(--sumi); color: var(--kinari); } /* 13.3:1 */
.btn-light { background: var(--kinari); color: var(--green); }               /* 8.5:1 */
.btn-light:hover, .btn-light:focus, .btn-light:active { background: #FFFFFF; color: var(--green); } /* 10:1 */
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.86rem; font-weight: 700; letter-spacing: 0.12em; color: var(--kincha-text);
}
.text-link::after { content: ""; width: 26px; height: 1px; background: var(--kincha); transition: width 0.3s ease; }
.text-link:hover::after { width: 42px; }

/* ─── ヒーロー ─────────────────────────────────────────── */
.hero { padding: 72px 0 90px; }
.hero-grid {
  display: grid; grid-template-columns: 1.25fr 1.3fr; gap: 4.5vw; align-items: center;
}
.hero-left { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: clamp(24px, 3vw, 46px); }
.hero-title {
  writing-mode: vertical-rl;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(42px, 4.4vw, 70px);
  line-height: 1.6; letter-spacing: 0.16em;
  min-height: 400px;
}
/* 縦書きh1と横並びのため、サブ列が潰れてボタン文字が折り返さないよう下限幅を確保する */
.hero-sub-col { display: flex; flex-direction: column; justify-content: flex-end; gap: 22px; padding-bottom: 8px; max-width: 300px; min-width: 236px; flex: 1 1 auto; }
.hero-label {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.26em; color: var(--kincha-text);
  display: flex; align-items: center; gap: 12px;
}
.hero-label::before { content: ""; width: 28px; height: 1px; background: var(--kincha); }
.hero-sub { font-size: 0.94rem; color: var(--sumi-soft); }
.hero-cta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.hero-cta .btn { white-space: nowrap; }
.hero-right { display: flex; flex-direction: column; gap: 22px; }
.hero-photo { overflow: hidden; background: linear-gradient(160deg, #E6DECB, #D6CCB2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hp-a { aspect-ratio: 3 / 4; width: 72%; align-self: flex-end; }
.hp-b { aspect-ratio: 4 / 3; width: 86%; align-self: flex-start; margin-top: -60px; position: relative; z-index: 2; border: 6px solid var(--kinari); }

/* ─── News ─────────────────────────────────────────────── */
.news-strip { padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.news-head { display: flex; align-items: baseline; gap: 26px; margin-bottom: 22px; }
.news-head .sec-title { font-size: 1.3rem; }
.news-head .text-link { margin-left: auto; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: none; }
.news-list a {
  display: flex; align-items: baseline; gap: 22px; padding: 15px 4px;
  transition: background 0.3s ease;
}
.news-list a:hover { background: rgba(168, 133, 60, 0.07); }
.news-list time { font-size: 0.82rem; letter-spacing: 0.08em; color: var(--sumi-soft); flex-shrink: 0; font-feature-settings: "tnum"; }
.news-cat {
  flex-shrink: 0; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  color: var(--green); border: 1px solid var(--green); padding: 2px 12px;
}
.news-t { font-size: 0.94rem; }

/* ─── 悩み提起 ─────────────────────────────────────────── */
.worries { background: var(--kinari-2); }
.worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.worry-card { background: var(--washi); padding: 34px 30px; border-top: 2px solid var(--green); }
.worry-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.worry-icon { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; color: var(--green); }
.worry-icon svg { width: 30px; height: 30px; }
.worry-title { font-family: var(--serif); font-size: 1.06rem; font-weight: 600; line-height: 1.6; }
.worry-card p { font-size: 0.9rem; color: var(--sumi-soft); }
.worries-close { margin-top: 44px; text-align: center; font-family: var(--serif); font-size: clamp(18px, 2.2vw, 24px); letter-spacing: 0.1em; }

/* ─── 事業内容 ─────────────────────────────────────────── */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.biz-card {
  position: relative; display: block; background: var(--washi);
  border: 1px solid var(--line); padding: 38px 34px 32px;
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.biz-card:hover { border-color: var(--kincha); transform: translateY(-4px); }
.biz-num {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--serif); font-size: 2rem; color: var(--kincha); opacity: 0.55; line-height: 1;
}
.biz-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.biz-icon { flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center; color: var(--green); }
.biz-icon svg { width: 32px; height: 32px; }
.biz-title { font-family: var(--serif); font-size: 1.18rem; font-weight: 600; letter-spacing: 0.06em; }
.biz-card p { font-size: 0.9rem; color: var(--sumi-soft); margin-bottom: 18px; }
.biz-more { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; color: var(--kincha-text); }

/* ─── 活用事例 ─────────────────────────────────────────── */
.cases-sec { background: var(--kinari-2); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.case-card { background: var(--washi); border: 1px solid var(--line); display: flex; flex-direction: column; }
.case-photo { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(160deg, #E6DECB, #D6CCB2); }
.case-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-card:hover .case-photo img { transform: scale(1.04); }
.case-body { padding: 26px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.case-tag {
  align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--kinari); background: var(--green); padding: 3px 14px; margin-bottom: 12px;
}
.case-body h3 { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; margin-bottom: 14px; line-height: 1.6; }
.case-data { border-top: 1px solid var(--line); }
.case-data > div { display: flex; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.86rem; }
.case-data dt { flex-shrink: 0; width: 96px; color: var(--kincha-text); font-weight: 700; }
.case-data dd { color: var(--sumi-soft); }
.case-note { margin-top: 12px; font-size: 0.72rem; color: var(--sumi-soft); }
.case-more { margin-top: 44px; text-align: center; }

/* ─── 代表挨拶 ─────────────────────────────────────────── */
.message-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 5vw; align-items: center; }
.message-photo { aspect-ratio: 3 / 4; overflow: hidden; background: linear-gradient(160deg, #E6DECB, #D6CCB2); }
.message-photo img { width: 100%; height: 100%; object-fit: cover; }
.message-quote { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 27px); line-height: 2; letter-spacing: 0.06em; margin-bottom: 26px; }
.message-body p { font-size: 0.94rem; color: var(--sumi-soft); margin-bottom: 14px; }
.message-name { margin-top: 26px; font-size: 0.85rem; color: var(--sumi-soft); }
.message-name strong { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0.14em; color: var(--sumi); margin-left: 14px; }

/* ─── 相談の流れ ───────────────────────────────────────── */
.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: flow; }
.flow-item { background: var(--washi); border: 1px solid var(--line); padding: 30px 26px; position: relative; }
.flow-num { font-family: var(--serif); font-size: 2.1rem; color: var(--kincha); line-height: 1; display: block; margin-bottom: 16px; }
.flow-item h3 { font-family: var(--serif); font-size: 1.04rem; font-weight: 600; margin-bottom: 10px; }
.flow-item p { font-size: 0.86rem; color: var(--sumi-soft); }

/* ─── CTA帯 ────────────────────────────────────────────── */
.cta-band { background: var(--green); color: var(--kinari); text-align: center; padding: 88px 0; }
.cta-band .sec-label { color: #D9BE85; }
.cta-band .sec-label::before { background: #D9BE85; }
.cta-title { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); letter-spacing: 0.1em; margin-bottom: 16px; }
.cta-lead { font-size: 0.94rem; color: rgba(242, 237, 227, 0.82); margin-bottom: 34px; }
.cta-actions { display: flex; justify-content: center; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta-tel { font-size: 0.8rem; color: rgba(242, 237, 227, 0.82); }
.cta-tel strong { display: block; font-family: var(--serif); font-size: 1.7rem; letter-spacing: 0.08em; color: var(--kinari); }

/* ─── フッター ─────────────────────────────────────────── */
.site-footer { background: var(--green-d); color: var(--kinari); padding: 70px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo .side-logo-mark { background: var(--kinari); color: var(--green); }
.footer-logo-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.14em; }
.footer-info { font-size: 0.83rem; color: rgba(242, 237, 227, 0.72); font-style: normal; line-height: 2.1; }
.footer-head { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: #D9BE85; margin-bottom: 18px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.88rem; color: rgba(242, 237, 227, 0.82); transition: color 0.3s ease; }
.footer-nav a:hover { color: #FFFFFF; }
.footer-bottom {
  border-top: 1px solid rgba(242, 237, 227, 0.16); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 0.76rem; color: rgba(242, 237, 227, 0.55);
}

/* ─── 下層ページ共通 ───────────────────────────────────── */
.page-head { padding: 90px 0 64px; border-bottom: 1px solid var(--line); }
.page-head-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--kincha-text); margin-bottom: 16px;
}
.page-head-label::before { content: ""; width: 34px; height: 1px; background: var(--kincha); }
.page-head h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: 0.1em; line-height: 1.5; }
.page-head .sec-lead { margin-top: 14px; }
.breadcrumb { margin-top: 26px; font-size: 0.76rem; color: var(--sumi-soft); display: flex; gap: 10px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

/* about */
.philosophy-box { background: var(--washi); border-left: 2px solid var(--kincha); padding: 40px 44px; margin-bottom: 60px; }
.philosophy-box h2 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 0.1em; margin-bottom: 14px; }
.philosophy-box p { color: var(--sumi-soft); font-size: 0.95rem; }
.office-photo { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(160deg, #E6DECB, #D6CCB2); margin-bottom: 60px; }
.office-photo img { width: 100%; height: 100%; object-fit: cover; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { border-bottom: 1px solid var(--line); padding: 17px 10px; font-size: 0.92rem; text-align: left; vertical-align: top; }
.company-table th { width: 180px; font-family: var(--serif); font-weight: 600; color: var(--sumi); white-space: nowrap; }
.company-table td { color: var(--sumi-soft); }

/* service */
.service-visual { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(160deg, #E6DECB, #D6CCB2); margin-bottom: 70px; }
.service-visual img { width: 100%; height: 100%; object-fit: cover; }
.service-block { padding: 60px 0; border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: none; }
.service-block-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.service-block-num { font-family: var(--serif); font-size: 2.4rem; color: var(--kincha); line-height: 1; }
.service-block-head h2 { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; letter-spacing: 0.08em; }
.service-block > p { max-width: 720px; color: var(--sumi-soft); font-size: 0.95rem; margin-bottom: 22px; }
.service-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-points li {
  background: var(--washi); border: 1px solid var(--line); padding: 20px 22px;
  font-size: 0.88rem; display: flex; align-items: flex-start; gap: 12px;
}
.service-points li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; background: var(--kincha); margin-top: 10px; }

/* cases page */
.case-detail { padding: 56px 0; border-bottom: 1px solid var(--line); }
.case-detail:last-of-type { border-bottom: none; }
.case-detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4vw; align-items: start; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 5vw; align-items: start; }
.form-note { font-size: 0.82rem; color: var(--sumi-soft); margin-bottom: 30px; }
.form-field { margin-bottom: 24px; }
.form-field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 8px; }
.req { color: var(--kinari); background: var(--green); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; padding: 2px 8px; margin-left: 10px; vertical-align: 2px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 16px; font-family: var(--sans); font-size: 0.95rem;
  background: var(--washi); border: 1px solid var(--line); color: var(--sumi);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--green); outline-offset: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-agree { font-size: 0.86rem; margin: 26px 0; display: flex; align-items: center; gap: 10px; }
.form-agree input { width: 18px; height: 18px; accent-color: var(--green); }
.form-agree a { text-decoration: underline; text-underline-offset: 3px; }
.form-submit-wrap { text-align: left; }
.contact-info-box { background: var(--washi); border: 1px solid var(--line); padding: 34px 32px; }
.contact-info-box + .contact-info-box { margin-top: 24px; }
.contact-info-box h2 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.contact-info-box h2::before { content: ""; width: 20px; height: 1px; background: var(--kincha); }
.contact-info-box p { font-size: 0.88rem; color: var(--sumi-soft); }
.contact-tel { font-family: var(--serif); font-size: 1.8rem; letter-spacing: 0.06em; color: var(--sumi); margin: 8px 0 4px; }

/* privacy */
.privacy-body { max-width: 780px; }
.privacy-body h2 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin: 44px 0 14px; padding-left: 16px; border-left: 2px solid var(--kincha); }
.privacy-body p, .privacy-body li { font-size: 0.92rem; color: var(--sumi-soft); margin-bottom: 10px; }
.privacy-body ul { padding-left: 22px; }
.privacy-body ul li { list-style: disc; }

/* news */
.news-page-list { max-width: 820px; }
.news-article { max-width: 780px; }
.news-article-meta { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.news-article h1 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.6; margin-bottom: 34px; }
.news-article-body p { font-size: 0.95rem; color: var(--sumi-soft); margin-bottom: 20px; }
.news-article-body h2 { font-family: var(--serif); font-size: 1.2rem; margin: 36px 0 14px; padding-left: 16px; border-left: 2px solid var(--kincha); }
.news-article-box { background: var(--washi); border: 1px solid var(--line); padding: 26px 30px; margin: 26px 0; font-size: 0.92rem; }
.news-article-box dt { font-weight: 700; color: var(--kincha-text); margin-top: 12px; }
.news-article-box dt:first-child { margin-top: 0; }
.news-article-box dd { color: var(--sumi-soft); }
.back-link-wrap { margin-top: 50px; }

/* ─── Reveal（CSS-only・JS非依存） ─────────────────────── */
.reveal { opacity: 1; animation: fade-up 1s cubic-bezier(0.25, 0.6, 0.2, 1) both; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.reveal-door { opacity: 1; animation: door-open 1.15s cubic-bezier(0.6, 0.05, 0.2, 1) both; }
@keyframes door-open {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
.rd-1 { animation-delay: 0.1s; }
.rd-2 { animation-delay: 0.24s; }
.rd-3 { animation-delay: 0.38s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-door { animation: none; opacity: 1; transform: none; clip-path: none; }
}

/* ─── レスポンシブ ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1.2fr; }
  .worry-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .service-points { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .side-nav { display: none; }
  .site-header { display: flex; }
  .page { margin-left: 0; }
  body { padding-top: calc(var(--demobar-h) + 60px); }
  section { padding: 70px 0; }

  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-left { flex-direction: column; gap: 20px; }
  .hero-title { writing-mode: horizontal-tb; min-height: 0; font-size: clamp(34px, 9vw, 52px); line-height: 1.5; }
  .hero-sub-col { max-width: none; }
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .hp-a { width: 82%; }
  .hp-b { width: 90%; margin-top: -44px; }

  .biz-grid, .case-grid { grid-template-columns: 1fr; }
  .message-grid { grid-template-columns: 1fr; }
  .message-photo { max-width: 380px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .case-detail-grid { grid-template-columns: 1fr; }
  .company-table th { width: 120px; }
}

@media (max-width: 767px) {
  /* ── ハンバーガー透け防止（必須3点セット＋is-scrolled拡張） ── */
  .hamburger { z-index: 1100; position: relative; }
  .mobile-menu {
    position: fixed; inset: 0;
    background: var(--kinari);  /* 不透明ソリッド */
    z-index: 1000;
  }
  .site-header.menu-active {
    background: var(--kinari) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .site-header, .site-header.is-scrolled, .site-header.menu-active {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* ── お問い合わせページ スマホ1カラム（2階層・必須） ── */
  .contact-grid, .contact-layout, .contact-wrap, .contact-flex,
  [class*="contact-grid"], [class*="contact-layout"], [class*="contact-wrap"] {
    display: block !important;
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    gap: 32px;
  }
  .contact-grid > * + * { margin-top: 34px; }
  .form-row, .form-grid, .form-2col, .form-pair, .input-row, .input-grid,
  [class*="form-row"], [class*="form-grid"], [class*="two-col"] {
    display: block !important;
    grid-template-columns: 1fr !important;
  }
  form input[type="text"], form input[type="email"], form input[type="tel"],
  form input[type="number"], form textarea, form select,
  .form-row > input, .form-row > textarea, .form-row > select,
  .form-row > div, .form-grid > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .form-row, .form-grid { margin-bottom: 1rem; }
  .form-row > .form-field { margin-bottom: 24px; }

  .flow-list { grid-template-columns: 1fr; }
  .news-list a { flex-wrap: wrap; gap: 10px; }
  .news-t { width: 100%; }
  .cta-actions { flex-direction: column; }
  .philosophy-box { padding: 30px 24px; }
  .case-body { padding: 22px 20px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
