/* =========================
   Base
========================= */
:root {
  --blue: #0878a8;
  --blue-dark: #05618a;
  --green: #79a943;
  --orange: #e6a23a;
  --red: #d5645f;
  --ink: #20252a;
  --muted: #687078;
  --line: #e8eaec;
  --soft: #f7f7f3;
  --soft-blue: #eef8fb;
  --header-h: 78px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
  line-height: 1.8;
}

img {
  display: block;
  width: 100%;
}

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

strong { font-weight: 700; }

/* =========================
   Header
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: .04em;
}

.brand-sub {
  margin-top: 5px;
  color: #687078;
  font-size: 10px;
  letter-spacing: .08em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 13px;
  font-weight: 700;
}

.global-nav > a:not(.nav-contact) {
  position: relative;
  padding: 28px 0 23px;
}

.global-nav > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transform: translateX(-50%);
  transition: width .2s ease;
}

.global-nav > a:hover::after,
.global-nav > a.is-active::after {
  width: 100%;
}

.nav-contact {
  padding: 12px 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 9px;
  box-shadow: 0 5px 18px rgba(8,120,168,.18);
}

.nav-contact:hover { background: var(--blue-dark); }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: .25s ease;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("assets/hero.jpg") center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(14,25,30,.82) 0%,
      rgba(14,25,30,.67) 35%,
      rgba(14,25,30,.20) 70%,
      rgba(14,25,30,.08) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 55px 0;
  color: #fff;
}

.hero-label {
  display: inline-block;
  margin: 0 0 13px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.hero h1 {
  margin: 0;
  line-height: 1.24;
}

.hero-brand {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.2vw, 72px);
  letter-spacing: .025em;
}

.hero-message {
  font-size: clamp(32px, 3.8vw, 53px);
  letter-spacing: .04em;
}

.hero-copy {
  margin: 20px 0 0;
  max-width: 630px;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 1px 5px rgba(0,0,0,.35);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-width: 205px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}

.button-primary {
  color: #fff;
  background: var(--blue);
}

.button-primary:hover { background: var(--blue-dark); }

.button-light {
  color: var(--ink);
  background: rgba(255,255,255,.96);
}

.hero-badge {
  position: absolute;
  z-index: 2;
  right: max(5vw, 34px);
  top: 50%;
  width: 140px;
  aspect-ratio: 1;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  transform: translateY(-50%) rotate(-4deg);
}

/* =========================
   Common sections
========================= */
.section { padding: 82px 0; }

.section-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.section-heading {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2,
.intro-heading h2,
.products-copy h2,
.story h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 3.25vw, 43px);
  line-height: 1.45;
  letter-spacing: .06em;
}

.section-heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
}

/* =========================
   Intro
========================= */
.intro {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  gap: 80px;
  align-items: start;
}

.intro-copy {
  color: #525a61;
}

.intro-copy p {
  margin: 0 0 18px;
}

.intro-copy .lead {
  color: var(--ink);
  font-size: 18px;
}

.feature-row {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.feature-number {
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.feature h3 {
  margin: 12px 0 9px;
  font-size: 20px;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* =========================
   Activities
========================= */
.section-activities {
  background: var(--soft);
}

.card-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.activity-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(0,0,0,.045);
  transition: transform .2s ease, box-shadow .2s ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0,0,0,.09);
}

.card-image {
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  background: #eee;
}

.card-image img {
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.activity-card:hover .card-image img {
  transform: scale(1.035);
}

.card-body {
  min-height: 175px;
  padding: 18px 16px 20px;
}

.card-category {
  display: block;
  margin-bottom: 5px;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.5;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* =========================
   Products
========================= */
.products {
  background: #fff;
}

.products-inner {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.products-copy p:not(.section-kicker) {
  color: var(--muted);
}

.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.product-pill {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  font-weight: 700;
  text-align: center;
}

/* =========================
   Story
========================= */
.story {
  min-height: 390px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 78px 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.97), rgba(255,255,255,.73) 46%, rgba(224,241,247,.83) 100%),
    linear-gradient(180deg, #eef9fd 0%, #d7eff7 100%);
}

.story::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -95px;
  height: 225px;
  opacity: .34;
  background:
    radial-gradient(ellipse at 12% 100%, #8da87e 0 28%, transparent 29%),
    radial-gradient(ellipse at 35% 100%, #789873 0 34%, transparent 35%),
    radial-gradient(ellipse at 62% 100%, #72926d 0 31%, transparent 32%),
    radial-gradient(ellipse at 86% 100%, #8eab7f 0 30%, transparent 31%);
}

.story-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
}

.story-inner > p:not(.section-kicker) {
  margin: 18px 0 0;
  font-size: 16px;
}

.heading-line {
  display: block;
  width: 42px;
  height: 3px;
  margin: 15px auto;
  background: var(--blue);
}

/* =========================
   Information
========================= */
.info-section {
  background: #fff;
}

.info-card {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(0,0,0,.055);
}

.info-list {
  margin: 0;
  padding: 28px 34px;
}

.info-list > div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.info-list > div:last-child { border-bottom: 0; }

.info-list dt {
  font-weight: 700;
}

.info-list dd {
  margin: 0;
  color: #5d656c;
}

.info-list a {
  color: var(--blue);
}

.contact-panel {
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background:
    linear-gradient(160deg, var(--blue) 0%, #0f91b8 100%);
}

.contact-small {
  margin: 0;
  font-size: 12px;
  opacity: .88;
}

.contact-panel h3 {
  margin: 7px 0 20px;
  font-size: 23px;
  line-height: 1.5;
}

.contact-tel {
  margin-bottom: 20px;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .02em;
}

.contact-panel .button-primary {
  color: var(--ink);
  background: #fff;
}

/* =========================
   Footer
========================= */
.site-footer {
  padding: 40px max(20px, calc((100% - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  color: #fff;
  background: #1e2b32;
}

.site-footer strong {
  font-family: Georgia, serif;
  font-size: 25px;
}

.site-footer p {
  margin: 6px 0 0;
  font-size: 13px;
}

.copyright { opacity: .65; }

/* =========================
   Responsive
========================= */
@media (max-width: 1050px) {
  .global-nav {
    gap: 17px;
    font-size: 12px;
  }

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

  .hero-badge {
    right: 28px;
  }
}

@media (max-width: 820px) {
  :root { --header-h: 68px; }

  .header-inner {
    width: calc(100% - 28px);
  }

  .brand-title { font-size: 23px; }

  .brand-sub { font-size: 9px; }

  .menu-button {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .menu-button.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 24px;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0,0,0,.09);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
  }

  .global-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .global-nav > a:not(.nav-contact) {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
  }

  .global-nav > a:not(.nav-contact)::after {
    display: none;
  }

  .nav-contact {
    margin-top: 14px;
    text-align: center;
  }

  .hero {
    min-height: 490px;
    background-position: 38% center;
  }

  .hero-overlay {
    background: rgba(18,28,34,.60);
  }

  .hero-inner {
    width: calc(100% - 40px);
    padding: 45px 0;
  }

  .hero-badge { display: none; }

  .intro-grid,
  .products-inner,
  .info-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
  }

  .products-inner {
    gap: 38px;
  }

  .contact-panel {
    min-height: 285px;
  }
}

@media (max-width: 620px) {
  .section { padding: 62px 0; }

  .hero {
    min-height: 415px;
    background-position: 40% center;
  }

  .hero-label {
    font-size: 10px;
  }

  .hero-brand {
    font-size: 37px;
  }

  .hero-message {
    font-size: 28px;
  }

  .hero-copy {
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .intro {
    width: calc(100% - 28px);
  }

  .intro-grid {
    gap: 28px;
  }

  .intro-copy .lead {
    font-size: 16px;
  }

  .card-grid {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .activity-card {
    display: grid;
    grid-template-columns: 42% 58%;
  }

  .card-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .card-body {
    min-height: 155px;
  }

  .product-list {
    grid-template-columns: 1fr;
  }

  .info-list {
    padding: 20px;
  }

  .info-list > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .info-list dt {
    font-size: 13px;
    color: var(--blue);
  }

  .contact-panel {
    padding: 30px 22px;
  }

  .contact-tel {
    font-size: 26px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =========================
   Social links
========================= */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-link:hover {
  color: var(--blue-dark);
}

/* =========================
   FAQ
========================= */
.faq-section {
  background: #fff;
}

.faq-list {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  border: 1px solid #d7dadd;
  background: #fff;
}

.faq-question {
  width: 100%;
  min-height: 72px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: center;
  border: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  background: #fafafa;
}

.faq-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
  color: #333;
  transform: rotate(0deg);
  transition: transform .22s ease;
}

.faq-item:not(.is-open) .faq-symbol {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .25s ease;
}

.faq-item:not(.is-open) .faq-answer {
  grid-template-rows: 0fr;
}

.faq-answer-inner {
  overflow: hidden;
  margin: 0 24px 24px 24px;
  padding: 22px 24px;
  background: #f4f4f4;
  color: #333;
  line-height: 1.9;
}

.faq-item:not(.is-open) .faq-answer-inner {
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 620px) {
  .faq-list {
    width: calc(100% - 28px);
  }

  .faq-question {
    min-height: 64px;
    padding: 16px 15px;
    grid-template-columns: 22px 1fr;
    gap: 8px;
    font-size: 14px;
  }

  .faq-symbol {
    width: 22px;
    height: 22px;
    font-size: 21px;
  }

  .faq-answer-inner {
    margin: 0 14px 14px;
    padding: 18px;
    font-size: 14px;
  }
}
