:root {
  --ink: #20242a;
  --muted: #6f7782;
  --line: #e2e5e9;
  --paper: #ffffff;
  --soft: #f6f5f2;
  --navy: #172437;
  --navy-2: #21324a;
  --gold: #9b7a40;
  --gold-light: #c2a369;
  --shadow: 0 18px 46px rgba(23, 36, 55, 0.13);
  --font-main: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Microsoft YaHei", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-main);
  line-height: 1.78;
}

body.menu-open {
  overflow: hidden;
}

body[data-lang="ja"] .lang-zh,
body[data-lang="zh"] .lang-ja {
  display: none !important;
}

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

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 10px clamp(18px, 4vw, 52px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 229, 233, 0.82);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(23, 36, 55, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 220px;
}

.brand-symbol {
  width: 46px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
}

.wordmark {
  display: grid;
  gap: 2px;
  line-height: 1.18;
}

.wordmark strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.wordmark span {
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 26px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
  content: "";
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  font-size: 13px;
  font-weight: 600;
}

.language-switch button {
  border: 0;
  padding: 4px 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  opacity: 0.52;
}

.language-switch button[aria-pressed="true"] {
  opacity: 1;
}

.language-switch span {
  opacity: 0.34;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  color: var(--navy);
  background: #f7f5f0;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) brightness(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248, 247, 243, 0.92) 0%, rgba(248, 247, 243, 0.74) 42%, rgba(248, 247, 243, 0.18) 76%, rgba(248, 247, 243, 0.26) 100%),
    linear-gradient(0deg, rgba(248, 247, 243, 0.44) 0%, rgba(248, 247, 243, 0.02) 62%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: end;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 122px 0 46px;
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.34);
}

.lead {
  max-width: 620px;
  margin: 20px 0 0;
  color: #475467;
  font-size: clamp(15px, 1.45vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

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

.button.secondary {
  color: var(--navy);
  border-color: rgba(23, 36, 55, 0.28);
  background: rgba(255, 255, 255, 0.78);
}

.button.full {
  width: 100%;
}

.section {
  padding: clamp(70px, 8vw, 112px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

h2,
h3,
p,
dt,
dd {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.42;
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 70px minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: start;
}

.section-index {
  color: var(--gold);
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.copy-block p {
  margin: 0;
  color: #3f4b5a;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 44px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  display: grid;
  grid-template-columns: 60px minmax(180px, 0.55fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  min-height: 116px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.number {
  color: var(--gold);
  font-size: 18px;
  font-weight: 600;
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

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

.advantage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
}

.advantage-list {
  display: grid;
  gap: 0;
}

.advantage-list article {
  padding: 22px 0 22px 24px;
  border-left: 1px solid rgba(194, 163, 105, 0.54);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.advantage-list p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.company-section {
  background: #f8f9fa;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--navy);
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 36, 55, 0.07);
}

.company-list div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.company-list dt,
.company-list dd {
  margin: 0;
  padding: 18px 22px;
}

.company-list dt {
  color: var(--navy-2);
  font-weight: 600;
  background: #f4f5f6;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(34px, 6vw, 76px);
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 34px rgba(23, 36, 55, 0.08);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d3d7dd;
  border-radius: 2px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(155, 122, 64, 0.16);
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #d8dee8;
  background: #111927;
  font-size: 14px;
}

.footer-wordmark {
  display: grid;
  gap: 1px;
  color: #fff;
  line-height: 1.2;
}

.footer-wordmark strong {
  font-size: 16px;
}

.footer-wordmark span {
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.site-footer p {
  margin: 0;
}

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

  .header-tools {
    gap: 14px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 18px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero-inner,
  .intro-grid,
  .advantage-grid,
  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-list article {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .service-list p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-symbol {
    width: 36px;
    height: 32px;
  }

  .wordmark strong {
    font-size: 15px;
  }

  .wordmark span {
    font-size: 8px;
    letter-spacing: 0.04em;
  }

  .language-switch {
    font-size: 12px;
    gap: 5px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 32px, 1120px);
    padding-top: 104px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 66px 0;
  }

  .section-inner {
    width: min(100% - 32px, 1120px);
  }

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

  .company-list dt,
  .company-list dd,
  .contact-form {
    padding: 16px;
  }

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

.quick-nav {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding: 28px 0 0;
  background: #fff;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(23, 36, 55, 0.06);
}

.quick-card {
  display: grid;
  gap: 8px;
  min-height: 164px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
}

.quick-card small,
.detail-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.quick-number {
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
}

.quick-card strong {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.quick-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.detail-section {
  background: #fff;
}

.wide-heading {
  width: min(920px, 100%);
}

.detail-item {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}

.detail-item.reverse img {
  order: 2;
}

.detail-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  box-shadow: 0 12px 34px rgba(23, 36, 55, 0.08);
}

.detail-copy h3 {
  margin-top: 8px;
  font-size: clamp(25px, 3vw, 34px);
}

.detail-copy p {
  color: #475467;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.tag-list span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: #f8f9fa;
  color: #475467;
  font-size: 12px;
}

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

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.strength-grid article {
  position: relative;
  min-height: 250px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.strength-grid article::before {
  position: absolute;
  top: 0;
  left: 24px;
  width: 42px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.strength-grid span,
.flow-list span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 600;
}

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

.flow-section {
  background: #fff;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.flow-list article {
  min-height: 214px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.flow-list h3 {
  font-size: 18px;
}

.flow-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
}

.faq-list {
  border-top: 1px solid var(--line);
  background: #fff;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--navy);
  font-weight: 600;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.site-footer {
  display: block;
  padding: 0;
  color: #d8dee8;
  background: #111927;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(28px, 5vw, 56px);
  padding: 46px clamp(18px, 5vw, 72px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand-symbol {
  width: 42px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-about p,
.footer-main p {
  margin: 14px 0 0;
  color: rgba(216, 222, 232, 0.72);
}

.footer-main h3 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
}

.footer-main nav,
.footer-main > div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-main a {
  color: rgba(216, 222, 232, 0.78);
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1100px) {
  .site-header {
    gap: 14px;
  }

  .brand {
    min-width: 196px;
  }

  .brand-symbol {
    width: 42px;
    height: 36px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 13px;
  }

  .quick-grid,
  .strength-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .detail-item,
  .detail-item.reverse {
    grid-template-columns: 1fr;
  }

  .detail-item.reverse img {
    order: 0;
  }

  .faq-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .quick-nav {
    margin-top: 0;
  }

  .quick-grid,
  .strength-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: auto;
    padding: 20px;
  }

  .detail-item {
    padding: 34px 0;
  }

  .flow-list article,
  .strength-grid article {
    min-height: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
