/* 図「シャクったら止めて、沈める時間を作る」（部品 fall.blade.php 専用）
   - 止め絵は SVG の transform 属性（✕ = 浮ききったところ／○ = 抱いたところ）。fall.js が動かすときは属性を書き換える
   - 文字は HTML で絵の上に重ねる */

.col-page .ea-fall {
    margin: 28px 0;
    padding: 18px 18px 16px;
    background: var(--col-surface);
    border: 1px solid var(--col-line);
    border-radius: var(--col-r-sm);
}
@supports (width: 1cqw) {
    .col-page .ea-fall.col-wide {
        margin-left: calc((100% - min(var(--col-wide), 100cqw)) / 2);
        margin-right: calc((100% - min(var(--col-wide), 100cqw)) / 2);
    }
}
@media (max-width: 767.98px) {
    .col-page .ea-fall.col-wide { margin-left: 0; margin-right: 0; }
}
.col-page .ea-fall__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.col-page .ea-fall p,
.col-page .ea-fall ol,
.col-page .ea-fall li { margin: 0; padding: 0; list-style: none; }
.col-page .col-body .ea-fall ol,
.col-page .col-section .ea-fall ol { padding-left: 0; list-style: none; }
.col-page .col-body .ea-fall li + li,
.col-page .col-section .ea-fall li + li { margin-top: 0; }
.col-page .ea-fall li::marker { content: none; }
.col-page .ea-fall__sr {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.col-page .ea-fall__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
}
.col-page .ea-fall__panel { min-width: 0; display: flex; flex-direction: column; }

/* 見出し（✕/○＋ラベル） */
.col-page .ea-fall .ea-fall__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 0 0 8px;
    line-height: 1.5;
}
.col-page .ea-fall__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    flex: none;
}
.col-page .ea-fall__panel--ng .ea-fall__badge { background: #fbeceb; color: #a8392f; }
.col-page .ea-fall__panel--ok .ea-fall__badge { background: var(--col-navy-800); color: #fff; }
.col-page .ea-fall__tag {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .02em;
    font-feature-settings: "palt";
}
.col-page .ea-fall__panel--ng .ea-fall__tag { color: #a8392f; }
.col-page .ea-fall__panel--ok .ea-fall__tag { color: var(--col-navy-800); }

/* 断面の場面 */
.col-page .ea-fall__scene {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #0c4458;
    line-height: 0;
}
/* ○ は太い紺の枠、✕ は細い線の枠（金は使わない） */
.col-page .ea-fall__panel--ng .ea-fall__scene { box-shadow: 0 0 0 1px rgba(168, 57, 47, .45); }
.col-page .ea-fall__panel--ok .ea-fall__scene { box-shadow: 0 0 0 3px var(--col-navy-800); }
.col-page .ea-fall__scene svg { display: block; width: 100%; height: auto; }

/* 絵の上の文字 */
.col-page .ea-fall__lb {
    position: absolute;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .02em;
    font-feature-settings: "palt";
    color: #fff;
    text-shadow: 0 1px 2px rgba(4, 20, 40, .85);
    pointer-events: none;
    transition: opacity .35s, transform .35s;
}
.col-page .ea-fall__lb small { font-size: 12px; font-weight: 500; color: #d8ecf7; }
.col-page .ea-fall__lb--r { transform: translate(-100%, -50%); text-align: right; }
.col-page .ea-fall__lb--line { color: #e8f3f9; font-weight: 500; font-size: 12.5px; }
.col-page .ea-fall__lb--ng { color: #ffc2b8; }
.col-page .ea-fall__lb--sq { color: #4a3a1c; text-shadow: 0 0 3px rgba(255, 246, 225, .9); font-size: 12.5px; }
.col-page .ea-fall__lb--stop {
    padding: 1px 9px;
    color: var(--col-navy-900);
    background: #fff;
    border-radius: 999px;
    text-shadow: none;
}
.col-page .ea-fall__lb--hug {
    padding: 3px 9px;
    color: #fff;
    background: var(--col-navy-800);
    box-shadow: 0 0 0 1.5px #fff;
    border-radius: 6px;
    text-shadow: none;
    line-height: 1.3;
}
/* 動いているときは、今の場面の文字だけ濃くする（止め絵では全部見せる） */
.col-page .ea-fall__scene[data-ea-playing] [data-ea-on] { opacity: .38; }
.col-page .ea-fall__scene[data-ea-playing] [data-ea-on].is-on { opacity: 1; }
.col-page .ea-fall__scene[data-ea-playing] .ea-fall__lb--hug { opacity: 0; transform: translate(-50%, -50%) scale(.8); }
.col-page .ea-fall__scene[data-ea-playing] .ea-fall__lb--hug.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.col-page .ea-fall .ea-fall__text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 700;
    font-feature-settings: "palt";
    color: var(--col-ink);
}

/* ---- 合図の3コマ ---- */
.col-page .ea-fall__signs {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--col-line);
}
.col-page .ea-fall .ea-fall__signs-h {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 12px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--col-navy-800);
    font-feature-settings: "palt";
}
.col-page .ea-fall__signs-h span { font-size: 13px; font-weight: 500; color: var(--col-ink-2); }
.col-page .ea-fall__sign-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 10px;
}
.col-page .ea-fall__sign { min-width: 0; }
.col-page .ea-fall__mini {
    overflow: hidden;
    border-radius: 8px;
    background: #0c4458;
    line-height: 0;
}
.col-page .ea-fall__mini svg { display: block; width: 100%; height: auto; }
.col-page .ea-fall .ea-fall__sign-t {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--col-ink);
    font-feature-settings: "palt";
}
.col-page .ea-fall__sign-n {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    margin-top: 1px;
    font-size: 12px;
    color: #fff;
    background: var(--col-navy-800);
    border-radius: 50%;
}
.col-page .ea-fall .ea-fall__go {
    margin-top: 14px;
    text-align: center;
}
.col-page .ea-fall__go span {
    display: inline-block;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--col-navy-900);
    background: #f3f7fc;
    border: 1.5px solid var(--col-navy-800);
    border-radius: 999px;
}

.col-page .ea-fall__cap {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--col-ink-2);
}

/* ---- SVG の中身 ---- */
.col-page .ea-fall-ray path { fill: #e6f6fd; opacity: .07; }
.col-page .ea-fall-surface { fill: none; stroke: #ffffff; stroke-opacity: .85; stroke-width: 1.2; }
.col-page .ea-fall-floor { stroke: #e2d2ad; stroke-opacity: .6; stroke-width: .8; }
.col-page .ea-fall-rock path { fill: #5d5a52; stroke: #433f38; stroke-width: .6; }
.col-page .ea-fall-weed path { fill: none; stroke: #3f7a55; stroke-width: 3; stroke-linecap: round; opacity: .85; }
.col-page .ea-fall-dust circle { fill: #d9f1fb; opacity: .35; }
.col-page .ea-fall-rod { fill: none; stroke: #1c2a38; stroke-width: 2.4; stroke-linecap: round; }
.col-page .ea-fall-rodtip { fill: #1c2a38; }
.col-page .ea-fall-line { fill: none; stroke: #ffffff; stroke-opacity: .9; stroke-width: 1; }
.col-page .ea-fall-line--before { stroke-opacity: .35; stroke-dasharray: 2 3; }
.col-page .ea-fall-line--run { stroke-width: 1.3; }
.col-page .ea-fall-trail { fill: none; stroke: #e6f4fb; stroke-opacity: .75; stroke-width: 1.6; stroke-dasharray: 4 4; stroke-linejoin: round; stroke-linecap: round; }
.col-page .ea-fall-ghost { fill: none; stroke: #ffffff; stroke-opacity: .4; stroke-width: 1.2; stroke-dasharray: 1.5 4; stroke-linecap: round; }
.col-page .ea-fall-sink { fill: none; stroke: #ffffff; stroke-width: 2.8; stroke-linecap: round; }
.col-page .ea-fall-gap { fill: none; stroke: #f3aaa0; stroke-width: 1.4; }
.col-page .ea-fall-stop rect { fill: #fff; }
.col-page .ea-fall-bite__ring { fill: none; stroke: #ffffff; stroke-width: 1.4; stroke-dasharray: 3 3; }
.col-page .ea-fall-speed { fill: none; stroke: #fff; stroke-opacity: .7; stroke-width: 1.1; stroke-linecap: round; }
.col-page .ea-fall-mini-arw { fill: none; stroke: #ffffff; stroke-width: 1.8; stroke-linecap: round; }
.col-page .ea-fall-mark path { fill: none; stroke: #fff; stroke-opacity: .75; stroke-width: 1.4; stroke-linecap: round; }

/* エギ */
.col-page .ea-fall .ea-egi__body { stroke: #fff; stroke-width: .9; stroke-opacity: .9; }
.col-page .ea-fall .ea-egi__fin { fill: #ffc04a; }
.col-page .ea-fall .ea-egi__cloth { fill: none; stroke: #ffe1b0; stroke-opacity: .6; stroke-width: .8; }
.col-page .ea-fall .ea-egi__sinker { fill: #5b6670; }
.col-page .ea-fall .ea-egi__eye { fill: #0b1f3a; }
.col-page .ea-fall .ea-egi__hl { fill: #fff; }
.col-page .ea-fall .ea-egi__hl-line { fill: none; stroke: #fff; stroke-opacity: .55; stroke-width: .9; stroke-linecap: round; }
.col-page .ea-fall .ea-egi__kanna { fill: none; stroke: #e8eef8; stroke-width: 1.1; stroke-linecap: round; }

/* イカ（横から） */
.col-page .ea-fall .ea-sqs__fin { fill: #ffffff; fill-opacity: .28; stroke: #ffffff; stroke-opacity: .65; stroke-width: .6; }
.col-page .ea-fall .ea-sqs__mantle { fill-opacity: .88; stroke: #c98a76; stroke-width: .5; }
.col-page .ea-fall .ea-sqs__dots circle { fill: #c4604a; opacity: .6; }
.col-page .ea-fall .ea-sqs__shine { fill: none; stroke: #fff; stroke-opacity: .6; stroke-width: 1; stroke-linecap: round; }
.col-page .ea-fall .ea-sqs__head { fill: #f4d7cb; fill-opacity: .92; stroke: #c98a76; stroke-width: .4; }
.col-page .ea-fall .ea-sqs__eye { fill: #0b1f3a; stroke: #f6e6cf; stroke-width: .6; }
.col-page .ea-fall .ea-sqs__hl { fill: #fff; }
.col-page .ea-fall .ea-sqs__arms { fill: none; stroke: #f0c9ba; stroke-width: 1.5; stroke-linecap: round; }
.col-page .ea-fall .ea-sqs__tent { fill: none; stroke: #e8b5a3; stroke-width: .9; stroke-linecap: round; }

/* ---- スマホ ---- */
@media (max-width: 600px) {
    .col-page .ea-fall { padding: 14px 12px 12px; }
    .col-page .ea-fall__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .col-page .ea-fall__sign-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .col-page .ea-fall .ea-fall__sign-t { font-size: 15px; }
    .col-page .ea-fall-line--run { stroke-width: 1.6; }
    .col-page .ea-fall__go span { border-radius: 10px; }
}
