﻿.maindesign .font-bold{
	font-weight: bold;
}
.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: 76%;
}
.maindesign .p-feature-col__narrow .p-feature-col--img {
    width: 20%;
}

@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);
}
.maindesign .text-link {
	line-height: 1.9
}
.maindesign .text-link a {
font-weight:bold;
position: relative;
display: inline-block;
transition: .3s;
}
.maindesign .text-link a::after {
position: absolute;
bottom: 0;
left: 0;
content: '';
width: 0;
height: 1px;/*下線の太さ*/
background-color:#337ab7 ;/*下線の色*/
transition: .3s;
}
.maindesign .text-link a:hover::after {
width: 100%;
}
.maindesign .check::after{
	content: '';
	width: 1em;
	height: 1em;
	background-image: url("/include_html/koukoku/komerijournal/common/images/250807/check-icon.svg");
	background-position: center;
	background-size: cover;
	margin-left: 5px;
	display: inline-block;
}
.maindesign .youtube{
	margin-top: 20px;
}
.maindesign .fs09{
	font-size: 0.9em;
}
@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;
    }
}