:root {
  --blue-900: #12395f;
  --blue-800: #174a78;
  --blue-700: #1d5f9f;
  --blue-100: #eaf4ff;
  --blue-50: #f5faff;
  --gray-900: #17212b;
  --gray-700: #465564;
  --gray-500: #697889;
  --gray-200: #dbe3eb;
  --gray-100: #edf2f7;
  --white: #ffffff;
  --accent: #f7c948;
  --shadow: 0 18px 44px rgba(18, 57, 95, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--white);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 235, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.brand-name {
  display: block;
  color: var(--blue-900);
  font-weight: 700;
  line-height: 1.35;
}

.brand-sub {
  display: block;
  color: var(--gray-500);
  font-size: 12px;
  line-height: 1.4;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--blue-900);
  font-size: 24px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 10px 10px;
  border-radius: var(--radius);
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--blue-100);
  color: var(--blue-900);
}

.nav-list .nav-cta {
  margin-left: 6px;
  background: var(--blue-700);
  color: var(--white);
}

.nav-list .nav-cta:hover,
.nav-list .nav-cta:focus-visible {
  background: var(--blue-900);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(234, 244, 255, 0.94), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(29, 95, 159, 0.08) 0 1px, transparent 1px 76px);
}

.hero::after {
  position: absolute;
  right: max(24px, calc((100vw - 1120px) / 2));
  bottom: 34px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(29, 95, 159, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(247, 201, 72, 0.35), rgba(255, 255, 255, 0.05) 48%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 48px;
  align-items: center;
  padding: 76px 0 64px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-700);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
  letter-spacing: 0;
}

.lead {
  margin: 22px 0 0;
  color: var(--gray-700);
  font-size: 18px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--blue-700);
  border-radius: var(--radius);
  background: var(--blue-700);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.button:hover,
.button:focus-visible {
  background: var(--blue-900);
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--white);
  color: var(--blue-900);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--blue-100);
}

.hero-note {
  margin: 18px 0 0;
  color: var(--gray-700);
  font-size: 14px;
}

.hero-panel {
  position: relative;
  padding: 24px 28px 28px;
  border: 1px solid rgba(29, 95, 159, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-portrait {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
  padding: 14px;
  border: 1px solid rgba(29, 95, 159, 0.16);
  border-radius: var(--radius);
  background: var(--blue-50);
}

.hero-portrait img {
  width: 96px;
  height: 96px;
  max-width: none;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 24%;
  box-shadow: 0 8px 20px rgba(18, 57, 95, 0.12);
}

.hero-portrait-name {
  margin: 0;
  color: var(--blue-900);
  font-weight: 900;
  line-height: 1.5;
}

.hero-portrait-text {
  margin: 6px 0 0;
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.65;
}

.hero-panel-illustration {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin: -4px auto 8px;
}

.hero-panel h2 {
  margin: 0 0 16px;
  color: var(--blue-900);
  font-size: 22px;
}

.quick-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--gray-700);
}

.quick-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 900;
  line-height: 1;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--blue-50);
}

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

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

.section h2,
.page-hero h1 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
  letter-spacing: 0;
}

.section-text,
.page-hero p {
  margin: 16px 0 0;
  color: var(--gray-700);
}

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

.problem-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(18, 57, 95, 0.06);
}

.problem-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 18px;
  font-weight: 700;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 900;
}

.service-card,
.reason-card {
  padding: 24px;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card h3,
.reason-card h3,
.profile-copy h3 {
  margin: 0 0 10px;
  color: var(--blue-900);
  font-size: 22px;
  line-height: 1.45;
}

.service-card p,
.reason-card p,
.profile-copy p {
  margin: 12px 0 0;
  color: var(--gray-700);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  margin-left: 8px;
  content: "→";
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--blue-900);
  text-decoration: underline;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 900;
}

.service-icon img {
  width: 48px;
  height: 48px;
}

.reason-icon {
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
}

.flow-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 900;
}

.flow-item h3 {
  margin: 0 0 4px;
  color: var(--blue-900);
  font-size: 20px;
}

.flow-item p {
  margin: 0;
  color: var(--gray-700);
}

.profile-wrap,
.office-wrap,
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: start;
}

.profile-visual {
  min-height: 100%;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  color: var(--white);
}

.profile-visual img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: var(--white);
}

.profile-visual .profile-photo {
  width: min(100%, 260px);
  height: auto;
  aspect-ratio: 4 / 5;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 24%;
  background: var(--white);
}

.profile-visual .name {
  margin: 18px 0 4px;
  font-size: 24px;
  font-weight: 900;
}

.profile-visual .role,
.profile-visual .registration {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.profile-copy {
  padding: 8px 0;
}

#office {
  background:
    linear-gradient(180deg, var(--blue-50), #ffffff);
}

#office .section-head,
#contact .contact-wrap > div:first-child {
  padding: 30px;
  border: 1px solid rgba(29, 95, 159, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(18, 57, 95, 0.07);
}

#office .section-head {
  margin-bottom: 0;
}

.section-illustration {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin: 22px auto 0;
}

.contact-illustration {
  margin-top: 24px;
}

.office-table {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.office-table th,
.office-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

.office-table th {
  width: 150px;
  border-right: 1px solid var(--gray-200);
  background: var(--blue-50);
  color: var(--blue-900);
  font-weight: 800;
}

.office-table td {
  color: var(--gray-700);
}

.office-table tr:last-child th,
.office-table tr:last-child td {
  border-bottom: 0;
}

.office-table a {
  color: var(--blue-700);
  font-weight: 800;
}

#contact {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--blue-50) 100%);
}

.contact-card {
  padding: 30px;
  border-color: rgba(29, 95, 159, 0.18);
  box-shadow: var(--shadow);
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.contact-method {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(29, 95, 159, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(18, 57, 95, 0.06);
  text-decoration: none;
}

.contact-method:hover,
.contact-method:focus-visible {
  border-color: var(--blue-700);
  background: var(--blue-50);
}

.contact-method strong {
  color: var(--blue-900);
}

.contact-method span {
  color: var(--blue-700);
  font-weight: 800;
}

.form {
  display: grid;
  gap: 16px;
}

.form-note {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-left: 4px solid var(--blue-700);
  border-radius: var(--radius);
  background: var(--blue-50);
  color: var(--gray-700);
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.field legend {
  color: var(--blue-900);
  font-weight: 800;
}

.required {
  margin-left: 6px;
  color: #b42318;
  font-size: 12px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #c9d4df;
  border-radius: var(--radius);
  color: var(--gray-900);
  font: inherit;
  background: #fbfdff;
}

textarea {
  min-height: 144px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(29, 95, 159, 0.18);
  border-color: var(--blue-700);
}

.radio-group,
.checkbox-line {
  display: grid;
  gap: 8px;
}

.radio-group label,
.checkbox-line label {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--gray-700);
  font-weight: 500;
}

.radio-group input,
.checkbox-line input {
  width: 18px;
  min-height: 18px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.privacy-agree {
  padding: 16px;
  border: 1px solid rgba(29, 95, 159, 0.18);
  border-radius: var(--radius);
  background: var(--blue-50);
}

.privacy-agree p {
  margin: 0 0 10px;
  color: var(--gray-700);
  font-size: 14px;
}

.form-success {
  display: none;
  padding: 14px 16px;
  border: 1px solid #9fd5b3;
  border-radius: var(--radius);
  background: #effaf3;
  color: #245b36;
  font-weight: 800;
}

.form-success.is-visible {
  display: block;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background:
    linear-gradient(135deg, rgba(245, 250, 255, 0.98), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(90deg, rgba(29, 95, 159, 0.07) 0 1px, transparent 1px 76px);
}

.page-hero::after {
  position: absolute;
  right: max(18px, calc((100vw - 1120px) / 2));
  bottom: -64px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(29, 95, 159, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(247, 201, 72, 0.28), rgba(255, 255, 255, 0.03) 48%);
  content: "";
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: center;
}

.page-hero-visual {
  padding: 28px;
  border: 1px solid rgba(29, 95, 159, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.page-hero-visual img {
  width: min(100%, 180px);
  height: auto;
}

.page-hero-visual p {
  margin: 16px 0 0;
  color: var(--blue-900);
  font-weight: 800;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  color: var(--gray-500);
  font-size: 14px;
  list-style: none;
}

.breadcrumb a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: none;
}

.breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  color: var(--gray-500);
  content: "/";
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.content-panel {
  display: grid;
  gap: 28px;
}

.content-block {
  padding: 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(18, 57, 95, 0.05);
}

.content-block h2 {
  position: relative;
  margin: 0 0 16px;
  padding-left: 16px;
  font-size: 28px;
}

.content-block h2::before {
  position: absolute;
  top: 0.28em;
  bottom: 0.28em;
  left: 0;
  width: 5px;
  border-radius: 999px;
  background: var(--blue-700);
  content: "";
}

.content-block h3 {
  margin: 20px 0 8px;
  color: var(--blue-900);
  font-size: 20px;
}

.content-block p {
  margin: 12px 0 0;
  color: var(--gray-700);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  color: var(--gray-700);
}

.check-list li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-900);
  font-weight: 900;
  content: "✓";
}

.step-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mini-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--blue-50);
}

.mini-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-700);
  color: var(--white);
  font-weight: 900;
}

.mini-step strong {
  display: block;
  color: var(--blue-900);
}

.mini-step p {
  margin: 4px 0 0;
}

.side-card {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--blue-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.side-card h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 24px;
}

.side-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: var(--white);
}

.side-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.side-card .button {
  width: 100%;
  margin-top: 18px;
  border-color: var(--white);
  background: var(--white);
  color: var(--blue-900);
}

.side-card .button:hover,
.side-card .button:focus-visible {
  background: var(--blue-100);
}

.related-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.related-card {
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
}

.related-card strong {
  display: block;
  color: var(--blue-900);
  font-size: 18px;
}

.related-card span {
  display: block;
  margin-top: 8px;
  color: var(--gray-700);
  font-size: 14px;
}

.policy-content {
  max-width: 860px;
}

.policy-content h2 {
  margin-top: 34px;
  font-size: 24px;
}

.policy-content p,
.policy-content li {
  color: var(--gray-700);
}

.site-footer {
  padding: 42px 0 28px;
  background: var(--blue-900);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.footer-brand {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
}

.site-footer p {
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.copyright {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 16px;
    left: 16px;
    top: 72px;
    display: none;
    padding: 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav-list {
    display: grid;
    gap: 2px;
  }

  .nav-list .nav-cta {
    margin-left: 0;
  }

  .hero-inner,
  .profile-wrap,
  .office-wrap,
  .contact-wrap,
  .page-hero-grid,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 48px 0;
  }

  .hero::after {
    width: 160px;
    height: 160px;
    opacity: 0.55;
  }

  .problem-grid,
  .service-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .side-card {
    position: static;
  }

  .page-hero-visual {
    max-width: 360px;
  }

  .related-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand-name {
    font-size: 14px;
  }

  .brand-sub {
    display: none;
  }

  .section {
    padding: 54px 0;
  }

  .page-hero {
    padding: 42px 0;
  }

  .page-hero-visual {
    padding: 20px;
  }

  .hero-panel,
  .contact-card,
  .service-card,
  .reason-card {
    padding: 20px;
  }

  .hero-panel-illustration {
    width: min(100%, 240px);
  }

  .hero-portrait {
    grid-template-columns: 84px 1fr;
    padding: 12px;
  }

  .hero-portrait img {
    width: 84px;
    height: 84px;
  }

  .section-illustration {
    width: min(100%, 260px);
  }

  .cta-row .button {
    width: 100%;
  }

  .flow-item {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 16px;
  }

  .flow-num {
    width: 40px;
    height: 40px;
  }

  .office-table,
  .office-table tbody,
  .office-table tr,
  .office-table th,
  .office-table td {
    display: block;
    width: 100%;
  }

  .office-table th {
    padding-bottom: 2px;
    border-bottom: 0;
    border-right: 0;
  }

  .office-table td {
    padding-top: 0;
  }

  .contact-method {
    display: grid;
  }
}
