@charset "utf-8";

/* ==========================================================
   2026 リニューアル（SP特化）
   デザイン幅 350px（@2x 700px）基準。
   数値は「デザイン上のpx(@2x) / 700 * 100cqw」で算出しているため、
   SPは画面幅、PCは中央カラム幅（max 450px）に合わせて等倍で拡縮します。
========================================================== */

@media screen and (max-width: 600px) {
    .pconly {
        display: none;
    }
}

.sponly {
    display: none;
}

@media screen and (max-width: 600px) {
    .sponly {
        display: block;
    }
}

:root {
    --c-red: #e94746;
    --c-red-cross: #e50012;
    --c-yellow: #f8f399;
    --c-pink: #f4b3cf;
    --c-orange: #f8bf7e;
    --c-gray: #9e9e9f;
    --c-text: #333;
    --f-maru: "Zen Maru Gothic", "Zen Kaku Gothic Antique", sans-serif;
    --f-gothic: "Noto Sans JP", "Zen Kaku Gothic Antique", sans-serif;
}

/* カラム幅を基準にcqwを使う */
.global-right .bg-pd {
    container-type: inline-size;
}

/* ----------------------------------------------------------
   ヘッダー
---------------------------------------------------------- */
.l-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: calc(100 / 700 * 100cqw);
    background: #fff;
}

.l-header__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(200 / 700 * 100cqw);
    transform: translate(-50%, -50%);
    line-height: 0;
}

.l-header__logo img {
    width: 100%;
    height: auto;
}

.c-menu-btn {
    position: absolute;
    top: calc(26 / 700 * 100cqw);
    right: calc(28 / 700 * 100cqw);
    width: calc(52 / 700 * 100cqw);
    padding: 0;
    border: 0;
    background: none;
    color: var(--c-red);
    cursor: pointer;
}

.c-menu-btn__line {
    display: block;
    width: calc(38 / 700 * 100cqw);
    height: 2.4px;
    margin: 0 auto calc(10 / 700 * 100cqw);
    background: currentColor;
}

.c-menu-btn__txt {
    display: block;
    margin-top: calc(14 / 700 * 100cqw);
    font-family: "Saira Condensed", sans-serif;
    font-size: calc(19 / 700 * 100cqw);
    font-weight: 500;
    line-height: 1;
    letter-spacing: .12em;
    text-align: center;
}

/* ----------------------------------------------------------
   ドロワーメニュー
---------------------------------------------------------- */
.c-drawer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, .55);
    font-family: var(--f-gothic);
    font-feature-settings: "palt";
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.c-drawer.is-open {
    opacity: 1;
    visibility: visible;
}

/* base.css の全要素transitionで中身の表示が遅れるのを防ぐ */
.c-drawer *:not(.c-drawer__body) {
    transition: none;
}

.c-drawer__head {
    position: relative;
    height: calc(105 / 700 * 100cqw);
    background: #fff;
}

.c-drawer__close {
    position: absolute;
    top: calc(22 / 700 * 100cqw);
    right: calc(28 / 700 * 100cqw);
    width: calc(50 / 700 * 100cqw);
    height: calc(50 / 700 * 100cqw);
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.c-drawer__close::before,
.c-drawer__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(44 / 700 * 100cqw);
    height: 2.4px;
    background: var(--c-red);
}

.c-drawer__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.c-drawer__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.c-drawer__body {
    min-height: calc(100% - (105 / 700 * 100cqw));
    margin-left: 20%;
    padding-bottom: calc(60 / 700 * 100cqw);
    background: #fff;
    transform: translateX(30px);
    transition: transform .35s ease;
}

.c-drawer.is-open .c-drawer__body {
    transform: none;
}

.c-drawer__nav {
    border-bottom: 2px solid var(--c-red);
}

.c-drawer__nav li {
    border-top: 2px solid var(--c-red);
}

.c-drawer__nav a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(118 / 700 * 100cqw);
    padding: calc(14 / 700 * 100cqw) calc(80 / 700 * 100cqw) calc(14 / 700 * 100cqw) calc(40 / 700 * 100cqw);
    color: var(--c-red);
    text-decoration: none;
}

.c-drawer__nav a.is-single {
    min-height: calc(78 / 700 * 100cqw);
}

/* 右の矢印 */
.c-drawer__nav a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(40 / 700 * 100cqw);
    width: calc(16 / 700 * 100cqw);
    height: calc(16 / 700 * 100cqw);
    border-top: 3px solid var(--c-gray);
    border-right: 3px solid var(--c-gray);
    transform: translateY(-50%) rotate(45deg);
}

.c-drawer__nav-sub {
    display: block;
    font-size: calc(26 / 700 * 100cqw);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .06em;
    color: var(--c-text);
}

.c-drawer__nav-main {
    display: block;
    font-size: calc(31 / 700 * 100cqw);
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .08em;
}

.c-drawer__btns {
    padding: calc(30 / 700 * 100cqw) calc(40 / 700 * 100cqw) 0;
}

.c-drawer__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(60 / 700 * 100cqw);
    margin-bottom: calc(20 / 700 * 100cqw);
    font-size: calc(28 / 700 * 100cqw);
    font-weight: 700;
    letter-spacing: .1em;
    color: #231815;
    text-decoration: none;
}

.c-drawer__btn--pink {
    background: var(--c-pink);
}

.c-drawer__btn--orange {
    background: var(--c-orange);
}

.c-drawer__bnr {
    padding: 0 calc(40 / 700 * 100cqw);
}

.c-drawer__bnr li {
    width: calc(280 / 700 * 100cqw);
    margin-top: calc(20 / 700 * 100cqw);
    line-height: 0;
}

.c-drawer__bnr img {
    width: 100%;
    height: auto;
}

.c-drawer__bnr li:first-child img {
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* メニュー展開中は背面スクロールを止める */
body.is-drawer-open {
    overflow: hidden;
}

/* ----------------------------------------------------------
   メインビジュアル
   座標はデザイン(@2x)のヘッダー下を原点に 700 x 1185 で配置
---------------------------------------------------------- */
.p-mv {
    position: relative;
    aspect-ratio: 700 / 1185;
    overflow: hidden;
    overflow: clip visible;
    /* 横（波のはみ出し）だけ切り、上の吹き出し文字は切らない */
    background: #fff;
}

.p-mv__item {
    position: absolute;
    line-height: 0;
}

.p-mv__item img {
    display: block;
    width: 100%;
    height: auto;
}

/* 背景の街並み */
.p-mv__town {
    z-index: 1;
    top: calc(-6 / 1185 * 100%);
    left: 0;
    width: calc(701 / 700 * 100%);
}

/* 人物 */
.p-mv__person {
    z-index: 2;
}

.p-mv__person--patient {
    top: calc(323 / 1185 * 100%);
    left: calc(62 / 700 * 100%);
    width: calc(179 / 700 * 100%);
}

.p-mv__person--doctor {
    top: calc(308 / 1185 * 100%);
    left: calc(300 / 700 * 100%);
    width: calc(95 / 700 * 100%);
}

.p-mv__person--mother {
    top: calc(348 / 1185 * 100%);
    left: calc(454 / 700 * 100%);
    width: calc(141 / 700 * 100%);
}

/* 下部の波 */
.p-mv__wave {
    z-index: 3;
    top: calc(656 / 1185 * 100%);
    left: calc(-28 / 700 * 100%);
    width: calc(764 / 700 * 100%);
}

/* 吹き出し */
.p-mv__bubble {
    z-index: 5;
    display: block;
    text-decoration: none;
}

.p-mv__bubble--01 {
    top: calc(112 / 1185 * 100%);
    left: calc(28 / 700 * 100%);
    width: calc(207 / 700 * 100%);
}

.p-mv__bubble--02 {
    top: calc(48 / 1185 * 100%);
    left: calc(252 / 700 * 100%);
    width: calc(206 / 700 * 100%);
}

.p-mv__bubble--03 {
    top: calc(112 / 1185 * 100%);
    left: calc(468 / 700 * 100%);
    width: calc(207 / 700 * 100%);
}

.p-mv__bubble-float,
.p-mv__bubble-inner {
    display: block;
    position: relative;
}

.p-mv__bubble-inner {
    transition: transform .3s ease;
}

/* 吹き出し上の「CLICK!」アーチ文字 */
.p-mv .p-mv__bubble-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.p-mv__bubble-label text {
    fill: var(--c-red);
    stroke: var(--c-red);
    stroke-width: .6px;
    font-family: var(--f-maru);
    font-weight: 700;
}

@media (hover: hover) {
    .p-mv__bubble:hover .p-mv__bubble-inner {
        transform: scale(1.05);
    }
}

/* キャッチコピー */
.p-mv__copy {
    font-feature-settings: "palt";
    position: absolute;
    z-index: 4;
    top: calc(782 / 1185 * 100%);
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
}

.p-mv__lead {
    position: relative;
    display: inline-block;
    padding: 0 calc(46 / 700 * 100cqw);
    font-family: var(--f-maru);
    font-size: calc(31 / 700 * 100cqw);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: .12em;
}

/* 「知っていますか？」両サイドの点線 */
.p-mv__lead::before,
.p-mv__lead::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    border-left: 2px dotted #fff;
}

.p-mv__lead::before {
    left: calc(10 / 700 * 100cqw);
    transform: rotate(-35deg);
}

.p-mv__lead::after {
    right: calc(10 / 700 * 100cqw);
    transform: rotate(35deg);
}

.p-mv__ttl {
    margin-top: calc(28 / 700 * 100cqw);
    font-family: var(--f-gothic);
    font-size: calc(44 / 700 * 100cqw);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .04em;
}

.p-mv__txt {
    margin-top: calc(22 / 700 * 100cqw);
    font-family: var(--f-gothic);
    font-size: calc(29 / 700 * 100cqw);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .06em;
}

/* MV下のページ内リンク */
.p-mv-nav {
    display: flex;
    gap: 3px;
    background: #fff;
}

.p-mv-nav li {
    flex: 1;
}

.p-mv-nav a {
    font-family: var(--f-gothic);
    font-feature-settings: "palt";
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(80 / 700 * 100cqw);
    background: var(--c-yellow);
    font-size: calc(24 / 700 * 100cqw);
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--c-red);
    text-decoration: none;
    transition: opacity .3s ease;
}

@media (hover: hover) {
    .p-mv-nav a:hover {
        opacity: .7;
    }
}

/* 画面下の固定ナビ（FVを過ぎたら下から表示）
   フッターの後ろに sticky で置くことで、PCでも中央カラムの幅で固定され、
   ページの最後ではフッターの下に収まる */
.p-fixnav {
    position: sticky;
    bottom: 0;
    z-index: 90;
    /* ヘッダー・メニュー(100)の下、コンテンツの上 */
    padding-top: 3px;
    transform: translateY(100%);
    visibility: hidden;
    transition: transform .35s ease, visibility .35s ease;
}

.p-fixnav.is-show {
    transform: none;
    visibility: visible;
}

/* 固定ナビ表示中は右下のUPボタンをナビの上に逃がす（kotsusai.css が !important のため合わせる） */
body.is-fixnav .pagetop {
    bottom: calc(2em + (83 / 700 * 100vw)) !important;
}

@media screen and (min-width: 601px) {
    body.is-fixnav .pagetop {
        bottom: calc(2em + 55px) !important;
    }
}

/* ----------------------------------------------------------
   MVアニメーション
   html.js のときだけ初期状態を隠し、読み込み完了で .is-start を付与
   1) 街並み → 2) 人物を時間差で → 3) 吹き出しがポンッと出て、ふわふわ漂う
---------------------------------------------------------- */
.js .p-mv__town,
.js .p-mv__person,
.js .p-mv__bubble,
.js .p-mv__copy {
    opacity: 0;
}

.p-mv.is-start .p-mv__town {
    animation: mvFadeIn 1s ease forwards;
}

.p-mv.is-start .p-mv__copy {
    animation: mvFadeUp .9s ease .2s forwards;
}

.p-mv.is-start .p-mv__person {
    animation: mvPersonIn .8s cubic-bezier(.22, 1, .36, 1) forwards;
}

.p-mv.is-start .p-mv__person--patient {
    animation-delay: .5s;
}

.p-mv.is-start .p-mv__person--doctor {
    animation-delay: 1s;
}

.p-mv.is-start .p-mv__person--mother {
    animation-delay: 1.5s;
}

.p-mv.is-start .p-mv__bubble {
    animation: mvBubblePop .7s cubic-bezier(.34, 1.56, .64, 1) forwards;
}

/* しっぽの先を起点にふくらませる */
.p-mv__bubble--01 {
    transform-origin: 72% 100%;
}

.p-mv__bubble--02 {
    transform-origin: 45% 100%;
}

.p-mv__bubble--03 {
    transform-origin: 32% 100%;
}

.p-mv.is-start .p-mv__bubble--01 {
    animation-delay: 2.1s;
}

.p-mv.is-start .p-mv__bubble--02 {
    animation-delay: 2.35s;
}

.p-mv.is-start .p-mv__bubble--03 {
    animation-delay: 2.6s;
}

/* ふわふわ（参考サイトと同様、周期と開始位置をずらして不揃いに） */
.p-mv__bubble-float {
    animation: mvBubbleFloat 3.4s ease-in-out infinite;
}

.p-mv__bubble--01 .p-mv__bubble-float {
    animation-duration: 3.4s;
    animation-delay: -.2s;
}

.p-mv__bubble--02 .p-mv__bubble-float {
    animation-duration: 3.8s;
    animation-delay: -.9s;
}

.p-mv__bubble--03 .p-mv__bubble-float {
    animation-duration: 3.1s;
    animation-delay: -.5s;
}

@keyframes mvFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes mvFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes mvPersonIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes mvBubblePop {
    0% {
        opacity: 0;
        transform: scale(.3);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes mvBubbleFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    25% {
        transform: translate3d(2px, -4px, 0) rotate(1deg);
    }

    50% {
        transform: translate3d(0, -7px, 0) rotate(0deg);
    }

    75% {
        transform: translate3d(-2px, -3px, 0) rotate(-1deg);
    }

    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {

    .js .p-mv__town,
    .js .p-mv__person,
    .js .p-mv__bubble,
    .js .p-mv__copy {
        opacity: 1;
        animation: none !important;
    }

    .p-mv__bubble-float {
        animation: none;
    }
}

/* ==========================================================
   コンテンツ共通
   --u = デザイン(@2x)の1px。calc(N * var(--u)) で指定
========================================================== */
:root {
    --u: calc(100cqw / 700);
    --c-text-dark: #231815;
    --c-msg: #d93948;
    --c-bg-pink: #fadeeb;
    --c-bg-beige: #fcead6;
    --c-btn-pink: #ef93bb;
    --c-btn-orange: #f8b600;
}

.p-sec {
    position: relative;
    overflow: hidden;
    color: var(--c-text-dark);
    font-family: var(--f-gothic);
    font-feature-settings: "palt";
}

/* 図解などの絶対配置パーツ：style="--x:; --y:; --w:" で指定 */
.u-abs {
    position: absolute;
    left: calc(var(--x, 0) * var(--u));
    top: calc(var(--y, 0) * var(--u));
    width: calc(var(--w) * var(--u));
    line-height: 0;
}

.u-abs img,
.u-img {
    display: block;
    width: 100%;
    height: auto;
}

/* テキストラベル（--x/--y は文字の中心） */
.u-label {
    position: absolute;
    left: calc(var(--x, 0) * var(--u));
    top: calc(var(--y, 0) * var(--u));
    transform: translate(-50%, -50%);
    font-size: calc(32 * var(--u));
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    white-space: nowrap;
}

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

/* STEP見出し */
.c-step {
    position: relative;
    height: calc(100 * var(--u));
    margin: 0 calc(40 * var(--u));
    border-radius: calc(20 * var(--u));
    background: var(--c-yellow);
}

.c-step__num {
    position: absolute;
    top: calc(-20 * var(--u));
    left: calc(20 * var(--u));
    width: calc(100 * var(--u));
}

.c-step__catch {
    position: absolute;
    top: calc(var(--cy) * var(--u));
    left: calc(var(--cx) * var(--u));
    width: calc(var(--cw) * var(--u));
}

.c-step__person {
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc(175 * var(--u));
}

.c-step__person--wide {
    right: calc(-15 * var(--u));
    width: calc(197 * var(--u));
}

.c-step img {
    display: block;
    width: 100%;
    height: auto;
}

.c-step__ttl {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: calc(34 * var(--u));
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--c-red);
}

@media screen and (max-width: 600px) {
    .c-step__ttl {
        font-size: 20px;
    }
}

/* 赤い縦線つきリード */
.c-lead {
    position: relative;
    margin-left: calc(40 * var(--u));
    padding-left: calc(35 * var(--u));
    font-size: calc(34 * var(--u));
    font-weight: 700;
    line-height: calc(55 * var(--u));
    letter-spacing: .04em;
    color: var(--c-red);
}

.c-lead::before {
    content: "";
    position: absolute;
    top: calc(6 * var(--u));
    bottom: calc(6 * var(--u));
    left: 0;
    width: calc(15 * var(--u));
    border-radius: calc(8 * var(--u));
    background: var(--c-red);
}

.c-lead rt {
    font-size: calc(13 * var(--u));
    letter-spacing: .3em;
}

/* 本文 */
.c-txt {
    font-size: calc(29 * var(--u));
    font-weight: 500;
    line-height: calc(54 * var(--u));
    letter-spacing: .04em;
}

.c-txt--center {
    line-height: calc(47 * var(--u));
    text-align: center;
    text-wrap: pretty;
    /* 折り返した時に1文字だけの行ができないように（対応ブラウザのみ） */
}

/* 「詳しくはこちら」等のボタン */
.c-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(600 * var(--u));
    height: calc(70 * var(--u));
    margin: 0 auto;
    border-radius: calc(20 * var(--u));
    font-size: calc(32 * var(--u));
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--c-text-dark);
    text-decoration: none;
    transition: opacity .3s ease;
}

.c-btn--pink {
    background: var(--c-btn-pink);
}

.c-btn--orange {
    background: var(--c-btn-orange);
}

/* 右の丸矢印 */
.c-btn::before,
.c-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    box-sizing: border-box;
}

.c-btn::before {
    right: calc(22 * var(--u));
    width: calc(38 * var(--u));
    height: calc(38 * var(--u));
    border: 2px solid #fff;
    border-radius: 50%;
    transform: translateY(-50%);
}

.c-btn::after {
    right: calc(39 * var(--u));
    width: calc(9 * var(--u));
    height: calc(9 * var(--u));
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

@media (hover: hover) {
    .c-btn:hover {
        opacity: .75;
    }
}

/* ----------------------------------------------------------
   STEP1 血液の病気とは
---------------------------------------------------------- */
.p-disease {
    padding-top: calc(175 * var(--u));
}

.p-disease .c-lead {
    margin-top: calc(57 * var(--u));
}

/* 「内容ご確認中」（仮原稿の注記。確定後に削除） */
.p-disease__note {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(320 * var(--u));
    height: calc(65 * var(--u));
    margin: calc(57 * var(--u)) auto 0;
    background: var(--c-text-dark);
    font-size: calc(27 * var(--u));
    font-weight: 700;
    letter-spacing: .06em;
    color: #fff;
}

/* 「あなたの身近にも〜」ブロック：右上にお兄さん、左に「年間約6万人」の吹き出し、その下に本文 */
.p-disease__intro {
    position: relative;
    margin-top: calc(30 * var(--u));
}

.p-disease__man {
    z-index: 0;
}

.p-disease__count {
    position: relative;
    z-index: 1;
    width: calc(385 * var(--u));
    margin-left: calc(30 * var(--u));
}

.p-disease__body {
    position: relative;
    z-index: 1;
    margin: calc(36 * var(--u)) calc(30 * var(--u)) 0;
    font-size: calc(28 * var(--u));
    letter-spacing: .04em;
}

.p-disease__source {
    position: relative;
    z-index: 1;
    margin: calc(20 * var(--u)) calc(30 * var(--u)) 0;
    font-size: 16px;
    line-height: 1.6;
}

.p-disease__source a {
    color: var(--c-red);
    text-decoration: none;
    word-break: break-all;
}

.p-disease__fig {
    position: relative;
    height: calc(539 * var(--u));
    margin-top: calc(-93 * var(--u));
}

.p-disease__box {
    position: absolute;
    top: calc(169 * var(--u));
    left: calc(40 * var(--u));
    width: calc(415 * var(--u));
    height: calc(255 * var(--u));
    padding: calc(28 * var(--u)) calc(30 * var(--u)) 0 calc(35 * var(--u));
    background: url(../img/frame_yellow01.webp) no-repeat center / 100% 100%;
    font-size: calc(28 * var(--u));
    line-height: calc(50 * var(--u));
    letter-spacing: 0;
    box-sizing: border-box;
}

.p-disease .c-lead.p-disease__lead2 {
    margin-top: calc(120 * var(--u));
}

.p-disease__normal {
    width: calc(520 * var(--u));
    margin: calc(24 * var(--u)) 0 0 calc(78 * var(--u));
}

.p-disease__cells {
    margin: calc(14 * var(--u)) 0 0 calc(40 * var(--u));
    font-size: calc(28 * var(--u));
    font-weight: 500;
    line-height: calc(52 * var(--u));
    letter-spacing: .02em;
}

.p-disease__cells strong {
    margin-right: calc(10 * var(--u));
    font-weight: 700;
    color: var(--c-red);
}

.p-disease__cells img {
    display: inline-block;
    width: auto;
    height: calc(44 * var(--u));
    margin: 0 calc(2 * var(--u));
    vertical-align: middle;
}

.p-disease__cells img.is-stemcell {
    height: calc(66 * var(--u));
    margin: 0;
}

.p-disease__cells .is-line3 {
    display: inline-block;
    margin: calc(6 * var(--u)) 0 0 0;
}

.p-disease__abnormal {
    width: calc(589 * var(--u));
    margin: calc(22 * var(--u)) 0 0 calc(56 * var(--u));
}

/* ----------------------------------------------------------
   STEP2 なぜ助けが必要？
---------------------------------------------------------- */
.p-why {
    padding-top: calc(254 * var(--u));
}

.p-why .c-lead {
    margin-top: calc(60 * var(--u));
}

.p-why__treatment {
    width: calc(628 * var(--u));
    margin: calc(44 * var(--u)) 0 0 calc(36 * var(--u));
}

.p-why__fig {
    position: relative;
    height: calc(491 * var(--u));
    margin-top: calc(-28 * var(--u));
}

/* 医師の右に黄色の吹き出し枠＋左揃えの文章（イラストを左にずらして行数を抑える） */
.p-why__box {
    position: absolute;
    top: calc(40 * var(--u));
    left: calc(150 * var(--u));
    right: calc(6 * var(--u));
    /* 左は枠線の太さと行間の分を足して、見た目で上下と同じくらいの余白に */
    padding: calc(24 * var(--u)) calc(14 * var(--u)) calc(24 * var(--u)) calc(36 * var(--u));
    /* background: url(../img/frame_yellow02.webp) no-repeat center / 100% 100%; */
    box-sizing: border-box;
}

/* 医師の上げた手は吹き出し枠の手前に */
.p-why__fig>.u-abs {
    z-index: 1;
}

.p-why__box .c-txt {
    font-size: calc(29 * var(--u));
    letter-spacing: .02em;
}

/* ----------------------------------------------------------
   STEP3 2つの仕組み
---------------------------------------------------------- */
.p-system {
    padding-top: 100px;
}

.p-system__fig {
    position: relative;
    /* --shift：文章が予定より長くなった分（JSで計測）だけ下の絵をずらす */
    height: calc(686 * var(--u) + var(--shift, 0px));
}

.p-system__fig .p-system__crowd {
    top: calc(var(--y) * var(--u) + var(--shift, 0px));
}

.p-system__txt {
    position: absolute;
    top: calc(134 * var(--u));
    /* 左右に5%ずつ余白をとって中央に */
    left: 0;
    right: 0;
    width: 90%;
    font-size: calc(29 * var(--u));
    line-height: calc(46.5 * var(--u));
    margin: 0 auto;
}

/* さい帯血 / 骨髄 の見出し */
.p-system .c-lead--cord {
    margin-top: calc(115 * var(--u));
    line-height: calc(56 * var(--u));
}

.p-system .c-lead--marrow {
    margin-top: calc(100 * var(--u));
    line-height: calc(56 * var(--u));
}

/* 図解ブロック（背景色＋下が丸い） */
.p-flow {
    position: relative;
    margin-top: calc(40 * var(--u));
    border-radius: 0 0 50% 50% / 0 0 calc(70 * var(--u)) calc(70 * var(--u));
}

.p-flow--cord {
    height: calc(1975 * var(--u) + var(--shift, 0px));
    background: var(--c-bg-pink);
}

.p-flow--marrow {
    height: calc(1740 * var(--u) + var(--shift, 0px));
    margin-top: calc(50 * var(--u));
    background: var(--c-bg-beige);
}

.p-flow__txt {
    position: absolute;
    top: calc(var(--y) * var(--u));
    /* 左右に5%ずつ余白をとって中央に */
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
}

.p-flow .c-btn {
    position: absolute;
    top: calc(var(--y) * var(--u) + var(--shift, 0px));
    left: calc(50 * var(--u));
}

/* 図の絵・ラベル・吹き出しも、説明文が長くなった分（--shift）だけ下にずらす */
.p-flow .u-abs,
.p-flow .u-label,
.p-flow .p-flow__balloon {
    top: calc(var(--y) * var(--u) + var(--shift, 0px));
}

/* 吹き出し内テキスト */
.p-flow__balloon {
    position: absolute;
    left: calc(var(--x) * var(--u));
    top: calc(var(--y) * var(--u));
    width: calc(var(--w) * var(--u));
}

.p-flow__balloon img {
    display: block;
    width: 100%;
    height: auto;
}

.p-flow__balloon p {
    position: absolute;
    top: 50%;
    left: calc(var(--tx) * var(--u));
    transform: translate(-50%, -50%);
    font-size: calc(27 * var(--u));
    line-height: calc(47 * var(--u));
    letter-spacing: .04em;
    text-align: center;
    white-space: nowrap;
}

@media screen and (max-width: 600px) {
    .p-flow__balloon p {
        font-size: 16px;
    }
}

/* ----------------------------------------------------------
   メッセージ
---------------------------------------------------------- */
.p-message {
    padding-top: calc(27 * var(--u));
    text-align: center;
}

.p-message__img {
    width: calc(614 * var(--u));
    margin: 0 0 0 calc(37 * var(--u));
}

.p-message__txt {
    margin-top: calc(10 * var(--u));
    font-size: calc(31 * var(--u));
    font-weight: 700;
    line-height: calc(50 * var(--u));
    letter-spacing: .06em;
    color: var(--c-msg);
}

@media screen and (max-width: 600px) {
    .p-message__txt {
        font-size: 18px;
    }
}

/* ----------------------------------------------------------
   シェア（既存マークアップをデザインに合わせて調整）
---------------------------------------------------------- */
.p-share {
    margin-top: calc(215 * var(--u));
}

.p-share .share-img {
    width: calc(350 * var(--u));
}

.p-share .share-img img {
    display: block;
    width: 100%;
}

.p-share .sns-blk {
    margin-top: calc(25 * var(--u));
}

.p-share .sns-blk a {
    width: calc(68 * var(--u));
    height: calc(68 * var(--u));
    margin-right: calc(37 * var(--u));
}

.p-share .sns-blk a:last-child {
    margin-right: 0;
}

.p-share .share-description {
    bottom: auto;
    margin-top: calc(-22 * var(--u));
}

.p-share .share-description ul {
    justify-content: flex-start;
    padding-left: calc(55 * var(--u));
}

.p-share .share-description ul li img {
    display: block;
    width: calc(230 * var(--u));
    z-index: auto;
}

.p-share .share-description ul li p {
    margin: 0 0 calc(12 * var(--u)) calc(35 * var(--u));
    font-family: var(--f-maru);
    font-size: 16px;
    font-weight: 700;
    line-height: calc(52 * var(--u));
    letter-spacing: .02em;
    color: var(--c-text-dark);
}

@media screen and (max-width: 600px) {
    .p-disease__box {
        font-size: 16px;
    }

    .p-disease__cells {
        font-size: 16px;
    }

    .p-share .share-description ul li p {
        font-size: 14px;
    }
}

/* ----------------------------------------------------------
   バナーカード
---------------------------------------------------------- */
.p-cards {
    margin-top: calc(92 * var(--u));
}

.p-cards .ilasuto-card {
    position: relative;
    z-index: 0;
    display: block;
    width: calc(620 * var(--u));
    margin: 0 auto calc(52 * var(--u));
    padding: 0 calc(12 * var(--u)) calc(12 * var(--u));
    border-radius: calc(30 * var(--u));
    background: var(--c-red);
    box-sizing: border-box;
}

.p-cards .ilasuto-card:last-child {
    margin-bottom: 0;
}

.p-cards .ilasuto-card a {
    display: block;
    text-decoration: none;
}

.p-cards .ilasuto-card .label {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    /* 高さは固定せず、文字が折り返しても画像に重ならないようにする */
    min-height: calc(60 * var(--u));
    padding: calc(6 * var(--u)) 0;
    box-sizing: border-box;
    background: none;
    font-family: var(--f-gothic);
    font-size: calc(29 * var(--u));
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .02em;
    text-align: center;
    color: #fff;
}

.p-cards .ilasuto-card div {
    height: calc(188 * var(--u));
    margin: 0;
    overflow: hidden;
    border-radius: 0 0 calc(20 * var(--u)) calc(20 * var(--u));
    background: #fff;
}

.p-cards .ilasuto-card img {
    border: 0;
    border-radius: 0;
}

/* ----------------------------------------------------------
   NEXT STEP
---------------------------------------------------------- */
.p-next {
    padding-top: calc(53 * var(--u));
}

.p-next__img {
    width: calc(472 * var(--u));
    /* 人物の下半身をボタンの後ろに回す（画像下端〜ボタン上端の重なり分） */
    margin-bottom: calc(-135 * var(--u));
}

.p-next .c-btn {
    z-index: 1;
}

.p-next .c-btn+.c-btn {
    margin-top: 40px;
}

.p-next .bnr {
    margin-top: calc(130 * var(--u));
}

/* ----------------------------------------------------------
   スクロールでふわっと表示
---------------------------------------------------------- */
.js .js-inview {
    opacity: 0;
    translate: 0 20px;
    transition: opacity .8s ease, translate .8s cubic-bezier(.22, 1, .36, 1), scale .6s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: var(--delay, 0s);
}

/* 図解の矢印は少しはずむ */
.js .js-inview.is-pop {
    translate: none;
    scale: .5;
}

/* 横からスライドして表示 */
.js .js-inview.is-from-right {
    translate: 80px 0;
}

.js .js-inview.is-from-left {
    translate: -80px 0;
}

.js .js-inview.is-inview {
    opacity: 1;
    translate: none;
    scale: none;
}

@media (prefers-reduced-motion: reduce) {
    .js .js-inview {
        opacity: 1;
        translate: none;
        scale: none;
        transition: none;
    }
}

/* ----------------------------------------------------------
   SP時の本文サイズ（.c-txt と、個別にサイズ指定している本文も含めて統一）
   ※個別指定より後に書く必要があるためファイル末尾に記述
---------------------------------------------------------- */
@media screen and (max-width: 600px) {

    .p-mv__txt {
        font-size: 16px;
    }

    .c-txt,
    .p-system__txt {
        font-size: 16px;
    }

    .p-why__box .c-txt {
        font-size: 16px !important;
    }

    /* STEP1「あなたの身近にも〜」の本文はデザインに合わせて16px、出典は12px */
    .p-disease__intro .p-disease__body {
        font-size: 16px;
    }

    .p-disease__source {
        font-size: 14px;
    }

    .p-disease__body {
        font-size: 18px;
    }

    /* 狭い画面ではMVの説明文が背景の波からはみ出すため少し小さく（下の @media 参照） */

    /* 赤い縦線つきの見出し（さい帯血・骨髄の見出しは個別に行の高さ指定があるので併記） */
    .c-lead,
    .p-system .c-lead--cord,
    .p-system .c-lead--marrow {
        font-size: 20px;
        line-height: 1.5;
    }

    /* 文字が大きくなる分、STEP2の文章エリアは高さ固定をやめて文章量に合わせて伸ばす */
    .p-why__fig {
        display: flow-root;
        /* 中の枠の margin-top が外に抜けて位置がずれるのを防ぐ */
        height: auto;
        min-height: calc(491 * var(--u));
    }

    .p-why__box {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: calc(60 * var(--u)) calc(6 * var(--u)) 0 calc(150 * var(--u));
    }

    /* 改行位置を固定しているため、一番長い行（16文字）が枠に収まるよう画面幅に合わせて上限16px */
    .p-why__box .c-txt {
        font-size: min(16px, calc(30 * var(--u)));
    }
}

/* メインビジュアルの説明文は背景の波に重ねて配置しているため、狭い画面では少し小さくする */
@media screen and (max-width: 340px) {
    .p-mv__copy {
        top: calc(768 / 1185 * 100%);
    }

    .p-mv__txt {
        font-size: 15px;
    }

    /* 見出しの文字が相対的に大きくなるため、STEP1のお兄さんは少し右・小さめにして重ならないように */
    .p-disease__man {
        left: calc(460 * var(--u));
        width: calc(360 * var(--u));
    }
}