@charset "UTF-8";



/* ===============================
   ヒーロー画像
   =============================== */
.hero {
  width: 100%;
  height: 48vh;
  background-image: url("../img/contact-img/DSC09514.jpg");
  background-size: cover;
  background-position: top center;
  position: relative;
}

/* ※写真上部を暗くし強調効果 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(255,255,255,0));
}



/* 花輝サイト向け ベース */
main {
  margin: 0;
  padding: 0;
  color: #603813;
  font-family: "Kosugi Maru","Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;
  line-height: 1.7;
}

/* レイアウト */
.contact-main {
  padding: 80px 20px;
}

.contact-section {
  max-width: 900px;
  margin: 0 auto;
}

/* 見出し */
.contact-header {
  margin-bottom: 40px;
}

.contact-label-en {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #b9a89a;
  margin-bottom: 6px;
}

.contact-title {
  font-family: "YuMincho","Yu Mincho","Hiragino Mincho ProN","serif";
  font-size: 2rem;
  margin: 0 0 14px;
  color: #603813;
}

.contact-intro {
  font-size: 0.95rem;
  color: #7a6b5d;
}

/* フォーム全体 */
.contact-form {
  display: grid;
  gap: 0; /* 行の境界をラインで見せるので gap は0 */
  border-top: 1px solid #f1e1d3;
}

/* 各行 */
.form-row {
  padding: 14px 0;
  border-bottom: 1px solid #f1e1d3;
}

.form-row-half {
  display: grid;
  gap: 16px;
}

.form-row-half .field {
  width: 100%;
}

/* ラベル・必須 */
.form-label,
.form-row > label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.required {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #F19EC2;
  color: #F19EC2;
}

/* ▼ トグルボタン（お問い合わせ / ご注文） */
.toggle-wrapper {
  display: inline-flex;
  gap: 12px;
  padding: 4px;
  border-radius: 999px;
  background-color: #fdf5f8;
  border: 1px solid #F19EC2;
  margin-top: 4px;
}

.toggle-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.toggle-btn input {
  display: none;
}

.toggle-btn span {
  display: inline-block;
  min-width: 120px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #F19EC2;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  transition: background-color 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
}

.toggle-btn input:checked + span {
  background-color: #F19EC2;
  color: #ffffff;
  border-color: #F19EC2;
  box-shadow: 0 2px 6px rgba(100, 40, 70, 0.25);
}

.purpose-note {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #9a8b7e;
}

/* ▼ テキストフィールド・テキストエリア */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="date"],
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #d6c7ba;
  padding: 10px 12px;
  font-size: 0.95rem;
  background-color: #fffdf9;
  color: #603813;
  transition: border-color 0.25s ease, background-color 0.25s ease,
              box-shadow 0.25s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #c3b3a7;
}

/* フォーカス時：入力場所をしっかり強調 */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #F19EC2;
  background-color: #fff8fb;
  box-shadow: 0 0 0 2px rgba(241, 158, 194, 0.25);
}

/* ご注文エリア */
#order-area {
  display: none;
}

#order-area.is-visible {
  display: block;
}

.order-area-inner {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed #e2c9b5;
}

/* ===============================
   配達先住所の表示制御（重要）
=============================== */

/* 配達先住所：初期状態は必ず非表示 */
.delivery-only {
  display: none;
}

/* 配達が選択されたときのみ表示 */
.delivery-only.is-visible {
  display: block;
}



/* プライバシー同意 */
.consent-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.contact-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #9a8b7e;
}

/* 送信ボタン */
.form-row-submit {
  padding-top: 18px;
	text-align: center;
}

.contact-submit {
  display: inline-block;
  padding: 12px 40px;
  border-radius: 999px;
  border: 1px solid #F19EC2;
  background: transparent;
  color: #F19EC2;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease,
              transform 0.15s ease, box-shadow 0.15s ease;

}

.contact-submit:hover {
  background-color: #F19EC2;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(100, 40, 70, 0.25);
}

.contact-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ────────────────
   メール注意書きのレイアウト調整
   （label → input → 注意書き の順に縦並び）
──────────────── */
.form-row-half .field {
  display: flex;
  flex-direction: column;
}

.form-row-half .field > label {
  order: 1;
  margin-bottom: 6px;
}

.form-row-half .field > input {
  order: 2;
}

.form-row-half .field > p {
  order: 3;
  margin: 4px 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #9a8b7e;
}

/* レスポンシブ */
@media screen and (min-width: 768px) {
  .contact-main {
    padding: 100px 40px;
  }

  .contact-title {
    font-size: 2.2rem;
  }

  .form-row-half {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}