:root{
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "Hiragino Serif", "Noto Serif", serif;
}

html, body{
  font-family: var(--serif);
}

h1, h2, h3{
  font-weight: 600;
}

.heroMedia{
  margin: 14px 0 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.02);
}

.heroMedia img{
  display: block;
  width: 100%;
  height: auto;
}

/* 2カラムレイアウト */
.heroLayout{
  display: grid;
  grid-template-columns: 1fr minmax(360px, 560px);
  gap: 34px;

  align-items: center;
}

/* スマホは縦並び（写真が下） */
@media (max-width: 900px){
  .heroLayout{
    grid-template-columns: 1fr;
  }
  .heroPhoto{
    order: 2;
  }
}

/* 右側の写真枠 */
.heroPhoto{
  margin: 0;
  background: #f6f6f6;     /* 余白が出たときの背景 */
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 10px;           /* “額縁”感。不要なら消してOK */
}

/* 絶対に切らない表示 */
.heroPhoto__img{
  width: 100%;
  height: auto;            /* ←切らない要 */
  display: block;
}


/* 全体の最大幅を広げるのはOK */
.wrap{
  width: min(1180px, 100%);
  padding: 28px;
}

.heroText{
  display: grid;
  place-items: center;   /* ← 縦横中央 */
  text-align: center;    /* 見た目も中央寄せ */
}

.hero__main{
  font-size: 40px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 10px 0;
}

/* 右写真側 */
.heroPhoto{
  margin: 0;
}

.card{
  --pad: clamp(18px, 2.2vw, 28px);
  padding: var(--pad);
}


.badge {
  display: inline-flex;
  align-items: center;
  padding: 0px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255,255,255,0.7);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;

  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

/* RSVP の primary を “押せそう” に */
.btn.primary{
  color: #fff;
  background: #111;               /* シンプルに黒 */
  border: 1px solid rgba(0,0,0,0.35);

  box-shadow:
    0 10px 22px rgba(0,0,0,0.16),
    0 2px 0 rgba(255,255,255,0.12) inset;
}

.btn.primary:hover{
  transform: translateY(-1px);
  box-shadow:
    0 14px 26px rgba(0,0,0,0.18),
    0 2px 0 rgba(255,255,255,0.12) inset;
  filter: brightness(1.03);
}

.btn.primary:active{
  transform: translateY(0px);
  box-shadow:
    0 10px 18px rgba(0,0,0,0.14),
    0 1px 0 rgba(255,255,255,0.10) inset;
}

.btn:focus-visible{
  outline: 3px solid rgba(0,0,0,0.25);
  outline-offset: 3px;
}

.primary {
  background: var(--btn);
  color: var(--btnText);
}
.primary:hover { background: var(--btnHover); transform: translateY(-1px); }

.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.ghost:hover { transform: translateY(-1px); }

.hint { margin-top: 12px; font-size: 13px; color: var(--muted); }

.status { margin-top: 10px; font-size: 13px; color: var(--muted); }
.status.error { color: #b00020; }
.status.ok { color: #0b6b2c; }

.tiny { font-size: 12px; color: var(--muted); margin-top: 18px; }

/* skeleton */
.skeleton {
  height: 14px;
  width: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(0,0,0,0.06), rgba(0,0,0,0.02), rgba(0,0,0,0.06));
  background-size: 200% 100%;
  animation: shine 1.1s infinite linear;
}
@keyframes shine {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* --- hero title animation --- */
.hero{
  margin: 14px 0 6px;
  line-height: 1.15;
}

.hero__script { font-weight: 200; letter-spacing: 0.06em; }
p { line-height: 1.8; }

.hero__welcome{
  display: block;
  white-space: pre-wrap;
  line-height: 1.50;
  padding-top: 0.50em;
	  padding-bottom: 0.50em;
}

.hero__main{
  font-size: 28px;
  letter-spacing: -0.02em;

  display: block;
  margin-top: 14px;

  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

@keyframes heroIn{
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero__script, .hero__main{
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.lead { margin-top: 6px; }

.group {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin: 0 0 14px;
}

/* 質問（fieldsetの見出し） */
.group legend {
  font-size: 16px;     /* 質問は大きめ */
  font-weight: 800;    /* 太字 */
  color: var(--text);
  padding: 0 6px;
  margin-left: 6px;
}

/* 選択肢（ラジオの行） */
.group label {
  display: flex;
  align-items: center;   /* ◯とテキストの高さを揃える */
  gap: 10px;

  padding-left: 14px;    /* ← ここで「◯」を質問より内側へ */
  margin: 10px 0;

  font-size: 14px;       /* 選択肢は少し小さく */
  font-weight: 500;      /* ウエイト軽め */
  color: var(--muted);
  line-height: 1.35;
}

/* ラジオ自体 */
.group input[type="radio"]{
  margin-top: 0;         /* ズレ防止 */
  transform: scale(0.85); /* お好みで 0.8〜0.9 */
}

/* 入力ブロック自体を枠で囲う（Email/Passwordなど） */
.field{
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.55);
}

/* ラベルは少し強めに */
.field label{
  display: block;
  font-weight: 800;
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--text);
}

/* 必須マーク（JSでlabelを上書きしても消えない） */
.field.required label::after{
  content: " *";
  color: #b00020;
  font-weight: 900;
}

/* 入力欄は枠で囲い、少し締める */
.field input,
.field textarea{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 12px;
  padding: 12px 12px;
  font-size: 15px;
  background: rgba(255,255,255,0.92);
  outline: none;
}

/* フォーカス時 */
.field input:focus,
.field textarea:focus{
  border-color: rgba(0,0,0,0.32);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

/* hintはブロック内でコンパクトに */
.field .hint{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.btn[disabled]{
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}
