@charset "UTF-8";
/* 語学留学 */

.contents {
  /* タブ */
}

.contents > h2 {
  position: relative;
  margin-bottom: 3rem;
  color: #F60;
}

.contents > h2:before {
  content: "";
  display: block;
  position: absolute;
  top: -0.5rem;
  left: 50%;
  width: 4.5rem;
  margin-left: -5.5rem;
  height: 4rem;
  background-image: url(../img/studyAbroad/icon.svg);
  background-size: 100%;
  opacity: 0.3;
}

.contents > p {
  margin-bottom: 5em;
  font-size: 1.2em;
  line-height: 1.8em;
  text-align: center;
  clear: both;
}

.contents > p strong {
  font-size: 1.1em;
}

.contents > nav {
  margin-bottom: 3rem;
  padding: 0 0.8rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.contents > nav ul {
  text-align: center;
  border-bottom: solid 0.0625rem #888;
}

.contents > nav ul li {
  display: inline-block;
  position: relative;
  margin: 0 0.1rem;
  padding: 0.6rem 0.4rem;
  font-size: 0.8em;
  line-height: 1em;
  background-color: #DDD;
  border: solid 0.0625rem #888;
  border-bottom: none;
  border-radius: 0.5rem 0.5rem 0 0;
}

.contents > nav ul li.current {
  color: #F60;
  font-size: 0.8rem;
  font-weight: bold;
  background-color: #FFF;
}

.contents > nav ul li.current:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.125rem;
  width: 100%;
  border-bottom: solid 0.0625rem #FFF;
  z-index: 10;
}

.contents > nav ul li:hover {
  background-color: #FFF;
  opacity: 1;
}

.contents > nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.contents > nav ul li a:hover {
  color: #F60;
  text-decoration: underline;
  opacity: 1;
}

.contents > section {
  position: relative;
  margin-right: auto;
  margin-left: auto;
  margin: 0 auto 3em auto;
  padding: 0 0.8rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.contents > section h3 {
  margin-bottom: 1em;
  padding: 0 0.5em;
  color: #F60;
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
  z-index: 9999;
}

.contents > section p {
  margin-bottom: 0.8em;
}

.contents > section > section h4 {
  font-size: 1rem;
  line-height: 1.4em;
}

#pickup {
  /* セブ島留学&欧米留学 */
  /* セブ島留学 */
  /* 欧米留学 */
  /* 無料 */
}

.bdror {
  padding: 0.8rem 1.5rem;
  background-color: #FFF8EC;
  border: solid 0.3125rem #F90;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.bdrbk {
  padding: 0.8rem 1.5rem;
  background-color: #fff;
  border: solid 1px #323232;
}

#pickup #cebu, #pickup #ea {
  margin-bottom: 1rem;
  overflow: hidden;
}

#pickup #cebu picture, #pickup #ea picture {
  display: none;
}

.period {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: .4em;
}

#pickup #cebu h4, #pickup #ea h4 {
  margin-bottom: 0.5rem;
  color: #222;
  font-size: 1rem;
  line-height: 1.3em;
  border-bottom: solid 0.0625rem #222;
}

#pickup #cebu h4 span, #pickup #ea h4 span {
  font-size: 0.8em;
	display: block;
	color: #FFF;
	background-color: #F90;
	border-radius: 4px;
	padding: 0 1rem;
	margin-left: 1em;
}

#pickup #cebu dl dt, #pickup #ea dl dt {
  margin-bottom: 0.2em;
  color: #F60;
  font-weight: bold;
}

#pickup #cebu dl dd, #pickup #ea dl dd {
  font-size: 0.85em;
  line-height: 1.5em;
}

#pickup #cebu dl dd::before, #pickup #ea dl dd::before {
	content: '';
	display: inline-block;
	background-image: url(../img/esl_program/icn_check.png);
	background-repeat: no-repeat;
	background-size: contain;
	width: 10px;
	height: 10px;
	margin-right: .6em;
}

#intro #free {
  padding: 1.5rem 1rem 1rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 1rem;
}

#intro #free h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.4em;
	letter-spacing: 0.04em;
}

#intro #free .underline {
	display: inline-block;
	background: linear-gradient(transparent 50%, #f0f00d 50%);
}

#intro #free .question_flex {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-bottom: .6rem;
}

#intro #free .question_flex li {
	max-width: 100px;
}

#intro #free p {
	margin-bottom: 0;
}

#intro #free p .attention {
	font-size: 1rem;
	font-weight: bold;
	color: #F60;
}

/* 海外短期留学バナー */

#banner_feature {
	margin: 0 auto;
	margin-bottom: 2rem;
}


/* 留学体験談 */

#exp {
  background-color: #fff5f0;
  padding: 1rem 1.5rem;
  margin: 0 auto;
  margin-bottom: 1rem;
  text-align: center;
  border-radius: 0.3rem;
}

#exp h4 {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  line-height: 1.4em;
}

.exp_image {
  margin-bottom: 1rem;
}

.exp_image img {
  display: block;
  margin: 0 auto;
	max-width: 100%;
}

.btnarw {
  position: relative;
  display: block;
  width: 12rem;
  margin: 0 auto;
  background-color: #F60;
  padding: .4rem;
  border-radius: 1.2rem;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.8rem;
}

.btnarw::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #fff;
  position: absolute;
  top: 50%;
  right: 2rem;
  margin-top: -6px;
}

#service {
  overflow: hidden;
}

#service section {
  margin-bottom: 2rem;
}

#service section:last-of-type {
  margin-bottom: 0;
}

#service section h4 {
  position: relative;
  margin-bottom: 0.5rem;
  color: #222;
  font-size: 0.9rem;
}

#service section h4 br {
  display: none;
}

#service section p {
  font-size: 0.85rem;
  line-height: 1.4em;
}

#flow ol {
  margin-bottom: 3rem;
}

#flow ol li {
  position: relative;
  margin-bottom: 1rem;
  padding: 0.8rem;
  font-size: 0.85rem;
  line-height: 1.6em;
  background-color: #FFEBDD;
  border-radius: 0.5rem;
}

#flow ol li h4 {
  margin-bottom: 0.5em;
  padding-bottom: 0.3em;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.3em;
  border-bottom: solid 1px #888;
}

#flow ol li h4 small {
  font-size: 1rem;
  font-weight: normal;
}

#flow ol li h4 span {
  color: #F60;
  font-size: 1.2rem;
  font-weight: bold;
}

#flow ol li p {
  margin-bottom: 0;
}

#flow section {
  overflow: hidden;
}

#flow section h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.4em;
  text-align: center;
}

#flow section section {
  margin-bottom: 1rem;
  padding: 1.5rem 1rem;
  border: solid 0.125rem #F60;
  border-radius: 0.5rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#flow section section h5 {
  margin-bottom: 0.5rem;
  color: #F60;
  font-size: 0.9rem;
  line-height: 1.2em;
  text-align: center;
}

#flow section section p {
  margin-bottom: 0;
  font-size: 0.8rem;
  line-height: 1.6em;
}

#starting p {
  margin-bottom: 2em;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.8em;
  text-align: center;
}

#starting ul {
  overflow: hidden;
}

#starting ul li {
  float: left;
  width: 32%;
  margin: 0 2% 1.5% 0;
  padding: 1em 0;
  font-size: 0.7rem;
  line-height: 1.2em;
  text-align: center;
  border: solid 0.0625rem #F60;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#starting ul li:nth-of-type(3n) {
  margin-right: 0;
}

#starting ul li:nth-of-type(3n+1) {
  clear: both;
}

@media only screen and (min-width: 601px) {
  .contents {
    /* タブ */
  }
  
  .contents > h2 {
    margin-bottom: 5rem; 
  }
    
  .contents > h2:before {
    top: -1.5rem;
    left: 50%;
    width: 7rem;
    margin-left: -9rem;
    height: 6.25rem;
  }
    
  .contents > nav {
    margin-bottom: 0;
    padding: 0;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
  }
    
  .contents > nav ul {
    /* width: 62.5rem; */
		width: 100rem;
    margin: 0 auto 5.5rem auto;
  }
    
  .contents > nav ul li {
    /* width: 13rem; */
		width: 18rem;
    margin: 0 0.5rem;
    padding: 0;
    font-size: 1em;
  }
    
  .contents > nav ul li.current {
    padding: 1.2rem 1rem;
    font-size: 1.1rem;
  }
    
  .contents > nav ul li.current:after {
    bottom: -0.0625rem;
  }
    
  .contents > nav ul li a {
    padding: 1.2rem 0;
  }
    
  .contents > nav ul li a:hover {
    opacity: 1;
  }
    
  .contents > section {
    width: 53.75rem;
    margin: 0 auto 7em auto;
    padding: 0;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
  }
    
  .contents > section h3 {
    margin-bottom: 2em;
    line-height: 1em;
    letter-spacing: 0.1em;
  }
    
  .contents > section h3:before {
    content: "";
    display: block;
    position: absolute;
    top: 0.5em;
    width: 53.75rem;
    border-top: solid 0.0625rem #9A9A9A;
    z-index: -1;
  }
    
  .contents > section h3:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    height: 1em;
    background-color: #FFF;
    z-index: -1;
  }
    
  .contents > section p {
    margin-bottom: 1.2em;
  }
  
  #pickup {
    /* セブ島留学&欧米留学 */
    /* セブ島留学 */
    /* 欧米留学 */
    /* 無料 */
  }

  #pickup h3 {
    width: 53.75rem;
    margin: 0 auto 2rem auto;
  }
    
  #pickup h3:after {
    width: 7em;
    margin-left: -3.5em;
  }
  
  .pickup_inner {
    display: flex;
    gap: 2rem;
		margin-bottom: 2rem;
    margin-top: 2.75rem;
		margin-left: -4rem;
    margin-right: -4rem;
  }

  #pickup #cebu, #pickup #ea {
    width: 29rem;
  }
  
  #pickup #cebu picture, #pickup #ea picture {
    display: block;
    float: right;
    margin: -0.3em -1em -0.5em 1em;
    line-height: 1em;
  }
    
  #pickup #cebu h4, #pickup #ea h4 {
    margin: 0 8.5rem 0.8rem 0;
    font-size: 1.3em;
  }
    
  #pickup #cebu h4 span, #pickup #ea h4 span {
    font-size: 0.8rem;
  }

	#pickup #cebu dl dd::before, #pickup #ea dl dd::before {
		width: 13px;
		height: 13px;
	}
    
  #intro #free {
    width: 36rem;
		margin-top: 2rem;
  }
    
  #intro #free h4 {
    font-size: 1.25rem;
  }
	#intro #free .question_flex {
		gap: 16px;
	}
	#intro #free p .attention {
    font-size: 1.1rem;
  }
	.br_sp {
		display: none;
	}

	/* 海外短期留学バナー */

	#banner_feature {
		width: 48rem;
	}

	/* 留学体験談 */

  #exp {
    /* width: 53.75rem; */
		width: 48rem;
    padding: 2rem 0;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }

  #exp h4 {
    font-size: 1.3em;
    margin-bottom: 1.4rem;
  }
  
  #intro h3:after {
    width: 21em;
    margin-left: -10.5em;
  }
  
  #service {
    margin-bottom: 6rem;
  }
  
  #service h3 {
    margin-bottom: 2.5em;
  }
  
  #service h3:after {
    width: 25em;
    margin-left: -12.5em;
  }
  
  #service section {
    float: left;
    width: 31%;
    margin: 0 3.5% 2rem 0;
  }
  
  #service section:nth-of-type(3n) {
    margin-right: 0;
  }
  
  #service section:nth-of-type(3n+1) {
    clear: both;
  }
  
  #service section:last-of-type {
    margin-bottom: 0;
  }
  
  #service section h4 {
    margin-bottom: 1rem;
    color: #F60;
    font-size: 1rem;
    text-align: center;
  }
  
  #service section h4:after {
    content: "";
    display: block;
    margin: 0.8rem 20% 0 20%;
    border-bottom: dotted 0.25rem #9A9A9A;
  }
  
  #service section h4 br {
    display: inline;
  }
  
  #service section p {
    line-height: 1.6em;
  }
  
  #flow h3:after {
    width: 17em;
    margin-left: -8.5em;
  }
  
  #flow ol {
    position: relative;
    margin-bottom: 4rem;
  }
  
  #flow ol:after {
    content: "";
    display: block;
    position: absolute;
    top: 3.3rem;
    left: 12.46rem;
    height: 27rem;
    border-left: solid 0.125rem #000;
    z-index: -1;
  }
  
  #flow ol li {
    margin: 0 0 1rem 15rem;
    padding: 1rem 1.5rem;
  }
  
  #flow ol li h4 {
    position: absolute;
    top: 50%;
    left: -15rem;
    width: 9em;
    margin-top: -1.5em;
    margin-bottom: 0;
    padding-bottom: 0;
    text-align: right;
    border-bottom: none;
  }
  
  #flow ol li h4 span:after {
    content: "";
    display: block;
  }
  
  #flow ol li h4:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -6rem;
    width: 5rem;
    border-top: dashed 0.0625rem #F60;
  }
  
  #flow ol li h4:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -4rem;
    width: 1rem;
    height: 1rem;
    margin-top: -0.5rem;
    background-color: #F60;
    border-radius: 50%;
  }
  
  #flow section section {
    float: left;
    width: 32%;
    margin: 0 2% 1rem 0;
  }
  
  #flow section section:first-of-type {
    margin-left: 17%;
  }
  
  #flow section section:nth-of-type(3) {
    clear: both;
  }
  
  #flow section section:nth-of-type(2), #flow section section:last-of-type {
    margin-right: 0;
  }
  
  #flow section section h5 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
  }
  
  #starting h3:after {
    width: 19em;
    margin-left: -9.5em;
  }
  
  #starting p {
    font-size: 1.1rem;
  }

  #starting ul li {
    width: 24%;
    margin: 0 1.333% 1.333% 0;
    font-size: 0.8rem;
  }

  #starting ul li:nth-of-type(3n) {
    margin-right: 1.333%;
  }

  #starting ul li:nth-of-type(3n+1) {
    clear: none;
  }

  #starting ul li:nth-of-type(4n) {
    margin-right: 0;
  }

  #highschool h3:after {
    width: 12em;
    margin-left: -6em;
  }
}