/*
Theme Name: hometeacher-child
Template: hometeacher
Version: 1.0
*/

/* # =================================================================
    # 定義
# ================================================================= */
@font-face {
  font-family: 'Mobo';
  src: url('./assets/font/mobo/MOBO-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mobo';
  src: url('./assets/font/mobo/MOBO-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root{
  /* フォント */
  --font-mobo: 'Mobo', sans-serif;

  /* 色 */
  --main-blue:#1161be;
  --main-green:#198b8e;
  --bg-blue:#edf4fb;

  /* ボタンスタイル */
  --btn-padding:8px 1.5em;
  --btn-padding_sp:8px 1em;
  --btn-radius:9999px;
  --btn-shadow:0px 0px 7px 1px rgba(17, 97, 190, 0.2);
  
}


/* ===================================================
遅延読み込み
====================================================*/
.trigger {
  opacity: 0;
}

.trigger.in.is-active {
  -webkit-animation: fadeIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
          animation: fadeIn 1.5s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}

@-webkit-keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    display: none;
    opacity: 0;
  }
  1% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
/* ===============
js-trigger up
===============*/
.trigger.up.is-active {
  -webkit-animation: slideUp 2s 0.3s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
          animation: slideUp 2s 0.3s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}

@-webkit-keyframes slideUp {
  0% {
    -webkit-transform: translateY(180px);
            transform: translateY(180px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  40%, 100% {
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    -webkit-transform: translateY(180px);
            transform: translateY(180px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  40%, 100% {
    opacity: 1;
  }
}

/* # =================================================================
    # base、layout
# ================================================================= */
html{
  position: relative;
  overflow-x: hidden;
  scroll-behavior: smooth;
  h1,h2{
    font-family: var(--font-mobo);
  }
  h2{
    font-size: 1.875rem;
    margin-bottom: 20px;
  }
  @media screen and (max-width: 768.98px){
    h2{
      font-size: 1.625rem;
    }
  }

  main, .inner{
    margin: 0 auto;
    max-width: 1080px; 
    padding-right:15px;
    padding-left: 15px;
  }
  @media screen and (max-width: 768.98px){
    main, .inner{
      padding: 0 15px;
    }
  }
  section{
    padding: 60px 0;
  }
  .mt-1{
    margin-top: 1em;
  }
  .link{
    text-decoration: underline;
  }
  .ta-c{
    text-align: center;
  }
  .for_sp{
    display: none;
}
@media screen and (max-width: 767px) {
    .for_sp{
    display: block;
    }
}
.for_pc{
    display: block;
}
@media screen and (max-width: 767px) {
    .for_pc{
    display: none;
    }
}
}

/* # =================================================================
    # header
# ================================================================= */
header{
  background-color: #fff;
  position: fixed;
  top:0;
  right: 0;
  left: 0;
  padding: 1.2em;
  font-size: 0.875em;
  height: 60px;
  z-index: 9998;
  -webkit-box-shadow: 1px 2px 6px 0px rgba(0, 0, 0, 0.2);
          box-shadow: 1px 2px 6px 0px rgba(0, 0, 0, 0.2);
  h1{
    font-size: 1.25rem;
    position: relative;
    z-index: 9999;
  }
  .navigation{
    margin: 0 auto;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0%;
    right: 0%;
    opacity: 0;
    -webkit-transition-duration: 0.6s;
    -o-transition-duration: 0.6s;
        transition-duration: 0.6s;
    visibility: hidden;

    ul{
      display: block;
      .header__menu{
        /* border-radius: var( --btn-radius);
        -webkit-box-shadow: var(--btn-shadow);
                box-shadow: var(--btn-shadow);
        padding: var(--btn-padding); */
        ul{
          display: block;
          li{
            margin-bottom: 1em;
            padding-bottom: 1em;
            border-bottom: 1px solid #c1c1c1;
          }
        }
      }
      .header__menu2{
        ul{
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-pack: center;
              -ms-flex-pack: center;
                  justify-content: center;
          -webkit-box-align: center;
              -ms-flex-align: center;
                  align-items: center;
          gap: 15px;
          li.header__link-col1, li.header__link-col2{
            padding:  var(--btn-padding);
            border-radius: var( --btn-radius);
            a{
              color: #fff;
            }
          }
          li.header__link-col1{
            background-color: var(--main-blue);
          }
          li.header__link-col2{
            background-color: var(--main-green);
          }
        }
      }
    }

  }
  .navigation.active{
    opacity: 100;
    z-index: 20;
    -webkit-transition: opacity 0.6s ease, visibility 0.6s ease;
    -o-transition: opacity 0.6s ease, visibility 0.6s ease;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    background-color: var(--bg-blue);
    width: 100%;
    height: 100vh;
    position: fixed;
    visibility: visible;
    top: 0%;
    right: 0%;
    color: #fff;
    -webkit-transition-duration: 0.6s;
    -o-transition-duration: 0.6s;
       transition-duration: 0.6s;
    padding: 70px 15px 200px;
    overflow-y: auto;
  }
  .ham{
    display: block;
    width: 60px;
    height: 60px;
    top: 0px;
    right: 0px;
    position: fixed;
    background-color: var(--main-blue);
    z-index: 21;
    -webkit-transition: 0.3s ease;
    -o-transition: 0.3s ease;
    transition: 0.3s ease;
    cursor: pointer;
    span{
      background-color: #fff;
      height: 3px;
      position: absolute;
      width: 30px;
      right: 15px;
      z-index: 9;
      -webkit-transition: all 0.3s ease-in-out;
      -o-transition: all 0.3s ease-in-out;
      transition: all 0.3s ease-in-out;
    }
    span:nth-child(1) {
      top: 18px;
    }
    span:nth-child(3) {
      top: 30px;
    }
    span:nth-child(3) {
      top: 42px;
    }
  }
  .ham.active{
    span{
      top: 30px;
    }
    span:nth-child(1){
      -webkit-transform: rotate(45deg);
          -ms-transform: rotate(45deg);
              transform: rotate(45deg);
    }
    span:nth-child(2),span:nth-child(3){
      -webkit-transform: rotate(-45deg);
          -ms-transform: rotate(-45deg);
              transform: rotate(-45deg);
    }
  }
  .comingSoon{
    color: #6e6e6e;
  }
}
header:has(.navigation.active) > a {
  position: fixed;
  top: 0;
  left: 0;
  padding-left: 15px;
  z-index: 21;
  height: 70px;
  padding-top: 10px;
  background: var(--bg-blue);
  width: 100%;
}

header:has(.navigation.active) > a h1 {
  position: static;
  width: auto;
  height: auto;
}

header>a:hover{
  opacity: 1;
}
@media screen and (max-width: 768.98px){
  header{
    h1{
      font-size: 1.1rem;
    }
    .navigation{
      a{
        font-size: 1.125rem;
      }
    }


  }
}
/* # =================================================================
    # hero
# ================================================================= */
.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-bottom: 0;
  img {
    display: block;
    width: 100%;
    height: auto;
  }
}

/* # =================================================================
    # concern
# ================================================================= */
.concern{
  background-color: var(--bg-blue);
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  ul{
    display: grid;
    grid-template-columns: 32% 32% 32%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap:1em;
    li{
      line-height: 2;
      font-size: 1.125rem;
      border-radius: 0.4em;
      background-color: #fff;
      padding: 1em;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
      gap: 1em;
      -webkit-box-pack: start;
          -ms-flex-pack: start;
              justify-content: flex-start;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      svg{
        width: 35px;
        height: auto;
      }
    }
  }
  h3{
    font-size: 1.7rem;
    text-align: center;
    color: #fff;
    font-weight: 700;
  }
  .concern__resolve{
    margin-top: 1em;
    position: relative;
    background: -o-linear-gradient(315deg, #1161be 0%, #198b8e 100%);
    background: linear-gradient(135deg, #1161be 0%, #198b8e 100%);
    color: #fff;
    border-radius: 0.4em;

    .box{
      padding: 2rem;
    }
  }
  /* .concern__resolve::before{
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    background-color: #f0f4f5;
    height: 3.75rem;
    -webkit-clip-path: polygon(50% 100%, 0 0, 100% 0);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    content: "";
    height: 3.75rem;
} */
}
@media screen and (max-width: 768.98px){
.concern{
  ul{
    grid-template-columns: 100%;
  }
} 
.concern .concern__resolve{
  .box{
    padding: 1.5rem 1rem;
  }
}
}

/* # =================================================================
    # profile
# ================================================================= */
.profile{
  h2{
    margin-top: 15px;
  }
}
.profile__item{
  display: grid;
  grid-template-columns:50% 43%;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
          -webkit-box-pack: justify;
              -ms-flex-pack: justify;
                  justify-content: space-between;
  font-weight: 400;

  p{
    line-height: 2;
  }
}
@media screen and (max-width: 768.98px){
  .sliders{
    margin-bottom: 1em;
  }
  .profile__item{
    display: block;
  }
}

.profile__thumb{
  margin-top: 1em;
}
.profile{
  .splide.profile__thumb{
    .splide__track{
      .splide__list{
          -ms-flex-pack: distribute;
              justify-content: space-around;
        .splide__slide{
          margin-right: 0!important;
        }
      }
    }
  }
}
/* # =================================================================
    # voice
# ================================================================= */
.voice{
  background-color: var(--bg-blue);
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  .voice__item{
    margin-top: 70px;
    .voice__box{
      border-radius: 1em;
      border: 2px solid transparent;
      background:
        -o-linear-gradient(#fff, #fff) padding-box,
        -o-linear-gradient(315deg, #2f80ed, #55b873) border-box;
      background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #2f80ed, #55b873) border-box;
      padding: 2em;
      background-color: #fff;
      /* max-height: 1000px; */
      /* overflow-x: scroll; */
      .voice__box-top{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        gap: 1em;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
          div{
            width: 57%;
          }
          img{
            max-width: 400px;
            width: 100%;
            /* text-align: center;
            margin: 0 auto 10px; */
          }
          div.tall{
            max-width: 400px;
            text-align: center;
            img{
              max-width: 400px;
              width: auto;
              height: auto;
              max-height:300px ;
              margin: 0 auto;
            }
          }
          .text-crums{
            color: transparent;
            background: -o-linear-gradient(top, #000 0%, #000 25%, #fff 100%);
            background: -webkit-gradient(linear, left top, left bottom, from(#000), color-stop(25%, #000), to(#fff));
            background: linear-gradient(to bottom, #000 0%, #000 25%, #fff 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
          }
        .voice__more{
          margin-top: 1em;
          border-radius: 9999px;
          padding: 5px 40px;
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-pack: center;
              -ms-flex-pack: center;
                  justify-content: center;
          -webkit-box-align: center;
              -ms-flex-align: center;
                  align-items: center;
          background-image: -o-radial-gradient(100% 0%, circle, rgba(17, 97, 190, 1) 15%, rgba(25, 139, 142, 1));
          background-image: radial-gradient(circle at 100% 0%, rgba(17, 97, 190, 1) 15%, rgba(25, 139, 142, 1));
          color: #fff;
        }
        .voice__situation{
          background-color: #ffdcca;
          color: #000;
          padding: var(--btn-padding);
          display: inline-block;
          border: 1px solid;
          font-size: 0.85rem;
        }
        .voice__bigTxt{
          font-family: var(--font-mobo);
          font-weight: 700;
          font-size: 1.25rem;
          margin: 1em 0;
          color: #000;
          span{
            display: inline;
            background: -o-linear-gradient(left, #198b8e 0%, #1161be 100%);
            background: -webkit-gradient(linear, left top, right top, from(#198b8e), to(#1161be));
            background: linear-gradient(90deg, #198b8e 0%, #1161be 100%);
            color: transparent;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-fill-color: transparent;
          }
  
        }
      }
      .voice__comment-yu{
        margin-top: 2em;
      }

      .voice__layout-flex{
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
      }
    }
  }

  .voice__dialog {
    border: 0;
    border-radius: 1em;
    width: 100%;
    margin: 0 auto;
  }
  
  .voice__dialog::-webkit-backdrop {
    background: rgb(0 0 0 / 60%);
  }
  
  .voice__dialog::backdrop {
    background: rgb(0 0 0 / 60%);
  }
  
  .voice__dialog-inner {
    position: relative;
    padding: 2em;
    overflow-y: auto;
    /* height: 100vh; */
    /* max-height: calc(100dvh - 30px); */
  }
  
  .voice__dialog-close {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    margin-left: auto;
    display: block;
    font-size: 16px;
    margin-bottom: 0.5em;
  }
  .splide__arrow--next{
    right: -0.5em;
  }
  .splide__arrow--prev{
    left: -0.5em;
  }

}

/* sliderの設定 */
.voice .splide__pagination__page.is-active{
  background: #1161BE;
  color: #fff;
  opacity: 1;
  -webkit-transform: unset;
      -ms-transform: unset;
          transform: unset;
}
.voice .splide__pagination__page{
  background: #fff;
  color: #000;
  border: 1.5px solid var(--main-blue);
}
#voice__carousel .voice__pagination {
  top: -3em;
  bottom: auto;
}

#voice__carousel .splide__pagination__page {
  width: 2em;
  height: 2em;
  border-radius: 50%;
}


@media screen and (max-width: 768.98px){
  .voice{
    .voice__item{
      .voice__box{
        padding: 1.5em;
        .voice__box-top{
          -webkit-box-orient: vertical;
          -webkit-box-direction: normal;
              -ms-flex-direction: column;
                  flex-direction: column;
          div{
            width: 100%;
          }
        }
        .voice__situation{
          margin-top:1em;
        }
        .voice__layout-flex{
          display: block;
          .voice__comment{
            margin-bottom: 1em;
          }
        }
      }
    }
    .voice__dialog-inner {
      padding: 1.5em;
    }
  }
}
/* # =================================================================
    # price
# ================================================================= */
.price{
  background-color: var(--bg-blue);
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  
  table{
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #a8b7c9;
    tr{
      height: 100%;
      border-bottom: 1px solid #a8b7c9;
      background-color: #fff;
      th{
        border-right:  1px solid #a8b7c9;
        padding:  0 5px;
      }
      td{
        padding: 20px 30px;
      }
    }
  }
  ul{
    padding-left: 1em;

    li{
      list-style: disc;
      line-height: 2;
    }
  }
}

@media screen and (max-width: 768.98px){
  .price{
    table{
      tr{
        td{
          padding: 10px;
          width: 79%;
        }
      }
    }
  }

}
/* # =================================================================
    # freeTrial
# ================================================================= */



/* # =================================================================
    # contact
# ================================================================= */

.contact{
  background-color: var(--bg-blue);
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding-bottom: 0;
  .contact__wrap{
    background-color: #fff;
  }
  .contact__form{
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    input,textarea{
      border: 1px solid #c1c1c1;
      border-radius: 5px;
      padding: 0.5em;
      width: 100%;
      margin-bottom: 1em;
      background-color: #fff;
    }
    .submit{
      border-radius: 9999px;
      background-color: var(--main-blue);
      color: #fff;
      font-weight: 700;
      border-color: transparent;
      -webkit-transform: 0.3s all ease;
          -ms-transform: 0.3s all ease;
              transform: 0.3s all ease;
    }
    .submit:hover{
      opacity: 0.7;
      -webkit-transform: 0.3s all ease;
          -ms-transform: 0.3s all ease;
              transform: 0.3s all ease;
    }
  }
  .contact__other{
    padding-top: 60px;
    .submit-other{
      background-color: var(--main-green);
      color: #fff;
      border-radius: 9999px;
      border-color: transparent;
      font-weight: 700;
      -webkit-transform: 0.3s all ease;
          -ms-transform: 0.3s all ease;
              transform: 0.3s all ease;
    }
    .submit-other:hover{
      opacity: 0.7;
      -webkit-transform: 0.3s all ease;
          -ms-transform: 0.3s all ease;
              transform: 0.3s all ease;
    }
  }
}
/* # =================================================================
    # .privacy, .policy
# ================================================================= */

.privacy, .policy{
  hgroup{
    margin-top: 30px;
    h3{
      border-left: 3px solid var(--main-blue);
      padding-left: 10px;
      font-size: 20px;
      margin-bottom: 5px;
    }
    p{
      line-height: 2;
    }
  }
}
/* # =================================================================
    # footer
# ================================================================= */
footer{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 20px 60px;
}
@media screen and (max-width: 768.98px){
  footer{
    display: block;
  }
}
footer .subnav{
  font-size: 14px;
  padding-bottom: 10px;
}
