﻿:root {
  color-scheme: light;
  --paper: #f7f2e8;
  --paper-deep: #eee5d5;
  --surface: #fffdf7;
  --surface-strong: #ffffff;
  --ink: #17342d;
  --ink-soft: #4f625c;
  --line: #d8d0c1;
  --main: #1d493d;
  --main-2: #2f6958;
  --main-pale: #dce9e2;
  --accent: #e47d22;
  --accent-pale: #f8dfc7;
  --white: #fffdf8;
  --shadow: 0 18px 45px rgba(23, 52, 45, 0.12);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --content: 1120px;
}

.brand-sub {
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: .58em;
  font-weight: 700;
  letter-spacing: .09em;
}

.image-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) repeat(2, minmax(0, .75fr));
  gap: 12px;
  width: min(100% - 32px, var(--content));
  margin: -26px auto 0;
  position: relative;
  z-index: 2;
}

.image-strip figure,
.quality-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-strip img,
.quality-photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.image-strip-main img { height: 300px; }

.quality-photo { align-self: center; }
.quality-photo img { height: 440px; }

.company-photo {
  background: #dce9e2;
  box-shadow: none;
}

.company-photo img {
  object-fit: contain;
  padding: clamp(18px, 4vw, 46px);
}

.card-note {
  margin: 1.25rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .82rem;
  font-weight: 700;
}

.proposal-note {
  margin-top: 1.2rem;
  padding: 1.2rem 1.35rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: .86rem;
}

.proposal-note p { margin: .35rem 0 0; }

@media (max-width: 820px) {
  .header-inner { min-height: 62px; gap: 8px; }
  .site-nav { display: none; }
  .hero-copy { min-width: 0; }
  .hero-copy h1 { width: 100%; overflow-wrap: anywhere; }
  .hero-copy h1 span { display: block; }
  .image-strip { grid-template-columns: 1fr 1fr; margin-top: -14px; }
  .image-strip-main { grid-column: 1 / -1; }
  .image-strip img { height: 155px; }
  .image-strip-main img { height: 225px; }
  .quality-photo img { height: 300px; }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.85;
  letter-spacing: 0.025em;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--accent) 10%, transparent) 0 1px, transparent 1.5px),
    radial-gradient(circle at 78% 72%, color-mix(in srgb, var(--main) 12%, transparent) 0 1px, transparent 1.5px);
  background-size: 22px 22px, 28px 28px;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.keep-words {
  word-break: normal;
  overflow-wrap: normal;
}

h1,
h2,
.brand,
.footer-brand strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", "MS PMincho", serif;
  font-weight: 600;
  letter-spacing: .035em;
}

h1 {
  font-size: clamp(2.15rem, 8.7vw, 4.5rem);
  line-height: 1.22;
  letter-spacing: .025em;
}

h2 {
  font-size: clamp(1.75rem, 5vw, 3.35rem);
  line-height: 1.38;
  letter-spacing: .025em;
}

h3 {
  font-size: clamp(1.05rem, 3.2vw, 1.34rem);
  line-height: 1.5;
}

.numeric,
.lot-code,
.metric strong,
.company-table dd,
.case-no {
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--main);
  color: #1b120a;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(100% - 32px, var(--content));
  min-height: 68px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}

.brand-logo {
  display: block;
  width: clamp(132px, 17vw, 185px);
  height: auto;
}

.brand-mark {
  display: grid;
  width: 34px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50% 50% 46% 54%;
  background: var(--main);
  color: var(--white);
  transform: rotate(-8deg);
}

.brand-mark svg {
  width: 21px;
  transform: rotate(8deg);
}

.site-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 8px 9px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a[aria-current="page"] {
  background: var(--main-pale);
  color: var(--ink);
}

.site-nav .nav-contact {
  background: var(--accent);
  color: #21150a;
}

.lang-toggle {
  flex: 0 0 auto;
  margin-left: 2px;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--main-2) 45%, transparent);
  border-radius: 999px;
  background: transparent;
  color: var(--main-2);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  cursor: pointer;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  background: var(--main-pale);
}

.container {
  width: min(100% - 36px, var(--content));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--main-2);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 2.3vw, 1.18rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--main);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(23, 52, 45, 0.16);
}

.button-primary {
  background: var(--main);
  color: var(--white);
}

.button-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: #21150a;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 8vw, 104px) 0 clamp(56px, 10vw, 122px);
  background: #eee8dc;
}

.hero::after {
  display: none;
}

.hero-grid {
  display: grid;
  gap: 38px;
}

.hero-copy {
  max-width: 780px;
}

.hero-copy h1 span {
  color: var(--main-2);
}

.hero-copy .lead {
  max-width: 650px;
  margin-bottom: 28px;
}

.hero-photo {
  min-height: min(42vw, 550px);
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 24px 24px 0 color-mix(in srgb, var(--main-pale) 76%, transparent);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.lot-board {
  position: relative;
  max-width: 860px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lot-board::before {
  position: absolute;
  top: -7px;
  left: 24px;
  width: 92px;
  height: 14px;
  border-radius: 2px;
  content: "";
  background: color-mix(in srgb, var(--accent) 78%, transparent);
  transform: rotate(-2deg);
}

.lot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}

.lot-head strong {
  font-size: 0.92rem;
}

.lot-code {
  color: var(--ink-soft);
  font-size: 0.77rem;
}

.flow-strip {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.flow-step {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
}

.flow-icon,
.icon-badge {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 14px;
  background: var(--main-pale);
  color: var(--main-2);
}

.flow-icon svg,
.icon-badge svg {
  width: 23px;
}

.flow-step b {
  display: block;
  font-size: 0.92rem;
}

.flow-step small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.73rem;
  line-height: 1.5;
}

.flow-check {
  color: var(--main-2);
  font-weight: 900;
}

.section {
  padding: clamp(64px, 10vw, 126px) 0;
}

.section-tint {
  background: var(--paper-deep);
}

.section-dark {
  background: #173c32;
  color: #fff9ee;
}

@media (prefers-color-scheme: dark) {
  .section-dark {
    background: #0b120f;
  }
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 6vw, 58px);
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.checkpoint-grid,
.service-grid,
.principle-grid,
.contact-cards {
  display: grid;
  gap: 14px;
}

.checkpoint {
  position: relative;
  padding: 24px 0;
  border-top: 1px solid var(--main);
  background: transparent;
}

.checkpoint::after {
  display: none;
}

.checkpoint .icon-badge {
  display: none;
}

.checkpoint p,
.service-card p,
.principle-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.quality-layout {
  display: grid;
  gap: 28px;
}

.quality-orbit {
  display: grid;
  min-height: 310px;
  place-items: center;
}

.quality-orbit svg {
  width: min(100%, 420px);
  color: var(--main-2);
}

.quality-list {
  display: grid;
  gap: 12px;
}

.quality-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.quality-item .numeric {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.quality-item h3 {
  margin-bottom: 3px;
}

.quality-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.service-card {
  min-height: 0;
  padding: 26px 0;
  border-top: 1px solid var(--main);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.service-card:nth-child(2) {
  background: transparent;
  color: inherit;
}

.service-card:nth-child(2) p {
  color: var(--ink-soft);
}

.service-card .icon-badge {
  display: none;
}

.service-card:nth-child(2) .icon-badge {
  background: transparent;
  color: inherit;
}

.metric-ribbon {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, #fff 30%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, #fff 22%, transparent);
}

.metric {
  padding: 26px;
  background: #173c32;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: #f6a55e;
  font-size: clamp(2rem, 9vw, 4rem);
  line-height: 1;
}

.metric span {
  font-size: 0.82rem;
}

.note {
  margin-top: 18px;
  color: color-mix(in srgb, #fff 75%, transparent);
  font-size: 0.75rem;
}

.cta-panel {
  display: grid;
  gap: 28px;
  padding: clamp(26px, 6vw, 58px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 15%, color-mix(in srgb, var(--accent) 35%, transparent) 0 12%, transparent 12.5%),
    var(--main);
  color: var(--white);
}

.cta-panel p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--white) 76%, transparent);
}

.cta-panel .button {
  align-self: center;
}

.page-hero {
  padding: clamp(52px, 9vw, 100px) 0 clamp(42px, 7vw, 74px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 8.2vw, 5rem);
}

.page-hero .lead {
  max-width: 690px;
  margin-bottom: 0;
}

.case-stack {
  display: grid;
  gap: 24px;
}

.case-sheet {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.case-side {
  position: relative;
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  background: var(--main);
  color: var(--white);
}

.case-side::after {
  position: absolute;
  right: -45px;
  bottom: -50px;
  width: 170px;
  aspect-ratio: 1;
  border: 24px solid color-mix(in srgb, var(--accent) 65%, transparent);
  border-radius: 50%;
  content: "";
}

.case-no {
  color: color-mix(in srgb, var(--white) 65%, transparent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.case-type {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  line-height: 1.25;
}

.case-main {
  padding: clamp(24px, 5vw, 48px);
}

.case-grid {
  display: grid;
  gap: 22px;
}

.case-label {
  display: block;
  margin-bottom: 7px;
  color: var(--main-2);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.case-main p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
}

.process-track {
  display: grid;
  gap: 0;
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: 0 0 30px 54px;
  counter-increment: process;
}

.process-step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 36px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  content: counter(process, decimal-leading-zero);
  background: var(--accent);
  color: #21150a;
  font-size: 0.72rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 38px;
  bottom: 2px;
  left: 17px;
  width: 1px;
  content: "";
  background: var(--line);
}

.process-step h3 {
  margin-bottom: 5px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.origin-layout {
  display: grid;
  gap: 34px;
  align-items: center;
}

.origin-art {
  padding: 24px;
  border-radius: 42% 58% 51% 49%;
  background: var(--main-pale);
}

.origin-art svg {
  width: 100%;
  color: var(--main-2);
}

.principle-card {
  padding: 24px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
}

.company-table {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  display: grid;
  gap: 5px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 800;
}

.company-table dd {
  margin: 0;
  font-weight: 700;
}

.contact-layout {
  display: grid;
  gap: 30px;
}

.contact-aside {
  display: grid;
  align-content: start;
  gap: 14px;
}

.contact-card {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--main-pale);
}

.contact-card .numeric {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--main-2);
  font-size: 0.76rem;
  font-weight: 900;
}

.contact-card h3 {
  margin-bottom: 5px;
}

.contact-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.form-shell {
  padding: clamp(22px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-note {
  margin-bottom: 26px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  background: var(--accent-pale);
  color: var(--ink);
  font-size: 0.8rem;
}

.field-grid {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.field legend {
  font-size: 0.84rem;
  font-weight: 800;
}

.required {
  margin-left: 6px;
  color: var(--accent);
  font-size: 0.7rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--surface-strong);
  color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--main-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--main) 16%, transparent);
}

.field-full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.form-actions small {
  color: var(--ink-soft);
}

.site-footer {
  margin-top: clamp(64px, 10vw, 120px);
  padding: 42px 0 28px;
  background: #102d25;
  color: #f9f4e9;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand {
  max-width: 390px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.07rem;
}

.footer-brand p {
  margin-bottom: 0;
  color: rgba(249, 244, 233, 0.68);
  font-size: 0.8rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-content: start;
}

.footer-nav a {
  color: rgba(249, 244, 233, 0.83);
  font-size: 0.8rem;
}

.copyright {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(249, 244, 233, 0.55);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 620px) {
  .site-nav a {
    padding-inline: 13px;
    font-size: 0.82rem;
  }

  .flow-strip,
  .checkpoint-grid,
  .contact-cards,
  .principle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-ribbon {
    grid-template-columns: repeat(3, 1fr);
  }

  .company-table div {
    grid-template-columns: 150px 1fr;
    gap: 20px;
  }

  .field-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 820px) {
  .header-inner {
    min-height: 78px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    align-items: center;
  }

  .flow-strip {
    grid-template-columns: 1fr;
  }

  .checkpoint-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .quality-layout,
  .origin-layout {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-panel {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .case-sheet {
    grid-template-columns: 280px 1fr;
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
    align-items: start;
  }
}

@media (max-width: 460px) {
  .header-inner {
    width: min(100% - 20px, var(--content));
    gap: 9px;
  }

  .brand span:last-child {
    max-width: 116px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-mark {
    width: 30px;
  }

  .site-nav {
    margin-right: -10px;
    padding-right: 10px;
  }

  .site-nav a {
    padding-inline: 7px;
  }

  .flow-step {
    grid-template-columns: 38px 1fr auto;
    gap: 9px;
  }

  .lot-board {
    padding: 18px 15px;
  }

  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 460px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .site-nav {
    display: none;
  }

  h1,
  h2 {
    overflow-wrap: anywhere;
    word-break: auto-phrase;
  }

  h1 {
    font-size: clamp(2rem, 10.5vw, 2.45rem);
  }
}

/* 石誠堂サンプルの静かな動きを、浜佐園の茶葉写真に合わせて調整 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .08s linear;
}

#intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(110% 90% at 50% 44%, #285641, #102d24 72%);
  color: #f8f2e7;
  pointer-events: none;
  animation: hamasaen-intro-safe .75s ease 4.6s forwards;
}

#intro.is-running { animation: hamasaen-intro-out .85s cubic-bezier(.7, 0, .3, 1) 3.15s forwards; }

.intro-mark {
  width: min(84vw, 680px);
  padding: 24px;
  text-align: center;
}

.intro-mark b {
  display: block;
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-size: clamp(4rem, 10vw, 7.8rem);
  font-weight: 800;
  letter-spacing: .22em;
  line-height: 1.22;
  opacity: 0;
  transform: translateY(30px);
  text-shadow: 0 12px 56px rgba(0, 0, 0, .28);
}

.intro-mark span {
  display: block;
  width: 0;
  height: 1px;
  margin: 26px auto 18px;
  background: #d8a05c;
  opacity: 0;
}

.intro-mark small {
  display: block;
  color: #d6e1d8;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .34em;
  opacity: 0;
  transform: translateY(12px);
}

#intro.is-running .intro-mark b { animation: hamasaen-mark-in 1.15s cubic-bezier(.22, 1, .36, 1) .18s forwards; }
#intro.is-running .intro-mark span { animation: hamasaen-line-in .9s cubic-bezier(.5, 0, .2, 1) 1.02s forwards; }
#intro.is-running .intro-mark small { animation: hamasaen-mark-in .75s ease 1.32s forwards; }

@keyframes hamasaen-mark-in { to { opacity: 1; transform: none; } }
@keyframes hamasaen-line-in { to { width: min(54vw, 330px); opacity: .86; } }
@keyframes hamasaen-intro-out { to { opacity: 0; visibility: hidden; } }
@keyframes hamasaen-intro-safe { to { opacity: 0; visibility: hidden; } }

.hero {
  display: flex;
  min-height: min(860px, 100svh);
  align-items: flex-end;
  padding: 132px 0 92px;
  background: #173c32;
}

.hero::after {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(13, 35, 29, .88) 0%, rgba(13, 35, 29, .67) 42%, rgba(13, 35, 29, .24) 75%, rgba(13, 35, 29, .12) 100%);
}

.hero-grid {
  position: static;
  display: block;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  min-height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.hero-photo img {
  min-height: 100%;
  object-position: center top;
  filter: saturate(.82) contrast(.96);
  animation: tea-slow-zoom 12s ease-out both;
}

@keyframes tea-slow-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 660px;
  color: #fffdf7;
}

.hero-copy h1,
.hero-copy h1 span {
  color: #fffdf7;
  text-shadow: 0 5px 34px rgba(0, 0, 0, .28);
}

.hero-copy .lead,
.hero-copy .eyebrow {
  color: rgba(255, 253, 247, .88);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .28);
}

.hero-copy .eyebrow::before { background: var(--accent); }
.hero-copy .button { border-color: rgba(255, 253, 247, .72); color: #fffdf7; }
.hero-copy .button-primary { border-color: var(--accent); background: var(--accent); color: #20160d; }

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .lead,
.hero-copy .button-row {
  opacity: 0;
  animation: hero-rise .9s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hero-copy .eyebrow { animation-delay: .12s; }
.hero-copy h1 { animation-delay: .25s; }
.hero-copy .lead { animation-delay: .43s; }
.hero-copy .button-row { animation-delay: .58s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
}

[data-reveal].is-visible { opacity: 1; transform: none; }
.quality-photo[data-reveal] { clip-path: inset(0 0 100% 0); transform: none; transition: clip-path 1.1s cubic-bezier(.22, 1, .36, 1); }
.quality-photo[data-reveal].is-visible { clip-path: inset(0); }

h1,
h2,
.brand,
.footer-brand strong {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", "MS PMincho", serif;
}

@media (max-width: 820px) {
  .hero {
    min-height: 720px;
    padding: 150px 0 72px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(13, 35, 29, .84) 0%, rgba(13, 35, 29, .48) 58%, rgba(13, 35, 29, .18) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  #intro { display: none; }
  .hero-photo img,
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy .lead,
  .hero-copy .button-row {
    animation: none;
    opacity: 1;
    transform: none;
  }

  [data-reveal],
  .quality-photo[data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* モバイルのメニュー。普段の導線を隠さず、必要なときだけ開く。 */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--main) 28%, var(--line));
  border-radius: 50%;
  background: color-mix(in srgb, var(--paper) 94%, white);
  color: var(--main);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .22s ease, opacity .18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(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(-5px) rotate(-45deg); }

.menu-backdrop {
  position: fixed;
  inset: 62px 0 0;
  z-index: 45;
  background: rgba(13, 35, 29, .36);
}

.mobile-nav {
  position: fixed;
  top: 62px;
  right: 16px;
  z-index: 50;
  display: grid;
  min-width: min(280px, calc(100vw - 32px));
  max-height: calc(100svh - 78px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 9px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, white);
  border-radius: 16px;
  background: rgba(255, 253, 247, .98);
  box-shadow: 0 18px 42px rgba(10, 34, 26, .22);
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  padding: 13px 15px;
  border-radius: 10px;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
}

.lang-toggle-mobile {
  width: 100%;
  margin-top: 4px;
  padding: 13px 15px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, white);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: .94rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mobile-nav a:active,
.mobile-nav a:focus-visible {
  background: var(--main-pale);
  outline: none;
}

@media (max-width: 820px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  body.menu-open { overflow: hidden; }
}

@media (min-width: 821px) {
  .mobile-nav,
  .menu-backdrop { display: none !important; }
}
