:root {
  --green: #006244;
  --green-deep: #014a33;
  --mint: #e4f0ec;
  --mint-bright: #f4faf7;
  --leaf: #7fb44d;
  --terra: #d06e49;
  --ink: #17251f;
  --body: #39463f;
  --muted: #6f7773;
  --paper: #fffefb;
  --white: #fff;
  --border: #d7e4dd;
  --shadow: 0 10px 30px rgba(1, 74, 51, 0.11);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  padding-bottom: 76px;
  background: var(--paper);
  color: var(--body);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }

.shell { width: min(calc(100% - 32px), 760px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 9px 14px; border-radius: 6px; background: var(--white); color: var(--green); font-size: 13px; font-weight: 700; transform: translateY(-150%); transition: transform 0.16s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }

.site-header { position: sticky; z-index: 20; top: 0; background: var(--green); box-shadow: 0 2px 12px rgba(1, 74, 51, 0.19); }
.header-inner { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: flex; align-items: center; min-width: 0; }
.brand img { width: min(230px, 57vw); height: auto; }
.header-contact { display: inline-flex; min-height: 44px; flex: none; align-items: center; gap: 6px; padding: 0 14px; border-radius: 999px; background: var(--white); color: var(--green); font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.header-contact svg { width: 16px; }

.hero { position: relative; overflow: hidden; padding: 43px 0 40px; background: var(--mint); }
.hero::after { position: absolute; z-index: 0; bottom: -37px; left: -8px; color: rgba(0, 98, 68, 0.055); content: "SHIRAISHI"; font-size: clamp(72px, 20vw, 138px); font-weight: 800; letter-spacing: -0.09em; pointer-events: none; }
.hero-pattern { position: absolute; right: -42px; top: -42px; width: 178px; height: 178px; border: 1px solid rgba(0, 98, 68, 0.12); border-radius: 50%; box-shadow: 0 0 0 28px rgba(0, 98, 68, 0.035), 0 0 0 57px rgba(0, 98, 68, 0.02); }
.hero-inner { position: relative; z-index: 1; }
.hero-copy { max-width: 620px; }
.eyebrow, .section-kicker { margin: 0; color: var(--green); font-family: "Kiwi Maru", serif; font-size: 12px; font-weight: 500; letter-spacing: 0.08em; }
.hero h1 { margin: 8px 0 14px; color: var(--ink); font-size: clamp(31px, 8vw, 50px); font-weight: 800; letter-spacing: 0.02em; line-height: 1.32; }
.hero h1 span { color: var(--green); }
.hero-lead { margin: 0; color: #34443c; font-size: clamp(14px, 2.7vw, 17px); line-height: 1.95; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding: 9px 13px; border: 1px solid rgba(0, 98, 68, 0.16); border-radius: 999px; color: var(--green-deep); background: rgba(255,255,255,.58); font-size: 11px; font-weight: 700; }
.note-number { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--green); color: var(--white); font-size: 10px; }
.note-arrow { color: var(--leaf); font-size: 15px; }

.categories-section { padding: 34px 0 43px; }
.centered-heading { text-align: center; }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; }
.section-kicker::before, .section-kicker::after { width: 20px; height: 1px; background: currentColor; content: ""; }
.centered-heading h2, .contact h2 { margin: 7px 0 5px; color: #142019; font-size: clamp(22px, 5.8vw, 34px); font-weight: 800; letter-spacing: 0.05em; line-height: 1.45; }
.centered-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 23px; }
.category { position: relative; display: flex; min-height: 205px; flex-direction: column; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); text-align: left; box-shadow: var(--shadow); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.category:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(1, 74, 51, 0.16); }
.category:active { transform: scale(.985); }
.category-art { position: relative; display: grid; height: 111px; place-items: center; overflow: hidden; background: var(--mint); }
.category-art::after { position: absolute; top: -29px; right: -26px; width: 104px; height: 104px; border: 1px solid rgba(0, 98, 68, .12); border-radius: 50%; content: ""; }
.category-art svg { position: relative; z-index: 1; width: 79px; height: 79px; color: var(--green); stroke-width: 1.55; }
.category-tag { position: absolute; z-index: 2; top: 0; left: 0; padding: 3px 8px; background: var(--green); color: var(--white); font-family: "Kiwi Maru", serif; font-size: 10px; letter-spacing: .04em; }
.category[data-type="reform"] .category-tag { background: var(--leaf); }
.category[data-type="care"] .category-tag { background: var(--terra); }
.category-copy { padding: 11px 35px 14px 12px; font-size: clamp(13px, 3.5vw, 16px); font-weight: 700; letter-spacing: .015em; line-height: 1.45; }
.category-copy span { display: block; }
.category-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.5; }
.category-arrow { position: absolute; right: 11px; bottom: 11px; color: var(--green); font-size: 23px; line-height: 1; }

.video-section { padding: 35px 0 40px; background: var(--green); color: var(--white); scroll-margin-top: 65px; }
.video-section-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.section-kicker.pale { color: #cce7da; }
.section-kicker.pale::before, .section-kicker.pale::after { display: none; }
.video-section h2 { margin: 2px 0 3px; color: var(--white); font-size: clamp(21px, 5.5vw, 30px); line-height: 1.4; }
.video-count { margin: 0; color: #d6ebe1; font-size: 12px; }
.change-category { min-height: 42px; flex: none; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px; background: transparent; color: var(--white); font-size: 11px; font-weight: 700; cursor: pointer; }
.video-grid { display: grid; gap: 16px; }
.video-card { overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); background: var(--white); color: var(--ink); text-align: left; box-shadow: 0 7px 20px rgba(0, 31, 22, .3); cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.video-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 31, 22, .42); }
.video-card:active { transform: scale(.985); }
.video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #d5e6dd; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.play-mark { position: absolute; top: 50%; left: 50%; display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: rgba(0, 98, 68, .9); color: var(--white); transform: translate(-50%, -50%); box-shadow: 0 4px 15px rgba(0, 0, 0, .3); }
.play-mark svg { width: 23px; margin-left: 3px; fill: currentColor; stroke: none; }
.video-copy { padding: 13px 14px 15px; }
.video-copy strong { display: block; font-size: 14px; line-height: 1.65; }
.video-watch { display: block; margin-top: 8px; color: var(--green); font-size: 11px; font-weight: 800; }
.more-wrap { margin-top: 20px; text-align: center; }
.more-videos { min-height: 50px; padding: 0 22px; border: 1px solid var(--white); border-radius: 999px; background: var(--white); color: var(--green); font-size: 13px; font-weight: 800; cursor: pointer; }

.about { padding: 43px 0 40px; background: var(--mint); text-align: center; }
.about-inner { max-width: 570px; }
.about-portrait-wrap { display: inline-block; padding: 4px; border: 2px solid rgba(0, 98, 68, .12); border-radius: 50%; background: var(--white); }
.about-portrait { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; }
.about-label { margin: 10px 0 1px; color: var(--green); font-size: 12px; font-weight: 800; }
.about h2 { margin: 0; color: #152018; font-size: clamp(21px, 5.3vw, 30px); letter-spacing: .04em; line-height: 1.5; }
.about-copy { margin: 8px 0 0; font-size: 13px; line-height: 1.9; }
.social-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.social-card { display: flex; min-height: 86px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: var(--radius); background: var(--white); color: var(--green); font-size: 12px; font-weight: 800; text-decoration: none; box-shadow: 0 3px 12px rgba(1, 74, 51, .08); transition: transform .18s ease; }
.social-card:hover { transform: translateY(-2px); }
.social-card svg { width: 27px; height: 27px; }

.contact { padding: 40px 0; background: var(--white); text-align: center; }
.contact-inner { max-width: 600px; }
.contact > .shell > p:not(.section-kicker) { margin: 0 0 20px; font-size: 13px; }
.contact-actions { display: grid; gap: 10px; }
.button { display: flex; min-height: 53px; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid var(--green); border-radius: 999px; font-size: 14px; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--green); color: var(--white); }
.button-secondary { background: var(--white); color: var(--green); }
.button-secondary span { letter-spacing: .035em; }

.site-footer { padding: 31px 0 29px; background: var(--green); color: var(--white); text-align: center; }
.footer-links { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.footer-link { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 50%; background: var(--white); color: #65716b; text-decoration: none; transition: transform .18s ease; }
.footer-link:hover { transform: translateY(-2px); }
.footer-link svg { width: 22px; height: 22px; }
.footer-link--site { display: flex; width: auto; gap: 6px; padding: 0 15px; border-radius: 999px; color: var(--green); font-size: 11px; font-weight: 800; }
.site-footer small { display: block; margin-top: 17px; color: #d4e7de; font-size: 10px; }

.mobile-nav { position: fixed; z-index: 15; right: 0; bottom: 0; left: 0; display: grid; height: 76px; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); background: var(--white); box-shadow: 0 -3px 18px rgba(1, 74, 51, .15); }
.mobile-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--green); font-size: 10px; font-weight: 800; text-decoration: none; }
.mobile-nav svg { width: 23px; height: 23px; }

.video-modal { width: min(100% - 32px, 840px); overflow: visible; padding: 0; border: 0; background: transparent; color: var(--white); }
.video-modal::backdrop { background: rgba(1, 45, 33, .94); }
.modal-inner { position: relative; }
.modal-close { position: absolute; z-index: 1; top: -54px; right: 0; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; background: transparent; color: var(--white); font-size: 27px; line-height: 1; cursor: pointer; }
.video-player { aspect-ratio: 16 / 9; background: #000; box-shadow: 0 10px 40px rgba(0,0,0,.33); }
.video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.modal-title { margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
.noscript { margin: 0; padding: 14px; background: #fff1ed; color: #7c3322; text-align: center; font-size: 13px; }

@media (min-width: 600px) {
  body { padding-bottom: 0; }
  .shell { width: min(calc(100% - 48px), 960px); }
  .hero { padding: 61px 0 54px; }
  .hero-copy { max-width: 660px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-actions { grid-template-columns: 1fr 1fr; }
  .mobile-nav { display: none; }
}

@media (min-width: 1000px) {
  .hero-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
  .hero-note { margin: 0 0 8px; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 370px) {
  .hero h1 { font-size: 29px; }
  .category-copy { padding-left: 10px; font-size: 12px; }
  .header-contact { padding: 0 11px; }
}

@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; }
}
