@charset "UTF-8";
/* ヨコハマ・モータースポーツ・スカラシップ フォームデザイン準拠 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;500;700&display=swap");

/* ---------- RESET ---------- */
*, *:before, *:after { box-sizing: border-box; }
body { margin: 0; padding: 0; color: #333; -webkit-text-size-adjust: 100%;
  font-family: "Noto Sans JP", sans-serif; font-weight: 300; font-size: min(16px, 4vw); }
div, dl, dt, dd, form, h1, h2, h3, ul, ol, li, p, td, th { margin: 0; padding: 0; font-size: inherit; }
ul, ol, li { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; font-size: 100%; }
a { color: #000; text-decoration: underline; transition: all .3s ease-in; }
a:hover { color: #C33E24; text-decoration: none; opacity: .8; }
strong { font-weight: 700; }

/* ---------- UTILITY ---------- */
.alignC { text-align: center; }
.colRed { color: #E21E31; }
.sizeS { font-size: min(15px, 3.4vw); }
.mt20 { margin-top: 20px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb40 { margin-bottom: 40px !important; }
@media screen and (max-width: 759px) {
  .mt20 { margin-top: 4vw !important; }
  .mb20 { margin-bottom: 4vw !important; }
  .mb40 { margin-bottom: 6vw !important; }
}
@media screen and (min-width: 751px) { .sp { display: none !important; } }

/* ---------- BASE ---------- */
#container { margin: 0 auto; text-align: center; position: relative; overflow-x: hidden; letter-spacing: 1px; }
.inner { display: block; margin: 0 auto; position: relative; width: 100%; max-width: 500px; padding: 0 min(20px, 5vw); }
.section { text-align: left; padding: min(30px, 7vw) 0; line-height: 1.7; }

/* ---------- HEADER ---------- */
#header { width: 100%; background-color: #333; color: #FFF; }
#header .pageTitle { padding: min(10px, 3vw); text-align: center; }
#header .pageTitle h1 { font-weight: 500; font-size: min(20px, 4.4vw); line-height: normal; }
.pageHead h2 { text-align: center; margin-bottom: min(10px, 3vw); font-size: min(20px, 4.4vw);
  font-weight: 500; background-color: #eff0f5; padding: min(10px, 3vw); line-height: 1.5; }

/* ---------- COMMON ---------- */
.cTitle { position: relative; font-size: min(16px, 3.8vw); font-weight: 700; padding-left: min(12px, 3vw);
  margin: min(20px, 5vw) 0 min(10px, 3vw); color: #000; line-height: 1.5; }
.cTitle::before { content: ""; position: absolute; left: 0; top: .3em; width: 4px; height: 1em;
  background-color: #E21E31; border-radius: 2px; }
.listCaution { font-size: min(15px, 3.4vw); }
.listCaution > li { padding-left: 1em; text-indent: -1em; line-height: 1.6; margin-bottom: min(6px, 2vw); }

/* ---------- FORM ---------- */
.reqlabel { font-size: min(12px, 3vw); color: #CC0000; margin-left: 5px; padding: 3px 5px; }
.formWrap .formTbl { width: 100%; }
.formWrap .formTbl > tbody > tr, .formWrap .formTbl > tr { border-bottom: 1px solid #DDD; }
.formWrap .formTbl tr th, .formWrap .formTbl tr td { display: block; width: 100%; text-align: left; }
.formWrap .formTbl tr th { vertical-align: top; font-weight: 500; padding-top: min(20px, 4vw); padding-bottom: min(5px, 1.5vw); }
.formWrap .formTbl tr td { padding-top: min(5px, 1.5vw); padding-bottom: min(20px, 4vw); word-break: break-all; }
.formConfirm .formWrap .formTbl tr th,
.formConfirm .formWrap .formTbl tr td { display: table-cell; width: 50%; padding: min(10px, 2vw); }
.formConfirm .formWrap .formTbl tr th { width: 40%; }
.formConfirm .formWrap .formTbl { border-top: 1px solid #DDD; }

.formBtn { margin: 50px auto 0; text-align: center; display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: min(7px, 2vw); }
.formBtn button { padding: 10px 30px; margin: min(5px, 2vw); }

input[type=text], input[type=email], input[type=password], button {
  padding: min(7px, 1.6vw); outline: none; font-size: 16px; line-height: 1.4; border: 1px solid #999;
  background-color: #FFF; font-family: inherit; border-radius: 0; -webkit-appearance: none; }
input[type=text], input[type=email], input[type=password] { width: 100%; }
input[type=text]:focus, input[type=email]:focus, input[type=password]:focus { border-color: #333; }
button { border: 1px solid #E21E31; background-color: #E21E31; color: #FFF; cursor: pointer; letter-spacing: 1px; }
button:hover { opacity: .8; }
button.back { border-color: #CCC; background-color: #CCC; color: #333; }
button:disabled { opacity: .6; cursor: default; }
input[type=checkbox] { transform: scale(1.4); margin: 0 10px 0 3px; vertical-align: middle; }

.error { color: #E21E31; font-size: min(15px, 3.4vw); padding-left: 1.3em; margin-top: 5px; position: relative; font-weight: 700; }
.error::before { content: "!"; position: absolute; left: 0; top: .25em; width: 1em; height: 1em; border-radius: 50%;
  background: #E21E31; color: #FFF; font-size: .8em; line-height: 1em; text-align: center; }

/* 個人情報（スクロール表示） */
.privacyBox { height: 220px; overflow-y: auto; -webkit-overflow-scrolling: touch; border: 1px solid #CCC;
  background: #fafafa; padding: min(15px, 3vw); font-size: min(13px, 3.2vw); line-height: 1.7; letter-spacing: .5px; }
.privacyBox p { margin-bottom: 1em; }
.privacyBox .dotList { margin-bottom: 1em; }
.privacyBox .dotList li { padding-left: 1em; text-indent: -1em; }
.privacyBox .dotList li::before { content: "・"; }
.privacyBox .numList { counter-reset: num; }
.privacyBox .numList li { counter-increment: num; padding-left: 1.6em; text-indent: -1.6em; margin-bottom: .6em; }
.privacyBox .numList li::before { content: counter(num) "．"; }
.privacyNote { font-size: min(12px, 3vw); color: #E21E31; margin-top: 6px; }
.agreeLabel { display: inline-block; margin-top: 12px; font-weight: 500; cursor: pointer; }
.agreeLabel.is-disabled { color: #AAA; cursor: not-allowed; }

/* 完了画面 */
.doneBox { background: #eff0f5; border-radius: 5px; padding: min(15px, 4vw); text-align: center; margin: min(20px, 5vw) 0; }
.doneLabel { font-size: min(14px, 3.4vw); }
.doneNo { font-size: min(28px, 6vw); font-weight: 700; color: #E21E31; letter-spacing: 2px; }

/* ボット対策欄（非表示） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FOOTER ---------- */
#footer { padding: min(30px, 10vw) 0; background-color: #FFF; }
.copyright { font-size: min(14px, 3.2vw); }
.privacyBox .contact { margin: 1em 0 0; padding-top: 1em; border-top: 1px dashed #CCC; word-break: break-all; }

/* 応募状況ページ */
.doneNo .unit { font-size: .5em; margin-left: 4px; color: #333; }
.statTbl { width: 100%; border: 1px solid rgba(51,51,51,.25); }
.statTbl th, .statTbl td { border: 1px solid rgba(51,51,51,.25); padding: min(6px, 1.5vw); text-align: center; }
.statTbl thead th { background-color: #eff0f5; font-weight: 500; }
.statTbl td:not(:first-child) { text-align: right; padding-right: 1em; }
.adminBtn { display: inline-block; padding: 10px 30px; background: #E21E31; border: 1px solid #E21E31; color: #FFF; text-decoration: none; }
.adminBtn:hover { color: #FFF; }
.adminBtn.back { background: #CCC; border-color: #CCC; color: #333; }
