/* メインイメージ */
#topImage {
    position: relative;
}

#topImage .boxR {
    position: relative;
    width: 100%;
    height: 500px;
    float: right;
    overflow: hidden;
}

#topImage .boxR figure {
    height: 500px;
    width: auto;
    position: absolute;
    right: 0;
    top: 0;
}

#topImage figure {
    padding: 0;
    margin: 0;
}

#topImage .boxR figure img {
    width: auto;
    height: 500px;
}


#topImage .boxL {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 500px;
    float: left;
    background:rgba(0,167,239,0.7);
}

#topImage .boxL .inner {
    width: 462px;
    padding: 45px 50px 0 0;
    float: right;
}

#topImage .boxL h3 {
    margin-bottom: 20px;
}

#topImage .boxL .subCopy {
    color: #000;
    font-size: 17px;
    line-height: 1.7em;
    margin: 20px 0 20px;
    font-feature-settings: "pkna";
    text-align: center;
    text-shadow: 0 0 6px #ffffff,0 0 6px #ffffff,0 0 6px #ffffff,0 0 6px #ffffff,0 0 6px #ffffff,0 0 6px #ffffff;
}

.boxtext1 {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.0em;
    margin: 20px 0 20px;
    text-align: center;
    font-weight: bold;
}
.boxtext2 {
    text-align: center;
    margin-bottom: 20px;
}
.kyuhu {
    display: block!important;
    width: 420px;
    height: 94px;
    margin: auto;
}
.boxtext3 {
    color: #ffffff;
    font-size: 13px;
    line-height: 2.5em;
}
.boxtext4 {
    font-size: 30px;
}

@media screen and (min-width: 1399px){
  .hideWide {
      display: none !important;
  }
}

/* 内部マークアップ */
.stripe {
  height: 55px;
  width: 100%;
  background: url('/images/shingaku/shogakukin/stripe.gif') repeat-x;
}

#section01 .article {
  border-bottom: none;
}

.yellow_line {
  background:linear-gradient(transparent 60%, #fffd9e 0%) ;
}
#section08  {
	padding-top: 90px;
	text-align: center;
}
#section08 p {
  font-size: 1.077em;
  letter-spacing: 0.05em;
  font-weight: bold;
	color: #00b9ef;
}
#section08 > .article {
  height: auto;
  width: 100%;
	max-width: 820px;
	padding: 30px 0 30px 0;
	margin:0 auto;
}

#section08 > .article > .lst {
  display: flex;
  flex-wrap: wrap;
  height: auto;
}
#section08 > .article > .lst > .itm {
  height: auto;
	padding: 2% 0;
  width: 33.3%;
}
#section08 > .article > .lst > .itm > .cnt {
	width: 10%;
	padding: 1%;
	margin: 0 2%;
	color: #00b9ef;
	background-color: #ffffff;
	font-size:16px;
	border: 2px solid #8bcce4;
}
#section08 > .article > .lst > .itm > .txt {
	width: 76%;
	padding: 1%;
	margin: -13% 2%;
	text-align: left;
	float:right;
	font-size: 1.077em;
	font-weight: bold;
	letter-spacing: 0.05em;
}
.images {
  display: block;
  margin: 30px 0 90px;
}
.rightimage {
  margin-left: 10%;
}
.spimage {
  display: none;
}

.info_txt{
  width: 776px;
  text-align: center;
  border-right: 20px solid #f7c4b9;
  border-left: 20px solid #f7c4b9;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}
.maintext {
  padding-left: 5%;
  padding-right: 5%;
  font-size: 24px;
  font-weight: bold;
  color: #f08a74;
  margin-bottom: 10px;
}
.subtext {
  padding-left: 5%;
  padding-right: 5%;
  font-size: 16px;
}
p.sptext {
  display: none;
}

/* スマホ最適化 */
@media screen and (max-width: 1400px){
  .showWide {
      display: none!important;
  }
  #topImage .boxR {
    position: inherit;
    /* width: 100%; */
    /* height: 800px; */
    float: none;
    text-align: center;
    background: url('/images/shingaku/shogakukin/pic-main_201904_sp.png') no-repeat;
    background-position:50% 0% ;
  }
  #topImage .boxR figure {
      height: 100%;
      width: auto;
      text-align: center;
      position: relative;
      overflow: hidden;
  }
  #topImage .boxR figure img {
      height: 100%;
      width: auto;
  }
  #topImage .boxL {
      position: absolute;
      left: 0;
      top: 369px;
      width: 100%;
      height: 213px;
      float: left;
      background:rgba(0,167,239,0.7);
  }
  #topImage .boxL .inner {
    position: relative;
    width: 90%;
    float: none;
    padding: 5px 5% 5% 5%;
  }
  #topImage .boxL .subCopy {
    position: absolute;
    width: 100%;
    top: -120px;
    left: 0;
    text-align: center;
  }
  .boxtext1 {
      font-size: 16px;
      line-height: 0.6em;
      margin-top: 14px;
  }
  .boxtext2 {
      margin-bottom: 0px;
  }
  .kyuhu {
      display: block!important;
      width: 240px;
      height: 54px;
  }
  .boxtext3 {
      font-size: 12px;
      line-height: 1.8em;
      margin-top: 10px;
  }
  .boxtext4 {
      font-size: 20px;
  }
  #section01 {
    padding-top: 30px;
    /* margin-top: -170px */
  }
}

@media screen and (max-width: 800px){
.info_txt{
    width: 90%;
    border-right: 10px solid #f7c4b9;
    border-left: 10px solid #f7c4b9;
  }
  #section01 .article {
    width: 90%;
    line-height: 2;
    margin: 0 auto;
    padding: 30px 0 30px;
    position: relative;
  }
  .stripe {
    height: 27px;
    width: 100%;
    background: url('/images/shingaku/shogakukin/stripe_sp.gif') repeat-x;
  }
  #section01 .article p {
    font-size: 0.88em;
  }
  #section08 {
    padding-top: 40px;
    text-align: center;
  }
  #section08 > .article {
    height: auto;
    width: 90%;
    max-width: 820px;
    padding: 0;
    margin: 0 auto;
  }
    #section08 > .article > .lst {
      display: block;
      flex-wrap: wrap;
      height: auto;
  }
  #section08 > .article > .lst > .itm {
      height: auto;
      padding: 2% 0;
      width: 100%;
      overflow: hidden;
      display: flex;
      margin-bottom: 20px;
  }
  #section08 > .article > .lst > .itm > .cnt {
    width: 50px;
    height: 50px;
    padding: 1%;
    margin: 0 2%;
    color: #00b9ef;
    line-height: 54px;
    background-color: #ffffff;
    font-size: 40px;
    border: 2px solid #8bcce4;
}
  #section08 > .article > .lst > .itm > .txt {
    width: 72%;
    padding: 1%;
    margin: 0% 2%;
    text-align: left;
    float: right;
    font-size: 1.077emem;
    font-weight: lighter;
    letter-spacing: 0.05em;
}
  .images {
    margin: 30px 0 0px;
  }
  .pcimage {
    display: none;
  }
  .spimage {
    display: block;
    margin: 0 auto 30px;
  }
  .maintext {
    padding-left: 10%;
    padding-right: 10%;
    font-size: 16px;
    font-weight: lighter;
    color: #f08a74;
    margin-bottom: 10px;
  }
  .subtext {
    padding-left: 10%;
    padding-right: 10%;
    font-size: 11px;
  }

  #section02 {
    padding-top: 30px;
    margin-bottom: 60px;
  }
}

@media screen and (max-width: 500px){
  p.pctext {
    display: none;
  }
  p.sptext {
    display: block;
  }
}


/* iphone5,SE対応 */
@media screen and (max-width: 500px){
  #topImage .boxL .subCopy {
    font-size: 15px;
    top: -100px;
  }
  .boxtext3 {
    font-size: 11px;
    line-height: 2.0em;
  }
  .boxtext4 {
    font-size: 18px;
  }
}
