/* ==========================================================
   高真空フランジ KCF ページ専用
   ========================================================== */
.p-kcf {
    --kcf-blue: #0b6dc0;
    --kcf-blue-dark: #0a5aa0;
    --kcf-accent: #2979ff;
    --kcf-navy: #283f67;
    --kcf-pale: #f0f4fb;
    --kcf-line: #c9d6ea;
    color: #333;
}

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

.p-kcf sup {
    font-size: 0.7em;
    line-height: 0;
    vertical-align: super;
}

.p-kcf_sec {
    margin-bottom: 110px;
}

.p-kcf_h2 {
    margin-bottom: 50px;
}

.p-kcf_h3 {
    color: var(--kcf-accent);
    font-size: 22px;
    letter-spacing: 0.12em;
    line-height: 1.5;
    margin-bottom: 24px;
}

.p-kcf_h3 small {
    font-size: 14px;
    margin-left: 1em;
    color: #59729d;
    letter-spacing: 0.08em;
}

.p-kcf_h4 {
    color: #0071bc;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
}

.p-kcf_h4:before {
    content: "■";
    margin-right: 0.2em;
}

/* ---------- 課題 ---------- */
.p-kcf_problem {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.p-kcf_problem_item {
    width: calc(24.5% - 10px);
    box-sizing: border-box;
    padding: 20px;
    color: #fff;
    background: linear-gradient(135deg, #0a5fae 0%, #1a86d4 100%);
}

.p-kcf_problem_head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.p-kcf_problem_ico {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f6d33b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-kcf_problem_ico svg {
    width: 34px;
    height: 34px;
}

.p-kcf_problem_ttl {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
}

.p-kcf_problem_txt {
    font-size: 14px;
    line-height: 1.9;
    font-weight: bold;
}

/* ---------- 特長バッジ ---------- */
.p-kcf_badge {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.p-kcf_badge li {
    width: calc(25% - 10.5px);
    box-sizing: border-box;
    background: var(--kcf-blue);
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    padding: 18px 10px;
    min-height: 81px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- 固定作業時間比較 ---------- */
.p-kcf_time {
    display: flex;
    gap: 24px;
}

.p-kcf_time_item {
    flex: 1;
    box-sizing: border-box;
    background: #f2f6fb;
    border-radius: 8px;
    padding: 20px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #595757;
}

.p-kcf_time_icf {
    display: flex;
    align-items: center;
    gap: 10px;
}

.p-kcf_time_icf .label {
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0.08em;
    color: #595757;
    text-align: center;
    white-space: nowrap;
}

.p-kcf_time_icf .spec {
    text-align: center;
    line-height: 1.2;
}

.p-kcf_time_icf .model {
    display: block;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.06em;
    color: #595757;
    margin-bottom: 2px;
}

.p-kcf_time_icf .min {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #595757;
    white-space: nowrap;
}

.p-kcf_time_icf .min b {
    font-size: 40px;
    line-height: 1;
    font-weight: bold;
    margin: 0 2px;
    vertical-align: -2px;
}

.p-kcf_time_arrow {
    width: 30px;
    height: 46px;
    flex: 0 0 30px;
    background: #0071bc;
    clip-path: polygon(0 28%, 52% 28%, 52% 0, 100% 50%, 52% 100%, 52% 72%, 0 72%);
}

.p-kcf_time_cell {
    text-align: center;
    line-height: 1.3;
}

.p-kcf_time_cell .label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #0071bc;
    letter-spacing: 0.12em;
    margin-bottom: 2px;
    white-space: nowrap;
}

.p-kcf_time_cell .label.is-time {
    color: #595757;
    letter-spacing: 0.08em;
}

.p-kcf_time_cell .box {
    display: inline-block;
    background: #0071bc;
    color: #fff;
    font-weight: bold;
    padding: 9px 14px;
    line-height: 1.35;
    min-width: 104px;
    box-sizing: border-box;
}

.p-kcf_time_cell .box b {
    display: block;
    font-size: 21px;
    letter-spacing: 0.04em;
}

.p-kcf_time_cell .box small {
    display: block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.02em;
}

.p-kcf_time_cell.is-kcf .min {
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #595757;
    white-space: nowrap;
}

.p-kcf_time_cell.is-kcf .min b {
    font-size: 46px;
    line-height: 1;
    font-weight: bold;
    color: #0071bc;
    margin: 0 2px;
    vertical-align: -3px;
}

/* ---------- 成果比較 / 誕生の背景 ---------- */
.p-kcf_result {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.p-kcf_result > div:first-child {
    flex: 1.5;
}

.p-kcf_result > div:last-child {
    flex: 1;
}

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

.p-kcf_cmp_note {
    text-align: right;
    font-size: 11px;
    color: #595757;
    margin-top: 8px;
}

.p-kcf_birth_body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.p-kcf_birth_body p {
    font-size: 12px;
    line-height: 1.9;
    font-weight: bold;
    flex: 1 1 40%;
}

.p-kcf_birth_body .img {
    flex: 1 1 60%;
}

/* ---------- 構造 ---------- */
.p-kcf_struct {
    display: flex;
    align-items: center;
    gap: 30px;
}

.p-kcf_struct_diagram {
    position: relative;
    flex: 0 0 42%;
}

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

.p-kcf_struct_text {
    position: absolute;
    margin: 0;
    font-size: clamp(14px, 1.85vw, 19px);
    font-weight: bold;
    line-height: 1.85;
    letter-spacing: 0.08em;
    color: #595757;
    white-space: nowrap;
    z-index: 1;
}

.p-kcf_struct_use {
    flex: 1;
}

/* ---------- チェーンクランプ ---------- */
.p-kcf_clamp {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 80px;
}

.p-kcf_clamp_imgs {
    flex: 0 0 56%;
    display: flex;
    gap: 10px;
}

.p-kcf_clamp_imgs img {
    mix-blend-mode: multiply;
}

.p-kcf_clamp_text {
    flex: 1;
}

.p-kcf_clamp_text .p-kcf_h3 small {
    display: block;
    margin: 6px 0 0;
}

.p-kcf_clamp_text .name {
    font-size: 17px;
    font-weight: bold;
    color: var(--kcf-navy);
    margin-bottom: 10px;
}

.p-kcf_clamp_text p {
    font-size: 14px;
    line-height: 2;
}

/* ---------- 構成 ---------- */
.p-kcf_compose {
    background: var(--kcf-pale);
    padding: 40px 30px 36px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    position: relative;
}

.p-kcf_compose:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    margin-left: -14px;
    border: 14px solid transparent;
    border-bottom: 0;
    border-top-color: var(--kcf-pale);
}

.p-kcf_compose_item {
    flex: 1;
    text-align: center;
}

.p-kcf_compose_item .img {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.p-kcf_compose_item .img img {
    max-height: 150px;
    width: auto;
}

.p-kcf_compose_item .img img.is-photo {
    mix-blend-mode: multiply;
}

.p-kcf_compose_item .ttl {
    color: var(--kcf-blue);
    font-weight: bold;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.p-kcf_compose_item .txt {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

.p-kcf_compose_plus {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin: 55px 8px 0;
    border-radius: 50%;
    background: #fff;
    position: relative;
}

.p-kcf_compose_plus:before,
.p-kcf_compose_plus:after {
    content: "";
    position: absolute;
    background: var(--kcf-blue);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.p-kcf_compose_plus:before {
    width: 18px;
    height: 4px;
}

.p-kcf_compose_plus:after {
    width: 4px;
    height: 18px;
}

/* ---------- 接続 ---------- */
.p-kcf_connect {
    margin-top: 28px;
    padding: 36px 40px 40px;
    color: #fff;
    background-color: #1c78c8;
    background-image:
        linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.p-kcf_connect_text .ttl {
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1.3;
    margin-bottom: 10px;
}

.p-kcf_connect_text .txt {
    font-size: 15px;
    font-weight: bold;
    line-height: 1.8;
}

.p-kcf_connect_imgs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.p-kcf_connect_img {
    flex: 1;
    max-width: 420px;
    min-width: 0;
}

.p-kcf_connect_img.is-parts {
    background: #fff;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    position: relative;
}

.p-kcf_connect_img.is-parts:after {
    content: "";
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    border: 14px solid transparent;
    border-right: 0;
    border-left-color: #fff;
}

.p-kcf_connect_img.is-done {
    text-align: center;
}

.p-kcf_connect_img.is-done img {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.22));
}

.p-kcf_caution {
    background: #dde8f3;
    color: #e60012;
    text-align: center;
    font-size: 16px;
    letter-spacing: 0.06em;
    line-height: 1.7;
    padding: 18px 16px;
    margin-top: 30px;
}

/* ---------- ラインナップ ---------- */
.p-kcf_lineup {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.p-kcf_lineup li {
    flex: 1;
    min-width: 0;
    background: var(--kcf-pale);
    padding: 22px 16px 20px;
    text-align: center;
}

.p-kcf_lineup .ttl {
    text-align: left;
    font-size: 15px;
    font-weight: bold;
    color: var(--kcf-navy);
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.p-kcf_lineup .mat {
    text-align: left;
    font-size: 12px;
    color: #59729d;
    margin: 4px 0 14px;
}

.p-kcf_lineup .photo {
    margin-bottom: 16px;
}

.p-kcf_lineup .photo img {
    mix-blend-mode: multiply;
    width: 100%;
}

/* ---------- 表（サイズ・試験） ---------- */
.p-kcf_scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.p-kcf_size {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 4px;
    text-align: center;
    font-size: 15px;
}

.p-kcf_size th,
.p-kcf_size td {
    padding: 11px 8px;
    line-height: 1.4;
    text-align: center;
    width: auto;
}

.p-kcf_size thead th {
    background: var(--kcf-blue);
    color: #fff;
    font-size: 17px;
}

.p-kcf_size tbody th {
    background: #a9c4e8;
    color: #fff;
    font-weight: bold;
}

.p-kcf_size tbody td {
    background: var(--kcf-pale);
}

.p-kcf_test {
    display: flex;
    gap: 50px;
}

.p-kcf_test > div:first-child {
    flex: 0 0 34%;
}

.p-kcf_test > div:last-child {
    flex: 1;
    min-width: 0;
}

.p-kcf_test_list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 1em;
    font-size: 15px;
    line-height: 2;
}

.p-kcf_test_list li:before {
    content: "・";
}

.p-kcf_test_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px;
    text-align: center;
    font-size: 14px;
}

.p-kcf_test_table th,
.p-kcf_test_table td {
    padding: 14px 8px;
    line-height: 1.4;
    text-align: center;
}

.p-kcf_test_table thead th {
    letter-spacing: 0.2em;
    color: var(--kcf-navy);
    font-weight: bold;
    padding-bottom: 4px;
}

.p-kcf_test_table thead th.is-result {
    color: var(--kcf-blue);
    font-size: 17px;
}

.p-kcf_test_table tbody th,
.p-kcf_test_table tbody td:nth-child(2) {
    background: #e6e6e6;
    font-weight: normal;
}

.p-kcf_test_table tbody td.is-result {
    background: var(--kcf-blue);
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}

.p-kcf_photos {
    display: flex;
    gap: 16px;
    margin-top: 40px;
}

.p-kcf_photos figure {
    flex: 1;
    margin: 0;
    min-width: 0;
}

.p-kcf_photos img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.p-kcf_photos figcaption {
    font-size: 12px;
    text-align: center;
    margin-top: 6px;
    color: #59729d;
}

/* ==========================================================
   Tablet (768px - 1024px)
   ========================================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .p-kcf_badge li {
        font-size: 13px;
    }

    .p-kcf_time {
        flex-direction: column;
    }

    .p-kcf_struct {
        flex-direction: column;
        align-items: stretch;
    }

    .p-kcf_struct_diagram {
        flex-basis: auto;
        width: 80%;
        margin: 0 auto;
    }

    .p-kcf_struct_text {
        font-size: 2.3vw;
    }

    .p-kcf_struct_use {
        flex-basis: auto;
    }

    .p-kcf_lineup {
        gap: 10px;
    }
}

/* ==========================================================
   SP (max-width: 767px)
   ========================================================== */
@media screen and (max-width: 767px) {
    .p-kcf_sec {
        margin-bottom: 64px;
    }

    .p-kcf_h2 {
        margin-bottom: 30px;
    }

    .p-kcf_h3 {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .p-kcf_h3 small {
        display: block;
        margin: 4px 0 0;
        font-size: 12px;
    }

    .p-kcf_h4 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    /* 課題 */
    .p-kcf_problem {
        gap: 12px;
    }

    .p-kcf_problem_item {
        width: 100%;
        padding: 20px 18px;
    }

    .p-kcf_problem_ico {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .p-kcf_problem_ico svg {
        width: 28px;
        height: 28px;
    }

    .p-kcf_problem_ttl {
        font-size: 17px;
    }

    .p-kcf_problem_txt {
        font-size: 13px;
    }

    /* 特長バッジ */
    .p-kcf_badge {
        gap: 8px;
    }

    .p-kcf_badge li {
        width: 100%;
        font-size: 14px;
        padding: 12px 6px;
        min-height: 54px;
    }

    /* 固定作業時間比較 */
    .p-kcf_time {
        flex-direction: column;
        gap: 14px;
    }

    .p-kcf_time_item {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        align-items: end;
        gap: 14px 20px;
        padding: 24px 16px;
    }

    .p-kcf_time_icf {
        grid-column: 1 / -1;
        grid-row: 1;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .p-kcf_time_icf .label {
        font-size: 12px;
        font-weight: bold;
    }

    .p-kcf_time_icf .label br {
        display: none;
    }

    .p-kcf_time_icf .model {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .p-kcf_time_icf .min {
        font-size: 16px;
    }

    .p-kcf_time_icf .min b {
        font-size: 38px;
    }

    .p-kcf_time_arrow {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        width: 26px;
        height: 36px;
        transform: rotate(90deg);
        margin: 2px 0;
    }

    .p-kcf_time_item > .p-kcf_time_cell:nth-of-type(2) {
        grid-column: 1;
        grid-row: 3;
        text-align: left;
    }

    .p-kcf_time_cell .label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .p-kcf_time_cell .box {
        min-width: 132px;
        padding: 12px 16px;
        text-align: center;
    }

    .p-kcf_time_cell .box b {
        font-size: 22px;
    }

    .p-kcf_time_cell .box small {
        font-size: 12px;
    }

    .p-kcf_time_item > .p-kcf_time_cell:nth-of-type(3) {
        grid-column: 2;
        grid-row: 3;
        padding-bottom: 4px;
    }

    .p-kcf_time_item > .p-kcf_time_cell:nth-of-type(3) .label {
        display: block;
        margin-right: 0;
        margin-bottom: 6px;
    }

    .p-kcf_time_cell.is-kcf .min {
        font-size: 16px;
    }

    .p-kcf_time_cell.is-kcf .min b {
        font-size: 42px;
    }

    /* 成果比較 / 誕生の背景 */
    .p-kcf_result {
        flex-direction: column;
        gap: 36px;
    }

    .p-kcf_result > div,
    .p-kcf_result > div:first-child,
    .p-kcf_result > div:last-child {
        flex: none;
        width: 100%;
    }

    .p-kcf_birth_body {
        flex-direction: column;
    }

    .p-kcf_birth_body .img {
        width: 100%;
    }

    /* 構造 */
    .p-kcf_struct {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .p-kcf_struct_diagram {
        flex-basis: auto;
        width: 100%;
    }

    .p-kcf_struct_text {
        font-size: 3.6vw;
        line-height: 1.8;
    }

    .p-kcf_struct_img {
        flex-basis: auto;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    /* チェーンクランプ */
    .p-kcf_clamp {
        flex-direction: column;
        gap: 20px;
        margin-top: 50px;
    }

    .p-kcf_clamp_imgs {
        flex-basis: auto;
        width: 100%;
    }

    /* 構成 */
    .p-kcf_compose {
        flex-direction: column;
        align-items: center;
        padding: 28px 20px;
    }

    .p-kcf_compose_item {
        width: 100%;
    }

    .p-kcf_compose_item .img {
        height: 120px;
        margin-bottom: 10px;
    }

    .p-kcf_compose_item .img img {
        height: auto;
        max-height: 120px;
    }

    .p-kcf_compose_plus {
        margin: 12px 0;
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    /* 接続 */
    .p-kcf_connect {
        padding: 26px 18px;
        gap: 20px;
    }

    .p-kcf_connect_text .ttl {
        font-size: 28px;
    }

    .p-kcf_connect_text .txt {
        font-size: 14px;
    }

    .p-kcf_connect_imgs {
        gap: 16px;
    }

    .p-kcf_connect_img.is-parts {
        padding: 6px;
    }

    .p-kcf_connect_img.is-parts:after {
        right: -9px;
        border-width: 9px;
        border-right: 0;
    }

    .p-kcf_caution {
        font-size: 13px;
        padding: 14px 12px;
        text-align: left;
    }

    /* ラインナップ */
    .p-kcf_lineup {
        flex-wrap: wrap;
        gap: 12px;
    }

    .p-kcf_lineup li {
        flex: 0 0 100%;
        padding: 18px 16px;
    }

    .p-kcf_lineup .photo img,
    .p-kcf_lineup .draw img {
        display: block;
        margin: 0 auto;
        max-width: 280px;
        width: 100%;
    }

    /* 表（サイズ・試験） */
    .p-kcf_size {
        font-size: 13px;
    }

    .p-kcf_test {
        flex-direction: column;
        gap: 30px;
    }

    .p-kcf_test > div:first-child {
        flex-basis: auto;
    }

    .p-kcf_test_table {
        font-size: 12px;
        border-spacing: 4px;
    }

    .p-kcf_test_table th,
    .p-kcf_test_table td {
        padding: 12px 4px;
    }

    .p-kcf_photos {
        gap: 8px;
    }

    .p-kcf_photos figcaption {
        font-size: 10px;
    }
}

/* メインビジュアルのスマホ用画像リセット */
@media screen and (max-width: 767px) {
    
    .l-mainVisual_image{
        height: 47.6vw;
    }
    .l-mainVisual_image.is-type2 img {
        width: 100%;
        margin-left: 0;
    }
}