:root {
  color-scheme: light;
  --bg: #f6f3ec;
  --bg-deep: #0c2038;
  --text: #142033;
  --muted: #647084;
  --line: rgba(20, 32, 51, 0.12);
  --primary: #112b49;
  --primary-2: #173f68;
  --accent: #c8973d;
  --accent-soft: #f3e1bd;
  --card: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 70px rgba(17, 43, 73, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(200, 151, 61, 0.22), transparent 34rem),
    linear-gradient(180deg, #fbf8f1 0%, var(--bg) 46%, #ffffff 100%);
  color: var(--text);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 236, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand,
.nav-links,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 28px rgba(17, 43, 73, 0.2);
}

.brand-name {
  white-space: nowrap;
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.hero,
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: center;
  min-height: 78vh;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 26px;
  font-size: clamp(2.45rem, 7vw, 5.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.45;
}

h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.45;
}

.lead,
.section-heading p,
.reason-copy p,
.download-copy p,
.company-section p {
  color: var(--muted);
  font-size: 1.06rem;
}

.lead {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: 0 16px 36px rgba(17, 43, 73, 0.28);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
}

.hero-panel,
.problem-grid article,
.support-card,
.reason-list,
.service-columns article,
.download-section,
.company-list,
.faq-list details {
  border: 1px solid var(--line);
  background: var(--white-soft);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 30px;
}

.hero-panel::before {
  position: absolute;
  inset: 0 0 auto auto;
  width: 150px;
  height: 150px;
  border-radius: 0 30px 0 100%;
  background: var(--accent-soft);
  content: "";
}

.panel-label {
  position: relative;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-panel ul {
  position: relative;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  font-weight: 900;
}

.hero-panel span,
.flow-list span,
.card-number {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.problem-section {
  max-width: none;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  background: var(--bg-deep);
  color: #fff;
}

.problem-section .section-heading p,
.problem-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.problem-grid,
.support-grid,
.service-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.problem-grid article {
  padding: 28px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

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

.support-card,
.service-columns article {
  padding: 28px;
  border-radius: 26px;
}

.support-card p,
.service-columns p,
.flow-list p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-number {
  display: inline-block;
  margin-bottom: 18px;
}

.reason-section,
.download-section,
.company-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: start;
}

.reason-list {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 30px;
}

.reason-list article {
  padding: 28px 30px;
  border-bottom: 1px solid var(--line);
}

.reason-list article:last-child {
  border-bottom: 0;
}

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

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
}

.flow-list span {
  display: inline-block;
  margin-bottom: 18px;
}

.download-section {
  max-width: 1180px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(200, 151, 61, 0.24), transparent 28rem),
    #fff;
}

.form-note {
  padding: 16px 18px;
  border: 1px solid rgba(200, 151, 61, 0.28);
  border-radius: 18px;
  background: rgba(243, 225, 189, 0.34);
  color: var(--text) !important;
  font-size: 0.94rem !important;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.request-form .full {
  grid-column: 1 / -1;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.request-form input,
.request-form select {
  min-height: 52px;
  padding: 0 16px;
}

.request-form textarea {
  resize: vertical;
  padding: 14px 16px;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(200, 151, 61, 0.16);
}

.company-list {
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
}

.company-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

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

.company-list dt {
  color: var(--muted);
  font-weight: 900;
}

.company-list dd {
  margin: 0;
}

.branch-area {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.branch-heading {
  max-width: 820px;
  margin-bottom: 26px;
}

.branch-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.branch-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbf8f1;
}

.branch-grid p {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.6;
}

.branch-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.faq-section {
  padding-top: 64px;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-list details {
  padding: 22px 24px;
  border-radius: 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin-top: 12px;
}

.footer {
  padding: 42px 24px;
  background: var(--bg-deep);
  color: #fff;
}

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

.footer .brand-mark {
  background: #fff;
  color: var(--primary);
}

.footer-links {
  gap: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.footer small {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .reason-section,
  .download-section,
  .company-section {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .support-grid,
  .service-columns,
  .branch-grid,
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .hero,
  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .brand-name {
    white-space: normal;
  }

  .nav-links {
    gap: 10px 14px;
    font-size: 0.86rem;
  }

  .problem-grid,
  .support-grid,
  .service-columns,
  .branch-grid,
  .flow-list,
  .request-form {
    grid-template-columns: 1fr;
  }

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

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

  .footer-links {
    flex-wrap: wrap;
  }
}
