@charset "UTF-8";
/*common variables*/
/*共通*/
section.mainContentsArea {
  position: relative;
}

.pannavi {
  z-index: 10;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.footer {
  margin-top: 0px;
}

#request-form {
  margin-bottom: 50px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #0081CC;
}

.font120 {
  font-size: 120%;
}

.flexCenter {
  align-items: center;
}

.flexReverse {
  flex-direction: row-reverse;
}

.textNavy {
  color: #29558A;
}

.textBottomL {
  margin-bottom: 50px;
}

.textBottomS {
  margin-bottom: 0.4em;
}

.textCenter {
  text-align: center;
}

.textCenterPC {
  text-align: center;
}

.textRight {
  text-align: right;
}

.flexCenter {
  display: flex;
  justify-content: center;
}

body {
  font-size: 16px;
  line-height: 1.8;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif" !important;
}

.w800Box {
  width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 640px) {
  .textBottomL {
    margin-bottom: 30px;
  }
  .textCenterPC {
    text-align: left;
  }
  .w800Box {
    width: 94%;
  }
  body {
    font-size: 14px;
  }
}
.normalBtn, .normalBtn2 {
  display: block;
  position: relative;
  background-color: #FCE339;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  text-align: center;
  color: #1b1111;
  width: 90%;
  max-width: 350px;
  padding: 10px 0;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 600;
}
.normalBtn::before, .normalBtn2::before {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #1b1111;
  border-right: 2px solid #1b1111;
  -webkit-transform: rotate(45deg) translateX(-50%) translateY(-50%);
  transform: rotate(45deg) translateX(-50%) translateY(-50%);
  right: 8%;
  top: 50%;
  margin-top: 2px;
}

.normalBtn2 {
  background-color: #7ECEF4;
}

.textLink {
  position: relative;
  color: #0081CC;
  font-size: 18px;
}
.textLink::before {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid #0081CC;
  border-right: 2px solid #0081CC;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  right: 5px;
  margin-top: 2px;
  bottom: 4px;
  top: auto;
}

.btnTopMargin {
  margin-top: 16px;
}

.btnBox {
  margin-top: 40px;
}

.btnBottomText {
  text-align: center;
  font-size: 80%;
  margin-top: 0.6em;
  line-height: 1.6;
}

.w800Box {
  width: 800px;
  margin: 0 auto;
}

h2.normalTitle {
  text-align: center;
  font-size: clamp(18px, 5vw, 26px);
  position: relative;
  margin-bottom: 2em;
}
h2.normalTitle::after {
  content: "";
  position: absolute;
  display: block;
  width: 2em;
  height: 0.3em;
  background-color: #0081CC;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.8em;
}
h2.normalTitle .upper {
  color: #0081CC;
  background-color: #D0F0FF;
  font-size: 80%;
  padding: 4px 8px;
}

@media screen and (max-width: 640px) {
  .w800Box {
    width: 94%;
    margin: 0 auto;
  }
}
/*mainArea*/
.mainArea {
  position: relative;
  overflow: hidden;
  height: 480px;
  background-color: #F5F5F5;
}
.mainArea::after {
  z-index: 2;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 56%;
  background-color: #0081CC;
}
.mainArea .mainAreaInner {
  position: relative;
  z-index: 5;
  width: 1000px;
  margin: 0 auto;
  height: 100%;
}
.mainArea .mainAreaInner .txtBox {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.mainArea .mainAreaInner .txtBox .logoArea {
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  margin-bottom: 16px;
  font-size: 110%;
}
.mainArea .mainAreaInner .txtBox .logoArea img {
  margin-right: 16px;
  width: 140px;
}
.mainArea .mainAreaInner .yobiTitle {
  background-color: #ffffff;
  width: fit-content;
  padding: 32px 140px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}
.mainArea .mainAreaInner .yobiTitle img {
  width: 380px;
}
.mainArea .mainAreaInner .fvTeacherImg {
  position: absolute;
  width: 320px;
  right: 0px;
  bottom: 0;
}
.mainArea .mainAreaInner .fvTeacherName {
  position: absolute;
  right: -80px;
  bottom: 4%;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 4px 16px;
  line-height: 1.5;
}
.mainArea .mainAreaInner .fvTeacherName .upper {
  font-size: 80%;
  border-bottom: 1px solid #1b1111;
}
.mainArea .mainAreaInner .fvTeacherName .sm {
  font-size: 90%;
}
.mainArea .mainAreaInner .mockImg {
  position: absolute;
  bottom: 4%;
  right: 160px;
  width: 56%;
  max-width: 320px;
  z-index: 1;
}
.mainArea .fvBackImg {
  z-index: 1;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
}

@media screen and (max-width: 640px) {
  .mainArea {
    height: auto;
  }
  .mainArea::after {
    left: 0;
    top: 0;
    height: 70%;
    width: 100%;
  }
  .mainArea .mainAreaInner {
    width: 100%;
  }
  .mainArea .mainAreaInner .txtBox {
    position: static;
    width: 88%;
    transform: none;
    margin: 40px auto 8px;
  }
  .mainArea .mainAreaInner .txtBox .logoArea {
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 14px;
  }
  .mainArea .mainAreaInner .txtBox .logoArea img {
    margin-right: 16px;
    width: 100px;
  }
  .mainArea .mainAreaInner .yobiTitle {
    padding: 16px 0;
    margin: 0 auto;
  }
  .mainArea .mainAreaInner .yobiTitle img {
    width: 84%;
    max-width: 320px;
    display: block;
    margin: 0 auto;
  }
  .mainArea .mainAreaInner .fvTeacherImg {
    position: relative;
    right: -16%;
    transition: none;
    display: block;
    margin: 0 auto -80px;
    width: 64%;
  }
  .mainArea .mainAreaInner .fvTeacherName {
    bottom: 96px;
    right: 4%;
  }
  .mainArea .mainAreaInner .mockImg {
    bottom: 88px;
    right: auto;
    left: 4%;
  }
  .mainArea .fvBackImg {
    min-width: 150%;
  }
}
/*experienceList*/
.experienceList {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.experienceList li {
  width: 48%;
  margin-top: 24px;
}
.experienceList li h3 {
  font-size: clamp(18px, 4vw, 20px);
  color: #0081CC;
  border-bottom: 2px solid #0081CC;
}

@media screen and (max-width: 640px) {
  .experienceList {
    flex-direction: column;
  }
  .experienceList li {
    width: 100%;
    margin-top: 16px;
  }
}
/*teacherList*/
.teacherList {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 40px;
}
.teacherList li {
  width: 800px;
  max-width: 200px;
}
.teacherList li .nameBox {
  text-align: center;
  font-size: 18px;
  width: 80%;
  line-height: 1.4;
  margin-top: 8px;
}
.teacherList li .nameBox .name {
  display: block;
  font-weight: bold;
  border-bottom: 1px solid #7ECEF4;
}
.teacherList li .nameBox .subject {
  font-size: 80%;
}

@media screen and (max-width: 640px) {
  .teacherList {
    flex-direction: column;
    align-items: center;
  }
  .teacherList li {
    padding-left: 10%;
  }
}
/*teacherDetailBtn*/
.teacherDetailBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 80%;
  color: #0081CC;
  border: none;
  border-radius: 4px;
  margin-top: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  background-color: rgba(0, 0, 0, 0);
}
.teacherDetailBtn img {
  width: 16px;
  height: 16px;
}

/*modal*/
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}
.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-container {
  display: none;
  max-width: 90vw;
  max-height: 90vh;
}
.modal-container.active {
  display: block;
}

.modal-content {
  background-color: #ffffff;
  border-radius: 24px;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  padding: 48px 0 32px;
  max-height: 90vh;
  overflow-y: auto;
  width: 800px;
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
}
.modal-close-btn img {
  display: block;
  width: 32px;
}
.modal-close-btn:hover {
  opacity: 0.7;
}

.modal-body {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 0 32px;
  margin-bottom: 32px;
}

.modal-teacher-info {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.modal-teacher-photo {
  display: block;
  margin: 0 auto;
  width: 240px;
}

.modal-teacher-name {
  width: 80%;
  text-align: center;
}
.modal-teacher-name .name {
  font-size: 18px;
  font-weight: bold;
  color: #1b1111;
  margin-bottom: 4px;
}
.modal-teacher-name .name .title {
  font-size: 16px;
}
.modal-teacher-name .subject-line {
  width: 100%;
  height: 1px;
  background-color: #7ECEF4;
  margin-bottom: 4px;
}
.modal-teacher-name .subject {
  font-size: 14px;
  color: #1b1111;
}

.modal-teacher-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-section .detail-title {
  color: #0081CC;
  font-size: 16px;
  margin-bottom: 4px;
}
.detail-section .detail-line {
  width: 100%;
  height: 1px;
  background-color: #0081CC;
  margin-bottom: 8px;
}
.detail-section .detail-text {
  font-size: 16px;
  color: #1b1111;
  line-height: 1.6;
}

.modal-close-bottom {
  border: 1px solid #7d7d7d;
  border-radius: 4px;
  background-color: transparent;
  color: #7d7d7d;
  padding: 8px 16px;
  cursor: pointer;
  margin: 0 auto;
  display: block;
  font-size: 16px;
}
.modal-close-bottom:hover {
  background-color: #f5f5f5;
}

@media screen and (max-width: 640px) {
  .modal-content {
    width: 90vw;
    max-height: 80vh;
    padding: 32px 0 24px;
  }
  .modal-body {
    flex-direction: column;
    padding: 0 16px;
    gap: 24px;
    margin-bottom: 24px;
  }
  .modal-teacher-info {
    align-items: center;
    width: 100%;
  }
  .modal-teacher-details {
    width: 100%;
  }
  .modal-teacher-photo {
    width: 60%;
    max-width: 240px;
    padding-left: 8%;
  }
}
/*experience_list*/
h1.textTitle {
  text-align: center;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.4;
  margin-bottom: 1em;
  margin-top: 40px;
}
h1.textTitle .sm {
  font-size: 70%;
}

.uploadList {
  width: 800px;
  margin: 0 auto 40px;
  border-collapse: collapse;
}
.uploadList th, .uploadList td {
  border: solid 1px #1b1111;
  padding: 0.2em;
}

#kougiTable {
  margin-top: -80px;
  padding-top: 80px;
}

.pcOnlyInline {
  display: inline;
}

.youtubeContentsBox {
  background-color: #EFF8FD;
  padding: 24px;
  border-radius: 16px;
  margin-top: 32px;
  margin-bottom: 40px;
}
.youtubeContentsBox .youtubeContentsTxt {
  text-align: center;
  margin-bottom: 2em;
}

.youtubeArea {
  width: 96%;
  max-width: 560px;
  margin: 0 auto;
}

.youtubeBox {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.youtubeBox iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 640px) {
  .uploadList {
    width: 94%;
    font-size: 13px;
    width: 96%;
  }
  .pcOnlyInline {
    display: none;
  }
  .youtubeContentsBox {
    padding: 16px;
  }
  .youtubeContentsBox .youtubeContentsTxt {
    text-align: left;
    margin-bottom: 1em;
  }
}
