@charset "UTF-8";
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

:root {
  --navy: #0a2a6b;
  --navy-dark: #061a45;
  --blue: #0b4f9e;
  --accent: #fff800;
  --text: #2b2b2b;
}

body {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", "Yu Gothic Medium", meiryo, sans-serif;
  color: var(--text);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.lp-header {
  background: #005BAB;
  color: #fff;
}
/* anchor offset = 既存の固定ヘッダーの高さに合わせて調整してください */
#feature, #backnumber, #howto, #glossary, #disclaimer {
  scroll-margin-top: 50px;
}
.lp-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 32px;
}
.gnav {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
}
.gnav a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  opacity: .95;
}
.gnav a:hover { opacity: .7; }
/* CTA pill (PC: sits at far right of nav) */
.gnav a.gnav__cta {
  margin-left: auto;
  background: #fff;
  color: #005BAB;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 1;
}
.gnav a.gnav__cta:hover { opacity: .85; }
.gnav__cta .arrow {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

/* Hamburger (hidden on PC) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 30;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform .25s, opacity .25s;
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  background: url("image/hero/hero-bg.png") center/cover no-repeat;
}
.hero__inner {
  display: flex;
  min-height: 620px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero__left {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  align-items: center;
}
.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 56px 56px 56px 32px;
  max-width: 620px;
}
.hero__label {
  font-size: 16px;
  letter-spacing: .18em;
  color: #cfe0ff;
  margin-bottom: 20px;
  font-weight: 600;
}
.hero__title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: .02em;
  margin-bottom: 28px;
}
.hero__title .accent { color: var(--accent); }
.hero__lead {
  font-size: 16px;
  line-height: 1.9;
  color: #e6ecf7;
  max-width: 460px;
}

.hero__right {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* Card */
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(10,30,80,.12);
  padding: 40px 44px;
  max-width: 560px;
  width: 100%;
}
.card__label {
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.card__title {
  font-size: 26px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.card__sub {
  font-size: 16px;
  color: #555;
  margin-bottom: 28px;
}

.block__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.block__icon { width: 30px; height: auto; }
.block__head h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
}
.list {
  list-style: none;
  padding-left: 42px;
}
.list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  padding: 8px 0;
}
.list li img {
  width: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}
.divider {
  border: none;
  border-top: 1px solid #e3e6ec;
  margin: 26px 0;
}

/* Section 1: Features */
.features {
  background: #fff;
  padding: 72px 32px 88px;
}
.features__inner {
  max-width: 1240px;
  margin: 0 auto;
}
.sec-label {
  text-align: center;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.sec-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
}
.sec-title .accent { color: var(--blue); }
.sec-lead {
  text-align: center;
  font-size: 16px;
  color: #444;
  margin-bottom: 52px;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.feature-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 44px 36px 40px;
  box-shadow: 0 3px 10px rgba(10,30,80,.05);
}
.feature-card__icon {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.feature-card__icon img { max-height: 78px; width: auto; }
.feature-card__title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 18px;
}
.feature-card__text {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
}

/* Section 2: Back number */
.backnum {
  position: relative;
  background: #eef2f8;
  padding: 72px 32px 96px;
  overflow: hidden;
}
.backnum::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 525px;
  height: 389px;
  background: url("image/02/s2-bg.png") right top/contain no-repeat;
  opacity: .9;
  pointer-events: none;
}
.backnum__inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
}
.backnum .sec-label,
.backnum .sec-title,
.backnum .sec-lead { text-align: center; }
.backnum .sec-lead { margin-bottom: 44px; }

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.tab {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #8a94a6;
  background: #fff;
  border: 1px solid #dfe4ec;
  border-radius: 8px;
  padding: 12px 26px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(10,30,80,.05);
  transition: background .15s, color .15s, border-color .15s;
}
.tab:hover { color: #005BAB; }
.tab.is-active {
  background: #1559b0;
  color: #fff;
  border-color: #1559b0;
}

/* List */
.backnum__year {
  font-size: 16px;
  color: #8a94a6;
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 4px;
  text-align: left;
}
.backnum__list {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(10,30,80,.08);
  padding: 8px 28px;
}
.row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid #eef1f6;
}
.row:last-child { border-bottom: none; }
.row__pill {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1559b0;
  border: 1px solid #1559b0;
  border-radius: 999px;
  padding: 6px 18px;
}
.row__month {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}
.row__new {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #f0641e;
  border-radius: 4px;
  padding: 4px 10px;
  letter-spacing: .04em;
}
.row__pdf {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  transition: opacity .15s;
}
.row__pdf:hover { opacity: .6; }
.row__pdf img { height: 16px; width: auto; }

/* Section 3: How to use */
.howto {
  background: #fff;
  padding: 72px 32px 88px;
}
.howto__inner {
  max-width: 1240px;
  margin: 0 auto;
}
.howto .sec-lead { margin-bottom: 56px; }

.steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.step {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.step__num img { width: auto; height: auto; }
.step__card {
  flex: 1;
  display: grid;
  grid-template-columns: 150px 230px 1fr;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  padding: 34px 40px;
}
.step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.step__icon img { width: auto; height: auto; }
.step__page {
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.step__title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.5;
}
.step__body p {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
  font-weight: 700;
  margin-bottom: 12px;
}
.step__body ul {
  list-style: none;
}
.step__body li {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  padding-left: 1.1em;
  position: relative;
}
.step__body li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* Hints box */
.hints {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 32px;
  background: #e7eefb;
  border-radius: 16px;
  padding: 40px 44px;
}
.hints__head {
  display: flex;
  justify-content: center;
}
.hints__icon { width: 96px; height: auto; }
.hints__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.hints__grid .hint + .hint {
  border-left: 2px solid #fff;
  padding-left: 36px;
}
.hint__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}
.hint__title img { height: 26px; width: auto; }
.hint__text {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

/* Section 4: Glossary */
.glossary {
  background: #eef2f8;
  padding: 72px 32px 96px;
}
.glossary__inner {
  max-width: 1240px;
  margin: 0 auto;
}
.glossary .sec-lead { margin-bottom: 52px; }
.glossary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.term {
  background: #fff;
  border-radius: 12px;
  padding: 28px 30px;
}
.term h3 {
  font-size: 19px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
}
.term p {
  font-size: 15px;
  line-height: 1.85;
  color: #444;
  text-align: left;
}
.term .hl {
  color: var(--blue);
  font-weight: 700;
}

/* Section 5: Disclaimer */
.disclaimer {
  background: #fff;
  padding: 64px 32px 80px;
}
.disclaimer__inner {
  max-width: 1240px;
  margin: 0 auto;
}
.disclaimer__title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 44px;
}
.disclaimer__list {
  list-style: none;
}
.disclaimer__list li {
  position: relative;
  padding-left: 1.2em;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 14px;
}
.disclaimer__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* Responsive (SP) */
@media (max-width: 900px) {
  .lp-header__inner {
    height: 60px;
    padding: 0 20px;
    justify-content: flex-end;
    position: relative;
  }
  .hamburger { display: flex; }

  /* Slide-in nav menu */
  .gnav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 78%;
    max-width: 320px;
    background: #005BAB;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 84px 28px 28px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,.2);
    z-index: 20;
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav a {
    font-size: 16px;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }
  .gnav a.gnav__cta {
    display: flex;
    justify-content: center;
    margin: 24px 0 0;
    padding: 14px 18px;
    background: #fff;
    color: #005BAB;
    text-align: center;
    border: none;
    border-radius: 999px;
    font-weight: 700;
  }

  /* Hero stacks */
  .hero {
    background-position: top center;
  }
  .hero__inner {
    flex-direction: column;
    min-height: 0;
  }
  .hero__left { flex: none; }
  .hero__content {
    padding: 44px 24px;
    max-width: 100%;
  }
  .hero__title { font-size: 30px; }
  .hero__right {
    flex: none;
    padding: 0 16px 40px;
  }

  /* Card optimized for SP */
  .card {
    padding: 28px 20px;
    border-radius: 14px;
    max-width: 100%;
  }
  .card__title { font-size: 22px; }
  .list { padding-left: 0; }
  .list li { font-size: 15px; padding: 0; }
  .block__head h3 { font-size: 17px; }

  /* Features SP */
  .features { padding: 52px 20px 60px; }
  .sec-title { font-size: 26px; }
  .sec-lead { margin-bottom: 36px; }
  .features__grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-card { padding: 32px 24px; }

  /* Back number SP */
  .backnum { padding: 52px 20px 64px; }
  .backnum::before { width: 260px; height: 192px; opacity: .5; }
  .tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .tab {
    padding: 10px 8px;
    font-size: 14px;
    text-align: center;
  }
  .backnum__list { padding: 4px 16px; }
  .row {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 16px 2px;
  }
  .row__pill { font-size: 13px; padding: 5px 14px; }
  .row__month { font-size: 15px; }
  .row__pdf { margin-left: auto; }

  /* How to use SP */
  .howto { padding: 52px 20px 64px; }
  .steps { gap: 22px; }
  .step { gap: 12px; flex-direction: column; align-items: stretch; }
  .step__num { justify-content: flex-start; }
  .step__num img { width: 44px; }
  .step__card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
    text-align: left;
  }
  .step__title { font-size: 19px; }

  .hints {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 22px;
  }
  .hints__grid { grid-template-columns: 1fr; gap: 24px; }
  .hints__grid .hint + .hint {
    border-left: none;
    border-top: 2px solid #fff;
    padding-left: 0;
    padding-top: 24px;
  }

  /* Glossary SP */
  .glossary { padding: 52px 20px 64px; }
  .glossary__grid { grid-template-columns: 1fr; gap: 16px; }
  .term { padding: 24px 22px; }

  /* Disclaimer SP */
  .disclaimer { padding: 48px 20px 60px; }
  .disclaimer__title { font-size: 23px; margin-bottom: 28px; }
  .disclaimer__list li { font-size: 14px; }
}
