/* 木KUBARI ホームページ 共通スタイル（2版：移住相談窓口を前面に） */
:root {
  --bg: #f4f1ea;
  --paper: #faf8f3;
  --ink: #24231f;
  --muted: #6f6a5f;
  --line: #d9d4c7;
  --green: #2c4638;
  --green-deep: #1c2f25;
  --clay: #a8603a;
  --machi: #b9523c;
  --denen: #6c8f35;
  --yama: #3f7a9d;
  --head-h: 76px;
  --pad: 40px;
  --maxw: 1120px;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 20px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--gothic); font-size: 16px; line-height: 2; letter-spacing: .04em; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* あとで入れる箇所の目印（スライドのオレンジの【】と同じ役割） */
.todo { color: #a84c17; background: #fdebd8; padding: 1px .4em; border-radius: 3px; font-family: var(--gothic); font-size: 13px; font-weight: 500; letter-spacing: 0; }

/* スクロールで、ふわっと出す（JavaScriptが動くときだけ） */
.js .fade { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.js .fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fade { opacity: 1; transform: none; transition: none; }
  .hero-img { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- ヘッダー：写真の上では透明、スクロールすると生成りの帯になる ---------- */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 36px;
  height: var(--head-h); padding: 0 var(--pad);
  color: #fff; border-bottom: 1px solid transparent;
  transition: background .35s, color .35s, border-color .35s;
}
.head.is-solid { background: rgba(244, 241, 234, .95); backdrop-filter: blur(10px); color: var(--ink); border-bottom-color: var(--line); }
.logo img { height: 34px; width: auto; }
.logo .b, .head.is-solid .logo .w { display: none; }
.head.is-solid .logo .b { display: block; }
.gnav { margin-left: auto; display: flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 500; letter-spacing: .1em; }
.gnav a { position: relative; padding: 6px 0; text-decoration: none; white-space: nowrap; }
.gnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.head-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 24px;
  border: 1px solid currentColor; border-radius: 99px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .08em; text-decoration: none; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.head-cta:hover { background: #fff; color: var(--ink); border-color: #fff; }
.head.is-solid .head-cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.head.is-solid .head-cta:hover { background: var(--green); border-color: var(--green); }

/* ---------- ボタン・リンク ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 99px; border: 1px solid transparent;
  font-size: 14.5px; font-weight: 700; letter-spacing: .1em; text-decoration: none; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green); }
.more { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid currentColor; font-weight: 700; font-size: 15px; letter-spacing: .1em; text-decoration: none; }
.more span { transition: transform .3s; }
.more:hover span { transform: translateX(6px); }

/* ---------- トップ：最初の画面（移住相談窓口） ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; color: #fff; background: #44586a; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; filter: saturate(.78) brightness(.97) contrast(.97); animation: kb 18s cubic-bezier(.2, .6, .2, 1) both; }
@keyframes kb { from { transform: scale(1.09); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 32, 44, .40) 0%, rgba(20, 32, 44, .10) 30%, rgba(20, 30, 26, .06) 52%, rgba(16, 24, 20, .72) 100%); }
.hero-copy {
  position: absolute; z-index: 2; top: 17%; right: 13%;
  writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 500;
  font-size: min(3.3vw, 4.7vh, 52px); letter-spacing: .24em; line-height: 2.1;
  text-shadow: 0 1px 26px rgba(0, 0, 0, .28);
}
.hero-copy span { display: block; }
.hero-copy span + span { margin-top: 2.5em; }
.hero-foot { position: absolute; z-index: 2; left: var(--pad); bottom: 54px; max-width: 32em; }
.eyebrow { display: flex; align-items: center; gap: 16px; font-size: 12.5px; font-weight: 500; letter-spacing: .26em; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero-lead { margin-top: 16px; font-size: 15.5px; line-height: 2.1; letter-spacing: .06em; }
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- 共通：セクション ---------- */
.sec { padding: 132px var(--pad); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.label { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; font-family: var(--mincho); font-size: 13px; letter-spacing: .32em; color: var(--clay); }
.label::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.h2 { font-family: var(--mincho); font-weight: 500; font-size: clamp(24px, 2.7vw, 38px); line-height: 1.8; letter-spacing: .12em; }
.body { margin-top: 30px; font-size: 15.5px; line-height: 2.25; color: #46433c; }
.sp { display: none; }

/* 移住相談の紹介 */
.about-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 96px; align-items: center; }
.about-grid > * { min-width: 0; }
.points { margin: 40px 0 44px; border-top: 1px solid var(--line); counter-reset: pt; }
.points li { display: grid; grid-template-columns: 56px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.points li::before { counter-increment: pt; content: "0" counter(pt); font-family: var(--mincho); font-size: 15px; letter-spacing: .1em; color: var(--clay); padding-top: 3px; }
.points h3 { font-family: var(--mincho); font-weight: 600; font-size: 18px; letter-spacing: .12em; line-height: 1.7; }
.points p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.about-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }

/* 実は、こんなこともやっています */
.others { background: var(--green-deep); color: #eef1ec; }
.others .label { color: #c9a583; }
.others-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 64px; }
.others-head p:not(.label) { font-size: 15px; line-height: 2.2; color: #c6d0c8; }
.works { border-top: 1px solid rgba(255, 255, 255, .22); }
.works li { display: grid; grid-template-columns: 76px 360px 1fr auto; align-items: center; gap: 12px; padding: 34px 4px; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.works .n { font-family: var(--mincho); font-size: 14px; letter-spacing: .12em; color: #c9a583; }
.works .t { font-family: var(--mincho); font-weight: 500; font-size: clamp(22px, 2.1vw, 28px); letter-spacing: .14em; line-height: 1.5; }
.works .d { font-size: 14.5px; color: #c6d0c8; }
.works .s { font-size: 12px; letter-spacing: .14em; padding: 4px 16px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 99px; color: #c6d0c8; white-space: nowrap; }

/* 会社概要・問い合わせ */
.company-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 88px; align-items: start; }
.company-grid > * { min-width: 0; }
.table { margin-top: 40px; border-top: 1px solid var(--line); }
.table > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.9; }
.table dt { font-weight: 700; letter-spacing: .1em; }
.contact { padding: 52px 52px 50px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; }
.contact .lead { margin-top: 20px; font-size: 15px; color: #46433c; }
.tel { display: inline-block; margin-top: 26px; font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 3.2vw, 42px); letter-spacing: .08em; line-height: 1.3; text-decoration: none; }
.contact .sub { margin-top: 16px; font-size: 14px; line-height: 2.2; color: var(--muted); }

/* ---------- 下層ページ ---------- */
.phero { position: relative; height: min(66vh, 620px); min-height: 400px; overflow: hidden; color: #fff; background: #3b4a3f; }
.phero .hero-img { object-position: 50% 62%; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 32, 44, .42) 0%, rgba(20, 30, 26, .12) 38%, rgba(16, 24, 20, .74) 100%); }
.phero-in { position: absolute; z-index: 2; left: 0; right: 0; bottom: 56px; padding: 0 var(--pad); }
.phero h1 { margin-top: 18px; font-family: var(--mincho); font-weight: 500; font-size: clamp(34px, 4.4vw, 62px); letter-spacing: .2em; line-height: 1.4; }
.phero .sub { margin-top: 14px; font-size: 15.5px; letter-spacing: .08em; }

.toc { border-bottom: 1px solid var(--line); background: var(--paper); padding: 0 var(--pad); }
.toc .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.toc-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); white-space: nowrap; }
.toc ol { display: flex; flex-wrap: wrap; gap: 4px 30px; counter-reset: toc; }
.toc a { display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 0; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.toc a::before { counter-increment: toc; content: "0" counter(toc); font-family: var(--mincho); font-size: 12px; color: var(--clay); }
.toc a:hover { color: var(--clay); }

.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; margin-bottom: 60px; }
.sec-head > p { font-size: 15px; line-height: 2.2; color: #46433c; }
.sec.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.topics li { padding: 26px 0 30px; border-top: 1px solid var(--ink); }
.topics h3 { font-family: var(--mincho); font-weight: 600; font-size: 19px; letter-spacing: .12em; margin-bottom: 6px; }
.topics p { font-size: 14.5px; color: var(--muted); line-height: 1.95; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: step; border-top: 1px solid var(--ink); }
.steps li { position: relative; padding: 30px 26px 8px 0; }
.steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--mincho); font-size: 30px; letter-spacing: .06em; line-height: 1; color: var(--clay); margin-bottom: 20px; }
.steps h3 { font-family: var(--mincho); font-weight: 600; font-size: 18px; letter-spacing: .1em; line-height: 1.6; margin-bottom: 8px; }
.steps p { font-size: 14px; color: var(--muted); line-height: 1.9; }
.note { margin-top: 26px; font-size: 13px; color: var(--muted); line-height: 1.9; }

.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.area { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--c); border-radius: 2px; padding: 34px 32px 28px; }
.area .name { font-family: var(--mincho); font-weight: 600; font-size: 24px; letter-spacing: .14em; color: var(--c); }
.area .catch { margin: 10px 0 20px; font-size: 15.5px; font-weight: 700; line-height: 1.8; }
.area dl > div { padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.85; }
.area dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }

.cta-band { background: var(--green-deep); color: #eef1ec; padding: 104px var(--pad); }
.cta-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: end; }
.cta-band .label { color: #c9a583; }
.cta-band p:not(.label) { margin-top: 18px; font-size: 15px; color: #c6d0c8; }
.cta-band .right { text-align: right; }
.cta-band .tel { margin-top: 0; }
.cta-band .sub { margin-top: 10px; font-size: 14px; }

/* ---------- 貸別荘の運営ページ ---------- */
.phero-split { background: var(--green-deep); color: #fff; padding: calc(var(--head-h) + 48px) var(--pad) 76px; }
.phero-split .wrap { display: grid; grid-template-columns: 1fr .82fr; gap: 80px; align-items: center; }
.phero-split .wrap > * { min-width: 0; }
.phero-split .eyebrow { color: #c9a583; }
.phero-split h1 { margin-top: 20px; font-family: var(--mincho); font-weight: 500; font-size: clamp(32px, 4vw, 56px); letter-spacing: .16em; line-height: 1.5; }
.phero-split .catch { margin-top: 22px; font-family: var(--mincho); font-size: clamp(17px, 1.6vw, 22px); letter-spacing: .14em; line-height: 2; color: #e6ece7; }
.stats { display: flex; margin-top: 44px; border-top: 1px solid rgba(255, 255, 255, .22); }
.stats > div { flex: 1; padding: 22px 20px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .22); }
.stats > div:last-child { flex: 1.7; }
.stats dt { font-size: 12px; letter-spacing: .12em; color: #c6d0c8; line-height: 1.6; }
.stats dd { margin-top: 6px; font-family: var(--mincho); font-size: clamp(21px, 2.1vw, 29px); letter-spacing: .08em; line-height: 1.45; }
.stats dd small { display: block; margin-top: 4px; font-family: var(--gothic); font-size: 12px; letter-spacing: .04em; color: #c6d0c8; }
.phero-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
.phero-photo img { width: 100%; height: 100%; object-fit: cover; }

.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; padding: 34px 32px 28px; }
.svc .n { font-family: var(--mincho); font-size: 14px; letter-spacing: .12em; color: var(--clay); }
.svc h3 { margin: 6px 0 10px; font-family: var(--mincho); font-weight: 600; font-size: 23px; letter-spacing: .14em; }
.svc > p { font-size: 14.5px; line-height: 1.9; color: #46433c; }
.svc ul { margin: 18px 0 22px; border-top: 1px solid var(--line); }
.svc li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.svc .fee { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--green); }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 64px; }
.shots .ph { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; }
.shots img { width: 100%; height: 100%; object-fit: cover; }
.shots figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.6; }

.plans-wrap { overflow-x: auto; }
.plans { width: 100%; min-width: 660px; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 15px; }
.plans th, .plans td { padding: 22px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; line-height: 1.7; }
.plans thead th { padding: 14px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.plans tbody th { text-align: left; font-family: var(--mincho); font-weight: 600; font-size: 19px; letter-spacing: .12em; white-space: nowrap; }
.plans td.who { text-align: left; font-size: 14.5px; color: #46433c; }
.plans .o { font-size: 19px; color: var(--green); }
.plans .p { font-size: 13px; color: var(--muted); }

.worries { border-top: 1px solid var(--ink); }
.worries > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.worries dt { font-family: var(--mincho); font-weight: 600; font-size: 18px; letter-spacing: .1em; line-height: 1.85; }
.worries dd { font-size: 15px; line-height: 2.1; color: #46433c; }

.feebox { margin-top: 56px; padding: 32px 36px; background: var(--bg); border: 1px solid var(--line); border-radius: 2px; }
.feebox h3 { font-family: var(--mincho); font-weight: 600; font-size: 19px; letter-spacing: .12em; margin-bottom: 8px; }
.feebox p { font-size: 15px; color: #46433c; }

/* 「こんなこともやってます」のページ */
.phero-plain .wrap { grid-template-columns: 1fr; }
.phero-plain .lead2 { max-width: 36em; margin-top: 26px; font-size: 15.5px; line-height: 2.2; letter-spacing: .06em; color: #c6d0c8; }
.jobs { border-top: 1px solid var(--ink); }
.job { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; padding: 68px 0; border-bottom: 1px solid var(--line); }
.job > * { min-width: 0; }
.job .n { font-family: var(--mincho); font-size: 14px; letter-spacing: .12em; color: var(--clay); }
.job h2 { margin-top: 6px; font-family: var(--mincho); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: .14em; line-height: 1.6; }
.job .txt { font-size: 15.5px; line-height: 2.2; color: #46433c; }
.job .catch { margin-bottom: 16px; font-family: var(--mincho); font-weight: 500; font-size: clamp(19px, 1.8vw, 24px); letter-spacing: .12em; line-height: 1.9; color: var(--green); }
.dots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; margin-top: 24px; }
.dots li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.9; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .82em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 470px; margin-top: 30px; }
.pair .ph { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 2px; }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.job .note { margin-top: 22px; }
.price { width: 100%; max-width: 470px; margin-top: 28px; border-collapse: collapse; }
.price caption { caption-side: top; padding-bottom: 8px; text-align: left; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.price caption .todo { margin-left: 8px; }
.price tbody tr:first-child > * { border-top: 1px solid var(--ink); }
.price th, .price td { padding: 13px 4px; border-bottom: 1px solid var(--line); }
.price th { text-align: left; font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.price td { text-align: right; font-family: var(--mincho); font-size: 19px; letter-spacing: .04em; }
.price td small { display: block; font-family: var(--gothic); font-size: 12px; letter-spacing: .02em; color: var(--muted); }

.works a.s { color: #fff; text-decoration: none; transition: background .25s, color .25s; }
.works a.s:hover { background: #fff; color: var(--green-deep); }

/* ---------- 問い合わせのボタン（各ページ共通） ---------- */
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.cta-band .contact-btns { justify-content: flex-end; }
.contact .contact-btns .btn { padding: 0 20px; }
.btn-lineapp { background: #06c755; color: #fff; border-color: #06c755; }
.btn-lineapp:hover { background: #05a647; border-color: #05a647; }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }

/* ---------- お問い合わせページ ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { display: flex; flex-direction: column; padding: 30px 30px 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; }
.way .n { font-family: var(--mincho); font-size: 14px; letter-spacing: .12em; color: var(--clay); }
.way h2 { margin: 4px 0 10px; font-family: var(--mincho); font-weight: 600; font-size: 22px; letter-spacing: .12em; }
.way p { font-size: 14.5px; line-height: 1.9; color: #46433c; }
.way .btn { margin-top: auto; align-self: flex-start; }
.way p + .btn { margin-top: 20px; }
.way .tel-s { margin-top: 10px; font-family: var(--mincho); font-size: 24px; letter-spacing: .06em; }

.form-box { max-width: 760px; margin: 0 auto; }
.form-box .h2 { margin-bottom: 10px; }
.form-box > p { font-size: 14.5px; color: #46433c; }
.cform { margin-top: 36px; border-top: 1px solid var(--ink); }
.cform .row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cform .row > * { min-width: 0; }
.cform .lab { padding-top: 10px; font-weight: 700; font-size: 15px; letter-spacing: .06em; line-height: 1.6; }
.cform fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.cform legend { padding: 0; }
.req, .opt { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: .04em; vertical-align: 2px; }
.req { background: var(--clay); color: #fff; }
.opt { background: #e6e2d8; color: var(--muted); }
.cform input[type="text"], .cform input[type="tel"], .cform input[type="email"], .cform textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #cfcabd; border-radius: 3px; background: #fff;
  font: inherit; font-size: 16px; letter-spacing: .02em; color: var(--ink);
}
.cform textarea { min-height: 180px; line-height: 1.8; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(44, 70, 56, .15); }
.cform .hint { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 9px 16px; border: 1px solid #cfcabd; border-radius: 99px; background: #fff; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chips input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }
.two-in { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.two-in label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; font-size: 14.5px; line-height: 1.8; }
.agree input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--green); flex: none; }
.cform .err { display: none; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: #b23a1d; }
.cform .is-err .err { display: block; }
.cform .is-err input, .cform .is-err textarea { border-color: #b23a1d; }
.send { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 34px; }
.send .btn { min-width: 260px; }
.send p { font-size: 13px; color: var(--muted); text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: none; margin-top: 36px; padding: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; text-align: center; }
.form-done h3 { font-family: var(--mincho); font-weight: 600; font-size: 22px; letter-spacing: .12em; margin-bottom: 10px; }
.form-done p { font-size: 15px; color: #46433c; }
.is-sent .cform { display: none; }
.is-sent .form-done { display: block; }

/* 個人情報の取り扱い */
.policy { max-width: 780px; margin: 0 auto; }
.policy h2 { margin: 44px 0 12px; font-family: var(--mincho); font-weight: 600; font-size: 20px; letter-spacing: .1em; }
.policy h2:first-child { margin-top: 0; }
.policy p, .policy li { font-size: 15px; line-height: 2.1; color: #46433c; }
.policy ul { margin-top: 6px; }
.policy li { position: relative; padding-left: 18px; }
.policy li::before { content: ""; position: absolute; left: 2px; top: .95em; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.policy .date { margin-top: 48px; text-align: right; font-size: 14px; }

.foot .policy-link { margin-left: 18px; color: #93a69a; }
.foot .sns { margin-top: 12px; }
.foot .sns a { margin-right: 6px; }
/* 暮らしマップの紹介（小さく。リンクはしない） */
.mini-map { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; max-width: 780px; margin-top: 60px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 2px; }
.mini-map > * { min-width: 0; }
.mm-img { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 2px; }
.mm-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.mm-tag { display: inline-block; padding: 1px 10px; border: 1px solid var(--line); border-radius: 99px; font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.mini-map h3 { margin: 8px 0 6px; font-family: var(--mincho); font-weight: 600; font-size: 19px; letter-spacing: .12em; }
.mini-map p { font-size: 14px; line-height: 1.95; color: #46433c; }
.mini-map .mm-note { margin-top: 6px; font-size: 12px; color: var(--muted); }

/* Instagramの案内（ページの下、問い合わせの手前） */
.ig-band { padding: 76px var(--pad); background: var(--paper); border-top: 1px solid var(--line); }
.ig-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.ig-band .wrap > * { min-width: 0; }
.ig-band .desc { margin-top: 16px; font-size: 15px; line-height: 2.1; color: #46433c; }
.btn-ig { background: var(--ink); color: #fff; min-height: 58px; padding: 0 30px; gap: 12px; }
.btn-ig:hover { background: var(--green); }
.btn-ig svg { width: 22px; height: 22px; flex: none; }
.btn-ig .acct { font-weight: 500; letter-spacing: .04em; opacity: .85; }
.ig-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14.5px; font-weight: 700; letter-spacing: .06em; color: var(--green); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.ig-link:hover { color: var(--clay); }

/* ---------- フッター ---------- */
.foot { background: var(--green-deep); color: #dfe6e0; padding: 64px var(--pad) 28px; }
.others + .foot, .cta-band + .foot { border-top: 1px solid rgba(255, 255, 255, .14); }
.foot-in { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-logo { height: 40px; width: auto; margin-bottom: 18px; }
.foot p { font-size: 13.5px; line-height: 2; }
.foot nav { display: flex; gap: 34px; align-items: flex-start; font-size: 14px; letter-spacing: .1em; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.copy { max-width: var(--maxw); margin: 44px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px !important; letter-spacing: .1em; color: #93a69a; }

/* ---------- スマホ・タブレット ---------- */
@media (max-width: 900px) {
  :root { --pad: 22px; --head-h: 100px; }
  .sp { display: inline; }
  body { font-size: 15.5px; }

  .head { flex-wrap: wrap; align-content: center; gap: 0 12px; padding-top: 4px; }
  .logo img { height: 28px; }
  .head-cta { margin-left: auto; height: 36px; padding: 0 18px; font-size: 13px; }
  .gnav { order: 3; width: 100%; margin: 0; gap: 22px; font-size: 13px; letter-spacing: .06em; padding-top: 6px; }
  .gnav .pc { display: none; }   /* 幅が足りないので、会社概要は下のメニューだけに出す */
  .job { grid-template-columns: 1fr; gap: 18px; padding: 46px 0; }
  .dots { grid-template-columns: 1fr; }

  .hero { min-height: 520px; }
  .hero-img { object-position: 42% 70%; }
  .hero-copy { top: 132px; right: 26px; font-size: min(27px, 3.6vh); line-height: 2; }
  .hero-foot { left: var(--pad); right: var(--pad); bottom: 34px; max-width: none; }
  .hero-lead { display: none; }
  .hero .btns { margin-top: 20px; gap: 10px; }
  .hero .btn { flex: 1 1 0; min-height: 50px; padding: 0 12px; font-size: 14px; }

  .sec { padding: 84px var(--pad); }
  .about-grid, .company-grid, .others-head, .sec-head { grid-template-columns: 1fr; gap: 28px; }
  .about-grid { gap: 52px; }
  .about-photo { order: -1; aspect-ratio: 4 / 3; margin: 0 calc(var(--pad) * -1); border-radius: 0; }
  .others-head, .sec-head { margin-bottom: 40px; }
  .works li { grid-template-columns: 44px 1fr auto; gap: 4px 10px; padding: 26px 0; }
  .works .d { grid-column: 2 / -1; grid-row: 2; }
  .company-grid { gap: 52px; }
  .contact { padding: 36px 26px; }

  .phero { height: 58vh; min-height: 360px; }
  .phero-in { bottom: 34px; }
  .toc .wrap { flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 0 14px; }
  .toc ol { gap: 0 22px; }
  .topics, .areas { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .steps li, .steps li + li { display: grid; grid-template-columns: 56px 1fr; gap: 0 8px; padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps li:first-child { border-top-color: var(--ink); }
  .steps li::before { grid-row: 1 / 3; font-size: 24px; margin: 4px 0 0; }
  .phero-split { padding: calc(var(--head-h) + 28px) var(--pad) 52px; }
  .phero-split .wrap { grid-template-columns: 1fr; gap: 36px; }
  .phero-photo { aspect-ratio: 4 / 3; }
  .stats { flex-direction: column; margin-top: 32px; }
  .stats > div, .stats > div + div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
  .stats dd { margin: 0; text-align: right; font-size: 20px; }
  .svcs { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  .worries > div { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .feebox { margin-top: 40px; padding: 26px 22px; }
  .mini-map { grid-template-columns: 1fr; gap: 18px; margin-top: 40px; padding: 18px; }
  .ig-band { padding: 56px var(--pad); }
  .ig-band .wrap { grid-template-columns: 1fr; gap: 24px; }
  .btn-ig { width: 100%; padding: 0 16px; }
  .cta-band .contact-btns { justify-content: flex-start; }
  .contact-btns .btn { flex: 1 1 auto; }
  .ways { grid-template-columns: 1fr; }
  .cform .row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .cform .lab { padding-top: 0; }
  .two-in { grid-template-columns: 1fr; }
  .send .btn { width: 100%; min-width: 0; }
  .cta-band { padding: 76px var(--pad); }
  .cta-band .wrap { grid-template-columns: 1fr; gap: 30px; }
  .cta-band .right { text-align: left; }
  .foot nav { flex-wrap: wrap; gap: 10px 26px; }
}
