@charset "utf-8";


/* 変数 */
:root {
	--okm-red: #e60039; 
	--gray-line: #ddd; 
	--gray-bg: #f5f5f5; 

	--default-font-size: clamp(13px, calc(100vw * 14 / 768) , 15px); 

	--okm-shin-go-l: "UD Shin Go Light" , "UDShinGoPro-Light", "Noto Sans JP", sans-serif;
	--okm-shin-go-r: "UD Shin Go Regular" ,  "UDShinGoPro-Regular", "Noto Sans JP", sans-serif;
	--okm-shin-go-m: "UD Shin Go Medium" , "UDShinGoPro-Medium" , "Noto Sans JP", sans-serif;
	--okm-shin-go-db: "UD Shin Go DemiBold" , "UDShinGoPro-DeBold", "Noto Sans JP", sans-serif;
	--okm-shin-go-b: "UD Shin Go Bold" , "UDShinGoPro-Bold", "Noto Sans JP", sans-serif;
	--okm-shin-go-h: "UD Shin Go Heavy" , "UDShinGoPro-Heavy" , "Noto Sans JP", sans-serif;
}

/* タイトル・リード文 */
.support-form__header,
.support-form__thanks,
.privacy-policy {
	width: min(calc(100%), 840px); 
	margin: 20px auto 40px;
}

.support-form__title {
	font-family: var(--okm-shin-go-m);
	font-size:clamp(16px, calc(100vw * 24 / 768) , 24px); 
	margin-bottom: 1em;
}

.support-form__header p,
.support-form__thanks p {
	font-size: clamp(14px, calc(100vw * 16 / 768) , 16px); 
	line-height: 1.8; 
}

.support-form__header p em,
.support-form__thanks p em {

}

.main article .support-form__header p:has(+p),
.main article .support-form__thanks p:has(+p) {
	margin-bottom: 1em;
}

/* 親グリッド */
.support-form {
	display: grid;
	grid-template-rows: auto 1fr;
	row-gap: 30px;
	width: min(calc(100%), 840px); 
	margin: 20px auto;

}

/* 各フィールド（dl） */
.support-form__field {
	display: grid;
	row-gap: 5px;
	align-items: start;
}

/* ラベル（dt） */
.support-form__label {
	white-space: nowrap; /* 必要に応じて */
}

.support-form__label span {
	display: block; 
	font-size:var(--default-font-size); 
	line-height: normal;
	display: flex;
	align-items: center; 
	gap: 5px; 
}

/* 入力領域（dd） */
.support-form__control {
	min-width: 0; /* ←これ重要（inputはみ出し防止） */
}

.support-form__control:has(.support-form__option) {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px; 
	padding: 0; 
}


.support-form__note {
	display: block; 
	font-size:var(--default-font-size); 
	line-height: 1.6; 
	color: #666; 
	margin-top: 10px;
	text-indent: -1em; 
	padding-left: 1em; 
	text-align: left; 
}

.main p.support-form__note a[target="_blank"] {
	display: inline; 
}

/* 入力要素の基本 */
.support-form__control input[type="text"],
.support-form__control select,
.support-form__control textarea {
	width: 100%;
	display: block;
	vertical-align: top; 
	line-height: normal;
	box-sizing: border-box;
	margin: 0;
	padding: 16px; 
	font-size:var(--default-font-size); 
	outline: none; 
	border: none; 
	background: var(--gray-bg); 
}

.support-form__control select {
	height: 54px; 
}

.support-form__label:has(+ .support-form__control :is(input, select, textarea):required) span:after {
	content: "必須";
    display: inline-block;
    width: fit-content;
    background-color: var(--okm-red);
    color: #fff;
    font-size: 10px;
    white-space: nowrap;
    padding: 3px;
    line-height: 1;
}

.support-form__control select {
	appearance: none;
	background-image: none; 
	background-size: 10px; 
	background-position: right 20px top 50%; 
	background-repeat: no-repeat; 
	background-image: url('data:image/svg+xml;charset=utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20version%3D%221.1%22%20id%3D%22%E3%83%AC%E3%82%A4%E3%83%A4%E3%83%BC_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20x%3D%220px%22%20y%3D%220px%22%20viewBox%3D%220%200%2010%2010%22%20style%3D%22enable-background%3Anew%200%200%2010%2010%3B%22%20xml%3Aspace%3D%22preserve%22%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%20.st0%7Bfill%3Anone%3Bstroke%3A%23000000%3B%7D%3C%2Fstyle%3E%3Cpath%20id%3D%22%E3%83%91%E3%82%B9_593%22%20class%3D%22st0%22%20d%3D%22M9%2C3L5%2C7L1%2C3%22%2F%3E%3C%2Fsvg%3E');
}

.support-form__option {
	display: flex;
	width: fit-content; 
	align-items: center; 
	flex-direction: row; 
	gap: 10px; 
	flex: 0 0 auto; 
}

.support-form__option span {
	font-size:var(--default-font-size); 
}

.support-form__submit {
	display: block; 
	width: min(calc(100%), 840px); 
	text-align: center; 
	margin: 60px auto;
}

button[type="submit"][name="submit"] {
	max-width: 390px;
	width: 100%; 
	height: 80px;
	background: #666;
	position: relative;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	border: none;
	box-shadow: none;
	outline: none;
	cursor: pointer; 
}

button[type="submit"][name="submit"] span {
	position: relative; 
	display: block; 
	z-index: 1; 
	overflow: hidden;
    text-indent: 0;
	color: #fff; 
}



button[type="submit"][name="submit"]:before {
	content: "";
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	background: none;
	background-size: cover;
	width: 100%;
	height: 100%;


    background: var(--okm-red);
    z-index: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s ease, opacity .5s ease;
}

button[type="submit"][name="submit"]:hover:before {
	transform: scaleX(1);
	transform-origin: left;
}

button[type="submit"][name="submit"]:after {
	display: none; 
}

.privacy-policy {
	border-top: 1px solid #ddd; 
	margin-top: 30px;
	padding-top: 30px; 
}

.privacy-policy__title {
	font-size:clamp(16px, calc(100vw * 20 / 1366) , 20px); 
	margin-bottom: clamp(16px, calc(100vw * 20 / 1366) , 20px); 
}

.privacy-policy__body {
	height: 10em;
	overflow-y: scroll;
	border: 1px solid #ddd;
	padding: 20px;
	margin-bottom: 20px;
	font-size:var(--default-font-size); 
}

.privacy-policy__text {
	margin-bottom: 1em;
}

.privacy-policy__list {
	margin: 1em 0;
	padding-left: 40px;
	list-style-type: disc;
}

.privacy-policy__contact {
	display: block;
	margin: 1em 0 0;
	text-align: right;
}

.privacy-policy__contact-text {
	text-align: right !important;
	text-justify: auto !important; 
	margin: 0 !important;
}

.g-recaptcha {
	width: fit-content; 
	text-align: center; 
	margin: auto;
}

/* ==================================================
= Media Queries
================================================== */

/* 480px未満 */
@media only screen and (max-width: 479px) {


}

/* 480px以上 */
/* スマホ */
@media only screen and (min-width: 480px) {


}

/* 568px以上 */
/* タブレット */
@media only screen and (min-width: 568px) {


}

/* 667px以上 */
/* タブレット */
@media only screen and (min-width: 667px) {


}

/* 768px以上 */
/* タブレット */
@media only screen and (min-width: 768px) {

	/* タイトル・リード文 */
	.support-form__header,
	.support-form__thanks {
		margin: 40px auto 60px;
	}


	/* 親グリッド */
	.support-form {
		grid-template-columns: auto 1fr;
		column-gap: 30px;
		row-gap: 20px;
	}

	/* 各フィールド（dl） */
	.support-form__field {
		grid-template-columns: subgrid;
		grid-column: 1 / -1; /* 親グリッドを跨ぐ */
		row-gap: 0;
	}

	/* ラベル（dt） */
	.support-form__label {
		grid-column: 1;
	}

	.support-form__label span {
		padding: 16px 0; 
	}

	/* 入力領域（dd） */
	.support-form__control {
		grid-column: 2;
	}

	.support-form__control:has(.support-form__option) {
		padding: 16px 0; 
	}



	/* 入力要素の基本 */
	.support-form__control input[type="text"],
	.support-form__control select,
	.support-form__control textarea {
		padding: 16px; 
	}

}

/* 1024px以上 */
/* PC */
@media only screen and (min-width: 1024px) {



}



