/* School website theme: scoped to the teacher registration form. */
* { box-sizing: border-box; }
body { margin: 0; background: #f6f7f4; color: #1f2421; font-family: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; font-size: 15px; line-height: 1.9; }
a { color: #1a6b3c; text-underline-offset: 4px; }
.school-header { background: #fff; border-top: 5px solid #1a6b3c; border-bottom: 1px solid #dde2dd; }
.school-header__inner { max-width: 1120px; margin: auto; padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.school-brand { display: flex; align-items: center; gap: 14px; color: #114a28; text-decoration: none !important; }
.school-brand img { width: 44px; height: 52px; object-fit: contain; }
.school-brand strong { display: block; font-family: "Yu Mincho", serif; font-size: 25px; letter-spacing: .08em; }
.school-brand small { display: block; color: #5a6360; font-family: Georgia, serif; font-size: 10px; letter-spacing: .16em; }
.school-header__link { font-size: 13px; white-space: nowrap; }
.form-hero { padding: 38px 24px; background: #114a28; color: #fff; text-align: center; }
.form-hero p { margin: 0 0 8px; color: #e3d4aa; font: 12px Georgia, serif; letter-spacing: .2em; }
.form-hero h1 { color: #fff; font-family: "Yu Mincho", serif; font-size: clamp(23px, 3vw, 32px); font-weight: 600; line-height: 1.6; }
.form-breadcrumb { max-width: 920px; margin: 20px auto; padding: 0 24px; color: #5a6360; font-size: 12px; }
.booking-shell { width: calc(100% - 48px); max-width: 872px; margin: 24px auto 48px; border: 1px solid #dde2dd; border-radius: 8px; background: #fff; box-shadow: 0 8px 30px rgba(17,74,40,.04); }
#main { padding: 36px 40px; }
.section { margin-bottom: 24px; }
.section__ttl { margin: 0 0 24px; padding: 0 0 16px; background: transparent; border-bottom: 2px solid #1a6b3c; color: #114a28; font-size: 21px; font-weight: 700; line-height: 1.7; }
.section__body { padding: 0; }
#txt_explain { color: #5a6360; font-size: 14px; }
table.formTable { width: 100%; table-layout: fixed; margin: 24px 0; border: 0; border-top: 1px solid #dde2dd; }
table.formTable th, table.formTable td { padding: 19px 18px; border: 0; border-bottom: 1px solid #dde2dd; vertical-align: middle; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
table.formTable th { width: 35%; background: #f6f7f4; color: #1f2421; font-weight: 700; }
table.formTable td { background: #fff; color: #1f2421; }
table.formTable input[type=text], table.formTable input[type=password], table.formTable input[type=email], table.formTable textarea, table.formTable select { display: block; width: 100%; max-width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #acb8ae; border-radius: 4px; background: #fff; color: #1f2421; box-shadow: none; font: inherit; font-size: 16px; }
table.formTable textarea { min-height: 120px; }
table.formTable input:focus, table.formTable select:focus, table.formTable textarea:focus { border-color: #1a6b3c; outline: 2px solid #1a6b3c; outline-offset: 2px; }
.red, .red_txt { color: #b4232c; }
.red { margin-left: 5px; }
.red_txt { font-size: 14px; }
.button_box { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 24px; }
.button_box input[type=submit] { min-width: 160px; min-height: 48px; margin: 0; padding: 12px 28px; border: 1px solid #1a6b3c; border-radius: 4px; background: #1a6b3c; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.button_box input[type=submit]:hover { background: #114a28; }
.button_box input[value="戻る"] { background: #fff; color: #1a6b3c; }
.button_box input[value="戻る"]:hover { background: #edf5ef; }
:focus-visible { outline: 2px solid #1a6b3c; outline-offset: 4px; }
.school-footer { padding: 28px 20px; background: #114a28; color: #fff; text-align: center; }
.school-footer p { margin: 0; font-size: 15px; }
.school-footer small { display: block; margin-top: 6px; font-size: 11px; color: #d9e6dd; }
@media (max-width: 640px) {
  .school-header__inner { padding: 16px; gap: 12px; flex-wrap: wrap; }
  .school-brand strong { font-size: 21px; }
  .school-brand small { font-size: 8px; }
  .school-brand img { width: 35px; height: 42px; }
  .school-header__link { font-size: 12px; }
  .form-hero { padding: 28px 16px; }
  .form-breadcrumb { padding: 0 16px; }
  .booking-shell { width: calc(100% - 24px); margin: 20px auto 32px; }
  #main { padding: 24px 18px; }
  .section__ttl { font-size: 18px; }
  table.formTable, table.formTable tbody, table.formTable tr, table.formTable th, table.formTable td { display: block; width: 100%; }
  table.formTable th { padding: 12px 14px 4px; border-bottom: 0; background: #fff; }
  table.formTable td { padding: 8px 14px 18px; }
}

.form-hero h1 { margin: 0; }
.booking-shell { max-width: 1120px; padding: 28px; }
.booking-intro { margin: 0 0 24px; color: #5a6360; font-size: 14px; }
#formWrap { width: 100%; max-width: 820px; margin: 0 auto; color: #1f2421; font: inherit; line-height: 1.9; }
#formWrap h2 { padding: 0 0 16px; margin: 22px 0; border: 0; border-bottom: 2px solid #1a6b3c; border-radius: 0; background: transparent; color: #114a28; font-size: 22px; font-weight: 700; }
#formWrap p { font-size: 14px; line-height: 1.9; margin-bottom: 16px; }
#formWrap input[type=text], #formWrap textarea { width: 100%; }
#formWrap input[type=radio], #formWrap input[type=checkbox] { width: 18px; height: 18px; accent-color: #1a6b3c; vertical-align: middle; }
input[type=submit], input[type=button], input[type=reset] { min-height: 44px; padding: 10px 20px; margin: 4px 0; border: 1px solid #1a6b3c; border-radius: 4px; background: #1a6b3c; color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
input[type=button], input[type=reset] { color: #1a6b3c; background: #fff; }
input[type=submit]:hover { background: #114a28; }
.calendar-scroll { overflow-x: auto; }
#calenderTable { table-layout: fixed; min-width: 700px; font-family: inherit; }
#calenderTable th { padding: 12px 6px; border-color: #dde2dd; background: #f6f7f4; font-size: 14px; }
#calenderTable th.calenderHeader { background: #114a28; color: #fff; font-size: 22px; border-color: #114a28; }
#calenderTable .calenderHeader a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: #fff; border: 1px solid #6b9579; border-radius: 4px; }
#calenderTable .calenderHeader a:hover { background: #1a6b3c; }
#calenderTable td { height: 95px; padding: 10px; border-color: #dde2dd; font-size: 14px; color: #1f2421; }
#calenderTable td .scheduleComment, #calenderTable td .schedulePulldownList { font-size: 12px; line-height: 1.8; overflow-wrap: anywhere; }
#calenderTable select { max-width: 100%; min-height: 36px; font-size: 13px; }
#calenderTable .reservForm input { min-height: 36px; padding: 6px 8px; font-size: 12px; }
p.holidayText { margin: 12px 0; padding: 0; color: #5a6360; }
.calendar-help { display: none; }
.booking-return { text-align: center; margin: 28px 0 0; font-size: 14px; }
@media (max-width:640px) {
 .booking-shell { padding: 20px 14px; }
 .calendar-help { display: block; color: #5a6360; font-size: 12px; }
 #formWrap h2 { font-size: 19px; }
 table.formTable th, table.formTable td { padding-left: 4px; padding-right: 4px; }
}