@charset "utf-8";

/* =========================
  Blue theme (#09F) / スマホ専用・整理版（ブレイクポイント無し）
  - 文字サイズは var(--fs-*) に統一（※var定義は別途ある前提）
  - iOSズーム対策：入力は 16px相当以上
  - 現状のスマホ表示維持優先
========================= */

:root{
  --radius: 18px;
  --text: #777;
  --fs-xxxs: 0.75rem;  /* 12px目安 */
  --fs-xxs: 0.8125rem; /* 13px目安 */
  --fs-xs: 0.875rem;  /* 14px目安 */
  --fs-s: 0.9375rem; /* 15px目安 */
  --fs-sm: 1rem;      /* 16px */
  --fs-md: 1.0625rem; /* 17px目安 */
  --fs-lg: 1.1875rem; /* 19px目安 */
  --fs-xl: 1.3125rem; /* 21px目安 */
  --fs-xxl: 1.375rem; /* 22px */
}

.magenta{
	color:#F06;
}

*{ 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: #EFEFEF;
}

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

/* =========================
  Header
========================= */
.site-header{
  top: 0;
  background: #09F;
}

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

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

.brand-title h1{
  margin: 0;
  font-size: var(--fs-lg);
  letter-spacing: .02em;
  font-weight: 500;
  color: #FFF;
}

.brand-title p{
  margin: 2px 0 0;
  color: #FFF;
  font-size: var(--fs-xs);
}

/* =========================
  Notice
========================= */
.notice{
  margin: 18px auto 14px;
  padding: 14px;
  background: #FFF;
  border-radius: var(--radius);
}

.notice-title{
  margin: 0 0 8px;
  font-weight: 500;
  color: #09F;
  font-size: var(--fs-md);
}

.notice-list{
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  font-size: var(--fs-s);
}

.notice-list li{ margin: 4px 0; }

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

/* =========================
  Sections
========================= */
.form-section{
  margin: 0;
  padding: 14px 6px;
  border-radius: var(--radius);
}


.section-title{
  margin: 0 0 0px;
  font-size: var(--fs-md);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-title::before{
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #09F;
}

/* =========================
  Fields
========================= */
.field{ margin: 10px 0 20px 0; }

.label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: var(--fs-s);
  margin-bottom: 6px;
  padding-left:5px;
}

.label.required::after{
  content: "＊";
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #F06;

}

.help{
  margin: 3px 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;
}

/* =========================
  Inputs（iOSズーム対策：16px固定）
========================= */
input[type="text"],
input[type="number"],
input[type="date"],
select,
textarea{
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;                 /* 念押し */
  box-sizing: border-box;    /* 念押し */
  color: var(--text);
  border-radius: 14px;
  border: 1px solid #999;
  background: #fff;
  padding: 12px;
  font-size: var(--fs-sm);   /* 16px相当で安定 */
  outline: none;
}

/* select と date の高さだけ揃える */
select,
input[type="date"]{
  height: 44px;
  padding: 0 12px;           /* 縦paddingを消して高さ安定 */
  line-height: 44px;
}

/* textarea は別扱い */
textarea{
  padding: 12px;
  height: auto;
  min-height: 96px;
  line-height: 1.5;
}

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

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

/* =========================
  Grid（スマホ専用：常に1カラム）
========================= */
.grid-2{
  display: grid;
  gap: 12px;
}

/* =========================
  Combo
========================= */
.combo{
  display: grid;
  grid-template-columns: 1fr; /* プリント色項目は常に1列（横幅100%） */
  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;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
  color: #777;
  font-size: var(--fs-s);
}

.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: 1px;
  flex-wrap: wrap;
  border-radius: 14px;
  border: 1px solid #999;
  background: #FFF;
}

.radio{
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 12px 3px;
  cursor: pointer;
  user-select: none;
}

.radio input{
  width: 18px;
  height: 18px;
  accent-color: #F00;
}

.radio span{
  font-weight: 500;
  font-size: var(--fs-xs);
  margin-right:0.4em;
}

/* =========================
  Actions
========================= */
.form-actions{
  margin-top: 0;
  padding: 0 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;
  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: #777;
}

.footer-text{
  margin: 0;
  font-size: var(--fs-xxxs);
  text-align: center;
}

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