:root {
  --blue-950: #261409;
  --blue-900: #3a2113;
  --blue-800: #5b3320;
  --blue-700: #c95f1a;
  --blue-600: #f37021;
  --blue-100: #fff0e5;
  --cyan: #d99048;
  --gray-900: #211b17;
  --gray-700: #6e625a;
  --gray-300: #e4d8cd;
  --gray-100: #fbf6f1;
  --white: #ffffff;
  --silver: #b9a99b;
  --ivory: #fff8ef;
  --copper: #b76a32;
  --shadow: 0 24px 64px rgba(87, 43, 13, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "Noto Sans JP", "Noto Sans CJK JP", Arial, sans-serif;
  color: var(--gray-900);
  background:
    linear-gradient(180deg, #fff7ee 0%, #ffffff 28%, #fbf4ec 100%);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.notice {
  background: linear-gradient(90deg, #f37021, #d95f18 48%, #ad4b15);
  color: var(--blue-950);
  padding: 10px 20px;
  text-align: center;
  font-weight: 900;
  border-bottom: 1px solid #cc6a29;
  color: #fffaf4;
  letter-spacing: .02em;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 250, 244, .92);
  border-bottom: 1px solid rgba(218, 196, 176, .82);
  box-shadow: 0 12px 36px rgba(87, 43, 13, .08);
  backdrop-filter: blur(18px);
}
.admin-shortcut {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 50%;
  border: 1px solid rgba(216, 155, 112, .52);
  background: rgba(255, 250, 244, .72);
  box-shadow: 0 8px 20px rgba(183, 106, 50, .08);
  opacity: .78;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.admin-shortcut:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(183, 106, 50, .18);
}
.admin-shortcut img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--blue-900);
  font-weight: 800;
  font-size: clamp(16px, 1.5vw, 22px);
}
.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(216, 155, 112, .5);
  box-shadow: 0 8px 20px rgba(183, 106, 50, .12);
}
.nav { display: flex; gap: 18px; align-items: center; }
.nav a {
  color: var(--gray-700);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.nav a:hover { color: var(--blue-600); }
.lang-switch {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: #fff1e6;
  border: 1px solid #ead4c1;
  border-radius: 8px;
}
.lang-switch button {
  border: 0;
  border-radius: 6px;
  padding: 7px 9px;
  background: transparent;
  color: var(--gray-700);
  cursor: pointer;
  font-weight: 700;
}
.lang-switch button.active {
  background: linear-gradient(135deg, #8b3f16, var(--blue-600));
  color: var(--white);
  box-shadow: 0 8px 18px rgba(201, 95, 26, .24);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  border-radius: 8px;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-900);
  transition: transform .18s ease, opacity .18s ease;
}
.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}
.hero {
  position: relative;
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 590px);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 125px);
  padding: 72px max(18px, calc((100% - 1240px) / 2)) 86px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255,248,239,.98), rgba(255,241,226,.94) 52%, rgba(234,119,45,.28)),
    radial-gradient(circle at 72% 18%, rgba(243, 112, 33, .22), transparent 34%);
  color: var(--gray-900);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(116,74,42,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116,74,42,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.08));
}
.hero > * {
  position: relative;
  z-index: 1;
}
.eyebrow,
.section-heading p {
  margin: 0 0 10px;
  color: var(--blue-600);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  color: var(--blue-900);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
}
.hero h1 {
  color: var(--gray-900);
  text-shadow: 0 12px 32px rgba(183, 106, 50, .16);
}
.hero .eyebrow {
  color: #b04b13;
  letter-spacing: .1em;
}
.hero-subtitle {
  max-width: 720px;
  color: #695447;
  font-size: clamp(17px, 2vw, 21px);
}
.license-badge {
  display: inline-flex;
  max-width: 100%;
  margin: 10px 0 26px;
  padding: 14px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,226,203,.96));
  color: var(--blue-950);
  border: 1px solid rgba(216, 124, 62, .35);
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(183, 106, 50, .16);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}
.btn.primary {
  background: linear-gradient(135deg, #f37021, #9f4212);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(201, 95, 26, .34);
}
.btn.secondary {
  border: 1px solid rgba(151, 88, 46, .22);
  color: var(--gray-900);
  background: rgba(255,255,255,.72);
}
.hero-art {
  padding: 12px;
  border: 1px solid rgba(183, 106, 50, .22);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,239,224,.42));
  box-shadow: 0 34px 90px rgba(87, 43, 13, .2);
}
.hero-art svg, .hero-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 22px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
  border-bottom: 1px solid #ead9c7;
  padding-bottom: 18px;
}
.section-heading h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(27px, 3vw, 40px);
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.profile-item, .business-card, .contact-item, .workflow-step {
  border: 1px solid rgba(226, 207, 190, .92);
  background: linear-gradient(180deg, #ffffff, #fff9f3);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(87, 43, 13, .08);
}
.profile-item {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 16px;
  padding: 18px;
}
.profile-item span { color: var(--gray-700); font-weight: 800; }
.profile-item strong { color: var(--blue-900); }
.license-section {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - 1160px) / 2));
  padding-right: max(18px, calc((100% - 1160px) / 2));
  background:
    linear-gradient(135deg, #fff1e4, #ffffff 45%, #f8dfc9),
    radial-gradient(circle at 10% 20%, rgba(243,112,33,.18), transparent 36%);
}
.license-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid #d3a078;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,246,238,.95)),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(201,95,26,.045) 16px 17px);
  box-shadow: var(--shadow);
}
.license-card::after {
  content: "";
  position: absolute;
  right: -55px;
  top: -55px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 24px double rgba(201, 95, 26, .13);
}
.certificate-mark {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 10px double #c98654;
  color: #8a4118;
  background: linear-gradient(135deg, #fff, #f5dac4);
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.5), 0 20px 42px rgba(201,95,26,.14);
}
.certificate-mark img {
  width: 92px;
  height: 92px;
  display: block;
  border-radius: 50%;
}
.certificate-label { color: var(--blue-600); font-weight: 900; margin-bottom: 8px; }
.license-card h3 {
  color: var(--blue-900);
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 16px;
}
.license-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.license-details div {
  padding: 13px;
  background: #fff;
  border: 1px solid #ecd6c4;
  border-radius: 8px;
}
.license-details span { display: block; color: var(--gray-700); font-size: 13px; font-weight: 800; }
.license-details strong { color: var(--blue-900); }
.license-note { color: var(--gray-700); max-width: 780px; }
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.business-card {
  position: relative;
  overflow: hidden;
  padding: 0 20px 22px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.business-card:hover {
  transform: translateY(-4px);
  border-color: #d99a6a;
  box-shadow: 0 24px 52px rgba(87,43,13,.14);
}
.business-visual {
  margin: 0 -20px 16px;
  height: 142px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #fff1e5, #ffffff 55%, #f6dec8);
  border-bottom: 1px solid #ead5c2;
}
.business-visual svg,
.business-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.04) contrast(1.02);
}
.business-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: linear-gradient(135deg, var(--blue-100), #ffffff);
  border: 1px solid #efd0b6;
  border-radius: 8px;
  margin-bottom: 16px;
}
.business-icon svg { width: 28px; height: 28px; }
.business-card h3 { margin-bottom: 8px; color: var(--blue-900); font-size: 18px; }
.business-card p { color: var(--gray-700); margin: 0; }
.workflow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.workflow-step {
  position: relative;
  min-height: 142px;
  padding: 18px;
  background:
    linear-gradient(180deg, #fff, #fff7ef);
}
.workflow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -13px;
  top: 48px;
  width: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan));
}
.step-no { color: var(--blue-600); font-weight: 900; font-size: 13px; }
.workflow-step strong { display: block; color: var(--blue-900); margin-top: 10px; }
.compliance-band {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - 1160px) / 2));
  padding-right: max(18px, calc((100% - 1160px) / 2));
  background:
    linear-gradient(135deg, #24140d, #3a2113 54%, #713815),
    radial-gradient(circle at 75% 20%, rgba(243,112,33,.28), transparent 36%);
  color: var(--white);
}
.compliance-band .section-heading { border-color: rgba(255,255,255,.18); }
.compliance-band .section-heading h2,
.compliance-band .section-heading p { color: var(--white); }
.compliance-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.compliance-item {
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  border: 1px solid rgba(255,226,203,.22);
  min-height: 108px;
  font-weight: 800;
}
.contact-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.contact-item { padding: 22px; }
.contact-item span { color: var(--gray-700); font-weight: 800; display: block; margin-bottom: 8px; }
.contact-item strong { color: var(--blue-900); }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 54px);
  background: linear-gradient(135deg, #24140d, #4b2612);
  border-top: 1px solid #7b3a14;
  color: #edd9c6;
}
.footer strong, .footer p:nth-child(3) { color: var(--white); }
.footer-meta { display: flex; flex-direction: column; align-items: end; gap: 8px; }
.footer-meta a { color: #f0b383; font-size: 13px; }
.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    min-height: 66px;
    padding: 10px 16px;
  }
  .brand { grid-column: 1; }
  .admin-shortcut {
    grid-column: 2;
    grid-row: 1;
    width: 38px;
    height: 38px;
  }
  .menu-toggle { display: block; }
  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }
  .site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 0 0;
    border-top: 1px solid rgba(218, 196, 176, .7);
  }
  .nav.open { display: grid; }
  .nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(226, 207, 190, .85);
    text-align: center;
  }
  .lang-switch {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    justify-content: stretch;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }
  .site-header.menu-open .lang-switch { display: grid; }
  .lang-switch button { min-height: 38px; padding: 7px 6px; }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 28px;
    align-items: start;
  }
  .hero-art {
    width: min(680px, 100%);
    margin: 0 auto;
  }
  .business-grid, .compliance-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workflow-step::after { display: none; }
}
@media (max-width: 680px) {
  .notice {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.45;
  }
  .site-header {
    padding: 9px 12px;
  }
  .brand { gap: 0; }
  .brand-mark { display: none; }
  .brand span {
    max-width: calc(100vw - 126px);
    font-size: 15px;
  }
  .admin-shortcut {
    width: 34px;
    height: 34px;
    opacity: .66;
  }
  .menu-toggle {
    width: 38px;
    height: 38px;
  }
  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav a {
    min-height: 42px;
    font-size: 13px;
    white-space: normal;
  }
  .lang-switch {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lang-switch button {
    font-size: 12px;
    min-height: 36px;
  }
  .section { width: min(100% - 28px, 1160px); padding: 54px 0; }
  .hero {
    padding: 30px 14px 48px;
    gap: 20px;
  }
  .hero h1 {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: clamp(34px, 9.5vw, 38px);
    line-height: 1.18;
  }
  .hero .eyebrow {
    font-size: 12px;
    letter-spacing: .04em;
    line-height: 1.45;
  }
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.72;
  }
  .license-badge {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.65;
  }
  .hero-art {
    padding: 7px;
    border-radius: 18px;
    box-shadow: 0 20px 44px rgba(87, 43, 13, .16);
  }
  .hero-art img {
    height: clamp(210px, 56vw, 270px);
    object-fit: cover;
    object-position: 62% center;
    border-radius: 13px;
  }
  .profile-grid, .business-grid, .workflow, .compliance-list, .contact-panel { grid-template-columns: 1fr; }
  .business-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 0 20px;
  }
  .business-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
    flex: 0 0 auto;
    border-bottom: 1px solid #ead5c2;
  }
  .business-visual img,
  .business-visual svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .business-icon {
    flex: 0 0 42px;
    margin: 16px 18px 12px;
  }
  .business-card h3 {
    margin: 0 0 8px;
    padding: 0 18px;
    line-height: 1.45;
  }
  .business-card p {
    padding: 0 18px;
    font-size: 15px;
    line-height: 1.72;
  }
  .profile-item { grid-template-columns: 1fr; gap: 4px; }
  .license-card { grid-template-columns: 1fr; }
  .license-details { grid-template-columns: 1fr; }
  .certificate-mark { width: 112px; height: 112px; font-size: 32px; }
  .footer { flex-direction: column; }
  .footer-meta { align-items: start; }
  .hero-actions .btn {
    width: 100%;
    min-height: 50px;
    font-size: 16px;
  }
}
