@charset "utf-8";

/* =========================================================
   下層ページ共通スタイル
   （css/style.css を読み込んだ上で追加適用する）
   配色・書体は LP と完全に共通のトークンを使用
   ========================================================= */

.page{padding-top:56px;padding-bottom:96px;}

.crumb{
  font-family:var(--gothic);
  font-size:13px;
  line-height:1.8;
  letter-spacing:.0229em;
  color:#5A5F5A;
  margin-bottom:30px;
}
.crumb a{text-decoration:none;}
.crumb a:hover{color:var(--accent);text-decoration:underline;}
.crumb span{margin:0 .5em;}

.page-title{
  font-size:29.92px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.0107em;
  margin:0 0 18px;
}
.page-desc{
  margin:0 0 44px;
  padding-bottom:36px;
  border-bottom:1px solid var(--rule);
}
.page-updated{
  font-family:var(--gothic);
  font-size:13px;
  letter-spacing:.0229em;
  color:#5A5F5A;
  margin:0 0 44px;
  padding-bottom:34px;
  border-bottom:1px solid var(--rule);
}

/* ---------- 条文セクション ---------- */
.sec{margin-bottom:52px;}
.sec:last-child{margin-bottom:0;}
.sec > h2{
  font-size:21.12px;
  font-weight:800;
  line-height:1.6;
  letter-spacing:.0188em;
  margin:0 0 20px;
}
.sec > h3{
  font-size:18px;
  font-weight:800;
  line-height:1.7;
  letter-spacing:.0188em;
  margin:32px 0 14px;
}
.sec p{margin-bottom:20px;}
.sec p:last-child{margin-bottom:0;}

.list-num{counter-reset:li;margin:0 0 20px;}
.list-num > li{
  counter-increment:li;
  position:relative;
  padding-left:34px;
  margin-bottom:14px;
}
.list-num > li::before{
  content:"(" counter(li) ")";
  position:absolute;left:0;top:0;
  color:var(--accent);
  font-family:var(--gothic);
  font-size:14px;
  line-height:34px;
  letter-spacing:0;
}
.list-dot{margin:0 0 20px;}
.list-dot > li{
  position:relative;
  padding-left:22px;
  margin-bottom:10px;
}
.list-dot > li::before{
  content:"";
  position:absolute;left:2px;top:15px;
  width:6px;height:6px;border-radius:50%;
  background:var(--accent);
}
.list-num > li:last-child,.list-dot > li:last-child{margin-bottom:0;}

.callout{
  border:1px solid var(--border);
  border-left:3px solid var(--accent);
  background:var(--bg-dark);
  padding:22px 24px;
  margin:0 0 28px;
}
.callout > *:last-child{margin-bottom:0;}
.callout__ttl{
  font-weight:800;
  margin:0 0 10px;
}

.note-sm{
  font-family:var(--gothic);
  font-size:14px;
  line-height:26px;
  letter-spacing:.0229em;
  margin:0 0 12px;
}
.note-sm:last-child{margin-bottom:0;}

/* 未確定項目（公開前に要記入） */
.todo{
  background:#FBEFEE;
  border-bottom:1px dashed var(--red);
  padding:0 .25em;
}

/* ---------- 定義リスト（特商法表記など） ---------- */
.dl{
  border-top:1px solid var(--rule);
}
.dl > div{
  display:flex;
  align-items:flex-start;
  border-bottom:1px solid var(--rule);
  padding:22px 4px;
}
.dl dt{
  flex:none;
  width:238px;
  padding-right:24px;
  font-weight:800;
}
.dl dd{flex:1;min-width:0;margin:0;}
.dl dd > *:last-child{margin-bottom:0;}
.dl dd p{margin-bottom:12px;}

/* ---------- フォーム ---------- */
.form-intro{
  border:1px solid var(--border);
  background:var(--bg-dark);
  padding:24px 26px;
  margin:0 0 44px;
}
.form-intro dl{display:grid;grid-template-columns:auto 1fr;gap:8px 20px;margin:0;}
.form-intro dt{font-weight:800;}
.form-intro dd{margin:0;}

.fieldset{
  border:0;
  margin:0 0 46px;
  padding:0;
}
.fieldset > legend{
  display:block;
  width:100%;
  font-size:21.12px;
  font-weight:800;
  line-height:1.6;
  letter-spacing:.0188em;
  padding:0 0 14px;
  margin:0 0 26px;
  border-bottom:1px solid var(--rule);
}

.field{margin-bottom:30px;}
.field:last-child{margin-bottom:0;}
.field__label{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
  font-weight:800;
  line-height:1.6;
}
.req,.opt{
  flex:none;
  font-family:var(--gothic);
  font-size:11px;
  font-weight:700;
  line-height:1;
  letter-spacing:.06em;
  padding:5px 8px;
}
.req{background:var(--red);color:#fff;}
.opt{background:var(--bg-dark);color:#5A5F5A;border:1px solid var(--border);}

.field__help{
  font-family:var(--gothic);
  font-size:13px;
  line-height:1.9;
  letter-spacing:.0229em;
  color:#5A5F5A;
  margin:0 0 10px;
}
.field__note{
  font-family:var(--gothic);
  font-size:13px;
  line-height:1.9;
  letter-spacing:.0229em;
  color:#5A5F5A;
  margin:8px 0 0;
}

input[type=text],input[type=email],input[type=tel],input[type=date],
input[type=number],select,textarea{
  width:100%;
  font-family:var(--gothic);
  font-size:16px;
  line-height:1.6;
  letter-spacing:.0229em;
  color:var(--ink);
  background:#FDFCFA;
  border:1px solid var(--border);
  border-radius:0;
  padding:13px 14px;
  appearance:none;
  -webkit-appearance:none;
  transition:border-color .15s,box-shadow .15s;
}
textarea{min-height:130px;resize:vertical;}
select{
  background-image:linear-gradient(45deg,transparent 50%,var(--accent) 50%),
                   linear-gradient(135deg,var(--accent) 50%,transparent 50%);
  background-position:calc(100% - 20px) calc(50% + 1px),calc(100% - 14px) calc(50% + 1px);
  background-size:6px 6px,6px 6px;
  background-repeat:no-repeat;
  padding-right:42px;
  cursor:pointer;
}
input:focus,select:focus,textarea:focus{
  outline:0;
  border-color:var(--accent);
  box-shadow:0 0 0 2px rgba(31,95,91,.16);
}
input[aria-invalid="true"],select[aria-invalid="true"]{
  border-color:var(--red);
  background:#FDF5F4;
}

.row{display:flex;gap:16px;}
.row > *{flex:1;min-width:0;}
.row--zip{max-width:260px;}
.row--name > *{flex:1;}
.w-pref{max-width:260px;}
.w-date{max-width:260px;}
.w-time{max-width:320px;}

.choice{display:flex;flex-direction:column;gap:14px;}
.choice label{
  display:flex;
  align-items:flex-start;
  gap:12px;
  line-height:1.9;
  cursor:pointer;
}
.choice input{flex:none;width:18px;height:18px;margin:6px 0 0;accent-color:var(--accent);}

.agree{
  border-top:1px solid var(--rule);
  padding-top:34px;
  margin-top:8px;
}
.agree label{
  display:flex;
  align-items:flex-start;
  gap:12px;
  line-height:1.9;
  cursor:pointer;
}
.agree input{flex:none;width:18px;height:18px;margin:6px 0 0;accent-color:var(--accent);}
.agree a{color:var(--accent);}

.err{
  display:none;
  font-family:var(--gothic);
  font-size:13px;
  line-height:1.8;
  letter-spacing:.0229em;
  color:var(--red);
  margin:8px 0 0;
}
.err.is-on{display:block;}

.alert{
  display:none;
  border:1px solid var(--red);
  background:#FDF5F4;
  padding:18px 20px;
  margin:0 0 30px;
  font-family:var(--gothic);
  font-size:14px;
  line-height:1.9;
  letter-spacing:.0229em;
}
.alert.is-on{display:block;}

.warn{
  display:none;
  border:1px solid var(--border);
  border-left:3px solid var(--red);
  background:var(--bg-dark);
  padding:16px 18px;
  margin:10px 0 0;
  font-family:var(--gothic);
  font-size:13px;
  line-height:1.9;
  letter-spacing:.0229em;
}
.warn.is-on{display:block;}

.actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
  margin-top:44px;
}
.btn--form{
  width:320px;
  height:74px;
  font-size:17px;
  line-height:1.4;
  border:0;
  cursor:pointer;
}
.btn--ghost{
  width:200px;
  height:74px;
  font-size:15px;
  background:transparent;
  color:var(--accent);
  border:1px solid var(--accent);
  cursor:pointer;
}
.btn--ghost:hover{background:var(--bg-dark);opacity:1;}

/* 確認画面 */
.confirm-list{border-top:1px solid var(--rule);margin-bottom:40px;}
.confirm-list > div{
  display:flex;
  align-items:flex-start;
  border-bottom:1px solid var(--rule);
  padding:18px 4px;
}
.confirm-list dt{flex:none;width:238px;padding-right:24px;font-weight:800;}
.confirm-list dd{flex:1;min-width:0;margin:0;white-space:pre-line;}

.is-hidden{display:none !important;}

/* 完了画面 */
.done{
  border:1px solid var(--border);
  background:var(--bg-dark);
  padding:44px 40px;
  text-align:center;
}
.done h2{
  font-size:24px;
  font-weight:800;
  line-height:1.6;
  letter-spacing:.0188em;
  margin:0 0 20px;
}

/* ---------- レスポンシブ ---------- */
@media (max-width:719px){
  .dl > div,.confirm-list > div{display:block;}
  .dl dt,.confirm-list dt{width:auto;padding:0 0 8px;}
  .form-intro dl{grid-template-columns:1fr;gap:4px;}
  .form-intro dt{margin-top:10px;}
  .form-intro dt:first-child{margin-top:0;}
}

@media (max-width:560px){
  .page{padding-top:40px;padding-bottom:64px;}
  .page-title{font-size:24px;}
  .sec{margin-bottom:40px;}
  .sec > h2,.fieldset > legend{font-size:19px;}
  .sec > h3{font-size:17px;}
  .row{flex-direction:column;gap:12px;}
  .row--name,.row--birth{flex-direction:row;gap:8px;}
  .actions{flex-direction:column;align-items:stretch;gap:12px;}
  .btn--form,.btn--ghost{width:100%;height:66px;}
  .done{padding:32px 22px;}
  .callout{padding:18px 18px;}
  .form-intro{padding:20px 18px;}
}
