body {
    margin: 0;
    padding: 0;
    font-family: "Noto Serif JP", serif;
    overflow-x: hidden;
    background: linear-gradient(to bottom, #ffffff, #e3f3ff, #d4ecff);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

* {
    box-sizing: border-box;
    text-decoration: none;
}

.breadcrumb {

    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #0073aa;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .sep {
    margin: 0 6px;
    color: #999;
}


/* ヒーロー画像（余白ゼロが重要） */
.hero {
    position: relative;
    margin: 0;
    padding: 0;
    /* 画像下の謎の隙間対策 */
}

/* 画像を完全フル幅＋高さ調整 */
.hero img {
    filter: brightness(60%);
    width: 100%;
    height: 750px;
    object-fit: cover;
    display: block;
    /* これ超重要（隙間消える） */
}

/* テキスト重ね */
.hero-text {

    position: absolute;
    top: 48%;
    left: 7%;
    color: white;
    font-size: 2rem;
    padding: 10px 20px;
    border-radius: 5px;
}

/* 内容部分 */
.products {
    display: flex;
    flex-direction: column;
    /* 縦並び */
    align-items: center;
    /* 横方向の中央 */
    justify-content: center;
    /* 縦方向も中央寄せ（必要なら） */
    text-align: center;
    /* 文字も中央 */
    gap: 10px;
    /* h2とpの間隔 */
    margin-bottom: 50px;
}

h2 {
    margin-top: 50px;
}

a {
    color: #000000;
}

.tx {
    position: relative;
    display: inline-block;

    cursor: pointer;
}

.tx:hover::after {
    transform: scaleX(1);
}

.tx::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: rgb(0, 38, 252);

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.txt {
    margin-top: 20px;
}


.product-boxes {
    display: flex;
    justify-content: space-between;
    /* 横並びで間隔調整 */
    gap: 20px;
    /* 箱同士の間 */
    flex-wrap: wrap;
    /* 画面が狭いとき折り返し */
    margin-top: 20px;
}


.product-boxes .box,
.product-boxes .taitlebox {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.product-boxes img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 50px;
}



.col-center {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}



.NA {
    width: 100%;
    height: auto;
    margin-top: 45px;
}




/* 左：画像 */
.product-image img {
    width: 100%;
    max-width: 440px;
    height: 440px;
    display: block;
}


.image-text {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    width: 100%;
    color: rgb(0, 0, 0);
    padding: 8px 12px;
    display: inline-block;
    border-radius: 5px;
}



h3 {
    color: #0166ff;
}

/* 5×4マス表 */
.product-text {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    /* 行は自動 */

    border-top: 1px solid #000;
    border-left: 1px solid #000;

    background: #fff;
    width: 100%;
    height: 450px;
    /* 好きな幅に調整 */
    flex: none;

}


.feature-title {
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
}

/* 線だけ */
.feature-line {
    width: 100%;
    height: 2px;
    background: #979797;
    margin-top: 10px;
}

.left-col {
    background: #c5eeff;
}

/* セル */
.product-text p {
    margin: 0;
    padding: 12px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sub-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    width: 100%;
}



.box {
    width: 100%;
    min-height: 120px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}


.box h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: bold;
    color: #0166ff;
}

.box p {
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}


.icon {
    width: 25px;
    height: 25px;
    vertical-align: middle;

}

.totalsya {
    text-align: center;
}


.t-tol {
    max-width: 100%;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.sya {
    display: flex;
}

.sya img {
    width: 25%;
    height: 350px;
    object-fit: cover;
    padding: 30px 20px;
}

.sonota {
    margin: 20px;
}

.sonota-tol {
    text-align: center;
}

.sonota-swiper {
    width: 100%;
    overflow: hidden;
}

.sonota-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.swiper-wrapper {
    width: 300px;
}

.sonota-swiper img {
    width: 100%;
    height: 300px;
    display: block;
    padding: 0;
    margin-bottom: 20px;
    /* transform: rotate(90deg); */
}



@media screen and (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .breadcrumb {
        font-size: 9px;
    }

    body h2 {
        font-size: 16px;
    }

    .hero img {
        height: 200px;
    }

    .hero-text h2 {
        font-size: 18px;
        top: 48%;
        left: 7%;
    }

    .products {
        padding: 0 10px;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 14px;
    }

    p {
        font-size: 12px;
    }

    .t-tol {
        font-size: 16px;
    }

    .product-boxes img {
        height: 130px;
    }

    .product-boxes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }

    .product-boxes .taitlebox {
        width: 100%;
        padding: 0;
    }

    .txt {
        margin: 0;
    }

    .product-item {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "left center"
            "right right";
        gap: 15px;
        padding: 20px;
    }

    .col-left {
        grid-area: left;
    }

    .col-center {
        grid-area: center;
    }

    .product-text {
        grid-area: right;
        height: 320px;
    }

    .ai1,


    /* 画像調整 */
    .product-image img {
        width: 100%;
        height: 200px;
    }

    .sub-content,
    .feature-line {
        display: none;
    }

    .feature-title {
        display: none;
    }

    .box {
        min-height: 100px;
    }

    .image-text {
        padding: 0;
    }

    /* =========================
       写真一覧
    ========================= */
    .sya {
        flex-wrap: wrap;
    }

    .sya img {
        width: 50%;
        height: 150px;
        padding: 5px;
    }

    .sonota img {
        height: 200px;
        padding: 10px;
    }

    .box h4 {
        font-size: 13px;
    }


}