﻿@media screen and (min-width:768px) {
    .maindesign {
        width: 1240px;
        padding: 0 20px;
        margin: 20px auto 100px;
        box-sizing: border-box;
        color: #333;
    }
}

.maindesign *, 
.maindesign *:before, 
.maindesign *:after {
	box-sizing: border-box;
	min-height: 0%;
}

.maindesign .u-mt-leave {
	margin-top: 50px;
}
.maindesign .u-mt-moderate {
	margin-top: 30px;
}
.maindesign .u-mt-close {
	margin-top: 15px;
}
.maindesign .u-mt-thin {
	margin-top: 10px;
}
@media screen and (max-width:767px) {
	.maindesign .u-mt-leave {
		margin-top: 30px;
	}
	.maindesign .u-mt-close {
		margin-top: 10px;
	}
	.maindesign .u-one-side {
		margin-right: 10px;
		margin-left: 10px;
	}
}

@media screen and (max-width:767px) {
    .maindesign section {
        margin-left: 10px;
        margin-right: 10px;
    }
}

.maindesign img {
	width: 100%;
	height: auto;
	display: block;
}

.maindesign .c-lead-text {
	font-size: 1.1rem;
	line-height: 1.5;
}
@media screen and (max-width:767px) {
	.maindesign .c-lead-text {
		font-size: 0.95rem;
	}
}


.maindesign .c-komeri-btn {
    position: relative;
    background-color: #979797;
    cursor: pointer;
    border-radius: 40px;
    opacity: 1.0;
}
.maindesign .c-komeri-btn:hover {
    opacity: 0.75;
    transition: 0.6s;
}
.maindesign .c-komeri-btn > a {
    text-decoration: none;
    display: inline !important;
}
.maindesign .c-komeri-btn--inner {
    font-feature-settings: "palt";
    color: #fff;
    padding: 0.75rem 2rem 0.75rem 1.75rem;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
    font-weight: bold;
}
.maindesign .c-komeri-btn__orange {
    background-color: #EA6D0D !important;
}
.maindesign .c-komeri-btn--inner::after {
    content: '';
    position: absolute;   
    top: 50%; 
    right: 18px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate( 45deg);
}

.maindesign .p-indent-text {
    padding-left: 1em;
    text-indent: -1em;
}



.maindesign .p-notes {
    /*border: 3px solid #ff0000;*/
    border: 1px solid #f00;
    padding: 30px 0;
}
.maindesign .p-notes--inner {
    width: fit-content;
    display: flex;
    margin-inline: auto;
}
.maindesign .p-notes--case {
    /*font-size: 1.5rem;*/
    font-size:1.2rem;
    font-weight: normal;
    padding-right: 50px;
}
.maindesign .p-notes--text {
    /*font-size: 1.35rem;*/
    font-size:1rem;
    font-weight: normal;
    line-height: 1.5;
}
.maindesign .p-notes--content {
    width: fit-content;
}
.maindesign .p-notes--btn {
    width: 80%;
    margin-inline: auto;
    margin-top: 25px;
}

@media screen and (max-width:767px) {
    .maindesign .p-notes {
        padding: 20px 0;
    }
    .maindesign .p-notes--inner {
        flex-direction: column;
        padding: 0 10px;
    }
    .maindesign .p-notes--content {
        margin-top: 15px;
    }
    .maindesign .p-notes--case {
        /*font-size: clamp(12px, 4.5vw, 20px);*/
        font-size:1.1rem;
        padding-right: 0;
    }
    .maindesign .p-notes--text {
        /*font-size: clamp(12px, 4.0vw, 17px);*/
        font-size: 1rem;
        line-height: 1.3;
    }
    .maindesign .p-notes--text li:not(:first-child) {
        margin-top: 5px;
    }
    .maindesign .p-notes--btn {
        width: 100%;
        margin-top: 15px;
    }
}

.maindesign .l-nav-list {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.maindesign .l-nav-list .l-nav-list--btn:nth-child(n+5) {
	margin-top: 15px;
}
.maindesign .l-nav-list--btn {
	position: relative;
	border: 1px solid #B6B6B6;
	width: 24%;
	font-size: 1.0em;
    font-feature-settings: "palt";
    line-height: 1.3;
	text-align: center;
    border-radius: 40px;
    color: #333;
    cursor: pointer;
}
.maindesign .l-nav-list--btn::after {
	content: "";
    position: absolute;
	top: 50%;
    right: 15px;
    border-top: 2px solid #B6B6B6;
    border-right: 2px solid #B6B6B6;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate( 135deg);
}
.maindesign .l-nav-list--btn:hover {
	border-color: #E5002D;
	opacity: 0.75;
    transition: 0.6s;
}
.maindesign .l-nav-list--inner {
	display: flex !important;
	opacity: 1.0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 1.75rem 0.35rem 1.5rem;
    min-height: 3.0em;
    color: #000;
}
.maindesign .l-nav-list::before,
.maindesign .l-nav-list::after {
	content: '';
	width: 24%;
	height: 0;
	display: block;
}
.maindesign .l-nav-list::before {
	order: 1;
}

@media screen and (max-width:767px) {
	.maindesign .l-nav-list--btn {
		width: 49%;
	}
	.maindesign .l-nav-list::before,
	.maindesign .l-nav-list::after {
		width: 49%;
	}
    .maindesign .l-nav-list--inner {
        font-size: 0.9rem;
    }
	.maindesign .l-nav-list .l-nav-list--btn:nth-child(n+3) {
		margin-top: 15px;
	}
}

.maindesign .c-feature-hdg2 {
	position: relative;
    padding-bottom: 1.25rem;
    border-bottom: 3px solid #B6B6B6;
    font-size: 1.75rem;
    margin-top: calc(80px - 0.6rem);
    margin-bottom: calc(40px - 0.75rem);
}
.maindesign .c-feature-hdg2::after {
	position: absolute;
    content: " ";
    border-bottom: solid 3px #E5002D;
    bottom: -3px;
    width: 8%;
    display: block;
}

@media screen and (max-width:767px) {
	.maindesign .c-feature-hdg2 {
		font-size: 1.5rem;
		margin-top: calc(60px - 0.6rem);
		margin-bottom: calc(45px - 0.75rem);
		line-height: 1.2;
	}
}

.maindesign .p-icon-hdg2 {
    display: flex;
    align-items: center;
}
.maindesign .p-icon-hdg2--img {
    width: 80px;
    margin-right: 10px;
}

.maindesign .representative-table {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}
.maindesign .representative-table--item {
    position: relative;
    display: contents;
}
.maindesign .representative-table--link {
    display: contents;
    width: 100%;
    height: 100%;
    color: #333;
}
.maindesign .representative-table--inner {
    position: relative;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 0;
    border: 1px solid #ccc;
    padding: 10px;
}
.maindesign .representative-table--inner:hover {
    opacity: 0.75;
    transition: 0.25s;
}
.maindesign .representative-table--point {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25%;
    height: auto;
}
.maindesign .representative-table--img {
    width: 120px;
    margin-inline: auto;
}
.maindesign .representative-table--name {
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.15;
}
.maindesign .representative-table--remainder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    padding: 0 15px;
    grid-row: span 2;
}

@media screen and (max-width:767px) {
    .maindesign .representative-table {
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
    }
    .maindesign .representative-table--point {
        width: 30%;
    }
    .maindesign .representative-table--img {
        width: 60%;
        margin-inline: 0;
    }
    .maindesign .representative-table--name {
        font-size: 0.85rem;
    }
    .maindesign .representative-table--remainder {
        padding: 0 10px;
    }
}


.maindesign h3.c-checkPoint {
    position: relative;
    font-size: 1.25em;
    font-weight: bold;
    margin: 60px 0 20px 0;
    padding: 0 0 10px 0;
    text-align: left;
    border-bottom: #aaaaaa 2px solid;
    display: flex;
    align-items: center;
	line-height:1.15;
}
.maindesign h3.c-checkPoint .st0{
	fill:#aaaaaa;
}
.maindesign h3.c-checkPoint .st1{
	fill:none;stroke:#ffffff;stroke-width:3;stroke-miterlimit:10;
}
.maindesign h3.c-checkPoint span {
    margin: 0 0 0 20px;
    width: calc(100% - 60px);
}


.maindesign .p-other-btns {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}


@media screen and (max-width:767px) {
    .maindesign .p-other-btns {
        grid-template-columns: repeat(1,1fr);
    }
}


.maindesign .p-card-introduction {
    width: fit-content;
    margin-inline: auto;
}
.maindesign .p-card-introduction--lead {
    font-size: 1.35rem;
    font-weight: bold;
    line-height: 1.4;
    text-align: center;
}
.maindesign .p-card-introduction--img {
    margin-top: 10px;
    height: 150px;
    width: auto;
}

@media screen and (max-width:767px) {
    .maindesign .p-card-introduction--lead {
        font-size: 1.15rem;
    }
    .maindesign .p-card-introduction--img {
        width: 100%;
        height: auto;
    }
}

.maindesign .p-half-column {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.maindesign .p-half-column--item {
    width: 49%;
}
.maindesign .p-half-column::after {
    content: '';
    display: block;
    height: 0;
    width: 49%;
}
.maindesign .p-half-column .p-half-column--item:nth-child(n+3) {
    margin-top: 30px;
}

@media screen and (max-width:767px) {
    .maindesign .p-half-column--item {
        width: 100%;
    }
    .maindesign .p-half-column .p-half-column--item:nth-child(n+2) {
        margin-top: 15px;
    }
}

.maindesign .p-card-detail {
    border: 1px solid #ccc;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.maindesign .p-card-detail--text {
    width: 58%;
    font-size: 1.0rem;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.maindesign .p-card-detail--img {
    width: 35%;
}
.maindesign .p-card-detail--ttl {
    font-size: 1.25em;
    font-weight: bold;
    padding-bottom: 2px;
    border-bottom: 2px solid #000;
    display: inline-block;
    text-align: center;
}
.maindesign .p-card-detail--lead {
    margin-top: 10px;
}
.maindesign .p-card-detail--btn {
    width: 70%;
    margin-inline: auto;
    margin-top: 30px;
}

@media screen and (max-width:767px) {
    .maindesign .p-card-detail {
        padding: 10px 15px;
    }
    .maindesign .p-card-detail--text {
        width: 100%;
        font-size: 0.95rem;
    }
    .maindesign .p-card-detail--img {
        width: 65%;
        margin-inline: auto;
        margin-top: 15px;
    }
    .maindesign .p-card-detail--btn {
        width: 100%;
    }
}

.maindesign .p-campaign-bnr {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px 30px;
}
.maindesign .p-campaign-bnr--txt {
    margin-top: 5px;
    line-height: 1.15;
    font-size: 0.9rem;
    color: #000;
    text-align: center;
}


@media screen and (max-width:767px) {
    .maindesign .p-campaign-bnr {
        grid-template-columns: repeat(1,1fr);
        gap: 15px 0;
    }
    .maindesign .p-campaign-bnr--txt {
        line-height: 1.3;
    }
}