@charset 'UTF-8';

/*----------------------------------------

	+ index
		- btn_box
		- office
	- formarea
	- complete

-----------------------------------------*/

/*----------------------------------------
	index
-----------------------------------------*/

#index .inner_box:not(:first-of-type) {
	margin-top: 80px;
}

#index .btn_box {
	display: grid;
	gap: 40px 56px;
	grid-template-columns: repeat(2, 1fr);
	margin-top: 50px;
}

#index .btn_box a.btn-l {
	width: initial;
	height: initial;
	aspect-ratio: 1 / 0.2;
}

/* ボタンアイコン調整 */
#index .btn_box .btn-ic-contact::after {
	margin: 0 0 0 20px;
}

#index .btn_box .btn-ic-pdf::after {
	margin: 0 0 0 20px;
}

#index .btn_box+p {
	margin-top: 80px;
}

/* 中間サイズ */
@media screen and (min-width: 769px) and (max-width: 1280px) {
	#index .btn_box {
		gap: 3.13vw 4.37vw;
	}

	#index .btn_box a.font20_14 {
		font-size: 1.56vw;
	}

	/* ボタンアイコン調整 */
	#index .btn_box .btn-ic-contact::after {
		margin: 0 0.3vw 0 1.5vw;
	}

	#index .btn_box .btn-ic-pdf::after {
		margin: 0 0 0 1.2vw;
	}
}

/* spサイズ */
@media screen and (max-width: 768px) {
	#index .inner_box:not(:first-of-type) {
		margin-top: 15.38vw;
	}

	#index .btn_box {
		gap: 5.12vw;
		grid-template-columns: 1fr;
		margin-top: 7.5vw;
	}

	#index .btn_box a.btn-l {
		width: 100%;
		height: 13.33vw;
		margin: auto;
		letter-spacing: 0.03em;
		aspect-ratio: initial;
	}

	#index .btn_box a.btn-ic-contact {
		width: 87.17vw;
	}

	#index .btn_box a.btn-ic-pdf {
		width: 76.92vw;
	}

	/* ボタンアイコン調整 */
	#index .btn_box .btn-ic-contact::after {
		width: 5.6vw;
		height: 4vw;
		margin: 0 1vw 0 2.3vw;
	}

	#index .btn_box .btn-ic-pdf::after {
		width: 7.69vw;
		height: 7.69vw;
		margin: 0 0 0 1.6vw;
	}

	#index .btn_box+p {
		margin-top: 10vw
	}
}

/*----------------------------------------
	各お問い合わせ 共通
-----------------------------------------*/

.font18_14 {
	letter-spacing: 0.03em;
}

/* 説明文 */
.heading_03+p.font18_14 {
	margin-top: 50px;
}

/* DLページ画像 */
.img_box {
	max-width: 760px;
	margin: 60px auto 0;
	aspect-ratio: 1.5 / 1;
}

.img_box img {
	height: 100%;
	object-fit: contain;
}

/* フォーム */
#formarea {
	margin-top: 100px;
}

/* spサイズ */
@media screen and (max-width: 768px) {
	.heading_03 .font28_20 {
		border-left-width: 1.22vw;
	}

	.heading_03+p.font18_14 {
		margin-top: 7.4vw;
	}

	.img_box {
		max-width: initial;
		margin-top: 7.69vw;
	}

	#formarea {
		margin-top: 15.38vw;
	}

	/* ボタンアイコン調整 */
	.btn-ic-pdf::after {
		width: 7.69vw;
		height: 7.69vw;
	}

	.btn-ic-contact::after {
		width: 5.6vw;
		height: 3.8vw;
	}

	.btn-ic-prevarw::after {
		width: 7.69vw;
		height: 7.69vw;
	}
}

/* ファイル添付エラー */
.file-attachment-error {
	margin-top: 50px;
}
.file-attachment-error p {
	padding: 8px 12px 8px 0;
	color: #d8000c;
}
@media screen and (max-width: 768px) {
	.file-attachment-error {
		margin-top: 10vw;
	}
}

/* フォームエラーメッセージ */
#formarea .fields {
	display: flex;
	flex-direction: column;
}

#formarea dl {
	display: flex;
	position: relative;
	gap: 20px;
	width: 100%;
	margin: 0;
	padding: 20px 0 15px;
	border-bottom: #e2e2e2 1px solid;
}

#formarea dl.haserror {
	background-color: #ffe8e8;
}

#formarea dl>dt {
	display: flex;
	align-items: baseline;
	box-sizing: border-box;
	width: 260px;
	padding: 11px 16px 11px 4px;
}

#formarea dd {
	position: relative;
	width: calc(100% - 260px);
	padding: 11px 16px 4px 4px;
}

#formarea dd input[type="text"] {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 3em;
	padding: 8px 12px;
	border: 1px solid #bebebe;
	background: #f5f5f5;
	transition: background-color 0.3s;
}

#formarea dd textarea {
	box-sizing: border-box;
	display: block;
	width: 100%;
	min-height: 5em;
	height: 10em;
	padding: 8px 12px;
	border: 1px solid #bebebe;
	background: #f5f5f5;
	resize: vertical;
	transition: background-color 0.3s;
}

#formarea dd input[type="text"]:hover,
#formarea dd textarea:hover,
#formarea dd select:hover {
	background-color: rgba(0, 0, 0, 0.2);
}

#formarea dd input[type="text"]:focus,
#formarea dd textarea:focus {
	background-color: #ffe8e8;
}

#formarea dd select {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 3em;
	padding: 8px 12px;
	border: 1px solid #bebebe;
	background: #f5f5f5;
}

#formarea dd p.error {
	display: none;
}

#formarea dl.haserror dd p.error {
	display: block;
	position: absolute;
	top: -34px;
	padding: 5px 10px;
	border-radius: 5px;
	background-color: red;
	color: #fff;
	box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

#formarea dd p.error::after {
	position: absolute;
	bottom: -7px;
	left: 5px;
	width: 0;
	height: 0;
	border-width: 8px 7px 0 7px;
	border-style: solid;
	border-color: red transparent transparent;
	content: '';
}

/* 必須ラベル */
#formarea dt span.required,
.not-reqiured {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 45px;
	margin-right: 8px;
	padding: 6px;
	background-color: #d8000c;
	color: #fff;
	font-size: 0.8em;
	font-weight: bold;
	line-height: 1;
	vertical-align: middle;
}

.not-reqiured {
	background-color: #777;
}

.annotation {
	padding: 40px 16px 0 4px;
	border-radius: 5px;
}

.privacy_policy a {
	color: var(--color_pointgold);
	text-decoration: underline;
}

.privacy_policy a:hover {
	text-decoration: none;
}

.form-submit-wrap {
	display: flex;
	justify-content: center;
	margin: 40px auto 0;
	clear: both;
}

.form-submit-wrap .submitBtn {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: flex;
	justify-content: center;
	align-items: center;
	min-width: 240px;
	margin-right: 5px;
	padding: 16px 48px;
	border: solid 1px #175388;
	border-radius: 4px;
	background-color: #175388;
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	transition: all .2s ease;
}

.form-submit-wrap .submitBtn:hover {
	border: solid 1px #0c4170;
	background-color: #0c4170;
}

/* spサイズ */
@media screen and (max-width: 768px) {
	#formarea dl {
		flex-direction: column;
		gap: 0;
		padding: 44px 0 15px;
	}

	#formarea dl>dt {
		width: 100%;
		padding: 11px 16px 0 0;
	}

	#formarea dd {
		width: 100%;
	}

	#formarea dd input[type="text"],
	#formarea dd textarea,
	#formarea dd select {
		height: 2.5em;
	}

	#formarea dd p.error {
		top: -85px !important;
	}

	#formarea dt span.required,
	.not-reqiured {
		align-items: center;
		width: 9vw;
		margin-right: 8px;
		padding: 6px;
	}

	.annotation {
		padding: 40px 16px 0 4px;
		border-radius: 5px;
	}

	.form-submit-wrap .submitBtn {
		min-width: 140px;
		padding: 16px 8px;
	}
}

/*----------------------------------------
	complete 共通
-----------------------------------------*/

.complete {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 80px;
}

.complete .head {
	color: var(--color_basicblue);
	letter-spacing: 0.04em;
	text-align: center;
}

.complete .txt {
	margin-top: 28px;
	text-align: center;
}

.complete .txt span {
	display: block;
	text-align: center;
}

/* ダウンロード */
.complete .dl {
	display: grid;
	gap: 30px;
	grid-template-columns: 1fr;
	width: 100%;
	margin-top: 80px;
}

.complete figure {
	max-width: 600px;
	width: 100%;
	margin: auto;
	background: var(--color_white);
	aspect-ratio: 1 / 1;
}

.complete figure img {
	height: 100%;
	object-fit: contain;
}

.complete .dl a {
	margin: auto;
}

/* お問い合わせ */
.complete .mail {
	margin-top: 30px;
	letter-spacing: 0.03em;
	color: var(--color_pointgold);
	text-decoration: underline;
	text-align: center;
}

.complete .mail::after {
	content: "";
	display: inline-block;
	background-image: url(../../img/c_ic_contact_pointgold.svg);
	background-position: center;
	background-size: 22px 15px;
	background-repeat: no-repeat;
	width: 22px;
	height: 15px;
	margin-left: 10px;
}

/* TOPページに戻る */
.complete .back {
	position: relative;
	width: 100%;
	margin-top: 100px;
}

.complete .back::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--color_silver);
}

.complete .back a {
	margin: auto;
}

/* spサイズ */
@media screen and (max-width: 768px) {
	.complete {
		margin-top: 12.3vw;
	}

	.complete .txt {
		margin-top: 5.12vw;
	}

	/* ダウンロード */
	.complete .dl {
		gap: 5.12vw;
		margin-top: 11.68vw;
	}

	/* お問い合わせ */
	.complete .mail {
		margin-top: 5.12vw;
		letter-spacing: 0.04em;
		text-decoration: none;
	}

	.complete .mail::after {
		background-size: 5.5vw 3.7vw;
		width: 5.5vw;
		height: 3.7vw;
		margin-left: 2.56vw;
	}

	.complete .btn-basicblue {
		width: 76.92vw;
		height: 13.33vw;
	}

	/* TOPページに戻る */
	.complete .back {
		margin-top: 15.38vw;
	}
}