@charset "utf-8";

/*-----------------------------------------------------
    共通
-----------------------------------------------------*/
:root {
	--main-color: #216BB5;

	--title-color: #126A41;

	--txt-color: #333;
	--bg-color: #fff;
	--input-border-color: #ccc;

	--done-color: #E2F0FF;
}
*, ::after, ::before {
	box-sizing: border-box;
	word-break: normal;
}
body {
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
	font-size: 16px;
	color: var(--txt-color);
	background-color: var(--bg-color);
}
@media (max-width: 768px) {
	body {
		font-size: 14px;
	}
}
a {
	text-decoration: none;
}
a:hover {
	transition-duration: .5s;
}
:focus {
	outline: none;
}
*:hover {
	transition-duration: .5s;
}

/* ディスプレイ */
.pc-on { display: block; }
.sp-on { display: none; }
@media (max-width: 768px) {
	.pc-on { display: none; }
	.sp-on { display: block; }
}
.d-il-block {
	display: inline-block;
}

/* flexbox */
.flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.flex.flex-start{
	justify-content: flex-start;
}
.flex.content-center{
	justify-content: center;
}
.flex.align-center{
	align-items: center;
}
.flex.align-bottom{
	align-items: flex-end;
}
.flex.col-2 > *{ width: 48%; }
.flex.col-3 > *{ width: 32%; }
.flex.col-4 > *{ width: 24%; }
.flex.col-6-4 > *:first-child{ width: 58%; }
.flex.col-6-4 > *:last-child{ width: 40%; }
.flex.col-7-3 > *:first-child{ width: 68%; }
.flex.col-7-3 > *:last-child{ width: 30%; }
.flex.col-8-2 > *:first-child{ width: 78%; }
.flex.col-8-2 > *:last-child{ width: 20%; }
@media (max-width: 768px) {
	.flex.col-2 > *, .flex.col-3 > *, .flex.col-4 > *,
	.flex.col-6-4 > *:first-child, .flex.col-6-4 > *:last-child,
	.flex.col-7-3 > *:first-child, .flex.col-7-3 > *:last-child,
	.flex.col-8-2 > *:first-child, .flex.col-8-2 > *:last-child{
		width: 100%;
	}
}

/* テキスト */
.txt-center{ text-align: center; }
.txt-left{ text-align: left; }
.txt-right{ text-align: right; }

small{ font-size: 87.5%; }
b,strong { font-weight: bold; }
.underline{ text-decoration: underline; }
.color-red {  color: #E31111; }

/* マージン */
.ml-05 { margin-left: 0.5em; }
.mr-05 { margin-right: 0.5em; }
.mt-05 { margin-top: 0.5em; }
.mb-05 { margin-bottom: 0.5em; }

/* フォーム部品 */
input, textarea {
	border: 1px solid var(--input-border-color);
}
input[type="text"],
input[type="email"] {
	width: 100%;
}
textarea {
	width: 100%;
	height: 10em;
}
input[type="number"] {
	width: 100px;
}
input[type="tel"] {
	width: min(80px, 100%);
}
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea {
	padding: 0.5em 0.75em;
}
input[type="text"]:hover,
input[type="email"]:hover,
input[type="number"]:hover,
input[type="tel"]:hover,
textarea:hover {
	cursor: text;
}
input[type="text"].done,
input[type="email"].done,
input[type="number"].done,
input[type="tel"].done,
textarea.done {
	background-color: var(--done-color);
}
input.w-480 { width: min(480px, 100%); }
input.w-300 { width: min(300px, 100%); }
input[name*="zip"] {
	width: min(175px, calc(100% - 1.5em));
}
input[type="tel"] + span {
	display: inline-block;
	margin: 0 0.5em;
}
@media (max-width: 768px) {
	input.w-480 { width: 100%; }
	input.w-300 { width: 100%; }
	textarea { height: 7em; }
}

dd > label {
	display: inline-block;
	margin: 0 2.5em 0.5em 0;
	cursor: pointer;
}
dd > label:last-child {
	margin-right: 0;
}

select {
	width: 100px;
	padding: 0.5em 0.75em;
	border: 1px solid var(--input-border-color);
}
select.done {
	background-color: var(--done-color);
}
.selectbox {
	display: inline-flex;
	align-items: center;
	position: relative;
}
.selectbox::after {
	position: absolute;
	right: 8px;
	width: 11px;
	height: 7px;
	background-color: var(--main-color);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	content: '';
	pointer-events: none;
	transition-duration: .3s;
}
.selectbox.select-open::after {
	transform: rotate(180deg);
}
.selectbox select {
	appearance: none;
}

.radio-button {
	display: flex;
	flex-wrap: wrap;
	gap: .3em 2em;
	border: none;
}
.radio-button label {
	display: flex;
	align-items: center;
	gap: 0 .5em;
	position: relative;
	cursor: pointer;
}
/* hasが使えるブラウザ用 */
@supports selector(:has(+ *)) {
	.radio-button label::before,
	.radio-button label::after {
		border-radius: 50%;
		content: '';
	}
	.radio-button label::before {
		width: 18px;
		height: 18px;
		border: 2px solid #dee5eb;
		box-sizing: border-box;
	}
	.radio-button label::after {
		position: absolute;
		top: 50%;
		left: 9px;
		transform: translate(-50%, -50%);
		width: 9px;
		height: 9px;
		/*background-color: #dee5eb;*/
	}
	.radio-button label:has(:checked)::after {
		background-color: #2589d0;
		animation: anim-radio-button .3s linear;
	}
	@keyframes anim-radio-button {
		0% {
				box-shadow: 0 0 0 1px transparent;
		}
		50% {
				box-shadow: 0 0 0 10px #2589d033;
		}
		100% {
				box-shadow: 0 0 0 10px transparent;
		}
	}
	.radio-button input[type="radio"] {
		display: none;
	}
}
.payment-radio-wrapper {
	display: inline-block;
	vertical-align: middle;
	margin-right: 1.5em;
}
@media (max-width: 768px) {
	.payment-radio-wrapper {
		display: block;
		margin-bottom: 0.5em;
	}
}

/* テーブル */
table {
	border-collapse: collapse;
	width: 100%;
}
table th,
table td {
	border: 1px solid #777;
	background-color: var(--bg-color);
}

/* リスト */
ul {
	list-style: none;
}
ul li {
	margin-left: 1.5em;
	position: relative;
	line-height: 1.5em;
}
ul li:before {
	content: '';
	width: 0.75em;
	height: 0.75em;
	border-radius: 50%;
	background-color: var(--main-color);
	position: absolute;
	top: 0.375em;
	left: -1.5em;
}

/*-----------------------------------------------------
    header
-----------------------------------------------------*/

header {
	width: min(960px, 90%);
	margin: 0 auto;
	padding: 41px 0 18px;
}
@media (max-width: 768px) {
	header {
		padding: 18px 0;
	}
}

/*-----------------------------------------------------
    main
-----------------------------------------------------*/

main h1 {
	background-color: var(--title-color);
	color: #fff;
	font-weight: bold;
	font-size: 225%;
	text-align: center;
	padding: 0.5em 5%;
}
main h1 span::before {
	content: '';
	display: inline-block;
	width: 1.85em;
	height: 1.5em;
	background-image: url(../img/icon_form.png);
	background-repeat: no-repeat;
	background-size: contain;
	vertical-align: middle;
	margin-right: 0.25em;
}
@media (max-width: 768px) {
	main h1 {
		font-size: 170%;
		padding: 0.75em 5%;
	}
	.form-en main h1 {
		font-size: 150%;
	}
	main h1 span {
		display: block;
	}
}

main .wrapper {
	width: min(780px, 90%);
	margin: 0 auto;
	padding: 4em 0 8em;
}
@media (max-width: 768px) {
	main .wrapper {
		padding: 2em 0 4em;
	}
}

main dt {
	font-weight: bold;
	margin-bottom: 0.5em;
}
main dd {
	margin-bottom: 1.5em;
}

main.complete .wrapper {
	width: min(960px, 90%);
}
.complete h2 {
	color: var(--title-color);
	margin-bottom: 1em;
}
.complete section p {
	margin-bottom: 1em;
}

/*-----------------------------------------------------
    共通パーツ
-----------------------------------------------------*/
.price-tbl-area {
	background-color: #eee;
	padding: 1.5em;
	margin-bottom: 1.5em;
}
.price-tbl-area .area-ttl {
	color: #1961A9;
	text-align: center;
	font-weight: bold;
}
.price-tbl-area .area-ttl span {
	font-size: 81.25%;
	font-weight: normal;
}
.price-tbl {
	text-align: center;
}
.price-tbl td {
	padding: 0.5em 0;
	font-size: 112.5%;
}
.price-tbl thead td {
	border: 0;
	background-color: inherit;
}
.price-tbl tbody tr:nth-child(even) td {
	background-color: #EDF2F8;
}
.price-tbl tbody td {
	font-weight: bold;
	width: 25%;
}
.price-tbl .price-unchin {
	border: 1px solid #777;
	background-color: var(--main-color);
	color: #fff;
	font-weight: bold;
	font-size: 100%;
	word-break: normal;
}
.price-tbl .price-unchin span {
	font-weight: normal;
	font-size: 81.25%;
	display: block;
	word-break: normal;
}
.price-tbl th.price-old {
	width: 5.5em;
	font-weight: normal;
	background-color: #D8ECFF;
	font-size: 100%;
}
.form-en .price-tbl th.price-old {
	text-align: left;
	padding: 0.5em;
}
.price-tbl td.price-route {
	width: 5.5em;
	font-weight: normal;
	font-size: 100%;
}
.form-en .price-tbl td.price-route {
	width: 7.5em;
	font-size: 87.5%;
	text-align: left;
	padding: 0.5em;
}
@media (max-width: 768px) {
	.price-tbl-area.remake {
		padding: 0.5em;
		margin-bottom: 0.5em;
	}
	.price-tbl-area .area-ttl {
		font-size: 115%;
	}
	.remake-tbl-area {
		margin-bottom: 1.5em;
	}
	.remake-tbl-area .price-tbl .price-unchin {
		text-align: left;
		padding: 0.5em 1em;
	}
	.remake-tbl-area .price-tbl th.price-old,
	.remake-tbl-area .price-tbl td.price-route {
		width: 3em;
	}
	.form-en .remake-tbl-area .price-tbl th.price-old {
		width: 2.5em;
		font-size: 87.5%;
	}
	.form-en .remake-tbl-area .price-tbl td.price-route {
		width: 5.5em;
	}
	.remake-tbl-area .price-tbl tbody td {
		width: 50%;
	}
}

.form-btn-area {
	text-align: center;
	width: 90%;
	margin: 2.5em auto 0;
}
.form-en .form-btn-area {
	width: 100%;
}
.form-btn-area button {
	font-weight: bold;
	font-size: 112.5%;
	padding: 1em 3em;
	margin: 0 1em;
	border-radius: 2em;
	position: relative;
}
.form-btn-area button[type="submit"] {
	background-color: var(--main-color);
	color: var(--bg-color);
	width: min(300px, 100%);
}
.form-en .form-btn-area button[type="submit"] {
	width: min(400px, 100%);
}
.form-en.form-confirm .form-btn-area button[type="submit"] {
	width: auto;
}
.form-btn-area button[onclick="history.back()"] {
	background-color: var(--bg-color);
	border: 1px solid #707070;
	padding: 1em 2.5em 1em 3.5em;
}
.form-btn-area button:before,
.form-btn-area button:after {
	content: '';
	position: absolute;
	transition-duration: .5s;
}
.form-btn-area button[type="submit"]:before {
	width: 0.6em;
	height: 0.6em;
	border-top: 2px solid var(--bg-color);
	border-right: 2px solid var(--bg-color);
	transform: rotate(45deg);
	top: calc(50% - 0.31em);
	right: 1em;
}
.form-btn-area button[type="submit"]:after {
	width: 0.75em;
	height: 2px;
	background-color: var(--bg-color);
	top: calc(50% - 1px);
	right: calc(1em + 1px);
}
.form-btn-area button[onclick="history.back()"]:before {
	width: 0.6em;
	height: 0.6em;
	border-top: 2px solid var(--txt-color);
	border-right: 2px solid var(--txt-color);
	transform: rotate(-135deg);
	top: calc(50% - 0.31em);
	left: 1em;
}
.form-btn-area button[onclick="history.back()"]:after {
	width: 0.75em;
	height: 2px;
	background-color: var(--txt-color);
	top: calc(50% - 2px);
	left: calc(1em + 1px);
}
.form-btn-area button[type="submit"]:hover:before {
	right: 0.75em;
}
.form-btn-area button[type="submit"]:hover:after {
	right: calc(0.75em + 1px);
}
.form-btn-area button[onclick="history.back()"]:hover:before {
	left: 0.75em;
}
.form-btn-area button[onclick="history.back()"]:hover:after {
	left: calc(0.75em + 1px);
}
@media (max-width: 768px) {
	.form-btn-area button {
		margin: 0 0 1.5em;
	}
	.form-en .form-btn-area button {
		font-size: 100%;
	}
	.form-confirm .form-btn-area button,
	.form-en.form-confirm .form-btn-area button[type="submit"] {
		width: min(400px, 100%);
	}
	.form-btn-area button[onclick="history.back()"]:after {
		top: calc(50% - 1px);
	}
}
.information-area {
	background-color: #eee;
	padding: 1.5em 2.5em;
	margin-top: 3em;
}
.information-area .area-ttl {
	color: var(--main-color);
	font-size: 150%;
	font-weight: bold;
}
@media (max-width: 768px) {
	.information-area {
		padding: 1.5em;
	}
}

.confirm-message {
	background-color: #E4F0FC;
	padding: 1em 1.5em;
	margin-bottom: 2em;
}
.confirm-message.error-message {
	background-color: #fce4e7;
}
.confirm-message + .form-btn-area {
	margin: 2em auto;
}

a.link-btn {
	display: inline-block;
	color: var(--txt-color);
	font-weight: bold;
	padding: 1em 3em;
	margin: 1em 0;
	border-radius: 2em;
	background-color: var(--bg-color);
	border: 1px solid #707070;
	transition-duration: .3s;
}
.complete a.link-btn {
	width: min(300px, 100%);
}
a.link-btn:hover {
	opacity: 0.7;
}

/*-------- ページトップ --------*/
#page-top {
	position: fixed;
	right: 20px;
	z-index: 700;
	opacity: 0;
	transform: translateY(100px);
	font-size: 75%;
}
#page-top a:before {
	content: '';
	display: block;
	margin: 0 auto;
	width: 50px;
	height: 35px;
	background: url("img/foot.svg") no-repeat;
	background-size: contain;
}
#page-top a:hover {
	opacity: 0.6;
}
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
#page-top a {
	color: var(--main-color);
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

/*-------- cookie同意 --------*/
.cookie-consent {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	bottom: 0;
	width: 100%;
	font-size: 12px;
	color: #fff;
	background: rgba(0,0,0,.7);
	padding: 1.2em max(calc(calc(100% - 1200px) / 2), 2em);
	box-sizing: border-box;
	visibility: hidden;
}
.cookie-consent.is-show {
	visibility: visible;
}
.cookie-text {
	width: calc(100% - 10em - 20px);
}
.policy-link a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid ;
}
.cookie-agree, .cookie-reject {
	color: #fff;
	background: dodgerblue;
	padding: 1em 1.5em;
	margin-left: 20px;
	width: 10em;
	font-size: 1.2em;
	text-align: center;
}
.cookie-agree:hover, .cookie-reject:hover {
	cursor: pointer;
}
/* パッと消える */
.cc-hide1 {
	display: none;
}
/* ゆっくり消える */
.cc-hide2 {
	animation: hide 1s linear 0s;
	animation-fill-mode: forwards;
}
@keyframes hide {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		visibility: hidden;
	}
}
/* メディアクエリ */
@media (max-width: 768px) {
	.cookie-consent {
		flex-direction: column;
	}
	.cookie-text {
		width: 100%;
		margin-bottom: 1em;
	}
	.cookie-agree, .cookie-reject {
		width: 100%;
		margin: 0;
	}
}