/* ---------------------------------------------------
・このCSSはPCとSPの表示比率を合わせています。
・サイズの単位は原則remにしてください。1rem = 1rem換算です。
・rootセレクタ内で、色やサイズの設定を指定してください。
---------------------------------------------------- */
/* BASE
------------------------- */
:root {
	--mainColor: #e87301;
	/* メインカラー */
	--subColor: #046965;
	/* サブカラー */
	--formColor: #046965;
	/* フォーム背景色 */
	--mainTxtColor: #303030;
	/* テキストカラー */
	--contentWidth: max(500px, 20vw);
	/* 2つの値の大きい方が指定される (横幅)*/
}

/*---------------------------------------------------------------------
【 Basic 】
---------------------------------------------------------------------*/
html {
	overflow-x: hidden;
	font-size: min(1vw, calc(var(--contentWidth) / 100));
}

body {
	width: 100%;
	font-size: 4.8rem;
	background: #fff;
	color: #292929;
	font-weight: 500;
	line-height: 1.7;
	-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 {
	background: #eee;
	max-width: 540px;
	width: 57dvh;
	margin-inline: auto;
}


.swiper-container {
	background: #FFF;
	width: 100%;
	height: 80dvh;
	/* 画面サイズに合わせる */
	position: relative;
	overflow: hidden;
}

.swiper {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	/* display: flex;*/
	align-items: start;
	justify-content: center;
	position: relative;
}

.slide-img {
	width: 100%;
	object-position: top;
	;
	object-fit: contain
}

.button-area {
	position: absolute;
	bottom: 10%;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.8);
	padding: 10px;
	text-align: center;
	z-index: 10;
	border-radius: 5px;
}

.button-area a {
	display: inline-block;
	padding: 15px 30px;
	background: #ff7f50;
	color: white;
	text-decoration: none;
	font-size: 18px;
	border-radius: 5px;
}

/* スマホとPCでの調整 */
@media (max-width: 768px) {}


/*---------------------------------------------------------------------
【 form 】
---------------------------------------------------------------------*/

/* Form
------------------------- */
.form {
	padding: 5rem 5rem 4rem;
	position: relative;
}


.form form {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr 1fr auto;
	gap: 2rem;
}

.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 9rem;
	font-size: 5.5rem;
	border: 1px solid #535353;
	border-radius: 2rem;
	color: #111111;
	text-align: left;
}

.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: 5rem;
	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);
}

.form .form_notice {
	margin: 2rem auto 0;
	font-size: 2.6rem;
}

.form_notice a {
	color: #61b6d5;
	text-decoration: underline;
}

.ui-autocomplete {
	position: absolute !important;
	background: #fff;
	list-style: none;
	border-radius: 1rem;
	overflow: hidden;
	z-index: 1001;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.ui-autocomplete li {
	border-bottom: 1px solid #ccc;
	padding: 1rem;
	font-family: inherit !important;
	text-align: left;
	color: #111111;
}

.ui-autocomplete li:hover,
.ui-state-focus {
	background: #ff7;
}

.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;
	/* パディング込みで幅を調整 */
}



.scfooter {
	background: #fff;
	backdrop-filter: blur(2rem);
	bottom: 0;
	max-width: var(--contentWidth);
	margin-inline: auto;
	max-width: 540px;
	width: 57dvh;
	height: 20dvh;
}

.scfooter img {
	max-width: 540px;
	width: 57dvh;
}

.scfooter .form {
	max-width: var(--contentWidth);
	padding: 2rem 2rem 4rem;
	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: 0.7em 0.7em 0.7em 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;
}

/* Footer
------------------------- */
/*---------------------------------------------------------------------
【 footer 】
---------------------------------------------------------------------*/
footer {
	width: 100%;
	padding: 3rem 0 3rem;
	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;
}

.modal {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
	background-color: white;
	margin: 15% auto;
	padding: 2rem;
	border: 1px solid #888;
	width: 90rem;
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	position: relative;
	z-index: 999;
	top: -2rem;
}

.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;
	font-size: 4rem;
	margin-bottom: 4rem;
}

.btn_copy {
	font-size: 3rem;
	text-align: center;
	font-family: 'Noto Sans JP', sans-serif;
	line-height: 1;
}

@media (max-width: 768px) {
	main {
		width: 100%;
	}

	.scfooter {
		width: 100%;
	}

	.scfooter img {
		width: 100%;
	}
}