@charset "UTF-8";

/* ターム留学・1年留学・卒業留学 */
.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-repeat: no-repeat;
  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 5rem 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 {
  margin-bottom: 0.8em;
  font-size: 1rem;
  line-height: 1.4em;
}

.gaikan {
	background-color: #ddd;
}

.gaikan figcaption {
  padding-bottom: 0.5em;
  font-size: 0.8em;
  line-height: 1.2em;
  text-align: center;
}

.youtube {
  margin-bottom: 0.5rem;
  aspect-ratio: 16 / 9;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

.contents>section>section>section {
  margin-bottom: 3rem;
}

.contents>section>section>section h5 {
  margin-bottom: 1.2rem;
  padding-bottom: 0.2em;
  font-size: 1rem;
  line-height: 1.4em;
  border-bottom: dashed 0.0625rem #222;
}

.contents>section>section>section>section {
  margin-bottom: 2.5rem;
}

.contents>section>section>section>section h6 {
  margin-bottom: 0.8rem;
  padding-left: 0.4em;
  font-size: 1rem;
  line-height: 1.2em;
  border-left: solid 0.4rem #F60;
}

#term>section {
  margin-top: 3rem;
}

#term #recommend {
  /* オーストラリア・ニューサウスウェールズ州スコッツ・スクール */
}

#term #recommend p {
  margin-bottom: 0.8em;
}

#term #recommend ul {
  margin-left: 1.2em;
  margin-bottom: 1em;
}

#term #recommend ul li {
  list-style-image: url(../img/common/arrow.svg);
}

#term #recommend ul li a {
  font-size: 0.9em;
}

#university {
  /* サザンクロス大学とは？ */
  /* ホテル・スクール */
  /* サザンクロス大学にしかできないこと */
  /* 卒業までの流れ */
}

#university>section {
  margin-top: 3rem;
}

#university>p strong {
  display: block;
  font-size: 1rem;
  line-height: 1.5em;
  text-align: center;
}

#university>p strong.border {
  padding: 1rem;
  font-weight: normal;
  border: solid 0.0625rem #888;
}

#university #about_scu {
  overflow: hidden;
}

#university #about_scu picture {
  margin-bottom: 0.5rem;
  text-align: center;
}

#university #about_scu p:after {
  display: block;
  content: "";
  clear: both;
}

#university #hotelschool {
  overflow: hidden;
}

#university #hotelschool picture {
  float: right;
  max-width: 50%;
  margin: 0 0 0.5rem 1rem;
}

#university #scu_only>ul>li {
  margin-bottom: 1rem;
  padding: 0.8rem;
  font-size: 0.9rem;
  line-height: 1.5em;
  border: solid 0.0625rem #F60;
}

#university #scu_only>ul>li picture {
  margin-bottom: 0.8rem;
  text-align: center;
}

#university #scu_only>ul>li picture img {
  line-height: 1em;
  border: solid 0.0625rem #F60;
}

#university #scu_only>ul>li h5 {
  margin-bottom: 0.5rem;
  color: #F60;
  font-size: 1.1rem;
  line-height: 1.2em;
}

#university #scu_only>ul>li h5 span {
  font-size: 2em;
  line-height: 1em;
  font-weight: normal;
  font-style: italic;
}

#university #scu_only>ul>li ul {
  overflow: hidden;
}

#university #scu_only>ul>li ul li {
  float: left;
  margin-right: 1em;
}

#university #scu_only>ul>li ul li:before {
  content: "＊";
}

#university #scu_only>ul>li ul li:last-of-type {
  margin-right: 0;
}

#university #scu_only>ul>li ul li:last-of-type:before {
  content: none;
}

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

#university #flow table {
  width: 100%;
  margin: 0 auto;
  font-size: 0.9em;
  border-collapse: collapse;
}

#university #flow table tr th,
#university #flow table tr td {
  padding: 0.3rem 0.8rem;
  border: solid 0.125rem #FFF;
  vertical-align: middle;
}

#university #flow table tr th {
  color: #FFF;
  background-color: #F60;
}

#university #flow table tr td {
  padding-bottom: 0;
  background-color: #FFF9F4;
}

#university #flow table tr td h5 {
  font-size: 1em;
  line-height: 1.6em;
}

#university #flow table tr td dl {
  margin-bottom: 0.5rem;
}

#university #flow table tr td dl dd {
  margin-left: 1rem;
}

#university #flow table tr td dl dd:before {
  content: "→";
  margin-right: 0.3rem;
}

#university #flow table tr:nth-of-type(even) td {
  background-color: #FFEDE1;
}

@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 -0.0625rem 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>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: 52.5rem;
    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;
  }

  .contents>section>section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    /* text-align: left; */
  }

  .youtube {
    margin-bottom: 1.5rem;
  }

  .youtube figcaption {
    padding-bottom: 0.5em;
    font-size: 0.9em;
  }

  .contents>section>section>section h5 {
    padding-bottom: 0;
  }

	#term>section {
	  margin-top: 5rem;
	}

  #term h3:after {
    width: 13em;
    margin-left: -6.5em;
  }

  #term #recommend {
    /* オーストラリア・ニューサウスウェールズ州スコッツ・スクール */
  }

  #term #recommend ul {
    margin-left: 1.2em;
    margin-bottom: 0;
  }

  #university {
    /* サザンクロス大学とは？ */
    /* ホテル・スクール */
    /* サザンクロス大学にしかできないこと */
    /* 卒業までの流れ */
  }

  #university h3:after {
    width: 8em;
    margin-left: -4em;
  }

  #university>p strong {
    font-size: 1.2rem;
  }

  #university>p strong.border {
    margin: 0 5rem;
    padding: 1.5rem;
  }

  #university #about_scu picture {
    text-align: left;
  }

  #university #about_scu picture:first-of-type {
    float: left;
    margin-right: 1.5rem;
  }

  #university #hotelschool picture {
    float: right;
    max-width: none;
    margin: 0 0 0.5rem 1rem;
  }

  #university #scu_only>ul>li {
    padding: 0.8rem 2rem;
  }

  #university #scu_only>ul>li picture {
    float: right;
    margin: 0 -3.5rem 1rem 1.5rem;
    text-align: left;
  }

  #university #scu_only>ul>li h5 span {
    margin-right: 0.5rem;
    font-size: 3em;
  }

  #university #flow {
    margin-bottom: 6rem;
  }

  #university #flow table {
    width: 80%;
    font-size: 1em;
  }

  #university #flow table tr th,
  #university #flow table tr td {
    padding: 0.5rem 1.5rem;
  }

  #university #flow table tr td h5 {
    font-size: 1rem;
  }
}

/* 20251002追加 */
#term h4 {
  margin-bottom: 0.8em;
  color: #F60;
  font-size: 1rem;
  text-align: center;
  line-height: 1.4em;
}

.detail_box {
	background-color: #FFEDE1;
	padding: 1rem;
	margin-bottom: 1rem;
}

.detail_box dt {
	margin-bottom: 0.25rem;
}

.detail_box dd{
	font-size: 0.9rem;
}

.button {
	font-family: serif;
	margin-top: 1rem;
	text-align: center;
}

.btn_sl {
	display: inline-block;
	min-width: 230px;
	padding: 0.8em 1em;
	border-radius: 0.3em;
	font-size: 0.9em;
	font-weight: bold;
	line-height: 1.6em;
	text-align: center;
	color: #fff!important;
	background-color: #F60;
	text-decoration: none!important;
}

/* おすすめの大学 */
#recommend h4 {
  margin-bottom: 0.8em;
  color: #F60;
  font-size: 1rem;
  text-align: center;
  line-height: 1.4em;
}


#recommend>section {
  margin-bottom: 3rem;
}

#recommend>section h5 {
  margin-bottom: 1.2rem;
  padding-bottom: 0.2em;
  font-size: 1rem;
  line-height: 1.4em;
  border-bottom: dashed 0.0625rem #222;
}

#recommend>section>section {
  margin-bottom: 2.5rem;
}

#recommend>section>section h6 {
  margin-bottom: 0.8rem;
  padding-left: 0.4em;
  font-size: 1rem;
  line-height: 1.2em;
  border-left: solid 0.4rem #F60;
}

#recommend p {
  margin-bottom: 0.8em;
}

#recommend ul {
	margin-bottom: 0.8em;
}

#recommend .grid {
	margin-bottom: 2rem;
}

#recommend .info {
	display: grid;
	grid-template-columns: 146px 1fr;
	gap: 0.5rem;
	margin-bottom: 2rem;
	font-size: 0.9em;
}

#recommend .info .ttl {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #FFEDE1;
	color: #F60;
	font-weight: bold;
	text-align: center;
}

#recommend .point {
	background-color: #EAF2FF;
	border: 1px solid #1d4298;
	padding: 1.2rem;
  margin-bottom: 1em;
	font-size: 0.9em;
}

#recommend .point dt {
	color: #1d4298;
	font-weight: bold;
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

#recommend .point dd::before {
	content: '';
	display: inline-block;
  background: url(../img/common/arrow.svg);
	background-position: center;
	background-repeat: no-repeat;
	width: 10px;
	height: 10px;
}

@media only screen and (min-width: 601px) {
	#term h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: left;
  }

	.button {
		text-align: left;
	}

  #recommend h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: left;
  }

	#recommend .grid {
		display: grid;
		grid-template-columns: 1fr 300px;
		gap: 2rem;
	}

	#recommend .left {
		border-right: 1px dotted #333;
    padding-right: 2rem;
	}


  #recommend>section h5 {
    padding-bottom: 0;
  }

	#recommend .point {
    margin-bottom: 0;
  }
}