@font-face { font-family: "BIZ UDPGothic"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/biz-udpgothic-400.woff2?v=2") format("woff2"); }
@font-face { font-family: "BIZ UDPGothic"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/biz-udpgothic-700.woff2?v=2") format("woff2"); }

/* 色と寸法 */
:root {
  --forest: #1B3326;
  --ink: #1D2A21;
  --ink-hover: #2E4A39;
  --white: #FFFFFF;
  --tint: #EDF1EB;
  --grid: #DFE5DB;
  --line: #D3DBD1;
  --tape: #E4007F;
  --best: #FF5CAB;
  --radius: 6px;
  --measure: 40rem;
  --wide: 72rem;
  --head-h: 4.25rem;
  --head-gap: 0.75rem;
}

/* 土台 */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.9;

  word-break: auto-phrase;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-header :focus-visible, .site-footer :focus-visible, .avail-band :focus-visible, .hero :focus-visible, .page-head :focus-visible { outline-color: var(--white); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.45; margin: 0; text-wrap: balance; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
p, li, dd, dt, figcaption, td, th { text-wrap: pretty; }

.wrap { width: min(100% - 3rem, var(--measure)); margin-inline: auto; }
.wide { width: min(100% - 3rem, var(--wide)); margin-inline: auto; }
@media (max-width: 700px) { .wrap, .wide { width: min(100% - 2.5rem, var(--wide)); } .wrap { max-width: var(--measure); } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 700px) { .br-pc { display: none; } }
.br-sp { display: none; }
@media (max-width: 700px) { .br-sp { display: inline; } }

.nobr { white-space: nowrap; }
@media (min-width: 701px) { .nobr-pc { white-space: nowrap; } }
.product-name { white-space: nowrap; }

[id] { scroll-margin-top: calc(var(--head-h) + var(--head-gap) + 1rem); }

/* ヘッダー（上に固定） */

.site-header {
  position: sticky; top: 0; z-index: 100; color: var(--white);
  padding-top: var(--head-gap); margin-bottom: calc(-1 * (var(--head-h) + var(--head-gap)));
  pointer-events: none;
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--head-h);
  width: min(100% - 1.5rem, var(--wide) + 3rem); padding-inline: 1.5rem;
  background: rgba(27, 51, 38, .94); border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  pointer-events: auto;
}
.site-logo { flex: 0 0 auto; }
.site-logo img { width: 190px; }
.site-nav { display: flex; align-items: center; gap: 0.25rem 1.5rem; font-size: 0.9375rem; font-weight: 700; }
.site-nav a { text-decoration: none; white-space: nowrap; }
html[lang="en"] .site-nav { column-gap: 1.1rem; font-size: 0.875rem; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .to-contact { padding: 0.5rem 1.1rem; border-radius: var(--radius); background: var(--white); color: var(--forest); }
.site-nav .to-contact:hover { background: var(--tint); text-decoration: none; }

.lang-switch { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.875rem; white-space: nowrap; flex: 0 0 auto; }
.lang-icon { flex: 0 0 auto; margin-right: 0.1rem; }
.lang-switch > .lang-icon + *::after { content: "/"; margin-left: 0.35rem; font-weight: 400; display: inline-block; }
.lang-switch [aria-current] { text-decoration: none; }
.site-nav .lang-switch a { text-decoration: underline; font-weight: 400; }

@media (max-width: 1150px) { .site-nav > a:not(.to-contact) { display: none; } .site-nav { gap: 1rem; } }
@media (max-width: 1240px) { html[lang="en"] .site-nav > a:not(.to-contact) { display: none; } html[lang="en"] .site-nav { gap: 1rem; } }

@media (max-width: 600px) {
  .site-header .bar { padding-inline: 1rem; }
  .site-logo img { width: 130px; }
  .site-nav { gap: 0.75rem; }
  .site-nav .to-contact { padding: 0.5rem 0.8rem; }
  .lang-switch > [aria-current] { display: none; }
  .lang-switch > .lang-icon + *::after { content: none; }
}
@media (max-width: 400px) {
  .site-header .bar { gap: 0.5rem; width: calc(100% - 1rem); padding-inline: 0.8rem; }
  .site-logo img { width: 112px; }
  .site-nav { gap: 0.5rem; }
  .site-nav .to-contact { padding: 0.45rem 0.6rem; font-size: 0.8125rem; }
  .lang-switch { font-size: 0.8125rem; gap: 0.25rem; }
}
@media (max-width: 340px) { .site-logo img { width: 92px; } }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: 0.85rem 1.6rem; border-radius: var(--radius); border: 1px solid transparent;
  background: var(--ink); color: var(--white);
}
.button:hover { background: var(--ink-hover); color: var(--white); }
.button--light { background: var(--white); color: var(--forest); }
.button--light:hover { background: var(--tint); color: var(--forest); }
.button--line { background: transparent; color: var(--forest); border-color: var(--forest); }
.button--line:hover { background: var(--tint); color: var(--forest); }

/* 写真と説明 */
.shot { margin: 0; }
.shot img { width: 100%; }
.shot figcaption { font-size: 0.875rem; line-height: 1.6; margin-top: 0.6rem; }

.hero {
  background:
    linear-gradient(to left, rgba(255,255,255,.85) 0%, rgba(255,255,255,.85) 58%, rgba(255,255,255,0) 100%),
    url("/img/hero-workshop.webp?v=6") center bottom / 100% auto no-repeat,
    #5299E9;
}
.hero { position: relative; }
.hero-credit { position: absolute; right: 1rem; bottom: 0.6rem; margin: 0; font-size: 0.75rem; color: var(--ink); }
.hero .wide { min-height: 47rem; padding: calc(3rem + var(--head-h) + var(--head-gap)) 0 2.5rem; }
.hero-body { margin-left: auto; max-width: 40rem; color: var(--ink); }
.hero h1 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.3rem); line-height: 1.45; letter-spacing: 0.02em; max-width: 15em; margin-bottom: 1.6rem; color: var(--forest); }
html[lang="en"] .hero h1 { font-size: clamp(1.8rem, 1.1rem + 2vw, 2.6rem); }
.hero-mark { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero h1 .hero-mark { background: linear-gradient(transparent 60%, rgba(110,116,112,.25) 60%, rgba(110,116,112,.25) 92%, transparent 92%); }
.hero h1 .hero-mark--sky { background: linear-gradient(transparent 60%, rgba(80,160,230,.3) 60%, rgba(80,160,230,.3) 92%, transparent 92%); }
.hero-mark--pink { background: linear-gradient(transparent 62%, rgba(255,92,171,.38) 62%, rgba(255,92,171,.38) 92%, transparent 92%); font-weight: 700; }
.hero-lead { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); max-width: 33em; }
.hero h1 + .hero-lead { font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.4rem; }
@media (max-width: 1100px) { .hero .wide { min-height: 0; } .hero { background-size: cover; } }
@media (max-width: 700px) {
  .hero { background-image: linear-gradient(rgba(255,255,255,.6), rgba(255,255,255,.6)), url("/img/hero-workshop.webp?v=6"); background-position: 0 0, 35% center; }
  .hero .wide { padding: calc(1.5rem + var(--head-h) + var(--head-gap)) 0 3rem; }
  .hero h1 { font-size: 1.55rem; }
  .hero-actions .button { width: 100%; }
}

.marker {
  background: linear-gradient(transparent 62%, rgba(255, 224, 70, .6) 62%, rgba(255, 224, 70, .6) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 0.1em;
}
.marker--pink { background: linear-gradient(transparent 62%, rgba(255, 92, 171, .38) 62%, rgba(255, 92, 171, .38) 92%, transparent 92%); }

/* 段（セクション） */
.section { padding: 4.5rem 0; }
.section--tint { background: var(--tint); }
.section h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.15rem); letter-spacing: 0.02em; margin-bottom: 2rem; }
.section h3 { font-size: 1.15rem; margin: 2.25rem 0 0.75rem; }
@media (max-width: 700px) { .section { padding: 3.25rem 0; } .section h2 { margin-bottom: 1.5rem; } }

.lead-short { font-size: 1.125rem; }
.note { font-size: 0.9375rem; }

/* 札（バッジ） */
.tag, .rec, .svc-h {
  display: inline-block; padding: 0.1rem 0.6rem; border-radius: 3px;
  font-size: 0.8125rem; font-weight: 700; line-height: 1.6; white-space: nowrap;
  color: var(--white); background: var(--forest);
}
.tag { width: 6.5rem; padding: 0.1rem 0; text-align: center; justify-self: start; align-self: start; margin-top: 0.15em; }
.tag--newspaper { background: #2F5A85; }
.tag--magazine  { background: #3D7353; }
.tag--radio     { background: #9A5418; }
.tag--talk      { background: #6A4C88; }
.tag--expo      { background: #7D661C; }
.tag--award     { background: #A0353A; }
.tag--company   { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.rec { margin-left: 0.6rem; vertical-align: 0.15em; }
.rec--hot { background: #A0353A; }

/* お知らせ */
.news { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.news li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0 1.25rem; margin: 0; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.news time { font-size: 0.9375rem; padding-top: 0.1em; }
.news--tagged li { grid-template-columns: 8.5rem 6.5rem 1fr; }
@media (max-width: 600px) {
  .news li { grid-template-columns: 1fr; }
  .news.news--tagged li { grid-template-columns: auto 1fr; gap: 0.3rem 0.75rem; }
  .news--tagged li > span:last-child { grid-column: 1 / -1; }
}

/* 林業での実績 */
.section.section--forest { padding: 3rem 0; }
.section--forest { background: linear-gradient(rgba(237,241,235,.86), rgba(237,241,235,.86)), url("/img/bg-forest-road.webp") center / cover; }
.product-h { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 0.75rem; }
.product-logo { width: 200px; height: auto; margin-left: -10px; }
.product-sub { font-size: 1rem; font-weight: 700; }
.field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.field-lead { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; }

.prose { text-align: justify; word-break: normal; line-break: strict; text-wrap: wrap; }
.field .shot img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 960px) { .field { grid-template-columns: 1fr; gap: 2rem; } .field .shot { max-width: 36rem; } }

/* 得意な業務 */
.svc { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.svc > li { display: grid; grid-template-columns: 3fr 5fr 4fr; gap: 2rem; margin: 0; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.section .svc h3 { font-size: 1.35rem; margin: 0; }
.svc-tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0.5rem; }
.svc-tag { display: inline-block; padding: 0.35rem 0.95rem; border: 2px solid var(--forest); border-radius: 999px; font-size: 1.05rem; font-weight: 700; line-height: 1.4; color: var(--white); background: var(--forest); }
.svc p { margin-bottom: 0.8rem; }
.svc-plan { font-weight: 700; font-size: 0.9375rem; }
.svc-proof { font-size: 0.9375rem; line-height: 1.7; }
.svc-h { margin: 0 0 0.5rem; }
.svc-proof ul { margin: 0; padding-left: 1.2em; }
.svc-proof li { margin-bottom: 0.3em; }
@media (max-width: 900px) {
  .svc > li { grid-template-columns: 1fr; gap: 0.75rem; }
  .section .svc h3 { font-size: 1.2rem; }
}

/* 製品ラインナップ */
.group-h { padding-left: 0.8rem; border-left: 4px solid var(--forest); }
.section .group-h { font-size: 1.4rem; margin: 2.75rem 0 1.1rem; padding-left: 0.9rem; border-left-width: 6px; line-height: 1.35; }
.section h2 + .group-h { margin-top: 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }

.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 2.5rem; padding: 2.25rem; }
.feature--small-img > img { max-width: min(360px, 100%); margin-inline: auto; }
.section .feature h3 { font-size: 1.6rem; margin: 0 0 0.8rem; }
.feature p { font-size: 1.05rem; }
.feature .note { font-size: 0.9375rem; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.products .card { display: flex; flex-direction: column; padding: 1.75rem; }
.products > .card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; margin-bottom: 1.25rem; }
.section .products h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.products .card > :last-child { margin-top: auto; }
.more { font-weight: 700; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem; }
  .products { grid-template-columns: minmax(0, 1fr); }
}

/* 受賞・特許・メディア掲載 */

.media-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.papers a { text-decoration: none; display: block; }
.papers img { border: 1px solid var(--line); background: var(--white); }
.papers a:hover img { border-color: var(--ink); }
.papers figcaption strong { display: block; }
.media-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; margin-top: 3rem; }
.media-cols--stack { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.section .media-cols h3 { display: inline-block; margin: 0 0 0.9rem; padding: 0.35rem 1rem; border-radius: 999px; font-size: 1.15rem; line-height: 1.4; color: var(--white); background: var(--forest); }
.media-list { list-style: none; padding: 0; margin: 0; font-size: 0.9375rem; line-height: 1.7; }
.media-list li { padding: 0.65rem 0; border-top: 1px solid var(--line); margin: 0; }
.media-list li:last-child { border-bottom: 1px solid var(--line); }
.media-list li > span:first-child { display: block; font-size: 0.8125rem; font-weight: 700; }

.fold summary { cursor: pointer; font-weight: 700; font-size: 0.9375rem; padding: 0.6rem 0; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::before { content: "＋"; display: inline-block; width: 1.4em; }
.fold[open] summary::before { content: "－"; }
.fold summary:hover { text-decoration: underline; }
.fold .media-list li:first-child { border-top: 0; }
.media-list + .fold .media-list { margin-top: 0; }
.fold[open] summary { order: 2; }
.fold-open, .fold[open] .fold-closed { display: none; }
.fold[open] .fold-open { display: inline; }
.fold { display: flex; flex-direction: column; }
@media (max-width: 900px) {
  .papers { gap: 0.75rem; }
  .papers figcaption { font-size: 0.75rem; }
  .media-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .media-cols { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* 開発料金の目安 */
.plans-lead { margin: -0.75rem 0 1.5rem; }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; background: var(--white); }
.plan { padding: 1.5rem 1.5rem 1.25rem; border-left: 1px solid var(--line); }
.plan:first-child { border-left: 0; }
.price-note { margin: -0.2rem 0 0.6rem; font-size: 0.875rem; }
.section .plan h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.plan .rec { font-size: 0.9375rem; padding: 0.15rem 0.7rem; }
.plan dl { margin: 0; font-size: 0.9375rem; line-height: 1.7; }
.plan dl div { padding: 0.6rem 0; border-top: 1px solid var(--line); }
.plan dt { font-weight: 700; font-size: 0.8125rem; }
.plan dd { margin: 0; }

.price { font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; }
.price > span:last-child { font-size: 0.8125rem; font-weight: 400; margin-left: 0.4em; }
.maint-price { font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
html[lang="en"] .maint-price { white-space: normal; }
.maint-price span { font-size: 0.8125rem; font-weight: 400; margin-left: 0.4em; }
.price-tag {
  display: inline-block; padding: 0.1em 0.45em; vertical-align: 0.25em; line-height: 1.4;
  border: 1px solid var(--ink); border-radius: 2px;
}
.price .price-tag { margin: 0 0.5em 0 0.4em; font-size: 0.8125rem; font-weight: 400; }
.maint-price .price-tag { margin: 0 0.5em 0 0; font-size: 0.75rem; font-weight: 700; }

.maint {
  display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.75rem; align-items: baseline;
  border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); background: var(--white);
  padding: 1.1rem 1.5rem; margin: 0 0 1.5rem;
}
.maint p { margin: 0; }
.maint-h { font-weight: 700; }
.maint-note { font-size: 0.9375rem; grid-column: 1 / -1; }

.policy { margin-top: 2.25rem; padding: 1.25rem 1.5rem 0.25rem; border-left: 4px solid #9A5418; background: #FBF4EC; border-radius: 0 var(--radius) var(--radius) 0; }
.section .policy-h {
  display: inline-block; margin: 0 0 0.9rem; padding: 0.2rem 0.8rem;
  font-size: 1rem; color: var(--white); background: #9A5418; border-radius: 3px;
}
.policy-text { max-width: 66em; }
.policy-key { font-size: 1.25rem; line-height: 1.85; }
@media (max-width: 600px) { .policy-key { font-size: 1.125rem; } }

html[lang="en"] .price { font-size: 1.35rem; }
html[lang="en"] .price > span:last-child { display: block; margin: 0.15rem 0 0; }
@media (max-width: 1150px) { .price { font-size: 1.35rem; } html[lang="en"] .price { font-size: 1.15rem; } }
@media (max-width: 960px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan { border-left: 0; border-top: 1px solid var(--line); }
  .plan:first-child { border-top: 0; }
  .price { font-size: 1.6rem; }
  html[lang="en"] .price { font-size: 1.35rem; }
}
@media (max-width: 800px) { .maint { grid-template-columns: 1fr; } }

/* 空き状況（濃い緑の帯） */
.avail-band { background: var(--forest); color: var(--white); padding: 3rem 0; }
.avail-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; margin-bottom: 1.25rem; }
.avail-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.15rem); margin: 0; }
.avail-updated { margin: 0; font-size: 0.9375rem; }
.avail-wrap { overflow-x: auto; margin-bottom: 0.6rem; }
.avail { width: 100%; border-collapse: collapse; border-top: 1px solid rgba(255,255,255,.25); }
.avail th, .avail td { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.25); text-align: left; }
.avail th:first-child { padding-left: 0; }
.avail thead th { font-size: 0.9375rem; font-weight: 700; }
.avail thead th + th { text-align: center; font-size: 1.05rem; width: 9rem; }
.avail tbody th { font-weight: 700; font-size: 1rem; }
.avail .mark { text-align: center; font-size: 1.6rem; font-weight: 700; }
.avail .mark--best { color: var(--best); }
.avail-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.25rem; }
.avail-legend { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0; font-size: 0.875rem; }
.avail-legend span { white-space: nowrap; }

.offer { margin: 1.75rem 0 0; padding: 1.25rem 1.5rem; background: var(--white); color: var(--ink); border-left: 8px solid #FFD500; border-radius: var(--radius); }
.offer p { margin: 0; }
.offer .offer-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.6rem; margin-bottom: 0.5rem; font-size: 1.2rem; font-weight: 700; color: var(--forest); }
.offer-h .rec { margin-left: 0; }
.offer-until { font-weight: 400; font-size: 0.875rem; white-space: nowrap; }
.offer .offer-note { margin-top: 0.5rem; font-size: 0.875rem; }
.offer-key { font-size: 1.25em; font-weight: 700; color: var(--forest); }
@media (max-width: 600px) { .offer { padding: 1.1rem 1.1rem; } .offer-until { flex-basis: 100%; } }
@media (max-width: 600px) {
  .avail-band { padding: 2.25rem 0; }
  .avail th, .avail td { padding: 0.8rem 0.4rem; }
  .avail th:first-child { padding-left: 0; }
  .avail thead th + th { width: 3.8rem; font-size: 0.9375rem; }
  .avail tbody th { font-size: 0.875rem; }
  .avail .mark { font-size: 1.35rem; }
}
@media (max-width: 360px) {
  .avail th, .avail td { padding: 0.7rem 0.2rem; }
  .avail thead th + th { width: 3.3rem; font-size: 0.8125rem; }
  .avail tbody th { font-size: 0.8125rem; }
}

/* お問い合わせ */

.contact-intro { display: flex; align-items: center; gap: 1.75rem; margin-bottom: 0.5rem; }
.contact-face { margin: 0; flex: 0 0 auto; max-width: 9rem; text-align: center; font-size: 0.8125rem; line-height: 1.5; }
.contact-face img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 0 auto 0.4rem; }
.contact-face strong { display: block; font-size: 0.9375rem; }
.contact-intro p { margin: 0; font-size: 1.0625rem; }
.contact-ng { display: block; margin-top: 0.5rem; font-size: 0.875rem; }

@media (max-width: 600px) {
  .contact-intro { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
  .contact-face { display: flex; align-items: center; gap: 0.8rem; max-width: none; text-align: left; }
  .contact-face img { width: 72px; height: 72px; margin: 0; }
  .contact-intro p { font-size: 1rem; }
}

.form {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem 1.25rem; margin-top: 1.25rem;
  grid-template-areas: "name org email" "body body send";
}
.f-name { grid-area: name; } .f-org { grid-area: org; } .f-email { grid-area: email; }
.f-body { grid-area: body; display: flex; flex-direction: column; } .f-send { grid-area: send; align-self: end; }
.f-body textarea { flex: 1; }
.form label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.form .opt { font-weight: 400; font-size: 0.875rem; margin-left: 0.5em; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--ink); border-radius: var(--radius); padding: 0.6rem 0.8rem;
}
.form textarea { min-height: 6.5rem; resize: vertical; display: block; }
.email-hint { margin: 0.35rem 0 0; font-size: 0.875rem; }
.email-hint button { font: inherit; font-weight: 700; color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.f-send .button { width: 100%; padding: 0.9rem 1rem; }
.f-note { font-size: 0.8125rem; margin: 0.6rem 0 0.5rem; }
@media (max-width: 700px) {
  .form { grid-template-columns: 1fr; grid-template-areas: "name" "org" "email" "body" "send"; }
}

.error-page { border-top: 0; }
.error-page h1 { font-size: 1.6rem; margin-bottom: 1.5rem; }
.form .f-turnstile:empty { display: none; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 下層ページ */

.page-head {
  padding: calc(3.25rem + var(--head-h) + var(--head-gap)) 0 2.75rem; color: var(--white);
  background:
    linear-gradient(90deg, rgba(16,28,20,.86) 0%, rgba(16,28,20,.62) 55%, rgba(16,28,20,.25) 100%),
    url("/img/bg-forest-thinning.webp") center 40% / cover;
}
.page-head h1 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin: 0; letter-spacing: 0.02em; }

.person-row { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 3rem; align-items: start; }
.person-row .shot img { width: 100%; height: auto; border-radius: var(--radius); }
.role { margin-top: -0.75rem; }
.skills { margin: 0 0 1.5rem; font-size: 0.9375rem; }
.skills div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.skills div:first-child { border-top: 1px solid var(--line); }
.skills dt { font-weight: 700; }
.skills dd { margin: 0; }
.skills-note { font-size: 0.9375rem; margin-top: -0.5rem; }
.skills-sub { display: block; font-size: 0.875rem; margin-top: 0.15rem; }
@media (max-width: 700px) {
  .person-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .person-row .shot { max-width: 320px; }
  .skills div { grid-template-columns: 1fr; }
}

.fieldbook {
  background-color: var(--white);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem; background-position: -1px -1px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.5rem 1rem; margin: 0;
}
.fieldbook h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }
.years { list-style: none; margin: 0; padding: 0; position: relative; }
.years::before { content: ""; position: absolute; left: 5.5rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: var(--ink); }
.years li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); column-gap: 3rem; padding-bottom: 1.4rem; position: relative; margin: 0; }
.years li::before {
  content: ""; position: absolute; left: 5.05rem; top: 0.62rem;
  width: 1rem; height: 0.5rem; background: var(--tape); transform: rotate(-8deg);
}
.years .y { font-weight: 700; text-align: right; white-space: nowrap; }
.years p { margin: 0; }
@media (max-width: 600px) {
  .years::before { left: 3.9rem; }
  .years li { grid-template-columns: 3rem minmax(0, 1fr); column-gap: 2.1rem; }
  .years li::before { left: 3.45rem; }
  .years .y { font-size: 0.75rem; }
  .fieldbook { padding: 1.5rem 1rem 0.5rem; }
}

.company { margin: 0; }
.company div { display: grid; grid-template-columns: 8rem 1fr; gap: 0 1.25rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.company div:first-child { border-top: 1px solid var(--line); }
.company dt { font-weight: 700; }
.company dd { margin: 0; }

html[lang="en"] .company div, html[lang="en"] .company--narrow div { grid-template-columns: 10.5rem 1fr; }
.company--narrow div { grid-template-columns: 8.5rem 1fr; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { margin: 0 0 0.2em; }
.addr-en { font-size: 0.875rem; user-select: all; }
.company--history div { grid-template-columns: 9rem 1fr; }
.company--narrow dt, .company--history dt { white-space: nowrap; }
@media (max-width: 600px) { .company div, .company--narrow div, .company--history div, html[lang="en"] .company div, html[lang="en"] .company--narrow div { grid-template-columns: 1fr; } }

.name-row { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.name-logo { margin: 0; }
.name-logo img { width: 100%; height: auto; }

.name-text { width: fit-content; max-width: 100%; }
.name-origin { display: block; width: 100%; max-width: 30rem; height: auto; margin: 1.25rem auto 0; }
@media (max-width: 800px) {
  .name-row { grid-template-columns: 1fr; gap: 1.75rem; }
  .name-logo { max-width: 15rem; }
}

.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.section .about-h2-next { margin-top: 2.5rem; }
.about-history { background: var(--tint); }

.profile-more { background: var(--tint); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.profile-grid h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }

@media (max-width: 1100px) { .about-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }
@media (max-width: 900px) { .profile-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

.policy-page h2 { font-size: 1.15rem; margin: 2rem 0 0.6rem; }
.policy-page ul { margin-bottom: 0.8em; }
.policy-owner { margin-top: 2.5rem; }

/* フッター */
.site-footer { background: var(--forest); color: var(--white); padding: 2.25rem 0 2.5rem; font-size: 0.875rem; }
.site-footer .wide { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
