

.contact-container {
	width: min(calc(100% - 80px), 1200px);
	margin: 0 auto;
}

.contact-container--narrow {
	max-width: 960px;
}

.contact-container--form {
	max-width: 920px;
}

.contact-heading {
	margin-bottom: 48px;
	text-align: center;
}

.contact-heading__en {
	margin: 0 0 8px;
	color: #f5a623;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.contact-heading__title {
	margin: 0;
	color: #14213d;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.5;
}

.contact-heading--light .contact-heading__title {
	color: #fff;
}

.contact-heading__dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
}

.contact-heading__dots i {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f5a623;
}

.contact-direct {
	padding: 88px 0 96px;
	background: #14213d;
	color: #fff;
	text-align: center;
}

.contact-direct__lead {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.8;
}

.contact-direct__note {
	margin: 8px 0 40px;
	font-size: 13px;
	line-height: 1.7;
}



.contact-direct-card {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 32px !important;
	
	padding: 32px 40px;
	border-radius: 10px;
	background: #fff;
	color: #14213d;
	text-align: left; /* 子要素のテキスト揃えを左に固定 */
}


/* 左側：電話番号 */
.contact-direct-card__phone {
	display: block !important;
	margin: 0 !important;
	font-size: 40px;
	font-weight: 700;
	line-height: 1;
	color: #14213d;
	text-decoration: none;
	white-space: nowrap;
}
/* --- 右側：受付時間 --- */

.contact-direct-card__time {
	margin: 0 !important;
	font-size: 14px;
	line-height: 1.6;
	color: #14213d;
	border-left: 1px solid #e2e2e2;
	padding-left: 24px;
}

.contact-direct-card__time,
.contact-direct-card p {
	margin: 0 !important;
	line-height: 1.6;
	color: #14213d;
	text-align: left;
	border-left: 1px solid #e2e2e2;  /* 左右を区切る縦線 */
	padding-left: 24px;
}

.contact-direct-card p {
	margin: 0;
	line-height: 1.7;
}

.contact-line__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 12px;
}

.contact-line__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 200px;
  min-height: 60px;
	height: 48px;
	padding: 0 18px;
	border-radius: 6px;
	background: #00b900;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	text-decoration: none;
}

.contact-line__button img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

.contact-line__qr {
	display: block;
	width: 100px;
	height: 100px;
	margin-right: 30px;
}

.contact-form-section {
	padding: 96px 0 120px;
	background: #fff;
}

.contact-form {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	font-size: 18px !important;
}

.contact-form__row {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 24px;
	align-items: center;
	min-height: 76px;
	padding: 16px 0;
	border-bottom: 1px solid #e2e2e2;
}

.contact-form__row label {
	font-size: 16px;
	font-weight: 700;
}

.contact-form__field-label {
	font-size: 16px;
	font-weight: 700;
}

.contact-form__radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.contact-form__radio-group label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 400;
}

.contact-form__radio-group input {
	width: 16px;
	height: 16px;
	margin: 0;
}

.contact-form__required {
	color: #f90;
	font-size: 12px;
	font-weight: 500;
}

.contact-form__row input[type='text'],
.contact-form__row input[type='tel'],
.contact-form__row input[type='email'],
.contact-form__row textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #ccc;
	border-radius: 2px;
	background: #fff;
	color: #14213d;
	font: inherit;
	font-size: 14px;
}

.contact-form__row input[type='text'],
.contact-form__row input[type='tel'],
.contact-form__row input[type='email'] {
	height: 44px;
}

.contact-form__row textarea {
	min-height: 180px;
	resize: vertical;
}

.contact-form__address {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.contact-form__consent {
	margin-top: 32px;
	text-align: center !important;
}

/* プラグインが勝手に出力する余計なラッパーをすべてブロック・中央揃えにする */
.contact-form__consent .wpcf7-form-control-wrap,
.contact-form__consent .wpcf7-checkbox,
.contact-form__consent .wpcf7-list-item {
	display: inline-block !important;
	margin: 0 !important;
	text-align: center !important;
}

.contact-form__consent label {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	font-size: 14px;
	cursor: pointer;
}

.contact-form__consent input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0 !important;
}

.contact-form__submit {
	margin-top: 28px;
	text-align: center;
}

.contact-form__submit button,
.contact-form__submit input[type="submit"] {

  width: 240px;
  height: 70px;
  border: 0;
	background: #f59a00 url('../images/link-arrow-wh.svg') no-repeat right 20px center;
	background-size: 12px auto;
	border: solid 2px #f56e00;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.2s ease;

}

/*  
.contact-form__submit button {
	width: 240px;
	height: 56px;
	border: 0;
	border-radius: 4px;
	background: #f5a623;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 25px;
	font-weight: 700;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-form__submit button:hover {
	background: #d9890d;
	transform: translateY(-2px);
}
*/
@media (max-width: 900px) {
	.contact-container {
		width: min(calc(100% - 48px), 720px);
	}

	.contact-direct__cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.page-fv {
		height: 220px;
	}

	.page-fv__title {
		font-size: 30px;
	}

	.contact-container {
		width: calc(100% - 40px);
	}

	.contact-direct,
	.contact-form-section {
		padding: 64px 0;
	}

	.contact-heading {
		margin-bottom: 40px;
	}

	.contact-heading__title {
		font-size: 26px;
	}

	.contact-direct__lead {
		font-size: 15px;
		text-align: left;
	}

	.contact-direct__subheading {
		font-size: 26px;
	}

	.contact-direct-card {
		padding: 20px;
	}

	.contact-direct-card__phone {
		font-size: 28px;
	}

	.contact-line__content {
		gap: 12px;
	}

	.contact-line__button {
		min-width: 0;
		flex: 1;
	}

	.contact-form__row {
		display: block;
		min-height: 0;
		padding: 16px 0;
	}

	.contact-form__row label {
		display: block;
		margin-bottom: 10px;
	}

	.contact-form__row--type .contact-form__field-label {
		display: block;
		margin-bottom: 10px;
	}

	.contact-form__submit button {
		width: 100%;
	}
}
/* PC（標準）：992px 以上 (コンテナ幅 960px) */
@media screen and (min-width: 992px) {
  .contact-container {
    width: 960px;
  }
}

/* PC（小）：768px 〜 991px (コンテナ幅 740px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .contact-container {
    width: 740px;
  }

  .contact-direct__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* タブレット (TB)：576px 〜 767px (コンテナ幅 540px) */
@media screen and (min-width: 576px) and (max-width: 767px) {
  .contact-container {
    width: 540px;
  }

  .contact-direct__cards {
    grid-template-columns: 1fr;
  }
}

/* スマホ (SP)：max-width: 575px (100% / 左右余白 20px) */
@media screen and (max-width: 575px) {
  .page-fv {
    height: 220px;
  }

  .page-fv__title {
    font-size: 30px;
  }

  .contact-container {
    width: calc(100% - 40px);
  }

  .contact-direct,
  .contact-form-section {
    padding: 64px 0;
  }

  .contact-heading {
    margin-bottom: 40px;
  }

  .contact-heading__title {
    font-size: 26px;
  }

  .contact-direct__lead {
    font-size: 15px;
    text-align: left;
  }

  .contact-direct__subheading {
    font-size: 26px;
  }

  .contact-direct-card {
    padding: 20px;
  }

  .contact-direct-card__phone {
    font-size: 28px;
  }

  .contact-direct__cards {
    grid-template-columns: 1fr;
  }

  .contact-line__content {
    gap: 12px;
  }

  .contact-line__button {
    min-width: 0;
    flex: 1;
  }

  .contact-form__row {
    display: block;
    min-height: 0;
    padding: 16px 0;
  }

  .contact-form__row label {
    display: block;
    margin-bottom: 10px;
  }

  .contact-form__row--type .contact-form__field-label {
    display: block;
    margin-bottom: 10px;
  }

  .contact-form__submit button {
    width: 100%;
  }
}