@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@500&display=swap");
/*////////////////////////////
FAUNDATION
////////////////////////////*/
html {
  font-size: 62.5%;
}

body {
  color: #333333;
  font: 1.6rem/1 'Noto Sans JP', sans-serif;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  background: #c8e9f3;
}

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

a {
  text-decoration: none;
  color: #333333;
}

a:hover {
  opacity: 0.9;
}

main {
  display: block;
}

/*////////////////////////////
MAIN
////////////////////////////*/
.header {
  margin-bottom: 50px;
}

.header_nav {
  height: 50px;
  background: #fff;
  border-bottom: 4px #24a2c9 solid;
}

.header_logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 1000px;
  height: 50px;
  margin: 0 auto;
}

.header_tfm {
  width: 91px;
  margin: 0 20px 0 0;
}

.header_tfm img {
  width: 100%;
  height: auto;
}

.header_kv {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: hidden;
  border-bottom: 4px #24a2c9 solid;
}

.header_kv img {
  width: 1366px;
  max-width: 1366px;
}

@media (max-width: 768px) {
  .header {
    margin-bottom: 20px;
  }
  .header_nav {
    height: 40px;
    border-bottom: 2px #24a2c9 solid;
  }
  .header_logo {
    height: 40px;
  }
  .header_tfm {
    width: 57px;
    margin: 0 18px 0 10px;
  }
  .header_tfm img {
    width: 100%;
    height: auto;
  }
  .header_kumon {
    width: 70px;
    height: 20px;
  }
  .header_kv img {
    max-width: 100%;
  }
}

.main {
  padding: 0 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

@media (min-width: 481px) and (max-width: 768px) {
  .main {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .main {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }
}

.lead {
  position: relative;
  max-width: 700px;
  margin: 0 auto 50px;
  padding: 30px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #24a2c9;
}

.lead:before {
  position: absolute;
  top: 1px;
  left: 1px;
  display: block;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 1px dotted #24a2c9;
  content: '';
}

.lead_head {
  margin-bottom: 20px;
}

.lead_txt {
  line-height: 1.75;
  font-family: 'Zen Maru Gothic', sans-serif;
}

@media (max-width: 768px) {
  .lead {
    margin: 0 auto 40px;
    padding: 15px;
  }
  .lead_head {
    margin-bottom: 15px;
  }
  .lead_txt {
    text-align: left;
  }
}

.person {
  max-width: 1000px;
  margin: 0 auto;
}

.person_mainImg {
  display: block;
  width: 600px;
  margin: 0 auto 20px;
}

.person_btn {
  display: block;
  width: 600px;
  max-width: 100%;
  margin: 0 auto 50px;
  cursor: pointer;
}

.person_btn img {
  display: none;
}

.person_btn img.is-displayed {
  display: block;
}

.person_cs {
  display: block;
  width: 600px;
  max-width: 100%;
  margin: 0 auto 50px;
}

.person_inner {
  display: none;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 3px dotted #fff;
}

.person_subject {
  position: relative;
  max-width: 600px;
  margin: 0 auto 50px;
  padding: 30px 20px;
  line-height: 1.75;
  text-align: center;
  background: #fff;
  border: 1px solid #24a2c9;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.person_subject:before {
  position: absolute;
  top: 1px;
  left: 1px;
  display: block;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border: 1px dotted #24a2c9;
  content: '';
}

.person_useful {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 1000px;
  height: 60px;
  margin: 0 auto 50px;
  padding: 10px 10px 10px 58px;
  color: #d55a87;
  font-size: 1.8rem;
  background: url(../../img/useful_head.png) no-repeat;
  background-position: 20px 12px;
  background-color: #fff;
  border: 2px dotted #d55a87;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.person_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-flow: row-reverse;
          flex-flow: row-reverse;
  max-width: 1000px;
  margin: 0 auto;
}

.person_box.second {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row;
          flex-flow: row;
}

.person_img {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 500px;
          flex: 0 1 500px;
  width: 500px;
}

.person_cloud {
  position: relative;
  -webkit-box-flex: 0;
      -ms-flex: 0 1 470px;
          flex: 0 1 470px;
  width: 470px;
  padding: 30px 20px;
  font-family: 'Zen Maru Gothic', sans-serif;
  line-height: 1.75;
  border: 1px solid #24a2c9;
  border-radius: 15px;
}

.person_cloud:before {
  position: absolute;
  top: 6px;
  left: 0px;
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 15px;
  content: '';
  z-index: -1;
}

.person_cloud-R {
  margin: 0 0 20px 30px;
}

.person_cloud-R:after {
  position: absolute;
  left: 80px;
  bottom: -19px;
  width: 19px;
  height: 19px;
  display: block;
  background: url(../../img/cloudR.png) no-repeat;
  background-size: 19px 19px;
  content: '';
}

.person_cloud-L {
  margin: 0 30px 20px 0;
}

.person_cloud-L:after {
  position: absolute;
  right: 80px;
  bottom: -19px;
  width: 19px;
  height: 19px;
  display: block;
  background: url(../../img/cloudL.png) no-repeat;
  background-size: 19px 19px;
  content: '';
}

.person_yell {
  max-width: 1000px;
  margin: 50px auto 50px;
  overflow: hidden;
}

.person_yell img {
  width: 1000px;
  max-width: 1000px;
  height: auto;
}

.person_youtube {
  max-width: 690px;
  margin: 0 auto;
}

.person_youtube .youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 0 auto;
}

.person_youtube .youtube:nth-of-type(2) {
  margin-top: 20px;
}

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

@media (min-width: 769px) and (max-width: 1000px) {
  .person_img {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 400px;
            flex: 0 1 400px;
    width: 400px;
  }
  .person_cloud br {
    display: none;
  }
}

@media (max-width: 768px) {
  .person_mainImg {
    margin-bottom: 10px;
  }
  .person_btn {
    margin-bottom: 20px;
  }
  .person_cs {
    margin-bottom: 40px;
  }
  .person_inner {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px dotted #fff;
  }
  .person_subject {
    margin: 0 auto 20px;
  }
  .person_useful {
    display: block;
    padding: 8px 10px 10px 15px;
    margin: 0 auto 20px;
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: center;
    background: url(../../img/useful_head.png) no-repeat;
    background-size: 22px 29px;
    background-position: 16px 13px;
    background-color: #fff;
  }
  .person_box {
    display: block;
  }
  .person_img {
    display: block;
    margin: 0 auto;
    width: 450px;
  }
  .person_cloud {
    width: 100%;
    padding: 15px;
    font-size: 1.6rem;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
  }
  .person_cloud-R {
    margin: 0 auto 25px;
  }
  .person_cloud-L {
    margin: 0 auto 25px;
  }
  .person_yell {
    margin: 40px auto 20px;
  }
  .person_yell img {
    width: 100%;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .person_cloud {
    font-size: 1.6rem;
  }
}

.selection {
  margin: 0 auto 40px;
  text-align: center;
}

@media (max-width: 768px) {
  .selection {
    margin: 0 auto 20px;
  }
}

.footer_inner {
  padding: 50px 0;
  text-align: center;
  background: #fff;
}

.footer_link {
  margin-bottom: 30px;
  text-align: center;
}

.footer_txt {
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: bold;
}

.footer_copy {
  padding: 15px 10px;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: center;
  background: #c8e9f3;
}

@media (max-width: 768px) {
  .footer_inner {
    padding: 40px 15px;
  }
  .footer_txt {
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: bold;
  }
  .footer_kumon img {
    width: 150px;
    height: auto;
  }
}

/*////////////////////////////
pagetop
////////////////////////////*/
.pagetop {
  position: fixed;
  right: 30px;
  bottom: 30px;
  opacity: 0.8;
}

.pagetop:hover {
  opacity: 1;
  bottom: 33px;
}

.pagetop > img {
  width: 60px;
  height: 60px;
}

@media (max-width: 800px) {
  .pagetop {
    right: 15px;
    bottom: 15px;
  }
  .pagetop:hover {
    bottom: 17px;
  }
  .pagetop > img {
    width: 50px;
    height: 50px;
  }
}

/*////////////////////////////
UTILITY
////////////////////////////*/
/* 共通フッター用 もしくはブレイクポイントごとの表示指定 */
.pc {
  display: block;
}

.sp {
  display: none;
}

@media (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}
