@charset "UTF-8";

#main div:before,
#main div:after,
ul:before,
ul:after,
ol:before,
ol:after,
dl:before,
dl:after {
  display: none;
}

#box1.cmnbox figure img {
  width: 100%;
  height: auto;
}

.inner-img {
  margin-bottom: 15px;
}

.inner-txt {
  margin-bottom: 15px;
  line-height: 1.7;
}

/* markタグの基本スタイル */
mark {
  background: linear-gradient(90deg, transparent 0%, #ffff00 0%);
  background-size: 0% 100%;
  /* 初期状態は幅0 */
  background-repeat: no-repeat;
  background-position: left center;
  color: inherit;
  padding: 0 2px;
  transition: background-size 0.6s ease;
  /* アニメーション */
}

/* スクロールで表示されたら */
mark.is-animated {
  background-size: 100% 100%;
  /* 左から右に伸びる */
}

@media print,
screen and (min-width: 769px) {

  #box1.cmnbox .inner {
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
  }

  #box1.cmnbox .inner-img {
    width: 250px;
    margin-bottom: 15px;
  }

  #box1 .inner-txt {
    width: 420px;
    margin-bottom: 10px;
  }

  #box1 .line {
    background: linear-gradient(transparent 70%, #fff799 70%);
    font-weight: bold;
  }
}

/*----------------------------------------
	box6
-----------------------------------------*/

#box6 .inner .bluebox {
  padding: 3px;
  margin-top: 20px;
  background: url(../../img/cmn_main_color02.gif);
  margin-bottom: 25px;
}

#box6 .inner dt {
  color: #3eb2d4;
  background: #fff;
  padding: 15px 0 5px 15px;
  border-bottom: 1px dotted #3eb2d4;
  font-size: 120%;
  font-weight: bold;
}

#box6 .inner dl dt span {
  font-size: 1.5rem;
}

#box6 .inner dd {
  background: #fff;
  padding: 7px 15px 15px 15px;
}

#box6 .inner dd span {
  color: #3eb2d4;
  font-weight: bold;
  display: block;
  padding-bottom: 8px;
}

#box6 .inner .bluebox li {
  margin-bottom: 8px;
}

.linkbox {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 15px;
  margin: 25px 0;
}

.linkbox img {
  width: 100%;
}

.linkbox a {
  color: #0066cc;
  text-decoration: none;
}

.teacherBox {
  margin-bottom: 25px;
}

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

.teacherImg {
  margin-bottom: 15px;
}

.teacherTxt {
  margin-bottom: 15px;
  line-height: 1.7;
}

.commentBox {
  display: flex;
  gap: 5%;
  margin-bottom: 25px;
}

.commentImg {
  width: 20%;
}

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

.commentTxt {
  width: 75%;
}

.ctaBtn{
  text-align: center;
  margin: 25px 0;
}

.ctaBtn a,
.ctaBtn a:link,
.ctaBtn a:visited{
  box-sizing: border-box;
  width: 100%;
  padding: 1rem;
  background-color: #06c;
  border-radius: 5px;
  border: 2px solid #0066cc;
  color: #fff;
  font-weight: bold;
}

.ctaBtn a:hover,
.ctaBtn a:active{
  background: #fff;
  color: #0066cc;
  text-decoration: none;
  transition: .8s;
}

@media print,
screen and (min-width: 769px) {

  .teacherBox {
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
  }

  .teacherImg {
    width: 250px;
    margin-bottom: 15px;
  }

  .teacherTxt {
    width: 420px;
    margin-bottom: 10px;
  }
}