:root {
  --primary: #1768c4;
  --primary-dark: #0e4f99;
  --navy: #163250;
  --text: #26384b;
  --subtext: #607286;
  --muted: #8291a2;
  --line: #dbe3eb;
  --soft-line: #e9eef3;
  --bg: #f5f7f9;
  --pale-blue: #eef6fd;
  --white: #fff;
  --success: #198754;
  --warning-bg: #fff8e7;
  --warning-line: #ead59b;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  color: var(--text);
  background: var(--white);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 82px 0;
}

.section-alt {
  background: var(--bg);
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

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

.section-heading .label {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.45;
  letter-spacing: .02em;
}

.section-heading p {
  max-width: 720px;
  margin-top: 12px;
  color: var(--subtext);
  font-size: 15px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.button-primary {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
}

.button-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button-outline {
  color: var(--primary);
  background: var(--white);
  border-color: #a9c7e6;
}

.button-outline:hover {
  background: var(--pale-blue);
  border-color: var(--primary);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.button-dark:hover {
  background: #0d253d;
}

.topline {
  height: 5px;
  background: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  min-height: 70px;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.logo-name {
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
}

.logo-name span {
  color: var(--primary);
}

.global-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  margin-left: auto;
}

.global-nav a {
  display: flex;
  align-items: center;
  padding: 0 17px;
  color: #34495e;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}

.global-nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .button {
  min-height: 40px;
  padding: 0 17px;
  font-size: 13px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 15px 20px;
  color: var(--navy);
  font-weight: 600;
  border-bottom: 1px solid var(--soft-line);
}

.notice-bar {
  background: #f0f6fc;
  border-bottom: 1px solid #cddff1;
}

.notice-inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  color: #31587f;
  font-size: 13px;
}

.notice-label {
  flex-shrink: 0;
  padding: 2px 8px;
  color: var(--white);
  background: var(--primary);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 68px;
  background:
    linear-gradient(90deg, #f6faff 0%, #fff 66%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--primary);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
  align-items: center;
  gap: 58px;
}

.hero-copy .service-category {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.hero-copy h1 {
  color: var(--navy);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.35;
  letter-spacing: .02em;
}

.hero-copy h1 strong {
  color: var(--primary);
  font-weight: 800;
}

.hero-copy .lead {
  max-width: 650px;
  margin-top: 21px;
  color: #40556b;
  font-size: 17px;
  line-height: 1.9;
}

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

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}

.hero-image-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-image-card::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  content: "";
}

.hero-image-card.no-image {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background:
    linear-gradient(135deg, rgba(238,246,253,1) 0%, rgba(209,228,244,1) 100%);
}

.hero-image-fallback {
  position: relative;
  width: 100%;
  min-height: 420px;
  padding: 34px;
  display: none;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(14,79,153,.10), rgba(22,50,80,.18));
}

.hero-image-card.no-image .hero-image-fallback {
  display: flex;
}

.hero-image-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23,104,196,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,104,196,.10) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .55;
}

.hero-image-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(22, 50, 80, .86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.hero-image-title {
  position: relative;
  z-index: 2;
  color: var(--navy);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .02em;
}

.hero-image-subtitle {
  position: relative;
  z-index: 2;
  max-width: 460px;
  margin-top: 10px;
  color: #35516d;
  font-size: 14px;
  line-height: 1.9;
}

.hero-image-overlay {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  justify-content: space-between;
}

.hero-image-copy {
  max-width: 70%;
}

.hero-image-copy strong {
  display: block;
  color: var(--white);
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: .02em;
}

.hero-image-copy span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.88);
  font-size: 13px;
}

.hero-image-points {
  display: grid;
  gap: 8px;
  min-width: 210px;
}

.hero-image-point {
  padding: 9px 12px;
  color: var(--white);
  background: rgba(22, 50, 80, .78);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.hero-image-point small {
  display: block;
  margin-top: 2px;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 500;
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid var(--soft-line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--white);
}

.feature {
  min-height: 220px;
  padding: 28px 25px;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.feature-number {
  color: #9db8d5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.feature h3 {
  margin-top: 13px;
  color: var(--navy);
  font-size: 18px;
}

.feature p {
  margin-top: 12px;
  color: var(--subtext);
  font-size: 14px;
}

.feature-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.feature-link::after {
  content: " ＞";
}

.region-switch {
  display: inline-flex;
  margin-bottom: 28px;
  border: 1px solid #b8c9da;
  background: var(--white);
}

.region-tab {
  min-width: 210px;
  min-height: 48px;
  padding: 0 22px;
  color: #496175;
  background: var(--white);
  border: 0;
  border-right: 1px solid #b8c9da;
  font-weight: 700;
  cursor: pointer;
}

.region-tab:last-child {
  border-right: 0;
}

.region-tab.active {
  color: var(--white);
  background: var(--primary);
}

.region-description {
  margin-bottom: 24px;
  color: var(--subtext);
}

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

.plan-grid.two {
  grid-template-columns: repeat(2, minmax(0, 400px));
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 400px;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #cfd9e3;
}

.plan-card.recommended {
  border: 2px solid var(--primary);
}

.recommend-label {
  position: absolute;
  top: -28px;
  right: -2px;
  left: -2px;
  height: 27px;
  color: var(--white);
  background: var(--primary);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 27px;
}

.plan-head {
  min-height: 92px;
  padding: 18px 20px;
  background: #f5f8fb;
  border-bottom: 1px solid var(--line);
}

.plan-card.recommended .plan-head {
  background: var(--pale-blue);
}

.plan-name {
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

.plan-purpose {
  margin-top: 4px;
  color: var(--subtext);
  font-size: 12px;
}

.plan-price {
  padding: 22px 20px;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.plan-price strong {
  color: var(--primary);
  font-size: 34px;
  letter-spacing: -.03em;
}

.plan-price span {
  margin-left: 4px;
  color: var(--subtext);
  font-size: 13px;
}

.plan-specs {
  flex: 1;
  list-style: none;
}

.plan-specs li {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid var(--soft-line);
}

.plan-specs .key {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: #607286;
  background: #fafbfc;
  border-right: 1px solid var(--soft-line);
  font-size: 12px;
}

.plan-specs .value {
  padding: 10px 14px;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
}

.plan-action {
  padding: 18px;
}

.plan-action .button {
  width: 100%;
}

.plan-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

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

.region-card {
  background: var(--white);
  border: 1px solid var(--line);
}

.region-card-head {
  padding: 20px 22px;
  background: var(--navy);
}

.region-card:nth-child(2) .region-card-head {
  background: var(--primary);
}

.region-card.upcoming .region-card-head {
  color: var(--navy);
  background: #e9eef3;
}

.region-card-head .en {
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.region-card.upcoming .region-card-head .en {
  color: #718294;
}

.region-card-head h3 {
  margin-top: 3px;
  color: var(--white);
  font-size: 20px;
}

.region-card.upcoming .region-card-head h3 {
  color: var(--navy);
}

.region-card-body {
  padding: 22px;
}

.region-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--success);
  font-size: 12px;
  font-weight: 700;
}

.region-status::before {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  content: "";
}

.region-status.upcoming {
  color: #7d8791;
}

.region-status.upcoming::before {
  background: #98a2ad;
}

.region-card p {
  color: var(--subtext);
  font-size: 14px;
}

.region-meta {
  margin-top: 18px;
  border-top: 1px solid var(--soft-line);
}

.region-meta div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid var(--soft-line);
  font-size: 12px;
}

.region-meta dt {
  color: var(--muted);
}

.region-meta dd {
  color: var(--navy);
  font-weight: 700;
  text-align: right;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--primary);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.flow-item {
  position: relative;
  min-height: 190px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.flow-item:last-child {
  border-right: 0;
}

.flow-number {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.flow-item h3 {
  margin-top: 10px;
  color: var(--navy);
  font-size: 17px;
}

.flow-item p {
  margin-top: 10px;
  color: var(--subtext);
  font-size: 13px;
}

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

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

.faq-question {
  display: flex;
  width: 100%;
  min-height: 65px;
  align-items: center;
  gap: 15px;
  padding: 16px 6px;
  color: var(--navy);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.faq-question .mark {
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}

.faq-question .toggle {
  margin-left: auto;
  color: var(--primary);
  font-size: 19px;
}

.faq-answer {
  display: none;
  padding: 0 36px 22px 41px;
  color: var(--subtext);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open .toggle {
  transform: rotate(45deg);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px 38px;
  background: var(--navy);
}

.contact-panel h2 {
  color: var(--white);
  font-size: 24px;
}

.contact-panel p {
  margin-top: 7px;
  color: #cfdae5;
  font-size: 14px;
}

.contact-actions {
  display: flex;
  gap: 10px;
}

.contact-actions .button-outline {
  color: var(--white);
  background: transparent;
  border-color: #8299af;
}

.contact-actions .button-outline:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--white);
}

.site-footer {
  padding: 54px 0 24px;
  color: #9db0c3;
  background: #102940;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 45px;
  padding-bottom: 40px;
}

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand p {
  max-width: 360px;
  margin-top: 16px;
  font-size: 13px;
}

.footer-column h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 13px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li + li {
  margin-top: 8px;
}

.footer-column a {
  color: #aebdcb;
  font-size: 13px;
}

.footer-column a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .global-nav,
  .header-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-image-card {
    max-width: 620px;
  }

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

  .region-cards {
    grid-template-columns: 1fr 1fr;
  }

  .flow-grid {
    grid-template-columns: 1fr 1fr;
  }

  .flow-item:nth-child(2) {
    border-right: 0;
  }

  .flow-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    padding: 52px 0;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy .lead {
    font-size: 15px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .notice-inner {
    align-items: flex-start;
    padding: 10px 0;
    line-height: 1.5;
  }

  .trust-grid,
  .feature-grid,
  .plan-grid,
  .plan-grid.two,
  .region-cards,
  .flow-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .feature,
  .flow-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child,
  .feature:last-child,
  .flow-item:last-child {
    border-bottom: 0;
  }

  .flow-item:nth-child(2) {
    border-right: 0;
  }

  .region-switch {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .region-tab {
    min-width: 0;
    padding: 0 10px;
    font-size: 13px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

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

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