:root {
  --blue: #16a7df;
  --blue-dark: #087fb4;
  --blue-pale: #eaf8ff;
  --blue-border: #9eddf5;
  --line: #39b54a;
  --line-dark: #209a34;
  --yellow: #ffd21a;
  --ink: #101820;
  --muted: #4e5b66;
  --white: #fff;
  --shadow: 0 18px 40px rgba(27, 116, 155, .12);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fdff 0%, #eaf8ff 48%, #f9fdff 100%);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { padding: 22px 0 8px; position: relative; z-index: 5; }
.header-inner { display: flex; align-items: center; gap: 34px; }
.brand img { width: 220px; height: auto; }
.header-copy { margin: 0; font-size: 17px; line-height: 1.5; font-weight: 700; }
.line-mini-cta {
  margin-left: auto; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 17px; border-radius: 999px; color: white; background: linear-gradient(135deg, var(--line), var(--line-dark));
  font-size: 13px; font-weight: 800; box-shadow: 0 8px 20px rgba(45, 167, 63, .22);
}
.line-mini-cta:focus-visible, .primary-cta:focus-visible, .qr-link:focus-visible, .footer-links a:focus-visible {
  outline: 4px solid rgba(255, 210, 26, .9); outline-offset: 4px;
}
.line-mark, .line-app-icon {
  display: grid; place-items: center; background: white; color: var(--line-dark); font-weight: 900;
}
.line-mark { width: 30px; height: 30px; border-radius: 50%; font-size: 9px; }
.mobile-line-cta { display: none; }

.hero { padding: 22px 0 44px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 400px); gap: 42px; align-items: start; }
.hero-copy { position: relative; padding: 24px 0 0; }
.lead-copy { margin: 0 0 30px; font-size: clamp(25px, 2.7vw, 39px); line-height: 1.25; font-weight: 900; letter-spacing: .02em; }
.lead-copy span, .hero h1 span { color: var(--blue); }
.hero h1 { margin: 0 0 22px; font-size: clamp(42px, 5.25vw, 72px); line-height: 1.15; font-weight: 950; letter-spacing: -.045em; }
.hero-service { margin: 0 0 20px; font-size: clamp(18px, 2vw, 25px); font-weight: 800; line-height: 1.7; }
.hero-detail { margin: 0; color: #111; font-size: 16px; font-weight: 650; }
.resume-badge {
  position: absolute; right: -40px; top: 5px; z-index: 2; transform: rotate(-4deg);
  padding: 11px 28px 8px; background: #ed1717; color: white; border: 7px solid #fff;
  box-shadow: 0 9px 0 #bc0000, 0 16px 30px rgba(184,0,0,.24); font-size: 36px; line-height: .9; font-weight: 900; text-align: center;
}
.resume-badge strong { display: block; font-size: 1.35em; margin-top: 8px; }
.welcome-note {
  display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; padding: 10px 16px;
  color: var(--blue-dark); background: rgba(255,255,255,.62); border: 1px solid var(--blue-border); border-radius: 12px;
  font-weight: 900; font-size: 18px;
}
.welcome-note svg { width: 27px; height: 27px; color: var(--blue); }
.hero-visual { width: 100%; aspect-ratio: 394 / 585; min-height: 0; border-radius: 34px; overflow: hidden; box-shadow: var(--shadow); background: #dff5ff; }
.hero-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.mobile-hero-visual { display: none; }

.registration { padding: 12px 0 54px; }
.registration-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: center; }
.registration-card { padding: 22px 30px 30px; border: 2px solid var(--blue); border-radius: 22px; background: rgba(255,255,255,.78); box-shadow: 0 12px 28px rgba(30, 138, 184, .08); }
.registration-card h2 { margin: 0 0 20px; color: var(--blue-dark); font-size: 28px; text-align: center; }
.registration-card-inner { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 32px; }
.qr-link { display: block; width: 190px; border-radius: 12px; }
.qr { width: 190px; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: white; border: 1px solid #d9e6ec; }
.benefit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.benefit-list li { display: flex; align-items: center; gap: 13px; color: var(--blue-dark); font-size: 19px; line-height: 1.35; }
.benefit-icon { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #e2f6ff; border: 3px solid white; box-shadow: 0 0 0 2px #bce8fa; font-weight: 900; }
.benefit-icon svg { width: 30px; height: 30px; }
.primary-cta {
  min-height: 146px; padding: 24px 34px; display: grid; grid-template-columns: 76px 1fr 36px; align-items: center; gap: 24px;
  background: linear-gradient(135deg, #ffdc22, #ffc400); border-radius: 38px; box-shadow: 0 16px 26px rgba(208, 157, 0, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.primary-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 34px rgba(208, 157, 0, .24); }
.primary-cta .line-app-icon { width: 76px; height: 76px; border-radius: 16px; color: white; background: var(--line); font-size: 17px; }
.primary-cta small { display: block; font-size: 18px; font-weight: 900; }
.primary-cta strong { display: block; margin-top: 3px; font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }
.primary-cta > svg { width: 36px; height: 36px; stroke-width: 3; }

.flow-section { padding: 20px 0 32px; }
.section-title { margin: 0 0 26px; text-align: center; font-size: clamp(25px, 3vw, 36px); line-height: 1.3; font-weight: 900; }
.flow-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.flow-card { position: relative; min-height: 365px; padding: 56px 16px 22px; text-align: center; border: 1px solid #c7e5f1; border-radius: 17px; background: rgba(255,255,255,.66); box-shadow: 0 8px 18px rgba(24, 130, 174, .05); }
.flow-card:not(:last-child)::after { content: ""; position: absolute; top: 48%; right: -13px; z-index: 3; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 13px solid var(--blue); }
.step { position: absolute; top: -8px; left: 12px; display: grid; place-items: center; width: 48px; height: 56px; border-radius: 8px; color: white; background: linear-gradient(180deg, #27b9ef, #078dc8); font-size: 10px; font-weight: 900; line-height: 1.05; }
.step b { font-size: 21px; }
.flow-card h3 { min-height: 50px; margin: 0 0 14px; color: var(--blue-dark); font-size: 17px; line-height: 1.4; }
.flow-icon { width: 76px; height: 76px; margin: 10px auto 20px; color: var(--blue); stroke-width: 1.5; }
.flow-card p { margin: 0; font-size: 13px; font-weight: 650; line-height: 1.8; }

.reasons-section { padding: 10px 0 28px; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reason-card { display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: center; min-height: 172px; padding: 24px; border-radius: 17px; background: rgba(255,255,255,.72); border: 1px solid #c7e5f1; }
.reason-card > svg { width: 88px; height: 88px; color: var(--blue); stroke-width: 1.45; }
.reason-card h3 { margin: 0 0 8px; color: var(--blue-dark); font-size: 22px; line-height: 1.35; }
.reason-card p { margin: 0; font-size: 14px; font-weight: 650; }

.bottom-cta-section { padding: 0 0 14px; }
.bottom-cta { min-height: 120px; padding: 15px 22px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; border-radius: 18px; background: rgba(255,255,255,.72); }
.bottom-copy { display: flex; align-items: center; gap: 18px; color: var(--blue-dark); }
.phone-hand { display: grid; place-items: center; width: 70px; height: 96px; border: 5px solid #25333a; border-radius: 15px; color: white; background: var(--line); font-size: 30px; font-weight: 900; box-shadow: 10px 12px 0 -4px #f6d1bd; }
.bottom-copy p { margin: 0; font-size: 19px; font-weight: 900; }
.bottom-copy strong { display: block; font-size: 32px; }
.primary-cta.compact { min-height: 95px; padding: 15px 26px; grid-template-columns: 54px 1fr 28px; border-radius: 34px; gap: 16px; }
.primary-cta.compact .line-app-icon { width: 54px; height: 54px; border-radius: 13px; font-size: 13px; }
.primary-cta.compact small { font-size: 14px; }
.primary-cta.compact strong { font-size: 26px; }
.primary-cta.compact > svg { width: 28px; height: 28px; }

.site-footer {
  width: 100vw;
  max-width: none;
  margin-block-start: 4em;
  margin-inline: calc(50% - 50vw);
  color: white;
  background: linear-gradient(90deg, #1caee4 0%, #1caee4 74%, #dff5ff 74%);
}
.site-footer > .container {
  width: 100%;
  max-width: none;
}
.footer-inner {
  min-height: 122px;
  display: grid;
  grid-template-columns: 74fr 26fr;
  gap: 0;
  align-items: center;
}
.site-footer h2 { display: inline-block; margin: 0 22px 0 0; font-size: 15px; vertical-align: top; }
.site-footer ul { display: inline-block; margin: 0; padding-left: 20px; font-size: 12px; font-weight: 650; }
.footer-inner > div {
  display: flex;
  align-items: flex-start;
  padding-inline: clamp(24px, 4vw, 72px);
}
.footer-inner img { width: 178px; justify-self: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 22px; padding: 0 clamp(24px, 4vw, 72px) 16px; font-size: 12px; font-weight: 700; color: #1a569b;}

.sp-only-break { display: none; }
.responsive-break { display: none; }

@media (max-width: 1020px) {
  .header-inner { gap: 18px; }
  .brand img { width: 170px; }
  .header-copy { margin-left: 0; font-size: 12px; }
  .line-mini-cta { margin-left: auto; padding: 8px 12px; gap: 7px; font-size: 11px; white-space: nowrap; }
  .line-mini-cta .line-mark { width: 26px; height: 26px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-right: 220px; }
  .resume-badge { right: 10px; }
  .hero-visual { width: min(100%, 520px); min-height: 0; justify-self: center; }
  .registration-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 16px; }
  .flow-card:not(:last-child)::after { display: none; }
  .reason-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .pc-only-break { display: none; }
  .sp-only-break, .responsive-break { display: block; }
  .line-mini-cta { display: none; }
  .container { width: min(100% - 24px, 1180px); }
  .site-header { padding-top: 12px; }
  .header-inner { gap: 12px; align-items: flex-start; }
  .brand img { width: 155px; }
  .header-copy { font-size: 12px; }
  .hero { padding-top: 4px; }
  .hero-grid { grid-template-columns: 1fr; row-gap: 0; }
  .hero-copy { display: block; padding-right: 0; }
  .lead-copy { margin-bottom: 18px; text-align: left; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(32px, 9.5vw, 43px); white-space: nowrap; }
  .mobile-line-cta {
    width: 100%;
    min-height: 62px;
    margin-bottom: 26px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    color: white;
    background: linear-gradient(135deg, var(--line), var(--line-dark));
    box-shadow: 0 8px 20px rgba(45, 167, 63, .22);
    font-size: clamp(12px, 3.6vw, 16px);
    font-weight: 900;
    text-align: center;
  }
  .mobile-line-cta .line-mark { flex: 0 0 34px; width: 34px; height: 34px; }
  .desktop-hero-visual { display: none; }
  .mobile-hero-visual { display: block; width: min(100%, 430px); min-height: 0; margin: 0 auto 26px; border-radius: 24px; }
  .hero-service { font-size: 17px; }
  .hero-detail { font-size: 14px; }
  .resume-badge { position: relative; display: block; width: max-content; right: auto; top: auto; margin: 24px auto 28px; font-size: 25px; transform: rotate(-3deg); }
  .welcome-note { margin-top: 0; font-size: 14px; }
  .registration-card { padding-inline: 18px; }
  .registration-card-inner { grid-template-columns: 135px 1fr; gap: 18px; }
  .qr-link, .qr { width: 135px; }
  .benefit-list li { font-size: 14px; }
  .benefit-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .primary-cta { min-height: 115px; grid-template-columns: 56px 1fr 26px; padding: 20px; gap: 14px; border-radius: 26px; }
  .primary-cta .line-app-icon { width: 56px; height: 56px; border-radius: 12px; font-size: 13px; }
  .primary-cta small { font-size: 13px; }
  .primary-cta strong { font-size: 27px; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .flow-card { min-height: 320px; }
  .reason-card { grid-template-columns: 72px 1fr; padding: 18px; }
  .reason-card > svg { width: 68px; height: 68px; }
  .reason-card h3 { font-size: 18px; }
  .bottom-cta { grid-template-columns: 1fr; }
  .bottom-copy { justify-content: center; }
  .bottom-copy strong { font-size: 28px; }
  .site-footer { background: #1caee4; padding: 18px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > div { display: block; }
  .site-footer h2 { display: block; margin-bottom: 8px; }
  .site-footer ul { display: block; }
  .footer-inner img { width: 150px; background: #dff5ff; padding: 7px; border-radius: 8px; }
  .footer-links {         justify-content: center;
        flex-wrap: wrap;
        padding: 5px;
        margin-block-start: 1em; }
}

@media (max-width: 430px) {
  .header-inner { align-items: center; }
  .brand { flex: 0 0 48%; }
  .brand img { width: 100%; }
  .header-copy { display: block; margin-left: 0; font-size: clamp(9px, 2.7vw, 12px); line-height: 1.4; }
  .hero h1 { font-size: clamp(30px, 9vw, 38px); letter-spacing: -.065em; }
  .hero-visual { width: 100%; min-height: 0; }
  .registration-card-inner { grid-template-columns: 1fr; justify-items: center; }
  .qr-link, .qr { width: min(200px, 68vw); }
  .benefit-list { width: 100%; }
  .primary-cta { grid-template-columns: 50px minmax(0, 1fr) 22px; padding: 16px 14px; gap: 10px; }
  .primary-cta .line-app-icon { width: 50px; height: 50px; }
  .primary-cta small { font-size: 11px; }
  .primary-cta strong { font-size: clamp(21px, 7vw, 27px); }
  .primary-cta.compact { grid-template-columns: 48px minmax(0, 1fr) 22px; padding-inline: 14px; gap: 10px; }
  .primary-cta.compact strong { font-size: 22px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-card { min-height: 30vh; padding:16px;}
  .flow-card h3{font-size: 1.2em; margin: 0 0 0;}
  .flow-card p{font-size: 1em}
  .bottom-copy { align-items: flex-start; }
  .bottom-copy p { font-size: 15px; }
  .bottom-copy strong { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-cta { transition: none; }
}
