@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

.online_main__header {
    background-image:  url(img/img_01.png);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}
.online-title01 {
    font-size: 1.125rem;
    margin-bottom: 30px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
}
@media (max-width: 860px) {
  .online-title01 {
    font-size: 1.125rem;
    text-align: center;

  }
}
.online-title02 {
    font-size: 2.8125rem;
    margin-bottom: 90px;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
}
@media (max-width: 860px) {
  .online-title02 {
    font-size: 2.3125rem;
    text-align: center;
    line-height: 130%;
  }
}
@media (max-width: 650px) {
  .online-title02 {
    font-size: 2rem;
  }
}
.online-flex {
    display: flex;
    justify-content: space-between;
}
@media (max-width: 860px) {
  .online-flex {
    display: block;
  }
}
.online-flex-inner {
    width: 48%;
    background: #f2f2f2;
    border-radius: 20px;
    padding: 2vw 2%;
}
@media (max-width: 860px) {
  .online-flex-inner {
    width: 96%;
    padding: 2%;
    margin-bottom: 30px;
  }
}
.online-txt01 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    padding: 0;
}
@media (max-width: 650px) {
  .online-txt01 {
    font-size: 1rem;
  }
}
.online-txt01::before {
    position: absolute;
    content: "";
    top: 6px;
    left: -20px;
    width: 1px;
    height: 20px;
    background: #999;
    transform: rotate(-45deg);
}
.online-txt01::after {
    position: absolute;
    content: "";
    top: 6px;
    right: -20px;
    width: 1px;
    height: 20px;
    background: #999;
    transform: rotate(45deg);
}
.online-txt02 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-size: 1.875rem;
    line-height: 130%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}
@media (max-width: 650px) {
  .online-txt02 {
    font-size: 1.125rem;
  }
}
.online-list {
    text-align: center;
    position: relative;
    padding: 0 20px;
}
.online-list li {
    font-size: 1rem;
    line-height: 130%;
    list-style: none;
    margin-bottom: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 650px) {
  .online-list li {
    font-size: 0.925rem;
  }
}
.online-list li::before {
    position: absolute;
    content: "●";
    margin-left: -16px;
    color: #999;
}
.online-title03 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    font-size: 1.875rem;
    line-height: 130%;
    text-align: center;
    padding-top: 70px;
    margin-bottom: 30px;
}
@media (max-width: 650px) {
  .online-title03 {
    font-size: 1.25rem;
  }
}
.online-txt03 {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    font-size: 1.125rem;
    text-align: center;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    padding: 0;
}
@media (max-width: 650px) {
  .online-txt03 {
    font-size: 1rem;
  }
}
.mb70 {
    margin-bottom: 70px;
}
.mb30 {
  margin-bottom: 30px;
}
.online-flex-inner02 {
    width: 48%;
}
@media (max-width: 860px) {
  .online-flex-inner02 {
    width: 100%;
  }
}
.online-listen {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    width: 100%;
    font-size: 1.875rem;
    text-align: center;
    padding-bottom: 5px;
    margin-bottom: 25px;
    border-bottom: solid 0.025em #0ab1e8;
}
@media (max-width: 650px) {
  .online-listen {
    font-size: 1.25rem;
  }
}
.online-listen span {
    font-size: 1rem;
}
.online-listen-txt01 {
    font-size: 1.125rem;
    line-height: 170%;
    text-align: center;
    margin-bottom: 25px;
}
@media (max-width: 650px) {
  .online-listen-txt01 {
    font-size: 1rem;
    text-align: left;
  }
}
.online-flex-inner03 {
    width: 52.5%;
}
.online-flex-inner04 {
    width: 45%;
}
.online-flex-inner03 img {
    width: 100%;
}
.bp {
  display: inline-block;
  white-space: nowrap;
}
.mb5 {
    margin-bottom: 5.7%!important;
}
.mb20 {
    margin-bottom: 20px!important;
}
.mb50 {
  margin-bottom: 50px;
}
.mb100 {
  margin-bottom: 100px;
}
.mbvw {
    margin-bottom: 6.8%!important;
}
.online-works {
    width: 100%;
    position: relative;
    margin-bottom: 0;
    height: 8.5%;
}
.online-works span {
    position: relative;
    z-index: 1;
    font-size: 1.5625rem;
    color: #999;
    width: fit-content;
    line-height: 100%;
    background: #FFF;
    display: block;
    padding-right: 10px;
}
@media (max-width: 650px) {
  .online-works span {
    font-size: 4vw;
  }
}
.online-works::before {
    position: absolute;
    z-index: 0;
    content: "";
    height: 1px;
    background: #999;
    width: 70%;
    left: 30%;
    top: 35%;
    transform: translateY(-35%);
}
.online-teacher {
    font-size: 1.25rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
}
@media (max-width: 650px) {
  .online-teacher {
    margin-bottom: 0;
  }
}
.online-teacher-hp {
    font-size: 0.925rem;
}
@media (max-width: 650px) {
  .online-teacher-hp {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
  }
}
.online-teacher-hp a {
    color: #036eb7;
}
.online-txt04 {
    font-size: 1rem;
    line-height: 170%;
}
.pc {
    width: 100%;
    display: block;
}
.sp {
    display: none;
}
@media (max-width: 650px) {
  .pc {
    display: none;
  }
  .sp {
    display: flex;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
  }
}
.pc img {
    width: 100%;
}
.sp img {
    width: 90%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.online-txt05 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    line-height: 170%;
    text-align: center;
    margin-left: 23%;
    margin-right: 29%;
    margin-bottom: 50px;
}
@media (max-width: 650px) {
  .online-txt05 {
    writing-mode: vertical-rl;
    text-align: left;
    margin: 16vh auto 0 0;
  }
}
.online-txt05 span,.online-gray-back span {
    color: #e50012;
}
.online-gray-back {
    font-family: "Noto Sans JP", sans-serif;
    background: #ebebeb;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    line-height: 200%;
    padding: 40px 0;
    margin-bottom: 200px;
}
@media (max-width: 650px) {
  .online-gray-back {
    text-align: left;
    padding: 40px 20px;
  }
}
.online-link {
  background: #0ab1e8;
  border-radius: 10px;
  margin-bottom: 20px;
  border: solid 3px #0ab1e8;
}

.online-link a {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2.4375rem;
    color: #FFF;
    cursor: pointer;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
    justify-content: center;
    padding: 35px 10% 35px 0;
}
@media (max-width: 780px) {
  .online-link a {
    font-size: 1.875rem;
    display: block;
    line-height: 130%;
    padding: 20px 50px 20px 20px;
  }
}
.online-link a::after {
    position: absolute;
    top: 40%;
    transform: translateY(-40%);
    content: "";
    right: 3vw;
    display: inline-block;
    vertical-align: middle;
    color: #FFF;
    line-height: 1;
    width: 0.8em;
    height: 0.8em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateX(-25%) rotate(45deg);
}
.online-link a:hover {
    background: #FFF;
    color: #0ab1e8;
    border-radius: 10px;
}
.online-link a:hover::after {
    color: #0ab1e8;
}
.line-link a {
    width: 100%;
    display: block;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 2rem;
    cursor: pointer;
    text-align: center;
    background: #02b902;
    border-radius: 50px;
    padding: 5px 10px;
    position: relative;
    border: solid 3px #02b902;
    color: #FFF;
}
@media (max-width: 780px) {
  .line-link a {
    font-size: 1.4375rem;
    text-align: left;
    padding: 5px 25px;
  }
}
.line-link a::after {
    position: absolute;
    top: 35%;
    transform: translateY(-35%);
    content: "";
    right: 3.5vw;
    display: inline-block;
    vertical-align: middle;
    color: #FFF;
    line-height: 1;
    width: 0.8em;
    height: 0.8em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateX(-25%) rotate(45deg);
}
.line-link a:hover {
    background: #FFF;
    color: #02b902;
}
.line-link a:hover::after {
    color: #02b902;
}

/* ========== モーダル ========== */
.modal-wrap {
  width: 100%;
  position: relative;
  display: inline-block;
}
.modal-wrap::before {
  position: absolute;
  z-index: 5;
  right: 10px;
  top: 10px;
  content: "";
  width: 20px;
  height: 20px;
  background-image: url(img/icon.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.modal-toggle {
  display: none;
}

.modal-thumb {
  width: 100% !important;
  max-width: none;
}

.modal-thumb img {
  width: 100% !important;
  max-width: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.modal-thumb img:hover {
  opacity: 0.8;
}

/* モーダル背景 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-toggle:checked ~ .modal-overlay {
  display: flex;
}

.modal-bg {
  position: fixed;
  inset: 0;
  cursor: pointer;
}

/* モーダル本体 */
/* ========== モーダル ========== */
.modal-wrap {
  width: 100%;
  position: relative;
  display: inline-block;
}

.modal-toggle {
  display: none;
}

.modal-thumb {
  width: 100% !important;
  max-width: none;
}

.modal-thumb img {
  width: 100% !important;
  max-width: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.modal-thumb img:hover {
  opacity: 0.8;
}

/* モーダル背景 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-toggle:checked ~ .modal-overlay {
  display: flex;
}

.modal-bg {
  position: fixed;
  inset: 0;
  cursor: pointer;
}

/* モーダル本体 */
.modal-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  max-width: 840px;
  max-height: 525px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
  z-index: 1;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

/* 横スクロールラッパー */
.modal-img-wrapper {
  width: 100%;
  height: 525px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;

  direction: rtl;
}

/* 画像 */
.modal-img-wrapper img {
  height: 525px;
  width: auto;
  display: block;
  max-width: none;

   direction: ltr; /* 画像は普通に左→右 */
}
@media (max-width: 780px) {
  .modal-content {
    margin-left: 2%;
    margin-right: 2%;
    max-width: 96%;
    height: auto;
  }
  .modal-img-wrapper {
    height: 260px;
  }
  .modal-img-wrapper img {
    height: 260px;
  }
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  font-size: 28px;
  line-height: 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-btn span {
  position: absolute;
  z-index: 5;
  font-size: 1rem;
  color: #FFF;
  display: block;
}

.close-btn:hover {
  background: rgba(0,0,0,0.8);
}

/* アニメーション */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* アニメーション */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}

/* =====================================
   スクロール案内アイコン
   ===================================== */
.scroll-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 5;
  opacity: 1;
}
@media (max-width: 780px) {
  .scroll-hint {
    width: 90px;
    height: 90px;;
  }
}
.scroll-hint.hide {
  opacity: 0;
  visibility: hidden;
}

.scroll-hint img {
  width: 100%;
  height: auto;
}

/*お申し込みフォーム*/
.p-accordion_01__body__inner {
  padding-top: 0!important;
}
.p-table_01 {
  margin-top: 1em!important;
}
.date-display-a {
  width: 100%;
  max-width: 350px;
  padding: 12px 40px 12px 12px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
  color: #999;
}
.date-display-b {
  width: 100%;
  max-width: 350px;
  padding: 12px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.date-display-c {
  position: relative;
  width: 100%;
  max-width: 350px;
  padding: 12px 12px 12px 40px;
  border: 1px solid #ccc;
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
@media (max-width: 960px) {
  .date-display-a,
  .date-display-b,
  .date-display-c {
    width: 100%;
    max-width: 100%;
  }
}
.date-wrapper-b {
  position: relative;
  width: 100%;
}
.date-wrapper-b::before {
  position: absolute;
  z-index: 1;
  content: "〒";
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  color: #000;
}

.date-display-a.selected {
  color: #000;
}

.date-display-a option {
  color: #000;
}

.date-display-a option[value=""] {
  color: #999;
}

.date-wrapper {
  position: relative;
  width: 240px;
}
@media (max-width: 768px) {
  .date-wrapper {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
/* 表示枠（クリックできない） */
.date-display {
  width: 100%;
  padding: 12px 40px 12px 12px;
  border: 1px solid #ccc;
  background: #fff;
  color: #999;
  font-size: 16px;
  box-sizing: border-box;
}

.date-display.active,
.date-display-a.active,
.date-display-b.active {
  color: #000;
}

/* カレンダーボタン（アイコン） */
.calendar-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 28px;
  height: 28px;
}

.calendar-btn:hover .calendar-icon {
  fill: #0078d7;
}

/* SVGアイコン */
.calendar-icon {
  width: 100%;
  height: 100%;
  fill: #888;
}

/* 非表示の input */
input[type="date"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .date-display {
    font-size: 18px;
    padding: 14px 44px 14px 14px;
  }
  .calendar-btn {
    width: 32px;
    height: 32px;
  }
}
.month-picker {
  position: absolute;
  top: 110%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: none;
  z-index: 10;
  border-radius: 6px;
}

.month-picker-inner {
  display: flex;
  gap: 6px;
  align-items: center;
}

.month-picker select {
  font-size: 16px;
  padding: 4px;
}

#applyDate {
  background: #0078d7;
  color: #fff;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

#applyDate:hover {
  background: #005fa3;
}

.f-footer-txt {
	font-size: 1rem;
  font-weight: 400;
	line-height: 150%;
  text-align: center;
}
.f-footer-txt a {
  color: #036eb7;
}
.form-footer {
	max-width: 465px;
	display: flex;
  margin-left: auto;
  margin-right: auto;
	justify-content: space-around;
	width: 100%;
	text-align: center;
	padding: 0 0 70px;
	margin-top: 20px;
	position: relative;
}
.send {
	position: relative;
 }
.send-b {
  position: relative;
 }
.send[disabled] {
	 background-color: #808080;
	 cursor: not-allowed;
	 color: #FFF;
 }
.send[disabled]:hover {
	background: #808080;
	color: #FFF;
}
.error-message {
	background: #ED1C24;
	color: #fff;
	border-radius: 5px;
	position: absolute;
	bottom: 0;
	font-size: 0.84em;
	padding: 0 10px;
	height: 20px;
	line-height: 20px;
	display: none;
}
.error-message.-show {
  display: block;
}
.online-flex-b {
  display: flex;
  align-items: center;
  width: 100%;
}
@media screen and (max-width: 960px) {
  .online-flex-b {
    display: block;
  }
}
.online-flex-inner05 {
  margin-left: 4%;
  width: 100%;
  min-width: 250px;
}
@media screen and (max-width: 960px) {
  .online-flex-inner05 {
    margin-top: 10px;
    text-align: center;
    width: 100%;
    margin-left: 0;
  }
}
.p-required::after {
  position: absolute;
  right: 40px;
}
@media screen and (max-width: 768px) {
  .p-required::after {
    position: relative;
    right: 0;
    margin-left: 20px;
  }
}
.form-table {
  position: relative;
  border-top: solid 0.025em #b3b3b3;

  dl {
    display: flex;
    border-bottom: solid 0.025em #b3b3b3;
    margin: 0;
  }

  dt {
    width: 35%;
    padding: 50px 90px 50px 40px;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 400;
    line-height: 170%;
    background-color: #f0f0f0;
    border-right: solid 0.025em #b3b3b3;
  }

  dd {
    position: relative;
    display: flex;
    align-items: center;
    width: 65%;
    font-size: 1rem;
    line-height: 170%;
  }
}
.form-table-b {
  position: relative;

  dl {
    display: flex;
    margin: 0;
  }

  dt {
    width: 35%;
    padding: 20px 90px 20px 40px;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 400;
    line-height: 170%;
    background-color: #f0f0f0;
    border-right: solid 0.025em #b3b3b3;
  }

  dd {
    position: relative;
    display: flex;
    align-items: center;
    width: 65%;
    font-size: 1rem;
    line-height: 170%;
  }
}
@media screen and (max-width: 768px) {
  .form-table {
    dl {
      padding: 10px 0;
      display: block;
    }

    dt {
      width: 100%;
      margin-bottom: 10px;
      padding: 10px 0;
      margin-right: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      border-right: none;
      border-top: solid 0.025em #b3b3b3;
      border-bottom: solid 0.025em #b3b3b3;

      br {
        display: none;
      }
    }

    dd {
      width: 90%;
      margin-left: auto;
      margin-right: auto;
      display: block;

      span {
        margin-left: 0;
      }
    }
  }
  .form-table-b {
    dl {
      padding: 10px 0;
      display: block;
    }

    dt {
      width: 100%;
      margin-bottom: 10px;
      padding: 20px 0;
      margin-right: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      border-right: none;
      border-top: solid 0.025em #b3b3b3;
      border-bottom: solid 0.025em #b3b3b3;
    }

    dd {
      width: 90%;
      margin-left: auto;
      margin-right: auto;
      display: flex;
      justify-content: center;
      align-items: center;

      span {
        margin-left: 0;
      }
    }
  }
}
.mt0 {
  margin-top: 0!important;
}
.p-form_hint {
  margin: 0;
}
.data-display-outer {
  width: 100%;
}
.d-top {
  padding-top: 50px!important;
}
.d-bottom {
  padding-bottom: 50px!important;
}
.d-top-b {
  padding-top: 30px!important;
}
.d-bottom-b {
  padding-bottom: 30px!important;
}
.form_label {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 10px;
  vertical-align: bottom;
}
.form_label-b {
  display: inline-block;
  margin-right: 20px;
  margin-bottom: 0;
  vertical-align: bottom;
}

@media screen and (max-width: 768px) {
  .d-top {
    padding-top: 25px!important;
  }
  .d-bottom {
    padding-bottom: 25px!important;
  }
  .d-top-b {
    padding-top: 0!important;
  }
  .d-bottom-b {
    padding-bottom: 0!important;
  }
}
.online-flex-c {
  display: flex;
  justify-content: center;
}
.online-flex-d {
  display: flex;
  justify-content: space-between;
}
.online-retun {
  width: 100px;
  height: 72px;
  background: #d2d2d2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-right: 5px;
  border: none;
  cursor: pointer;
  position: relative;
  padding-left: 20px;

  &::before {
    position: absolute;
    content: "";
    left: 10px;
    display: inline-block;
    vertical-align: middle;
    color: #000;
    line-height: 1;
    width: 13px;
    height: 13px;
    border: 1px solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateX(25%) rotate(-135deg);
  }

  &:hover {
    background: #a6242d;
    color: #FFF;
  }

  &:hover::before {
    color: #FFF;
  }
}
.pt50 {
  padding-top: 50px;
}
.p-heading_01::before, .p-heading_01::after{
  border-bottom: none!important;
}
.txt-bra {
  color: #000!important;
}