@charset "UTF-8";
/*
Theme Name: サワムラガク足立 インストラクター
Author: あそびラボ
*/

/*=======================================================
メイン背景色
=======================================================*/
main {
  background: #f4f1df;
}
/*=======================================================
h1
=======================================================*/
.h1_wrapper {
  background-color: #f4f1df;
}
.h1_wrapper h1 {
  padding: 0 0 0 80px;
}
.h1_wrapper h1::before {
  content: "";
  background: url(../images/common/instructor_hagumi.svg) no-repeat;
  background-size: contain;
  width: 68px;
  height: 107px;
  display: block;
  position: absolute;
  left: 236px;
  top: -20px;
}
@media screen and (max-width: 750px) {
  .h1_wrapper h1::before {
    left: 46px;
    top: -13px;
  }
}

/*=======================================================
共通
=======================================================*/
.bl_instructor img {
  vertical-align: middle;
  image-rendering: -webkit-optimize-contrast;
  width: 100%;
}
.bl_instructor p,
.bl_instructor span {
  line-height: 1.58;
  letter-spacing: 0.04em;
}
.ly_cont_inner {
  width: 1020px;
  margin: 0 auto;
}
@media screen and (max-width: 750px) {
  .ly_cont_inner {
    width: 690px;
  }
  .bl_instructor p,
  .bl_instructor span {
    line-height: 1.5;
  }
}
/*=======================================================
一覧
=======================================================*/
main .inner h2 {
  margin: 0 0 30px;
  text-align: center;
}
.archive .bl_instructor_list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 30px;
}
.archive .bl_instructor_link {
  width: 320px;
  display: flex;
  flex-wrap: wrap;
}
.archive .bl_instructor_imgWrapper {
  order: 1;
  width: 100%;
  border: 1px solid #3c2a10;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.archive .bl_instructor_term {
  border-top: 1px solid #3c2a10;
  background: #33b666;
  font-size: 16px;
  color: #fff;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3px;
}
.archive .bl_instructor_term.supporter {
  background: #eead11;
}
.archive .bl_instructor_name {
  order: 2;
  font-size: 24px;
  font-weight: bold;
  color: #3c2a10;
  text-align: center;
  width: 100%;
}
.archive .bl_instructor_roman {
  display: block;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-weight: 500;
  font-size: 14px;
  color: #dd8925;
}
.bl_instructor .wp-pagenavi {
  margin-top: 72px;
}
.bl_instructor .wp-pagenavi a {
  background: #3c2a10;
}
.bl_instructor .wp-pagenavi .current {
  background: #33b666;
}
@media screen and (max-width: 750px) {
  .archive .bl_instructor_list {
    width: 610px;
    gap: 40px;
    margin: 0 auto;
  }
  .archive .bl_instructor_link {
    width: 100%;
  }
  .archive .bl_instructor_imgWrapper {
    margin-bottom: 32px;
  }
  .archive .bl_instructor_term {
    font-size: 30px;
    font-weight: bold;
    min-height: 77px;
    padding-top: 0;
  }
  .archive .bl_instructor_name {
    font-size: 42px;
  }
  .archive .bl_instructor_roman {
    font-size: 28px;
  }
}
/*=======================================================
詳細
=======================================================*/
.single.bl_instructor {
  padding: 24px 0 40px;
}
.bl_media {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.bl_media_imgWrapper {
  flex: 0 1 482px;
  border: 1px solid #3c2a10;
  border-radius: 10px;
  overflow: hidden;
  align-self: flex-start;
}
.bl_media_name {
  border-top: 1px solid #3c2a10;
  background: #33b666;
  color: #fff;
  font-size: 32px;
  letter-spacing: 0.06em;
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px 3px;
  gap: 4px;
}
.bl_media_kana {
  font-size: 17px;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-weight: 500;
}
.bl_media_body {
  flex: 1;
  min-height: 370px;
  padding-bottom: 48px;
  position: relative;
}
.bl_media_ttl {
  font-size: 24px;
  font-weight: bold;
  color: #33b666;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.bl_sns {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 0;
  bottom: 0;
}
.bl_sns_item.twitter {
  width: 46px;
}
.bl_sns_item.instagram {
  width: 44px;
}
@media screen and (max-width: 750px) {
  .bl_media {
    width: 610px;
    margin: 0 auto;
    gap: 42px;
  }
  .bl_media_imgWrapper {
    flex: 100%;
  }
  .bl_media_name {
    font-size: 42px;
    min-height: 110px;
    flex-direction: column;
    padding: 3px 8px 3px;
    gap: 0;
  }
  .bl_media_kana {
    font-size: 22px;
  }
  .bl_media_body {
    flex: 100%;
    padding-bottom: 0;
  }
  .bl_media_ttl {
    font-size: 38px;
    line-height: 1.7;
    letter-spacing: 0.06em;
    text-align: center;
  }

  .bl_sns {
    position: static;
    width: 100%;
    justify-content: center;
    gap: 16px;
    margin-top: 42px;
  }
  .bl_sns_item.twitter {
    width: 84px;
  }
  .bl_sns_item.instagram {
    width: 80px;
  }
}
/* 車種 */
.bl_car {
  width: 1020px;
  margin: 70px auto 0;
  border-radius: 10px;
  background: #c9e7d5;
  display: flex;
  position: relative;
}
.bl_car::after {
  content: "";
  position: absolute;
  width: 1000px;
  height: 157px;
  border: 3px solid #fff;
  border-radius: 10px;
  top: 10px;
  left: 10px;
}
.bl_car_imgWrapper {
  width: 276px;
  height: 176px;
}
.bl_car_txt {
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  padding-left: 87px;
  position: relative;
}
.bl_car_txt::after {
  content: "";
  position: absolute;
  background: url(../images/instructors/car_icon.svg) top center / contain no-repeat;
  width: 58px;
  height: 47px;
  top: 66px;
  right: -90px;
}
@media screen and (max-width: 750px) {
  .bl_car {
    width: 718px;
    height: 376px;
    margin: 48px auto 0;
    justify-content: center;
  }
  .bl_car::after {
    width: 554px;
    height: 307px;
    border: none;
    background: rgba(225, 225, 225, 0.9);
    top: 35px;
    left: 84px;
  }
  .bl_car_imgWrapper {
    width: 718px;
    height: 376px;
    position: absolute;
  }
  .bl_car_txt {
    font-size: 36px;
    padding-left: 0;
    padding-top: 90px;
    text-align: center;
    z-index: 1;
  }
  .bl_car_txt::after {
    width: 82px;
    height: 66px;
    top: 60px;
    right: 166px;
  }
}
/* スケジュール */
.bl_schedule {
  margin: 32px auto 0;
  background: url(../images/instructors/schedule_bg.png) top center/cover no-repeat;
  width: 1020px;
  min-height: 176px;
  padding: 30px;
}
.bl_schedule_ttl {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: #fff;
  text-align: center;
  margin-bottom: 22px;
}
.bl_schedule_txt {
  font-size: 17px;
  color: #fff;
  text-align: center;
}
@media screen and (max-width: 750px) {
  .bl_schedule {
    margin: 54px auto 0;
    background: url(../images/instructors/schedule_bg_sp.png) top center/cover no-repeat;
    width: 718px;
    min-height: 520px;
    padding: 112px 16px 24px;
  }
  .bl_schedule_ttl {
    font-size: 36px;
    letter-spacing: 0.06em;
    margin-bottom: 54px;
  }
  .bl_schedule_txt {
    font-size: 28px;
    width: 610px;
    margin: 0 auto;
  }
}
/* 予約ボタン */
.el_reservationBtn {
  width: 420px;
  height: 76px;
  background: url(../images/instructors/reservation_btn_bg.png) top center/cover no-repeat;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  padding-left: 114px;
  padding-top: 2px;
  margin: 32px auto 0;
}
@media screen and (max-width: 750px) {
  .el_reservationBtn {
    width: 500px;
    height: 114px;
    background-image: url(../images/instructors/reservation_btn_bg_sp.png);
    font-size: 32px;
    padding-left: 104px;
    padding-top: 0;
    margin-top: 56px;
  }
}
/* お客様の声・点数 */
.bl_voice {
  margin-top: 70px;
  text-align: center;
}
.bl_voice_ttl {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.04em;
  color: #3c2a10;
  line-height: 1.5;
  margin-bottom: 8px;
}
.bl_voice_txt {
  font-size: 17px;
  margin-bottom: 32px;
}
.bl_review {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: bold;
  color: #3c2a10;
}
.bl_review_point {
  margin-right: 0.5em;
}
.bl_review_star {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  z-index: 0;
}
.bl_review_star::after {
  content: "★★★★★";
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #eead11;
  z-index: 1;
}
.bl_review_star[data-rate="5"]::after {
  width: 100%;
}
.bl_review_star[data-rate="4.9"]::after {
  width: 94%;
}
.bl_review_star[data-rate="4.8"]::after {
  width: 93%;
}
.bl_review_star[data-rate="4.7"]::after {
  width: 92%;
}
.bl_review_star[data-rate="4.6"]::after {
  width: 91%;
}
.bl_review_star[data-rate="4.5"]::after {
  width: 90%;
}
.bl_review_star[data-rate="4.4"]::after {
  width: 88%;
}
.bl_review_star[data-rate="4.3"]::after {
  width: 87%;
}
.bl_review_star[data-rate="4.2"]::after {
  width: 86%;
}
.bl_review_star[data-rate="4.1"]::after {
  width: 85%;
}
.bl_review_star[data-rate="4"]::after {
  width: 80%;
}
.bl_review_star[data-rate="3.9"]::after {
  width: 74%;
}
.bl_review_star[data-rate="3.8"]::after {
  width: 73%;
}
.bl_review_star[data-rate="3.7"]::after {
  width: 72%;
}
.bl_review_star[data-rate="3.6"]::after {
  width: 71%;
}
.bl_review_star[data-rate="3.5"]::after {
  width: 70%;
}
.bl_review_star[data-rate="3"]::after {
  width: 60%;
}
.bl_review_star[data-rate="2.5"]::after {
  width: 50%;
}
.bl_review_star[data-rate="2"]::after {
  width: 40%;
}
.bl_review_star[data-rate="1.5"]::after {
  width: 30%;
}
.bl_review_star[data-rate="1"]::after {
  width: 20%;
}
.bl_review_star[data-rate="0.5"]::after {
  width: 10%;
}
.bl_review_star[data-rate="0"]::after {
  width: 0%;
}
.bl_review .slash {
  margin: 0 0.5em;
}
@media screen and (max-width: 750px) {
  .bl_voice {
    margin-top: 160px;
  }
  .bl_voice .ly_cont_inner {
    width: 610px;
  }
  .bl_voice_ttl {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ebc184;
    font-size: 30px;
    letter-spacing: 0.06em;
    margin-bottom: 35px;
  }
  .bl_voice_txt {
    font-size: 28px;
    text-align: left;
  }
  .bl_review {
    font-size: 36px;
  }
}
/* アンケート画像 */
.bl_questionary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 32px;
}
.bl_questionary_item {
  width: 320px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.bl_questionary_item:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 750px) {
  .bl_questionary {
    width: 610px;
    margin: 32px auto 0;
    gap: 56px;
  }
  .bl_questionary_item {
    width: 100%;
  }
}
/* モーダル */
.bl_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
  z-index: 10000;
}
.bl_modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 10001;
}
.bl_modal_body {
  position: relative;
  padding: 40px;
  background: #fff;
  width: 720px;
}
.bl_modal_close {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 1px 6px;
}
.bl_modal_close .circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #3c2a10;
  display: block;
  position: relative;
}
.bl_modal_close > span:nth-child(2) {
  width: 16px;
  height: 2px;
  background: #222;
  position: absolute;
  top: 16px;
  left: 14px;
  transform: rotate(45deg);
}
.bl_modal_close > span:nth-child(3) {
  width: 16px;
  height: 2px;
  background: #222;
  position: absolute;
  top: 16px;
  left: 14px;
  transform: rotate(-45deg);
}
@media screen and (max-width: 750px) {
  .bl_modal_body {
    padding: 56px 16px 24px;
  }
}
/* ページリンク */
.bl_pageLink_wrapper {
  margin-top: 48px;
  position: relative;
}
.bl_pageLink_wrapper .pageLink {
  width: 678px;
  margin: 0 auto;
  justify-content: space-between;
  padding: 0;
}
.bl_pageLink_wrapper .pageLink a {
  width: 112px;
  height: 42px;
  justify-content: center;
  padding: 3px 0 0;
  border-radius: 2px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  position: relative;
}
.bl_pageLink_wrapper .pageLink > li:first-of-type > a {
  color: #3c2a10;
  background-color: #fff;
  padding-left: 8px;
}
.bl_pageLink_wrapper .pageLink > li:first-of-type > a::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 8px 5px 0;
  border-color: transparent #eead11 transparent transparent;
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
}
.bl_pageLink_wrapper .pageLink > li:last-of-type > a {
  color: #fff;
  background-color: #3c2a10;
  border: 1px solid #808080;
  padding-right: 8px;
}
.bl_pageLink_wrapper .pageLink > li:last-of-type > a::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #eead11;
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
}
.bl_archiveLink {
  width: 254px;
  height: 42px;
  background: #33b666;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.06em;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 750px) {
  .bl_pageLink_wrapper {
    margin-top: 56px;
  }
  .bl_pageLink_wrapper .pageLink {
    width: 500px;
  }
  .bl_pageLink_wrapper .pageLink a {
    width: 220px;
    height: 80px;
    padding: 0;
    font-size: 32px;
  }
  .bl_pageLink_wrapper .pageLink > li:first-of-type > a {
    padding-left: 8px;
  }
  .bl_pageLink_wrapper .pageLink > li:first-of-type > a::before {
    border-width: 10px 16px 10px 0;
    left: 43px;
  }
  .bl_pageLink_wrapper .pageLink > li:last-of-type > a {
    color: #fff;
    background-color: #3c2a10;
    border: 1px solid #808080;
    padding-right: 8px;
  }
  .bl_pageLink_wrapper .pageLink > li:last-of-type > a::before {
    border-width: 10px 0 10px 16px;
    right: 43px;
  }
  .bl_archiveLink {
    position: static;
    transform: none;
    width: 500px;
    height: 80px;
    font-size: 32px;
    margin: 56px auto 0;
  }
}
/**Mac,iPad Safari**/
@media only screen and (min-device-width: 768px) {
  _::-webkit-full-page-media,
  _:future,
  :root .archive .bl_instructor_term {
    padding: 4px 8px;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .bl_media_name {
    padding: 4px 8px;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .el_reservationBtn {
    padding-top: 0;
  }
  _::-webkit-full-page-media,
  _:future,
  :root .bl_pageLink_wrapper .pageLink a {
    padding-top: 0;
  }
}
