@charset "UTF-8";

/* =========================================================
   主要諸元ページ専用CSS
   /agri/spec/spec.css
   ========================================================= */

#spec.spec_page {
    --spec-blue: #005bac;
    --spec-blue-dark: #153d62;
    --spec-blue-soft: #edf6fc;
    --spec-line: #cfdee9;
    --spec-text: #20384f;
    --spec-muted: #6d879f;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    color: var(--spec-text);
    background: #fff;
}

#spec.spec_page *,
#spec.spec_page *::before,
#spec.spec_page *::after {
    box-sizing: border-box;
}

#spec.spec_page img {
    display: block;
    max-width: 100%;
    height: auto;
}

.spec_container {
    width: min(1160px, calc(100% - 48px));
    max-width: 100%;
    margin: 0 auto;
    min-width: 0;
}

.spec_pc_only {
    display: inline;
}

.spec_sp_only {
    display: none;
}

/* ---------------------------------------------------------
   Main visual
   他ページ同様、画像にはタイトルを重ねない
   --------------------------------------------------------- */
.spec_mainvisual {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* ---------------------------------------------------------
   Page title
   --------------------------------------------------------- */
.spec_page_title_area {
    position: relative;
    overflow: hidden;
}

.spec_page_title_area .headLine2 {
    margin-bottom: 4px;
}

.spec_title_en {
    margin: 0;
    text-align: center;
    color: #7b9ab5;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

/* ---------------------------------------------------------
   Intro
   --------------------------------------------------------- */
.spec_intro {
    padding: 26px 0 18px;
}

.spec_intro_text {
    margin: 0;
    text-align: center;
    color: #2b4055;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.9;
}

/* ---------------------------------------------------------
   Quick navigation
   --------------------------------------------------------- */
.spec_quicknav {
    padding: 6px 0 32px;
}

.spec_quicknav_box {
    padding: 18px;
    background: linear-gradient(180deg, #eef7fd 0%, #e9f3fa 100%);
    border-radius: 12px;
}

.spec_quicknav_title {
    margin: 0 0 16px;
    text-align: center;
    color: #174e78;
    font-size: 15px;
    font-weight: 700;
}

.spec_quicknav_grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.spec_quicknav_card {
    position: relative;
    min-width: 0;
    min-height: 188px;
    padding: 14px 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #173d60;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dce8f1;
    border-radius: 9px;
    overflow: hidden;
}

.spec_quicknav_card:hover,
.spec_quicknav_card:focus-visible {
    border-color: #9ec6e2;
    box-shadow: 0 6px 18px rgba(28, 86, 128, 0.10);
    outline: none;
}

.spec_quicknav_no {
    position: absolute;
    top: 9px;
    left: 10px;
    color: var(--spec-blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.spec_quicknav_thumb {
    width: 100%;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 14px;
}

.spec_quicknav_thumb img {
    max-width: 110px;
    max-height: 78px;
    object-fit: contain;
}

.spec_quicknav_label {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.spec_quicknav_arrow {
    width: 9px;
    height: 9px;
    margin-bottom: 2px;
    border-right: 2px solid var(--spec-blue);
    border-bottom: 2px solid var(--spec-blue);
    transform: rotate(45deg);
}

/* ---------------------------------------------------------
   Section title
   --------------------------------------------------------- */
.spec_section {
    width: 100%;
    max-width: 100%;
    padding: 34px 0 42px;
    overflow: hidden;
    scroll-margin-top: 24px;
}

.spec_section + .spec_section {
    border-top: 1px solid #edf2f5;
}

.spec_section_header {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
    overflow: hidden;
}

.spec_section_no {
    flex: 0 0 auto;
    width: 66px;
    color: var(--spec-blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.05em;
}

.spec_section_titlewrap {
    min-width: 0;
    padding-top: 5px;
}

.spec_section_titlewrap h2 {
    margin: 0;
    color: #153755;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.spec_section_titlewrap p {
    margin: 5px 0 0;
    color: #7b9bb8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.08em;
}

/* ---------------------------------------------------------
   Layout
   写真は縦並び／仕様側を広く取る
   --------------------------------------------------------- */
.spec_layout {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.spec_media_column,
.spec_tablecard,
.spec_detail_note {
    min-width: 0;
    max-width: 100%;
}

.spec_media_card {
    margin: 0;
}

.spec_media_card + .spec_media_card {
    margin-top: 26px;
}

.spec_media_button {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.spec_media_frame {
    width: 100%;
    height: 280px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #d9e5ee;
    border-radius: 12px;
}

.spec_media_frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.spec_media_caption {
    margin-top: 9px;
    text-align: center;
    color: #284963;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.spec_zoom_btn {
    width: fit-content;
    margin: 10px auto 0;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #bcd3e4;
    border-radius: 999px;
    background: #fff;
    color: var(--spec-blue);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.spec_zoom_btn::before {
    content: "＋";
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 13px;
    line-height: 1;
}

.spec_text_zoom {
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: var(--spec-blue);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

/* ---------------------------------------------------------
   Specification table
   横スクロールが出ない幅設計
   --------------------------------------------------------- */
.spec_tablecard,
.spec_valve_box {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.spec_table {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-top: 1px solid var(--spec-line);
    border-left: 1px solid var(--spec-line);
    background: #fff;
}

.spec_table_row {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(150px, 185px) minmax(0, 1fr);
}

.spec_table_th,
.spec_table_td {
    min-width: 0;
    max-width: 100%;
    padding: 14px 16px;
    border-right: 1px solid var(--spec-line);
    border-bottom: 1px solid var(--spec-line);
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: normal;
}

.spec_table_th {
    background: #eef5fa;
    color: #173b5d;
    font-weight: 700;
}

.spec_table_th span {
    display: block;
    margin-top: 2px;
    color: #678198;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}

.spec_table_td {
    background: #fff;
    color: #2b4055;
}

.spec_subtable > div {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.spec_subtable > div + div {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5edf3;
}

.spec_subtable span {
    color: #637e95;
    font-weight: 700;
}

.spec_subtable strong {
    color: #2b4055;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.spec_detail_note {
    padding: 24px 26px;
    background: #f3f8fc;
    border: 1px solid #dbe8f1;
    border-radius: 10px;
}

.spec_detail_note_title {
    margin: 0 0 8px;
    color: #174e78;
    font-size: 17px;
    font-weight: 700;
}

.spec_detail_note p:not(.spec_detail_note_title) {
    margin: 0;
    color: #49657d;
    font-size: 14px;
    line-height: 1.8;
}

.spec_section_last {
    padding-bottom: 56px;
}

/* ---------------------------------------------------------
   Modal
   --------------------------------------------------------- */
html.spec_modal_open,
body.spec_modal_open {
    overflow: hidden !important;
}

.spec_modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.spec_modal.is-open {
    display: flex;
}

.spec_modal_bg {
    position: absolute;
    inset: 0;
    background: rgba(9, 24, 37, 0.68);
    cursor: pointer;
}

.spec_modal_content {
    position: relative;
    z-index: 1;
    width: min(820px, 88vw);
    max-width: 88vw;
    max-height: 82vh;
    padding: 48px 24px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
    overflow: auto;
}

.spec_modal_close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eaf2f8;
    cursor: pointer;
}

.spec_modal_close::before,
.spec_modal_close::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 9px;
    width: 18px;
    height: 2px;
    background: #2c536f;
}

.spec_modal_close::before {
    transform: rotate(45deg);
}

.spec_modal_close::after {
    transform: rotate(-45deg);
}

.spec_modal_figure {
    margin: 0;
    text-align: center;
}

.spec_modal_figure img {
    width: auto;
    max-width: 100%;
    max-height: 64vh;
    margin: 0 auto;
    object-fit: contain;
}

/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */
@media screen and (max-width: 1100px) {
    .spec_container {
        width: calc(100% - 32px);
    }

    .spec_quicknav_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .spec_layout {
        grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
        gap: 26px;
    }

    .spec_media_frame {
        height: 250px;
    }

    .spec_table_row {
        grid-template-columns: minmax(135px, 165px) minmax(0, 1fr);
    }
}

/* ---------------------------------------------------------
   Smartphone
   --------------------------------------------------------- */
@media screen and (max-width: 767px) {
    .spec_container {
        width: calc(100% - 24px);
    }

    .spec_pc_only {
        display: none;
    }

    .spec_sp_only {
        display: inline;
    }

    .spec_intro {
        padding: 18px 0 12px;
    }

    .spec_intro_text {
        font-size: 14px;
        line-height: 1.8;
    }

    .spec_quicknav {
        padding-bottom: 20px;
    }

    .spec_quicknav_box {
        padding: 12px;
    }

    .spec_quicknav_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .spec_quicknav_card {
        min-height: 158px;
        padding: 12px 8px 10px;
    }

    .spec_quicknav_no {
        top: 8px;
        left: 8px;
        font-size: 21px;
    }

    .spec_quicknav_thumb {
        height: 70px;
        padding-top: 12px;
    }

    .spec_quicknav_thumb img {
        max-width: 86px;
        max-height: 62px;
    }

    .spec_quicknav_label {
        min-height: 38px;
        font-size: 12px;
        line-height: 1.4;
    }

    .spec_section {
        padding: 28px 0 32px;
    }

    .spec_section_header {
        gap: 12px;
        margin-bottom: 18px;
    }

    .spec_section_no {
        width: 54px;
        font-size: 45px;
    }

    .spec_section_titlewrap {
        padding-top: 2px;
    }

    .spec_section_titlewrap h2 {
        font-size: 19px;
        line-height: 1.38;
    }

    .spec_section_titlewrap p {
        font-size: 9px;
    }

    .spec_layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .spec_media_card + .spec_media_card {
        margin-top: 20px;
    }

    .spec_media_frame {
        height: 300px;
        padding: 18px;
    }

    .spec_media_caption {
        font-size: 13px;
    }

    .spec_table_row {
        grid-template-columns: minmax(105px, 32%) minmax(0, 1fr);
    }

    .spec_table_th,
    .spec_table_td {
        padding: 11px 10px;
        font-size: 13px;
        line-height: 1.55;
    }

    .spec_table_th span {
        font-size: 10px;
    }

    .spec_subtable > div {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 7px;
    }

    .spec_detail_note {
        padding: 18px;
    }

    .spec_modal {
        padding: 12px;
    }

    .spec_modal_content {
        width: min(94vw, 680px);
        max-width: 94vw;
        max-height: 82vh;
        padding: 44px 14px 14px;
    }

    .spec_modal_figure img {
        max-height: 66vh;
    }
}

@media screen and (max-width: 390px) {
    .spec_quicknav_grid {
        grid-template-columns: 1fr;
    }

    .spec_quicknav_card {
        min-height: 130px;
        display: grid;
        grid-template-columns: 44px 72px minmax(0, 1fr) 18px;
        gap: 10px;
        align-items: center;
        justify-content: initial;
        padding: 10px;
    }

    .spec_quicknav_no {
        position: static;
        font-size: 24px;
    }

    .spec_quicknav_thumb {
        width: 72px;
        height: 72px;
        padding: 0;
    }

    .spec_quicknav_thumb img {
        max-width: 70px;
        max-height: 62px;
    }

    .spec_quicknav_label {
        min-height: 0;
        justify-content: flex-start;
        text-align: left;
        font-size: 12px;
    }

    .spec_quicknav_arrow {
        justify-self: end;
        transform: rotate(-45deg);
    }

    .spec_media_frame {
        height: 270px;
    }
}

/* =========================================================
   2026-10-01 幅・上部ナビ調整
   ---------------------------------------------------------
   ・ページタイトルは既存ページに近い左位置へ
   ・本文は余白を残しながら従来より広く
   ・6枚カードは窮屈にならない幅と高さへ
   ========================================================= */

/* タイトルだけは既存ページに近い横幅を使用 */
#spec .spec_page_title_area {
    width: calc(100% - 64px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

#spec .spec_page_title_area .headLine2 {
    margin-left: 0;
    margin-right: 0;
}

/* 主要コンテンツはフル幅にせず、PCでは1440pxを基準にする */
#spec .spec_container {
    width: min(1440px, calc(100% - 64px));
    max-width: 1440px;
}

/* 上部ナビは少し広く、カード同士にも呼吸を持たせる */
#spec .spec_quicknav_box {
    padding: 26px 28px 28px;
    border-radius: 14px;
}

#spec .spec_quicknav_title {
    margin-bottom: 22px;
    font-size: 17px;
}

#spec .spec_quicknav_grid {
    gap: 14px;
}

#spec .spec_quicknav_card {
    min-height: 224px;
    padding: 18px 14px 16px;
    gap: 10px;
    justify-content: flex-end;
    overflow: hidden;
}

#spec .spec_quicknav_no {
    top: 14px;
    left: 15px;
    font-size: 27px;
}

#spec .spec_quicknav_thumb {
    height: 108px;
    padding-top: 20px;
}

#spec .spec_quicknav_thumb img {
    max-width: 132px;
    max-height: 96px;
}

#spec .spec_quicknav_label {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0 2px;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
    font-size: 14px;
    line-height: 1.55;
}

#spec .spec_quicknav_arrow {
    margin-top: 2px;
}

/* 6列のまま窮屈になる前に3列へ切り替える */
@media screen and (max-width: 1199px) {
    #spec .spec_container {
        width: calc(100% - 40px);
        max-width: none;
    }

    #spec .spec_quicknav_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    #spec .spec_page_title_area {
        width: calc(100% - 24px);
    }

    #spec .spec_container {
        width: calc(100% - 24px);
    }

    #spec .spec_quicknav_box {
        padding: 16px 14px 18px;
    }

    #spec .spec_quicknav_title {
        margin-bottom: 14px;
        font-size: 15px;
    }

    #spec .spec_quicknav_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #spec .spec_quicknav_card {
        min-height: 176px;
        padding: 14px 9px 12px;
    }

    #spec .spec_quicknav_no {
        top: 10px;
        left: 10px;
        font-size: 22px;
    }

    #spec .spec_quicknav_thumb {
        height: 78px;
        padding-top: 14px;
    }

    #spec .spec_quicknav_thumb img {
        max-width: 94px;
        max-height: 70px;
    }

    #spec .spec_quicknav_label {
        min-height: 44px;
        font-size: 12px;
        line-height: 1.5;
    }
}

@media screen and (max-width: 390px) {
    #spec .spec_quicknav_grid {
        grid-template-columns: 1fr;
    }

    #spec .spec_quicknav_card {
        min-height: 112px;
        display: grid;
        grid-template-columns: 42px 74px minmax(0, 1fr) 18px;
        gap: 10px;
        align-items: center;
        padding: 10px 12px;
    }

    #spec .spec_quicknav_no {
        position: static;
        font-size: 23px;
    }

    #spec .spec_quicknav_thumb {
        width: 74px;
        height: 74px;
        padding: 0;
    }

    #spec .spec_quicknav_thumb img {
        max-width: 70px;
        max-height: 66px;
    }

    #spec .spec_quicknav_label {
        min-height: 0;
        justify-content: flex-start;
        text-align: left;
        font-size: 12px;
    }

    #spec .spec_quicknav_arrow {
        justify-self: end;
        transform: rotate(-45deg);
    }
}

/* =========================================================
   2026-10-01 上部6カード 最終余白調整
   ---------------------------------------------------------
   PC:
   ・上部ナビだけ最大1740pxまで使用
   ・カードを横方向に広げる
   ・番号→画像 14px以上
   ・画像→タイトル 12px以上
   ・各領域を固定して重なりを防止
   ========================================================= */

@media screen and (min-width: 1400px) {

    #spec .spec_quicknav .spec_container {
        width: min(1740px, calc(100% - 32px));
        max-width: 1740px;
    }

    #spec .spec_quicknav_box {
        padding: 20px 22px 22px;
    }

    #spec .spec_quicknav_title {
        margin-bottom: 18px;
    }

    #spec .spec_quicknav_grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 18px;
    }

    #spec .spec_quicknav_card {
        min-height: 210px;
        padding: 54px 14px 12px;
        display: grid;
        grid-template-rows: 78px 42px 12px;
        row-gap: 12px;
        align-items: center;
        justify-items: center;
        justify-content: stretch;
        overflow: hidden;
    }

    #spec .spec_quicknav_no {
        top: 12px;
        left: 14px;
        font-size: 28px;
        line-height: 1;
    }

    #spec .spec_quicknav_thumb {
        width: 100%;
        height: 78px;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    #spec .spec_quicknav_thumb img {
        width: auto;
        max-width: 128px;
        max-height: 78px;
        object-fit: contain;
    }

    #spec .spec_quicknav_label {
        width: 100%;
        min-width: 0;
        min-height: 42px;
        margin: 0;
        padding: 0 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: normal !important;
        overflow-wrap: normal;
        word-break: keep-all;
        line-height: 1.45;
        font-size: 14px;
    }

    #spec .spec_quicknav_arrow {
        width: 9px;
        height: 9px;
        margin: 0;
        align-self: center;
    }
}

/* 6列が窮屈になる前に3列へ切り替える */
@media screen and (min-width: 768px) and (max-width: 1399px) {

    #spec .spec_quicknav_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    #spec .spec_quicknav_card {
        min-height: 194px;
        padding-top: 50px;
    }

    #spec .spec_quicknav_thumb {
        height: 76px;
        padding-top: 0;
        margin-top: 0;
        overflow: hidden;
    }

    #spec .spec_quicknav_thumb img {
        max-height: 72px;
    }

    #spec .spec_quicknav_label {
        margin-top: 12px;
    }
}

/* =========================================================
   2026-10-01 ノートPC 3×2カード最適化
   ---------------------------------------------------------
   3列時は横長カードなので、中身も横配置に変更する。
   大画面6列時の縦型デザインはそのまま維持。
   ========================================================= */

@media screen and (min-width: 1000px) and (max-width: 1399px) {

    #spec .spec_quicknav_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    #spec .spec_quicknav_card {
        min-height: 0;
        height: 176px;
        padding: 18px 18px;
        display: grid;
        grid-template-columns: 48px 128px minmax(0, 1fr) 18px;
        grid-template-rows: 1fr;
        column-gap: 14px;
        row-gap: 0;
        align-items: center;
        justify-items: stretch;
        justify-content: normal;
        overflow: hidden;
    }

    #spec .spec_quicknav_no {
        position: static;
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        margin-top: 4px;
        font-size: 28px;
        line-height: 1;
    }

    #spec .spec_quicknav_thumb {
        grid-column: 2;
        grid-row: 1;
        width: 128px;
        height: 126px;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    #spec .spec_quicknav_thumb img {
        width: auto;
        max-width: 124px;
        max-height: 120px;
        object-fit: contain;
    }

    #spec .spec_quicknav_label {
        grid-column: 3;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        min-height: 0;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        font-size: 15px;
        line-height: 1.55;
        white-space: normal !important;
        overflow-wrap: normal;
        word-break: keep-all;
    }

    #spec .spec_quicknav_arrow {
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        margin: 0;
        transform: rotate(-45deg);
    }
}

/* 小型タブレットは2列にしてカード密度を保つ */
@media screen and (min-width: 768px) and (max-width: 999px) {

    #spec .spec_quicknav_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #spec .spec_quicknav_card {
        min-height: 180px;
        padding: 44px 12px 12px;
    }

    #spec .spec_quicknav_thumb {
        height: 78px;
        padding-top: 0;
        margin: 0;
    }

    #spec .spec_quicknav_thumb img {
        max-width: 112px;
        max-height: 74px;
    }

    #spec .spec_quicknav_label {
        margin-top: 10px;
        min-height: 40px;
    }
}

/* =========================================================
   2026-10-01 ノートPC 3×2カード 下部タイトル型
   ---------------------------------------------------------
   3列時は横長カードを維持し、
   番号 → 大きめ画像 → 下部タイトル → 矢印 の順で配置。
   商品名は簡潔にして1行表示する。
   ========================================================= */

@media screen and (min-width: 1000px) and (max-width: 1399px) {

    #spec .spec_quicknav_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    #spec .spec_quicknav_card {
        position: relative;
        min-height: 0;
        height: 202px;
        padding: 42px 18px 14px;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 112px 26px 12px;
        row-gap: 8px;
        align-items: center;
        justify-items: center;
        overflow: hidden;
    }

    #spec .spec_quicknav_no {
        position: absolute;
        top: 14px;
        left: 16px;
        margin: 0;
        font-size: 28px;
        line-height: 1;
    }

    #spec .spec_quicknav_thumb {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: 112px;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    #spec .spec_quicknav_thumb img {
        width: auto;
        max-width: 170px;
        max-height: 108px;
        object-fit: contain;
    }

    #spec .spec_quicknav_label {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        min-height: 26px;
        margin: 0;
        padding: 0 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 15px;
        line-height: 1.3;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: keep-all;
    }

    #spec .spec_quicknav_arrow {
        grid-column: 1;
        grid-row: 3;
        justify-self: center;
        align-self: center;
        margin: 0;
        transform: rotate(45deg);
    }
}


/* =========================================================
   2026-10-01 仕様テキスト可読性調整
   ---------------------------------------------------------
   ・仕様値を本文黒に近づける
   ・項目名と補助文字も一段濃くする
   ・水位／水温などのサブ項目も同様に調整
   ========================================================= */

#spec .spec_table_th {
    color: #123552;
}

#spec .spec_table_th span {
    color: #405c73;
}

#spec .spec_table_td {
    color: #172b3e;
    font-weight: 500;
}

#spec .spec_subtable span {
    color: #34506a;
}

#spec .spec_subtable strong {
    color: #172b3e;
    font-weight: 500;
}

#spec .spec_detail_note p:not(.spec_detail_note_title) {
    color: #304b63;
}

/* =========================================================
   2026-10-01 本エリア調整
   ---------------------------------------------------------
   ・PCの仕様表文字を拡大
   ・仕様セル内を上下中央揃え
   ・仕様表を右へ約32px伸ばし左右余白を整える
   ========================================================= */

@media screen and (min-width: 768px) {

    #spec .spec_tablecard {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    #spec .spec_table_th,
    #spec .spec_table_td {
        display: flex;
        align-items: center;
        font-size: 16px;
        line-height: 1.6;
    }

    #spec .spec_table_th {
        justify-content: flex-start;
    }

    #spec .spec_table_td {
        justify-content: flex-start;
    }

    #spec .spec_table_th span {
        font-size: 12px;
    }

    /* サブテーブルは内部レイアウトを維持 */
    #spec .spec_table_td.spec_subtable {
        display: block;
    }
}

@media screen and (max-width: 767px) {
    #spec .spec_tablecard {
        width: 100%;
        max-width: 100%;
    }
}

/* =========================================================
   2026-10-01 横スクロール防止
   ========================================================= */
#spec .spec_layout,
#spec .spec_media_column,
#spec .spec_tablecard,
#spec .spec_table,
#spec .spec_table_row,
#spec .spec_table_th,
#spec .spec_table_td {
    min-width: 0;
    max-width: 100%;
}

#spec .spec_table,
#spec .spec_table_row,
#spec .spec_table_th,
#spec .spec_table_td {
    overflow-x: hidden;
}

#spec .spec_table_td,
#spec .spec_table_th {
    overflow-wrap: anywhere;
    word-break: normal;
}

/* 横方向のはみ出し防止は #spec 内だけで管理する。
   html/body には overflow を指定しない（共通 sticky ヘッダーを維持）。 */


/* =========================================================
   2026-10-01 本エリア横幅再調整
   ---------------------------------------------------------
   ・上部カードの幅は維持
   ・01〜06の本エリアだけ最大幅を狭めて中央配置
   ・左右余白を広げ、締まった見え方に戻す
   ========================================================= */
@media screen and (min-width: 1200px) {
    #spec .spec_section > .spec_container {
        width: min(1260px, calc(100% - 120px));
        max-width: 1260px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    #spec .spec_section > .spec_container {
        width: calc(100% - 64px);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 2026-10-01 PC一段表示 / SPのみ改行 */
#spec .spec_sp_break {
    display: none;
}

@media screen and (max-width: 767px) {
    #spec .spec_sp_break {
        display: initial;
    }
}

/* =========================================================
   2026-10-01 05 図面・設置状況 / 06 外部リンク整理
   ========================================================= */
#spec .spec_media_row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

#spec .spec_media_row .spec_media_card + .spec_media_card {
    margin-top: 0;
}

#spec .spec_media_row .spec_media_frame {
    height: 250px;
}

#spec .spec_external_link {
    color: var(--spec-blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#spec .spec_external_link::after {
    content: " ↗";
    display: inline;
}

@media screen and (max-width: 1100px) {
    #spec .spec_media_row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    #spec .spec_media_row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #spec .spec_media_row .spec_media_frame {
        height: 300px;
    }
}

/* =========================================================
   2026-10-01 スマホ仕様表 最終調整
   ---------------------------------------------------------
   ・スマホでは仕様表を「項目名 → 値」の縦積みに変更
   ・長い英数字や寸法値も必ず折り返す
   ・上部説明文の文字切れを防止
   ・ページ横スクロールを防止
   ========================================================= */

@media screen and (max-width: 600px) {

    #spec.spec_page {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
    }

    #spec .spec_intro_text {
        width: 100%;
        max-width: 100%;
        white-space: normal !important;
        overflow: visible !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    #spec .spec_section > .spec_container {
        width: calc(100% - 24px) !important;
        max-width: none !important;
        margin-left: auto;
        margin-right: auto;
    }

    #spec .spec_layout,
    #spec .spec_tablecard,
    #spec .spec_valve_box,
    #spec .spec_table {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow-x: visible;
    }

    /* スマホでは2列をやめて縦積み */
    #spec .spec_table_row {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        grid-template-columns: none;
        overflow: visible;
    }

    #spec .spec_table_th,
    #spec .spec_table_td {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 11px 13px;
        white-space: normal !important;
        overflow: visible !important;
        overflow-wrap: anywhere !important;
        word-break: break-word;
        line-height: 1.55;
    }

    #spec .spec_table_th {
        border-bottom: 0;
    }

    #spec .spec_table_td {
        font-size: 14px;
    }

    #spec .spec_table_th span {
        display: inline;
        margin-left: 4px;
        font-size: 10px;
    }

    /* 水位／水温のサブ表もスマホ幅内へ */
    #spec .spec_table_td.spec_subtable {
        display: block;
        width: 100%;
    }

    #spec .spec_subtable > div {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    #spec .spec_subtable strong {
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}


/* =========================================================
   2026-10-01 iPhone 15 拡大表示（320px前後）調整
   ---------------------------------------------------------
   ・320px時の横スクロールを抑止
   ・上部カードの文字領域を広げ、短い名称を1行表示
   ・長いセクション見出し／外部リンクは自然に折り返す
   ========================================================= */
@media screen and (max-width: 360px) {

    .main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    #spec.spec_page,
    #spec .spec_intro,
    #spec .spec_quicknav,
    #spec .spec_section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    #spec .spec_page_title_area,
    #spec .spec_container,
    #spec .spec_section > .spec_container {
        width: calc(100% - 16px) !important;
        max-width: none !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 上部カード：320pxでは文字欄を優先 */
    #spec .spec_quicknav_box {
        padding: 12px 10px 14px !important;
    }

    #spec .spec_quicknav_grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    #spec .spec_quicknav_card {
        min-height: 104px !important;
        padding: 8px !important;
        display: grid !important;
        grid-template-columns: 34px 64px minmax(0, 1fr) 12px !important;
        grid-template-rows: 1fr !important;
        column-gap: 6px !important;
        align-items: center !important;
        overflow: hidden !important;
    }

    #spec .spec_quicknav_no {
        position: static !important;
        font-size: 21px !important;
        line-height: 1 !important;
    }

    #spec .spec_quicknav_thumb {
        width: 64px !important;
        height: 64px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #spec .spec_quicknav_thumb img {
        width: auto !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }

    #spec .spec_quicknav_label {
        min-width: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        justify-content: flex-start !important;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        word-break: keep-all !important;
    }

    #spec .spec_quicknav_arrow {
        width: 8px !important;
        height: 8px !important;
        margin: 0 !important;
        justify-self: end !important;
        transform: rotate(-45deg) !important;
    }

    /* 06など長いタイトルはスマホ幅内で自然に改行 */
    #spec .spec_section_header {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
        gap: 10px !important;
    }

    #spec .spec_section_no {
        width: 48px !important;
        font-size: 40px !important;
    }

    #spec .spec_section_titlewrap {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    #spec .spec_section_titlewrap h2 {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        line-break: strict !important;
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    #spec .spec_external_link {
        display: inline !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    #spec .spec_tablecard,
    #spec .spec_valve_box,
    #spec .spec_table,
    #spec .spec_table_row,
    #spec .spec_table_th,
    #spec .spec_table_td {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }
}

/* =========================================================
   2026-10-01 表枠線・iPhone SE 折り返し調整
   ---------------------------------------------------------
   ・外枠は .spec_table 自体で一周させる
   ・右上ラインのはみ出し／最下部ライン欠けを防止
   ・項目背景の左側余白を除去
   ・iPhone SEでは「詳細を見る」を途中で分断しない
   ========================================================= */

/* 表全体の外枠を1本で管理 */
#spec .spec_table {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    border: 1px solid var(--spec-line);
    overflow: hidden;
}

/* 行側に余白を持たせない */
#spec .spec_table_row {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* セル内罫線だけに整理 */
#spec .spec_table_th,
#spec .spec_table_td {
    margin: 0 !important;
    box-sizing: border-box;
    border-right: 0;
    border-bottom: 1px solid var(--spec-line);
}

/* PC・タブレット時の項目列と値列の境界線 */
#spec .spec_table_th {
    border-right: 1px solid var(--spec-line);
}

/* 最終行の下線は外枠に任せる */
#spec .spec_table_row:last-child > .spec_table_th,
#spec .spec_table_row:last-child > .spec_table_td {
    border-bottom: 0;
}

/* 06 外部リンク：意味単位で改行できるようにする */
#spec .spec_external_link_company,
#spec .spec_external_link_action {
    display: inline;
}

#spec .spec_external_link_action {
    white-space: nowrap;
}

@media screen and (max-width: 600px) {

    /* スマホ縦積み時は項目セル右線を外す */
    #spec .spec_table_th {
        border-right: 0 !important;
        border-bottom: 0 !important;
    }

    #spec .spec_table_td {
        border-right: 0 !important;
    }

    /* 各項目の区切り線は値セル側だけに表示 */
    #spec .spec_table_row:not(:last-child) > .spec_table_td {
        border-bottom: 1px solid var(--spec-line) !important;
    }

    #spec .spec_table_row:last-child > .spec_table_td {
        border-bottom: 0 !important;
    }

    /* iPhone SE等ではアクション文を2行目に固定 */
    #spec .spec_external_link_company {
        display: inline;
    }

    #spec .spec_external_link_action {
        display: block;
        margin-top: 2px;
        white-space: nowrap;
    }
}

/* =========================================================
   2026-10-01 項目名＋注記を2段表示
   ---------------------------------------------------------
   「無線規格（遠隔設定型のみ）」
   「使用温湿度範囲（周囲温度）」などを
   色付き項目セル内に確実に収める
   ========================================================= */

@media screen and (min-width: 768px) {
    #spec .spec_table_th {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    #spec .spec_table_th span {
        display: block;
        margin-top: 1px;
        margin-left: 0;
        white-space: normal;
        line-height: 1.35;
    }
}

@media screen and (max-width: 767px) {
    #spec .spec_table_th span {
        display: block;
        margin-top: 2px;
        margin-left: 0;
        white-space: normal;
        line-height: 1.35;
    }
}


/* =========================================================
   2026-10-01 項目名＋注記をPCで1段表示
   ========================================================= */
@media screen and (min-width: 768px) {
    #spec .spec_table_th {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    #spec .spec_table_th span {
        display: inline;
        margin: 0 0 0 4px;
        white-space: nowrap;
        line-height: inherit;
    }
}

/* =========================================================
   2026-10-01 仕様表 項目列幅統一 / 06写真レイアウト
   ========================================================= */

/* 01〜06すべて同じ項目列幅 */
@media screen and (min-width: 1200px) {
    #spec .spec_table_row {
        grid-template-columns: 230px minmax(0, 1fr) !important;
    }

    #spec .spec_table_th {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }

    #spec .spec_table_th span {
        display: inline !important;
        margin: 0 0 0 4px !important;
        white-space: nowrap !important;
        line-height: inherit !important;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    #spec .spec_table_row {
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }
}

/* 06も他セクションと同じ写真＋仕様レイアウト */
#spec #spec-valve .spec_media_frame {
    background: #fff;
}

#spec #spec-valve .spec_media_frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* =========================================================
   2026-10-01 iPhone15拡大表示：意味単位で改行
   ---------------------------------------------------------
   ・02サイズは「寸法」「開口部案内」で分ける
   ・06外部リンクは「会社名」「詳細を見る」で分ける
   ・PC/通常スマホは横並び優先
   ========================================================= */

#spec .spec_value_main,
#spec .spec_value_note,
#spec .spec_external_link_company,
#spec .spec_external_link_action {
    display: inline;
}

#spec .spec_value_note {
    margin-left: 0.8em;
}

#spec .spec_external_link_action {
    margin-left: 0;
}

/* 320～390px付近では意味の区切りで2段にする */
@media screen and (max-width: 390px) {

    #spec .spec_value_main,
    #spec .spec_value_note {
        display: block;
        width: 100%;
        margin-left: 0;
    }

    #spec .spec_value_main {
        white-space: nowrap;
    }

    #spec .spec_value_note {
        margin-top: 3px;
        white-space: nowrap;
    }

    #spec .spec_external_link_company {
        display: block;
        width: 100%;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    #spec .spec_external_link_action {
        display: block;
        width: fit-content;
        margin-top: 3px;
        white-space: nowrap;
    }
}

/* =========================================================
   2026-10-01 iPad / タブレット仕様エリア調整
   ---------------------------------------------------------
   768～1099pxでは、写真＋仕様表の横並びをやめて
   「写真 → 仕様表」の縦積みにする。
   1100px以上はPC用の横並び表示に戻す。
   ========================================================= */

@media screen and (min-width: 768px) and (max-width: 1099px) {

    #spec .spec_section > .spec_container {
        width: calc(100% - 48px);
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    #spec .spec_layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 26px !important;
    }

    #spec .spec_media_column {
        width: min(420px, 100%);
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    #spec .spec_tablecard {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: visible;
    }

    #spec .spec_table {
        width: 100%;
        max-width: 100%;
    }

    #spec .spec_table_row {
        grid-template-columns: 220px minmax(0, 1fr) !important;
    }

    #spec .spec_table_td {
        min-width: 0;
        overflow: visible !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    #spec .spec_external_link {
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    #spec #spec-valve .spec_media_column {
        width: min(360px, 100%);
        max-width: 360px;
    }
}

/* =========================================================
   2026-10-01 iPad 拡大モーダルサイズ調整
   ---------------------------------------------------------
   ・iPad縦向き：少し小さめ
   ・iPad横向き：さらに小さめ
   ・×ボタンを含め画面内に余裕を持って収める
   ========================================================= */

@media screen and (min-width: 768px) and (max-width: 1199px) {

    #spec .spec_modal {
        padding: 24px;
    }

    #spec .spec_modal_content {
        width: min(640px, 76vw);
        max-width: 76vw;
        max-height: 76vh;
        padding: 44px 18px 18px;
        overflow: hidden;
    }

    #spec .spec_modal_figure img {
        width: auto;
        max-width: 100%;
        max-height: 56vh;
        margin: 0 auto;
        object-fit: contain;
    }
}

/* iPad横向きでは縦方向の余裕を優先 */
@media screen and (min-width: 768px) and (max-width: 1199px) and (orientation: landscape) {

    #spec .spec_modal_content {
        width: min(600px, 68vw);
        max-width: 68vw;
        max-height: 70vh;
        padding: 42px 16px 16px;
    }

    #spec .spec_modal_figure img {
        max-height: 48vh;
    }
}

/* =========================================================
   上部カード：安全な装飾のみ v2
   ---------------------------------------------------------
   ・カード背景は白のまま
   ・画像には影を付けない
   ・幅、高さ、padding、gap、配置は変更しない
   ・上端アクセント／枠線／PC hoverのみ追加
   ========================================================= */

#spec .spec_quicknav_card {
    border-color: #d3e2ed;
    background: #fff;
    box-shadow:
        inset 0 3px 0 rgba(0, 91, 172, 0.88),
        0 3px 10px rgba(24, 67, 98, 0.045);
}

/* 番号・タイトル・矢印は位置やサイズを変えず色だけ微調整 */
#spec .spec_quicknav_no {
    color: #0056a3;
}

#spec .spec_quicknav_label {
    color: #163b5d;
}

#spec .spec_quicknav_arrow {
    border-color: #0063b4;
}

/* PCのみ控えめに反応 */
@media (hover: hover) and (pointer: fine) {
    #spec .spec_quicknav_card {
        transition:
            transform 0.18s ease,
            box-shadow 0.18s ease,
            border-color 0.18s ease;
    }

    #spec .spec_quicknav_card:hover,
    #spec .spec_quicknav_card:focus-visible {
        transform: translateY(-2px);
        border-color: #aacde4;
        box-shadow:
            inset 0 3px 0 rgba(0, 91, 172, 1),
            0 8px 18px rgba(24, 67, 98, 0.09);
    }
}

/* タッチ端末ではhover由来の見た目変化を発生させない */
@media (hover: none) {
    #spec .spec_quicknav_card:hover {
        transform: none;
    }
}

/* =========================================================
   2026-10-01 01〜06 本体エリア幅を少し絞る
   ---------------------------------------------------------
   ・上部「このページの内容」は現状の幅を維持
   ・PCの01〜06だけ最大1180pxへ
   ・iPad／スマホの既存調整は変更しない
   ========================================================= */

@media screen and (min-width: 1200px) {
    #spec .spec_section > .spec_container {
        width: min(1080px, calc(100% - 120px)) !important;
        max-width: 1080px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* =========================================================
   2026-10-01 スマホ：上部説明文を左揃え
   ---------------------------------------------------------
   ・中央揃えによる不自然な日本語の折り返しを防ぐ
   ・PC / iPad は従来どおり中央揃え
   ========================================================= */
@media screen and (max-width: 767px) {
    #spec .spec_intro_text {
        text-align: left !important;
    }
}

/* =========================================================
   2026-10-02 会社確認後のレイアウト統一
   ---------------------------------------------------------
   ・タイトル位置を既存ページの .content と同じ最大1200pxへ
   ・01〜06も既存ページと同じ最大1200pxへ
   ・上部メニューはPCで3列×2段の横長カード
   ・html/body の overflow は触らず、共通 sticky ヘッダーを維持
   ========================================================= */

/* タイトルは既存ページの .content と同じ位置 */
#spec .spec_page_title_area {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

/* PC：主要諸元の本文幅も既存ページと同じ最大1200px */
@media screen and (min-width: 1200px) {

    #spec .spec_intro > .spec_container,
    #spec .spec_quicknav > .spec_container,
    #spec .spec_section > .spec_container {
        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }

    /* 01〜06は既存ページのcontentと左右位置を揃える */
    #spec .spec_intro > .spec_container,
    #spec .spec_section > .spec_container {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* 上部メニューの背景ボックスは1200px内いっぱい */
    #spec .spec_quicknav > .spec_container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* PC・ノートPC：6枚1段をやめて3列×2段
   カード内部は従来どおり「番号 → 画像 → テキスト → 下向き矢印」 */
@media screen and (min-width: 1000px) {

    #spec .spec_quicknav_grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    #spec .spec_quicknav_card {
        position: relative !important;
        min-height: 210px !important;
        height: auto !important;
        padding: 18px 14px 14px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 8px !important;

        overflow: hidden !important;
    }

    #spec .spec_quicknav_no {
        position: absolute !important;
        top: 14px !important;
        left: 15px !important;
        margin: 0 !important;
        font-size: 27px !important;
        line-height: 1 !important;
    }

    #spec .spec_quicknav_thumb {
        width: 100% !important;
        height: 104px !important;
        margin: 0 !important;
        padding-top: 18px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    #spec .spec_quicknav_thumb img {
        width: auto !important;
        max-width: 124px !important;
        max-height: 92px !important;
        object-fit: contain !important;
    }

    #spec .spec_quicknav_label {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 42px !important;
        margin: 0 !important;
        padding: 0 4px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        text-align: center !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        overflow-wrap: normal !important;
        word-break: keep-all !important;

        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    #spec .spec_quicknav_arrow {
        margin: 0 0 2px !important;
        transform: rotate(45deg) !important;
    }
}

/* 既存ページと同じレスポンシブ余白 */
@media screen and (max-width: 1200px) {
    #spec .spec_page_title_area {
        padding-left: 2% !important;
        padding-right: 2% !important;
    }
}

/* =========================================================
   2026-10-02 グローバルメニュー固定
   ---------------------------------------------------------
   ・主要諸元ページでは #head 全体を常時 sticky
   ・menu.js が途中で .fix-header に sticky を付けても
     子ナビ側では fixed 化させない
   ・共通JSは変更しない
   ========================================================= */

@media screen {

    #head {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
        background: #fff !important;
    }

    /* menu.js の途中固定処理をこのページでは無効化 */
    #head .fix-header.sticky {
        position: relative !important;
        top: 0 !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;

        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}



/* =========================================================
   主要諸元：共通HERO（写真34）
   高さ・文字エリアの幅は /agri/css/page.css で管理。
   ========================================================= */
.spec-page-hero {
    position: relative;
    isolation: isolate;
    background: #294c43;
    color: #fff;
}
.spec-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: no-repeat center 70% / cover;
}
.spec-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(9,35,30,.82) 0%, rgba(9,35,30,.64) 36%, rgba(9,35,30,.15) 64%, rgba(9,35,30,.04) 100%);
}
.spec-page-hero .spec-hero-kicker {
    margin: 0 0 15px;
    color: #e2e5d8;
    font-size: 14px;
    line-height: 1.7;
    letter-spacing: .06em;
}
.spec-page-hero #spec-hero-title {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .08em;
}
.spec-page-hero .spec-hero-description {
    margin: 0;
    color: #fff;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 21px;
    line-height: 1.9;
    letter-spacing: .04em;
}
.spec-main { border-top: 0; }
#pankuzu.agri-breadcrumb + .spec-main > #spec.spec_page {
    margin-top: 0;
    padding-top: 0;
}
#spec.spec_page .spec_intro { padding: 24px 0 18px; }
@media screen and (max-width: 767px) {
    .spec-hero-bg { background-position: 55% center; }
    .spec-hero-shade {
        background: linear-gradient(90deg, rgba(9,35,30,.76), rgba(9,35,30,.52) 56%, rgba(9,35,30,.16));
    }
    .spec-page-hero #spec-hero-title { font-size: 32px; }
    .spec-page-hero .spec-hero-description { font-size: 18px; }
    #spec.spec_page .spec_intro { padding: 20px 0 14px; }
}
