@charset "UTF-8";

/* #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# PC・スマホ 共通設定 #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# */

/* L1 ######################################## お客様 お問い合わせ ######################################## */

#inquiry > h2::after {
	content: "お客様 お問い合わせ";
}

#form {
	position: relative;
}

/* L2 **************************************** モーダルウィンドウ **************************************** */

#inquiry-notice {
	display: block; /* Added display just for ordering, block is default for div */
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8);
}

#inquiry-notice #inquiry-notice-content {
	display: flex;
	flex-direction: column;
	width: 95%;
	max-width: 800px;
	/* height はJS制御 */
	/* max-height はJS制御 */
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid #ccc;
	border-radius: 8px;
	background-color: #fff;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#inquiry-notice #inquiry-notice-content > div:first-child,
#inquiry-notice #inquiry-notice-content > div:last-child {
	flex-shrink: 0;
	padding: 20px clamp(15px, 4vw, 30px);
}
#inquiry-notice #inquiry-notice-content > div:first-child {
	padding-bottom: 0;
}
#inquiry-notice #inquiry-notice-content > div:last-child {
	padding-top: 15px;
}

#inquiry-notice #modal-body {
	overflow-y: auto;
	position: relative;
	padding: 0 clamp(15px, 4vw, 30px);
	--gradient-height: 80px;
}

#inquiry-notice #modal-body::after {
	content: '';
	display: block;
	position: sticky;
	bottom: 0;
	left: 0;
	right: 0;
	height: var(--gradient-height);
	margin-top: calc(var(--gradient-height) * -1);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
	pointer-events: none;
}

#inquiry-notice #inquiry-notice-content > div:first-child p {
	margin-top: 0;
	margin-bottom: 15px;
	color: #cc0000;
	font-weight: bold;
}

#inquiry-notice #modal-body > div {
	margin-bottom: 20px;
	padding: 15px;
	text-align: left;
	border: 1px solid #eee;
	border-radius: 4px;
	background-color: #f9f9f9;
}

#inquiry-notice #modal-body > div h3 {
	margin-top: 0;
	margin-bottom: 10px;
	padding-bottom: 8px;
	color: #666600;
	font-size: 16px;
	border-bottom: 1px solid #ddd;
}

#inquiry-notice #modal-body > p {
	margin: 0.5em 0 10px;
	font-size: 14px;
	line-height: 1.7;
}

#inquiry-notice #modal-body > div ul {
	margin: 0.5em 10px;
	padding-left: 20px;
	font-size: 14px;
	line-height: 1.7;
}
#inquiry-notice #modal-body > div ul.circle {
	color: #444444;
	list-style-type: circle;
}

#inquiry-notice #modal-body > div > div:last-child {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #ddd;
}

#inquiry-notice #modal-body > div > div:last-child input {
	margin-right: 0.5em;
	vertical-align: middle !important;
	transform: scale(1.4);
}

#inquiry-notice #modal-body > div > div:last-child label {
	cursor: pointer;
	font-size: clamp(13px, 12.09px + 0.242vw, 15px);
	font-weight: bold;
}

#inquiry-notice #agree-button {
	cursor: pointer;
	width: 100%;
	padding: 15px;
	color: white;
	font-size: clamp(14px, 13.09px + 0.242vw, 16px);
	font-weight: bold;
	border-radius: 5px;
	border: transparent;
	background-color: #008ccf;
	transition: background-color 0.3s;
}

#inquiry-notice #agree-button:hover {
	background-color: #009be6;
}

#inquiry-notice #agree-button:disabled {
	cursor: not-allowed;
	color: #666;
	border: 1px solid #bbb;
	background-color: #ccc;
	opacity: 0.7;
}

#form #final-consent-area {
	margin-block: 1em;
	text-align: center;
}

#form #final-consent-area input[type="checkbox"] {
	margin-right: 5px;
	vertical-align: middle;
	transform: scale(1.4);
}

#form #final-consent-area label {
	color: #cc0000;
	font-size: 16px;
	font-weight: bold;
	vertical-align: middle;
}

#form #reopen-modal-trigger {
	cursor: pointer;
	color: #cc0000;
	text-decoration: underline;
}
#form #reopen-modal-trigger:hover {
	text-decoration: none;
}

/* L2 **************************************** フォーム **************************************** */

/* L3 ======================================== 注意書き ======================================== */

#notice {
	margin-bottom: 1em;
}

#notice p {
	margin-bottom: 1em;
	padding: 0.5em 10px;
	font-size: 1.6rem;
	text-align: center;
	
	border: 1px solid rgba(0, 0, 0, 0.2);
	background: rgba(0, 0, 0, 0.05);
}

#notice .point {
	color: #cc0000;
	font-size: 1.6rem;
}

#notice ul {
	margin-left: 40px;
	font-size: 1.4rem;
}

/* L3 ======================================== フォームパーツ ======================================== */

#form fieldset {
	margin-top: 1em;
	padding: 0.2em 20px 0.7em 20px;
	
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 5px;
}
#form fieldset:first-child {
	margin-top: 0;
}

#form fieldset legend {
	padding: 0 1em;
}

#form fieldset label {
	font-size: 1.6rem;
	letter-spacing: 0.2em;
	line-height: 1.0;
	
	text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

#form fieldset legend strong {
	display: inline-block;
	position: relative;
	top: -2px;
	margin-right: 0.3em;
	padding: 3px 6px 2px 6px;
	color: #ffffff;
	line-height: 1.0;
	background: #cc0000;
	
	border-radius: 10px;
}

#form fieldset legend strong.ok {
	background: #336699;
}
#form fieldset legend strong.ok::before {
	content: "\f00c";
	margin-right: 0.3em;
	font-family: "FontAwesome";
}

#form fieldset p.note {
	position: relative;
	margin: 0.5em 0 0 26px;
	color: #666666;
}
#form fieldset p.note::before {
	content: "\f044";
	position: absolute;
	top: -2px;
	left: -1.3em;
	color: #999999;
	font-family: "FontAwesome";
	font-size: 1.6rem;
}

#form fieldset div.error {
	overflow: hidden;
	height: 0;
	
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

#form fieldset div.error p {
	padding: 0.8em 10px;
	color: #ffffff;
	font-size: 1.2rem;
	text-align: center;
	line-height: 1.0;
	
	background: #cc0000;
}

#form input,
#form textarea {
	vertical-align: bottom;
	font-family: "メイリオ", "HiraKakuProN-W3", "MS UI Gothic", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
}

#form input,
#form textarea {
	padding: 5px 10px;
}

#form input[type="radio"] {
	vertical-align: top;
}

#form input#username,
#form input#email {
	width: 400px;
}

#form textarea {
	width: 600px;
}

#form input#age {
	width: 50px;
}

#form #gender {
	list-style-type: none;
	margin-bottom: -0.3em;
}

#form #gender li {
	display: inline-block;
}
#form #gender li::after {
	content: "/";
	position: relative;
	top: -2px;
	margin: 0 1em -2px 1em;
	color: #999999;
}
#form #gender li:last-child::after {
	display: none;
}

#form #gender label {
	cursor: pointer;
}

#form select {
	padding: 5px 10px;
}

#form select option:first-child {
	color: #999999;
}

#form fieldset div.counter {
	display: inline-block;
	padding: 0.5em 1.5em;
	color: #ffffff;
	line-height: 1.0;
	vertical-align: bottom;
	background: #666666;
	
	border-radius: 5px;
}

#form p.submit {
	margin-top: 1em;
	text-align: center;
}

#form p.submit button[type="submit"] {
	padding: 5px 15px;
	font-family: "メイリオ", "HiraKakuProN-W3", "MS UI Gothic", "ＭＳ Ｐゴシック", "Osaka", sans-serif;
	font-size: 1.6rem;
	vertical-align: top;
	letter-spacing: 0.1em
}
#form p.submit button[type="submit"]:disabled {
	cursor: not-allowed;
}

#form p.textarea-note {
	margin-block-end: 0.5em;
}

#form p.textarea-note strong {
	display: inline-block;
	padding: 0.2em 1em;
	color: #ffffff;
	background: #cc0000;
}

#form p.textarea-note strong span.underline{
	display: inline-block;
	line-height: 1.0;
	border-bottom: 2px dotted #ffffff;
}


/* #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# PC・スマホ 共通設定 ここまで #=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=# */


