@charset "UTF-8";

/* ========================================
  @media screen and (min-width: 768px),print 
======================================== */
@media screen and (min-width: 768px), print {
.p-onayami {
	margin-bottom: -160px;
	position: relative;
}

.p-onayami .l-inner.l-onayami {
	margin-inline: auto;
	width: min(95%, 1100px);
}

.p-onayami .p-onayami__contents {
	background: #ffffff;
	border: 1px solid #9C9C9C;
	padding-block: 59px 89px;
}

.p-onayami .p-onayami__contents h2 {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4666666667;
	margin-bottom: 13px;
	text-align: center;
}

.p-onayami .p-onayami__contents .line {
	background: #016FC6;
	height: 2px;
	margin-bottom: 43px;
	margin-inline: auto;
	width: 540px;
}

.p-onayami .p-onayami__items {
	display: grid;
	gap: 16px 0;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	margin-inline: auto;
	position: relative;
	width: min(95%, 900px);
}

.p-onayami .p-onayami__items::after {
	background: url(../images/contact/triangle.svg) no-repeat center center/contain;
	bottom: -149px;
	content: "";
	height: 90px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 240px;
}

.p-onayami .p-onayami__item {
	border-bottom: 2px dashed #8F8F8F;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2;
	padding-bottom: 15px;
	padding-inline: 97px 16px;
	position: relative;
}

.p-onayami .p-onayami__item:before {
	background: url(../images/contact/check.svg) no-repeat center center/contain;
	content: "";
	height: 20px;
	left: 59px;
	position: absolute;
	top: 10px;
	width: 26px;
}

.p-onayami .p-onayami__item span {
	color: #016FC6;
}

.p-onayami .p-onayami__item:last-child::after {
	bottom: -55px;
	content: "など";
	font-size: 20px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2;
	position: absolute;
	right: 0;
}

.p-soudan {
	background: url(../images/contact/bg.jpg) no-repeat top center/cover;
	margin-inline: auto;
	width: min(100%, 1920px);
}

.p-soudan .l-inner.l-soudan {
	padding-block: 270px 55px;
}

.p-soudan .p-soudan__txt {
	font-size: clamp(2.25rem, 1.667rem + 1.22vw, 3.125rem);
	font-weight: 700;
	letter-spacing: 0.088em;
	line-height: 1.78;
	margin-bottom: 37px;
	text-align: center;
}

.p-soudan .p-soudan__txt span.top {
	display: block;
	font-size: clamp(1.5rem, 1.25rem + 0.52vw, 1.875rem);
	font-weight: 700;
	letter-spacing: 0.088em;
	line-height: 2;
	margin-bottom: 5px;
}

.p-soudan .p-soudan__txt span.line {
	text-decoration: underline;
	text-decoration-thickness: 72px;
	-webkit-text-decoration-color: #FFFF00;
	text-decoration-color: #FFFF00;
	text-underline-offset: -58px;
}

.p-soudan .p-soudan__txt02 {
	font-size: clamp(1.125rem, 0.958rem + 0.35vw, 1.375rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.8636363636;
	margin-inline: auto;
	text-align: center;
	width: min(95%, 1000px);
}

.p-bottom {
	margin-bottom: 11px;
}

.p-bottom .p-bottom__img {
	margin-bottom: -60px;
}

.p-bottom .p-bottom__contents {
	background: #ffffff;
	margin-inline: auto;
	position: relative;
	width: min(95%, 1200px);
}

.p-bottom .p-bottom__contents .wrap {
	margin-bottom: 0px;
	position: relative;
	text-align: center;
	top: -24px;
}

.p-bottom .p-bottom__contents p.txt {
	color: #016FC6;
	font-size: clamp(1.875rem, 1.458rem + 0.87vw, 2.5rem);
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.5;
}

.p-bottom .p-bottom__contents p.top {
	margin-bottom: 24px;
}

.p-bottom .p-bottom__contents .txt02 {
	font-size: clamp(1.125rem, 0.958rem + 0.35vw, 1.375rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.8636363636;
	margin-bottom: -106px;
	text-align: center;
}

.p-bottom .p-bottom__contents .icon {
	margin-inline: auto;
	text-align: right;
	width: min(95%, 892px);
}

.p-bottom .p-bottom__contents .icon img {
  width: 126px;
  height: auto;
}

#contact .p-header__mv.contact-thank {
	margin-bottom: 74px;
}


}

/* ========================================
@media screen and (min-width:768px) and ( max-width:1919px) {
======================================== */
@media screen and (min-width:768px) and ( max-width:1919px) {
.p-bottom .p-bottom__img img {
  width: 100%;
  height: auto;        
}
}

/* ========================================
@media screen and (min-width:768px) and ( max-width:1350px) {
======================================== */
@media screen and (min-width:768px) and ( max-width:1350px) {
#contact .p-header__mv .p-header__mv-contents-left .en img {
  width: 30.222vw;
}

}


/* ========================================
  @media screen and (max-width: 767px)
======================================== */
@media screen and (max-width: 767px) {
.p-onayami {
	margin-bottom: -24.155vw;
	position: relative;
	/* z-index: 10; */
}

.p-onayami .l-inner.l-onayami {
	margin-inline: auto;
	width: min(95%, 94.2vw);
}

.p-onayami .p-onayami__contents {
	background: #ffffff;
	border: 2px solid #9C9C9C;
	padding-block: 19.739vw 17.391vw;
}

.p-onayami .p-onayami__contents h2 {
	font-size: 4.348vw;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.4444444444;
	margin-bottom: 3.589vw;
	text-align: center;
}

.p-onayami .p-onayami__contents .line {
	background: #016FC6;
	height: 0.483vw;
	margin-bottom: 6.246vw;
	margin-inline: auto;
	width: 72.464vw;
}

.p-onayami .p-onayami__items {
	display: grid;
	gap: 3.831vw 0;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	margin-inline: auto;
	position: relative;
	width: min(95%, 79.7101449275vw);
}

.p-onayami .p-onayami__items::after {
	background: url(../images/contact/triangle.svg) no-repeat center center/contain;
	bottom: -22.155vw;
	content: "";
	height: 13.077vw;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 30.986vw;
}

.p-onayami .p-onayami__item {
	border-bottom: 1px dashed #8F8F8F;
	font-size: 3.865vw;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.75;
	padding-bottom: 2.831vw;
	padding-inline: 5.314vw 0;
	position: relative;
}

.p-onayami .p-onayami__item:before {
	background: url(../images/contact/check.svg) no-repeat center center/contain;
	content: "";
	height: 3.382vw;
	left: 0px;
	position: absolute;
	top: 1.8vw;
	width: 4.348vw;
}

.p-onayami .p-onayami__item span {
	color: #016FC6;
}

.p-onayami .p-onayami__item:last-child::after {
	bottom: -10.077vw;
	content: "など";
	font-size: 3.865vw;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.5;
	position: absolute;
	right: 0;
}

.p-soudan {
	background: url(../images/contact/bg_sp.jpg) no-repeat top center/cover;
	margin-inline: auto;
	width: 100%;
}

.p-soudan .l-inner.l-soudan {
	padding-block: 36.647vw 9.357vw;
}

.p-soudan .p-soudan__txt {
	font-size: 6.763vw;
	font-weight: 700;
	letter-spacing: 0.088em;
	line-height: 1.4642857143;
	margin-bottom: 5.763vw;
	text-align: center;
}

.p-soudan .p-soudan__txt span.top {
	display: block;
	font-size: 4.348vw;
	font-weight: 700;
	letter-spacing: 0.088em;
	line-height: 1.7777777778;
	margin-bottom: 4.763vw;
}

.p-soudan .p-soudan__txt span.line {
	text-decoration: underline;
	text-decoration-thickness: 9.662vw;
	-webkit-text-decoration-color: #FFFF00;
	text-decoration-color: #FFFF00;
	text-underline-offset: -7.729vw;
}

.p-soudan .p-soudan__txt02 {
	font-size: 3.865vw;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.875;
	margin-inline: auto;
	width: min(95%, 91.7vw);
	text-align: center;
}

.p-bottom {
	margin-bottom: 12.493vw;
}

.p-bottom .p-bottom__img {
	margin-bottom: -4.797vw;
}

.p-bottom .p-bottom__contents {
	background: #ffffff;
	margin-inline: auto;
	position: relative;
	width: min(95%, 94.2vw);
}

.p-bottom .p-bottom__contents .wrap {
	margin-bottom: 0;
	position: relative;
	text-align: center;
	top: -2.865vw;
}

.p-bottom .p-bottom__contents p.txt {
	color: #016FC6;
	font-size: 5.314vw;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.5;
}

.p-bottom .p-bottom__contents p.top {
	margin-bottom: 3.106vw;
}

.p-bottom .p-bottom__contents p.top img {
	height: auto;
	width: 21.739vw;
}

.p-bottom .p-bottom__contents .txt02 {
	font-size: 3.865vw;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.875;
	margin-bottom: -12.662vw;
	text-align: center;
}

.p-bottom .p-bottom__contents .icon {
	padding-inline: 0 2.415vw;
	text-align: right;
	width: 100%;
}

.p-bottom .p-bottom__contents .icon img {
	height: auto;
	width: 17.15vw;
}

#contact .p-header__mv.contact-thank {
	margin-bottom: 4.324vw;
}

}