/* ============================================================
   合同会社shikumi — 2026-10 デザイン
   やわらかな生成り色・木漏れ日の写真・線画の葉・波の区切り。
   動き：毛筆の見出しが書かれる／葉が描かれて揺れる／波がゆれる／
         丸いコピーが浮かぶ／写真がやわらかく現れる／流れの矢印が伸びる
   ============================================================ */
:root {
  --bg: #faf8f3;
  --cream: #f4eee2;
  --paper: #fff;
  --line: #e7e0d2;
  --text: #3a3933;
  --muted: #77736a;
  --green: #4d5a3b;
  --green-deep: #2f3b27;
  --accent: #b97f45;
  --leaf: #a3ab8c;
  --serif: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --latin: "Cormorant Garamond", "Shippori Mincho", serif;
  --brush: var(--serif); /* メインの見出しも「shikumiの○○」の見出しと同じ明朝に */
  --hand: "Klee One", "Shippori Mincho", serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --header: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --shadow: 0 6px 24px rgba(80, 64, 36, .07);
  --shadow-up: 0 16px 40px rgba(80, 64, 36, .13);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--serif); font-size: 15.5px; line-height: 2; letter-spacing: .08em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.center { text-align: center; }
.muted { color: var(--muted); }
main { display: block; overflow: hidden; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.container--mid { max-width: calc(1040px + var(--gutter) * 2); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.section { padding-top: clamp(72px, 9vw, 120px); }

.icon { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 1em;
  min-height: 50px; padding: 0 2em; border-radius: 999px; border: 1px solid transparent;
  font-size: 14px; letter-spacing: .14em; line-height: 1; white-space: nowrap; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
.btn .icon { font-size: 17px; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-io); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(47, 59, 39, .2); }
.btn-green::before { background: var(--green-deep); }
.btn-line { border-color: rgba(58, 57, 51, .5); background: rgba(255, 255, 255, .5); }
.btn-line::before { background: var(--green); }
.btn-line:hover { color: #fff; border-color: var(--green); }
.btn-white { background: #fff; color: var(--text); box-shadow: 0 6px 22px rgba(0, 0, 0, .15); }
.btn-white::before { background: var(--cream); }
.btn-sm { min-height: 40px; padding: 0 1.6em; font-size: 13px; }

/* ---------- ヘッダー（下へスクロールで隠れ、上へで出る） ---------- */
.site-header {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  background: rgba(250, 248, 243, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .5s var(--ease), background .4s, box-shadow .4s;
}
.is-scrolled .site-header { box-shadow: 0 1px 0 rgba(0, 0, 0, .05); background: rgba(250, 248, 243, .94); }
.is-hidden-header .site-header { transform: translateY(-100%); }
.header-inner { height: var(--header); display: flex; align-items: center; gap: 32px; padding: 0 clamp(16px, 3vw, 40px); transition: height .4s var(--ease); }
.is-scrolled .header-inner { height: 70px; }
.scroll-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; }
.scroll-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--leaf)); transform: scaleX(var(--p, 0)); transform-origin: left; }

.logo { position: relative; display: inline-flex; flex-direction: column; align-items: center; padding: 4px 6px 0 26px; line-height: 1; flex: none; }
.logo__mark { position: absolute; left: -22px; top: -6px; width: 170px; height: 46px; pointer-events: none; }
.logo__mark svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; }
.logo__mark path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 2.2s .2s var(--ease-io) forwards; }
.logo__name { font-family: var(--latin); font-size: 31px; font-weight: 500; letter-spacing: .1em; color: var(--text); position: relative; }
.logo__sub { margin-top: 6px; font-size: 10px; letter-spacing: .2em; color: var(--muted); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.gnav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.gnav > ul { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.gnav > ul > li { position: relative; }
.gnav > ul > li > a, .nav-label { display: block; padding: 10px 0; font-size: 13.5px; letter-spacing: .14em; cursor: pointer; position: relative; }
.gnav > ul > li > a::after, .nav-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transition: transform .4s var(--ease); }
.gnav > ul > li:hover > a::after, .gnav > ul > li:hover > .nav-label::after, .is-current > a::after, .is-current > .nav-label::after { transform: scaleX(1); }
.sub {
  position: absolute; top: 100%; left: 50%; min-width: 240px; padding: 14px 0;
  background: rgba(255, 255, 255, .97); border-radius: 10px; box-shadow: var(--shadow-up);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: block; padding: 7px 24px; font-size: 13.5px; letter-spacing: .08em; transition: color .2s, padding .3s var(--ease); }
.sub a:hover { color: var(--accent); padding-left: 30px; }
.menu-toggle { display: none; }

/* ---------- 見出し ---------- */
.eyebrow { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.eyebrow__en { font-family: var(--latin); font-size: 15px; letter-spacing: .26em; color: var(--accent); }
.eyebrow__ja { font-size: 12.5px; letter-spacing: .16em; }
.sec-title { font-size: clamp(25px, 3vw, 38px); font-weight: 500; letter-spacing: .14em; line-height: 1.7; }
.sec-title--sm { font-size: clamp(22px, 2.4vw, 30px); }
.sec-head { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 16px 56px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head__text { font-size: 13.5px; line-height: 2.1; color: var(--muted); padding-bottom: 8px; }
.sec-head > .btn { margin-bottom: 10px; }
.sec-head--simple { display: block; }
.sec-head--row { grid-template-columns: 1fr auto; }
.sec-lead { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* ---------- 丸いコピー（浮かぶ・輪がゆっくり回る） ---------- */
.badge {
  position: absolute; z-index: 4; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: rgba(255, 253, 248, .9); box-shadow: 0 10px 40px rgba(80, 64, 36, .12);
  animation: float 7s ease-in-out infinite;
}
.badge p { font-family: var(--hand); font-size: clamp(13px, 1.25vw, 16.5px); line-height: 1.95; letter-spacing: .1em; transform: rotate(-9deg); }
.badge__ring { position: absolute; inset: -9px; width: calc(100% + 18px); height: calc(100% + 18px); fill: none; stroke: var(--accent); stroke-width: .7; stroke-dasharray: 2 5; opacity: .7; animation: spin 40s linear infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- 線画の葉（描かれて、ゆれる） ---------- */
.leaf { position: absolute; z-index: 2; pointer-events: none; fill: none; stroke: var(--leaf); stroke-width: 1.1; stroke-linejoin: round; opacity: .85; }
.leaf g { transform-origin: 50% 100%; animation: sway 8s ease-in-out infinite; }
.leaf path { stroke-dasharray: 420; stroke-dashoffset: 420; }
.leaf.is-in path, .no-io .leaf path { animation: draw 3.2s var(--ease-io) forwards; }
.leaf path:nth-child(2) { animation-delay: .3s !important; } .leaf path:nth-child(3) { animation-delay: .55s !important; }
.leaf path:nth-child(4) { animation-delay: .8s !important; } .leaf path:nth-child(5) { animation-delay: 1.05s !important; } .leaf path:nth-child(6) { animation-delay: 1.3s !important; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(3deg); } }

/* ---------- 波の区切り（形がゆっくり変わる） ---------- */
.wave { position: absolute; left: 0; width: 100%; height: clamp(36px, 6.5vw, 100px); z-index: 3; pointer-events: none; }
.wave--bottom { bottom: -1px; }
.wave--top { top: -1px; transform: scaleY(-1); }
.wave--top-in { top: -1px; transform: scale(-1, -1); }

/* ---------- スクロールで現れる ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="blob"] { opacity: 1; transform: none; clip-path: circle(0% at 30% 60%); transition: clip-path 1.8s var(--ease-io); }
.js [data-reveal="blob"].is-in { clip-path: circle(150% at 30% 60%); }
.js [data-reveal="blob"] img { transform: scale(1.18); transition: transform 2.6s var(--ease); }
.js [data-reveal="blob"].is-in img { transform: scale(1); }
.js [data-reveal="write"] { opacity: 1; transform: rotate(-7deg); clip-path: inset(0 100% 0 0); transition: clip-path 2.4s var(--ease-io) .4s; }
.js [data-reveal="write"].is-in { clip-path: inset(-10% -10% -10% 0); }
.js .in { opacity: 0; animation: up 1.3s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* 毛筆の見出し：1文字ずつ、筆で書くように */
[data-brush] .ch { display: inline-block; }
.js [data-brush] .ch { clip-path: inset(-20% 100% -20% 0); filter: blur(6px); opacity: 0; animation: brush .9s var(--ease) forwards; animation-delay: calc(var(--i) * 140ms + .3s); }
@keyframes brush { 30% { opacity: 1; } to { clip-path: inset(-20% -20% -20% 0); filter: blur(0); opacity: 1; } }

/* ============================================================
   トップ
   ============================================================ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1000px; display: flex; align-items: center; overflow: hidden; background: var(--cream); }
.hero__img { position: absolute; inset: -6% 0 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; animation: kenburns 24s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.16); } to { transform: scale(1.02); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(250, 248, 243, .92) 0%, rgba(250, 248, 243, .7) 32%, rgba(250, 248, 243, 0) 60%); }
.hero__light { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__light i { position: absolute; bottom: -20px; width: var(--s, 8px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 244, 214, .95), rgba(255, 236, 190, 0) 70%); animation: rise var(--t, 14s) linear infinite; animation-delay: var(--dl, 0s); opacity: 0; }
.hero__light i:nth-child(1) { left: 54%; --s: 14px; --t: 16s; }
.hero__light i:nth-child(2) { left: 62%; --s: 8px; --t: 12s; --dl: 3s; }
.hero__light i:nth-child(3) { left: 71%; --s: 18px; --t: 19s; --dl: 6s; }
.hero__light i:nth-child(4) { left: 80%; --s: 10px; --t: 14s; --dl: 1s; }
.hero__light i:nth-child(5) { left: 88%; --s: 22px; --t: 21s; --dl: 8s; }
.hero__light i:nth-child(6) { left: 66%; --s: 6px; --t: 11s; --dl: 5s; }
.hero__light i:nth-child(7) { left: 76%; --s: 12px; --t: 17s; --dl: 10s; }
.hero__light i:nth-child(8) { left: 93%; --s: 9px; --t: 13s; --dl: 4s; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 85% { opacity: .7; } 100% { transform: translate(-60px, -90vh); opacity: 0; } }
.hero__text { position: relative; z-index: 3; padding-top: 40px; }
.hero__catch { font-family: var(--brush); font-weight: 500; font-size: clamp(58px, 8.6vw, 128px); letter-spacing: .04em; line-height: 1.25; color: #2f2e29; }
.hero__en { margin: 6px 0 26px; font-family: var(--latin); font-size: clamp(17px, 1.7vw, 22px); letter-spacing: .16em; color: var(--accent); font-style: italic; }
.hero__copy { font-size: clamp(20px, 2.1vw, 27px); letter-spacing: .26em; line-height: 1.85; margin-bottom: 22px; }
.hero__lead { font-size: 14px; line-height: 2.2; }
.hero__badge { right: clamp(20px, 8vw, 140px); top: 18%; }
.hero .leaf--hero-home { right: 2%; top: 46%; width: 110px; stroke: rgba(255, 255, 255, .8); }
.hero__scroll { position: absolute; z-index: 4; left: clamp(14px, 2vw, 28px); bottom: 120px; writing-mode: vertical-rl; font-family: var(--latin); font-size: 11px; letter-spacing: .3em; display: flex; align-items: center; gap: 12px; }
.hero__scroll::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--text), var(--text)) top / 1px 35% no-repeat, rgba(58, 57, 51, .2); animation: scrollline 2.4s var(--ease-io) infinite; }
@keyframes scrollline { from { background-position: 0 -30px, 0 0; } to { background-position: 0 80px, 0 0; } }

.home-about { position: relative; display: grid; grid-template-columns: 44% 1fr 150px; gap: clamp(32px, 4vw, 64px); align-items: center; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(60px, 7vw, 100px) 0; }
.home-about__img { aspect-ratio: 5 / 4; overflow: hidden; border-radius: 0 50% 46% 0 / 0 58% 42% 0; animation: blob 14s ease-in-out infinite; }
.home-about__img img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blob { 0%, 100% { border-radius: 0 50% 46% 0 / 0 58% 42% 0; } 50% { border-radius: 0 42% 54% 0 / 0 46% 56% 0; } }
.home-about .sec-title { font-size: clamp(21px, 2.2vw, 30px); }
.home-about__text > p { margin: 24px 0 32px; line-height: 2.3; font-size: 14.5px; }
.home-about__words { position: relative; align-self: stretch; display: flex; align-items: flex-end; }
.home-about__words ul { font-family: var(--latin); font-size: 11.5px; letter-spacing: .32em; color: var(--muted); line-height: 2.4; }
.home-about__words .leaf { position: absolute; top: 0; right: 10px; width: 110px; }

.home-svc { position: relative; background: var(--cream); padding: clamp(100px, 11vw, 150px) 0 clamp(70px, 8vw, 110px); }
.home-svc .leaf--svc { left: -10px; top: 30%; width: 90px; }

.home-works { padding-top: clamp(80px, 9vw, 120px); padding-bottom: clamp(80px, 9vw, 120px); }
.carousel { position: relative; padding: 0 var(--gutter); max-width: calc(var(--container) + var(--gutter) * 2 + 120px); margin: 0 auto; }
.carousel__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 24px; cursor: grab; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.carousel__track > li { flex: 0 0 clamp(220px, 22vw, 270px); scroll-snap-align: start; }
.carousel__track > li[data-reveal] { opacity: 1; transform: none; }
.carousel__btn { position: absolute; z-index: 2; top: 34%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--ease), background .3s; }
.carousel__btn:hover { transform: scale(1.08); background: var(--cream); }
.carousel__btn--prev { left: max(4px, calc(var(--gutter) - 24px)); }
.carousel__btn--prev .icon { transform: scaleX(-1); }
.carousel__btn--next { right: max(4px, calc(var(--gutter) - 24px)); }

.home-proj { position: relative; background: var(--cream); padding: clamp(100px, 11vw, 150px) 0 clamp(80px, 9vw, 120px); }
.home-proj .leaf--proj { right: 3%; top: 60px; width: 100px; }
.projs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.proj { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .5s, transform .5s var(--ease); }
.proj:hover { box-shadow: var(--shadow-up); transform: translateY(-6px); }
.proj__img { aspect-ratio: 16 / 9; overflow: hidden; }
.proj__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.proj:hover .proj__img img { transform: scale(1.06); }
.proj__body { display: flex; gap: 18px; padding: 24px 24px 8px; }
.proj__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 26px; }
.proj h3 { font-size: 19px; font-weight: 500; letter-spacing: .1em; margin-bottom: 6px; }
.proj p { font-size: 12.5px; line-height: 2; color: var(--muted); }
.proj__btn { align-self: center; margin: 14px 0 26px; }

.home-msg { position: relative; min-height: 560px; display: flex; align-items: center; padding: 100px 0; overflow: hidden; }
.home-msg__img { position: absolute; top: -8%; bottom: -8%; right: 0; width: 64%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
.home-msg__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.home-msg__text { position: relative; z-index: 2; }
.home-msg__text > * { max-width: 640px; }
.home-msg .sec-title { font-size: clamp(22px, 2.5vw, 34px); }
.home-msg__text > p { margin: 22px 0 32px; font-size: 14px; line-height: 2.3; }
.home-msg__words { position: absolute; z-index: 2; right: clamp(16px, 3vw, 44px); bottom: 90px; display: flex; flex-direction: column; font-family: var(--latin); font-size: clamp(13px, 1.2vw, 16px); letter-spacing: .3em; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); line-height: 1.9; }

.home-news { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 48px; padding-top: 70px; padding-bottom: 10px; }
.home-news .eyebrow { margin: 0; }
.home-news .news-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.home-news .news-list li { display: block; padding: 4px 26px; border-left: 1px solid var(--line); font-size: 13px; line-height: 1.9; }
.home-news .news-list a { display: block; transition: color .3s; }
.home-news .news-list a:hover { color: var(--accent); }
.home-news .news-list time { display: block; font-family: var(--latin); font-size: 14px; color: var(--muted); }

/* ============================================================
   下層ページ
   ============================================================ */
.phero { position: relative; min-height: clamp(560px, 50vw, 700px); padding: calc(var(--header) + clamp(30px, 4vw, 60px)) 0 clamp(110px, 10vw, 150px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.phero__img { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .6) 18%, #000 42%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .6) 18%, #000 42%); }
.phero__img img { width: 100%; height: 112%; object-fit: cover; animation: kenburns 20s ease-out forwards; }
.phero__text { position: relative; z-index: 3; }
.phero__label { font-family: var(--latin); font-size: 14px; letter-spacing: .28em; color: var(--muted); }
.phero__title { font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: .14em; line-height: 1.5; margin: 6px 0 4px; }
.phero__en { font-family: var(--latin); font-size: 13px; letter-spacing: .24em; color: var(--accent); margin-bottom: clamp(18px, 2.4vw, 30px); }
.phero__catch { font-family: var(--brush); font-weight: 500; font-size: clamp(36px, 4.4vw, 64px); white-space: nowrap; line-height: 1.4; letter-spacing: .04em; color: #2f2e29; margin-bottom: clamp(18px, 2vw, 28px); }
.phero__lead { font-size: 14px; line-height: 2.3; max-width: 34em; text-shadow: 0 0 16px var(--bg), 0 0 6px var(--bg); }
.phero__badge { right: clamp(16px, 4vw, 70px); top: calc(var(--header) + 70px); }
.phero .leaf--hero { left: -14px; top: calc(var(--header) + 10px); width: 120px; }
.phero__crumbs { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(8px, 1.5vw, 20px); }
.crumbs { font-size: 11.5px; letter-spacing: .1em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: var(--accent); }

.about { position: relative; display: grid; grid-template-columns: 48% 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; padding: clamp(10px, 2vw, 30px) var(--gutter) clamp(70px, 8vw, 110px) 0; }
.about__img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0 54% 44% 0 / 0 62% 38% 0; animation: blob 14s ease-in-out infinite; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text { max-width: 600px; }
.about__title { font-size: clamp(21px, 2.3vw, 28px); font-weight: 500; letter-spacing: .14em; line-height: 1.8; margin-bottom: 22px; }
.about__text p { font-size: 14px; line-height: 2.35; }
.about .leaf--about { right: 2%; top: -40px; width: 120px; }

.problems { position: relative; background: var(--cream); padding: clamp(90px, 10vw, 140px) 0 clamp(110px, 12vw, 160px); overflow: hidden; }
.problems__img { position: absolute; top: 0; bottom: 0; right: 0; width: 42%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.problems__img img { width: 100%; height: 110%; object-fit: cover; }
.problems__inner { position: relative; z-index: 2; }
.problems .sec-title { margin-bottom: 30px; }
.checks { display: grid; grid-template-columns: repeat(2, max-content); grid-template-rows: repeat(var(--rows, 3), auto); grid-auto-flow: column; gap: 14px 48px; max-width: 64%; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.8; }
.checks .icon { font-size: 22px; color: var(--green); margin-top: 1px; stroke-width: 1.6; }
.problems__note { position: absolute; z-index: 3; right: clamp(16px, 4vw, 70px); bottom: clamp(70px, 7vw, 110px); font-family: var(--hand); font-size: clamp(14px, 1.3vw, 17px); line-height: 1.9; letter-spacing: .12em; padding: 22px 30px; background: rgba(255, 253, 248, .86); border-radius: 50% 46% 52% 48% / 52% 48% 52% 48%; text-align: center; }

.cards { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.cards--6 { grid-template-columns: repeat(6, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .5s, transform .5s var(--ease); }
a.card:hover, .cards .card:hover { box-shadow: var(--shadow-up); transform: translateY(-6px); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.08); }
.card__img--none { aspect-ratio: auto; height: 46px; background: linear-gradient(120deg, var(--cream), #efe6d4); }
.card__icon { width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid #e6c9a6; color: var(--accent); display: grid; place-items: center; font-size: 22px; flex: none; }
.card > .card__icon { position: absolute; left: 14px; top: calc(var(--icon-top, 0px)); transform: translateY(-50%); transition: transform .5s var(--ease); }
.card__img + .card__icon { top: auto; margin-top: -23px; position: relative; left: 14px; transform: none; }
.card:hover .card__img + .card__icon { transform: rotate(-12deg) scale(1.06); }
.card__body { padding: 14px 18px 22px; }
.card__img--none + .card__icon + .card__body { padding-top: 10px; }
.card h3 { font-size: 15px; font-weight: 600; letter-spacing: .08em; line-height: 1.6; margin-bottom: 8px; }
.card p { font-size: 12px; line-height: 1.95; color: var(--muted); letter-spacing: .04em; }
.card__no { font-family: var(--latin); font-size: 12px; letter-spacing: .2em; color: var(--accent) !important; margin-bottom: 2px; }
.card--home .card__body { padding-top: 16px; }

/* 流れ */
.flow { display: grid; gap: clamp(22px, 2.6vw, 38px); counter-reset: step; }
.flow--4 { grid-template-columns: repeat(4, 1fr); }
.flow--5 { grid-template-columns: repeat(5, 1fr); }
.flow--6 { grid-template-columns: repeat(6, 1fr); }
.step { position: relative; }
.step__img { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__no { position: relative; display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0 10px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--latin); font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.flow--text .step__no { width: 48px; height: 48px; margin: 0 0 4px; font-size: 16px; }
.step h3 { font-size: 14.5px; font-weight: 600; letter-spacing: .1em; margin: 12px 0 4px; }
.step p { font-size: 12px; line-height: 1.95; color: var(--muted); }
.step:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--arrow-top, 37%) - 6px); right: calc(clamp(22px, 2.6vw, 38px) * -.5 - 7px); width: 14px; height: 12px; background: var(--leaf); clip-path: polygon(0 35%, 55% 35%, 55% 0, 100% 50%, 55% 100%, 55% 65%, 0 65%); }
.flow--text .step:not(:last-child)::after { --arrow-top: 24px; }
.js [data-flow] .step { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * .16s); }
.js [data-flow] .step::after { transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); transition-delay: calc(var(--i) * .16s + .45s); }
.js [data-flow].is-in .step { opacity: 1; transform: none; }
.js [data-flow].is-in .step::after { transform: none; }

/* 実績 */
.works { display: grid; gap: clamp(16px, 2vw, 26px); }
.works--4 { grid-template-columns: repeat(4, 1fr); }
.works--5 { grid-template-columns: repeat(5, 1fr); }
.works--6 { grid-template-columns: repeat(6, 1fr); }
.works--3 { grid-template-columns: repeat(3, 1fr); }
.work__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; box-shadow: var(--shadow); background: var(--cream); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover .work__img img { transform: scale(1.07); }
.work__body { padding: 12px 4px 0; }
.work__tag { display: inline-block; font-size: 10.5px; letter-spacing: .12em; color: var(--accent); }
.work h3 { font-size: 14px; font-weight: 600; letter-spacing: .08em; line-height: 1.6; }
.work__sub { font-size: 11.5px; color: var(--muted); line-height: 1.8; }
.works__note { margin-top: 18px; font-size: 11.5px; color: var(--muted); }
.works__empty { padding: 60px 0; text-align: center; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 18px; font-size: 13px; letter-spacing: .08em; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.filters button:hover { border-color: var(--green); }
.filters button.is-on { background: var(--green); border-color: var(--green); color: #fff; }
.work.is-hide { display: none; }

/* 事例 */
.cases { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.cases--3 { grid-template-columns: repeat(3, 1fr); }
.cases--4 { grid-template-columns: repeat(4, 1fr); }
.case { background: var(--paper); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .5s, transform .5s var(--ease); }
.case:hover { box-shadow: var(--shadow-up); transform: translateY(-5px); }
.case__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.case:hover .case__img img { transform: scale(1.06); }
.case__tag { position: absolute; left: 14px; bottom: 12px; padding: 4px 14px; border-radius: 999px; background: var(--green); color: #fff; font-size: 11.5px; letter-spacing: .12em; }
.case__body { padding: 18px 22px 26px; }
.case h3 { font-size: 15.5px; font-weight: 600; letter-spacing: .08em; line-height: 1.6; margin-bottom: 8px; }
.case p { font-size: 12.5px; line-height: 2; color: var(--muted); }

/* LogFlow */
.logflow { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 4vw, 60px); padding: clamp(28px, 4vw, 56px); background: var(--paper); border-radius: 14px; box-shadow: var(--shadow); }
.logflow__head p:not(.eyebrow) { margin: 16px 0 26px; font-size: 13.5px; line-height: 2.2; }
.logflow__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; }
.logflow__grid li { display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; }
.logflow__grid .icon { grid-row: span 2; font-size: 28px; color: var(--accent); }
.logflow__grid h3 { font-size: 14px; font-weight: 600; letter-spacing: .08em; line-height: 1.6; }
.logflow__grid p { font-size: 12px; color: var(--muted); line-height: 1.8; }

/* よくある質問 */
.faq-sec { padding-bottom: 20px; }
.faq-sec .sec-title { margin-bottom: 26px; }
.faq-sec .leaf--faq-l { left: -110px; top: 40px; width: 100px; }
.faq-sec .leaf--faq-r { right: -110px; bottom: 0; width: 100px; transform: scaleX(-1); }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 56px); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; gap: 14px; padding: 14px 4px; cursor: pointer; list-style: none; font-size: 13.5px; letter-spacing: .06em; line-height: 1.7; transition: color .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__item summary .icon { font-size: 16px; color: var(--green); stroke-width: 1.8; }
.faq__item summary span { flex: 1; }
.faq__mark { flex: none; width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .4s var(--ease); }
.faq__item[open] .faq__mark { transform: rotate(225deg) translate(-2px, -2px); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 4px 18px 30px; font-size: 13px; line-height: 2.1; color: var(--muted); }

/* ほかの事業内容 */
.mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mini a { display: grid; grid-template-columns: 64px 1fr 18px; grid-template-rows: auto auto; align-items: center; gap: 0 14px; padding: 10px; background: var(--paper); border-radius: 8px; box-shadow: var(--shadow); transition: box-shadow .4s, transform .4s var(--ease); }
.mini a:hover { box-shadow: var(--shadow-up); transform: translateY(-3px); }
.mini__img { grid-row: span 2; aspect-ratio: 1; border-radius: 6px; overflow: hidden; }
.mini__img img { width: 100%; height: 100%; object-fit: cover; }
.mini__no { font-family: var(--latin); font-size: 11px; letter-spacing: .18em; color: var(--accent); align-self: end; line-height: 1.5; }
.mini__name { font-size: 13px; letter-spacing: .06em; line-height: 1.5; align-self: start; grid-column: 2; }
.mini .arrow { grid-column: 3; grid-row: 1 / span 2; color: var(--muted); transition: transform .3s; }
.mini a:hover .arrow { transform: translateX(4px); color: var(--accent); }

/* 関連する取り組み */
.related { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.related__img { aspect-ratio: 16 / 10; overflow: hidden; }
.related__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.related:hover .related__img img { transform: scale(1.05); }
.related__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
.related h3 { font-size: 21px; font-weight: 500; letter-spacing: .1em; }
.related p { font-size: 13px; color: var(--muted); }

/* 大切にしていること・できること（丸） */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.values li { display: flex; flex-direction: column; align-items: center; gap: 10px; aspect-ratio: 1; justify-content: center; text-align: center; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow); transition: transform .6s var(--ease); }
.values li:hover { transform: translateY(-6px) rotate(-2deg); }
.values b { font-family: var(--latin); font-weight: 500; font-size: 15px; color: var(--accent); letter-spacing: .1em; }
.values p { font-size: clamp(14px, 1.5vw, 17px); letter-spacing: .12em; line-height: 1.7; }

/* 会社情報 */
.info { border-top: 1px solid var(--line); margin-bottom: 48px; }
.info__row { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 22px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.info dt { color: var(--muted); letter-spacing: .14em; }
.info small { font-size: 12px; color: var(--muted); }

/* 代表メッセージ */
.letter { display: grid; grid-template-columns: 42% 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: 40px; }
.letter__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 48% 52% 46% 54% / 40% 44% 56% 60%; animation: blob2 16s ease-in-out infinite; position: sticky; top: 110px; }
.letter__img img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blob2 { 0%, 100% { border-radius: 48% 52% 46% 54% / 40% 44% 56% 60%; } 50% { border-radius: 54% 46% 52% 48% / 46% 56% 44% 54%; } }
.letter__text p { font-size: 14.5px; line-height: 2.4; margin-bottom: 28px; }
.letter__sign { text-align: right; font-size: 13px !important; letter-spacing: .14em; }
.letter__sign span { display: block; font-family: var(--brush); font-size: 30px; letter-spacing: .2em; margin-top: 6px; }
.letter .leaf--letter { right: 0; top: -70px; width: 100px; }

/* お知らせ */
.news-list li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.newslist .news-list { border-top: 1px solid var(--line); }
.news-list time { font-family: var(--latin); font-size: 15px; color: var(--muted); letter-spacing: .08em; }
.news-list a:hover { color: var(--accent); }
.news-empty { color: var(--muted); font-size: 14px; }
.article__date { font-family: var(--latin); color: var(--muted); letter-spacing: .1em; }
.article__title { font-size: clamp(21px, 2.4vw, 28px); font-weight: 500; letter-spacing: .1em; line-height: 1.7; margin: 8px 0 30px; }
.article__img { margin-bottom: 30px; border-radius: 8px; overflow: hidden; }
.article__body p { margin-bottom: 1.4em; }
.article__back { margin-top: 48px; text-align: center; }
.article__missing { margin-bottom: 30px; padding: 16px 20px; background: var(--cream); border-radius: 8px; font-size: 14px; }

/* お問い合わせ */
.contact { padding-bottom: 110px; }
.form { display: grid; gap: 24px; margin-top: 32px; }
.form label { display: grid; gap: 8px; font-size: 14.5px; letter-spacing: .1em; }
/* 「お名前」と「必須」を1行に：1行目は「項目名｜必須」の2列、入力欄・エラーは下の行に全幅で */
.form label { grid-template-columns: max-content 1fr; align-items: center; }
.form label > :not(.req) { grid-column: 1 / -1; }
.form .req { justify-self: start; margin-left: 0; }
.form .req { font-size: 11px; color: #fff; background: var(--accent); border-radius: 3px; padding: 2px 8px; margin-left: 8px; letter-spacing: .1em; vertical-align: 2px; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; letter-spacing: .04em; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--text); width: 100%; transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(77, 90, 59, .15); }
.form textarea { min-height: 180px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); }
.form-error { font-size: 13px; color: #b04a3a; }
.form-alert { margin-top: 24px; padding: 14px 18px; border-radius: 8px; background: #fbeee9; color: #8a3a2c; font-size: 14px; }
.hp { position: absolute; left: -9999px; }
.thanks p { margin-bottom: 20px; }

/* ---------- お問い合わせの帯 ---------- */
.cta { position: relative; min-height: clamp(420px, 38vw, 520px); display: flex; align-items: center; overflow: hidden; margin-top: clamp(80px, 9vw, 120px); color: #fff; }
.cta__img { position: absolute; inset: -12% 0; }
.cta__img img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(36, 48, 30, .82) 0%, rgba(36, 48, 30, .5) 40%, rgba(36, 48, 30, 0) 70%); }
.cta__inner { z-index: 2; padding-top: 70px; padding-bottom: 50px; }
.cta__title { font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; letter-spacing: .16em; line-height: 1.8; margin-bottom: 16px; }
.cta__lead { font-size: 14px; line-height: 2.1; margin-bottom: 30px; }
.cta .leaf--cta { left: 1%; bottom: 0; width: 110px; stroke: rgba(255, 255, 255, .55); }

/* ---------- フッター ---------- */
.site-footer { padding: 52px 0 36px; background: var(--bg); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 48px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; font-size: 12.5px; letter-spacing: .12em; }
.footer-nav a:hover { color: var(--accent); }
.copyright { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.to-top { position: fixed; z-index: 40; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; box-shadow: 0 6px 20px rgba(47, 59, 39, .25); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background .3s; }
.to-top .icon { transform: rotate(-90deg); font-size: 18px; }
.is-scrolled-far .to-top { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--green-deep); }

/* ============================================================
   画面の幅ごと
   ============================================================ */
@media (max-width: 1180px) {
  .gnav > ul { gap: 18px; }
  .cards--6 { grid-template-columns: repeat(3, 1fr); }
  .flow--6 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow--6 .step:nth-child(3)::after { display: none; }
  .works--5, .works--6 { grid-template-columns: repeat(3, 1fr); }
  .mini { grid-template-columns: repeat(2, 1fr); }
  .home-about { grid-template-columns: 46% 1fr; }
  .home-about__words { display: none; }
  .sec-head { grid-template-columns: 1fr auto; }
  .sec-head__text { grid-column: 1; grid-row: 2; }
  .sec-head > .btn { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
}

@media (max-width: 1000px) {
  :root { --header: 68px; }
  .menu-toggle { display: grid; gap: 6px; margin-left: auto; width: 46px; height: 46px; place-content: center; border: 0; background: none; cursor: pointer; z-index: 3; }
  .menu-toggle span:not(.sr) { width: 24px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), opacity .3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(250, 248, 243, .97); }
  .gnav { position: fixed; inset: 0; z-index: 2; flex-direction: column; align-items: stretch; gap: 24px; padding: calc(var(--header) + 20px) 28px 40px; background: var(--bg); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .4s, transform .4s var(--ease), visibility .4s; }
  .gnav.is-open { opacity: 1; visibility: visible; transform: none; }
  .gnav > ul { flex-direction: column; gap: 0; }
  .gnav > ul > li { border-bottom: 1px solid var(--line); }
  .gnav > ul > li > a, .nav-label { padding: 14px 0; font-size: 15px; }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: none; padding: 0 0 12px 1em; min-width: 0; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { transform: none; }
  .gnav__cta { align-self: center; }
  .nav-open { overflow: hidden; }
  .is-hidden-header.nav-open .site-header { transform: none; }

  .logo__name { font-size: 26px; }
  .logo__mark { width: 140px; }
  .checks { max-width: none; grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .problems__img { position: relative; width: auto; height: 260px; margin: 0 0 -40px; -webkit-mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); order: 2; }
  .problems { display: flex; flex-direction: column; }
  .problems__note { position: relative; right: auto; bottom: auto; align-self: flex-end; margin: -60px var(--gutter) 0 0; order: 3; }
  .projs, .cases--3 { grid-template-columns: 1fr 1fr; }
  .cases--4, .cards--4, .works--4 { grid-template-columns: repeat(2, 1fr); }
  .flow--5 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow--5 .step:nth-child(3)::after { display: none; }
  .logflow { grid-template-columns: 1fr; }
  .home-news { grid-template-columns: 1fr; }
  .home-news .news-list { grid-template-columns: 1fr; }
  .home-news .news-list li { border-left: 0; border-bottom: 1px solid var(--line); padding: 12px 0; }
  .home-news .btn { justify-self: start; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .values { grid-template-columns: repeat(2, 1fr); max-width: 520px; margin: 0 auto; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .hero { min-height: 600px; align-items: flex-end; padding-bottom: 120px; }
  .hero::before { background: linear-gradient(0deg, rgba(250, 248, 243, .95) 0%, rgba(250, 248, 243, .75) 45%, rgba(250, 248, 243, 0) 75%); }
  .hero__img img { object-position: 70% 40%; }
  .hero__badge { top: calc(var(--header) + 16px); right: 14px; width: 128px; }
  .hero__badge p { font-size: 11.5px; }
  .hero__scroll { display: none; }
  .hero__catch { font-size: clamp(38px, 11.5vw, 48px); letter-spacing: 0; }
  .phero__catch { font-size: clamp(26px, 7.6vw, 34px); white-space: normal; }
  .hero__copy { font-size: 19px; letter-spacing: .18em; }
  .phero { min-height: 0; padding-top: calc(var(--header) + 250px); }
  .phero__img { width: 100%; height: 330px; bottom: auto; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
  .phero__badge { top: calc(var(--header) + 14px); right: 12px; width: 120px; }
  .phero__badge p { font-size: 11px; }
  .phero .leaf--hero { display: none; }
  .about, .home-about { grid-template-columns: 1fr; padding-right: var(--gutter); }
  .about__img, .home-about__img { margin-right: 12%; }
  .about__text, .home-about__text { padding-left: var(--gutter); }
  .about__text br, .phero__lead br, .home-about__text p br, .sec-head__text br { display: none; }
  .sec-head, .sec-head--row { grid-template-columns: 1fr; }
  .sec-head > .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .cards--6, .cards--4 { grid-template-columns: 1fr 1fr; }
  .card__body { padding: 12px 12px 18px; }
  .flow--4, .flow--5, .flow--6 { grid-template-columns: 1fr 1fr; }
  .flow .step::after { display: none; }
  .works--3, .works--4, .works--5, .works--6 { grid-template-columns: 1fr 1fr; }
  .projs, .cases--3, .cases--4, .mini, .faq, .related { grid-template-columns: 1fr; }
  .logflow__grid { grid-template-columns: 1fr; }
  .home-msg { flex-direction: column; align-items: stretch; padding: 0 0 60px; }
  .home-msg__img { position: relative; width: 100%; height: 300px; top: 0; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
  .home-msg__words { top: 150px; bottom: auto; font-size: 12px; }
  .letter { grid-template-columns: 1fr; }
  .letter__img { position: relative; top: 0; max-width: 360px; }
  .info__row { grid-template-columns: 1fr; gap: 2px; }
  .news-list li { grid-template-columns: 1fr; gap: 0; }
  .cta::before { background: linear-gradient(90deg, rgba(36, 48, 30, .85), rgba(36, 48, 30, .55)); }
  .faq-sec .leaf { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__light { display: none; }
}
