﻿/* ---------------------------------------------------
・このCSSはPCとSPの表示比率を合わせています。
・サイズの単位は原則remにしてください。1rem = 1rem換算です。
・rootセレクタ内で、色やサイズの設定を指定してください。
---------------------------------------------------- */
/* BASE
------------------------- */
:root {
	--contentWidth: max(500px, 20vw);
	/* 2つの値の大きい方が指定される (横幅)*/
}

/*---------------------------------------------------------------------
【 Basic 】
---------------------------------------------------------------------*/
html {
	font-size: min(1vw, calc(var(--contentWidth) / 100));
	overflow-x: hidden;
}

body {
	width: 100%;
	font-size: 4.8rem;

	color: #2F3130;
	font-weight: 500;
	line-height: 1.6;
	-webkit-font-feature-settings: 'palt' 1;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	font-optical-sizing: auto;
}

* {
	box-sizing: border-box;
}

main {
	max-width: var(--contentWidth);
	margin-inline: auto;
	box-shadow: 0 0 20rem 0 rgb(0 0 0 / 35%);
	overflow: hidden;
}

img {
	width: 100%;
	margin: 0 auto;
	display: block;
}


/*layout*/
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}

.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}

.flex+.flex {
	margin: 2rem 0 0;
}

.middle {
	margin: 4rem auto;
}

.bottom {
	margin-bottom: 4rem;
}

.top {
	margin-top: 4rem;
}

/*text*/
.u {
	text-decoration: underline;
}

.b {
	font-weight: bold;
}

.txt_c {
	text-align: center;
}

.txt_r {
	text-align: right;
}

.txt_l {
	text-align: left;
}

.xxsmall {
	font-size: 50%;
	font-weight: normal;
}

.xsmall {
	font-size: 60%;
}

.small {
	font-size: 80%;
}

.large {
	font-size: 120%;
}

.xlarge {
	font-size: 140%;
}

.xxlarge {
	font-size: 160%;
}
.xxxlarge {
	font-size: 180%;
}
.xxxxlarge {
	font-size: 200%;
}
.xxxxxlarge {
	font-size: 220%;
}

.sans {
	font-family: 'Noto Sans JP', sans-serif;
}

.serif {
	font-family: 'Noto Serif JP', "serif";
}

.notice {
	padding-top: 1rem;
	font-size: 2.4rem;
	text-align: right;
	font-family: sans-serif;
	color: #b0b0b0;
	letter-spacing: 1px;
}

.le {
	letter-spacing: -2px;
}

/*rubi*/
.rubi {
	display: inline-block;
	line-height: 1;
}

.rubi ruby {
	vertical-align: bottom;
	display: block;
}

.rubi rb {
	display: table-footer-group;
}

.rubi rt {
	display: table-header-group;
	font-size: .4em;
	text-align: center;
	font-weight: 100;
}

/*mail*/
.ui-autocomplete {
	position: absolute !important;
	background: #fff;
	list-style: none;
	border-radius: 1rem;
	overflow: hidden;
	z-index: 10;
}

.ui-autocomplete li {
	border-bottom: 1px solid #ccc;
	padding: 1rem;
	font-family: inherit !important;
	text-align: left;
}

.ui-state-focus {
	background: #ff7;
}

.ui-helper-hidden-accessible {
	display: none !important;
}




/*---------------------------------------------------------------------
【 form 】
---------------------------------------------------------------------*/

/* Form
------------------------- */
.form {
	padding: 6rem 4rem 6rem;
	position: relative;
}

.form .form__lead {
	text-align: center;
	font-family: 'Noto Sans JP', sans-serif;
	-webkit-font-feature-settings: 'palt' 1;
	font-feature-settings: 'palt' 1;
	line-height: 1.3;
	letter-spacing: .04em;
}

.form.form_arrow::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 0;
	border-top: 7rem solid transparent;
	border-left: min(calc(var(--contentWidth) / 2), 50rem) solid var(--formColor);
	border-right: min(calc(var(--contentWidth) / 2), 50rem) solid var(--formColor);
	border-bottom: none;
	top: calc(-7rem + 1px);
	left: 0;
}

.form form {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr 1fr auto;
	gap: 3rem;
}

.form .form_prev {
	margin: 0rem 0 3rem;
	font-size: 4.5rem;
	font-weight: bold;
	text-align: center;
}

.form .form_prev p {
	line-height: 1.3;
}

.form .form_box {
	position: relative;
}

.form .form_input {
	position: relative;
	background: #fff;
	width: 100%;
	padding: 0.3em 0.5em 0.3em 10rem;
	font-size: 5.5rem;
	border-radius: 2rem;
	color: #111111;
	text-align: left;
	border: 1px solid #111111;
}

.form .form_must {
	position: absolute;
	padding: 1rem;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	background: #e53935;
	color: #fff;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 2.6rem;
	line-height: 1.2;
	z-index: 1;
}

.form .form_label {
	position: absolute;
	top: 50%;
	left: 10rem;
	transform: translateY(-50%);
	transition: ease 0.3s;
	pointer-events: none;
	color: #aaa;
	z-index: 10;
	font-size: 4rem;
	font-family: 'Noto Sans JP', sans-serif;
}

.form .form_input:focus+.form_label,
.form .form_input:not(:placeholder-shown)+.form_label {
	top: 15%;
	font-size: 3rem;
	color: #3377ff;
}

.form .form_btn button {
	position: relative;
	width: 100%;
	height: 100%;
	background: #00ad48;
	border: 2px solid #7dff88;
	border-radius: 100px;
	line-height: 1.4;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 4.6rem;
	font-weight: bold;
	color: #fff;
	text-align: center;
	padding-right: 6rem;
}

.form .form_btn button .form_btn_icon::after {
	content: '';
	position: absolute;
	top: 50%;
	width: 0.6em;
	height: 0.6em;
	border-top: 0.5rem solid #fff;
	border-right: 0.5rem solid #fff;
	transform: translate(0.1em, -50%) rotate(45deg);
	filter: drop-shadow(0 2px 3px #00865c);
}

.form .form_btn button:hover {
	filter: brightness(1.2);
}

.btn_copy {
	font-size: 3.2rem;
	text-align: center;
	line-height: 1.4;
}

.form .form_notice {
	margin: 4rem auto 0;
	font-size: 3rem;
}

.form_notice a {
	color: #61b6d5;
	text-decoration: underline;
}

.form .ui-autocomplete {
	position: absolute !important;
	background: #fff;
	list-style: none;
	border-radius: 1rem;
	overflow: hidden;
	z-index: 100;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.form .ui-autocomplete li {
	border-bottom: 1px solid #ccc;
	padding: 1rem;
	font-family: inherit !important;
	text-align: left;
	color: #111111;
}

.form .ui-autocomplete li:hover,
.form .ui-state-focus {
	background: #ff7;
}

.form .ui-helper-hidden-accessible {
	display: none !important;
}


.form .form_text-wrap {
	font-weight: bold;
	font-size: 3.5rem;
	margin: 1rem 0rem;
	padding: 1rem;
	width: 49% !important;
	border: 1px dotted #fff;
	border-radius: 2rem;
}

.form .form_icon {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin-bottom: 3rem;
	align-items: stretch;
	/* 子要素の高さを揃える */
}

.form .form_icon p {
	font-weight: bold;
	font-size: 3rem;
	margin: 1rem 0;
	padding: 1rem;
	width: 32%;
	/* 横幅の調整 */
	border: 1px dotted #fff;
	border-radius: 2rem;
	text-align: center;
	display: flex;
	/* コンテンツを中央揃え */
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	/* パディング込みで幅を調整 */
}


/*-- 矢印 ---*/
.grade_arrow {
	height: 30px;
	position: relative;
	width: 120px;
	margin: 2rem auto 2rem;
}

.grade_arrow_box {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 45px 0 45px;
    border-color: #e53935 transparent transparent transparent;
    position: absolute;
    top: 0;
    left: 0;
}

.grade_arrow_box_bg {
	background: linear-gradient(to bottom, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
	width: 120px;
	height: 18px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

/* Footer
------------------------- */
/*---------------------------------------------------------------------
【 footer 】
---------------------------------------------------------------------*/
footer {
	width: 100%;
	padding: 6rem 0 8rem;;
	background: #ddd;
}

#footer_inner {
	width: 96%;
	margin: 0 auto;
	font-size: 2rem;
}

#footer_inner ul {
	display: flex;
	justify-content: center;
}

#footer_inner li {
	padding: 0 2rem;
	border-left: 1px solid #ccc;
}

#footer_inner li:first-child {
	padding-left: 0;
	border: none;
}

#footer_inner p {
	padding-top: .5rem;
	text-align: center;
}

#footer_inner a {
	text-decoration: none;
	color: #989898;
}




#scfooter {
	display: none;
	background: #000;
	backdrop-filter: blur(2rem);
    position: sticky;
	bottom: 0;
	max-width: var(--contentWidth);
	margin-inline: auto;
	z-index: 99;
}

#scfooter .form {
	max-width: var(--contentWidth);
	padding: 3rem 3rem 6rem;
	margin-inline: auto;
	background: transparent;
}

#scfooter .form form {
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr auto;
	gap: 0 2rem;
}

#scfooter .form_input {
	padding: 1em 1em 1em 8rem;
	font-size: 4rem;
	height: 100%;
}

#scfooter .form_must {
	width: auto;
	padding: 0.2em;
	font-size: 2.5rem;
	line-height: 1.2;
}

#scfooter .form_label {
	font-size: 3rem;
	left: 8rem;
}

#scfooter .form_input:focus+.form_label,
#scfooter .form_input:not(:placeholder-shown)+.form_label {
	top: 20%;
	font-size: 2rem;
}

#scfooter .form_btn button {
	font-size: 4rem;
	line-height: 1.3;
	padding-right: 0.5em;
}


/*---------------------------------------------------------------------
【 video 】
---------------------------------------------------------------------*/
video {
	width: 100%;
}

.pc {
	display: none;
}

.sp {
	display: block;
}

/*---------------------【 PC 】---------------------*/
@media screen and (min-width:480px) {
	.pc {
		display: block;
	}

	.sp {
		display: none;
	}

	#scfooter .form_input {
		padding: 0.5em 0.5em 0.5em 8rem;
	}

	#scfooter .form {
		padding: 3rem 3rem 3rem;
	}
}