@charset "utf-8";

/* Font

Optima LT Pro Bold
font-family: "optima-lt-pro", sans-serif;
font-weight: 700;
font-style: normal;

Hiragino Kaku Gothic ProN W3
font-family: "hiragino-kaku-gothic-pron", sans-serif;
font-weight: 300;
font-style: normal;

Hiragino Kaku Gothic ProN W6
font-family: "hiragino-kaku-gothic-pron", sans-serif;
font-weight: 600;
font-style: normal;

*/

#contact #mail_form {
	margin: 0 auto 50px;
}

#contact .contactbacklightblue {
	background-color:#ddf2f0;
}

#mail_form h3 {
	display:block;
	width:100%;
	height:55px;
	font-size:2.7rem;
	text-align:left;
	font-weight:bold;
	padding-top: 0;
	padding-left:28px;
	line-height: 55px;
	margin-bottom:10px;
}

.contact_howto .contact_description {
	font-size: 1.5rem;
	line-height: 2;
	margin-top: 25px;
}
.contact_howto .contact_description2 {
	font-size: 1.6rem;
	line-height: 2;
	margin-top: 25px;
}
.contact_howto .contact_description2 span {
	font-weight: bold;
}

/*-------------------------------------
フォーム ステップ
-------------------------------------*/

#contact.helpdesk .form_step {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 60px;
    margin: 50px auto 100px;
}

#contact.helpdesk .form_step_item {
    display: flex;
    flex-direction: column;
    align-items: center;
	position: relative;
}

#contact.helpdesk .form_step_item:not(:last-child)::after {
	content: "";
	position: absolute;
	width: 60px;
	height: 1px;
	top: 30px;
	left: 60px;
	background-color: #00797e;
	visibility: visible;
	clear: none;
}

#contact.helpdesk .form_step_number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #fff;

    font-family: "optima-lt-pro", sans-serif;
    font-weight: 700;
    font-size: 2.9rem;
    line-height: 1;
    color: #00797e;
	border: 1px solid #00797e;
}

#contact.helpdesk .form_step_text {
    margin-top: 8px;
    font-size: 1.6rem;
    font-weight: bold;
    color: #00797e;
	opacity: 0.6;
}

.form_text_s {
	font-size: 1.2rem;
	color: #898989;
	font-weight: 300;
	line-height: 1.6;
	padding-top: 5px;
}

/* 現在のステップ */

#contact.helpdesk .form_step_item.current .form_step_number {
	background-color: #00797e;
    color: #fff;
}

#contact.helpdesk .form_step_item.current .form_step_text {
	opacity: 1;
}

#contact.helpdesk h4 {
	width: 100%;
	margin: 40px 0 20px;
	padding: 0 0 10px;
	font-size: 2.4rem;
	font-weight: bold;
	text-align: left;
	border-bottom: 3px solid #00797e;
}


/*-------------------------------------
フォーム デザイン
-------------------------------------*/

/* 氏名・ふりがな */
#contact.helpdesk .name_fields {
	display: flex;
	align-items: center;
	gap: 45px;
	
}

#contact.helpdesk .name_fields label {
	display: flex;
	align-items: center;
	gap: 22px;
}
#contact.helpdesk .name_fields label span {
	flex-shrink: 0;
}

/* ラジオボタン */
#contact.helpdesk .radio_fields {
	display: flex;
	align-items: center;
	gap:  30px;
	height: 80px;
	margin: 0;
}
#contact.helpdesk .radio_fields label {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

#contact.helpdesk .radio_fields input[type="radio"] {
	accent-color: #00797e;
	cursor: pointer;
}


/* 必須 */
#contact.helpdesk dl dt:has(+ dd.required)::before {
	content: "※";
	color: #e60012;
	font-size: 1.4rem;
	margin-right: 1px;
}

/* フォーム入力欄 */

/* input textarea共通 */
#contact.helpdesk #mail_form input[type="text"],
#contact.helpdesk #mail_form input[type="tel"],
#contact.helpdesk #mail_form input[type="email"],
#contact.helpdesk #mail_form textarea {
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 0;
	background-color: #fff;
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 300;
	font-size: 1.5rem;
	color: #333333;
}
#contact.helpdesk #mail_form input[type="text"],
#contact.helpdesk #mail_form input[type="tel"],
#contact.helpdesk #mail_form input[type="email"] {
	width: 100%;
	height: 50px;
	padding: 0 15px;
	margin: 0;
}
/* 氏名・ふりがな */
#contact.helpdesk .name_fields input {
	width: 200px;
	margin: 0;
}
/* textarea */
#contact.helpdesk #mail_form textarea {
	width: 100%;
	height: 240px;
	padding: 15px;
	margin: 0;
	resize: vertical;
}
/* placeholder */
#contact.helpdesk #mail_form input::placeholder,
#contact.helpdesk #mail_form textarea::placeholder {
	color: #898989;
	opacity: 1;
}
#contact.helpdesk #mail_form input[type="text"]:focus,
#contact.helpdesk #mail_form input[type="tel"]:focus,
#contact.helpdesk #mail_form input[type="email"]:focus,
#contact.helpdesk #mail_form textarea:focus {
	outline: 1px solid #00797e;
	border-color: #00797e;
}

#contact.helpdesk #mail_form dl {
	border-bottom: 1px solid #ccc;
}

/*-------------------------------------
フォーム 下
-------------------------------------*/
#contact.helpdesk .form_under {
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 600;
	font-size: 1.7rem;
	line-height: 1.8;
	margin: 50px auto 85px;
}
#contact.helpdesk .contact_textbox {
	background-color: #ddf2f0;
	width: 100%;
	padding: 40px;
}
#contact.helpdesk .contact_textbox p {
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 600;
	font-size: 2rem;
	margin-bottom: 5px;
}
#contact.helpdesk .contact_textbox ul {
	list-style-position: outside;
	list-style-type: disc;
	margin: 0;
	padding-left: 25px;
}
#contact.helpdesk .contact_textbox ul li {
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 300;
	text-align: left;
	font-size: 1.4rem;
	line-height: 2;
	padding: 0 0 10px 5px;	
}
#contact.helpdesk .contact_textbox ul li:nth-last-child(1) {
	padding-bottom: 0;
}
#contact.helpdesk .contact_textbox ul li a {
	color: #00797e;
	text-decoration: underline;
}
#contact.helpdesk .form_under2 {
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 600;
	font-size: 1.7rem;
	line-height: 1.8;
	margin: 55px auto 20px;
}
#contact.helpdesk .contactUseCheck {
	font-family: "hiragino-kaku-gothic-pron", sans-serif;
	font-weight: 600;
	font-style: normal;
	font-size: 2rem;
}
#contact.helpdesk .contactUseCheck input[type="checkbox"] {
	accent-color: #00797e;
	cursor: pointer;
}
/* 同意チェックエラー */
#contact.helpdesk .consent_error {
	display: none;
	color: #e60012;
	font-size: 1.4rem;
	font-weight: 300;
	margin-top: 10px;
}

/*-------------------------------------
確認画面
-------------------------------------*/

#contact.helpdesk .confirm_message {
    margin: 60px auto 30px;
    text-align: center;
}

#contact.helpdesk .confirm_message p {
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.8;
	text-align: center;
}

#contact.helpdesk .confirm_buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 auto 80px;
}

#contact.helpdesk .confirm_buttons button {
    width: 240px;
    height: 60px;
    border: none;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

#contact.helpdesk .confirm_back {
    background-color: #eee;
    color: #333;
}

#contact.helpdesk .confirm_send {
    background-color: #00797e;
    color: #fff;
}

#contact.helpdesk .confirm_buttons button:hover {
    opacity: 0.7;
}

/* 同意チェックによる確認ボタンの切り替え */

/* チェックなし：グレー */
#contact.helpdesk #form_submit_button:disabled {
    background: #bcbcbc;
    color: #fff;
    border-color: #bcbcbc;
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
}

/* チェックあり：有効状態 */
#contact.helpdesk #form_submit_button:not(:disabled) {
    background: #00797e;
    color: #fff;
    border-color: #00797e;
    cursor: pointer;
}

/* 送信完了ページのコンテンツ幅 */
#contact.helpdesk:has(.thanks_message) > .contactbacklightblue,
#contact.helpdesk:has(.thanks_message) > .form_step,
#contact.helpdesk:has(.thanks_message) > .thanks_message {
    width: 90%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/*-------------------------------------
送信完了画面
-------------------------------------*/

#contact.helpdesk:has(.thanks_message) > h3.contactbacklightblue {
    display: block;
    height: 55px;
    padding: 0 28px;
    margin-bottom: 10px;
    line-height: 55px;
    font-size: 2.7rem;
    font-weight: bold;
    text-align: left;
}

/* 完了メッセージ全体 */
#contact.helpdesk .thanks_message {
    padding-bottom: 20px;
}

/* 完了見出し */
#contact.helpdesk .thanks_message h4 {
    margin: 40px 0 30px;
}

/* 本文 */
#contact.helpdesk .thanks_message p {
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    line-height: 2;
    text-align: left;
}

/* 注意書き */
#contact.helpdesk .thanks_note {
    margin-top: 30px;
}

/* トップページへ戻るボタン */
#contact.helpdesk .thanks_back {
    margin: 60px auto 80px;
    text-align: center;
}

#contact.helpdesk .thanks_back a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 282px;
    height: 70px;
    margin: 0 auto;
    background-color: #00797e;
    color: #fff;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s;
}

#contact.helpdesk .thanks_back a:hover {
    opacity: 0.7;
}

/*-------------------------------------
スマートフォン
-------------------------------------*/
@media screen and (max-width: 640px) {
	/* 送信完了画面 見出し */
	#contact.helpdesk:has(.thanks_message) > h3.contactbacklightblue {
		height: auto;
		min-height: 45px;
		padding: 10px 15px;
		margin-bottom: 10px;
		line-height: 1.5;
		font-size: 2rem;
	}
	#mail_form h3 {
        display: block;
        width: 100%;
        height: auto;
        font-size: 2rem;
        text-align: left;
        font-weight: bold;
        padding-left: 10px;
        padding-top: 15px;
        padding-bottom: 25px;
        margin-bottom: 10px;
    }
	.asterisk {
            background-image: url(../images/contact04.png);
            background-repeat: no-repeat;
            background-position: 10px 60px;
    }

	/*-------------------------------------
	フォーム ステップ
	-------------------------------------*/
	#contact.helpdesk .form_step {
		gap: 40px;
		margin: 35px auto 60px;
		justify-content: center;
	}

	#contact.helpdesk .form_step_number {
		width: 50px;
		height: 50px;
		font-size: 2.4rem;
	}

	#contact.helpdesk .form_step_item:not(:last-child)::after {
		width: 40px;
		top: 25px;
		left: 50px;
	}

	#contact.helpdesk .form_step_text {
		margin-top: 6px;
		font-size: 1.4rem;
	}


	/*-------------------------------------
	見出し
	-------------------------------------*/
	#contact.helpdesk h4 {
		margin: 30px 0 10px;
		font-size: 2rem;
	}


	/*-------------------------------------
	氏名・ふりがな
	-------------------------------------*/
	#contact.helpdesk .name_fields {
		display: flex;
		gap: 10px;
	}

	#contact.helpdesk .name_fields label {
		flex: 1;
		gap: 5px;
		min-width: 0;
	}

	#contact.helpdesk .name_fields input {
		width: 100%;
		min-width: 0;
	}


	/*-------------------------------------
	通常の入力欄
	-------------------------------------*/
	#contact.helpdesk #mail_form input[type="text"],
	#contact.helpdesk #mail_form input[type="tel"],
	#contact.helpdesk #mail_form input[type="email"] {
		width: 100%;
		height: 45px;
		font-size: 1.4rem;
		padding: 0 10px;
	}

	#contact.helpdesk #mail_form textarea {
		width: 100%;
		height: 200px;
		font-size: 1.4rem;
		padding: 10px;
	}

	#contact.helpdesk .form_text_s {
		font-size: 1.1rem;
	}

	/*-------------------------------------
	ご利用について
	-------------------------------------*/
	#contact.helpdesk .contact_textbox {
		padding: 25px 20px;
	}
	#contact.helpdesk .contact_textbox ul {
		padding-left: 20px;
	}

	#contact.helpdesk .contact_textbox ul li {
		padding-left: 2px;
		font-size: 1.3rem;
		line-height: 1.7;
	}

	/* 送信完了画面 */
	#contact.helpdesk .thanks_message h4 {
		margin: 30px 0 25px;
		font-size: 2rem;
	}

	#contact.helpdesk .thanks_message p {
		font-size: 1.5rem;
		line-height: 1.9;
	}

	#contact.helpdesk .thanks_back {
		margin: 50px auto 70px;
	}

	#contact.helpdesk .thanks_back a {
		width: 100%;
		max-width: 282px;
		height: 60px;
		font-size: 1.6rem;
	}

}

