@charset "UTF-8";

/* =========================================================
   株式会社出陣 / SHUTSUJIN Inc.
   ========================================================= */

:root {
    --navy: #161c30;
    --navy-2: #1f2742;
    --navy-3: #2b3456;
    --red: #d8132b;
    --red-dark: #a80d20;
    --paper: #f5f1ec;
    --paper-2: #ebe5dc;
    --white: #fff;
    --ink: #151a2b;
    --gray: #6b7085;
    --line: #d9d3c9;

    --ff-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --ff-display: "Dela Gothic One", "Noto Sans JP", sans-serif;
    --ff-num: "Anton", "Impact", sans-serif;

    --side: 44px;
    --header-h: 96px;
    --container: 1180px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0 var(--side);
    font-family: var(--ff-base);
    font-size: 16px;
    line-height: 1.8;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

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

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

button, input, textarea {
    font: inherit;
}

main {
    display: block;
    overflow-x: clip;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
}

.u-red {
    color: var(--red);
}

.sp-only {
    display: none;
}

/* =========================================================
   画像枠（data-src の画像が存在すれば自動で差し込み）
   ========================================================= */
.img-slot {
    position: relative;
    overflow: hidden;
    background:
        repeating-linear-gradient(-45deg, rgba(22, 28, 48, .04) 0 12px, transparent 12px 24px),
        var(--paper-2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-slot::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px dashed rgba(22, 28, 48, .22);
    pointer-events: none;
}

.img-slot::after {
    content: attr(data-label) "\A" attr(data-size);
    white-space: pre;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: .08em;
    color: rgba(22, 28, 48, .45);
    padding: 6px 12px;
}

.img-slot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-slot.is-loaded {
    background: none;
}

.img-slot.is-loaded::before,
.img-slot.is-loaded::after {
    display: none;
}

.img-slot--cutout {
    background: rgba(255, 255, 255, .1);
}

.img-slot--cutout::before {
    border-color: rgba(255, 255, 255, .5);
}

.img-slot--cutout::after {
    color: rgba(255, 255, 255, .8);
}

.img-slot--cutout img {
    object-fit: contain;
    object-position: bottom center;
}

/* =========================================================
   サイド縦ティッカー
   ========================================================= */
.side-ticker {
    position: fixed;
    top: 0;
    bottom: 0;
    width: var(--side);
    z-index: 90;
    background: var(--white);
    overflow: hidden;
    border-color: var(--ink);
    border-style: solid;
    border-width: 0;
}

.side-ticker--left {
    left: 0;
    border-right-width: 3px;
}

.side-ticker--right {
    right: 0;
    border-left-width: 3px;
}

.side-ticker__track {
    writing-mode: vertical-rl;
    white-space: nowrap;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: .12em;
    width: 100%;
    line-height: calc(var(--side) - 3px);
    animation: tickerY 40s linear infinite;
}

.side-ticker--right .side-ticker__track {
    animation-direction: reverse;
}

.side-ticker__track span {
    position: relative;
    display: inline-block;
    padding: 28px 0 92px;
}

.side-ticker__track span::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 28px;
    width: 3px;
    height: 36px;
    background: var(--ink);
    transform: translateX(-50%);
}

.side-ticker__track b {
    font-family: var(--ff-num);
    font-weight: 400;
    font-size: 26px;
    color: var(--red);
    letter-spacing: .04em;
    margin: 6px 0;
    -webkit-text-stroke: 1px var(--ink);
}

@keyframes tickerY {
    from { transform: translateY(0); }
    to   { transform: translateY(-50%); }
}

/* =========================================================
   ヘッダー
   ========================================================= */
.header {
    position: fixed;
    top: 0;
    left: var(--side);
    right: var(--side);
    z-index: 80;
    height: var(--header-h);
    transition: height .3s var(--ease), background .3s, box-shadow .3s;
}

.header.is-scrolled {
    height: 72px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 0 var(--ink);
}

.header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 170px 0 32px;
}

.header__logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.header__logo-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: 4px;
}

.header__logo-main {
    font-family: var(--ff-display);
    font-size: 24px;
    letter-spacing: .04em;
}

.header__logo-main strong {
    font-weight: 400;
    font-size: 1.35em;
    color: var(--red);
    margin-left: 2px;
}

.header__logo-en {
    font-family: var(--ff-num);
    font-size: 11px;
    letter-spacing: .3em;
    margin-top: 4px;
}

.header__nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header__nav a {
    position: relative;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: .04em;
    padding: 6px 0;
}

.header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s var(--ease);
}

.header__nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header__nav-cta {
    display: none;
}

.menu-toggle {
    display: none;
}

/* 右上固定CTA */
.corner-cta {
    position: fixed;
    top: 0;
    right: var(--side);
    z-index: 85;
    width: 140px;
    height: 150px;
    background: var(--red);
    color: var(--white);
    border-radius: 0 0 0 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 4px 0 var(--ink);
    transition: height .3s var(--ease), background .3s;
}

.corner-cta:hover {
    background: var(--red-dark);
}

.corner-cta__label {
    font-family: var(--ff-display);
    font-size: 14px;
    background: var(--ink);
    padding: 0 12px;
    transform: skewX(-10deg);
    margin-bottom: 8px;
}

.corner-cta__main {
    font-family: var(--ff-display);
    font-size: 30px;
    line-height: 1.15;
    text-align: center;
    letter-spacing: .1em;
}

.header.is-scrolled ~ .corner-cta {
    height: 120px;
}

/* =========================================================
   共通パーツ
   ========================================================= */
.sec-en {
    font-family: var(--ff-num);
    font-size: 16px;
    letter-spacing: .3em;
    color: var(--red);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.sec-en::before {
    content: "";
    width: 32px;
    height: 3px;
    background: currentColor;
}

.sec-head {
    margin-bottom: 64px;
}

.sec-title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(34px, 4.4vw, 58px);
    line-height: 1.3;
    letter-spacing: .04em;
    margin-top: 8px;
}

.sec-desc {
    margin-top: 16px;
    font-weight: 700;
}

.sec-head--light .sec-title,
.sec-head--light .sec-desc {
    color: var(--white);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-width: 240px;
    padding: 18px 32px;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: .06em;
    border: 3px solid var(--ink);
    box-shadow: 5px 5px 0 var(--ink);
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    cursor: pointer;
}

.btn:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--ink);
}

.btn--red {
    background: var(--red);
    color: var(--white);
}

.btn--line {
    background: var(--white);
    color: var(--ink);
}

.btn--block {
    width: 100%;
}

.btn__arrow {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: currentColor;
    position: relative;
    flex-shrink: 0;
}

.btn__arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 45%;
    width: 5px;
    height: 5px;
    border-top: 2px solid var(--ink);
    border-right: 2px solid var(--ink);
    transform: translate(-50%, -50%) rotate(45deg);
}

.btn--red .btn__arrow::after {
    border-color: var(--red);
}

/* 吹き出し */
.bubble {
    position: absolute;
    z-index: 3;
    background: var(--white);
    border: 3px solid var(--ink);
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 900;
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 4px 4px 0 var(--ink);
}

.bubble::after {
    content: "";
    position: absolute;
    bottom: -11px;
    left: 30px;
    width: 18px;
    height: 18px;
    background: var(--white);
    border-right: 3px solid var(--ink);
    border-bottom: 3px solid var(--ink);
    transform: skewX(30deg) rotate(45deg);
}

.bubble--shout,
.bubble--answer {
    border-radius: 0;
    padding: 34px 30px;
    text-align: center;
    background: var(--white);
    clip-path: polygon(50% 0, 60% 12%, 76% 4%, 78% 20%, 96% 18%, 88% 34%, 100% 46%, 88% 56%, 98% 74%, 80% 74%, 78% 94%, 64% 84%, 52% 100%, 42% 84%, 24% 96%, 22% 78%, 2% 80%, 12% 62%, 0 48%, 12% 38%, 4% 20%, 22% 22%, 26% 4%, 40% 14%);
    border: none;
    box-shadow: none;
    filter: drop-shadow(3px 0 0 var(--ink)) drop-shadow(-3px 0 0 var(--ink)) drop-shadow(0 3px 0 var(--ink)) drop-shadow(0 -3px 0 var(--ink));
}

.bubble--shout::after,
.bubble--answer::after {
    display: none;
}

/* スクロール表示 */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--header-h) + 40px) 0 100px;
    background:
        radial-gradient(circle at 1px 1px, rgba(22, 28, 48, .12) 1px, transparent 0) 0 0 / 22px 22px,
        var(--white);
    overflow: hidden;
}

.hero__bg-kanji {
    position: absolute;
    right: -4vw;
    bottom: -8vw;
    font-family: var(--ff-display);
    font-size: 34vw;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(22, 28, 48, .08);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero__label {
    display: inline-block;
    margin-bottom: 24px;
}

.hero__label span {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: .08em;
    padding: 6px 18px;
    transform: skewX(-12deg);
    box-shadow: 4px 4px 0 var(--ink);
}

.hero__title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(52px, 7.4vw, 118px);
    line-height: 1.12;
    letter-spacing: .02em;
}

.hero__line {
    display: block;
    animation: lineUp 1s var(--ease) both;
}

.hero__line:nth-child(2) { animation-delay: .12s; }
.hero__line:nth-child(3) { animation-delay: .24s; }

@keyframes lineUp {
    from { opacity: 0; transform: translateY(60%); }
    to   { opacity: 1; transform: none; }
}

.hero__jin {
    font-style: normal;
    display: inline-block;
    background: var(--ink);
    color: var(--white);
    padding: 0 .08em;
    margin-right: .04em;
    line-height: 1.1;
    position: relative;
}

.hero__jin::after {
    content: "";
    position: absolute;
    right: -.14em;
    bottom: -.14em;
    width: 100%;
    height: 100%;
    background: var(--red);
    z-index: -1;
}

.hero__lead {
    margin-top: 32px;
    font-weight: 700;
    font-size: 18px;
    line-height: 2;
}

.hero__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.hero__visual {
    position: relative;
    padding: 40px 20px 20px;
}

.hero__img {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    border: 3px solid var(--ink);
    box-shadow: 14px 14px 0 var(--red);
    border-radius: 200px 200px 0 0;
}

.bubble--1 { top: 6%; left: -6%; }
.bubble--2 { top: 38%; left: -14%; }
.bubble--3 { top: 18%; right: -4%; }
.bubble--2::after { left: auto; right: 30px; transform: skewX(-30deg) rotate(45deg); }

.bubble--answer {
    right: -6%;
    bottom: 4%;
    font-size: 17px;
    font-family: var(--ff-display);
    font-weight: 400;
    color: var(--red);
    padding: 44px 40px;
}

.js-float {
    animation: floaty 4s ease-in-out infinite;
}

.bubble--2.js-float { animation-delay: -1.2s; }
.bubble--3.js-float { animation-delay: -2.4s; }
.bubble--answer.js-float { animation-delay: -.6s; animation-duration: 5s; }

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

.hero__vertical {
    position: absolute;
    bottom: 60px;
    left: 4%;
    writing-mode: vertical-rl;
    font-family: var(--ff-display);
    font-size: 22px;
    letter-spacing: .3em;
    background: var(--ink);
    color: var(--white);
    padding: 16px 6px;
    z-index: 2;
}

.hero__scroll {
    position: absolute;
    left: 40px;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-num);
    font-size: 12px;
    letter-spacing: .3em;
}

.hero__scroll span {
    writing-mode: vertical-rl;
}

.hero__scroll::after {
    content: "";
    width: 3px;
    height: 70px;
    background: linear-gradient(var(--red) 50%, var(--line) 50%) 0 0 / 100% 200%;
    animation: scrollBar 1.8s linear infinite;
}

@keyframes scrollBar {
    from { background-position: 0 100%; }
    to   { background-position: 0 -100%; }
}

/* マーキー */
.marquee {
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
    border-block: 3px solid var(--ink);
    transform: rotate(-1.2deg);
    margin: -20px -20px 0;
    position: relative;
    z-index: 5;
}

.marquee__track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: marqueeX 30s linear infinite;
}

.marquee__track span {
    font-family: var(--ff-num);
    font-size: 40px;
    letter-spacing: .08em;
    padding: 10px 28px;
}

.marquee__track i {
    font-style: normal;
    font-family: var(--ff-display);
    font-size: 26px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: var(--red);
    border-radius: 50%;
}

@keyframes marqueeX {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
    padding: 160px 0 140px;
    background: var(--paper);
    position: relative;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(38px, 4.6vw, 64px);
    line-height: 1.3;
    margin: 16px 0 36px;
}

.about__lead {
    font-weight: 900;
    font-size: 20px;
    line-height: 1.9;
    padding-left: 20px;
    border-left: 5px solid var(--red);
    margin-bottom: 28px;
}

.about__body {
    font-weight: 500;
    line-height: 2.2;
    color: #333a50;
}

/* 陣形ダイアグラム */
.jinkei {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.jinkei__ring {
    position: absolute;
    inset: 12%;
    border: 3px dashed var(--ink);
    border-radius: 50%;
    animation: spin 40s linear infinite;
}

.jinkei__ring--2 {
    inset: 28%;
    border: 2px solid rgba(216, 19, 43, .5);
    animation-direction: reverse;
    animation-duration: 25s;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.jinkei__center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: var(--red);
    color: var(--white);
    border: 3px solid var(--ink);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 6px 6px 0 var(--ink);
}

.jinkei__center-sub {
    font-size: 12px;
    font-weight: 700;
}

.jinkei__center strong {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.2;
}

.jinkei__node {
    position: absolute;
    width: 30%;
    aspect-ratio: 1;
    background: var(--white);
    border: 3px solid var(--ink);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 900;
    font-size: clamp(12px, 1.25vw, 16px);
    line-height: 1.35;
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .3s var(--ease), background .3s, color .3s;
}

.jinkei__node:hover {
    transform: scale(1.06);
    background: var(--ink);
    color: var(--white);
}

.jinkei__num {
    font-family: var(--ff-num);
    font-weight: 400;
    color: var(--red);
    font-size: 1.3em;
    margin-bottom: 2px;
}

.jinkei__node--1 { top: 0; left: 50%; margin-left: -15%; }
.jinkei__node--2 { top: 50%; right: 0; margin-top: -15%; }
.jinkei__node--3 { bottom: 0; left: 50%; margin-left: -15%; }
.jinkei__node--4 { top: 50%; left: 0; margin-top: -15%; }

.jinkei__caption {
    position: absolute;
    left: 50%;
    bottom: -48px;
    transform: translateX(-50%);
    font-family: var(--ff-num);
    letter-spacing: .2em;
    font-size: 13px;
    white-space: nowrap;
    color: var(--gray);
}

/* =========================================================
   NUMBERS
   ========================================================= */
.numbers {
    position: relative;
    background: var(--red);
    color: var(--white);
    padding: 140px 0;
    overflow: hidden;
}

.numbers::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 6px);
    pointer-events: none;
}

.numbers__deco {
    position: absolute;
    top: 30px;
    left: -1vw;
    font-family: var(--ff-num);
    font-size: 16vw;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, .18);
    white-space: nowrap;
    pointer-events: none;
}

.numbers__inner {
    position: relative;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
}

.numbers__head {
    position: sticky;
    top: 110px;
    display: flex;
    gap: 24px;
}

.numbers__vertical {
    writing-mode: vertical-rl;
    font-weight: 400;
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.numbers__vertical-small {
    font-family: var(--ff-display);
    font-size: 22px;
    letter-spacing: .12em;
    padding: 0 0 16px;
    border-left: 3px solid var(--white);
    padding-left: 10px;
    align-self: flex-start;
}

.numbers__vertical-main {
    font-family: var(--ff-display);
    font-size: clamp(38px, 4.2vw, 60px);
    line-height: 1.3;
    letter-spacing: .08em;
}

.numbers__vertical-main em {
    font-style: normal;
    background: var(--white);
    color: var(--red);
    padding: 6px 0;
    margin: 8px 0;
    display: inline-block;
    border: 3px solid var(--ink);
}

.numbers__person {
    position: relative;
    flex: 1;
    align-self: flex-end;
}

.numbers__person .img-slot {
    aspect-ratio: 7 / 9;
    width: 100%;
    margin-top: 120px;
}

.numbers__person .bubble--shout {
    top: 40px;
    left: -10px;
    font-family: var(--ff-display);
    font-weight: 400;
    color: var(--ink);
    font-size: 16px;
    padding: 32px 26px;
    transform: rotate(-8deg);
}

.numbers__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.num-card {
    background: var(--white);
    color: var(--ink);
    border: 3px solid var(--ink);
    box-shadow: 8px 8px 0 var(--ink);
    padding: 28px 30px 26px;
    position: relative;
}

.num-card:last-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.num-card:last-child .num-card__value {
    margin-top: 0;
}

.num-card::before {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    width: 34px;
    height: 34px;
    background: var(--red);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.num-card--lg {
    grid-column: 1 / -1;
    background: var(--ink);
    color: var(--white);
    box-shadow: 8px 8px 0 var(--white);
}

.num-card__label {
    font-weight: 900;
    font-size: 15px;
    line-height: 1.5;
}

.num-card__value {
    font-family: var(--ff-num);
    font-size: clamp(64px, 7vw, 104px);
    line-height: 1.05;
    color: var(--red);
    margin-top: 8px;
    letter-spacing: .01em;
}

.num-card--lg .num-card__value {
    font-size: clamp(90px, 11vw, 160px);
}

.num-card__value small {
    font-family: var(--ff-display);
    font-size: 26px;
    color: var(--ink);
    margin-left: 6px;
}

.num-card--lg .num-card__value small {
    color: var(--white);
    font-size: 36px;
}

.num-card__value .num-card__plus {
    font-family: var(--ff-num);
    font-size: .7em;
    color: var(--red);
    margin: 0 2px 0 0;
}

.num-card__value .num-card__pre {
    font-size: 22px;
    margin: 0 6px 0 0;
}

.num-card__note {
    font-size: 13px;
    font-weight: 700;
    opacity: .8;
}

/* =========================================================
   REASON
   ========================================================= */
.reason {
    padding: 160px 0 140px;
    background: var(--white);
}

.reason__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 48px;
    counter-reset: reason;
}

.reason__item {
    position: relative;
    padding: 48px 40px 40px;
    border: 3px solid var(--ink);
    background: var(--white);
    transition: background .3s, transform .3s var(--ease);
}

.reason__item:hover {
    background: var(--paper);
}

.reason__num {
    position: absolute;
    top: -38px;
    right: 24px;
    font-family: var(--ff-num);
    font-size: 88px;
    line-height: 1;
    color: var(--white);
    -webkit-text-stroke: 3px var(--ink);
    text-shadow: 5px 5px 0 var(--red);
}

.reason__catch {
    display: inline-block;
    background: var(--ink);
    color: var(--white);
    font-weight: 900;
    font-size: 13px;
    padding: 2px 12px;
    margin-bottom: 16px;
    transform: skewX(-10deg);
}

.reason__title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.45;
    margin-bottom: 18px;
}

.reason__text {
    font-weight: 500;
    font-size: 15px;
    color: #3d4358;
}

/* =========================================================
   SERVICE
   ========================================================= */
.service {
    position: relative;
    padding: 150px 0;
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
}

.service::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 16%;
    width: 4px;
    background: var(--red);
}

.service .container {
    position: relative;
    z-index: 1;
}

.service__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.service-card a {
    display: block;
    height: 100%;
    background: var(--white);
    color: var(--ink);
    border: 3px solid var(--ink);
    box-shadow: 10px 10px 0 var(--red);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.service-card a:hover {
    transform: translate(-4px, -4px);
    box-shadow: 14px 14px 0 var(--red);
}

.service-card__img {
    aspect-ratio: 16 / 10;
    border-bottom: 3px solid var(--ink);
}

.service-card__img img {
    transition: transform .6s var(--ease);
}

.service-card a:hover .service-card__img img {
    transform: scale(1.05);
}

.service-card__body {
    position: relative;
    padding: 28px 32px 32px;
}

.service-card__no {
    position: absolute;
    top: -26px;
    left: 24px;
    background: var(--red);
    color: var(--white);
    font-family: var(--ff-num);
    font-size: 13px;
    letter-spacing: .16em;
    padding: 4px 14px;
    border: 3px solid var(--ink);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.service-card__no b {
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
}

.service-card__title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(22px, 2.2vw, 28px);
    margin: 10px 0 12px;
    line-height: 1.4;
}

.service-card__text {
    font-weight: 500;
    color: #3d4358;
}

.service-card__more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-weight: 900;
    font-size: 14px;
    border-bottom: 3px solid var(--red);
    padding-bottom: 2px;
}

.service-card__more::after {
    content: "↓";
    color: var(--red);
}

/* =========================================================
   DETAIL
   ========================================================= */
.detail {
    padding: 150px 0 120px;
    background: var(--paper);
}

.detail-block {
    margin-bottom: 120px;
}

.detail-block:last-child {
    margin-bottom: 0;
}

.detail-block__head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 3px solid var(--ink);
}

.detail-block__no {
    font-family: var(--ff-num);
    font-size: 96px;
    line-height: .9;
    color: var(--red);
    -webkit-text-stroke: 2px var(--ink);
}

.detail-block__cat {
    font-weight: 900;
    font-size: 14px;
    color: var(--red);
}

.detail-block__title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.3;
}

.detail-block__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
}

.detail-block--reverse .detail-block__main {
    order: 2;
}

.price-box {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    background: var(--white);
    border: 3px solid var(--ink);
}

.price-box__item {
    padding: 20px 24px;
}

.price-box__item + .price-box__item {
    border-left: 3px solid var(--ink);
}

.price-box dt {
    font-size: 13px;
    font-weight: 900;
    color: var(--gray);
}

.price-box dd {
    font-weight: 900;
    font-size: 18px;
}

.price-box strong {
    font-family: var(--ff-num);
    font-weight: 400;
    font-size: 44px;
    color: var(--red);
    line-height: 1.2;
    margin: 0 2px;
}

.detail-block__note {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray);
    margin-top: 10px;
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.mini-stats__item {
    background: var(--ink);
    color: var(--white);
    text-align: center;
    padding: 18px 8px;
}

.mini-stats__item b {
    display: block;
    font-family: var(--ff-num);
    font-weight: 400;
    font-size: 36px;
    line-height: 1.1;
    color: #ff4a5e;
}

.mini-stats__item b small {
    font-family: var(--ff-base);
    font-weight: 900;
    font-size: 13px;
    color: var(--white);
    margin-left: 2px;
}

.mini-stats__item span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 6px;
    font-weight: 700;
}

.detail-sub {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 20px;
    margin: 36px 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-sub::before {
    content: "";
    width: 14px;
    height: 14px;
    background: var(--red);
    transform: rotate(45deg);
}

.detail-block__side > .detail-sub:first-child {
    margin-top: 0;
}

.check-list li {
    position: relative;
    padding: 12px 0 12px 36px;
    border-bottom: 2px dotted var(--line);
    font-weight: 700;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 18px;
    height: 10px;
    border-left: 4px solid var(--red);
    border-bottom: 4px solid var(--red);
    transform: translateY(-70%) rotate(-45deg);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list li {
    background: var(--white);
    border: 2px solid var(--ink);
    padding: 6px 18px;
    font-weight: 900;
    font-size: 14px;
    border-radius: 999px;
}

.detail-block__lead {
    font-weight: 900;
    font-size: 22px;
    line-height: 1.8;
    margin-top: 32px;
}

.marker {
    background: linear-gradient(transparent 60%, rgba(216, 19, 43, .3) 60%);
}

.detail-block__img {
    aspect-ratio: 9 / 11;
    border: 3px solid var(--ink);
    box-shadow: 12px 12px 0 var(--ink);
}

.account-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border: 3px solid var(--ink);
    padding: 18px;
    margin: -60px 20px 0 -30px;
    position: relative;
    z-index: 2;
    box-shadow: 6px 6px 0 var(--red);
}

.img-slot--qr {
    width: 104px;
    height: 104px;
    flex-shrink: 0;
}

.img-slot--qr::before {
    inset: 6px;
}

.img-slot--qr img {
    object-fit: contain;
    image-rendering: pixelated;
}

.account-card__label {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray);
}

.account-card__id {
    font-family: var(--ff-num);
    font-size: 26px;
    letter-spacing: .02em;
    line-height: 1.2;
}

.account-card__id a:hover {
    color: var(--red);
}

.account-card__name {
    font-weight: 900;
    font-size: 14px;
}

.account-card__note {
    font-size: 12px;
    color: var(--gray);
}

.case-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.case__img {
    aspect-ratio: 4 / 5;
    border: 3px solid var(--ink);
    background-color: var(--white);
}

.case__img img {
    object-position: top center;
    transition: object-position 3s ease;
}

.case:hover .case__img img {
    object-position: bottom center;
}

.case figcaption {
    font-weight: 900;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 12px;
}

.case-note {
    font-size: 12px;
    color: var(--gray);
    margin-top: 12px;
    text-align: right;
}

/* 採用 */
.detail-block--dark {
    background: var(--navy);
    color: var(--white);
    padding: 64px 56px;
    position: relative;
}

.detail-block--dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: var(--red);
}

.detail-block--dark .detail-block__head {
    border-color: rgba(255, 255, 255, .3);
}

.detail-block--dark .detail-block__no {
    -webkit-text-stroke: 0;
}

.detail-block--dark .detail-block__cat {
    color: #ff6a7b;
}

.recruit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.recruit-card {
    background: var(--navy-2);
    border: 2px solid var(--navy-3);
    padding: 36px 32px;
}

.recruit-card__en {
    font-family: var(--ff-num);
    letter-spacing: .2em;
    font-size: 12px;
    color: #ff6a7b;
}

.recruit-card__title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 26px;
    margin: 4px 0 16px;
}

.recruit-card__text {
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, .85);
}

.step-list {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.step-list li {
    flex: 1;
    position: relative;
    background: var(--white);
    color: var(--ink);
    padding: 12px 8px;
    text-align: center;
    font-weight: 900;
    font-size: 14px;
    line-height: 1.4;
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%, 12% 50%);
}

.step-list li:first-child {
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
}

.step-list span {
    display: block;
    font-family: var(--ff-num);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--red);
}

.recruit-card__big {
    margin-top: 24px;
    font-family: var(--ff-display);
    font-size: 40px;
    line-height: 1.2;
}

.recruit-card__big em {
    font-style: normal;
    background: var(--red);
    padding: 0 10px;
    margin-right: 6px;
}

/* =========================================================
   FOUNDER
   ========================================================= */
.founder {
    position: relative;
    padding: 150px 0;
    background: var(--white);
    overflow: hidden;
}

.founder__bg-text {
    position: absolute;
    top: 60px;
    right: -2vw;
    font-family: var(--ff-num);
    font-size: 14vw;
    line-height: 1;
    color: var(--paper);
    pointer-events: none;
}

.founder .container {
    position: relative;
}

.founder__grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 64px;
    align-items: start;
}

.founder__photo-wrap {
    position: relative;
}

.founder__photo {
    aspect-ratio: 4 / 5;
    border: 3px solid var(--ink);
}

.founder__name-card {
    position: relative;
    margin: -48px 24px 0 -24px;
    background: var(--ink);
    color: var(--white);
    padding: 28px 28px 24px;
    box-shadow: 8px 8px 0 var(--red);
}

.founder__role {
    display: inline-block;
    background: var(--red);
    font-weight: 900;
    font-size: 12px;
    padding: 2px 12px;
}

.founder__name {
    font-family: var(--ff-display);
    font-size: 40px;
    line-height: 1.3;
    margin-top: 8px;
    letter-spacing: .1em;
}

.founder__name-en {
    font-family: var(--ff-num);
    letter-spacing: .3em;
    font-size: 13px;
    color: #ff6a7b;
}

.founder__meta {
    display: flex;
    gap: 32px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .2);
}

.founder__meta dt {
    font-size: 11px;
    color: rgba(255, 255, 255, .6);
}

.founder__meta dd {
    font-weight: 700;
    font-size: 15px;
}

.founder__vertical {
    position: absolute;
    top: 24px;
    right: -34px;
    writing-mode: vertical-rl;
    font-family: var(--ff-display);
    font-size: 20px;
    letter-spacing: .3em;
    background: var(--red);
    color: var(--white);
    padding: 16px 6px;
    border: 3px solid var(--ink);
}

.founder__h {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 26px;
    margin-bottom: 24px;
}

.timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 0 0 28px;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: 54px;
    top: 30px;
    bottom: 0;
    width: 3px;
    background: var(--line);
}

.timeline li:last-child::before {
    display: none;
}

.timeline__tag {
    position: relative;
    z-index: 1;
    align-self: start;
    text-align: center;
    background: var(--white);
    border: 2px solid var(--ink);
    font-weight: 900;
    font-size: 13px;
    padding: 4px 0;
}

.timeline p {
    font-weight: 500;
    line-height: 1.9;
    padding-top: 2px;
}

.timeline strong {
    background: linear-gradient(transparent 60%, rgba(216, 19, 43, .25) 60%);
}

.timeline .is-current .timeline__tag {
    background: var(--red);
    color: var(--white);
    border-color: var(--ink);
    font-family: var(--ff-num);
    font-weight: 400;
    letter-spacing: .1em;
    font-size: 15px;
}

.founder__partner {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: var(--navy);
    color: var(--white);
    padding: 32px;
    margin-top: 24px;
    border-left: 8px solid var(--red);
}

.founder__partner-tag {
    flex-shrink: 0;
    background: var(--red);
    font-weight: 900;
    font-size: 14px;
    padding: 8px 16px;
    transform: rotate(-4deg);
    border: 2px solid var(--white);
}

.founder__partner-title {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 8px;
}

.founder__partner p {
    font-size: 15px;
    color: rgba(255, 255, 255, .85);
}

/* =========================================================
   COMPANY
   ========================================================= */
.company {
    padding: 140px 0;
    background: var(--paper);
    border-top: 3px solid var(--ink);
}

.company__inner {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 64px;
}

.company__head {
    position: relative;
}

.company__stamp {
    margin-top: 40px;
    width: 150px;
    height: 150px;
    border: 5px solid var(--red);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: rotate(-12deg);
    color: var(--red);
    font-family: var(--ff-display);
    font-size: 44px;
    letter-spacing: .05em;
    position: relative;
    opacity: .9;
}

.company__stamp::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 2px solid var(--red);
    border-radius: 50%;
}

.company__table {
    background: var(--white);
    border: 3px solid var(--ink);
}

.company__table > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-bottom: 2px solid var(--paper-2);
}

.company__table > div:last-child {
    border-bottom: none;
}

.company__table dt {
    background: var(--ink);
    color: var(--white);
    font-weight: 900;
    padding: 22px 28px;
}

.company__table > div + div dt {
    border-top: 1px solid var(--navy-3);
}

.company__table dd {
    padding: 22px 28px;
    font-weight: 700;
    font-size: 17px;
}

.company__en {
    display: block;
    font-family: var(--ff-num);
    font-weight: 400;
    letter-spacing: .2em;
    font-size: 13px;
    color: var(--red);
}

.company__mail {
    color: var(--red);
    border-bottom: 2px solid currentColor;
}

.company__biz {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: start;
    gap: 8px 20px;
}

.company__biz li {
    padding-left: 18px;
    position: relative;
}

.company__biz li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .7em;
    width: 8px;
    height: 8px;
    background: var(--red);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
    position: relative;
    padding: 150px 0;
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
}

.contact::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 26%;
    width: 4px;
    background: var(--red);
}

.contact__bg-kanji {
    position: absolute;
    left: -3vw;
    bottom: -10vw;
    font-family: var(--ff-display);
    font-size: 46vw;
    line-height: 1;
    color: rgba(255, 255, 255, .03);
    pointer-events: none;
}

.contact__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.contact__title {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: clamp(38px, 4.6vw, 64px);
    line-height: 1.3;
    margin: 16px 0 32px;
}

.contact__title .u-red {
    color: #ff3b52;
}

.contact__lead {
    font-weight: 700;
    font-size: 17px;
    line-height: 2;
    color: rgba(255, 255, 255, .88);
}

.contact__points {
    margin-top: 32px;
}

.contact__points li {
    position: relative;
    padding: 10px 0 10px 34px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.contact__points li::before {
    content: "陣";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    background: var(--red);
    font-family: var(--ff-display);
    font-size: 12px;
    border-radius: 50%;
}

.contact__mail {
    margin-top: 36px;
    padding: 20px 24px;
    border: 2px solid rgba(255, 255, 255, .25);
    border-left: 6px solid var(--red);
}

.contact__mail-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, .7);
}

.contact__mail-link {
    font-family: var(--ff-num);
    font-size: 30px;
    letter-spacing: .04em;
    line-height: 1.4;
    word-break: break-all;
    transition: color .2s;
}

.contact__mail-link:hover {
    color: #ff3b52;
}

.contact-form__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-panel {
    position: relative;
    background: var(--white);
    color: var(--ink);
    border: 3px solid var(--ink);
    box-shadow: 12px 12px 0 var(--red);
    padding: 44px 40px;
}

.contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-form[hidden],
.contact-confirm[hidden],
.contact-thanks[hidden] {
    display: none;
}

.contact-form__note {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray);
    margin-left: 8px;
}

.contact-form__error {
    display: block;
    min-height: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--red);
}

.contact-form__error:empty {
    display: none;
}

.contact-form .is-invalid input[type="text"],
.contact-form .is-invalid input[type="email"],
.contact-form .is-invalid input[type="tel"],
.contact-form .is-invalid textarea {
    border-color: var(--red);
    background: #fff3f4;
}

.is-invalid .chip span {
    border-color: var(--red);
}

.contact-form__agree {
    text-align: center;
    padding: 16px;
    background: var(--paper);
}

.agree {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
}

.agree input {
    width: 20px;
    height: 20px;
    accent-color: var(--red);
    flex-shrink: 0;
}

.agree a {
    color: var(--red);
    border-bottom: 2px solid currentColor;
}

.contact-form__agree .contact-form__error {
    margin-top: 6px;
}

/* 確認・完了 */
.contact-confirm__step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-display);
    font-size: 20px;
    margin-bottom: 12px;
}

.contact-confirm__step span {
    font-family: var(--ff-num);
    font-size: 13px;
    letter-spacing: .1em;
    background: var(--red);
    color: var(--white);
    padding: 2px 10px;
}

.contact-confirm__lead {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
}

.contact-confirm__list {
    border-top: 2px solid var(--ink);
}

.contact-confirm__list > div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.contact-confirm__list dt {
    font-weight: 900;
    font-size: 14px;
}

.contact-confirm__list dd {
    font-weight: 500;
    white-space: pre-wrap;
    word-break: break-word;
}

.contact-confirm__btns {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 16px;
    margin-top: 28px;
}

.contact-confirm__btns .btn {
    min-width: 0;
}

.contact-confirm__btns .btn:disabled {
    opacity: .6;
    cursor: wait;
}

.contact-thanks {
    text-align: center;
    padding: 20px 0;
    outline: none;
}

.contact-thanks__title {
    font-family: var(--ff-display);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.35;
    margin: 8px 0 20px;
}

.contact-thanks__text {
    font-weight: 700;
    line-height: 2;
}

.contact-thanks__receipt {
    display: inline-block;
    margin: 24px 0;
    padding: 10px 24px;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
}

.contact-thanks__receipt strong {
    font-family: var(--ff-num);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: .06em;
    color: #ff4a5e;
    margin-left: 6px;
}

.contact-thanks__note {
    font-size: 13px;
    color: var(--gray);
    text-align: left;
}

.contact-thanks__note a {
    color: var(--red);
    border-bottom: 1px solid currentColor;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: none;
    min-width: 0;
}

.contact-form__field legend,
.contact-form__label {
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 8px;
}

fieldset.contact-form__field legend {
    margin-bottom: 12px;
}

.req {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    padding: 0 8px;
    margin-left: 8px;
    vertical-align: 2px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--ink);
    background: var(--paper);
    border-radius: 0;
    font-size: 16px;
    transition: background .2s, box-shadow .2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: var(--white);
    box-shadow: 4px 4px 0 var(--red);
}

.contact-form textarea {
    resize: vertical;
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.chip input:checked + span {
    background: var(--ink);
    color: var(--white);
}

.chip input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(216, 19, 43, .4);
}

.contact-form .btn {
    margin-top: 8px;
}

.contact-form__msg {
    min-height: 1.8em;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}

.contact-form__msg.is-error {
    color: var(--red);
}

.contact-form__msg.is-success {
    color: #1a7f4b;
}

.contact-form__msg.is-sending {
    color: var(--gray);
}

/* =========================================================
   下層ページ（プライバシーポリシー・送信結果）
   ========================================================= */
body.subpage {
    padding: 0;
}

.sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 32px;
    background: var(--white);
    border-bottom: 3px solid var(--ink);
}

.sub-header__cta {
    background: var(--red);
    color: var(--white);
    font-weight: 900;
    font-size: 14px;
    padding: 10px 22px;
    border: 3px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    transition: transform .2s, box-shadow .2s;
}

.sub-header__cta:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ink);
}

.sub-main {
    background: var(--paper);
}

.policy,
.result {
    padding: 100px 0 120px;
}

.policy__inner,
.result__inner {
    max-width: 880px;
}

.policy .sec-title,
.result .sec-title {
    margin-bottom: 40px;
}

.policy__lead {
    font-weight: 500;
    line-height: 2;
    padding: 28px 32px;
    background: var(--white);
    border: 3px solid var(--ink);
    margin-bottom: 48px;
}

.policy__section {
    margin-bottom: 40px;
}

.policy__section h2 {
    font-family: var(--ff-display);
    font-weight: 400;
    font-size: 21px;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 3px solid var(--ink);
    position: relative;
}

.policy__section h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 64px;
    height: 3px;
    background: var(--red);
}

.policy__section p,
.policy__section li {
    font-weight: 500;
    line-height: 2;
}

.policy__section p + p,
.policy__section ul + p {
    margin-top: 12px;
}

.policy__section ul {
    margin-top: 8px;
}

.policy__section li {
    position: relative;
    padding-left: 20px;
}

.policy__section li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .85em;
    width: 8px;
    height: 8px;
    background: var(--red);
}

.policy__contact {
    padding: 20px 24px;
    background: var(--white);
    border-left: 6px solid var(--red);
}

.policy__contact a {
    color: var(--red);
    border-bottom: 1px solid currentColor;
}

.policy__date {
    text-align: right;
    font-weight: 700;
    color: var(--gray);
}

.result__inner {
    text-align: center;
}

.result__text {
    font-weight: 700;
    line-height: 2;
    margin-bottom: 24px;
}

.result__receipt {
    display: inline-block;
    padding: 10px 24px;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 32px;
}

.result__receipt strong {
    font-family: var(--ff-num);
    font-weight: 400;
    font-size: 20px;
    color: #ff4a5e;
    margin-left: 6px;
}

.result__errors {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
    background: var(--white);
    border: 3px solid var(--red);
    padding: 20px 28px;
    margin-bottom: 36px;
}

.result__errors li {
    font-weight: 700;
    color: var(--red);
    line-height: 2;
}

.result__errors li::before {
    content: "・";
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
}

.footer__marquee {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    overflow: hidden;
}

.footer__marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeX 24s linear infinite;
}

.footer__marquee-track span {
    font-family: var(--ff-num);
    font-size: 11vw;
    line-height: 1.1;
    padding: 0 3vw;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .25);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 40px;
}

.footer__logo {
    font-family: var(--ff-display);
    font-size: 26px;
    line-height: 1.2;
}

.footer__logo strong {
    font-weight: 400;
    font-size: 1.35em;
    color: var(--red);
}

.footer__logo-en {
    font-family: var(--ff-num);
    letter-spacing: .3em;
    font-size: 12px;
    margin-top: 6px;
}

.footer__address {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, .7);
}

.footer__mail {
    margin-top: 4px;
    font-size: 14px;
}

.footer__mail a {
    color: rgba(255, 255, 255, .85);
    border-bottom: 1px solid var(--red);
}

.footer__nav ul {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px 48px;
}

.footer__nav a {
    font-weight: 700;
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
    transition: color .2s;
}

.footer__nav a::before {
    content: "▸ ";
    color: var(--red);
}

.footer__nav a:hover {
    color: var(--white);
}

.footer__copy {
    text-align: center;
    font-family: var(--ff-num);
    letter-spacing: .15em;
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 4em;
}

/* ページトップ */
.pagetop {
    position: fixed;
    right: calc(var(--side) + 20px);
    bottom: 24px;
    z-index: 70;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    border: 3px solid var(--ink);
    box-shadow: 4px 4px 0 var(--ink);
    display: grid;
    place-items: center;
    font-family: var(--ff-num);
    font-size: 14px;
    letter-spacing: .1em;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .3s, transform .3s, visibility .3s;
}

.pagetop::before {
    content: "";
    position: absolute;
    top: 12px;
    width: 8px;
    height: 8px;
    border-top: 3px solid var(--white);
    border-left: 3px solid var(--white);
    transform: rotate(45deg);
}

.pagetop span {
    margin-top: 12px;
}

.pagetop.is-show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
