@charset "UTF-8";
/* CSS Document */


/******************************************************

PC設定 1200px以上の場合に適用

*******************************************************/

/* contact ページ専用のヘッダー上書き (リンクなし版) */
.input .header__link,
.confirm .header__link,
.sendmail .header__link {
	cursor: default;
}

.input .header__link:hover,
.confirm .header__link:hover,
.sendmail .header__link:hover {
	opacity: 1;
}


/* main */
.contact {
	width: 100%;
	padding-top: 140px; /* fixed header (100px) + 余白 */
	padding-bottom: 100px;
	background-color: var(--color-bg);
}

.contact__inner {
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 0 40px;
}

.contact__inner--complete {
	text-align: center;
}


/* h1 */
.contact__h1 {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	color: var(--color-text);
	line-height: 1.5;
	margin-bottom: 40px;
}


/* hurry (お急ぎ電話案内) */
.hurry {
	text-align: center;
	margin-bottom: 48px;
}

.hurry__txt {
	font-size: 14px;
	color: var(--color-text-sub);
}

.hurry__number {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: var(--color-primary);
	letter-spacing: 0.04em;
	margin-top: 4px;
}

.hurry__link {
	display: none;
}

.hurry__time {
	font-size: 13px;
	color: var(--color-text-sub);
	margin-top: 4px;
}


/* form table */
.contact__form {
	margin-top: 0;
}

.contact__table {
	width: 100%;
	border-top: 1px solid #DDDDDD;
	margin: 0 0 60px;
	border-collapse: collapse;
}

.contact__table tr th {
	width: 35%;
	padding: 20px 16px;
	font-weight: 700;
	vertical-align: middle;
	border-bottom: 1px solid #EEEEEE;
	text-align: left;
}

.contact__table tr td {
	padding: 20px 16px;
	border-bottom: 1px solid #EEEEEE;
	vertical-align: middle;
	text-align: left;
}

/* must バッジ */
.must {
	display: inline-block;
	color: #FFFFFF;
	background-color: #D80000;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 6px;
	margin-left: 6px;
	border-radius: 3px;
	vertical-align: middle;
}


/* 入力フィールド */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
	width: 100%;
	font-family: inherit;
	font-size: 16px;
	background-color: #F5F5F5;
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 0 14px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
	height: 48px;
}

select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%2308509B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

textarea {
	display: block;
	padding: 12px 14px;
	resize: vertical;
	min-height: 160px;
	line-height: 1.7;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--color-primary);
	background-color: #FFFFFF;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
	color: #AAAAAA;
}


/* エラーメッセージ */
.contact__error {
	margin-top: 6px;
	color: #D80000;
	font-size: 13px;
	line-height: 1.6;
}


/* 同意 + 送信ボタン */
.contact__submit-area {
	text-align: center;
	margin-top: 16px;
}

.contact__agree {
	margin-bottom: 24px;
	font-size: 14px;
}

.contact__agree input[type="checkbox"] {
	margin-right: 8px;
	vertical-align: middle;
	width: 18px;
	height: 18px;
}

.contact__agree label {
	cursor: pointer;
}

.contact__agree a {
	color: var(--color-primary);
	text-decoration: underline;
}

.contact__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 320px;
	max-width: 100%;
	height: 64px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #FFFFFF;
	background-color: var(--color-primary);
	border: 2px solid var(--color-primary);
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-top: 8px;
}

.contact__submit:hover {
	background-color: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
}

.contact__submit[disabled] {
	background-color: #BBBBBB;
	border-color: #BBBBBB;
	cursor: not-allowed;
}

.contact__submit[disabled]:hover {
	background-color: #BBBBBB;
	border-color: #BBBBBB;
}


/* 残り入力項目バッジ(右下固定) */
.contact__remain {
	position: fixed;
	right: 24px;
	bottom: 24px;
	background-color: var(--color-primary);
	color: #FFFFFF;
	border-radius: 8px;
	padding: 14px 18px 10px;
	text-align: center;
	font-weight: 700;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
	z-index: 8000;
}

.contact__remain-txt {
	font-size: 12px;
	color: #FFFFFF;
}

.contact__remain-number {
	color: #FFFFFF;
	margin-top: 2px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#remainNum {
	font-size: 26px;
}

#remainTotal {
	font-size: 16px;
}


/* ========= confirm ページ ========= */
.contact__table--confirm tr th {
	background-color: #FAFAFA;
	color: var(--color-primary);
}

.contact__btn-box {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.contact__edit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 56px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text-sub);
	background-color: #EEEEEE;
	border: 2px solid #EEEEEE;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.contact__edit:hover {
	background-color: transparent;
	color: var(--color-text);
}

.confirm .contact__submit {
	width: 280px;
	height: 56px;
	margin-top: 0;
}


/* ========= sendmail (完了) ページ ========= */
.contact__complete-txt {
	line-height: 2;
	margin-bottom: 48px;
}

.sendmail .hurry {
	margin-bottom: 0;
}




/******************************************************

タブレットの設定 960px〜1199pxの場合に適用

*******************************************************/

@media screen and (max-width: 1199px){




}



/******************************************************

タブレットの設定 768px〜959pxの場合に適用

*******************************************************/

@media screen and (max-width: 959px){

.contact {
	padding-top: 100px; /* fixed header tablet (64px) + 余白 */
}




}



/******************************************************

SPの設定 767px以下の場合に適用

*******************************************************/

@media screen and (max-width: 767px){

.contact {
	padding-top: 80px; /* fixed header SP (56px) + 余白 */
	padding-bottom: 60px;
}

.contact__inner {
	padding: 0 20px;
}

.contact__h1 {
	font-size: 20px;
	margin-bottom: 24px;
}


/* hurry */
.hurry {
	margin-bottom: 32px;
}

.hurry__txt {
	font-size: 13px;
}

.hurry__number {
	display: none;
}

.hurry__link {
	display: inline-block;
	width: 240px;
	max-width: 100%;
	height: 44px;
	line-height: 42px;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	color: #FFFFFF;
	background-color: var(--color-primary);
	border: 1px solid var(--color-primary);
	border-radius: 999px;
	margin: 12px auto 0;
}


/* table → 縦積み */
.contact__table {
	margin-bottom: 30px;	
}
	
.contact__table tr th,
.contact__table tr td {
	display: block;
	width: 100%;
}

.contact__table tr th {
	padding: 18px 4px 8px;
	border-bottom: none;
}

.contact__table tr td {
	padding: 0 4px 18px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
	height: 44px;
	font-size: 14px;
}

textarea {
	font-size: 14px;
	min-height: 120px;
}


.contact__submit {
	width: 100%;
	height: 52px;
	font-size: 14px;
}

.must {
	font-size: 10px;
	padding: 2px 5px;
}


/* 残り入力バッジ */
.contact__remain {
	right: 12px;
	bottom: 12px;
	padding: 10px 14px 8px;
}

#remainNum {
	font-size: 20px;
}


/* confirm */
.contact__btn-box {
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.contact__edit,
.confirm .contact__submit {
	width: 100%;
}


/* iOS デフォルトスタイルリセット */
input[type="submit"],
input[type="button"],
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
button {
	-webkit-appearance: none;
	appearance: none;
}

.contact__submit,
.contact__edit,
.hurry__link {
	-webkit-appearance: none;
	appearance: none;
	border-radius: 999px;
}


}
