@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
body {
  background-color: #f3f4f6;
  position: relative;
  overflow-x: clip;
  font-family: "Noto Serif JP","Noto Sans JP","Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
main {
}
.wrapper {
  width: 100%;
  max-width: 1080px;
  min-height: 100vh;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}
.head-catch {
  text-align: center;
  padding: 15px;
  background-color: #cf4e4f;
}
.head-catch h1 {
  text-align: center;
  font-size: 20pt;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.1em;
}
.head-explain {
  background-color: #cf4e4f;
  text-align: center;
  padding: 60px;
}
.crown {
  width: 180px;
  margin: 0 auto 30px auto;
}
.head-explain p {
  text-align: center;
  font-size: 30pt;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.1em;
  line-height: 200%;
}
.three-guarantee {
  background-color: #cf4e4f;
  text-align: center;
  padding: 60px 60px 60px 60px;
}
.three-guarantee h3 {
  margin-bottom: 50px;
}
.guarantee {
  margin-bottom: 30px;
}
.contact-tel {
  background-color: #cf4e4f;
  text-align: center;
  padding: 60px 60px 120px 60px;
}
.contact-tel h3 {
  text-align: center;
  font-weight: 300;
  font-size: 24pt;
  color: #ffffff;
  margin-bottom: 30px;
}
.contact-tel h3 span {
  border-bottom: #FFFFFF 1px solid;
}
.recept-date {
  text-align: center;
  font-weight: 300;
  font-size: 20pt;
  color: #ffffff;
  margin-top: 30px;
}
.recommend {
  background-color: #feefde;
  padding: 30px 60px;
}
.form-title {
  background-color: #cf4e4f;
  padding: 30px 60px;
  font-size: 24pt;
  font-weight: 400;
  color: #ffffff;
}
.form-required {
  background: url("../images/required.png") center right no-repeat;
  background-size: contain;
}
.form-optional {
  font-size: 24pt;
  font-weight: 400;
  color: #ffffff;
  background: url("../images/optional.png") center right no-repeat;
  background-size: contain;
}
.form-section {
  margin-bottom: 30px;
}
.selected-info p {
  font-size: 120%;
}
.input-box {
  padding: 30px 60px;
}
.input-box2 {
  padding: 30px 60px 0px;
}
.agreement {
  width: 450px;
  max-width: 450px;
  margin: 0 auto 0 auto;
}
.agreement label {
  font-size: 18pt !important;
  line-height: 150%;
  padding-bottom: 5px;
}
/* 選択肢グループのレイアウト */
.choice-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 30px 60px 30px;
}

/* 個々の選択肢のボタン風スタイル */
.choice {
  padding: 50px 30px 75px;
  border: 1px solid #ccc;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  background: #f9f9f9;
  transition: background 0.3s, border-color 0.3s;
}

/* 選択された選択肢のスタイル */
.choice.selected {
  background: #d7003a;
  color: white;
  border-color: #d7003a;
}
.d-h {
  visibility: hidden;
  height: 0;
  margin-top: -15px;
}

/* ラジオボタン自体は非表示 */
input[type="radio"] {
/*  display: none;*/
  opacity: 0;
}
/* ラベルの基本スタイル */
label {
  display: block;
  color: #333;
  font-size: 20pt;
  font-weight: 400;
}

/* テキスト入力フィールド、電話番号、メールアドレスのスタイル */
input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 10px 10px;
  margin-top: 10px;
  margin-bottom: 10px; /* 入力フィールドの下に余白 */
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  outline: none;
  color: #111827;
  background-color: #fff;
  font-size: 120%;
}

/* 入力フィールドのフォーカス時のスタイル */
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px #bfdbfe;
}

/* 必須マークのスタイル */
.required {
  margin-left: 0.25rem;
}
.caution {
	color: #ff0000;
	margin-top: 0px;
}

/* 同意チェックボックスのグループ */
.agreement {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* 同意チェックボックスのラベル（行内表示） */
.agreement label {
  display: inline-flex; /* チェックボックスとテキストを横並びに */
  align-items: center;
  margin-bottom: 0;
  font-size: 0.875rem;
  font-weight: normal; /* 通常の太さに戻す */
  color: #333;
}

/* チェックボックスのスタイル調整 */
.agreement input[type="checkbox"] {
  display: inline-block; /* チェックボックスを表示 */
  width: auto; /* デフォルトの幅に戻す */
  margin-right: 10px;
  margin-top: 5px; /* ラベルのmargin-topを無効化 */
  transform: scale(1.5);
}

/* ドロップダウン選択部分のラッパー */
.select-wrapper {
  position: relative;
  margin-top: 0.4rem; /* select の margin-top をここに移動 */
}

/* ドロップダウンのスタイル */
select {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem; /* px-4 py-2 */
  padding-right: 2rem; /* アイコンスペースのために右に余白 */
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  outline: none;
  color: #111827;
  background-color: #fff;
  appearance: none; /* デフォルトのドロップダウン矢印を非表示 */
  cursor: pointer;
  box-sizing: border-box;
  font-size: 120%;
}

/* ドロップダウンのフォーカス時のスタイル */
select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px #bfdbfe;
  font-size: 120%;
}
option {
  font-size: 120%;
}

/* カスタムドロップダウンアイコンのラッパー */
.select-icon {
  pointer-events: none; /* クリックイベントを透過 */
  position: absolute;
  top: 75%;
  right: 2rem; /* select の padding-right と合わせる */
  transform: translateY(-50%); /* 垂直方向の中央揃え */
  display: flex;
  align-items: center;
  color: #374151;
}

.select-icon svg {
  fill: currentColor;
  height: 1rem;
  width: 1rem;
}

/* 選択された市区町村表示エリア */
.selected-info {
  text-align: center;
  color: #4b5563;
  font-size: 120%;
}

/* 選択された市区町村のテキストスタイル */
.selected-municipality-text {
  font-weight: 600;
  color: #2563eb;
}

/* 無効なオプションのスタイル */
option:disabled {
  color: #a0a0a0;
  background-color: #f0f0f0;
  cursor: not-allowed;
}

/* 送信ボタンのスタイル */
button[type="submit"] ,
input[type="button"]{
  width: 400px;
  display: block;
  padding: 15px;
  background-color: #007D26;
  color: white;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 15px;
  font-size: 20pt;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 15px auto 30px auto;
  text-align: center;
}

button[type="submit"]:hover ,
input[type="button"]:hover{
  background-color: #a0002b; /* ホバー時の色 */
}
.etc {
  display: block;
  padding-top: 40px;
}

.contents {
  background-color: #ffffff;
  padding: 90px 15% 90px;
}
.contents h1 {
  color: #d71736;
  text-align: center;
  font-size: 26pt;
  margin-bottom: 2rem;
}
.contents h2 {
  font-size: 18pt;
  font-weight: 400;
  border-left: 15px solid #d71736;
  padding: 15px 25px 15px;
  margin-top: 50px;
  margin-bottom: 25px;
}
.contents p {
  font-size: 15pt;
  line-height: 160%;
  margin: 10px 0 20px;
  text-align: justify;
}
.confirm-section {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:20px 0px;
  border-bottom:1px solid #ddd;
  gap:1rem;
}
.confirm-section .label {
  font-size: 18pt;
  color:#c62828;
  min-width:140px;
  flex-shrink:0;
}
.confirm-section .value {
  font-size: 18pt;
  flex:1;
}
.contents .btn {
  display:block;
  width:fit-content;
  margin:2rem auto;
  padding:1rem 2rem;
  background:#e53935;
  color:#fff;
  border-radius:6px;
  text-decoration:none;
  text-align:center;
  font-weight:bold;
  box-shadow:0 3px 6px rgba(0,0,0,0.2);
}
.contents .btn:hover {
  opacity:0.9;
}

.close-btn {
  text-align: center;
  padding-top: 30px;
}

footer {
  padding: 15px;
  background-color: #cf4e4f;
}
.copyright {
  text-align: center;
  font-size: 12pt;
  font-weight: 300;
  color: #ffffff;
}