.cover-section img {
    height: 75%;
}


.cover-text h1 {
    letter-spacing: 2px;
    font-size: 2.6rem;
    color: white;
    font-weight: 300;
}

.cover-text h2 {
    font-size: 4rem;
    letter-spacing: 4px;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.5;
}

/* ページ共通 */
.cover-warapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.title {
    color: white;
}

.title p {
    line-height: 2;
    font-size: 1.4rem;
}

.cover-img img {
    width: auto;
    height: 100px;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    bottom: 5%;
}

.spec-top-title h1 {
    font-size: 1.8rem;
    font-family: "Oswald";
    letter-spacing: 2px;
    font-weight: 300;
    text-align: center;
    width: 100%;
}



.spec-top-title h2 {
    font-family: "Noto Serif JP";
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 1.5;
    margin: 25px 0;
    font-size: 3.2rem;
}

.fs-24 {
    font-size: 2.4rem !important;
}

.span-blk {
    font-size: 3.2rem;
    display: block;
}

.spec-top-title {
    text-align: center;
    width: 80%;
    margin: 0 auto;
    padding-bottom: 30px;
    padding-top: 30px;
}

#spec-top {
    background-color: black;
    padding-bottom: 30px;
}

#spec-top2 {
    background-color: #f5f5f5;
    padding-bottom: 60px;
}

.spec-top3 {

    padding-bottom: 60px;
}



section h1 {
    font-size: 1.8rem;
    line-height: 1.5;
}

.spec-content h2 {
    font-family: "Noto Serif JP";
    font-size: 3.2rem;
    letter-spacing: 3px;
    line-height: 1.7;
}

.spec-category1 {
    padding: 60px 0;

}

.spec-category2 {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.spec-item a p {
    position: relative;
    display: inline-block;
    padding-right: 10px;
    transition: all 0.3s;
}


.spec-blk {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.spec-item {
    border-radius: 20px;
    border: #f5f5f5 solid 2px;
    height: fit-content;
    overflow: hidden;
    flex: 1;
}

.spec-item2 {
    height: fit-content;
    overflow: hidden;
    flex: 1;
}

.spec-item img {
    height: 40%;
}

.spec-item a p {
    font-family: Oswald;
    color: #22a173;
    margin-top: 10px;
    font-size: 1.4rem;
    transform: translate(-50%);
    left: 50%;
    font-weight: 400;
    letter-spacing: 2px;
}

.spec-item a p::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-top: 2px solid #22a173;
    border-right: 2px solid #22a173;
    rotate: 45deg;
    transition: all 0.3s;
}

.spec-text {
    padding: 20px 15px;
    height: 100%;
}

.bg-white {
    background-color: white;
}

.spec-text h2 {
    text-align: center;
    font-weight: 700;
}

.spec-text p {
    text-align: justify;
    letter-spacing: 0px;
}

.spec-item2 h2 {
    font-size: 2.8rem;
    font-weight: 400;
}

.img-section {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.img-blk {
    display: flex;
    gap: 70px;
    max-width: 1200px;
    align-items: stretch;
    margin-left: 0;
    margin-right: auto;
    width: 100%;
}

.img-blk-img {
    flex: 1;
}

.img-blk-img img {
    width: 100%;
    height: 100%;
    display: block;
}

.img-section h2 {
    font-size: 2.8rem;
}

.spec-category3 {
    padding: 60px 0;
    background-color: #006934;
}

.spec-category4 {
    padding: 60px 0;
}

.spec-category4 h1 {
    text-align: center;
    font-size: 1.8rem;
    width: 100%;
    margin-bottom: 30px;
}

.spec-category4 h2 {
    text-align: center;
    font-size: 5.8rem;
    width: 100%;
    line-height: 1.3;
    letter-spacing: 6px;
    width: 100%;
}

.about-sub {
    font-size: 3.2rem !important;
}

.bg-gray {
    background-color: #f5f5f5;
}

.spec-category4 p {
    text-align: center;
}

.about-text p {
    font-family: Noto Serif JP;
    font-size: 2.6rem;
}

.about-content h1,
.about-content h2,
.about-content p {
    text-align: center;
    width: 100%;
}

.about-content h2 {
    font-family: Noto Serif JP;
    font-size: 3.2rem;
    margin-top: 20px;
}

.spec-category3 h2 {
    font-size: 3.2rem;
    letter-spacing: 4px;
}

.card-list {
    display: grid;
    padding: 0;
    grid-template-columns: repeat(3, 1fr);
}

.card-list li a {
    border: 1px solid white;
    color: white;
    display: block;
    font-weight: 400;
    overflow: hidden;
    padding: 2rem;
    position: relative;
    text-align: center;
    text-decoration: none;
    font-size: 1.6rem;
    letter-spacing: 2px;
    margin: 0 10px;
    border-radius: 25px;
}

.card-list li a:hover {
    border: 1px solid white;
    background-color: white;
    color: #006934;
}

.gold {
    color: #db9f00;
    display: inline;
}

.img-blk-text {
    flex: 1;
    /* テキスト側 */
    padding: 40px;
}

.img-blk-text .spec-content h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.warranty-card {
    display: flex;
    gap: 20px;

}

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

.aw-card-blk {
    padding: 30px;
    display: flex;
    justify-content: center;
    background-color: white;
    border-radius: 30px;
}

.aw-card-text {
    font-family: Oswald;
    font-size: 4.6rem;
    text-align: center;
}

.center {
    text-align: center;
}

.aw-card-item p {
    text-align: center;
    line-height: 1.5;
}

.spec-item h1 {
    font-size: 3.6rem;
    text-align: center;
    margin: 0 auto;
}

.warranty-table {
    width: 100%;
    border-collapse: separate;
    /* 💡角丸を適用するため collapse から変更 */
    border-spacing: 0;
    /* 💡セル間の隙間をなくす */
    text-align: center;
    font-size: 1.6rem;
    line-height: 1.4;
    min-width: 650px;
    /* スマホで潰れすぎないように最低幅を設定 */
    border: 1px solid #bebebe;
    /* テーブル全体を囲む外枠（ヘッダー色に合わせる） */
    border-radius: 15px;
    /* 丸みのサイズ（お好みで調整してください） */
    overflow: hidden;
    /* 中のセルが角からはみ出るのを防ぐ */
    margin-top: 20px;
}

/* ヘッダー（最上行）のスタイル */
.warranty-table th,
/* 今後thに変更する場合を考慮 */
.warranty-table thead td {
    background-color: #22a173;
    /* ハウスガードのイメージに合わせた深緑 */
    color: #ffffff;
    font-weight: 500;
    padding: 12px 8px;
    border: 1px solid #bebebe;
}

/* ヘッダーの右端のセルの線を消す（外枠と被るため） */
.warranty-table th:last-child,
.warranty-table thead td:last-child {
    border-right: none;
}

/* データ行のスタイル */
.warranty-table tbody td {
    padding: 10px 10px;
    border-bottom: 1px solid #bebebe;
    /* セルの下の線 */
    border-right: 1px solid #bebebe;
    /* セルの右の線 */
    color: #333333;
}

/* データ行の右端・最下行の余計な線を消す（外枠と被るため） */
.warranty-table tbody td:last-child {
    border-right: none;
}

.warranty-table tbody tr:last-child td {
    border-bottom: none;
}

.warranty-table tbody tr:nth-child(1),
.warranty-table tbody tr:nth-child(2),
.warranty-table tbody tr:nth-child(3),
.warranty-table tbody tr:nth-child(4),
.warranty-table tbody tr:nth-child(5),
.warranty-table tbody tr:nth-child(6),
.warranty-table tbody tr:nth-child(7) {
    background-color: #e6e6e6;
}

.warranty-table tbody tr:nth-child(n+8) td:first-child {
    background-color: #aae1c8;
    /* 💡ここにお好みのカラーコードを指定してください */
    font-weight: bold;
    /* 必要に応じて文字を太字に（不要なら削除可） */
}

.warranty-table tbody tr:nth-child(n+1) td:first-child,
.warranty-table tbody tr:nth-child(n+1) td:last-child {
    font-weight: 700;
}


.warranty-table tbody tr:nth-child(n+1) td:nth-child(2),
.warranty-table tbody tr:nth-child(n+1) td:nth-child(3),
.warranty-table tbody tr:nth-child(n+1) td:nth-child(4),
.warranty-table tbody tr:nth-child(n+1) td:nth-child(5) {
    font-weight: 700;
    font-size: 3rem;
    color: #bebebe;
}

.warranty-table tbody tr:nth-child(n+1) td:nth-child(6),
.warranty-table tbody tr:nth-child(n+1) td:nth-child(7) {
    font-size: 1.2rem;
    font-weight: 400;

}

.warranty-table .none-mark {
    font-size: 3rem;
    color: #bebebe;
}

.warranty-table .check-mark {
    color: #ff788c;
    font-weight: bold;
}

.warranty-table th:nth-child(2),
.warranty-table td:nth-child(2),
.warranty-table th:nth-child(3),
.warranty-table td:nth-child(3),
.warranty-table th:nth-child(4),
.warranty-table td:nth-child(4),
.warranty-table th:nth-child(5),
.warranty-table td:nth-child(5),
.warranty-table th:nth-child(7),
.warranty-table td:nth-child(7) {
    width: 20%;
}

.warranty-table th:nth-child(8),
.warranty-table td:nth-child(8) {
    width: 12%;
}

.spec-content h1 {
    font-size: 4.6rem;
}

.three-measures {
    font-family: Noto Serif JP;
    font-size: 2.4rem;
    font-weight: 600;
}

.bg-white {
    background-color: white;
    border: solid 2px #bebebe;
}

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


    @media screen and (max-width: 625px) {
        .spec-content h1 {
            font-size: 1.8rem;
        }

        .spec-category4 h2 {
            font-size: 3.4rem;
        }

        .about-text p {
            font-size: 2.2rem;
            font-weight: 400;
        }

        .about-sub {
            font-size: 2.4rem !important;
        }

        .spec-blk {
            flex-direction: column;
        }

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

        .aw-card-text {
            font-size: 3.4rem;
        }

        .aw-card-blk {
            padding: 10px;
        }

        .spec-item2 {
            margin-top: 50px;
        }

        .img-blk {
            flex-direction: column;
            gap: 20px;
        }

        .spec-category3 h2 {
            font-size: 2.4rem;
        }

        .card-list {
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
        }

        .spec-top-title p {
            text-align: center;
        }

        .spec-item2 h2 {
            letter-spacing: 2px;
            font-size: 2.4rem;
        }

        .spec-top-title {
            width: 100%;
        }

        .fs-24 {
            font-size: 2rem !important;
        }

        .span-blk {
            font-size: 2.4rem;
            letter-spacing: 1px;
        }

        .spec-top-title h2 {
            letter-spacing: 1px;
        }

        .spec-content h2 {
            font-size: 2.4rem;
            letter-spacing: 1px;
        }

    }
}