* { box-sizing: border-box; }
html { overflow-y: scroll; }
body {
  margin: 0;
  background: #fff;
  color: #5f5d5e;
  font-family: "Noto Sans JP", sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }

.service {
  width: min(100%, 375px);
  margin: 0 auto;
  position: relative;
  background: #fff;
}
.site-header { height: 70px; position: relative; }
#header-top { position: absolute; inset: 0 auto auto 0; width: 375px; max-width: 100%; height: 70px; }
#ham { position: fixed; top: 10px; left: calc(50% + 127.5px); width: 50px; height: 50px; z-index: 100; }
#to-yoyaku { position: fixed; top: 70px; left: calc(50% + 112.5px); width: 75px; height: 75px; z-index: 99; }
#to-top { position: fixed; top: 145px; left: calc(50% + 112.5px); width: 75px; height: 75px; z-index: 98; }

.form-page { padding: 28px 22px 50px; }
.form-intro { text-align: center; }
.form-intro h1 {
  position: static;
  margin: 0 0 20px;
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: .06em;
  color: #4b474d;
}
.form-intro .lead {
  position: static;
  width: auto;
  margin: 0 0 15px;
  font: 400 14px/1.8 "Noto Sans JP", sans-serif;
  letter-spacing: .02em;
  color: #5f5d5e;
}
.form-intro .lead strong { color: #bd685d; font-weight: 700; }
.form-intro .note {
  position: static;
  width: auto;
  margin: 0 auto 28px;
  font: 400 11px/1.7 "Noto Sans JP", sans-serif;
  letter-spacing: 0;
  text-align: left;
  color: #777474;
}

.flow-box { margin: 0 0 34px; padding: 18px 16px; background: #f5efe8; border-radius: 16px; text-align: left; }
.flow-box h2 { margin: 0 0 14px; font-size: 15px; line-height: 1.5; font-weight: 500; text-align: center; color: #5f5d5e; }
.flow-list { margin: 0; padding: 0; list-style: none; }
.flow-list li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; margin: 0 0 9px; font-size: 12px; line-height: 1.65; }
.flow-list li:last-child { margin-bottom: 0; }
.flow-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; font-size: 11px; }

.form-section { margin: 0 0 38px; }
.section-heading { margin: 0 0 20px; padding: 15px 12px 13px; border-radius: 14px; background: #f5efe8; text-align: center; }
.section-heading h2 { margin: 0 0 4px; font-family: "Noto Serif JP", serif; font-size: 19px; line-height: 1.4; font-weight: 500; color: #4b474d; }
.section-heading p { position: static; width: auto; margin: 0; font: 400 12px/1.5 "Noto Sans JP", sans-serif; letter-spacing: 0; text-align: center; color: #858787; }

form { margin: 0; }
.field, .field-group { margin: 0 0 20px; }
.field-group { min-width: 0; padding: 0; border: 0; }
.field label, .field-group legend { display: block; margin: 0 0 8px; font-size: 13px; line-height: 1.5; font-weight: 500; color: #5f5d5e; }
.required { font-size: 10px; font-weight: 400; color: #bd685d; }
input[type="text"], input[type="email"], input[type="date"], textarea {
  width: 100%;
  border: 1px solid #d9d3cd;
  border-radius: 8px;
  background: #fff;
  padding: 10px 11px;
  font-size: 13px;
  line-height: 1.5;
}
textarea { resize: vertical; }
.date-row { display: grid; grid-template-columns: 86px 1fr; gap: 8px; align-items: center; margin-bottom: 10px; }
.date-row label { margin: 0; font-size: 12px; font-weight: 400; }
.choice-row { display: flex; gap: 24px; flex-wrap: wrap; }
.choice-row label, .choice-stack label, .consultation-options label, .agree { font-size: 13px; font-weight: 400; line-height: 1.6; }
.choice-stack { display: grid; gap: 8px; }
.field-note { position: static; width: auto; margin: 8px 0 0; font: 400 11px/1.6 "Noto Sans JP", sans-serif; text-align: left; color: #777474; }

.consultation-options { display: grid; gap: 9px; }
.consultation-options label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  white-space: nowrap;
  font-weight: 400;
}
.consultation-options span { font-weight: 400; }
input[type="radio"], input[type="checkbox"] { width: auto; flex: 0 0 auto; }
.agree { display: flex; gap: 7px; align-items: flex-start; margin: 6px 0 18px; }

.submit-button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 12px 16px;
  background: #c9907d;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.submit-button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid #cf8b6e; outline-offset: 2px; }

@media (max-width: 374px) {
  #ham { left: auto; right: 10px; }
  #to-yoyaku, #to-top { left: auto; right: 0; }
  .form-page { padding-left: 18px; padding-right: 18px; }
  .consultation-options label { font-size: 12px; }
}




/* =========================================================
   SNS / footer：添付 index.html と同じ見え方
   ========================================================= */

/* index.html 側では ul の標準左padding(40px)が残っている。
   黒丸だけを消し、paddingは消さない。 */
.sns {
  box-sizing: content-box;
  width: 337px;
  margin-top: 0;
  margin-right: 65px;
  margin-bottom: 50px;
  margin-left: 65px;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 40px;
  display: flex;
  border: 0;
  background-color: transparent;
  list-style: none;
  line-height: 1.2;
}

.sns_icon {
  box-sizing: content-box;
  width: 31.5px;
  padding: 10px;
  cursor: pointer;
  list-style: none;
}

.sns_icon a {
  box-sizing: content-box;
  display: inline;
}

.sns_icon img {
  box-sizing: content-box;
  display: inline;
  width: auto;
  height: auto;
  max-width: none;
  vertical-align: baseline;
}

.footer {
  box-sizing: content-box;
  position: relative;
  display: inline-block;
  bottom: 0;
  left: 0;
  width: 375px;
  height: 180px;
  background-color: #4b474d;
  color: #ffffff;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.3;
}

.li01 {
  box-sizing: content-box;
  position: absolute;
  top: 20px;
  left: 0;
  width: 328px;
}

.li02 {
  box-sizing: content-box;
  position: absolute;
  left: 25px;
  font-style: normal;
}

.copyright {
  box-sizing: content-box;
  position: absolute;
  width: 375px;
  bottom: 10px;
  left: 0;
  font-size: 10px;
  font-weight: 500;
  text-align: center;
}

/* エリア分けの罫線 */
.area-divider {
  width: 100%;
  height: 0;
  margin-left: 0;
  margin-right: 0;
  border: 0;
  border-top: 1px solid #B3B8BB;
}
.area-divider-before-reserve {
  margin-top: 0;
  margin-bottom: 28px;
}
.area-divider-before-contact {
  margin-top: 0;
  margin-bottom: 28px;
}


