@charset "utf-8";

/* 全体設定 */

*{
    margin: 0;
    padding: 0;
}
body{
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS Pゴシック", "MS PGothic", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #707070;
    background-color: #f3f3f2;
}
li{
    list-style-type: none;
}
img{
    border: none;
    display: block;
}
a{
    text-decoration: none;
}

/* ------ヘッダー ------*/
#headerInner{
    width: 1225px;
    height: 130px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    overflow: hidden;
}
/* -----大学ロゴ----- */
#logo{
    float: left;
    margin-top: 22px;
}
/* -----ヘッダー右側全体----- */
#headerSub_1{
    float: right;
}
/* -----JP/EN----- */
#headerSub_2{
    float: left;
    margin-top: 42px;
    margin-right: 30px;
}
#headerSub_2 .lang{
    display: block;
    float: left;
    font-size: 25px;
    margin: 4px;
    transition: 0.5s;
    border-bottom: 3px solid transparent;/*transparentは指定された要素の色を完全に透明にする、*/
}
#headerSub_2 .lang:hover{
    border-bottom: 2px solid #707070;
}
#headerSub_2 .lang a{
    color:#707070;
}
#headerSub_2 .lang2{
    float: left;
    font-size: 20px;
    margin: 6px;
}
/*----- 資料請求ボタン----- */
/* 資料請求ボタンをJP/ENの横に並べるために
divで囲みfloat:rightで右側へ */
#headerSub_3{
    float: right;
    margin-top: 35px;    
}
/* 資料請求ボタンの作成　
aタグのためブロック要素にし、
transition: 0.5sでボタンに変化時間は０.５秒、
変更の開始と終了付近の変化が滑らかであり開始遅延なしの動きをつける。 */
#requestButton{ 
    display: block;
    font-size: 25px;
    font-weight: bold;
    width: 200px;
    height: auto;
    background-color: #f6d192;
    color: #fff;    
    border-radius: 40px;
    text-align: center;
    padding: 7px;
    border: 2px solid transparent;
    transition: 0.5s;
}
/* 資料請求ボタンにマウスがホバーした時に色が変わる */
#requestButton:hover{
    background-color: #fff;
    color: #f6d192;
    border: 2px solid #f6d192;
}
/* -----グローバルナビ -----*/

/* 資料請求ボタンはfloatを使っているのでグローバルナビが
回り込みをしないようにclear:both;を記述する。 */
#gNavi{
    clear: both;
    height: auto;
    padding: 18px 0; /* 上下左右にパディングを追加して高さを確保 */
    width: 100%;/*横幅＝親要素の幅いっぱい*/
    background-color: #c2e8ce;
    text-align: center;/*←消しても文字は真ん中になる？インライン要素の水平方向を中央揃え*/
}
/* flexコンテナとして定義し、その直下の子要素（flexアイテム）を
flexboxレイアウトに従って配置する */
#gNavi ul{
    width: 1056px;
    height: auto;
    margin: 0 auto;/*上下は0、左右（水平方向）を中央揃え※ブロック要素*/
    display: flex;
    justify-content: space-between;/*主軸（水平方向）を等間隔に空ける*/
}
/* aタグのためブロック要素にし、
transition: 0.5sでボタンに変化時間は０.５秒、
変更の開始と終了付近の変化が滑らかであり開始遅延なしの動きをつける。 */
#gNavi ul li a{
    display: block;    
    color:#707070;
    font-size: 22px;
    text-align: center;/*←消しても文字は真ん中になる？*/
    transition: 0.5s;
    border-bottom: 3px solid transparent;/*transparentは指定された要素の色を完全に透明にする、*/
}
/* それぞれのliをホバーすると下線が表示される */
#gNavi ul li a:hover{
    border-bottom: 3px solid #7f9787;
}
/* ------メイン------- */

/* 幅1200px、高さ500pxの領域を作成し、指定した画像を背景に設定して、画像を領域全体に表示（cover）させる。
また、左右の余白を自動に設定することで、親要素を中央に配置し、上部に20pxの余白を持たせる*/
#mainPhoto{
    background-image: url(../../images/main.jpg);
    width: 1200px;
    height: 500px;
    background-size: cover;/*背景画像が要素全体を覆うように拡大・縮小される。画像のアスペクト比が維持されるため、画像の一部が切り取られる場合がある*/
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    position: relative;/*要素の配置方法を相対位置に設定する、要素内の「絶対配置」の子要素の基準になる*/
}
/* 背景画像の上に文字を左端から650px、上端から376pxの位置に配置 */
#mainPhoto h1{
    color:#fff;
    font-size: 50px;
    position: absolute;/*要素の配置方法を絶対位置に設定。これにより親要素（#mainPhoto）の左上に正確な位置を指定できる*/
    top: 376px;
    left: 650px;
    text-shadow: 2px 2px 3px #707070 ;/*右に2px下に2pxずれ、3pxのぼかし*/
}
#mainPhoto span{
    font-size: 35px;
    position: absolute;/*絶対位置の指定*/
    top: 70px;
    right: -30px;/*右から-30pxの位置に配置（右にはみ出るように表示）*/
}

/*-----お知らせ　Pick Up-----*/
#pickUp h2{
    text-align: center;
    margin-top: 150px;
    margin-bottom: 50px;
    position: relative;/*要素の配置方法を相対位置に設定。::afterの配置基準となる*/
}
#pickUp h2::after{
    position: absolute;/*絶対位置に設定。親要素であるh2の範囲内を基準に配置される*/
    content: "";/*疑似要素を表示させるための必須項目（空の内容）*/
    background-color: #f8b98c;
    width: 220px;
    height: 6px;
    bottom: -5px;/*見出しの文字に少し被るような位置に配置*/
    left: 50%;/*h2要素の左端から50％の位置に配置＝横位置をh2の中央に設定*/
    transform: translateX(-50%);/*要素を自身の幅の50％だけ左に移動。left:50%と組み合わせるとで、要素全体を正確に見出しの中央に配置*/
}
/* li要素を横並び・中央揃えにするための設定 */
/* --お知らせPick Up・留学について・数字で見る狭山国際大学の<ul>設定-- */
/*#pickUp ul{
    width: 1000px;
    margin-left: auto;左右のマージンを自動に設定することでリストコンテナを→
    margin-right: auto;/*→親要素の中央に配置
    height: auto;/*高さは中身に合わせて自動調整
    display: flex;/*子要素（li）を横並びにする
    justify-content: center;/*子要素を中央揃えにする
    flex-wrap: nowrap;/*折り返さず、1列に並べる
    gap: 50px;
}*/
#pickUp ul,#content_1,#number ul{
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  display: flex;
  justify-content: space-between;
}
.textBox{
   /* display: block; ←必要ない？*/
   width: 260px;
   height: 160px;
   border: solid 2px #fff;
   background-color: #fff;
   color: #707070;   
}
.textBox p:nth-child(1){
    font-size: 16px;
    padding: 20px;
}
.textBox p:nth-child(2){
    font-size: 18px;
    padding: 22px;
}
#onlyText_1{
   /* display: block; ←必要ない？*/
   width: 260px;
   height: 156px;
   border: solid 2px #fff;
   background-color: #fff;
   color: #707070;
   font-weight: bold;
   text-align: center;
   padding-top: 30px;
   border-bottom: solid 1px#707070;
   position: relative;/*相対位置に設定＝子要素の絶対位置指定（::after）をこの要素を基準に配置するための土台*/
}
#onlyText_1 p:nth-child(1){
    font-size: 30px;
    padding-bottom: 30px;
}
#onlyText_1 p:nth-child(1)::after{
    position: absolute;/*絶対値に設定。配置は親要素(#onlyText_1)を基準*/
    content: "";
    background-color: rgb(239,97,97,0.7);
    width: 210px;
    height: 10px;
    bottom: 117px;
    left: 50%;
    transform: translateX(-50%);
}
#onlyText_1 p:nth-child(2){
    font-size: 28px;
}
#onlyText_1 p:nth-child(2)::after{
    position: absolute;
    content: "";
    background-color: rgb(239,97,97,0.7);
    width: 255px;
    height: 10px;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
}
#onlyText_2{
    color: #707070;
    width: 263px;
    height: 160px;
    background-color: #fff;
}
#onlyText_2 p:nth-child(1){
    font-size: 16px;
    padding: 20px;
}
#onlyText_2 p:nth-child(2){
    font-size: 16px;
    padding: 22px;
}
.a_style{
    display: block;/*リンク要素をブロック要素にして、幅・高さを自由に設定できるようにする*/
    opacity: 1;
    transition:0.3s;/*opacityのプロパティの変化を0.3秒かけて滑らかにアニメーション速度を設定*/
}
.a_style:hover{
    opacity: 0.7;
}

/* -----詳しく見るボタン----- */
#more{
    width: 165px;
    margin-left: auto;/*要素の左側のマージンを自動設定*/
    margin-right: auto;/*要素の右側のマージンを自動設定*/
    margin-top: 40px;
}
.btn{
    display: block;/*ボタンをブロックレベル要素にして、幅と高さを設定*/
    font-size: 18px;
    font-weight: bold;
    background-color: #f8b98c;
    padding: 12px;
    border-radius: 30px;
    color: #fff;
    text-align: center;
    border: 2px solid transparent;/*2px幅の透明な実線を設定。ホバー時に枠線を表示してもボタンのサイズをが変わらないようするため*/
    transition: 0.5s;/*ホバー時に背景の色と文字色を0.5秒かけて滑らかにアニメーション変化させる*/
}
.btn:hover{
    background-color: #fff;
    color: #f8b98c;
    border: 2px solid #f8b98c;
}

/* -----留学について------ */

/* -----留学制度----- */
#studyAbroad h2{
    text-align: center;
    margin-top: 150px;
    margin-bottom: 50px;
    position: relative;
}
#studyAbroad h2::after{
    position: absolute;
    content: "";
    background-color: #77bd89;
    width: 156px;
    height: 6px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}
#studyAbroad h3{
    margin-left: 10%;
    margin-bottom: 20px;
}
/*#content_1{
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    height: auto;高さは中のコンテンツに合わせて自動調整する
    display: flex;/*flexboxレイアウトを使用し、子要素を横並びにする
    justify-content: center;/*子要素を中央揃え（横方向）
    align-items: center;/*交差軸（垂直方向）を中央揃えにする
    flex-wrap: nowrap;/*子要素が繰り返されないようにする（一行に収まる
    gap: 60px;
}*/
#content_1 li{
    display: block;
    transition: all 0.3s ease-in-out;
    transform: scale(1.0);
}
#content_1 li:hover{
    transform: scale(1.05);
}
.textBox_1{
    width: 360px;
    height: 200px;
    background-color: #fff;
    color: #707070;
    border-top: 1px solid #707070;
    border-radius: 0 0 10px 10px;
    text-align: center;     
}
.textBox_1 p:nth-child(1){
    font-size: 25px;
    padding-top: 10px;
}
.textBox_1 p:nth-child(2){
    font-size: 18px;
    padding: 30px 0;
}
#studyAbroad h3:last-of-type{
    margin-top: 66px;
}
/* -------留学した先輩たちの声----- */
#content_2{
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    height: auto;/*高さは中のコンテンツに合わせて自動調整する*/
    display: flex;/*子要素の<li>を横並びにする*/
    justify-content: space-between;/*左右の端に要素を寄せ、残りの要素はその間を等間隔に配置する*/
}
#content_2 li{
    width: 480px;
    height: auto;
    background-color: #fff;
    overflow: hidden;
}
.textBox_2{
    overflow: hidden;
}
.textBox_2 img{
    float:left;
    margin: 30px 0;
    padding-left: 17px;
}
.textBox_2 p{
    float: left;
    width: 230px;
    margin-left: 30px;
    margin-bottom: 38px;
    color: #707070
}
.textBox_2 p:nth-child(2){
    margin-top: 30px;
    font-size: 20px;
    text-align: center;
}
.textBox_2 p:nth-child(3){
    font-size: 16px;
}
/* -----詳しく見るボタン----- */
#more_2{
    width: 165px;
    margin-left: auto;/*要素の左側のマージンを自動設定*/
    margin-right: auto;/*要素の右側のマージンを自動設定*/
    margin-top: 40px;
}
.btn_2{
    display: block;/*ボタンをブロックレベル要素にして、幅と高さを設定*/
    font-size: 18px;
    font-weight: bold;
    background-color: #77bd89;
    padding: 12px;
    border-radius: 30px;
    color: #fff;
    text-align: center;
    border: 2px solid transparent;/*2px幅の透明な実線を設定。ホバー時に枠線を表示してもボタンのサイズをが変わらないようするため*/
    transition: 0.5s;/*ホバー時に背景の色と文字色を0.5秒かけて滑らかにアニメーション変化させる*/
}
.btn_2:hover{
    background-color: #fff;
    color: #77bd89;
    border: 2px solid #77bd89;
}
/* ------数字で見る狭山国際大学------ */
#number h2{
    text-align: center;
    margin-top: 150px;
    margin-bottom: 50px;
    position: relative;/*要素の配置方法を相対位置に設定。::afterの配置基準となる*/
}
#number h2::after{
    position: absolute;/*絶対位置に設定。親要素であるh2の範囲内を基準に配置される*/
    content: "";/*疑似要素を表示させるための必須項目（空の内容）*/
    background-color: #f8b98c;
    width: 270px;
    height: 6px;
    bottom: -5px;/*見出しの文字に少し被るような位置に配置*/
    left: 50%;/*h2要素の左端から50％の位置に配置＝横位置をh2の中央に設定*/
    transform: translateX(-50%);/*要素を自身の幅の50％だけ左に移動。left:50%と組み合わせるとで、要素全体を正確に見出しの中央に配置*/
}
/*#number ul{
    width: 1056px;
    height: auto;
    margin: 0 auto;上下は0、左右（水平方向）を中央揃え※ブロック要素
    display: flex;
    justify-content: center;/*主軸（水平方向）を中央揃えにする
    align-items: center;/*交差軸（垂直方向）を中央揃えにする
    gap: 40px;/*flexのデフォルトは横並び(row)なので子要素の横の間隔が100px
}*/
.textBox_3{
    width: 372px;
    height: 372px;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 2.5;
    color: #707070;
}
.textBox_3 p:nth-child(1){
    font-size: 21px;
    padding-top: 10px;
}
#word{
    font-size: 18px;
    padding-top: 20px;
}
#word_1{
    margin-left: 18px;
}
.textBox_3 p:nth-child(2){
    font-size: 30px;
    font-weight: bold;
}
.textBox_3 span{
    font-size: 18px;
    font-weight: normal;
}
.textBox_3 p:nth-child(3){
    font-size: 14px;
    margin-top: -10px;
    margin-left: 50%;
}
.textBox_3 img{
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: cover;
}
#pic{
    margin-left: 24%;
}
/* -----詳しく見るボタン----- */
#more_3{
    width: 165px;
    margin-left: auto;/*要素の左側のマージンを自動設定*/
    margin-right: auto;/*要素の右側のマージンを自動設定*/
    margin-top: 40px;
}
.btn_3{
    display: block;/*ボタンをブロックレベル要素にして、幅と高さを設定*/
    font-size: 18px;
    font-weight: bold;
    background-color: #f8b98c;
    padding: 12px;
    border-radius: 30px;
    color: #fff;
    text-align: center;
    border: 2px solid transparent;/*2px幅の透明な実線を設定。ホバー時に枠線を表示してもボタンのサイズをが変わらないようするため*/
    transition: 0.5s;/*ホバー時に背景の色と文字色を0.5秒かけて滑らかにアニメーション変化させる*/
}
.btn_3:hover{
    background-color: #fff;
    color: #f8b98c;
    border: 2px solid #f8b98c;
}
/* ------学部------ */
#faculty h2{
    text-align: center;
    margin-top: 150px;
    margin-bottom: 50px;
    position: relative;/*要素の配置方法を相対位置に設定。::afterの配置基準となる*/
}
#faculty h2::after{
    position: absolute;/*絶対位置に設定。親要素であるh2の範囲内を基準に配置される*/
    content: "";/*疑似要素を表示させるための必須項目（空の内容）*/
    background-color: #77bd89;
    width: 84px;
    height: 6px;
    bottom: -5px;/*見出しの文字に少し被るような位置に配置*/
    left: 50%;/*h2要素の左端から50％の位置に配置＝横位置をh2の中央に設定*/
    transform: translateX(-50%);/*要素を自身の幅の50％だけ左に移動。left:50%と組み合わせるとで、要素全体を正確に見出しの中央に配置*/
}
#faculty ul{
    width: 1056px;
    height: auto;
    margin: 0 auto;/*上下は0、左右（水平方向）を中央揃え※ブロック要素*/
    display: flex;
    flex-wrap: wrap;
    gap: 40px;/*flexのデフォルトは横並び(row)なので子要素の横の間隔が40px*/
    margin-bottom: 100px;
}
#faculty li{
    width: 500px;
    height: 235px;
    margin: 0 auto;
    background-color: #fff;
}
.textBox_4{
    display: flex;
    /* justify-content: center; */
    align-items: center;
    color: #707070;
}
.content_4{
    text-align: center;
}
.textBox_4 p{
    padding-top: 40px;
    text-align: left;
    padding-left: 16px;
}
#faculty li{
    display: block;
    
    transition: all 0.3s ease-in-out;
}
#faculty li:hover{
    box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    transform: translateY(-10px);/*要素をY軸（垂直方向）に-10px移動する。つまり、上に10pxふわっと浮き上がるように見える*/
}
#more_4{
    width: 100px;
    margin-left: auto;/*要素の左側のマージンを自動設定*/
    margin-right: auto;/*要素の右側のマージンを自動設定*/
    margin-top: 40px;
}
/* ------フッター------ */
footer{
    background-color: #b8b3b3;
    padding: 25px;
}
#footerInner{
    width: 1225px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    color: #f3f3f2;
    font-size: 18px;
}
#footerLogo{
    float: left;
    width: 330px;
    height: 100px;
}
#footerLogo img{
    width: 100%;
}
#info{
    float: left;
    margin-top: 10px;
    margin-left: 30px;
}
#footerMenu{
    float: left;
    margin-left: 80px;
    margin-top: 5px;
    line-height: 2.0;
    width: 294px;

}
#footerMenu td{
    width: 70px;
    padding-bottom: 5px;
}
#footerMenu td a{
    color: #f3f3f2;
}
#snsIcon{
    float: right;
    display: flex;
    gap: 20px;
    margin-top: 72px;
    margin-right: 12px;
}
#snsIcon .logo1{
    margin-top: -2px;
}
#snsIcon .logo3{
    display: block;
    width: 56px;
    height: 56px;
    margin-top: 3px;
}
#copyright{
    float: right;
    margin-top: 30px;
    font-size: 14px;
}