@charset "utf-8";

/* -------------------
共通
-------------------- */
.smp {
  display: none;
}

.wrapper {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

.inner-wrapper {
  padding: 0 20px;
}

h1 {
  font-size: 48px;
  font-weight: 500;
  text-align: center;
  background-image: url(../images/Rectangle-pc.png);
  padding: 47px 0;
}

h2 {
  font-size: 48px;
  text-align: center;
  padding: 60px 0;
}

/* ------------------------------
マイクラコース
------------------------------ */
.micra-course {
  padding-bottom: 50px;
}

.micra-course .price-wrapper {
  display: flex;
  justify-content: center;
}

.micra-course .price-wrapper .price {
  outline: 5px solid #FF94BA;
  outline-offset: -5px;
  border-radius: 50px 0 50px 0;
  margin-left: 18px;
  position: relative;
}

.micra-course .price-wrapper .price .title {
  height: 100px;
  font-size: 36px;
  font-weight: 500;
  color: #F8F8F8;
  background-color: #FF94BA;
  border-radius: 50px 0 0 0;
  display: flex;
  text-align: center;
  vertical-align: middle;
  justify-content: center;
  align-items: center;
  padding: 10px 10px 10px 15px;
}

.micra-course .price-wrapper .price .price-text {
  line-height: 3em;
  padding: 0 26px 20px;
}

.micra-course .price .included-price {
  font-size: 60px;
  text-align: left;
  padding: 20px 0;
}

.micra-course .price .unit {
  font-size: 36px;
}

.micra-course .price .tax {
  font-size: 32px;
}

.micra-course .price .asterisk {
  font-size: 32px;
}

.micra-course .price .asterisk.third {
  font-size: 24px;
  line-height: 1.5;
}

.micra-course .fee {
  margin-top: 130px;
  display: flex;
  justify-content: center;
}

.micra-course .fee .title {
  width: 25%;
  font-size: 48px;
  background-color: #FFFA4D;
  border-radius: 30px 0 0 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.micra-course .fee .fee-text-wrapper {
  width: 75%;
  outline: 5px solid #FFFA4D;
  outline-offset: -5px;
  border-radius: 0 30px 30px 0;
}

.micra-course .fee .fee-text.first {
  border-bottom: 2px solid #FFFA4D;
}

.micra-course .fee .fee-text {
  display: flex;
  text-align: left;
  align-items: baseline;
  padding: 20px;
}

.micra-course .fee .fee-text .city {
  display: inline-block;
  width: 40%;
  font-size: 36px;
}

.micra-course .fee .fee-text .monthly {
  margin-left: 1em;
  font-size: 36px;
}

.micra-course .fee .fee-text .price {
  display: inline-block;
  font-size: 64px;
  margin-left: 7px;
}

.micra-course .fee .fee-text .unit {
  font-size: 32px;
}

/* ------------------------------
開講曜日・時間割
------------------------------ */
.timetable .timetable-wrapper {
  background-color: #FFFCEA;
  padding-bottom: 80px;
}

.timetable .saturday,
.timetable .sunday {
  width: 100%;
  border-collapse: separate;
  border-spacing: 20px;
  margin: 0 auto;
}

.timetable .saturday th {
  font-size: 40px;
  height: 70px;
  text-align: center;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.timetable .saturday th:nth-child(n+2) {
  position: relative;
}

.timetable .saturday th:nth-child(n+2):before {
  content: "1";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #D9D9D9;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timetable .saturday th:nth-child(3):before {
  content: "2";
}

.timetable .saturday th:nth-child(4):before {
  content: "3";
}

.timetable .saturday th:nth-child(5):before {
  content: "4";
}

.timetable .saturday td:nth-child(1) {
  width: 240px;
  background-color: #2CB3FF;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  display: block;
  padding: 20px 0;
}

.timetable .saturday td:nth-child(n+2) {
  font-size: 40px;
  line-height: 0.875;
  width: 184px;
  background-color: #ffffff;
  text-align: center;
  padding: 20px 0;
}

.timetable .sunday td:nth-child(1) {
  width: 240px;
  background-color: #FF2B2B;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  color: #ffffff;
  display: block;
  padding: 20px 0;
}

.timetable .sunday .time .asterisk {
  font-size: 20px;
}

.timetable .sunday td:nth-child(n+2) {
  width: 184px;
  font-size: 32px;
  text-align: center;
  line-height: 0.85;
  background-color: #ffffff;
  padding: 20px 0;
}

.timetable .sunday td:nth-child(4) {
  width: 390px;
  font-size: 24px;
  text-align: left;
}

.timetable .sunday td:nth-child(n+4) {
  background-color: #FFFCEA;
  line-height: 1.5;
  vertical-align: bottom;
}

.timetable .terms {
  font-size: 32px;
  line-height: 1.6;
  padding-left: 50px;
  margin: 30px auto 0;
}


/* --------------------
レスポンシブデザイン
-------------------- */
@media screen and (max-width:768px) {

  /* -------------------
    共通
    -------------------- */
  .pc {
    display: none !important;
  }

  .smp {
    display: block;
  }

  .wrapper {
    width: 100%;
  }

  .inner-wrapper {
    padding: 0 15px;
  }

  h1 {
    font-size: 36px;
    padding: 40px 0;
  }

  h2 {
    font-size: 27px;
    padding: 40px;
  }

  /* ------------------------------
    マイクラコース
    ------------------------------ */
  .micra-course {
    padding-bottom: 40px;
  }

  .micra-course .price-wrapper {
    flex-direction: column;
  }

  .micra-course .price-wrapper .price {
    width: 96%;
    padding-bottom: 20px;
    margin: 0 auto 40px;
  }

  .micra-course .price-wrapper .price .title {
    height: 70px;
    font-size: 27px;
    padding: 20px;
  }

  .micra-course .price-wrapper .price .price-text {
    padding: 20px 10px;
  }

  .micra-course .price .included-price {
    text-align: center;
    padding: 15px 0;
  }

  .micra-course .price .asterisk {
    padding-left: 20%;
  }

  .micra-course .price .asterisk.third {
    font-size: 20px;
    line-height: normal;
  }

  .micra-course .fee {
    flex-direction: column;
    margin-top: 20px;
  }

  .micra-course .fee .title {
    width: 96%;
    font-size: 27px;
    border-radius: 20px 20px 0 0;
    padding: 20px 0;
    margin: 0 auto;
  }

  .micra-course .fee .fee-text-wrapper {
    width: 96%;
    outline: 1px solid #FFFA4D;
    outline-offset: -1px;
    border-radius: 0;
    margin: 0 auto;
  }

  .micra-course .fee .fee-text.first {
    border-bottom: 1px solid #FFFA4D;
  }

  .micra-course .fee .fee-text {
    text-align: center;
    line-height: 1.5;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
  }

  .micra-course .fee .fee-text .city {
    font-size: 20px;
    padding-bottom: 8px;
    margin: 0 auto;
  }

  .micra-course .fee .fee-text .monthly {
    font-size: 20px;
    margin: 0 auto;
  }

  .micra-course .fee .fee-text .price {
    font-size: 36px;
  }

  .micra-course .fee .fee-text .unit {
    font-size: 20px;
  }

  /* ------------------------------
    開講曜日・時間割
    ------------------------------ */
  .timetable .timetable-wrapper {
    background-color: transparent;
    padding-bottom: 0px;
  }

  .timetable .saturday {
    padding-bottom: 60px;
  }

  .timetable .saturday .title {
    width: 100%;
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    background-color: #2CB3FF;
    border-radius: 0 50px 50px 0;
    padding: 20px 0;
    margin: 0;
  }

  .timetable .saturday .time {
    width: 96%;
    font-size: 40px;
    text-align: center;
    padding: 0 10px;
    margin: 40px auto 0;
    position: relative;
  }

  .timetable .saturday .time p:nth-child(n+1):before {
    content: "1";
    position: absolute;
    width: 46px;
    height: 46px;
    font-size: 27px;
    border-radius: 50%;
    background-color: #D9D9D9;
    display: flex;
    justify-content: center;
    align-items: center;
    left: -50px;
  }

  .timetable .saturday .time p:nth-child(2):before {
    content: "2";
  }

  .timetable .saturday .time p:nth-child(3):before {
    content: "3";
  }

  .timetable .saturday .time p:nth-child(4):before {
    content: "4";
  }

  .timetable .saturday .time p {
    padding: 14px 0;
    margin-left: 50px;
    position: relative;
  }

  .timetable .saturday .time p::after {
    border-bottom: 1px dotted #000000;
    content: "";
    position: absolute;
    bottom: 0px;
    left: -50px;
    width: 110%;
  }

  .timetable .saturday .text {
    font-size: 14px;
    text-align: right;
    margin-top: 14px;
  }

  .timetable .sunday .title {
    width: 100%;
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
    color: #F8F8F8;
    background-color: #FF2B2B;
    border-radius: 0 50px 50px 0;
    padding: 10px 0;
    margin: 0;
  }

  .timetable .sunday .title p {
    font-size: 20px;
  }

  .timetable .sunday .time {
    width: 96%;
    font-size: 40px;
    text-align: center;
    padding: 0 10px;
    margin: 40px auto 0;
    position: relative;
  }

  .timetable .sunday .time p:nth-child(n+1):before {
    content: "1";
    position: absolute;
    width: 46px;
    height: 46px;
    font-size: 27px;
    border-radius: 50%;
    background-color: #D9D9D9;
    display: flex;
    justify-content: center;
    align-items: center;
    left: -50px;
  }

  .timetable .sunday .time p:nth-child(2):before {
    content: "2";
  }

  .timetable .sunday .time p {
    padding-top: 14px;
    padding-bottom: 14px;
    margin-left: 50px;
    position: relative;
  }

  .timetable .sunday .time p::after {
    border-bottom: 1px dotted #000000;
    content: "";
    position: absolute;
    bottom: 0px;
    left: -50px;
    width: 110%;
  }

  .timetable .terms {
    font-size: 12px;
    line-height: 2.5;
    padding: 30px 0 30px 0;
    margin: 0 auto;
  }
}