/* ==========================================================
   CASTER NEO Recruiting LP
   PC: 1440px design / SP: 390px design  (breakpoint: 900px)
   ========================================================== */
:root {
  --primary: #0b499e;
  --primary-deep: #0a499d;
  --accent: #f05400;
  --yellow: #f9d624;
  --text: #000;
  --text-sub: #5c5c5c;
  --line: #dedede;
  --line-strong: #d3d3d3;
  --bg-gray: #f5f5f5;
  --shadow: 0 4px 31px rgba(3, 22, 47, .15);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-head: "BIZ UDPGothic", var(--font-jp);
  --font-num: "Advent Pro", var(--font-jp);
  --container: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
main { overflow-x: clip; }
body { margin: 0; font-family: var(--font-jp); font-size: 16px; line-height: 1.5; letter-spacing: .2px; color: var(--text); background: #fff; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 24px; }
.sp { display: none; }

/* image helpers (crops carried over from the design) */
.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crop { position: absolute; overflow: hidden; border-radius: inherit; }
.crop > img, .job__ic > img:not(.cover), .cta__bg > img, .cta__photo img { position: absolute; max-width: none; }
.laurel { position: absolute; overflow: hidden; }
.laurel > img { position: absolute; max-width: none; width: 556.29%; height: 390.59%; left: -29.8%; top: -22.6%; }

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

/* ---------- Section basics ---------- */
.section { padding: 50px 0; margin-top: 100px; background: #fff; text-align: center; }
.section--plain { background: none; margin-top: 0; }
.eyebrow { padding: 10px; font-size: 19px; line-height: 32px; letter-spacing: 2.2px; }
.h2 { padding: 10px; font-family: "IBM Plex Sans", var(--font-jp); font-size: 52px; font-weight: 400; line-height: 62px; letter-spacing: .2px; }
.h2 em { font-style: normal; color: var(--primary); }
.h2 + * { margin-top: 48px; }
.note { margin-top: 48px; padding: 10px; font-size: 16px; line-height: 24px; }

/* ---------- Buttons / links ---------- */
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; line-height: 25px; }
.link-arrow span { padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.link-arrow i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; }
.link-arrow--light { color: #fff; }
.link-arrow--light i { background: #fff; }
.link-arrow--dark { color: #000; }
.link-arrow--dark span { border-color: var(--primary); }
.link-arrow--dark i { background: var(--primary); }
.link-arrow:hover span { border-color: transparent; }

.btn-hero, .btn-cta, .btn-primary, .header__cta, .sp-cta__btn { transition: filter .2s, transform .2s; }
.btn-hero:hover, .btn-cta:hover, .btn-primary:hover, .header__cta:hover, .sp-cta__btn:hover { filter: brightness(1.08); }

.btn-hero { display: inline-flex; align-items: center; justify-content: center; padding: 20px 40px; border-radius: 32px; background: var(--accent); color: #fff; font-size: 16px; font-weight: 700; line-height: 16px; letter-spacing: .32px; }
.btn-cta { display: inline-flex; align-items: center; height: 60px; padding: 8px 24px 8px 48px; border-radius: 30px; background: var(--accent); color: #fff; font-size: 17px; font-weight: 700; line-height: 25px; box-shadow: 0 4px 31px rgba(223, 136, 136, .15); white-space: nowrap; }
.btn-cta span { margin-left: 8px; padding: 2px 10px; border-radius: 14px; background: #fff; color: var(--accent); font-size: 16px; line-height: 24px; letter-spacing: 1.1px; }
.btn-primary { display: flex; align-items: center; justify-content: center; width: min(458px, 100%); padding: 16px 24px; border-radius: 500px; background: var(--primary); color: #fff; font-size: 17px; font-weight: 700; line-height: 25px; }

/* ==========================================================
   Header
   ========================================================== */
.header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; height: 71px; padding: 16px 16px 16px 24px; background: #fff; border-bottom: 1px solid rgba(247, 247, 247, .1); }
.header__logo img { display: block; width: 100px; height: 38px; object-fit: cover; }
.header__nav { display: flex; align-items: center; gap: 32px; }
.header__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 18px; }
.header__list a { display: block; padding: 4px; color: var(--primary); font-size: 14px; line-height: 24px; }
.header__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header__cta { padding: 12px 20px; border-radius: 999px; background: var(--accent); color: #f6f6f6; font-family: Inter, var(--font-jp); font-size: 14px; font-weight: 600; line-height: 14px; letter-spacing: -.28px; white-space: nowrap; }
.header__menu { display: none; }

/* ==========================================================
   Hero
   ========================================================== */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #0a499d, #273241); border-radius: 0 0 12px 12px; color: #fff; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { position: absolute; left: -.25%; top: 0; width: 100.49%; height: 100%; max-width: none; object-fit: cover; mix-blend-mode: overlay; opacity: .7; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 73, 158, .3); }
.hero__inner { position: relative; max-width: 1440px; min-height: 866px; margin-inline: auto; padding: 160px 0 118px 60px; }
.hero__text, .badges { width: 593px; }
.hero__text { display: flex; flex-direction: column; align-items: center; text-align: center; }

.hero__title { padding: 8.5px; font-family: var(--font-head); font-size: 56.25px; font-weight: 400; letter-spacing: 2.73px; white-space: nowrap; }
.hero__title > span { display: block; }
.hero__title-l1 { line-height: 78px; }
.hero__title-l1 small { font-size: 41.76px; }
.hero__title-l2 { display: flex !important; align-items: center; justify-content: center; line-height: 82px; }
.hero__title .num { margin: 0 2px 0 14px; font-family: var(--font-num); font-size: 94px; font-weight: 600; line-height: 82px; letter-spacing: 13.16px; margin-right: -9px; color: var(--yellow); }
.hero__title .unit { align-self: flex-end; font-size: 32px; font-weight: 700; color: var(--yellow); line-height: 70px; }
.hero__title .tax { margin: 6px 8px 0 4px; padding: 4px 2px 4px 5px; border: 1px solid #fff; font-size: 15px; font-weight: 700; line-height: 19px; }
.hero__title .kara { align-self: flex-end; font-size: 32px; font-weight: 700; line-height: 70px; }

.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; margin-top: 8px; }
.checks li { display: flex; align-items: center; gap: 8px; color: #f7f7f7; font-size: 16px; font-weight: 700; line-height: 19.2px; letter-spacing: 0; white-space: nowrap; }
.checks img { flex: none; width: 20px; height: 20px; }
.hero__lead { margin-top: 24px; color: rgba(247, 247, 247, .9); font-size: 26px; line-height: 28.8px; letter-spacing: .68px; }
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 24px; }
.hero__actions .link-arrow { line-height: 20.4px; letter-spacing: 0; }
.hero__note { margin-top: 24px; color: rgba(247, 247, 247, .8); font-size: 10px; font-weight: 500; line-height: 10px; letter-spacing: .1px; }

/* laurel badges */
.badges { display: flex; justify-content: center; gap: 21.68px; margin-top: 24px; }
.badge { position: relative; flex: none; width: 148px; height: 149px; overflow: hidden; white-space: nowrap; }
.badge .laurel { left: 0; top: .5px; width: 147.23px; height: 148.2px; }
.badge > span:not(.laurel) { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-weight: 700; text-align: center; }
.badge__label { margin-top: -20.4px; font-size: 14.46px; line-height: 16.26px; letter-spacing: .99px; }
.badge__foot { margin-top: 40.1px; font-size: 11.75px; line-height: 16.26px; letter-spacing: .09px; }
.badge__num { font-family: var(--font-num); font-weight: 600 !important; color: var(--yellow); }
.badge--a .badge__label { font-size: 15.36px; letter-spacing: 1.9px; margin-left: -1.3px; }
.badge--a .badge__num { margin-top: 10px; font-size: 52.63px; line-height: 47.9px; letter-spacing: -1.63px; }
.badge--b .badge__num { margin: 17.3px 0 0 -9.8px; font-size: 63.88px; line-height: 67.76px; letter-spacing: 3.5px; }
.badge--b .badge__unit { margin: 13px 0 0 31px; font-family: var(--font-head); font-size: 22.59px; line-height: 27.1px; color: var(--yellow); }
.badge__isms { margin-top: 3.6px; font-family: var(--font-head); font-size: 22.59px; line-height: 27.1px; letter-spacing: 2.47px; color: var(--yellow); }
.badge__pmark { margin-top: 24.4px; font-family: var(--font-head); font-size: 11.75px; line-height: 27.1px; letter-spacing: .66px; color: var(--yellow); }

/* laptop mock-up (942 x 733 artboard, scaled with zoom on SP) */
.hero__visual { position: absolute; left: 653px; top: 92px; }
.mac { position: relative; width: 942px; height: 733px; }
.mac > * { position: absolute; max-width: none; }
.mac__screen-bg { left: 55px; top: 58.2px; width: 831.8px; height: 661.6px; background: #000; border: 4.5px solid #9fa2a5; border-radius: 30px 30px 0 0; }
.mac__base { left: 0; top: 693.1px; width: 941.8px; height: 24.9px; }
.mac__bottom { left: 0; top: 718px; width: 941.8px; height: 14px; }
.mac__grip { left: 390.3px; top: 693.1px; width: 161.1px; height: 14.9px; }
.mac__img { left: 82.1px; top: 85.4px; width: 777.6px; height: 580.6px; overflow: hidden; }
.mac__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }

.diagram { position: absolute; left: 176.9px; top: calc(50% - 138.66px); width: 380px; height: 380px; transform: translate(-50%, -50%); white-space: nowrap; text-align: center; }
.diagram > * { position: absolute; }
.diagram__ring { left: 17.32%; top: 17.06%; width: 65.59%; height: 65.86%; max-width: none; }
.diagram__core { left: calc(50% + 1px); top: 50%; width: 175.47px; height: 175.47px; max-width: none; transform: translate(-50%, -50%) rotate(45deg); }
.diagram__label, .diagram__num { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.diagram__label { margin-top: -38px; font-size: 17px; font-weight: 700; line-height: 18px; letter-spacing: 2.1px; color: #fff; }
.diagram__num { margin: 9.5px 0 0 -15.5px; font-family: var(--font-num); font-size: 78.25px; font-weight: 600; line-height: 83px; letter-spacing: 8.6px; color: var(--yellow); }
.diagram__unit { left: 55.53%; top: 45%; font-family: var(--font-head); font-size: 25px; font-weight: 700; line-height: 30px; color: var(--yellow); }
.bubble { width: 109px; height: 109px; margin: -54.5px 0 0 -54.5px; left: 50%; top: 50%; }
.bubble--top { transform: translateY(-112.4px); }
.bubble--right { transform: translateX(112.4px); }
.bubble--left { transform: translateX(-112.4px); }
.bubble--bottom { transform: translateY(112.4px); }
.bubble > * { position: absolute; left: 50%; top: 50%; }
.bubble__bg { width: 109px; height: 109px; max-width: none; transform: translate(-50%, -50%) rotate(45deg); }
.bubble__ic { width: 38px; height: 38px; object-fit: cover; transform: translate(-50%, -50%) translateY(-12px); }
.bubble span { transform: translate(-50%, -50%) translateY(21px); font-size: 12px; font-weight: 700; line-height: 18px; letter-spacing: 1.1px; color: var(--primary); }
.bubble--left .bubble__ic, .bubble--bottom .bubble__ic { width: 34px; height: 34px; transform: translate(-50%, -50%) translateY(-18px); }

/* ==========================================================
   Logos
   ========================================================== */
.logos { padding: 20px 0; overflow: hidden; }
.logos__list { display: flex; align-items: center; justify-content: center; gap: 24px; }
.logos__list li { flex: none; width: 130px; height: 56px; border-radius: 3.2px; overflow: hidden; }
.logos__list img { display: block; width: 130px; height: 55.55px; }

/* ==========================================================
   Worries / Cost (gray block)
   ========================================================== */
.gray-block { padding: 40px 0; background: var(--bg-gray); }
.worries__track { display: flex; gap: 24px; padding: 16px 24px 32px; margin: 24px 0 -32px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.worries__track::-webkit-scrollbar { display: none; }
.worry { flex: none; display: flex; flex-direction: column; align-items: center; gap: 30px; width: 476px; padding: 40px 0; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 4px 15.5px rgba(3, 22, 47, .15); scroll-snap-align: center; }
.worry h3 { padding: 10px; font-size: 20px; font-weight: 400; line-height: 30px; letter-spacing: .1px; }
.worry__img { position: relative; width: 308px; height: 225px; border-radius: 10px; overflow: hidden; }
.worry__img .crop { border-radius: 14px; }
.worries__lead { display: inline-block; margin-top: 40px; padding: 10px; font-size: 26px; line-height: 38px; }
.worries__lead span { display: inline-block; border-bottom: 5px solid var(--primary); }

.cost__cards { display: flex; gap: 16px; text-align: left; margin-top: 40px; }
.cost-card { flex: 1 1 0; min-width: 0; padding: 24px 32px; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; }
.cost-card__tags { display: flex; }
.cost-card__tag { display: inline-block; padding: 10px; border: 2px solid #000; font-size: 16px; font-weight: 700; line-height: 24px; letter-spacing: 1.1px; white-space: nowrap; }
.cost-card__reco { display: inline-flex; align-items: center; gap: 2px; padding: 10px 16px 10px 10px; border: 2px solid #fff; border-left: 0; background: #fff; color: var(--primary); font-size: 16px; font-weight: 700; line-height: 24px; letter-spacing: 1.1px; white-space: nowrap; }
.cost-card h3 { margin-top: 10px; padding: 10px; font-size: 26px; font-weight: 400; line-height: 38px; }
.cost-card__text { padding: 10px; color: var(--text-sub); font-size: 16px; line-height: 24px; }
.cost-card--primary { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 4px 15.5px rgba(0, 0, 0, .15); }
.cost-card--primary .cost-card__tag { border-color: #fff; }
.cost-card--primary .cost-card__text { color: #fff; }
.cost .note { margin-top: 24px; }

/* ==========================================================
   CTA card (3 places)
   ========================================================== */
.cta { position: relative; display: flex; align-items: center; height: 370px; margin-top: 35px; border: 1px solid #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); text-align: left; }
.section .cta { margin-top: 48px; }
.cost .cta { margin-top: 35px; }
.cta--dark { background: linear-gradient(180deg, #0a499d 0%, #041a37 100%); color: #fff; }
.cta--light { background: #eff3ff; color: #000; margin-top: 0; }
.cta__bg { position: absolute; inset: 0; mix-blend-mode: overlay; opacity: .7; overflow: hidden; }
.cta--dark::after { content: ""; position: absolute; inset: 0; background: rgba(11, 73, 158, .3); pointer-events: none; }
.cta__body, .cta__media { position: relative; z-index: 1; }
.cta__body { flex: 1 1 0; min-width: 0; max-width: 590px; padding: 17px 0 17px 50px; }
.cta__title { font-size: 26px; font-weight: 400; line-height: 38px; }
.cta__title strong { color: var(--primary); font-size: 32px; line-height: 48px; }
.cta__text { padding: 10px 0; font-size: 16px; line-height: 24px; }
.cta__actions { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 24px; }
.cta__media { flex: none; width: 481px; height: 100%; margin: 0 -33px 0 auto; }
.cta__photo { position: absolute; left: 2px; top: 0; width: 477px; height: 370px; overflow: hidden; }
.cta__photo span { position: absolute; inset: 0; overflow: hidden; }

.seal { position: absolute; left: 22px; top: 156.55px; width: 380px; height: 380px; transform: translate(-50%, -50%); white-space: nowrap; text-align: center; }
.seal > * { position: absolute; }
.seal__ring { left: 17.32%; top: 17.06%; width: 65.59%; height: 65.86%; max-width: none; }
.seal__core { left: calc(50% + 1px); top: 50%; width: 175.47px; height: 175.47px; max-width: none; transform: translate(-50%, -50%) rotate(45deg); }
.seal .laurel { left: 110px; top: 104.5px; width: 163px; height: 164px; }
.seal > span:not(.laurel) { left: 50%; top: 50%; transform: translate(-50%, -50%); font-weight: 700; color: #fff; }
.seal__label { margin-top: -26.5px; font-size: 17px; line-height: 18px; letter-spacing: 2.1px; }
.seal__num { font-family: var(--font-num); font-weight: 600 !important; color: var(--yellow) !important; }
.seal__foot { margin: 40.5px 0 0 3px; font-size: 13px; line-height: 18px; letter-spacing: .1px; }
.seal--800 .seal__num { margin-top: 7.5px; font-size: 58.25px; line-height: 53px; letter-spacing: -1.8px; }
.seal--10 .seal__label { font-size: 16px; letter-spacing: 1.1px; }
.seal--10 .seal__num { margin: 15.5px 0 0 -8.8px; font-size: 70.7px; line-height: 75px; letter-spacing: 3.85px; }
.seal--10 .seal__unit { margin: 25px 0 0 35.5px; font-family: var(--font-head); font-size: 25px; line-height: 30px; color: var(--yellow) !important; }

/* CTA band */
.band { position: relative; margin-top: 100px; padding: 50px 0; background: linear-gradient(180deg, #0a499d, #041a37); overflow: hidden; }
.band__bg { position: absolute; inset: 0; }
.band__bg img { position: absolute; left: 0; top: -52.14%; width: 100%; height: 204.28%; max-width: none; object-fit: cover; mix-blend-mode: overlay; opacity: .7; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 73, 158, .6); }
.band .container { position: relative; }

/* ==========================================================
   Service
   ========================================================== */
.service__cards { display: flex; gap: 8px; }
.service__cards li { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 32px 12px 24px; border: 1px solid var(--line); border-radius: 10px; }
.service__cards img { width: 44px; height: 44px; object-fit: cover; }
.service__cards span { padding: 10px 0; font-size: 20px; line-height: 30px; letter-spacing: .1px; }
.service__cards li + li::before { content: ""; position: absolute; z-index: 1; left: -4px; top: 50%; width: 32px; height: 32px; transform: translate(-50%, -50%); background: var(--primary) url(../assets/plus-white.svg) center / 16px 16px no-repeat; }
.service__lead { margin-top: 48px; padding: 10px; font-size: 19px; line-height: 32px; letter-spacing: 2.2px; }

/* ==========================================================
   Reason
   ========================================================== */
.reason__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; text-align: left; }
.reason-card { padding: 40px; border: 1px solid var(--line); border-radius: 10px; }
.reason-card__no { display: flex; align-items: center; gap: 4px; font-size: 16px; line-height: 24px; }
.reason-card h3 { margin-top: 8px; font-size: 26px; font-weight: 400; line-height: 38px; }
.reason-card h3 + p { margin-top: 24px; font-size: 16px; line-height: 24px; }

/* ==========================================================
   Case
   ========================================================== */
.tabs-wrap { display: flex; justify-content: center; }
.tabs { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.tabs button { flex: none; padding: 10px 24px; border: 0; background: none; font-size: 17px; line-height: 25px; letter-spacing: .2px; white-space: nowrap; }
.tabs button[aria-selected="true"] { padding: 20px 40px; background: var(--primary); color: #fff; box-shadow: 0 4px 15.5px rgba(3, 22, 47, .15); }
.tabs button:not([aria-selected="true"]):hover { color: var(--primary); }
.case__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; text-align: left; }
.case-card { background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.case-card__img { position: relative; height: 170px; overflow: hidden; }
.case-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
.case-card__tag { padding: 4px 8px; border-radius: 3px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: 1.1px; }
.case-card h3 { height: 60px; overflow: hidden; font-size: 20px; font-weight: 400; line-height: 30px; letter-spacing: .1px; }
.case-card__meta { display: flex; flex-wrap: wrap; gap: 0 16px; }
.case-card__meta li { display: flex; align-items: flex-start; gap: 4px; color: var(--text-sub); font-size: 14px; line-height: 24px; white-space: nowrap; }
.ic-people { position: relative; flex: none; width: 24px; height: 24px; overflow: hidden; }
.ic-people img { position: absolute; max-width: none; }
.ic-people img:nth-child(1) { left: 69.46%; top: 54.71%; width: 26.37%; height: 28.62%; }
.ic-people img:nth-child(2) { left: 20.83%; top: 16.67%; width: 33.34%; height: 33.33%; }
.ic-people img:nth-child(3) { left: 56.96%; top: 16.67%; width: 22.21%; height: 33.33%; }
.ic-people img:nth-child(4) { left: 4.17%; top: 54.17%; width: 66.66%; height: 29.16%; }

/* ==========================================================
   Job
   ========================================================== */
.job__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.job__grid li { display: flex; align-items: center; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.job__ic { position: relative; flex: none; width: 68px; height: 69px; border-radius: 7px; overflow: hidden; }
.job__grid li > span:last-child { flex: 1; min-width: 0; padding: 10px; font-size: clamp(15px, 1.55vw, 20px); line-height: 30px; letter-spacing: .1px; text-align: left; white-space: nowrap; }

/* ==========================================================
   Price
   ========================================================== */
.price__box { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 56px 24px; border: 1px solid var(--line); border-radius: 10px; }
.price__plan { display: flex; align-items: center; gap: 5px; color: #707070; font-family: Inter, var(--font-jp); font-size: 16px; line-height: 16px; letter-spacing: 0; }
.price__plan span { padding: 6px 12px; border-radius: 3px; background: var(--primary); color: #f6f6f6; font-size: 14px; line-height: 14px; }
.price__amount { display: flex; align-items: center; gap: 12px; color: #222; letter-spacing: 0; }
.price__amount b { font-family: var(--font-num); font-size: 90px; font-weight: 600; line-height: 72px; }
.price__amount span { padding-top: 18px; font-size: 32px; font-weight: 700; line-height: 51.2px; }
.price__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.price__pills li { display: flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px solid var(--primary); border-radius: 28px; background: #fff; color: var(--primary); font-family: Inter, var(--font-jp); font-size: 14px; line-height: 14px; letter-spacing: 0; text-align: left; }
.price__pills img { flex: none; }
.price__include { width: min(458px, 100%); }
.price__include p { padding: 12px; border-radius: 2px; background: #f7f7f7; color: #222; font-family: Inter, var(--font-jp); font-size: 13px; font-weight: 600; line-height: 13px; letter-spacing: 0; }
.price__include ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; margin-top: 8px; }
.price__include li { display: flex; align-items: center; gap: 8px; color: #222; font-weight: 700; line-height: 24.6px; letter-spacing: 1.1px; white-space: nowrap; }
.price__ad { padding: 10px; line-height: 24px; }

/* ==========================================================
   Flow
   ========================================================== */
.flow__cards { display: flex; align-items: center; text-align: left; }
.flow-card { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; height: 360px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.flow-card + .flow-card { margin-left: 16px; }
.flow-card + .flow-card::before { content: ""; position: absolute; left: -17px; top: 50%; width: 16px; height: 1px; background: url(../assets/flow-line.svg) center / 100% 100% no-repeat; }
.flow-card__head { display: flex; flex-direction: column; gap: 10px; }
.flow-card__head p { color: var(--primary); font-weight: 700; line-height: 24px; }
.flow-card h3 { font-size: 26px; font-weight: 400; line-height: 38px; white-space: nowrap; }
.flow-card__img { position: relative; flex: none; height: 130px; border-radius: 14px; overflow: hidden; }
.flow-card__text { color: var(--text-sub); line-height: 24px; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq__list { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.faq-item { padding: 8px; border: 1px solid var(--line); border-radius: 10px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0 10px 10px; font-size: 20px; line-height: 30px; letter-spacing: .1px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 32px; height: 32px; background: url(../assets/faq-plus.svg) center / contain no-repeat; }
.faq-item[open] summary::after { background-image: url(../assets/faq-minus.svg); }
.faq-item p { padding: 10px 10px 10px 32px; color: var(--text-sub); line-height: 24px; }

/* ==========================================================
   Contact
   ========================================================== */
.contact { position: relative; margin-top: 100px; overflow: hidden; background: linear-gradient(180deg, #0a499d, #273241); color: #fff; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { position: absolute; left: -.25%; top: 0; width: 100.49%; height: 100%; max-width: none; object-fit: cover; mix-blend-mode: overlay; opacity: .7; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: rgba(11, 73, 158, .3); }
.contact__inner { position: relative; display: flex; align-items: flex-start; max-width: 1440px; min-height: 670px; margin-inline: auto; padding: 0 87px 0 60px; }
.contact__text { flex: none; display: flex; flex-direction: column; align-items: center; width: 593px; padding: 146px 0 60px; text-align: center; }
.contact__title { padding: 8.5px; font-family: var(--font-head); font-size: 56.25px; font-weight: 400; line-height: 78px; letter-spacing: 2.73px; white-space: nowrap; }
.contact__title small { font-size: 41.76px; }
.contact__title em { font-style: normal; color: var(--yellow); }
.contact .checks { margin-top: 24px; }
.contact__lead { margin-top: 24px; padding: 0 22px; color: rgba(247, 247, 247, .9); line-height: 28.8px; letter-spacing: -.32px; }
.doc { display: flex; align-items: stretch; margin-top: 24px; min-height: 90px; border-radius: 13px; overflow: hidden; color: #222; }
.doc__thumb { position: relative; flex: none; width: 140px; background: var(--primary); overflow: hidden; }
.doc__thumb img { position: absolute; left: 5.28%; top: 5.51%; width: 117.72%; height: 110.8%; max-width: none; }
.doc__body { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 16px; background: #fff; border-top: 1px solid #e6e6e6; }
.doc__body b { font-size: 16px; line-height: 24px; letter-spacing: 1.1px; }
.doc__body span { color: var(--primary); font-size: 14px; font-weight: 700; line-height: 24px; }

.contact__form { flex: 1 1 700px; min-width: 0; max-width: 700px; min-height: 550px; margin: 120px 0 0 auto; padding: 40px; background: #fff; border-radius: 16px 16px 0 0; color: #333; }
.contact__form iframe { display: block; width: 100% !important; }

/* ==========================================================
   Company / Footer
   ========================================================== */
.company { margin-top: 100px; }
.company__table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 22.1px; letter-spacing: 0; text-align: left; }
.company__table th, .company__table td { padding: 15.5px 17px 16.6px; font-weight: 400; vertical-align: top; }
.company__table th { width: 249.3px; background: #ebebeb; border-top: 1px solid #fff; color: var(--text-sub); }
.company__table td { border-top: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; }
.company__table tr:last-child td { border-bottom: 1px solid #e5e5e5; }
.company__note { margin-left: 0.5em; font-size: 11px; line-height: 16.5px; }

.footer { margin-top: 100px; padding: 32px; background: var(--primary-deep); color: #fff; text-align: center; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; font-size: 12.5px; line-height: 18.75px; letter-spacing: .4px; opacity: .9; }
.footer__links a:hover { text-decoration: underline; }
.footer__copy { margin-top: 3.2px; font-size: 11px; line-height: 16.5px; letter-spacing: 1.1px; opacity: .9; }

.sp-cta { display: none; }

/* ==========================================================
   Tablet tweaks (901px – 1239px)
   ========================================================== */
@media (max-width: 1239px) {
  .h2 { font-size: clamp(36px, 4.2vw, 52px); line-height: 1.2; }
  .service__cards span { font-size: clamp(15px, 1.6vw, 20px); white-space: nowrap; }
  .reason-card h3, .flow-card h3, .cost-card h3 { font-size: clamp(20px, 2.1vw, 26px); }
  .cta__title { font-size: clamp(20px, 2.1vw, 26px); }
  .flow-card { height: auto; align-self: stretch; }
}
@media (max-width: 1099px) {
  .contact__inner { flex-direction: column; align-items: center; padding: 0 24px; }
  .contact__text { width: 100%; padding: 120px 0 0; }
  .contact__form { flex: none; width: 100%; margin: 48px auto 0; }
}

/* ==========================================================
   SP (≤ 900px, 390px design)
   ========================================================== */
@media (max-width: 900px) {
  .sp { display: inline; }
  .pc { display: none; }
  body { padding-bottom: 63px; }
  [id] { scroll-margin-top: 12px; }

  .section { margin-top: 20px; }
  .section--plain { margin-top: 0; }
  .eyebrow { padding: 0; font-size: 16px; line-height: 24px; }
  .h2 { padding-inline: 0; font-size: 26px; line-height: 38px; }
  .container > .h2 { margin-inline: -14px; }
  .h2 + * { margin-top: 24px; }
  .note { margin-top: 24px; padding: 0; font-size: 12px; line-height: 24px; }

  /* header */
  .header { height: 63px; padding: 12px 12px 12px 15px; }
  .header__menu { position: relative; display: block; width: 44px; height: 27px; padding: 0; border: 0; background: none; }
  .header__menu img { display: block; width: 44px; height: 27px; }
  .header.is-open .header__menu img { visibility: hidden; }
  .header.is-open .header__menu::before, .header.is-open .header__menu::after { content: ""; position: absolute; right: 0; top: 12px; width: 24px; height: 2.5px; background: var(--primary); transform: rotate(45deg); }
  .header.is-open .header__menu::after { transform: rotate(-45deg); }
  .header__nav { display: none; position: absolute; top: 63px; left: 0; right: 0; flex-direction: column; gap: 20px; padding: 20px 24px 28px; background: #fff; border-top: 1px solid #e6e6e6; box-shadow: 0 12px 24px rgba(3, 22, 47, .2); }
  .header.is-open .header__nav { display: flex; }
  .header__list { flex-direction: column; gap: 4px; width: 100%; }
  .header__list a { padding: 10px 4px; font-size: 16px; text-align: center; }
  .header__cta { padding: 14px 32px; }

  /* hero */
  .hero { border-radius: 0; }
  .hero__inner { display: flex; flex-direction: column; align-items: center; min-height: 0; padding: 80px 0 34px; }
  .hero__inner::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; background: rgba(11, 73, 158, .75); }
  .hero__text, .badges { width: 100%; }
  .hero__title { padding: 8px 0; font-size: 37px; letter-spacing: 1.8px; }
  .hero__title-l1 { line-height: 52px; }
  .hero__title-l1 small { font-size: 28px; }
  .hero__title-l2 { line-height: 56px; }
  .hero__title .num { margin: 0 -6px 0 8px; font-size: 62px; line-height: 56px; letter-spacing: 8.6px; }
  .hero__title .unit, .hero__title .kara { font-size: 21px; line-height: 46px; }
  .hero__title .tax { margin: 4px 6px 0 3px; padding: 2px 1px 2px 3px; font-size: 10px; line-height: 13px; }
  .checks { margin-top: 12px; gap: 8px 14px; }
  .checks li { font-size: 15px; }
  .hero__lead { margin-top: 16px; font-size: 20px; letter-spacing: .5px; }
  .hero__actions { gap: 22px; margin-top: 20px; }
  .btn-hero { min-width: 244px; height: 56px; padding: 0 40px; }
  .hero__note { margin-top: 26px; }
  .hero__visual { position: relative; left: auto; top: auto; align-self: flex-start; margin: 6px 0 0 33px; height: 304px; }
  .mac { zoom: .415; }
  .badges { position: relative; gap: 8px; margin-top: 10px; }
  @media (min-width: 440px) { .hero__visual { align-self: center; margin-left: 0; } }
  .badge { zoom: .76; }

  /* logos */
  .logos { padding: 12px 0; }
  .logos__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; width: min(100% - 32px, 440px); margin-inline: auto; }
  .logos__list li { width: 100%; height: auto; aspect-ratio: 130 / 56; }
  .logos__list img { width: 100%; height: 100%; object-fit: contain; }

  /* worries / cost */
  .gray-block { padding: 20px 0 40px; }
  .worries.section { padding-bottom: 30px; }
  .worries__track { gap: 8px; margin-top: 8px; scroll-snap-type: x mandatory; scroll-padding: 0 24px; }
  .worry { gap: 14px; width: 310px; padding: 22px 0 18px; scroll-snap-align: start; }
  .worry h3 { font-size: 17px; line-height: 25px; }
  .worry__img { zoom: .877; }
  .worries__lead { margin-top: 24px; font-size: 20px; line-height: 30px; }
  .worries__lead span { border-bottom-width: 3px; }
  .cost__cards { flex-direction: column; gap: 12px; margin-top: 24px; }
  .cost-card { padding: 24px; }
  .cost-card__tag, .cost-card__reco { padding: 3px 8px; font-size: 14px; }
  .cost-card__reco { padding-right: 14px; }
  .cost-card__reco img { width: 16px; height: 16px; }
  .cost-card h3 { padding: 6px 0 0; font-size: 20px; line-height: 30px; }
  .cost-card__text { padding: 12px 0 0; font-size: 14px; line-height: 18px; }
  .cost .note { text-align: left; }

  /* CTA card */
  .band .container { width: calc(100% - 20px); }
  .cost .cta, .case .cta { margin-inline: -14px; }
  .cta, .section .cta, .cost .cta { flex-direction: column; align-items: stretch; height: auto; margin-top: 40px; }
  .cta--light { margin-top: 0; }
  .cta__body { flex: none; max-width: none; padding: 18px 12px 44px 28px; }
  .cta__title { font-size: 26px; line-height: 38px; }
  .cta--light .cta__title { font-size: 22px; line-height: 34px; }
  .cta--light .cta__title strong { font-size: 28px; line-height: 42px; }
  .cta__text { padding: 4px 0 0; font-size: 14px; }
  .cta__actions { display: flex; gap: 16px; margin-top: 22px; }
  .btn-cta { justify-content: center; width: min(306px, 100%); padding: 8px 20px; }
  .cta__media { width: 100%; height: 262px; margin: 0; overflow: hidden; }
  .cta__photo { left: 0; top: auto; bottom: 0; zoom: .776; }
  .cta--light .cta__media, .cta--dark .cta__media { background: #eff3ff; }
  .seal { left: 137px; top: 87px; zoom: .87; }
  .band { margin-top: 20px; padding: 23px 0; }

  /* service */
  .service__cards { flex-direction: column; }
  .service__cards li { flex: none; flex-direction: row; gap: 12px; height: 108px; padding: 0 25px; }
  .service__cards span { padding: 0; font-size: 20px; line-height: 25px; white-space: normal; text-align: left; }
  .service__cards li + li::before { left: 50%; top: -4px; width: 24px; height: 24px; background-size: 12px 12px; }
  .service__lead { margin-top: 24px; font-size: 16px; line-height: 24px; letter-spacing: 1.2px; }

  /* reason */
  .reason__grid { grid-template-columns: 1fr; gap: 12px; }
  .reason-card { padding: 24px; }
  .reason-card h3 { font-size: 20px; line-height: 30px; }
  .reason-card h3 + p { margin-top: 12px; font-size: 14px; line-height: 22px; }

  /* case */
  .tabs-wrap { justify-content: flex-start; margin-inline: -24px !important; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
  .tabs-wrap::-webkit-scrollbar, .case__cards::-webkit-scrollbar { display: none; }
  .tabs { flex: none; }
  .tabs button { padding: 10px 16px; font-size: 16px; }
  .tabs button[aria-selected="true"] { padding: 13px 28px; }
  .case__cards { display: flex; gap: 12px; margin: 24px -24px 0 !important; padding: 0 24px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 0 24px; }
  .case-card { flex: none; width: 310px; scroll-snap-align: start; }

  /* job */
  .job__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job__grid li { flex-direction: column; gap: 8px; height: 101px; padding: 15px 9px 14px; }
  .job__ic { width: 38px; height: 39px; border-radius: 4px; }
  .job__grid li > span:last-child { flex: none; padding: 0; font-size: 16px; line-height: 24px; text-align: center; }

  /* price */
  .price__box { gap: 16px; padding: 25px 20px; }
  .price__amount { gap: 4px; }
  .price__amount b { font-size: 68px; }
  .price__amount .yen { font-size: 26px; }
  .price__pills { flex-direction: column; align-items: center; }
  .price__pills li { line-height: 22px; }
  .price__pills li:first-child span { max-width: 205px; }
  .price__include ul { gap: 3px 8px; }
  .price__ad { padding: 0; }
  .price .note { text-align: left; }

  /* flow */
  .flow__cards { flex-direction: column; align-items: stretch; }
  .flow-card { flex: none; gap: 12px; height: auto; padding: 17px; }
  .flow-card + .flow-card { margin: 16px 0 0; }
  .flow-card + .flow-card::before { left: 50%; top: -17px; width: 1px; height: 16px; background: #94aed3; }
  .flow-card__head { flex-direction: row; align-items: center; gap: 8px; }
  .flow-card h3 { font-size: 20px; line-height: 30px; }
  .flow-card__text { font-size: 14px; line-height: 18px; }

  /* faq */
  .faq__list { gap: 12px; }
  .faq-item summary { padding-left: 6px; font-size: 16px; line-height: 24px; }
  .faq-item summary::after { width: 24px; height: 24px; }
  .faq-item p { padding: 4px 6px 8px 20px; font-size: 14px; line-height: 22px; }

  /* contact */
  .contact { margin-top: 20px; }
  .contact__inner { padding: 0 10px; min-height: 0; }
  .contact__text { padding: 56px 0 0; }
  .contact__title { font-size: 37px; line-height: 52px; letter-spacing: 1.8px; }
  .contact__title small { font-size: 28px; }
  .contact .checks { gap: 10px 12px; }
  .contact__lead { padding: 0 12px; font-size: 14px; line-height: 24px; }
  .doc { width: min(342px, 100%); }
  .doc__thumb { width: 110px; }
  .doc__body { flex: 1; padding: 8px; }
  .doc__body b { font-size: 14px; letter-spacing: .6px; }
  .doc__body span { font-size: 11px; line-height: 20px; }
  .contact__form { margin-top: 40px; padding: 28px 20px 36px; }

  /* company / footer */
  .company { margin-top: 20px; }
  .company__table th { width: 96px; padding-inline: 12px; }
  .company__table td { padding-inline: 12px; }
  .footer { margin-top: 20px; }

  /* fixed bottom CTA */
  .sp-cta { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 20px; height: 63px; padding: 12px 12px 12px 15px; background: var(--primary); }
  .sp-cta .link-arrow { flex: none; gap: 8px; font-size: 14px; white-space: nowrap; }
  .sp-cta__btn { flex: 1 1 0; min-width: 0; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: #f6f6f6; font-family: Inter, var(--font-jp); font-size: 14px; font-weight: 600; line-height: 14px; letter-spacing: -.28px; text-align: center; white-space: nowrap; }
}

/* ==========================================================
   Thanks page (/thanks/)
   ========================================================== */
.header--static { position: sticky; border-bottom-color: #e6e6e6; }
.thanks-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; padding-bottom: 0; }
.thanks { flex: 1; display: flex; align-items: center; justify-content: center; padding: 96px 24px; text-align: center; }
.thanks__inner { display: flex; flex-direction: column; align-items: center; max-width: 720px; }
.thanks__icon svg { display: block; }
.thanks__title { margin-top: 32px; font-family: var(--font-head); font-size: 36px; font-weight: 700; line-height: 1.4; letter-spacing: 2px; color: var(--primary); }
.thanks__message { margin-top: 28px; font-size: 17px; line-height: 30px; }
.thanks__note { margin-top: 20px; color: var(--text-sub); font-size: 14px; line-height: 24px; text-wrap: balance; }
.thanks__btn { min-width: 264px; height: 56px; margin-top: 44px; padding: 0 40px; }
.thanks-page .footer { margin-top: 0; }
@media (max-width: 900px) {
  .thanks { padding: 64px 24px; }
  .thanks__title { font-size: 28px; }
  .thanks__message { font-size: 16px; line-height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
