@font-face {
  font-family: "LINE Seed JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/font/LINESeedJP-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "LINE Seed JP";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/font/LINESeedJP-Bold.woff2") format("woff2");
}

:root {
  --ink: #1f3556;
  --ink-soft: #5d6b7a;
  --line: #d9e2ec;
  --surface: #ffffff;
  --surface-blue: #F3F8FC;
  --ground: #f5f7fa;
  --accent: #005bac;
  --accent-hover: #004a90;
  --accent-active: #003e7e;
  --navy: #0b2f5b;
  --green: #8cc63f;
  --footer-bg: #082a52;
  --footer-text: #c9d6e5;
  --warning-bg: #fff9e8;
  --warning-border: #e8d9a8;
  --danger: #d9534f;
  --black: #000000;
  --surface-pale: #f6faff;
  --text-body: #45484b;
  --info-bg: #c9d6e5;
  --plan-bg: #ebf5fd;
}

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface-blue);
  color: var(--ink);
  font-family: "LINE Seed JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.75;
}

a {
  color: var(--accent);
}

img {
  max-width: 100%;
}

h1,
h2 {
  color: var(--navy);
}

/* 汎用クラス --start-- */
.text-left {
  text-align: left;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 3rem;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  text-align: center;
}

.bg-white {
  background: var(--surface);
}

.icon-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 60%;
  height: 60%;
}

.icon-circle--blue {
  background: var(--surface-blue);
}

.icon-circle--white {
  background: var(--surface);
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }
}

/* 汎用クラス --end-- */

/* button --start-- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--surface);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  max-width: 400px;
  width: 100%;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn:hover {
  background: var(--accent);
  color: var(--surface);
}

.btn:hover img {
  filter: brightness(0) invert(1);
}

.btn--filled {
  background: var(--accent);
  color: var(--surface);
}

.btn--filled:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--surface);
}

.btn--outline {
  background: var(--surface);
  color: var(--accent);
}

.btn--outline:hover {
  background: var(--ground);
}

.btn-large {
  padding: 1.25rem 2.25rem;
  font-size: 1.5rem;
  max-width: 500px;
}

.btn-large img {
  width: 40px;
  height: 40px;
}

@media (max-width: 768px) {
  .btn-large {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  .btn-large img {
    width: 20px;
    height: 20px;
  }
}
/* button --end-- */

/* card (rounded white content block, reused across pages) */
.card {
  margin-top: 3.5rem;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(11, 47, 91, 0.08);
  padding: 2.5rem;
}

.card p {
  color: var(--ink-soft);
}

.step-list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 0.5rem;
}

.step-card {
  flex: 1 1 180px;
  max-width: 240px;
}

.step-icon-wrap {
  width: 84px;
  height: 84px;
  margin: 0 auto;
}

.step-icon-wrap img {
  width: 100%;
  height: 100%;
}

.step-badge {
  width: 32px;
  height: 32px;
  margin: 0.75rem auto;
  border-radius: 50%;
  background: var(--green);
  color: var(--surface);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-chevron {
  align-self: flex-start;
  margin-top: 32px;
  line-height: 1;
  color: var(--ink-soft);
}

@media (max-width: 768px) {
  .step-list {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    max-width: 320px;
    text-align: center;
  }

  .step-chevron {
    align-self: center;
    margin-top: 0;
    transform: rotate(90deg);
  }
}

/* header --start-- */
#header-placeholder {
  display: contents;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__brand {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-header__brand img {
  height: 24px;
  width: auto;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.site-header__nav > a {
  text-decoration: none;
  color: var(--black);
  font-size: 0.9rem;
  font-weight: bold;
  white-space: nowrap;
  border-bottom: solid 1px transparent;
}

.site-header__nav > a:hover {
  border-bottom-color: var(--accent);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 0.5rem;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 108px;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.header-btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.site-header__toggle {
  display: none;
  position: relative;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0.3rem;
  cursor: pointer;
  color: var(--ink);
}

.site-header__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__toggle-label {
  font-size: 0.7rem;
}

.site-header__toggle.is-open .site-header__toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header__toggle.is-open .site-header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header__toggle.is-open .site-header__toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1140px) {
  /* ハンバーガーメニュー表示 */
  .site-header__toggle {
    display: flex;
  }

  .site-header__nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    padding: 6rem 1.5rem 2rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .site-header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-header__nav.no-transition {
    transition: none !important;
  }

  .site-header__nav > a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-header__actions {
    margin: 1.5rem 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .header-btn {
    justify-content: center;
    padding: 0.9rem 1rem;
  }
}
/* header --end-- */

/* footer --start-- */
.site-footer {
  background: var(--footer-bg);
}

.site-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.site-footer__brand-col {
  padding-right: 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.site-footer__tagline {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--surface);
  margin: 0;
}

.site-footer__columns {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__col-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--surface);
  font-weight: 700;
  padding: 0 0 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 0.2rem;
}

.site-footer__col-toggle {
  display: none;
}

.site-footer__col-head img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.site-footer__col li:last-child {
  border-bottom: none;
}

.site-footer__col a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 0;
  color: var(--surface);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer__col a img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.site-footer__bottom {
  color: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
  }

  .site-footer__brand-col {
    flex: none;
    padding: 0 0 1.5rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .site-footer__columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer__col-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-left: auto;
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
  }

  .site-footer__col-toggle::before {
    content: "+";
  }

  .site-footer__col-head[aria-expanded="true"] .site-footer__col-toggle::before {
    content: "\2212";
  }

  .site-footer__col ul {
    display: none;
  }

  .site-footer__col.is-open ul {
    display: block;
  }
}
/* footer --end-- */
