@charset "utf-8";

/* =========================
  Blue theme (#09F) / 統一版
  - 文字サイズは var(--fs-*) に統一
  - iOSズーム対策：入力は 16px相当以上
========================= */

:root{
  --radius: 18px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: "Noto Sans JP", "Murecho", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", "Osaka", "MS PGothic", "ＭＳ Ｐゴシック", sans-serif;
  color: var(--text);
  background: #3CF;
}

.container{
  width: min(920px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header{
  top: 0;
  background: #EFEFEF;
}

.brand{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
}

.brand-badge{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 500;
  color: #fff;
  background: #0C0;
  transform: translateY(-1px);
}

.brand-title h1{
  font-size: var(--fs-lg);
  margin: 0;
  letter-spacing: .02em;
  font-weight:500;
}
.brand-title p{
  margin: 2px 0 0;
  color: var(--text);
  font-size: var(--fs-xs);
}

/* Notice */
.notice{
  margin: 18px auto 14px;
  padding: 14px 14px;
  background: #FFF;
  border-radius: var(--radius);
}
.notice-title{
  margin: 0 0 8px;
  font-weight: 500;
  color: #F06;
  font-size: var(--fs-md);
}
.notice-list{
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: var(--fs-sm);
}
.notice-list li{ margin: 4px 0; }

/* Form card */
.form-card{
  margin: 0 auto 26px;
  padding: 14px;
  background: #efefef;
  border-radius: calc(var(--radius) + 6px);
}

/* Sections */
.form-section{
  padding: 14px 10px;
  border-radius: var(--radius);
  background: #FFF;
  border: 1px solid rgba(0,0,0,.06);
  margin: 12px 0;
}
.section-title{
  margin: 0 0 12px;
  font-size: var(--fs-md);
  font-weight:500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #09F;
}

/* Fields */
.field{ margin: 12px 0; }
.label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: var(--fs-sm);
  margin-bottom: 8px;
}
.label.required::after{
  content: "必須";
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #fff;
  background: #F06;
  padding: 2px 8px;
  border-radius: 999px;
}

.help{
  margin: 8px 0 0;
  color: var(--text);
  font-size: var(--fs-xs);
  line-height: 1.5;
}
.help.warn{
  color: #9a5c00;
  background: #fff7e6;
  border: 1px solid rgba(255, 166, 0, .35);
  border-radius: 12px;
  padding: 8px 10px;
}

/* 入力（iOSズーム対策：16px以上相当を保証） */
input[type="text"],
input[type="number"],
input[type="date"],
select,
textarea{
  width: 100%;
  color: var(--text);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  padding: 12px 12px;
  font-size: 16px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

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

input:focus,
select:focus,
textarea:focus{
  border-color: rgba(0,153,255,.65);
}

::placeholder{ color: rgba(90,106,123,.75); }

/* Grid */
.grid-2{
  display: grid;
  gap: 12px;
}
@media (min-width: 720px){
  .grid-2{
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Combo */
.combo{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Details */
.details{
  margin-top: 10px;
  border-radius: var(--radius);
  border: 1px dashed rgba(0,153,255,.35);
  background: #effaff;
  overflow: hidden;
}
.details-summary{
  cursor: pointer;
  list-style: none;
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  color: #09F;
  font-size: var(--fs-sm);
}
.details-summary::-webkit-details-marker{ display: none; }
.details-note{
  font-size: var(--fs-xs);
  color: var(--text);
  font-weight: 500;
  background: rgba(0,0,0,.05);
  padding: 3px 8px;
  border-radius: 999px;
}
.details[open] .details-summary{
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.75);
}
.details-body{ padding: 12px; }

/* Radios */
.radio-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radio{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.radio input{
  width: 18px;
  height: 18px;
  accent-color: #09F;
}
.radio span{
  font-weight: 500;
  font-size: var(--fs-sm);
}

/* Actions */
.form-actions{
  margin-top: 14px;
  padding: 14px 10px 6px;
  text-align: center;
}
.action-note{
  margin: 0 0 10px;
  color: var(--text);
  font-size: var(--fs-xs);
}

.btn-primary{
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 14px 14px;
  font-size: var(--fs-md);
  font-weight: 500;
  color: #fff;
  background: #09F;
  cursor: pointer;
  transition: transform .08s ease, filter .15s ease;
}
.btn-primary:active{ transform: translateY(1px) scale(.99); }
.btn-primary:hover{ filter: brightness(1.03); }

.tiny{
  margin: 10px 0 0;
  color: var(--text);
  font-size: var(--fs-xs);
  line-height: 1.5;
}

/* Footer */
.site-footer{
  padding: 18px 0 26px;
  color: #FFF;
}
.footer-text{
  margin: 0;
  font-size: var(--fs-xs);
  text-align: center;
}

/* Honey pot (spam) */
.hp{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
