/* ===================================
    CHUOU TEKKOTSU Co.,Ltd.
====================================== */
/* ── 共通ベース（元ファイルと同一） ── */
.pf-section {
    padding: 100px 0;
    background: #fff;
}
.pf-section.pf-bg-gray {
    background: #f7f7f7;
}
.pf-wrap {
    max-width: 1020px;
    margin: 0 auto;
    padding: 0 40px;
}
.pf-sec-head {
    text-align: center;
    margin-bottom: 56px;
}
.pf-sec-head-label {
    display: block;
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .46em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 10px;
}
.pf-sec-head h2 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    color: #111;
    letter-spacing: .12em;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}
.pf-sec-head h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 1px;
    background: #1a2744;
}
.pf-sec-head p {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 300;
    color: #666;
    line-height: 2.2;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.pf-flow-bar {
    display: flex;
    align-items: stretch;
    border: 1px solid #e0e4ec;
    margin-bottom: 48px;
    overflow: hidden;
}
.pf-fo-phase {
    flex: 1;
    cursor: pointer;
    position: relative;
    padding: 25px 12px 35px;
    text-align: center;
    border-right: 1px solid #e0e4ec;
    background: #fff;
    transition: background .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}
.pf-fo-phase:last-child {
    border-right: none;
}
.pf-fo-phase::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #004098;
    transform: scaleX(0);
    transition: transform .45s;
}
.pf-fo-phase:hover, .pf-fo-phase.pf-active {
    background: #f4f6fb;
}
.pf-fo-phase.pf-active::after, .pf-fo-phase:hover::after {
    transform: scaleX(1);
}
.pf-fo-num {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .12em;
    color: #fff;
    text-transform: uppercase;
	background-color: #004098;
	padding: 4px 12px;
	margin-bottom: 10px;
}
.pf-fo-title {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: .06em;
    line-height: 1.4;
}
.pf-fo-en {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    color: #bbb;
    text-transform: uppercase;
	margin-bottom: 10px;
	
}
.pf-fo-count {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 300;
    color: #aaa;
    letter-spacing: .04em;
    margin-top: 2px;
}
.pf-fo-arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    pointer-events: none;
    margin: 0 -1px;
    position: relative;
    z-index: 1;
}
.pf-fo-arrow::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #e0e4ec;
}
.pf-phase-panel {
    display: none;
}
.pf-phase-panel.pf-active {
    display: block;
    animation: pfPanelIn .25s ease;
}
@keyframes pfPanelIn {
    from {
        opacity: 0;
        transform: translateY(8px)
    }
    to {
        opacity: 1;
        transform: none
    }
}
.pf-panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid #004098;
}
.pf-panel-badge {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    background-color: #004098;
    padding: 4px 12px;
    flex-shrink: 0;
}
.pf-panel-ja {
    font-size: 1.265rem;
    font-weight: 700;
    color: #252840;
    letter-spacing: .09em;
}
.pf-panel-en {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    color: #bbb;
    text-transform: uppercase;
    margin-left: auto;
    white-space: nowrap;
}
.pf-step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    position: relative;
    gap: 0;
  }
.pf-step-grid::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(90deg, #004098 0, #004098 4px, transparent 4px, transparent 8px);
    z-index: 0;
}
.pf-sc {
    cursor: pointer;
    position: relative;
    z-index: 1;
    padding: 0 6px;
    display: flex;
    flex-direction: column;
    transition: transform .18s;
}
.pf-sc:hover {
    transform: translateY(-3px);
}
.pf-sc-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 58%;
    background: #0e1c36;
    overflow: hidden;
}
.pf-sc-thumb-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1828 0%, #1a3050 55%, #0e2240 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .25s;
}
.pf-sc-thumb-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgba(255, 255, 255, .011) 3px, rgba(255, 255, 255, .011) 4px);
}
.pf-sc:hover .pf-sc-thumb-bg {
    opacity: .78;
}
.pf-sc-play {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .22s;
}
.pf-sc-play svg {
    width: 12px;
    height: 12px;
    fill: #fff;
    margin-left: 2px;
}
.pf-sc:hover .pf-sc-play {
    background: rgba(26, 39, 68, .85);
    border-color: rgba(255, 255, 255, .7);
    transform: scale(1.08);
}
.pf-sc-step-num {
    position: absolute;
    top: 7px;
    left: 13px;
    z-index: 2;
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .55);
    background: rgba(0, 0, 0, .32);
    padding: 1px 6px;
    line-height: 1.7;
}
.pf-sc-body {
    padding: 10px 4px 14px;
}
.pf-sc-name {
    font-size: 16px;
    font-weight: 700;
    color: #252840;
	border-top: 1px solid #252840;
    border-bottom: 1px solid #252840;
    padding: 3px 0 5px 0;
    letter-spacing: .05em;
    margin-bottom: 5px;
}
.pf-sc-desc {
    font-size: 12px;
    font-weight: 400;
    color: #5c5c5c;
    line-height: 1.8;
	margin-bottom: 10px;
}
.pf-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    padding: 1px 8px 2px 8px;
    border: 1px solid;
    line-height: 1.9;
}
.pf-badge-recv {
    color: #0a6e60;
    border-color: #b0dad4;
    background: #f0faf8;
}
.pf-badge-appr {
    color: #8a1050;
    border-color: #ddb0c8;
    background: #fdf0f6;
}
.pf-badge-inter {
    color: #8a1050;
    border-color: #ddb0c8;
    background: #fdf0f6;
}
.pf-badge-insp {
    color: #1a3a8a;
    border-color: #b0c4e8;
    background: #f0f4fc;
}
.pf-checks-wrap {
    margin-top: 6px;
}
.pf-checks-btn {
    font-size: 10px;
    font-weight: 300;
    color: #888;
    cursor: pointer;
    letter-spacing: .04em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}
.pf-checks-btn::before {
    content: '+';
    width: 15px;
    height: 15px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #999;
    line-height: 1;
    flex-shrink: 0;
}
.pf-checks-wrap.pf-open .pf-checks-btn::before {
    content: '−';
}
.pf-checks {
    display: none;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 6px;
}
.pf-checks-wrap.pf-open .pf-checks {
    display: flex;
}
.pf-checks li {
    font-size: 10px;
    font-weight: 300;
    color: #555;
    background: #f4f4f4;
    padding: 1px 7px;
    border-radius: 2px;
    line-height: 1.8;
}
/* ── モーダル（共通） ── */
.pf-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(8, 14, 28, .82);
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.pf-modal-overlay.pf-modal-open {
    display: flex;
}
.pf-modal-panel {
    background: #fff;
    width: 100%;
    max-width: 660px;
    max-height: 90vh;
    overflow-y: auto;
    animation: pfModalIn .2s ease;
}
@keyframes pfModalIn {
    from {
        opacity: 0;
        transform: translateY(12px)
    }
    to {
        opacity: 1;
        transform: none
    }
}
.pf-modal-hd {
    background: #1a2744;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pf-modal-hd-phase {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 2px 9px;
    white-space: nowrap;
}
.pf-modal-hd-step {
    font-size: 12px;
    color: #fff;
    letter-spacing: .12em;
	margin-right: 10px;
}
.pf-modal-hd-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .12em;
    flex: 1;
}
.pf-modal-close {
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .5);
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s, color .15s;
    line-height: 1;
}
.pf-modal-close:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}
.pf-modal-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #06111e;
    cursor: pointer;
}
.pf-modal-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.pf-modal-video.pf-playing video {
    display: block;
}
.pf-modal-video-ph {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #08111e 0%, #142240 60%, #0a1830 100%);
    transition: opacity .25s;
}
.pf-modal-video.pf-playing .pf-modal-video-ph {
    opacity: 0;
    pointer-events: none;
}
.pf-modal-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(80, 140, 220, .28), transparent);
    animation: pfScan 6s linear infinite;
}
@keyframes pfScan {
    0% {
        top: -2px
    }
    100% {
        top: 102%
    }
}
.pf-modal-play-btn {
    position: relative;
    z-index: 1;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .22s;
}
.pf-modal-play-btn svg {
    width: 16px;
    height: 16px;
    fill: #fff;
    margin-left: 2px;
}
.pf-modal-video-ph:hover .pf-modal-play-btn {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .7);
    transform: scale(1.06);
}
.pf-modal-video-ttl {
    position: relative;
    z-index: 1;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    letter-spacing: .12em;
    text-align: center;
    padding: 0 24px;
	margin-bottom: 5px;
}
.pf-modal-video-sub {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, .65);
    letter-spacing: .05em;
    text-align: center;
    padding: 0 24px;
    margin-top: -6px;
}
.pf-modal-body {
    padding: 22px 22px 26px;
}
.pf-modal-check-label {
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #aaa;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 12px;
}
.pf-modal-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
	padding-left: 0;
}
.pf-modal-checks li {
    font-size: 12px;
    font-weight: 300;
    color: #444;
    background: #f4f4f4;
    padding: 3px 11px;
    border-radius: 2px;
    transition: background .15s, color .15s;
}
.pf-modal-checks li:hover {
    background: #1a2744;
    color: #fff;
}
.pf-modal-no-check {
    font-size: 12px;
    font-weight: 300;
    color: #bbb;
}
/* ════════════════════════════════════════════
   案ラベル（比較用・本番時削除）
════════════════════════════════════════════ */
.proposal-label {
    background: #1a2744;
    color: #fff;
    padding: 10px 40px;
    font-family: 'Barlow', sans-serif;
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 14px;
}
.proposal-label strong {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .06em;
    font-family: inherit;
}
.proposal-label span {
    font-weight: 300;
    color: rgba(255, 255, 255, .5);
}
/* ════════════════════════════════════════════
   A案: Phase04 右端に施工報告書を横並び
════════════════════════════════════════════ */
/* Phase04 パネルを 工程グリッド + 施工報告書 の横並びに */
.pf-p4-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    align-items: stretch;
}
/* 工程グリッド側 */
.pf-p4-steps {
    border-right: 4px solid #004098;
    padding-right: 15px;
}
/* 右側：施工報告書カラム */
.pf-p4-report {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 0 0 36px;
    min-width: 148px;
    position: relative;
}
/* 矢印コネクター */
.pf-p4-arrow {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0;
}
.pf-p4-arrow-line {
    width: 20px;
    height: 2px;
    background: repeating-linear-gradient(90deg, #004098 0, #004098 4px, transparent 4px, transparent 8px);
}
.pf-p4-arrow-head {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 10px solid #004098;
}
/* 報告書スタンプ */
.pf-report-stamp {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #004098;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #004098;
    line-height: 1.45;
    text-align: center;
    letter-spacing: .06em;
    margin-bottom: 10px;
    position: relative;
    background: #fff;
    transition: background .22s, color .22s;
}
.pf-report-stamp::before {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px solid rgba(0, 64, 152, .4);
}
.pf-report-stamp-label {
    font-size: 12px;
    font-weight: 600;
    color: #1a2744;
    letter-spacing: .1em;
    text-align: center;
}
.pf-report-stamp-en {
    font-family: 'Barlow', sans-serif;
    font-size: 8px;
    font-weight: 300;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #aaa;
    margin-top: 3px;
    text-align: center;
}
/* A案レスポンシブ */
@media (max-width: 640px) {
    .pf-p4-layout {
        grid-template-columns: 1fr;
    }
    .pf-p4-steps {
        border-right: none;
        border-bottom: 1px solid #e8e8e8;
        padding-right: 0;
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
    .pf-p4-report {
        flex-direction: row;
        padding: 0;
        min-width: auto;
        gap: 16px;
        justify-content: flex-start;
    }
    .pf-p4-arrow {
        display: none;
    }
    .pf-report-stamp {
        margin-bottom: 0;
    }
}
/* ════════════════════════════════════════════
   B案: 下部配置をリデザイン（「全工程完了」締め）
════════════════════════════════════════════ */
/* 元の完了エリアを全面リニューアル */
.pf-complete-v2 {
    margin-top: 48px;
    padding: 32px 40px;
    background: #f7f8fb;
    border: 1px solid #e4e8f0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0;
}
/* 左：フロー締め線 */
.pf-cv2-line {
    height: 1px;
    background: repeating-linear-gradient(90deg, #c0c8d8 0, #c0c8d8 6px, transparent 6px, transparent 12px);
}
/* 中央コンテンツ */
.pf-cv2-center {
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}
/* ゴールド帯アクセント */
.pf-cv2-accent {
    width: 3px;
    height: 52px;
    background: linear-gradient(180deg, #1a2744, #3a547a);
    flex-shrink: 0;
}
.pf-cv2-text {}
.pf-cv2-en {
    font-family: 'Barlow', sans-serif;
    font-size: 9px;
    font-weight: 300;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #aaa;
    display: block;
    margin-bottom: 4px;
}
.pf-cv2-ja {
    font-size: 18px;
    font-weight: 600;
    color: #1a2744;
    letter-spacing: .1em;
    line-height: 1.3;
}
.pf-cv2-sub {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 300;
    color: #999;
    letter-spacing: .12em;
    margin-top: 4px;
}
/* B案レスポンシブ */
@media (max-width: 640px) {
    .pf-complete-v2 {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 20px;
        text-align: center;
    }
    .pf-cv2-line {
        display: none;
    }
    .pf-cv2-center {
        justify-content: center;
        padding: 0;
    }
}
/* ── 共通レスポンシブ ── */
@media (max-width: 860px) {
    .pf-wrap {
        padding: 0 24px;
    }
    .pf-section {
        padding: 72px 0;
    }
}
@media (max-width: 640px) {
    .pf-wrap {
        padding: 0 16px;
    }
    .pf-section {
        padding: 56px 0;
    }
    .pf-flow-bar {
        flex-direction: column;
    }
    .pf-fo-phase {
        border-right: none;
        border-bottom: 1px solid #e0e4ec;
        flex-direction: row;
        text-align: left;
        gap: 10px;
        padding: 13px 16px;
    }
    .pf-fo-phase:last-child {
        border-bottom: none;
    }
    .pf-fo-phase::after {
        bottom: auto;
        top: 0;
        left: 0;
        right: auto;
        width: 3px;
        height: 100%;
        transform: scaleX(1) scaleY(0);
        transform-origin: top;
        transition: transform .25s;
    }
    .pf-fo-phase.pf-active::after, .pf-fo-phase:hover::after {
        transform: scaleY(1);
    }
    .pf-fo-en, .pf-fo-count {
        display: none;
    }
    .pf-fo-arrow {
        display: none;
    }
    .pf-panel-en {
        display: none;
    }
    .pf-step-grid {
        grid-template-columns: 1fr;
    }
    .pf-step-grid::before {
        display: none;
    }
    .pf-sc {
        flex-direction: row;
        padding: 14px 0;
        border-bottom: 1px solid #eee;
        transform: none !important;
    }
    .pf-sc:last-child {
        border-bottom: none;
    }
    .pf-sc-thumb {
        width: 100px;
        min-width: 100px;
        padding-bottom: 0;
        height: 68px;
        flex-shrink: 0;
    }
    .pf-sc-thumb-bg {
        position: relative;
        width: 100%;
        height: 100%;
    }
    .pf-sc-step-num {
        left: 8px;
    }
    .pf-sc-body {
        padding: 0 0 0 12px;
    }
    .pf-sc-play {
        width: 32px;
        height: 32px;
    }
}

