/* =========================
   Contact Page
========================== */

/* Heroセクション */
.hero {
  padding: 72px 0 32px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
  text-align: center;
}

/* バッジ */
.badge {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* タイトル */
.h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  letter-spacing: 0.08em;
  margin: 12px 0 8px;
  line-height: 1.5;
  color: var(--ink);
}

/* サブ文 */
.sub {
  font-family: "Noto Sans JP", sans-serif;
  color: #6b6b6b;
  font-size: 15px;
  line-height: 1.8;
}

/* =========================
   フォーム部分
========================== */
section {
  padding: 24px 0 96px;
  border-top: 1px solid var(--line);
}

.formwrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* フォーム項目 */
.field {
  margin: 20px 0;
}

.label {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.req {
  color: #b35d5d;
  font-size: 12px;
  margin-left: 0.5em;
}

/* 入力フォーム */
input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  line-height: 1.6;
  font-size: 15px;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(140, 123, 106, 0.18);
}

/* 送信・戻るボタン */
.actions {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  box-shadow: 0 6px 18px rgba(140, 123, 106, 0.25);
  cursor: pointer;
  transition: 0.25s;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

/* =========================
   フッター
========================== */
footer {
  padding: 48px 0;
  text-align: center;
  color: #7b7b7b;
}

/* =========================
   Responsive
========================== */
@media (max-width: 960px) {
  .h1 {
    font-size: 34px;
  }

  .formwrap {
    padding: 24px;
  }

  .sub {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .h1 {
    font-size: 28px;
    line-height: 1.4;
  }

  .formwrap {
    padding: 18px;
  }

  .label {
    font-size: 15px;
  }

  .btn {
    min-width: 100%;
  }
}
