@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;
}

.sampleBox {
  box-sizing: border-box;
  width: 100%;
  margin: 15px 0 25px;
  border-collapse: collapse;
}

.sampleBox th,
.sampleBox td {
  padding: 5px;
  text-align: center;
  width: 33%;
}

.sampleBox th {
  font-weight: bold;
  border-bottom: 1px solid #3eb2d4;
}

.sampleBox td {
  border-bottom: 1px dotted #3eb2d4;
}

.sampleBox th:nth-child(2),
.sampleBox td:nth-child(2) {
  background-color: #daf0f7;
}

.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;
}

.teacherTxt h4 {
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 1px dotted #555;
  margin-bottom: 15px;
}

@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;
  }
}