@charset "utf-8";
/* ======================================================
  お問い合わせ　ファーストビュー
====================================================== */
.hero-p09 {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .10);
  min-height: 260px;
  background: var(--main-5);
}
.hero-p09__inner {
  position: relative;
  padding: 16px;
  color: #fff;
}
.hero-p09__kicker {
  margin: 0;
  font-weight: 900;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .92);
}
.hero-p09__lead {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.35;
}
.hero-p09__quote {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
  font-size: var(--font-l);
  color: var(--white);
}
.hero-p09__desc {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .92);
}
/* ===== methods（電話/FAX/フォームなど） ===== */
.hero-p09__methods {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
/* 1行を「ラベル + 内容」で見せる */
.hero-p09__method {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(2px);
  display: grid;
  grid-template-columns: 150px 1fr; /* ラベルを少し広めに */
  gap: 10px;
  align-items: start;
}
.hero-p09__method dt {
  font-weight: 900;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .92);
  white-space: nowrap;
}
.hero-p09__method dd {
  margin: 0;
  display: grid;
  gap: 6px;
}
/* 共通：リンク見た目 */
.hero-p09__tel, .hero-p09__fax, .hero-p09__form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.3;
  width: fit-content;
}
/* 共通：丸アイコン */
.hero-p09__tel::before, .hero-p09__fax::before, .hero-p09__form::before {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 14px;
}
/* 注釈 */
.hero-p09__note {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .86);
  line-height: 1.6;
}
/* hover（PCのみ） */
@media (hover: hover) {
  .hero-p09__tel:hover, .hero-p09__form:hover {
    text-decoration: underline;
  }
}
/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
  .hero-p09 {
    min-height: auto;
  }
}
@media (max-width: 600px) {
  .hero-p09__lead {
    font-size: 18px;
  }
  .hero-p09__quote {
    font-size: 20px; /* 変数が大きすぎる場合の保険 */
  }
  /* ラベル/内容を縦に */
  .hero-p09__method {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
/* ======================================================
  フォーム
====================================================== */
.section--mailform {
	background-color: #fff;
} 
.form-p01 {
  border: 1px solid var(--gray-3);
	margin-top: 50px;
}
.form-p01__form {
  padding: 16px;
}
.form-p01__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.form-p01__th {
  width: 240px;
  text-align: left;
  vertical-align: top;
  padding: 12px;
  background: var(--main-5);
  border-top: 1px solid var(--gray-2);
  color: var(--white);
  font-size: var(--font-s);
}
.form-p01__td {
  padding: 12px;
  border-top: 1px solid var(--gray-2);
  background: var(--base-color);
}
.form-p01__table tr:first-child .form-p01__th, .form-p01__table tr:first-child .form-p01__td {
  border-top: 0;
}
.form-p01__help {
  font-size: var(--font-xs);
}
/* ✅ p01 必須：赤い“ピル” */
.form-p01__th--required p::after {
  content: "必須";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--text-strong);
  color: var(--base-color);
  font-size: var(--font-xs);
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
}
.form-p01__input, .form-p01__textarea, .form-p01__select {
  width: 100% !important;
  border: 1px solid var(--gray-3);
  border-radius: 12px;
  padding: 12px;
  font-size: var(--font-s);
  color: var(--text-main);
  background: var(--base-color);
  outline: none;
}
.form-p01__textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}
.form-p01__input::placeholder, .form-p01__textarea::placeholder {
  color: var(--text-soft);
}
.form-p01__input:focus, .form-p01__textarea:focus, .form-p01__select:focus {
  border-color: var(--main-4);
  box-shadow: 0 0 0 4px var(--main-1);
}
.form-p01__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-soft) 50%), linear-gradient(135deg, var(--text-soft) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.form-p01__choiceRow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.form-p01__choiceGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}
@media (max-width:767px) {
  .form-p01__choiceGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.form-p01__choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--base-color), var(--gray-0));
  box-shadow: var(--box-shadow-1);
  cursor: pointer;
  user-select: none;
}
.form-p01__radio, .form-p01__check {
  width: 18px;
  height: 18px;
  accent-color: var(--main-4);
}
.form-p01__choice span {
  font-size: var(--font-s);
  font-weight: 900;
  color: var(--text-main);
}
.form-p01__privacyArea {
  max-height: 220px;
  overflow: auto;
  border: 1px solid var(--gray-3);
  border-radius: 12px;
  background: var(--base-color);
  box-shadow: var(--box-shadow-1);
  padding: 12px;
  color: var(--text-main);
  font-size: var(--font-xs);
  line-height: 1.75;
}
.form-p01__privacyArea p {
  margin: 0 0 10px;
}
.form-p01__privacyArea p:last-child {
  margin-bottom: 0;
}
.form-p01__privacyTitle {
  color: var(--text-dark);
  font-weight: 900;
}
.form-p01__agree {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  font-size: var(--font-xs);
  font-weight: 900;
  color: var(--text-dark);
}
.form-p01__checkbox {
  width: 18px;
  height: 18px;
	margin-top: 2px;
  accent-color: var(--main-4);
}
.form-p01__th--btn {
  background: transparent;
}
.form-p01__td--btn {
  text-align: center;
}
.form-p01__submit {
  border: 1px solid var(--main-5);
  background: var(--main-5);
  color: var(--white);
  font-size: var(--font-s);
  font-weight: 900;
  padding: 12px 25px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--box-shadow-1);
}
@media (max-width:767px) {
  .form-p01__table tr {
    display: block;
  }
  .form-p01__th, .form-p01__td {
    display: block;
    width: 100%;
  }
  .form-p01__th {
    width: 100%;
    padding: 10px 12px;
    border-top: 0;
  }
  .form-p01__td {
    border-top: 0;
    border-bottom: 1px solid var(--gray-2);
  }
  .form-p01__table tr:last-child .form-p01__td {
    border-bottom: 0;
  }
  .form-p01__choiceRow, .form-p01__choiceGrid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }