﻿/*
 * 蝨ｨ蠎ｫ隧ｳ邏ｰ繝壹・繧ｸ蟆ら畑繧ｹ繧ｿ繧､繝ｫ (zaiko-single.css)
 * 繝励Ξ繝輔ぅ繝・け繧ｹ: sz-
 */

.sz-container {
    max-width: 1000px;
    margin: 0 auto 20px auto;
    background-color: #ffffff;
    overflow: auto;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.sz-thumbnail {
    margin: 0 0 30px 0;
}

.sz-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
}

.sz-header-info {
    margin: 0 30px;
}

.sz-president-comment {
    color: #e60012;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.sz-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 10px 0 !important;
    line-height: 1.2;
}

.sz-grade {
    font-size: 1.3rem;
    font-weight: normal;
    color: #000;
    margin-bottom: 30px;
}

.sz-content-body {
    margin: 0 30px 20px 30px;
}

/* 繧ｵ繝槭Μ陦・(繧ｮ繝｣繝ｩ繝ｪ繝ｼ & 繧ｹ繝壹ャ繧ｯ) */
.sz-summary-row {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

.sz-gallery-col {
    flex: 1.2;
}

.sz-specs-col {
    flex: 1;
}

/* 繧ｿ繧､繝ｫ繧ｮ繝｣繝ｩ繝ｪ繝ｼ */
.sz-tile-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.sz-gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid #ddd;
    display: block;
    text-decoration: none;
}

.sz-gallery-item:hover {
    text-decoration: none; /* 逕ｻ蜒上い繧､繝・Β縺ｪ縺ｮ縺ｧ荳崎ｦ・*/
}

.sz-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.sz-gallery-item img:hover {
    opacity: 0.8;
}

/* 萓｡譬ｼ繧ｫ繝ｼ繝・(蛻ｷ譁ｰ迚・ */
.sz-price-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    text-align: center;
}

.sz-price-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 700;
    padding: 15px 0 5px;
}

.sz-price-total {
    font-size: 4.4rem;
    background: linear-gradient(135deg, #e60012 0%, #b30000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    padding-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.sz-price-num, .sz-price-unit {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 500 !important;
    font-style: italic !important;
}

.sz-price-num {
    font-size: 6.6rem; /* 4.4rem縺ｮ1.5蛟・*/
}

.sz-price-unit {
    font-size: 2.25rem; /* 1.5rem縺ｮ1.5蛟・*/
    margin-left: 5px;
}

.sz-price-base {
    font-size: 1.1rem;
    color: #333;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    padding: 10px 0;
}

/* 繧ｹ繝壹ャ繧ｯ陦ｨ */
.sz-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.sz-spec-table th,
.sz-spec-table td {
    padding: 10px; /* 蜈・・蛟､縺ｫ謌ｻ縺・*/
    border-bottom: 1px solid #ddd; /* 讓ｪ邱壹・螳溽ｷ・*/
    text-align: left;
    font-size: 0.95rem;
    font-weight: 700; /* 邏ｰ縺・ｭ励ｒ菴ｿ繧上↑縺・*/
    color: #333;
}

.sz-spec-table tr:last-child th,
.sz-spec-table tr:last-child td {
    border-bottom: none;
}

.sz-spec-table th {
    background: #fff5f5; /* 豺｡襍､縺ｫ螟画峩 */
    width: 35%;
    border-right: 1px dotted #bbb; /* 邵ｦ邱夲ｼ井ｸｭ・峨・轤ｹ邱・*/
}

.sz-spec-table td {
    background: #fff;
}

/* 繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ */
.sz-section {
    margin-top: 60px;
    border-top: 2px solid #eee;
    padding-top: 40px;
}

.sz-section-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 6px solid #e60012;
    line-height: 1.4;
    color: #111111;
}

/* 陬・ｙ */
.sz-equip-group {
    margin: 0 auto 40px auto; /* 荳ｭ螟ｮ蟇・○ */
    max-width: 700px;
}

.sz-equip-group h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    background: #f0f0f0;
    padding: 8px 15px;
    border-radius: 4px;
}

.sz-equip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.sz-equip-box {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-align: center;
    font-size: 0.85rem;
    background: #fff;
}

.sz-equip-box.on {
    background-color: #ffebee;
    color: #e60012;
    border-color: #ffcdd2;
    font-weight: 700;
}

.sz-equip-box.off {
    color: #ccc;
    background-color: #fafafa;
    opacity: 0.6;
}

/* 菫晁ｨｼ */
.sz-warranty-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px dashed #ddd;
}

.sz-warranty-label {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    font-weight: 700;
    border-radius: 4px;
    min-width: 120px;
    text-align: center;
    height: fit-content;
}

.sz-warranty-status {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e60012;
    margin-bottom: 10px;
}

.sz-content a {
    text-decoration: none;
    color: #e60012;
}

.sz-content a:hover {
    text-decoration: underline;
}

.sz-content {
    color: #333333;
    line-height: 1.8;
}

.sz-content p {
    font-size: 18px;
    line-height: 30px;
    margin: 0 auto 20px auto;
    max-width: 700px;
}

.sz-content p.caution {
    padding: 15px;
    border: solid 1px #ff7070;
    font-size: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sz-content p.attention {
    padding: 15px;
    border: solid 1px #888888;
    font-size: 16px;
    color: #444444;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sz-content h3 {
    font-size: 26px;
    line-height: 1.2;
    margin: 30px auto;
    max-width: 700px;
    font-weight: 700;
}

.sz-content ul, 
.sz-content ol {
    margin: 0 auto 20px auto;
    max-width: 700px;
    padding-left: 20px;
}

.sz-content li {
    margin-left: 30px;
    font-size: 18px;
    line-height: 30px;
    margin-bottom: 10px;
}

.sz-content blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid #e60012;
    font-style: italic;
    margin: 30px auto;
    padding: 25px 30px;
    max-width: 700px;
    color: #555;
}

.sz-content blockquote p {
    margin-bottom: 1em;
    max-width: 100%;
}

.sz-content .wp-block-image,
.sz-content .wp-block-gallery {
    background-color: #eeeeee;
    overflow: auto;
    margin: 0 auto 20px auto;
}

.sz-content .wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* 蜍慕判蝓九ａ霎ｼ縺ｿ */
.sz-content .wp-block-embed.is-type-video {
    margin: 0 auto 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 1px 3px rgba(0,0,0,0.2);
    max-width: 700px;
}

.sz-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.sz-content .wp-block-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Lightbox */
.sz-lightbox {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sz-lightbox-img {
    max-width: 90%;
    max-height: 80%;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.sz-lightbox .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.sz-nav-prev, .sz-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s, color 0.3s;
    z-index: 10001;
}

.sz-nav-prev { left: 10px; }
.sz-nav-next { right: 10px; }

.sz-nav-prev:hover, .sz-nav-next:hover {
    background-color: rgba(255,255,255,0.1);
    color: #e60012;
}

/* SP (639px莉･荳・ */
@media screen and (max-width: 639px) {
    .sz-container {
        margin: 0 auto 15px auto;
    }

    .sz-header-info {
        margin: 0 15px;
    }

    .sz-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .sz-grade {
    font-size: 0.8rem;
    font-weight: normal;
    }   

    .sz-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .sz-content-body {
        padding: 0 15px 15px 15px;
        margin: 0;
    }

    .sz-content p,
    .sz-content h3,
    .sz-content ul,
    .sz-content ol,
    .sz-content blockquote,
    .sz-content .wp-block-embed.is-type-video {
        max-width: 100%;
    }

    .sz-content p {
        font-size: 16px;
        line-height: 1.8;
    }

    .sz-content h3 {
        font-size: 20px;
        margin: 20px 0 10px 0;
    }

    .sz-summary-row {
        flex-direction: column;
        gap: 20px;
    }

    /* 繧ｹ繝槭・讓ｪ繧ｹ繧ｯ繝ｭ繝ｼ繝ｫ繧ｮ繝｣繝ｩ繝ｪ繝ｼ */
    .sz-tile-gallery {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 10px;
        padding-bottom: 10px;
    }

    .sz-gallery-item {
        flex: 0 0 35%;
        scroll-snap-align: start;
    }

    .sz-price-total {
        font-size: clamp(3.75rem, 22vw, 6.6rem); /* 1.5蛟阪↓諡｡螟ｧ */
    }

    .sz-price-num {
        font-size: clamp(3.75rem, 22vw, 6.6rem);
    }

    .sz-price-unit {
        font-size: clamp(1.2rem, 7.5vw, 2.25rem);
    }

    .sz-equip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sz-warranty-item {
        flex-direction: column;
    }

    .sz-warranty-label {
        width: 100%;
    }
}

/* ========================================
 * Goo-net CTA (sz-goonet-*)
 * - 標準ボタン: 社長の目利き上下＋装備中間
 * - リッチブロック: 保証セクション下
 * ======================================== */

/* 標準CTAコンテナ（赤枠フレーム） */
.sz-goonet-cta {
    margin: 28px 0;
    padding: 22px;
    background: #fff5f6;
    border: 2px solid #e00923;
    border-radius: 12px;
    text-align: center;
}

/* 標準ボタン（Goo-net公式赤 #e00923 フラット・角丸四角） */
.sz-goonet-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 8px;
    background: #e00923;
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(224, 9, 35, 0.28);
    box-sizing: border-box;
}
.sz-goonet-btn:hover {
    color: #fff !important;
    background: #b8071c;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(224, 9, 35, 0.45);
}
.sz-goonet-btn i { font-size: 1.1em; }

/* 大ボタン（リッチブロック用） */
.sz-goonet-btn-lg {
    padding: 20px 40px;
    font-size: 18px;
}

/* リッチブロック（アイキャッチ＋動画訴求＋大ボタン） */
.sz-goonet-rich {
    display: flex;
    align-items: stretch;
    gap: 28px;
    margin: 50px 0 20px;
    padding: 28px;
    background: #fff5f6;
    border: 2px solid #e00923;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(224, 9, 35, 0.12);
}
.sz-goonet-rich-img {
    flex: 0 0 40%;
    border-radius: 12px;
    overflow: hidden;
    align-self: stretch;
}
.sz-goonet-rich-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sz-goonet-rich-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
}
.sz-goonet-rich-lead {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.65;
    margin: 0;
}
.sz-goonet-rich-lead strong {
    color: #e00923;
    font-size: 1.15em;
}
.sz-goonet-rich-note {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 400;
    color: #888;
}
.sz-goonet-yt-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    line-height: 1.7;
    color: #444;
    background: #fff;
    border: 1px solid #f0c9ce;
    border-radius: 8px;
    padding: 11px 14px;
    margin: 0;
    text-align: left;
}
.sz-goonet-yt-note i {
    color: #ff0000;
    font-size: 19px;
    margin-top: 1px;
    flex: none;
}
.sz-goonet-yt-note strong {
    color: #e00923;
}

/* SP対応 */
@media screen and (max-width: 639px) {
    .sz-goonet-cta { margin: 22px 0; }
    .sz-goonet-btn {
        padding: 14px 22px;
        font-size: 15px;
        width: 100%;
        max-width: 360px;
    }
    .sz-goonet-rich {
        flex-direction: column;
        gap: 18px;
        padding: 18px;
        margin: 36px 0 16px;
    }
    .sz-goonet-rich-img {
        flex: none;
        aspect-ratio: 16 / 9;
    }
    .sz-goonet-rich-body {
        gap: 16px;
        align-items: center;
    }
    .sz-goonet-rich-lead {
        font-size: 17px;
        text-align: center;
    }
    .sz-goonet-btn-lg {
        padding: 16px 28px;
        font-size: 16px;
        width: 100%;
        max-width: 360px;
    }
}