/*
トップページ用CSS
*/
/*-------------------------------------------------
メイン画像
--------------------------------------------------*/
.area-top-main {
  position: relative;
  width: 100%;
  height: 700px;
  background: url("../images/top/top_mainimg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.area-top-main::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.1);
}
.h1-top {
  position: relative;
  display: flex;
  align-items: center;
  height: calc(100% - 40px);
  margin: 0;
  top: -18px;
  left: -110px;
}
/* 20230719 奥島変更*/
.h1-top img {
  max-width: 670px;
  padding: 0% 116px 0;
}

.h1-top {
  height: calc(100% - 500px);
}
.bnr-wrap{
  position: absolute;
  width: 100%;
  max-width: 650px;
  display: flex;
  bottom: 8px;
  right: 0;
  left: 0;
  margin: 0 auto;
}
.bnr-wrap a{
  padding: 0 4px;
}
/*-------------------------------------------------
サイトコンテンツ
--------------------------------------------------*/
.sec-top-site {
  padding: 0 0 100px;
}
.h2-top-site {
  margin-top: 0;
  font-size: 3rem;
}
.wrap-top-site-list {
  display: flex;
  justify-content: space-between;
}
.wrap-top-site {
  width: 23%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.wrap-top-site li a {
  display: block;
  padding: 10px 0;
  color: #333333;
}
/*-------------------------------------------------
芳澍の紹介、学科とカリキュラム
--------------------------------------------------*/
.sec-top-intro01 {
  padding-bottom: 120px;
  background: #fff;
}
.wrap-top-intro01 {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}
.box-img-top-intro {
  width: 630px;
}
.box-img-top-intro img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.box-txt-top-intro {
  width: calc(100% - 630px);
  padding: 30px 80px 60px;
}
.h2-top-intro {
  font-size: 4.2rem;
}
.box-txt-top-intro .h2-top-intro {
  margin: 30px 0 10px 0;
}
.txt-top-intro {
}
.h3-top-intro {
  margin: 15px 0 0;
  font-size: 2.8rem;
}
.h3-top-intro-pink {
  color: #EBA4BC;
}
.h3-top-intro-blue {
  color: #6FBEEE;
}
.link-top-intro {
  display: inline-block;
  position: relative;
  color: #333;
  font-weight: bold;
  padding-top: 20px;
}
.link-top-intro::after {
  content: "";
  position: relative;
  display: inline-block;
  top: -1px;
  left: 15px;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #FF5D91;
  border-right: 2px solid #FF5D91;
  transform: rotate(-45deg);
}
.link-top-intro:hover {
  color: #FF5D91;
}
/*-------------------------------------------------
芳澍の特徴
--------------------------------------------------*/
.sec-top-intro02 {
  
}
.wrap-top-intro02 {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 100px 0;
}
.wrap-top-intro02 .h2-top-intro {
  margin-top: 0;
  width: 280px;
  padding-left: 20px;
}
.txt-top-intro-toku {
  width: calc(100% - 350px);
}
/*-------------------------------------------------
寮生活
--------------------------------------------------*/
.sec-top-domi {
  padding-bottom: 100px;
}
.sec-top-domi .h2-top-intro {
  text-align: center;
}
.wrap-top-domi {
  position: relative;
  display: block;
  width: 100%;
}
.wrap-top-domi::before {
  content: "";
  position: relative;
  display: block;
  width: 100%;
  height: 440px;
  background: url("../images/top/top_domi_bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.txt-top-domi {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 900px;
  margin: -140px auto 100px;
  padding: 40px;
}
.btn-top-pink {
  background: #F1C9C6;
  color: #333;
}
.btn-top-pink::after {
  border-color: #333;
}
/*-------------------------------------------------
施設紹介
--------------------------------------------------*/
.sec-top-fa {
  padding-bottom: 100px;
}
.wrap-top-faci {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.link-top-faci {
  width: 31%;
  color: #333;
}
.ttl-top-fa {
  padding: 20px 0 5px;
  font-weight: bold;
}
/*-------------------------------------------------
入学案内・募集要項
--------------------------------------------------*/
.sec-top-adm {
  position: relative;
  display: block;
  padding: 60px 0 100px;
  background: url("../images/top/top_adm_bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.sec-top-adm::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
}
.sec-top-adm .h2-top-intro {
  position: relative;
}
.wrap-link-top-adm {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.link-top-adm .btn {
  justify-content: flex-start;
  padding: 18px 30px 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  max-width: 500px;
  height: 80px;
  line-height: 1;
}
.link-top-adm .btn span {
  width: 100%;
  font-size: 1.6rem;
  line-height: 1;
}
/*-------------------------------------------------
芳澍ブログ
--------------------------------------------------*/
.sec-top-info-blog {
  padding: 60px 20px 100px;
}
.sec-top-info-news {
  padding-top: 100px;
  padding-bottom: 100px;
}
.box-top-info-blog {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 0;
}
.link-top-info-blog {
  position: relative;
  display: block;
  width: 31%;
  color: #333;
}
.date-top-info-blog {
  padding-top: 15px;
  font-size: 1.6rem;
}
.ttl-top-info-blog {
  font-size: 1.8rem;
  font-weight: bold;
}
.img-top-info-blog {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
/*-------------------------------------------------
お知らせ
--------------------------------------------------*/
.wrap-top-info-news {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.wrap-top-info-news .h2-top-intro {
  margin-top: 0;
}
.wrap-top-info-news .box-top-info-news {
  width: 700px;
  border-top: 1px solid #C2C2C2;
}
.link-top-info-news {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: #333;
  border-bottom: 1px solid #C2C2C2;
  padding: 17px 0 13px;
}
.date-top-info-news {
  width: 140px;
  font-size: 1.6rem;
}
.ttl-top-info-news {
  width: calc(100% - 140px);
  font-size: 1.8rem;
  font-weight: bold;
}
.link-top-info-newsmore {
  margin-top: 20px;
}
/*-------------------------------------------------
校長挨拶
--------------------------------------------------*/
/*2024/3/yosida*/
.wrap-intro {
  padding-bottom: 100px;
}
.wrap-intro-imgtxt {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.box-txt-intro-imgtxt {
  display: block;
  width: 58%;
}
.box-img-intro-imgtxt {
  display: block;
  width: 38%;
  margin-top: -80px;
}
.principal-img{/*2024/3/yosida*/
  margin-top: 0;
}
.principal-txt{/*2024/3/yosida*/
  margin-bottom: 16px;
}
.img-intro-imgtxt {
  display: block;
  width: 100%;
  background: #ccc;
}
.name-img-intro-imgtxt {
  padding-top: 20px;
  text-align: center;
  font-size: 2.2rem;
}
/*-------------------------------------------------
break point 1200px
--------------------------------------------------*/
@media only screen and (max-width: 1200px) {
  .box-img-top-intro {
    width: 40%;
  }
  .box-txt-top-intro {
    width: 60%;
  }
}
/*-------------------------------------------------
break point 960px Tablet
--------------------------------------------------*/
@media only screen and (max-width: 960px) {
  /*メインビジュアル*/
  .wrap-top-main-newsbnr {
  }
  .box-top-main-news {
    position: relative;
    display: block;
    width: 100%;
  }
  .ttl-top-main-news {
    width: 100%;
    border-radius: 10px 10px 0 0;
    height: 45px;
    line-height: 48px;
    text-align: left;
    padding-left: 20px;
    font-size: 1.8rem;
  }
  .txt-top-main-news {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 0 10px 10px;
  }
  .link-top-main-news {
    position: relative;
    display: block;
    width: 100%;
    padding: 15px 0;
    line-height: 1.6;
  }
  .txt-ttl-top-main-news {
    width: 100%;
    font-size: 1.6rem;
  }
  .listlink-top-main-news {
    position: absolute;
    top: -55px;
    right: 20px;
    color: #fff;
  }
  .listlink-top-main-news::after {
    border-color: #fff;
  }
  .listlink-top-main-news:hover {
    color: #fff;
  }
  .box-top-main-bnr {
    display: none;
  }
  .box-top-main-bnr-sp {
    display: block;
    padding: 50px 20px;
  }
  /*サイトコンテンツ*/
  .sec-top-site {
    display: none;
  }
  /*芳澍の紹介*/
  .sec-top-intro01 {
    padding-bottom: 30px;
  }
  .wrap-top-intro02 {
    padding: 60px 0;
  }
  .box-img-top-intro, .box-txt-top-intro {
    width: 100%;
  }
  .box-img-top-intro {
    order: 0;
    height: 350px;
  }
  .box-txt-top-intro {
    order: 1;
    padding: 30px 20px 60px;
  }
  .h2-top-intro {
    font-size: 2.8rem;
  }
  .h3-top-intro {
    font-size: 2.4rem;
  }
  /*芳澍の特徴*/
  .wrap-top-intro02 .h2-top-intro, .txt-top-intro-toku {
    width: 100%;
    padding: 0 20px;
  }
  .wrap-top-intro02 .h2-top-intro {
    text-align: center;
  }
  /*寮生活*/
  .txt-top-domi {
    width: calc(100% - 60px);
  }
  /*施設紹介*/
  .sec-top-fa {
    padding-bottom: 60px;
  }
  .link-top-faci {
    width: 48%;
    padding-bottom: 40px;
  }
  /*入学案内*/
  .sec-top-adm {
    padding: 60px 0;
  }
  .sec-top-adm .h2-top-intro {
    text-align: center;
  }
  .link-top-adm {
    margin: 20px auto;
  }
  /*ブログ*/
  .sec-top-info-blog {
    padding: 40px 20px 60px;
  }
  .box-top-info-blog {
    padding: 0;
  }
  .link-top-info-blog {
    width: 48%;
    padding-bottom: 30px;
  }
  .img-top-info-blog {
    height: 150px;
  }
  .link-top-intro {
    padding: 0;
  }
  .ttl-top-info-blog {
    font-size: 1.6rem;
  }
  /*お知らせ*/
  .sec-top-info-news {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  .wrap-top-info-news .h3-top-intro,
  .wrap-top-info-news .box-top-info-news {
    width: 100%;
  }
  .wrap-top-info-news .h3-top-intro {
    margin-bottom: 25px;
  }
  .date-top-info-news,.ttl-top-info-news {
    width: 100%;
    font-size: 1.6rem;
  }
/*-------------------------------------------------
校長挨拶
--------------------------------------------------*/
.wrap-intro {
    padding-bottom: 80px;
  }
  .box-txt-intro-imgtxt,.box-img-intro-imgtxt {
    width: 100%;
  }
  .box-txt-intro-imgtxt {
    order: 1;
  }
  .box-img-intro-imgtxt {
    margin-top: 20px;
    order: 0;
  }
  .img-intro-imgtxt {
    max-width: 400px;
    margin: 0 auto;
  }
  .name-img-intro-imgtxt {
    font-size: 2rem;
    padding-bottom: 30px;
  }
}
/*-------------------------------------------------
break point 520px SP
--------------------------------------------------*/
@media only screen and (max-width: 520px) {
  .area-top-main {
    height: 100vh;
  }
  .area-top-main::before{
		background: none;
	}
  .area-top-main {
		background: url("../images/top/top_mainimg_sp.png");
		background-size: cover;
		background-repeat: no-repeat;
		height: 580px;
  }
  .h1-top {
  position: relative;
  display: flex;
  align-items: center;
  height: calc(100% - 40px);
  margin: 0;
  top: -76px;
  left: 0px;
}
.h1-top img {
  padding: 70% 60px 0;
}
  .box-img-top-intro {
    height: 220px;
  }
  /*寮生活*/
  .sec-top-domi {
    padding-bottom: 80px;
  }
  .wrap-top-domi::before {
    height: 250px;
  }
  .txt-top-domi {
    margin: -80px auto 60px;
    width: calc(100% - 30px);
    padding: 20px;
  }
  /*施設紹介*/
  .sec-top-fa {
    padding-bottom: 30px;
  }
  .link-top-faci {
    width: 100%;
  }
  /*入学案内*/
  .link-top-adm .btn {
    height: 60px;
    padding: 13px 20px 7px;
    font-size: 1.6rem;
  }
  .link-top-adm .btn span {
    font-size: 1.4rem;
  }
  /*ブログ*/
  .link-top-info-blog {
    width: 100%;
  }
  .img-top-info-blog {
    height: 180px;
  }
  /*お知らせ*/
  .sec-top-info-news {/*2024/3/yosida*/
    padding-top: 60px;
    padding-bottom: 60px;
  }
/*-------------------------------------------------
校長挨拶
--------------------------------------------------*/
.wrap-intro {
    padding-bottom: 70px;
  }
/*-------------------------------------------------
バナー
--------------------------------------------------*/
.h1-top {
  height: calc(100% - 580px);
}
.bnr-wrap{
  position: absolute;
  bottom: 8px;
  flex-wrap: wrap;
  margin: 0;
}
.bnr-wrap a{
  padding: 3px;
}
.bnr1{
  order: 1;
  width: 50%
  }
.bnr2{
  order: 2;
  width: 50%;
  }
.bnr3{
    order: 0;
  width: 50%;
  }
.bnr4{
  width: 50%;
  }
}