:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5d6864;
  --line: #d9e0dd;
  --surface: #f4f7f5;
  --green: #176b54;
  --green-dark: #0e4939;
  --aqua: #dff3ee;
  --yellow: #f2c84b;
  --white: #ffffff;
  font-family:
    "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 4px;
}

nav {
  display: flex;
  gap: 28px;
}

nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.88rem;
  text-decoration: none;
}

nav a:hover,
.footer-links a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: min(76vh, 720px);
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 35, 28, 0.86) 0%,
    rgba(10, 35, 28, 0.65) 35%,
    rgba(10, 35, 28, 0.12) 68%,
    rgba(10, 35, 28, 0.02) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(76vh, 720px);
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 5vw 110px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero .eyebrow {
  color: #b6e5d8;
}

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

.hero h1 {
  margin-bottom: 14px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
}

.primary-link,
.mail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 10px 22px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 5vw;
}

.section-heading h2,
.contact-band h2,
.policy-heading h1 {
  margin-bottom: 26px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 56px 80px;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.02rem;
}

.business-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.business-list div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.business-list div:last-child {
  border-right: 0;
}

.business-list dt {
  margin-bottom: 8px;
  color: var(--green);
  font-weight: 800;
}

.business-list dd {
  margin: 0;
  color: var(--muted);
}

.brands-section {
  max-width: none;
  padding-right: max(5vw, calc((100vw - 1180px) / 2));
  padding-left: max(5vw, calc((100vw - 1180px) / 2));
  background: var(--surface);
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.brand-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  min-height: 240px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.brand-item.medaka {
  border-top: 5px solid #2a9d8f;
}

.brand-item.sweets {
  border-top: 5px solid #e9b949;
}

.brand-number {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 800;
}

.brand-item h3 {
  margin-bottom: 14px;
  font-size: 1.55rem;
  letter-spacing: 0;
}

.brand-item p:last-child {
  color: var(--muted);
}

.profile-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
}

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

.profile-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.profile-table dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.profile-table dd {
  margin: 0;
  font-weight: 600;
}

.profile-table a,
.policy-body a {
  color: var(--green);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 70px max(5vw, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--green-dark);
}

.contact-band .eyebrow {
  color: #a7ddce;
}

.contact-band h2 {
  margin-bottom: 12px;
}

.contact-band p:last-child {
  margin-bottom: 0;
  color: #d8e8e3;
}

footer {
  padding: 36px 5vw 24px;
  color: var(--muted);
  background: #111816;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 0;
  color: var(--white);
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #c7d0cd;
}

.copyright {
  max-width: 1180px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid #34403c;
  font-size: 0.75rem;
}

.policy-page {
  padding: 80px 5vw 100px;
  background: var(--surface);
}

.policy-heading,
.policy-body {
  max-width: 880px;
  margin: 0 auto;
}

.policy-heading {
  padding-bottom: 38px;
}

.policy-heading h1 {
  margin-bottom: 12px;
}

.policy-heading > p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.policy-body {
  padding: 48px clamp(24px, 5vw, 64px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.policy-body section {
  margin-top: 42px;
}

.policy-body h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.policy-body p,
.policy-body li {
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
  }

  nav {
    display: none;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .hero > img {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(10, 35, 28, 0.88) 0%,
      rgba(10, 35, 28, 0.66) 62%,
      rgba(10, 35, 28, 0.25) 100%
    );
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 72px;
  }

  .intro,
  .profile-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .business-list,
  .brand-grid {
    grid-template-columns: 1fr;
  }

  .business-list div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .brand-item {
    min-height: auto;
    padding: 28px 24px;
  }

  .profile-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-band,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .mail-link {
    width: 100%;
    overflow-wrap: anywhere;
  }
}
