/* 共通 */
html {
    width: 1200px;
    margin: 0 auto;
    color: rgb(17, 17, 46);
    font-size: 1.05em;
	scroll-behavior: smooth;
}

* {
    box-sizing:border-box;
}

img {
    max-width:100%;
	height:auto;
	margin-bottom:-3px;
}

/* hedaer */
header {
    background: #fdfdfd;
    height: 240px;
    display: flex;
    justify-content:space-between;
    align-items:center;
    padding-right: 60px;
	padding-left: 60px;
}

.menu-content > ul {
    display: flex;
}

.menu-content > ul > li {
    list-style: none;
    text-decoration: none;
    margin-left: 30px;
}

#menu-btn-check {
    display: none;
  }

/* main */

.bg {
    width: 1200px;
    height: 780px;
    background: #345E99;
    position: relative; 
}

.top-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 各コンテナを2列にして折り返す*/
.wrap {
    display: flex;
	flex-wrap: wrap;
}

.item-text_left {
    background-color: #345E99;
    padding: 60px;
    color: aliceblue;
    width: 50%;
    height: 700px;
	position: relative;
}

.item-text_right {
    background-color: aliceblue;
    padding: 60px;
    width: 50%;
    height: 700px;
    position: relative;
}

.item-text_left_three_a {
    background-color: #345E99;
    padding: 30px;
    color: aliceblue;
    width: 33%;
    height: 600px;
	position: relative;
	font-size: 0.95em;
}
.item-text_left_three_b {
    background-color: aliceblue;
    padding: 30px;
    color: #345E99;
    width: 33%;
    height: 600px;
	position: relative;
	font-size: 0.95em;
}



h2 {
    margin-bottom: 30px;
}

h3 {
    margin-bottom: 30px;
    font-size: 30px;
    line-height: 36px;
}

.insta_news{
	width:100%;
	height:70px;
	background-color: #345E99;
	padding:10px;
	color: aliceblue;
	  display: flex;
  justify-content: center;
  align-items: center;
}


.profile, .theme, .message, .works {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-right: 60px;
}

.profile > ul{
	padding-left:0.95em;
}

.theme > ul{
	padding-left:0.95em;
}

.works > ul{
	padding-left:0.95em;
}

.message > ul{
	padding-left:0.95em;
}

.profile > ul > li {
	line-height: 1.1em;
	margin-bottom: 10px;
	list-style-type: disc;
}

.profile > p {
    line-height: 1.3em;
}

.theme > p {
    line-height: 1.3em;
}

.message > p {
    line-height: 1.3em;
}

.works > p {
    line-height: 1.3em;
}

.works > ul > li {
    line-height: 1.3em;
	margin-bottom: 10px;
	list-style-type: disc;
}

.theme > ul > li {
    line-height: 1.3em;
	margin-bottom: 10px;
	list-style-type: disc;
}

.message > ul > li {
    line-height: 1.3em;
	margin-bottom: 10px;
	list-style-type: disc;
}

.messege_gakusei{
	line-height: 1.3em;
	position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-right: 30px;
}

span {

}

.letter {
    display: block;
    height: 440px;
}

.letter > h2 {
    margin: 40px;
}

/* リンクボタン */
a.btn_01 {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 200px;
	margin: auto;
	padding: .5rem .5rem;
	font-size:0.8em;
	font-weight: bold;
	border: 2px solid #27acd9;
	color: #27acd9;
	transition: 0.5s;
}
a.btn_01:hover {
	color: #fff;
	background: #27acd9;
}
	
	a.btn_02 {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 150px;
	margin: auto;
	padding: .5rem .5rem;
	font-size:0.8em;
	font-weight: bold;
	border: 2px solid #fff;
	color: #fff;
	transition: 0.5s;
	display:inline-block
}
a.btn_02:hover {
	color: #fff;
		background: #27acd9;
		border: 2px solid #27acd9;
}
	
a.btn_03 {
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 50px;
	margin: auto;
	padding: .1rem .1rem;
	font-size:0.8em;
	font-weight: bold;
	border: 2px solid #27acd9;
	color: #27acd9;
	transition: 0.5s;
}
a.btn_03:hover {
	color: #fff;
	background: #27acd9;
}
a.btn_04 {
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 50px;
	margin: auto;
	padding: .1rem .1rem;
	font-size:0.8em;
	font-weight: bold;
	border: 2px solid #27acd9;
	color: #fff;
	background: #27acd9;
	transition: 0.5s;
}	
	
	.language {
		text-align: right;
		margin-bottom:-50px;
	}
	
	/* 学生からのメッセージを横並びに */
.reviews {
    display: grid;
    grid-template-columns: repeat(3, 330px);
    gap: 0 40px;
    justify-content: center;
}

/* fotter */

fotter {
    background-color: aliceblue;
    font-size: 14px;
    padding: 60px;
    display: grid;
    /* place-items: center; */
    grid-template-columns: repeat(3, 340px);
    gap: 0 30px;
    justify-content: center;
}

fotter > div {
    width: 360px;
}

h4  {
    margin-bottom: 20px;
}

a {
    color: rgb(49, 49, 117);
}

/* SNSアイコン等 */
.sns-icon, .mail-icon {
    display: grid;
    grid-template-columns: repeat(5, 40px);
    gap: 5px;
    margin-top: 20px;
}


.img-frame{
   position: relative;
   width: 100%;
   height: 500px;
   overflow: hidden;
	margin: 0 auto;
}

.img-01, .img-02, .img-03, .img-04, .img-05, .img-06, .img-07{
   position: absolute;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-repeat: no-repeat;
}
.img-01{
   background-image: url('img/bg01.jpg');
   animation: slide-animation-01 48s infinite;
}
.img-02{
   background-image: url('img/bg02.jpg');
   animation: slide-animation-02 48s infinite;
}
.img-03{
   background-image: url('img/bg03.jpg');
   animation: slide-animation-03 48s infinite;
}
.img-04{
   background-image: url('img/bg04.jpg');
   animation: slide-animation-04 48s infinite;
}
.img-05{
   background-image: url('img/bg05.jpg');
   animation: slide-animation-05 48s infinite;
}
.img-06{
   background-image: url('img/bg06.jpg');
   animation: slide-animation-06 48s infinite;
}
.img-07{
   background-image: url('img/bg07.jpg');
   animation: slide-animation-07 48s infinite;
}

@keyframes slide-animation-01 {
    0% {opacity: 1; transform: scale(1.0);}
  14% {opacity: 1;}
  21% {opacity: 0; transform: scale(1.15);}
100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
    0% {opacity: 0;}
  7% {opacity: 0; transform: scale(1.1);}
  14% {opacity: 1;}
  28% {opacity: 1;}
	35% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
    0% {opacity: 0;}
  21% {opacity: 0;  transform: scale(1.0);}
  28% {opacity: 1;}
  42% {opacity: 1;}
	49% {opacity: 0; transform: scale(1.1);}
	100% {opacity: 0;}
}
@keyframes slide-animation-04 {
	    0% {opacity: 0;}
   35% {opacity: 0; transform: scale(1.0);}
	42% {opacity: 1;}
	56% {opacity: 1;}
	63% {opacity: 0; transform: scale(1.15);}
	100% {opacity: 0;}
}
@keyframes slide-animation-05 {
	    0% {opacity: 0;}
  49% {opacity: 0; transform: scale(1.1);}
  56% {opacity: 1;}
  70% {opacity: 1;}
	77% {opacity: 0; transform: scale(1.0);}
	100% {opacity: 0;}
}
@keyframes slide-animation-06 {
	0% {opacity: 0;}
  63% {opacity: 0;  transform: scale(1.0);}
  70% {opacity: 1;}
  84% {opacity: 1;}
  91% {opacity: 0; transform: scale(1.1);}
  100% {opacity: 0;}
}
@keyframes slide-animation-07 {
	0% {opacity: 0;}
  77% {opacity: 0;  transform: scale(1.0);}
  84% {opacity: 1;}
  98% {opacity: 1;}
100% {opacity: 0; transform: scale(1.1);}
}	

/* 画面幅420px以下の場合 */
@media screen and (max-width:420px){

html {
    width: 420px;
    font-size: 1.0em;
}

/* header */

/* ハンバーガーメニュー */
.menu-btn {
    position: fixed;
    top: 20px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
  }
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: rgb(49, 49, 117);
    position: absolute;
  }
  .menu-btn span:before {
    bottom: 8px;
  }
  .menu-btn span:after {
    top: 8px;
  }

  /* ボタンがタップされたとき三本線を「×」マークにする */
  #menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
  }

  #menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .menu-content {
    /* メニュー装飾 */
    width: 70%;
    height: 100%;
    position: fixed;
    top: 0;
    /* left: 0; */
    right: 0;
    transform: translateX(100%);
    z-index: 80;
    background-color: aliceblue;
    /* メニューを画面の外へ */
    /* left: 100%; */
    /*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    transition: all 0.5s;
    /*アニメーション設定*/
  }
  .menu-content ul {
    padding: 70px 30px 0 0;
    display: block;
  }
  .menu-content ul li {
    border-bottom: solid 1px rgb(49, 49, 117);
    list-style: none;
  }
  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 14px;
    box-sizing: border-box;
    color: rgb(49, 49, 117);
    text-decoration: none;
    padding: 15px 15px 12px 0;
    position: relative;
  }
  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px rgb(49, 49, 117);
    border-right: solid 2px rgb(49, 49, 117);
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }

  /* ボタンがタップされたとき、メニューを表示 */
  #menu-btn-check:checked ~ .menu-content {
    transform: translateX(0%);
    /* left: 130px; */
    /*メニューを画面内へ*/
  }

/* main */

header {
    padding-left: 40px;
    height: 160px;
}

h2 {
    margin-bottom: 20px;
}

h3 {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 22px;
}
		
.language {
		text-align: right;
			margin-right:10px;
	}
		
.bg {
    width: 100%;
    height: 300px;
}
		
.img-frame{
   width: 100%;
   height: 175px;
}
		
		
.top-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* margin: 0 auto; */
}

.wrap {
    flex-direction: column;
}

.item-img, .item-text_right, .item-text_left {
    width: 100%;
    margin: 0 auto;
}

.item-text_right, .item-text_left {
    padding: 0 30px;
}
	
.item-text_left_three_a, .item-text_left_three_b {
    width: 100%;
		margin: 0 auto;
		
}

.item-text_left_three_a, .item-text_left_three_b {
		padding: 0 30px;
		    font-size: 1.0em;
}
		
		.insta_news{
			padding:30px;
	width:100%;
			height:100px;
		}
		
/* SP画面幅の時の順序 */
.item1 {
    order: 1;
}

.item2 {
    order: 2;
}

.item3 {
    order: 4;
}

.item4 {
    order: 3;
}

.item5 {
    order: 5;
}

.item6 {
    order: 6;
}

.item7 {
    order:8;
}

.item8 {
   order: 7; 
} 

.profile, .theme, .message, .works {
    padding-right: 30px;
}

.letter {
    height: 100%;
    padding-bottom: 40px;
}

.letter > h2 {
    margin-bottom: 20px;
}

.reviews {
    grid-template-columns: repeat(1, 400px);
    gap: 30px;
}

.reviews > li {
    margin: 0 auto;
}


/* fotter */

fotter {
    background-color: aliceblue;
    font-size: 14px;
    padding: 30px;
    grid-template-columns: repeat(1, 100%);
    gap: 40px;
}

fotter > div > li {
    width: 100%;
}


}

