:root {
  --ink: #172433;
  --navy: #1d334d;
  --muted: #66717d;
  --line: #dbe1e5;
  --paper: #ffffff;
  --soft: #f5f3ee;
  --mist: #f7f9fa;
  --green: #26463b;
  --gold: #b49762;
  --shadow: 0 22px 70px rgba(23, 36, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  line-break: strict;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 86px;
  padding: 16px clamp(22px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 225, 229, 0.85);
  backdrop-filter: blur(18px);
}

.brand img {
  width: clamp(160px, 17vw, 230px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.7vw, 26px);
  color: var(--navy);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a {
  padding: 8px 0;
}

.nav-contact {
  padding: 8px 15px !important;
  border: 1px solid var(--navy);
  border-radius: 999px;
}

.language-switch {
  display: flex;
  padding: 3px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-button {
  display: grid;
  place-items: center;
  min-width: 38px;
  min-height: 30px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.lang-button.is-active {
  color: #fff;
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: clamp(58px, 8vw, 112px) clamp(24px, 7vw, 110px);
  background:
    linear-gradient(90deg, #fff 0%, #fff 46%, rgba(245, 243, 238, 0.8) 100%);
}

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

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: keep-all;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3.1vw, 42px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: keep-all;
}

h3 {
  margin-bottom: 14px;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
  word-break: keep-all;
}

.hero-sub {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 2;
  word-break: keep-all;
}

.hero-tagline {
  margin: -10px 0 22px;
  color: var(--gold);
  font-size: clamp(14px, 1.25vw, 16px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.8;
  word-break: keep-all;
}

.no-wrap {
  display: inline-block;
  white-space: nowrap;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover {
  background: #142539;
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--navy);
  background: transparent;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  position: absolute;
  inset: -22px -22px auto auto;
  width: 52%;
  height: 42%;
  content: "";
  background: var(--soft);
  border: 1px solid var(--line);
}

.hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(72px, 9vw, 126px) clamp(24px, 7vw, 110px);
}

.two-way {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: stretch;
  padding-top: clamp(52px, 7vw, 86px);
  padding-bottom: clamp(52px, 7vw, 86px);
  color: #fff;
  background: var(--navy);
}

.two-way-copy > span {
  display: block;
  margin-bottom: 20px;
  color: #d6bc82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.two-way-copy h2 {
  font-size: clamp(25px, 2.9vw, 39px);
  max-width: 720px;
  word-break: normal;
  overflow-wrap: anywhere;
}

.two-way-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.two-way-grid article {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.two-way-grid strong {
  display: block;
  margin-bottom: 24px;
  color: #d6bc82;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.two-way-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.9;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  margin-bottom: 46px;
}

.section-heading > span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about {
  background: var(--mist);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 6vw, 82px);
}

.about-lead {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 2;
}

.company-table {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
}

.company-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.company-table div:last-child {
  border-bottom: 0;
}

.company-table dt {
  color: var(--muted);
}

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

.company-table span {
  color: var(--muted);
  font-weight: 500;
}

.business {
  background: #fff;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.business-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(220px, 1fr);
  min-height: 310px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.business-card img,
.visual-panel {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.business-card > div:last-child {
  padding: 30px;
}

.business-card ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.business-card li + li {
  margin-top: 7px;
}

.packaging-card {
  grid-column: 1 / -1;
  grid-template-columns: minmax(300px, 0.72fr) minmax(360px, 1.28fr);
}

.packaging-card img {
  min-height: 340px;
}

.packaging-card p {
  color: var(--muted);
  font-size: 15px;
}

.card-label {
  margin-bottom: 12px;
  color: var(--gold) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.visual-panel {
  position: relative;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(29, 51, 77, 0.92), rgba(38, 70, 59, 0.82)),
    linear-gradient(45deg, #eef2f5, #d8dee4);
}

.visual-design .visual-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(29, 51, 77, 0.16)),
    repeating-linear-gradient(90deg, #eff2f4 0 18px, #fff 18px 36px);
}

.visual-supply .visual-panel {
  background:
    linear-gradient(135deg, rgba(29, 51, 77, 0.92), rgba(94, 105, 113, 0.76)),
    linear-gradient(90deg, #ccd4da, #f3f5f6);
}

.visual-panel span {
  display: block;
  height: 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}

.visual-design .visual-panel span {
  background: rgba(29, 51, 77, 0.26);
}

.visual-panel span:nth-child(2) {
  width: 72%;
}

.visual-panel span:nth-child(3) {
  width: 48%;
  background: var(--gold);
}

.strength {
  color: #fff;
  background:
    linear-gradient(rgba(23, 36, 51, 0.88), rgba(23, 36, 51, 0.88)),
    url("./assets/hero-business-partnership.png") center / cover no-repeat;
}

.strength .section-heading > span {
  color: #d6bc82;
}

.strength-grid,
.case-list,
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.strength-grid article {
  min-height: 210px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.strength-grid span,
.case-list span,
.compliance-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
}

.strength-grid h3 {
  margin-bottom: 12px;
  font-weight: 500;
}

.strength-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.why {
  background: var(--navy);
  color: #fff;
}

.why .section-heading > span {
  color: #d6bc82;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.why-grid article {
  min-height: 250px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.why-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
}

.why-grid h3 {
  font-size: 18px;
  font-weight: 600;
}

.why-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.8;
}

.process {
  background: var(--soft);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  position: relative;
  min-height: 128px;
  padding: 48px 18px 18px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.6;
  word-break: keep-all;
}

.process-list li::before {
  position: absolute;
  top: 16px;
  left: 18px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  content: "0" counter(step);
  counter-increment: step;
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 2;
  width: 12px;
  height: 1px;
  content: "";
  background: var(--gold);
}

.cases {
  background: #fff;
}

.case-list {
  background: var(--line);
  border-color: var(--line);
}

.case-list article {
  min-height: 190px;
  padding: 30px;
  background: #fff;
}

.case-list h3 {
  margin-bottom: 14px;
}

.case-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
}

.quality {
  background: var(--mist);
}

.quality-intro {
  max-width: 980px;
  margin: -10px 0 34px auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.compliance-grid {
  gap: 18px;
  background: transparent;
  border: 0;
}

.compliance-grid article {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.86)),
    repeating-linear-gradient(0deg, rgba(29, 51, 77, 0.06) 0 1px, transparent 1px 13px);
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(23, 36, 51, 0.07);
}

.compliance-grid article::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 118px;
  height: 118px;
  content: "";
  border: 1px solid rgba(180, 151, 98, 0.5);
  border-radius: 50%;
}

.compliance-grid h3 {
  margin-bottom: 18px;
}

.compliance-grid p {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.compliance-grid small {
  color: var(--muted);
  line-height: 1.8;
}

.faq {
  background: #fff;
}

.faq-list {
  max-width: 980px;
  margin-left: auto;
}

details {
  border-top: 1px solid var(--line);
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  padding: 24px 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.65;
  cursor: pointer;
  word-break: keep-all;
}

details p {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.contact {
  background: var(--soft);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin-left: auto;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: fit-content;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px clamp(24px, 7vw, 110px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer img {
  width: 180px;
}

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

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  min-height: 680px;
  padding: clamp(72px, 9vw, 130px) clamp(24px, 7vw, 110px);
  background: linear-gradient(110deg, #fff 0%, #fff 52%, var(--soft) 100%);
}

.subpage-lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.subpage-visual {
  margin: 0;
}

.subpage-visual img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.subpage-visual figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

.packaging-intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(32px, 7vw, 100px);
  align-items: start;
  background: var(--mist);
}

.packaging-intro .section-heading {
  display: block;
  margin: 0;
}

.packaging-intro .section-heading span {
  display: block;
  margin-bottom: 20px;
}

.packaging-intro > p {
  color: var(--muted);
  line-height: 2.1;
}

.packaging-section {
  background: #fff;
}

.packaging-section.is-soft {
  background: var(--soft);
}

.packaging-section.is-navy {
  color: #fff;
  background: var(--navy);
}

.packaging-section.is-navy .section-heading > span {
  color: #d6bc82;
}

.feature-list,
.check-list,
.support-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-list li,
.check-list li {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 22px 26px;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.check-list li::before {
  margin-right: 14px;
  color: var(--gold);
  content: "—";
}

.support-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.22);
}

.support-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  min-height: 104px;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.support-list span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
}

.packaging-cta {
  text-align: center;
  background: var(--mist);
}

.packaging-cta h2,
.packaging-cta p {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.packaging-cta > p:not(.hero-tagline) {
  color: var(--muted);
}

.contact-page {
  min-height: calc(100vh - 190px);
  background: var(--soft);
}

.contact-page .section-heading {
  margin-bottom: 24px;
}

.contact-page h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
}

.contact-page-lead {
  max-width: 820px;
  margin: 0 0 38px auto;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .two-way,
  .about-grid,
  .business-grid,
  .subpage-hero,
  .packaging-intro {
    grid-template-columns: 1fr;
  }

  .process-list,
  .two-way-grid,
  .strength-grid,
  .why-grid,
  .case-list,
  .compliance-grid,
  .feature-list,
  .check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .packaging-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: auto;
    gap: 14px;
    padding: 18px 20px;
  }

  .brand img {
    width: 170px;
  }

  .nav {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 20px;
    width: 100%;
    padding: 4px 0 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav a {
    display: none;
  }

  .nav a[data-mobile-nav] {
    display: block;
  }

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

  .language-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .hero {
    min-height: auto;
    padding: 52px 22px 72px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.32;
  }

  h2 {
    line-height: 1.48;
  }

  .hero-sub,
  .hero-tagline,
  h1,
  h2,
  h3,
  summary {
    word-break: auto-phrase;
    overflow-wrap: anywhere;
  }

  .hero-media::before {
    display: none;
  }

  .section {
    padding: 64px 22px;
  }

  .section-heading,
  .business-card,
  .company-table div,
  .contact-form,
  .footer {
    grid-template-columns: 1fr;
  }

  .process-list,
  .strength-grid,
  .why-grid,
  .case-list,
  .compliance-grid,
  .feature-list,
  .check-list,
  .support-list {
    grid-template-columns: 1fr;
  }

  .process-list li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -12px;
    left: 28px;
    width: 1px;
    height: 12px;
  }

  .business-card img,
  .visual-panel {
    min-height: 210px;
  }

  .subpage-hero {
    min-height: auto;
    padding: 58px 22px 72px;
  }

  .contact-page-lead {
    margin-left: 0;
  }
}
