﻿
.maindesign .p-feature-col {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.maindesign .p-feature-col--txt {
    width: 55%;
}
.maindesign .p-feature-col--img {
    width: 40%;
}
.maindesign .p-feature-col__narrow .p-feature-col--txt {
    width: 65%;
}
.maindesign .p-feature-col__narrow .p-feature-col--img {
    width: 30%;
}

@media screen and (max-width:767px) {
    .maindesign .p-feature-col {
        flex-wrap: wrap;
    }
    .maindesign .p-feature-col--txt {
        width: 100%;
        order: 2;
        margin-top: 30px;
    }
    .maindesign .p-feature-col--img {
        width: 100%;
        order: 1;
    }
    .maindesign .p-feature-col__narrow .p-feature-col--txt {
        width: 100%;
    }
    .maindesign .p-feature-col__narrow .p-feature-col--img {
        width: 100%;
    }
}


.maindesign .p-bnr-col {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

@media screen and (max-width:767px) {
    .maindesign .p-bnr-col {
        grid-template-columns: repeat(1,1fr);
    }
}

.maindesign .p-toic-tertiary {
    font-size: 1.15rem;
    line-height: 1.35;
}
@media screen and (max-width:767px) {
    .maindesign .p-toic-tertiary {
        font-size: 1.0rem;
    }
}

.maindesign .p-topic-quaternary {
    font-size: 1.3rem;
    line-height: 1.35;
}
@media screen and (max-width:767px) {
    .maindesign .p-topic-quaternary {
        font-size: 1.1rem;
    }
}


.maindesign .p-goods-col {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}

@media screen and (max-width:767px) {
    .maindesign .p-goods-col {
        grid-template-columns: repeat(1,1fr);
    }
}

.maindesign .p-goods-box {
    border-radius: 10px;
    border: 1px solid #ccc;
    overflow: hidden;
    min-height: 110px;
}
.maindesign .p-goods-box--link {
    display: block;
    width: 100%;
    height: 100%;
}
.maindesign .p-goods-box--inner {
    padding: 0 15px;
    display: flex;
    align-items: center;
    height: 100%;
}
.maindesign .p-goods-box--img {
    margin-right: 10px;
    width: 80px;
}
.maindesign .p-goods-box--txt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    width: calc(100% - 90px);
}
@media screen and (max-width:767px) {
    .maindesign .p-goods-box--txt {
        font-size: 0.85rem;
    }
}


.maindesign .p-wraparound {
    padding: 30px;
    border: 1px solid #ccc;
}
.maindesign .p-wraparound::after {
    content: '';
    clear: both;
}
.maindesign .p-wraparound--img {
    width: 150px;
    float: right;
    margin-left: 30px;
    margin-bottom: 30px;
}
.maindesign .p-wraparound--txt {
    font-feature-settings: "palt";
    letter-spacing: 0.05em;
}

@media screen and (max-width:767px) {
    .maindesign .p-wraparound {
        padding: 15px;
    }
    .maindesign .p-wraparound--img {
        width: 120px;
        margin-left: 15px;
        margin-bottom: 15px;
    }
}