@charset "utf-8";

/* --------------------------------------------------
	Resetting default margin and padding
-------------------------------------------------- */

/* !HTML5 elements
---------------------------------------------------------- */
header, footer, nav, section, aside, article
{ display: block;}

/* !Reseting
---------------------------------------------------------- */
body {
	font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Helvetica Neue", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	-webkit-text-size-adjust: none;
	color: #000;
}
@media (max-width: 767px) {
body {
	font-size: 14px;
}
}

body, div, pre, p, blockquote, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, th, td,input,a,textarea,select,span,nav,section,header
{
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}
input,
textarea,
select {
	margin: 0;
	font-size: 100%;
	appearance: none;
	-webkit-appearance: none;
	border: none;
	outline: none;
}
table
{ border-collapse: collapse; border-spacing: 0; font-size: 100%;}
fieldset, img
{ border: 0;}
img
{ vertical-align: top; max-width: 100%;}
address, caption, cite, code, dfn, em, th, var
{ font-style: normal; font-weight: normal;}
ol, ul
{ list-style: none;}
caption, th
{ text-align: left;}
h1, h2, h3, h4, h5, h6
{ font-size: 100%; font-weight: normal;}
q:after, q:before
{ content:'';}
a, input
{ /* outline: none; */ }
abbr, acronym
{ border: 0;}
iframe {
	border: none;
}

/* !Layout
---------------------------------------------------------- */
html { overflow-y: scroll;}
body { }
@media print {
	html,
	html body { *zoom: 0.65;}
}



/* link
------------------------------------------------ */
a {
	color: #000;
	text-decoration:none;
	transition: all 0.3s !important;
	-moz-transition: all 0.3s !important; /* Firefox */
	-webkit-transition: all 0.3s !important; /* Chrome&Safari */
}

a:hover {
	transition: all 0.3s !important;
	-moz-transition: all 0.3s !important; /* Firefox */
	-webkit-transition: all 0.3s !important; /* Chrome&Safari */
}

.op,
.op a,
.op img,
.op input {
	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-ms-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
	-webkit-backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
}
.op:hover,
.op a:hover,
.op:hover img,
.op:hover input {
	opacity: .9;
	-webkit-opacity: .9;
	-moz-opacity: .99;
	filter: alpha(opacity=70);	/* IE lt 8 */
	-ms-filter: "alpha(opacity=70)"; /* IE 8 */
	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-ms-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
	-webkit-backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
}
@media (max-width: 1024px) {
.op:hover,
.op a:hover,
.op:hover img,
.op:hover input {
	opacity: 1;
	-webkit-opacity: 1;
	-moz-opacity: 1;
	filter: alpha(opacity=100);	/* IE lt 8 */
	-ms-filter: "alpha(opacity=100)"; /* IE 8 */
}
}



/* !fs
------------------------------------------------ */
.visible-pc {
	display: block !important;
}
.visible-ts {
	display: none !important;
}
.newline {
	display: none;
}

@media (max-width: 767px) {
.visible-pc {
	display: none !important;
}
.visible-ts {
	display: block !important;
}
}



/* !fonts
------------------------------------------------ */
.fwb {
	font-weight: 700;
}

.vat {
	vertical-align: top !important;
}
.vam {
	vertical-align: middle !important;
}
.tac {
	text-align: center !important;
}
.tar {
	text-align: right !important;
}

.fcorange {
	color: #ff7800;
}



/* wrapper
----------------------------------------------- */
#wrapper {
	overflow: hidden;
	position: relative;
}



/* header
----------------------------------------------- */
#header {
	position: relative;
	width: 100%;
	height: 90px;
	background: #fff;
	z-index: 10;
}
#header .headerin {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
#header .headerin img {
	width: 64px;
}

@media (max-width: 767px) {
	#header {
		width: 100%;
		height: 56px;
	}
	#header .headerin img {
		width: 40px;
	}
}




/* footer
----------------------------------------------- */
#footer {
	background-color: #0149ac;
	padding: 24px 0;
	text-align: center;
}

#footer .copyright {
	text-align: center;
	font-size: 0.75em;
	font-weight: 400;
	color: #fff;
}

@media (max-width: 767px) {
	#footer {
		padding: 24px 16px;
	}
	#footer .copyright {
		font-size: 12px;
	}
}


/* main
----------------------------------------------- */
.main {
	position: relative;
	background-color: #f9f9f9;
}

@media (max-width: 767px) {
	.mv_bg {
		top: -10px;
		left: -20px;
	}
}

/* heading
----------------------------------------------- */

.slash_headiing {
	text-align: center;
}
.slash_headiing h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.85em;
	font-weight: 700;
	color: #0151ac;
}
.slash_headiing p {
	font-size: 0.87em;
	margin-top: 15px;
	font-weight: 500;
	color: #00417e;
}

@media (max-width: 767px) {
	.slash_headiing h2 {
		font-size:  1.85em;
	}
	.slash_headiing p {
		margin-top: 16px;
		font-weight: 500;
		color: #00417e;
	}
}


/* contact
----------------------------------------------- */
.error-container {
	text-align: center;
}
.form_item p.error {
	position: absolute;
	font-size: 0.72em;
	left: 0;
	color: #ff0000;
}
.checkblock.form_item label.error {
	margin-left: 26px;
}
.contact {
	background: #f9f9f9;
	padding: 60px 80px 90px;
}
.formbox {
	max-width: 760px;
	margin: 0 auto;
}
.form_title {
	margin-top: 24px;
	margin-left: -6px;
	font-size: 14px;
	letter-spacing: 0.025em;
	color: #808080;
}
.formtab {
	width: 100%;
	padding-bottom: 10px;
}
.form_item {
	margin-top: 26px;
	display: flex;
	align-items: center;
}
.form_item-start {
	align-items: flex-start;
}
.form_item_title {
	width: 200px;
}
.form_item label {
	position: relative;
	font-size: 0.9em;
	font-weight: 700;
	letter-spacing: 0.025em;
	color: #00417e;
}
.must {
	position: absolute;
	right: -1.2em;
	font-size: 1em;
	color: #ff7404;
}
.note{
	font-size: 0.8em;
	color:#777777;
	font-weight: 400;
}
.form_item_content {
	width: 100%;
	position: relative;
}
@media (min-width:768px) {
	.form_item_content-expiration {
		display: flex;
		justify-content: flex-start;
		align-items: center;
		column-gap: 5px;
	}
}
@media (min-width:1200px) {
	.form_item_content-expiration {
		column-gap: 15px;
	}
}
.form_item_content-expiration:has(.error:not([style="display: none;"])) select {
	border: 0.75px solid #ff0000;
}
.form_item_select {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	column-gap: 5px;
}
@media (min-width:768px) {
	.form_item_select {
		width: 150px;
	}
}
@media (min-width:1200px) {
	.form_item_select {
		width: 150px;
		column-gap: 15px;
	}
}
input[type=text],
input[type=email],
input[type=tel],
select,
textarea {
	background: #fff;
	width: 100%;
	height: 45px;
	padding: 8px 12px;
	font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Helvetica Neue", sans-serif;
	font-weight: 500;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-ms-border-radius: 6px;
	-o-border-radius: 6px;
	border-radius: 6px;
	border: 1px solid #6d8ba8;
	color: #000;
}
textarea {
	resize: vertical;
}
input.half {
	width: 30%;
}
input[type=text].error,
input[type=email].error,
input[type=tel].error,
select.error,
textarea.error {
	border: 0.75px solid #ff0000;
}
.select {
	position: relative;
}
.select::after {
	content: "";
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 40px;
	background-image: url(../img/24_accordion_icon.png);
	background-size: contain;
	background-repeat: no-repeat;
	width: 20px;
	height: 10px;
	pointer-events: none;
}
.tel_notion,
.hope_notion {
	position: absolute;
	bottom: -20px;
	right: 0;
	font-size: 12px;
}
.expiration {
	opacity: 0;
	visibility: hidden;
	position: absolute;
}
textarea {
	height: 135px;
}
.privacy {
	margin-top: 20px;
}
.privacytit {
	text-align: center;
	font-weight: 700;
	letter-spacing: 0.05em;
	margin-bottom: 14px;
}
.privacyblock {
	padding: 25px 10px 25px 25px;
	background: #fff;
}
.privacybox {
	background: #fff;
	height: 220px;
	padding: 0 20px 0 0;
	overflow-y: scroll;
}
.privacybox::-webkit-scrollbar{
	width: 7px;
	height: 100%;
	background: #fff;
}
.privacybox::-webkit-scrollbar-thumb{
	background: #aaa;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
}
.privacytxt {
	font-size: 0.82em;
	letter-spacing: 0.025em;
}
.privacytxt .ullist {
	margin-left: 1.5em;
}
.privacytxt .ullist > li {
	list-style: decimal;
	margin-top: 1em;
}
.privacytxt .ollist {
	padding: 0 0 0 2em;
}
.privacytxt .ollist > li {
	list-style: decimal-leading-zero;
	margin-top: 1em;
}
.privacytxt .cirlist > li {
	text-indent: -1em;
	padding-left: 1em;
}
.privacyright {
	text-align: right;
	margin-top: 1em;
}
.checkblock.form_item {
	justify-content: center;
	color: #fff;
}
.checkblock .form_item_content {
	width: auto;
}
.formagree {
	display: flex;
	justify-content: center;
	position: relative;
}
.form_item .formagree label {
	display: flex;
	align-items: center;
	justify-content: center;
}
.formagree .agreetxt {
	font-size: 1.1em;
	position: relative;
	letter-spacing: 0.025em;
	color: #000;
	font-weight: 500;
}
.contact .formagree input[type=checkbox] {
	flex-shrink: 0;
	margin-right: 10px;
	width: 16px;
	height: 16px;
	border: 1px #b6b6b6 solid;
	background: #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
	position: relative;
}
.formagree input[type=checkbox]:checked {
	border: none;
	background-color: #0149ac;
}
.formagree input[type=checkbox]:checked:before {
	position: absolute;
	content: "";
	/* 画像ファイル読み込みから、直接描画（SVGデータ）に変更 */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	width: 14px; /* 少し小さめに調整 */
	height: 14px;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
}
.formnote {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}
.formnote .notetxt {
	position: relative;
	font-size: 14px;
	text-align: center;
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #004bb1;
	padding: 0 15px;
}
.formnote .notetxt:before {
	position: absolute;
	content: "";
	background: #004bb1;
	width: 2px;
	height: 100%;
	left: 0;
	bottom: 0;
	transform: rotate(-30deg);
	z-index: 0;
}
.formnote .notetxt:after {
	position: absolute;
	content: "";
	background: #004bb1;
	width: 2px;
	height: 100%;
	right: 0;
	bottom: 0;
	transform: rotate(30deg);
	z-index: 0;
}
.formbtn {
	margin-top: 30px;
	text-align: center;
}
.formbtn input[type=submit] {
	background: #ff7404;
	cursor: pointer;
	width: 400px;
	max-width: 100%;
	height: 60px;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.05em;
	font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Helvetica Neue", sans-serif;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	-ms-border-radius: 50px;
	-o-border-radius: 50px;
	border-radius: 50px;
	-webkit-box-shadow: 4px 4px 8px rgba(9,1,3,0.3);
	-moz-box-shadow: 4px 4px 8px rgba(9,1,3,0.3);
	-ms-box-shadow: 4px 4px 8px rgba(9,1,3,0.3);
	-o-box-shadow: 4px 4px 8px rgba(9,1,3,0.3);
	box-shadow: 4px 4px 8px rgba(9,1,3,0.3);
}

@media (max-width: 1199px) {
	.select::after {
		right: 30px;
	}
}

@media (max-width: 767px) {
	.form_item p.error {
		bottom: -20px;
	}
	.contact {
		padding: 40px 16px 50px;
	}
	.form_title {
		margin-top: 20px;
		margin-left: -4px;
	}
	.formtab {
		padding-bottom: 24px;
	}
	.form_item {
		margin-top: 28px;
		display: block;
	}
	.form_item .form_item_title {
		width: 100%;
	}
	input[type=text],
	input[type=email],
	input[type=tel],
	select,
	textarea {
		margin-top: 4px;
	}
	input.half {
		width: 100%;
	}
	.select::after {
		top: auto;
		transform: translateY(0);
		bottom: 18px;
	}
	.tel_notion {
		top: -16px;
		bottom: auto;
	}
	.privacy {
		margin-top: 20px;
	}
	.privacyblock {
		padding: 16px 10px 16px 16px;
	}
	.checkblock.form_item {
		margin-top: 20px;
	}
	.formagree .agreetxt {
		margin-right: 16px;
	}
	.contact .formagree input[type=checkbox] {
		margin-right: 8px;
	}
	.formnote .notetxt {
		font-size: 16px;
		padding: 0 12px;
	}
	.form_item .formagree label {
	align-items: flex-start;
}
	.agreetxt .must {
    right: 0em;
	position: relative;
}
}

/* エラーメッセージを枠の上に配置し、余白を調整 */
.form_item_content p.error {
    color: #e60012;      /* 視認性の高い赤 */
    display: block;      /* 1行を占有して上に配置 */
}

/* 入力枠自体の上の余白をリセット（重なり防止） */
.form_item_content input,
.form_item_content textarea {
    margin-top: 5px;
}

/* thanks
----------------------------------------------- */
.thanksbox {
	min-height: 80vh;
	padding: auto 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.thankstit {
	text-align: center;
	color: #004bb1;
	font-size: 2em;
	font-weight: 700;
	margin-bottom: 20px;
}
.thankstxt {
	font-size: 1em;
	line-height: 1.6;
	color: #004bb1;
	text-align: center;
	padding-bottom:20px;
}
/* エラーメッセージのスタイル */
.thanksbox {
    .inner {
max-width: 700px;
    }
}
.thanksbtn {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}


.thanksbtn a {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ff7404;
	cursor: pointer;
	width: 400px;
	max-width: 60%;
	height: 60px;
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 0.05em;
	font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Helvetica Neue", sans-serif;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	-ms-border-radius: 50px;
	-o-border-radius: 50px;
	border-radius: 50px;
	-webkit-box-shadow: 4px 4px 8px rgba(9,1,3,0.3);
	-moz-box-shadow: 4px 4px 8px rgba(9,1,3,0.3);
	-ms-box-shadow: 4px 4px 8px rgba(9,1,3,0.3);
	-o-box-shadow: 4px 4px 8px rgba(9,1,3,0.3);
	box-shadow: 4px 4px 8px rgba(9,1,3,0.3);
}


@media (max-width: 767px) {
.thanksbox {
	min-height: 100vh;
	padding: 50px 0;
}
.thankstit {
	font-size: 20px;
	margin-bottom: 30px;
	padding: 0 16px;
}
.thankstxt {
	font-size: 15px;
	}
}
.thanksbtn {
	margin-top: 30px;
}
.thanksbtn a {
	width: 90%;
	height: 50px;
	font-size: 16px;
}
.thanksbox {
    .inner {
		padding: 0 30px;
    }
}




/* SP/PC
----------------------------------------------- */
.sp {
	display: none;
}

@media (max-width: 767px) {
	.sp {
		display: block;
	}
}

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 画面の高さ100%を確保 */
}


.main {
    flex: 1; 
}


#footer {
    width: 100%;
}