

:root {
  --gr-green: #006934;
  --gr-green-light: #147f3b;
  --gr-yellow: #FCCF00;
  --color-brand: #006934;
  --color-accent: #FCCF00;
  --ff-en-wide: "Barlow", "Helvetica Neue", Arial, sans-serif;
}

.site-header { background: #fff; transition: box-shadow .3s ease, background .3s ease; }
.site-header.is-scrolled { box-shadow: 0 2px 18px rgba(0,0,0,.08); background: rgba(255,255,255,.94); backdrop-filter: blur(6px); }
.site-header .inner { padding: 12px var(--gutter); gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-shield { width: 52px; height: auto; display: block; }
.brand-text {
  font-family: var(--ff-en-wide);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--gr-green);
  line-height: 1;
}
.brand-text small {
  display: block;
  font-family: var(--ff-jp);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--color-muted);
  margin-top: 5px;
}
.header-right { display: flex; align-items: center; gap: 22px; }
.global-nav { gap: 24px; }
.global-nav a { font-weight: 500; }
.global-nav a.is-totonoe {
  font-family: "Jost", var(--ff-en-wide);
  letter-spacing: 0.22em;
  font-weight: 500;
}
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--color-line);
  background: #fff;
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px;
  height: 2px; background: var(--gr-green);
  transition: transform .2s, opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .global-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--color-line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    padding: 8px 0;
  }
  .global-nav a {
    padding: 14px var(--gutter);
    border-bottom: 1px solid var(--color-line);
  }
  .global-nav a:last-child { border-bottom: none; }
  .site-header.is-open .global-nav { display: flex; }
}

.hero {
  position: relative;
  background: var(--gr-green);
  color: #fff;
  min-height: clamp(520px, 78vh, 760px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -3; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.4s ease;
  transform: scale(1.06);
  animation: heroPan 26s ease-in-out infinite alternate;
}
.hero-slide.is-active { opacity: 1; }
@keyframes heroPan { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.hero-veil {
  position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(180deg, rgba(0,105,52,.78) 0%, rgba(0,105,52,.68) 45%, rgba(0,60,30,.82) 100%);
}
.hero-shape {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
}
.hero-shape svg { width: 100%; height: 100%; display: block; }

.hero-inner { text-align: center; padding: 60px var(--gutter); }
.hero-rule {
  width: min(60vw, 420px); height: 2px;
  background: var(--gr-yellow);
  margin: 0 auto 26px;
  transform: scaleX(0);
  animation: ruleIn .9s cubic-bezier(.16,.8,.3,1) .2s forwards;
}
@keyframes ruleIn { to { transform: scaleX(1); } }

.hero-wordmark { width: min(64vw, 440px); height: auto; margin: 0 auto 18px; display: block; overflow: visible; }
.hero-wordmark path {
  fill: var(--gr-yellow);
  stroke: var(--gr-yellow);
  stroke-width: 1.1;
  fill-opacity: 0;
}
.hero-wordmark.is-drawing path {
  stroke-dashoffset: var(--len);
  animation: drawMark 1.5s ease-in-out .6s forwards, fillMark .7s ease 2.0s forwards;
}
@keyframes drawMark { to { stroke-dashoffset: 0; } }
@keyframes fillMark { to { fill-opacity: 1; } }

.hero-tag {
  font-family: var(--ff-en-wide);
  font-weight: 500;
  font-size: clamp(11px, 1.6vw, 16px);
  letter-spacing: 0.32em;
  color: var(--gr-yellow);
  margin: 0;
  opacity: 0;
  animation: fadeUp .8s ease 2.4s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero-scroll {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  width: max-content; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--ff-en-wide);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  color: rgba(255,255,255,.82);
  opacity: 0;
  animation: fadeUp .8s ease 2.9s forwards;
}
.hero-scroll span { padding-left: 0.34em; }   
.hero-scroll::after {
  content: "";
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--gr-yellow), rgba(252,207,0,0));
  animation: scrollLine 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine { 0%,100% { transform: scaleY(.35); opacity: .5; } 50% { transform: scaleY(1); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; transition: none; }
  .hero-rule { transform: none; animation: none; }
  .hero-wordmark path { fill-opacity: 1; stroke: none; }
  .hero-wordmark.is-drawing path { animation: none; stroke-dashoffset: 0; }
  .hero-tag, .hero-scroll { opacity: 1; animation: none; }
  .hero-scroll::after { animation: none; }
}

.lead-section { padding: clamp(60px, 9vw, 110px) var(--gutter); text-align: center; }
.lead-section p {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(14.5px, 1.6vw, 17px);
  line-height: 2.3;
  color: var(--color-ink-sub);
  letter-spacing: 0.06em;
}

.section { padding: clamp(70px, 9vw, 120px) 0; }
.section.alt { background: var(--color-bg-alt); }
.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .num {
  font-family: var(--ff-en-wide);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--gr-green);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-head .num::before {
  content: ""; width: 28px; height: 2px; background: var(--gr-yellow);
}
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 12px 0 0;
  line-height: 1.5;
}
.section-head h2 .en {
  display: block;
  font-family: var(--ff-en-wide);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.36em;
  color: var(--color-muted);
  margin-top: 10px;
}
.section-head .lead {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--color-ink-sub);
  line-height: 2;
  max-width: 720px;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}
.biz-item { background: #fff; padding: clamp(26px, 3vw, 40px) clamp(22px, 2.6vw, 34px); }
.biz-item .no {
  font-family: var(--ff-en-wide);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gr-green);
}
.biz-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 10px 0 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.biz-item p { margin: 0; font-size: 13.5px; color: var(--color-ink-sub); line-height: 1.95; }
.biz-item.is-wide, .biz-item.is-full { grid-column: 1 / -1; }
.biz-item.is-wide { background: var(--gr-green); color: #fff; }
.biz-item.is-wide .no { color: var(--gr-yellow); }
.biz-item.is-wide p { color: rgba(255,255,255,.82); }
.biz-item.is-wide .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.biz-item.is-wide .tags span {
  font-size: 12px; letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,.35);
  padding: 4px 12px; border-radius: 999px;
}
@media (max-width: 560px) { .biz-grid { grid-template-columns: 1fr; } }

.btn-more {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 40px;
  padding: 16px 34px;
  background: var(--gr-green);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
  border-radius: 2px;
  transition: background .2s;
}
.btn-more::after { content: "→"; }
.btn-more:hover { background: var(--gr-green-light); }
.center { text-align: center; }

.ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9ecea; }
.ph svg, .ph img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.work-thumb .ph { aspect-ratio: auto; position: absolute; inset: 0; }

.totonoe-band {
  background: #fff;
  color: #111;
  padding: clamp(90px, 12vw, 160px) var(--gutter);
  border-top: 1px solid #e5e3de;
  border-bottom: 1px solid #e5e3de;
  text-align: center;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}
.totonoe-band .num {
  font-family: "Jost", var(--ff-en-wide);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #8a8a8a;
}
.totonoe-band .service {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #3a3a3a;
  margin: 14px 0 44px;
}
.totonoe-band .logo { width: min(64vw, 380px); height: auto; margin: 0 auto 36px; display: block; }
.totonoe-band .tagline {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 500;
  font-size: clamp(20px, 2.8vw, 30px);
  letter-spacing: 0.16em;
  margin: 0 0 22px;
  line-height: 1.9;
}
.totonoe-band .copy {
  max-width: 560px;
  margin: 0 auto 46px;
  font-size: 14.5px;
  line-height: 2.2;
  color: #3a3a3a;
  letter-spacing: 0.04em;
}
.totonoe-band .btn {
  display: inline-block;
  padding: 18px 48px;
  border: 1px solid #111;
  color: #111;
  font-family: "Jost", var(--ff-en-wide);
  font-size: 12px;
  letter-spacing: 0.4em;
  transition: background .2s, color .2s;
}
.totonoe-band .btn:hover { background: #111; color: #fff; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dl { margin: 0; border-top: 1px solid var(--color-line); }
.contact-info dl > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--color-line);
  font-size: 14px;
}
.contact-info dt { font-size: 11px; letter-spacing: 0.24em; color: var(--color-muted); padding-top: 3px; }
.contact-info dd { margin: 0; line-height: 1.8; }
.contact-info .tel {
  font-family: var(--ff-en-wide);
  font-size: 26px; font-weight: 600; letter-spacing: 0.06em; color: var(--gr-green);
  line-height: 1.2;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--color-line);
  padding: clamp(24px, 3vw, 40px);
}
.contact-form .row { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 12.5px; letter-spacing: 0.1em; margin-bottom: 6px; color: var(--color-ink-sub); }
.contact-form label .req { color: #c0392b; font-size: 11px; margin-left: 6px; }

.contact-form input, .contact-form textarea {
  width: 100%; font: inherit; font-size: 16px;
  padding: 12px 14px; border: 1px solid var(--color-line); border-radius: 2px;
  background: #fafbfa;
}
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form button {
  font: inherit; font-weight: 600; letter-spacing: 0.24em; font-size: 13px;
  padding: 16px 44px; background: var(--gr-green); color: #fff;
  border: 0; border-radius: 2px; cursor: pointer; transition: background .2s;
}
.contact-form button:hover { background: var(--gr-green-light); }
.contact-form .form-note { font-size: 12px; color: var(--color-muted); margin: 14px 0 0; }

.gr-footer { background: #0b3d22; color: rgba(255,255,255,.8); padding: clamp(48px, 6vw, 72px) var(--gutter) 28px; }
.gr-footer .inner { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.gr-footer .brand-text { color: #fff; }
.gr-footer .brand-text small { color: rgba(255,255,255,.55); }
.gr-footer address { font-style: normal; font-size: 13px; line-height: 1.9; margin-top: 16px; }
.gr-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 12.5px; letter-spacing: 0.1em; }
.gr-footer nav a:hover { color: var(--gr-yellow); }
.gr-footer .copy {
  max-width: var(--content-max); margin: 40px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--ff-en-wide); font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,.5);
}
@media (max-width: 720px) { .gr-footer .inner { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce), print { .reveal { opacity: 1; transform: none; transition: none; } }

.company-table { margin: 0; border-top: 1px solid var(--color-line); max-width: 880px; }
.company-table > div {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--color-line); font-size: 14.5px;
}
.company-table dt { font-size: 12px; letter-spacing: 0.22em; color: var(--color-muted); padding-top: 3px; }
.company-table dd { margin: 0; line-height: 1.9; }
@media (max-width: 640px) { .company-table > div { grid-template-columns: 1fr; gap: 6px; } }
.company-message {
  margin-top: clamp(40px, 6vw, 72px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--color-bg-alt);
  border-left: 4px solid var(--gr-green);
  max-width: 880px;
}
.company-message h3 { margin: 0 0 14px; font-size: 18px; letter-spacing: 0.08em; }
.company-message p { margin: 0; font-size: 14.5px; line-height: 2.1; color: var(--color-ink-sub); }

.detail-main .visual { position: relative; }
.detail-main .visual .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.spec-table { margin: 0; border-top: 1px solid var(--color-line); }
.spec-table > div {
  display: grid; grid-template-columns: 140px 1fr; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--color-line); font-size: 14.5px;
}
.spec-table dt { font-size: 12px; letter-spacing: 0.22em; color: var(--color-muted); padding-top: 3px; }
.spec-table dd { margin: 0; line-height: 1.8; }
.spec-table dd.empty { color: var(--color-muted); }
@media (max-width: 560px) { .spec-table > div { grid-template-columns: 1fr; gap: 4px; } }

.photo-block { margin-bottom: 24px; }
.photo-block .ba-label {
  display: inline-block;
  font-family: var(--ff-en-wide);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.32em;
  padding: 6px 16px;
  margin-bottom: 14px;
  color: #fff;
  background: #6b756b;
}
.photo-block.is-after .ba-label { background: var(--gr-green); }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photo-row figure { margin: 0; }
.photo-row figcaption { font-size: 12px; color: var(--color-ink-sub); padding: 8px 2px 0; letter-spacing: 0.04em; }
@media (max-width: 640px) { .photo-row { grid-template-columns: 1fr 1fr; } }

.case-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--color-line); border: 1px solid var(--color-line);
  margin-top: 8px;
}
.case-nav a, .case-nav span { background: #fff; padding: 20px 22px; font-size: 13.5px; display: flex; flex-direction: column; gap: 4px; }
.case-nav .dir { font-family: var(--ff-en-wide); font-size: 11px; letter-spacing: 0.3em; color: var(--color-muted); }
.case-nav a:hover { background: var(--color-bg-alt); }
.case-nav .next { text-align: right; }
.case-nav span { color: var(--color-muted); }

.works-cta {
  background: var(--gr-green); color: #fff; text-align: center;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}
.works-cta h2 { margin: 0 0 12px; font-size: clamp(20px, 2.6vw, 28px); letter-spacing: 0.1em; }
.works-cta p { margin: 0 auto 32px; max-width: 560px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 2; }
.works-cta .btn-more { background: var(--gr-yellow); color: #1f2a1f; margin-top: 0; }
.works-cta .btn-more:hover { background: #ffe066; }

.work-card { display: block; background: #fff; overflow: hidden; }

.work-card[hidden] { display: none; }

.works-grid--one { grid-template-columns: minmax(0, 380px); justify-content: center; }
.work-thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9ecea; }
.work-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-thumb .category {
  position: absolute; left: 0; top: 0;
  background: rgba(0,0,0,.62);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 7px 14px;
}

.case-head { padding: clamp(40px, 6vw, 80px) var(--gutter) 0; }
.case-head .inner { max-width: 1120px; margin: 0 auto; }
.case-head h1 {
  font-size: clamp(24px, 3.4vw, 40px);
  letter-spacing: 0.06em;
  margin: 14px 0 6px;
  line-height: 1.4;
}
.case-head .en {
  display: block;
  font-family: var(--ff-en-wide);
  font-size: 11.5px;
  letter-spacing: 0.3em;
  color: var(--color-muted);
  margin-bottom: 26px;
}
.spec-table { border-top: 1px solid var(--color-line); margin: 0 0 clamp(36px, 5vw, 56px); }
.spec-table > div {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--color-line);
}
.spec-table dt {
  padding: 16px 18px;
  background: #f5f6f4;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-ink-sub);
  margin: 0;
}
.spec-table dd { padding: 16px 18px; margin: 0; font-size: 14.5px; line-height: 1.8; }
.spec-table dd.empty { color: var(--color-muted); }
@media (max-width: 560px) {
  .spec-table > div { grid-template-columns: 96px 1fr; }
  .spec-table dt, .spec-table dd { padding: 13px 12px; font-size: 13px; }
}

.ba-grid { margin-bottom: clamp(40px, 6vw, 70px); }
.ba-row {
  display: grid;
  grid-template-columns: 1fr 1fr;   
  gap: clamp(14px, 2vw, 26px);
  margin-bottom: clamp(14px, 2vw, 26px);
}
@media (max-width: 640px) { .ba-row { grid-template-columns: 1fr; } }
.ba-item { margin: 0; position: relative; }
.ba-item img {
  width: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; display: block;
  background: #e9ecea;
}
.ba-item .tag {
  position: absolute; left: 0; top: 0;
  font-family: var(--ff-en-wide);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #fff;
  padding: 7px 16px;
}
.ba-item.is-before .tag { background: #6b6f6a; }
.ba-item.is-after .tag { background: var(--gr-green); }
.ba-item figcaption {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--color-ink-sub);
  padding-top: 10px;
}

.case-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid var(--color-line);
  padding-top: 26px;
}
.case-nav a, .case-nav span {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--color-ink);
}
.case-nav .next { text-align: right; }
.case-nav .dir {
  display: block;
  font-family: var(--ff-en-wide);
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.case-nav span { color: var(--color-muted); }
