﻿.maindesign *, 
.maindesign *:before, 
.maindesign *:after {
	box-sizing: border-box;
	min-height: 0%;
	}
#main {
	margin-bottom: 100px !important;
	overflow: hidden;
}
@media screen and (max-width:767px) {
	#main {
		margin-bottom: 50px !important;
	}
}

.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;
	}
}

.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 .u-pc-only {
	display: block;
}
.maindesign .u-sp-only {
	display: none;
}
@media screen and (max-width:767px) {
	.maindesign .u-pc-only {
		display: none;
	}
	.maindesign .u-sp-only {
		display: block;
	}
}

.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;
	font-size: 1.15rem;
}
.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);
}
@media screen and (max-width:767px) {
	.maindesign .c-komeri-btn--inner {
		font-size: 1.0rem;
	}
}

.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 .p-question-overview {
	color: #7C7C7C;
	font-size: 1.25rem;
	line-height: 1.15;
	font-weight: bold;
}
.maindesign .p-question-overview .p-question-overview--item:not(:first-child) {
	margin-top: 10px;
}

@media screen and (max-width:767px) {
	.maindesign .p-question-overview {
		font-size: 4.5vw;
	}
}


.maindesign .p-indent-text {
	padding-left: 1em;
	text-indent: -1em;
}

.maindesign .p-catch {
	position: relative;
	display: flex;
	flex-wrap: wrap;
}
.maindesign .p-catch--text {
	width: calc(100% - 200px);
}
.maindesign .p-catch--img {
	position: absolute;
	top: 50%;
	right: 0;
	width: 150px;
	height: auto;
	transform: translateY(-50%);
}
.maindesign .p-catch--btn {
	width: 50%;
	margin-top: 50px;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width:767px) {
	.maindesign .p-catch {
		justify-content: center;
	}
	.maindesign .p-catch--text {
		width: 100%;
	}
	.maindesign .p-catch--img {
		position: static;
		transform: none;
		margin-top: 15px;
		width: 50%;

	}
	.maindesign .p-catch--btn {
		margin-top: 30px;
		width: 100%;
	}
}

.maindesign .p-merit-box {
	padding: 15px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
.maindesign .p-merit-box--inner {
	border: 2px solid #ccc;
	border-radius: 10px;
	padding: 30px;
	box-shadow: 6px 6px 10px 0px rgba(0, 0, 0, 0.15);
}
.maindesign .p-merit-box--inner .p-merit-box--item:not(:first-child) {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 2px solid #ccc;
}
.maindesign .p-merit-box--item {
	padding-left: 20px;
	font-size: 1.5rem;
	line-height: 1.15;
}
.maindesign .p-merit-box--ttl {
	color: #CB1007;
	font-weight: bold;
}
.maindesign .p-merit-box--lead {
	font-size: 0.9em;
	color: #6F6F6F;
	font-weight: bold;
	margin-top: 10px;
}

@media screen and (max-width:767px) {
	.maindesign .p-merit-box {
		width: 100%;
		padding: 0 5px 5px 0;
	}
	.maindesign .p-merit-box--inner {
		padding: 20px 10px;
		box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.15);
	}
	.maindesign .p-merit-box--item {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 5.5vw;
	}
}

.maindesign .p-solo-btn {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}

@media screen and (max-width:767px) {
	.maindesign .p-solo-btn {
		width: 100%;
	}
}

.maindesign .p-flow {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.maindesign .p-flow--img {
	width: 100%;
}
.maindesign .p-flow--text {
	width: 90%;
	margin-top: 30px;
}
.maindesign .p-flow--list .p-flow--list--item:not(:first-child) {
	margin-top: 10px;
}
.maindesign .p-flow--list--item {
	color: #7C7C7C;
	font-size: 1.25rem;
	line-height: 1.15;
	font-weight: bold;
}

@media screen and (max-width:767px) {
	.maindesign .p-flow--text {
		margin-top: 15px;
		width: 100%;
	}
	.maindesign .p-flow--list--item {
		font-size: 4.5vw;
	}
}

.maindesign .p-cta {
	text-align: center;
	font-size: 1.5rem;
	color: #006600;
	font-weight: bold;
}

@media screen and (max-width:767px) {
	.maindesign .p-cta {
		font-size: 5.0vw;
	}
}
