@charset "UTF-8";
/*-----------------------------------------------------------------------------------------------------
共通設定(PC)
--------------------------------------------------------------------------------------------------------*/
html, body {
  width: 100%;
}
body {
  font-family: "Noto Sans JP", "游ゴシック体", "游ゴシック", "Yu Gothic", sans-serif;
  font-size: 62.5%;
  font-style: normal;
  line-height: 1.5;
  color: #5c5c5c;
}
a {
  text-decoration: underline;
}
a:link, a:visited {
  color: #39f;
}
a:hover, a:active {
  color: #f60;
}
.btn:hover {
  opacity: 0.7;
}

/*-----------------------------------------------------------------------------------------------------
各エリアの設定(PC)
-----------------------------------------------------------------------------------------------------*/
.loaded {
  opacity: 0;
  visibility: hidden;
}

#container {
  position: relative;
}

#main {
  background-image: url(../images/bg_main.jpg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-attachment: fixed;
  background-size: cover;
}

#main-in {
  background-color: #fff;
  padding: 0em 0;
  box-shadow: 12px 1px 35px #594a42;
}

#main-contents .contents {
  margin-bottom: 0em;
  padding: 0 40px;
}

#main-contents p {
  line-height: 1.8em;
}

#main-contents {
  font-size: 1.8em;
}

.header_inr {
  width: 680px;
  margin: 0 auto;
}

/*-----------------------------------------------------------------------------------------------------
ヘッド部分
-----------------------------------------------------------------------------------------------------*/
.head_menu {
  display: flex;
  object-fit: contain;
}

.logo {
  width: 40%;
  padding-top: 5px;
}

.head_map {
  width: 23.4%;
}

.head_btn {
  width: 42%;
}

/*-----------------------------------------------------------------------------------------------------
PC閲覧時メニュー（スマホは非表示）
-----------------------------------------------------------------------------------------------------*/
.global-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 300px;
  height: 100%;
  z-index: 1000;
  padding-top: 20px;
  padding-left: 20px;
}

.global-menu .logo {
  text-align: center;
  width: 80%;
  margin-bottom: 30px;
}

.global-menu nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.global-menu nav ul li {
  font-family: "Anta", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 6px;
}

.global-menu nav ul li a {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  font-size: 25px;
  color: #fff;
}

.global-menu nav ul li a:hover {
  background-color: #FB8C00;
}

.order_btn_01 {
  background: linear-gradient(90deg, #FFA726, #FB8C00);
  border: 1px solid #fff;
  padding: 8px;
  font-size: 13px;
  text-align: center;
}

.order_btn_01 a {
  color: #fff !important;
  font-weight: 800 !important;
}

.order_btn_01 a:hover {
  opacity: 0.8;
  background-color: transparent !important;
}

.order_btn_02 {
  background: linear-gradient(90deg, #4fb969, #4fb969);
  border: 1px solid #fff;
  padding: 8px;
  font-size: 13px;
  text-align: center;
}

.order_btn_02 a {
  color: #fff !important;
  font-weight: 900 !important;
}

.order_btn_02 a:hover {
  opacity: 0.8;
  background-color: transparent !important;
}

.order_btn_03 img {
  width: 100%;
}


/*-----------------------------------------------------------------------------------------------------
FV + CTA
-----------------------------------------------------------------------------------------------------*/
.fv_area {
  position: relative;
}

.fv_area > img {
  width: 100%;
  display: block;
}

.cta_btn_fv {
  position: absolute;
  bottom: 18%;
  left: 7%;
  width: 86%;
}

.cta_btn_fv img {
  width: 100%;
  display: block;
}

.cta_line_fv {
  position: absolute;
  bottom: 11%;
  left: 7%;
  width: 86%;
}

.cta_line_fv img {
  width: 100%;
  display: block;
}


/*-----------------------------------------------------------------------------------------------------
中間CTA
-----------------------------------------------------------------------------------------------------*/
.cta_area_mid {
  position: relative;
}

.cta_area_mid > img {
  width: 100%;
  display: block;
}

.cta_mid_muryo {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
}

.cta_mid_muryo img {
  width: 100%;
  display: block;
}

.cta_mid_line {
  position: absolute;
  top: 39%;
  left: 5%;
  width: 90%;
}

.cta_mid_line img {
  width: 100%;
  display: block;
}


/*-----------------------------------------------------------------------------------------------------
CTAアニメーション（LP19風 poyopoyo）
-----------------------------------------------------------------------------------------------------*/
.anim-box.poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
}

@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.85);
  }
}


/*-----------------------------------------------------------------------------------------------------
全国の校舎リンクセクション
-----------------------------------------------------------------------------------------------------*/
.school-link-section {
  position: relative;
}

.school-link-section > img {
  width: 100%;
  display: block;
}

.school-link-btn {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 100%;
  text-align: center;
}

.school-link-btn a {
  display: inline-block;
  color: #153ca2;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid #153ca2;
  padding-bottom: 3px;
}

.school-link-btn a:hover {
  opacity: 0.7;
}


/*=====================================================================================================
LP18流用セクション（movie, question, counseling, contact）- pxベース、常にSP表示
=====================================================================================================*/

/* --- 共通リセット --- */
.lp18-wrap {
  font-family: "Noto Sans JP", YuGothic, "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6875;
  color: #3e3a39;
  box-sizing: border-box;
}
.lp18-wrap *, .lp18-wrap *::before, .lp18-wrap *::after {
  margin: 0; padding: 0; border: 0; outline: 0;
  box-sizing: border-box;
}
.lp18-wrap a { text-decoration: none; color: inherit; transition: 0.3s ease-in-out; }
.lp18-wrap a:hover { opacity: 0.7; }
.lp18-wrap li { list-style-type: none; }
.lp18-wrap img { width: 100%; height: auto; vertical-align: bottom; }
.lp18-wrap .spNone { display: none !important; }
.lp18-wrap .pcNone { display: block !important; }
.lp18-wrap .l-innerA,
.lp18-wrap .l-innerB { max-width: 100%; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* --- 合格体験動画 --- */
.lp18-wrap .movie { background-color: #fff; }
.lp18-wrap .movie_inner { padding: 40px 0 50px; }
.lp18-wrap .movie_head { text-align: center; margin-bottom: 30px; opacity: 0; transition: 1s ease-in-out; }
.lp18-wrap .movie_head.fadeCurrent { opacity: 1; }
.lp18-wrap .movie_head .heading { font-size: 22px; font-weight: bold; letter-spacing: 0.05em; line-height: 1; margin-bottom: 20px; color: #153ca2; }
.lp18-wrap .movie_head .read { font-size: 14px; font-weight: 500; text-align: center; line-height: 1.5; letter-spacing: 0.05em; color: #5a5a5a; }
.lp18-wrap .movie_list { display: flex; flex-direction: column; gap: 15px; opacity: 0; transform: translateY(40px); transition: 0.6s ease-in-out; }
.lp18-wrap .movie_list.fadeUp { opacity: 1; transform: translateY(0); }
.lp18-wrap .movie_list .item { width: 100%; aspect-ratio: 16/9; }
.lp18-wrap .movie_list iframe { width: 100%; height: 100%; }

/* --- よくある質問 --- */
.lp18-wrap .question { background-color: #e7fbfe; }
.lp18-wrap .question_inner { padding: 50px 0 25px; }
.lp18-wrap .question .heading { font-size: 22px; font-weight: bold; line-height: 1; letter-spacing: 0.05em; margin-bottom: 30px; text-align: center; color: #153ca2; opacity: 0; transition: 1s ease-in-out; }
.lp18-wrap .question .heading.fadeCurrent { opacity: 1; }
.lp18-wrap .question_list { opacity: 0; transform: translateY(40px); transition: 0.6s ease-in-out; }
.lp18-wrap .question_list.fadeUp { opacity: 1; transform: translateY(0); }
.lp18-wrap .question_list dl { display: flex; flex-direction: column; }
.lp18-wrap .question_list dl:not(:last-child) { margin-bottom: 15px; }
.lp18-wrap .question_list dt .detail, .lp18-wrap .question_list dd .detail { display: flex; gap: 10px; }
.lp18-wrap .question_list dt span, .lp18-wrap .question_list dd span { display: inline-block; font-size: 20px; font-weight: bold; line-height: 1; }
.lp18-wrap .question_list dt p, .lp18-wrap .question_list dd p { flex: 1; }
.lp18-wrap .question_list dt {
  align-items: center; cursor: pointer; background-color: #37b6ff;
  position: relative; z-index: 1; padding: 15px 40px 15px 15px;
}
.lp18-wrap .question_list dt::after {
  content: ""; background-image: url(../images/icon_close@2x.png); background-repeat: no-repeat; background-size: contain;
  width: 13px; height: 13px; position: absolute; top: 50%; right: 10px;
  transform: translateY(-50%) rotate(45deg); transition: 0.2s ease-in-out;
}
.lp18-wrap .question_list dt span { color: #f8ef00; }
.lp18-wrap .question_list dt p { font-size: 14px; font-weight: 500; line-height: 1.5; color: #fff; }
.lp18-wrap .question_list dt.open::after { transform: translateY(-50%) rotate(0); }
.lp18-wrap .question_list dd { display: none; background-color: #fff; border-bottom: solid 1px #37b6ff; padding: 15px; }
.lp18-wrap .question_list dd .detail > span { color: #37b6ff; margin-top: 4px; }
.lp18-wrap .question_list dd .desc { flex: 1; }
.lp18-wrap .question_list dd .desc > p { font-size: 14px; line-height: 1.875; letter-spacing: 0.03em; color: #294499; }
.lp18-wrap .question_list dd .desc > p > a { color: #37b6ff; text-decoration: underline; }
.lp18-wrap .question_list dd a[href^="tel:"] { color: #294499; text-decoration: underline; }

/* --- 無料カウンセリング --- */
.lp18-wrap .counseling { background-image: url(../images/what_bg@2x.jpg); background-repeat: no-repeat; background-size: cover; margin-bottom: 100px; }
.lp18-wrap .counseling_inner { padding: 30px 0 25px; position: relative; z-index: 1; }
.lp18-wrap .counseling_body { box-shadow: 7px 7px 5px rgba(0,0,0,0.1); position: relative; z-index: -1; }
.lp18-wrap .counseling_head {
  border: solid #38b6ff; border-width: 2px 0;
  display: flex; justify-content: center; align-items: center;
  background-color: #fff; height: 70px; position: relative; z-index: 1;
}
.lp18-wrap .counseling_head .inner { display: flex; align-items: center; justify-content: center; gap: 10px; background-color: #fff; padding: 0 8px 0 18px; }
.lp18-wrap .counseling_head .icon { width: 50px; }
.lp18-wrap .counseling_head .heading { font-size: 18px; font-weight: 900; line-height: 1.2; letter-spacing: 0.05em; color: #153ca2; }
.lp18-wrap .counseling_content { background-color: #fff; padding: 30px 20px; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.lp18-wrap .counseling_content .detailBox { width: 100%; }
.lp18-wrap .counseling_content .photoBox { margin: 0 auto 20px; width: 200px; }
.lp18-wrap .counseling_content .headingSub {
  text-align: center; font-size: 18px; font-weight: bold; letter-spacing: 0.05em; line-height: 1.4; color: #5a5a5a;
  background-image: url(../images/counseling_line@2x.png); background-repeat: no-repeat;
  background-size: 100% 28px; background-position: bottom center;
  padding: 0 20px 30px; margin: 0 -20px 10px;
}
.lp18-wrap .counseling_content .headingSub strong { font-size: 21px; color: #38b6ff; }
.lp18-wrap .counseling_content .list { padding: 0; margin: 0; }
.lp18-wrap .counseling_content .item {
  font-size: 15px; font-weight: 500; line-height: 1.5; letter-spacing: 0.05em;
  padding-left: 30px; position: relative; z-index: 1;
}
.lp18-wrap .counseling_content .item:not(:last-child) { margin-bottom: 16px; }
.lp18-wrap .counseling_content .item::before {
  content: ""; width: 22px; height: 22px;
  background-image: url(../images/check@2x.png); background-repeat: no-repeat; background-size: contain;
  position: absolute; top: 0; left: 0; z-index: -1;
}
.lp18-wrap .counseling_message {
  background-color: #38b6ff; width: calc(100% - 32px); height: 145px;
  padding: 15px 15px 0;
  clip-path: polygon(0 0, 100% 0, 100% 100px, 50% 140px, 0 100px, 0 0);
  position: absolute; bottom: -110px; left: 50%; transform: translateX(-50%); z-index: -1;
}
.lp18-wrap .counseling_message .read { font-size: 14px; font-weight: bold; line-height: 1.7; letter-spacing: 0.05em; color: #fff; text-align: center; }

/* --- 受験相談予約フォーム --- */
.lp18-wrap .contact { background-color: #fff; }
.lp18-wrap .contact_inner { padding: 30px 0 20px; }

/* 電話予約案内 */
.form-tel-notice {
  padding: 0 15px 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.form-tel-notice p {
  margin: 0;
}
.form-tel-notice a {
  color: #38b6ff;
  font-weight: bold;
  text-decoration: none;
}

/* --- フッター --- */
.p-footer_inner { padding-top: 30px; padding-bottom: 120px; }
.p-footer .logo { width: 160px; margin: 0 auto 30px; }
.p-footer .logo img { width: 100%; height: auto; }
.p-footer .copyright { font-size: 12px; letter-spacing: 0.05em; line-height: 1; text-align: center; }


/*-----------------------------------------------------------------------------------------------------
コード型フォーム（formrun）
-----------------------------------------------------------------------------------------------------*/
.contact_inner .formrun {
  max-width: 100%;
  padding: 15px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  color: #333;
}

.contact_inner .formrun .form-group,
.contact_inner .formrun > div {
  margin-bottom: 15px;
}

.contact_inner .formrun .name-fields {
  display: flex;
  gap: 8px;
}

.contact_inner .formrun .name-fields input {
  flex: 1;
}

.contact_inner .formrun label {
  display: block;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
}

.contact_inner .formrun label span {
  display: inline-block;
  color: #fff;
  background-color: #f87600;
  font-size: 12px;
  padding: 2px 8px;
  margin-left: 8px;
  border-radius: 3px;
  vertical-align: middle;
}

.contact_inner .formrun .form-control,
.contact_inner .formrun input[type="text"],
.contact_inner .formrun input[type="email"],
.contact_inner .formrun input[type="tel"],
.contact_inner .formrun select,
.contact_inner .formrun textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-top: 4px;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.contact_inner .formrun input[type="text"]:focus,
.contact_inner .formrun input[type="email"]:focus,
.contact_inner .formrun input[type="tel"]:focus,
.contact_inner .formrun select:focus,
.contact_inner .formrun textarea:focus {
  border-color: #38b6ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.2);
}

.contact_inner .formrun select {
  height: 44px;
}

.contact_inner .formrun textarea {
  min-height: 120px;
  resize: vertical;
}

.contact_inner .formrun .form-text {
  display: block;
  color: #999;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 4px;
}

.contact_inner .formrun .text-danger,
.contact_inner .formrun [data-formrun-show-if-error] {
  color: #d9534f;
  font-size: 13px;
  margin-top: 4px;
}

.contact_inner .formrun button[type="submit"] {
  display: block;
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background-color: #f87600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.contact_inner .formrun button[type="submit"]:hover {
  opacity: 0.8;
}


/*-----------------------------------------------------------------------------------------------------
フローティングメニュー・フッター（PC非表示）
-----------------------------------------------------------------------------------------------------*/
.fix_menu_smartphone { display: none; }
.tel_left { display: none; }
.tel_right { display: none; }


/*-----------------------------------------------------------------------------------------------------
PCでの電話リンク無効
-----------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 769px) {
  .tel-link {
    pointer-events: none;
    cursor: default;
  }
  .lp18-wrap .movie_head .heading {
    font-size: 30px;
  }
  .lp18-wrap .movie_head .read {
    font-size: 20px;
  }
  .lp18-wrap .movie_inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .lp18-wrap .question .heading {
    font-size: 20px;
  }
  .lp18-wrap .question_list dt p {
    font-size: 20px;
  }
  .lp18-wrap .question_list dt span {
    font-size: 40px;
  }
  .lp18-wrap .question_inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .school-link-btn a:hover {
    text-decoration: none;
  }
  .lp18-wrap .counseling_message .read {
    font-size: 18px;
  }
}
