@charset "utf-8";
/* CSS Document */
@import url("destyle.css");
@import url("layout.css");
/* ----------------------------------------------- wrapper */
#wrapper {}
/* ----------------------------------------------- */
h2 {
  display: inline-block;
  position: relative;
  font-family: "Inter", "Zen Kaku Gothic New";
}
h2::before {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--main) top right;
  clip-path: polygon(100% 0, calc(100% - 20px) 0, 100% 100%);
  background-clip: text;
  color: transparent;
}
.btn {
  position: relative;
  display: inline-block;
  padding: 22px 24px;
  min-width: 194px;
  text-align: center;
  color: var(--white);
  background: var(--gold);
  border-radius: 4px;
}
.btn:hover {
  background: var(--main);
}
.btn::after {
  position: absolute;
  display: inline-block;
  content: "";
  margin: auto 0;
  top: 0;
  bottom: 0;
  right: 18px;
  width: 15px;
  height: 11px;
  background:
    url("../img/btn_arrow.png") no-repeat center / contain;
  transition: .3s;
}
.btn:hover::after {
  right: 10px;
}
/* ----------------------------------------------- mainvisual */
#mainvisual {}
#mainvisual .inner {}
/*philosophy*/
.philosophy {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 108px 0 86px;
}
.philosophy::after {
  position: absolute;
  margin: auto 0;
  right: 12px;
  bottom: -4px;
  content: "";
  max-width: 100%;
  width: 622px;
  height: 242px;
  background: url("../img/slogan_back.png") no-repeat center bottom / 100% auto;
  z-index: -1;
}
.philosophy .slogan {
  position: relative;
  margin: 0 0 0 100px;
  z-index: 50;
}
.philosophy .slogan img {
  width: 594px;
  height: auto;
}
@media screen and (max-width: 1499px) {
  .philosophy {}
  .philosophy .slogan {
    margin: 0;
    padding-left: 80px;
  }
  @media screen and (max-width: 1439px) {
    .philosophy .slogan img {
      max-width: 42vw;
    }
    @media screen and (max-width: 1279px) {
      .philosophy .slogan {
        padding-left: 40px;
      }
    }
  }
}
/*slider*/
.slider_wrap {
  position: relative;
  z-index: 20;
}
.slider_wrap::before {
  position: absolute;
  content: "";
  display: inline-block;
  width: 94px;
  height: 186px;
  top: -93px;
  left: 0;
  background: var(--main);
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  z-index: 20;
}
.slider_wrap::after {
  position: absolute;
  content: "";
  display: inline-block;
  width: 48px;
  height: 94px;
  bottom: -47px;
  right: 0;
  background: var(--brightgreen);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  z-index: 20;
}
.slider {}
.slider li {
  position: relative;
  max-width: 628px;
  width: 100%;
  height: auto;
  aspect-ratio: 1.65;
  margin: 0 16px;
  border-radius: 4px;
  overflow: hidden;
}
.slider li img {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
/* ----------------------------------------------- topic-banner */
#topic-banner {}
#topic-banner .inner {
  display: block;
}
#topic-banner ul {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 50px 0 0;
  width: calc(100% - 80px);
}
#topic-banner ul li {
  display: flex;
  /*align-items: center;*/
  /*max-width: 580px;*/
  margin: 10px;
  border-radius: 4px;
  overflow: hidden;
  /*aspect-ratio: 4 / 1;*/
}
#topic-banner ul li a {
  display: inline-flex;
}
#topic-banner ul li a img {
  width: 100%;
  height: auto;
}
/* ----------------------------------------------- news */
#news {}
#news .inner {
  position: relative;
  max-width: 1000px;
  width: calc(100% - 200px);
  margin: 80px auto 0;
}
#news h2 {
  font-size: 4.4rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}
#news h2::before {
  content: "News & Topics";
}
#news ul {
  margin: 44px auto 184px;
  width: 100%;
  border-top: solid 1px #ddd;
}
#news ul li {
  position: relative;
  border-bottom: solid 1px #ddd;
}
#news ul li::before {
  position: absolute;
  content: "";
  margin: auto 0;
  display: inline-block;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 12px;
  height: 9px;
  background: url("../img/btn_arrow_gr.png") no-repeat center / contain;
  opacity: 0;
  transition: .4s;
}
#news ul li:hover::before {
  right: 0;
  opacity: 1;
}
#news ul li a {
  display: flex;
  width: 100%;
  padding: 24px 30px 24px 0;
  align-items: center;
}
#news ul li a:hover{
  background: var(--green-bg);
}
#news ul li a::after {
  display: none;
}
#news ul li .day {
  display: flex;
  justify-content: space-between;
  max-width: 224px;
  width: 100%;
  font-family: "Sofia Sans Condensed";
  font-size: 1.8rem;
  color: #616161;
  letter-spacing: 0.05em;
  align-items: center;
}
#news ul li .day .category {
  display: block;
  margin: auto 24px;
  max-width: 100px;
  width: 100%;
}
#news ul li span {
  display: block;
  margin: 4px auto;
  padding: 6px 10px;
  max-width: 100px;
  width: 100%;
  line-height: 1;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--main);
  border-radius: 4px;
}
#news ul li span.daiichi {
  background: var(--blue);
}
#news ul li span.gifujoshi {
  background: var(--pink);
}
#news ul li span.bunkyo {
  background: var(--green);
}
#news ul li p {
  text-align: left;
}
#news ul li a[href$=".pdf"] p::after,
#news ul li a[href$=".pdf"] p::after,
#news ul li a[href$=".doc"] p::after,
#news ul li a[href$=".docx"] p::after,
#news ul li a[href$=".xls"] p::after,
#news ul li a[href$=".xlsx"] p::after {
  display: inline-block;
  padding-right: 26px;
  background-repeat: no-repeat;
  background-position: 2px center;
  background-size: 18px auto;
  content: ".";
  bottom: 0;
  text-indent: -9999px;
}
#news ul li a[href$=".pdf"] p::after {
  background-image: url(../img/pdf.png);
}
#news ul li a[href$=".doc"] p::after,
#news ul li a[href$=".docx"] p::after {
  background-image: url(../img/doc.png);
}
#news ul li a[href$=".xls"] p::after,
#news ul li a[href$=".xlsx"] p::after {
  background-image: url(../img/xls.png);
}
#news .btn {
  position: absolute;
  top: -8px;
  right: 0;
  padding: 12px 72px;
}
/* ----------------------------------------------- about */
#about {
  position: relative;
}
#about::before {
  position: absolute;
  content: "";
  display: inline-block;
  width: 122px;
  height: 242px;
  top: -121px;
  right: 0;
  background: var(--main);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  z-index: 10;
}
#about .inner {
  position: relative;
  background: var(--green-bg);
  display: flex;
}
#about .inner::before {
  position: absolute;
  content: "";
  display: inline-block;
  max-width: 100%;
  width: 790px;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--palegreen);
  clip-path: polygon(0 0, 210px 0, 100% 100%, 0% 100%);
}
#about .about {
  position: relative;
  margin: 0 auto;
  padding: 134px 0 0;
  max-width: 1000px;
  width: calc(100% - 160px);
}
#about .about .heading {
  display: flex;
  text-align: left;
  font-size: 1.7rem;
}
#about h2 {
  font-size: 3.8rem;
}
#about h2::before {
  content: "学園について";
}
#about .heading p {
  margin: 0 0 0 36px;
  color: var(--main);
  letter-spacing: 0.1em;
}
#about .about-list {
  display: flex;
  flex-wrap: wrap;
  margin: 60px 0;
}
#about .about-list li {
  position: relative;
  width: calc(100% / 2 - 20px);
  margin: 10px 20px 10px 0;
}
#about .about-list li::after {
  position: absolute;
  margin: auto 0;
  content: "";
  display: inline-block;
  top: 0;
  bottom: 0;
  right: 40px;
  width: 10px;
  height: 7px;
  background: url("../img/btn_arrow.png") no-repeat center / contain;
  transition: .3s;
  opacity: 0;
}
#about .about-list li:hover::after {
  right: 28px;
  opacity: 1;
}
#about .about-list li a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 24px 60px;
  width: 100%;
  height: 100%;
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  line-height: 1.5;
  background: var(--white);
  border-radius: 4px;
}
#about .about-list li a::before {
  position: absolute;
  margin: auto 0;
  content: "";
  display: inline-block;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 26px;
  height: 26px;
  background: var(--main);
  border-radius: 100px;
  transition: .3s;
}
#about .about-list li a:hover::before {
  background: var(--gold);
  transform: scale(1.2);
}
#about .about-list li a::after {
  position: absolute;
  margin: auto 0;
  content: "";
  display: inline-block;
  top: 0;
  bottom: 0;
  right: 28px;
  width: 10px;
  height: 7px;
  background: url("../img/btn_arrow.png") no-repeat center / contain;
  transition: .3s;
}
#about .about-list li a:hover::after {
  right: -10px;
  opacity: 0;
}
/* ----------------------------------------------- school-list */
#school-list {}
#school-list .inner {
  position: relative;
  background: #579b8c;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
#school-list .inner::before {
  position: absolute;
  content: "";
  display: inline-block;
  width: 68px;
  height: 138px;
  top: -69px;
  left: 0;
  background: var(--brightgreen);
  clip-path: polygon(0 0, 0% 100%, 100% 50%);
  z-index: 100;
}
#school-list .heading {
  position: relative;
  max-width: 24vw;
  width: 100%;
  clip-path: polygon(85% 0%, 100% 50%, 85% 100%, 0 100%, 0 0);
  background: url("../img/school_bg.jpg") no-repeat center / 150% auto;
}
#school-list .heading::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(42 86 60 / 75%);
}
#school-list h2 {
  position: relative;
  display: inline-block;
  margin: auto 0;
  width: 100%;
  height: 100%;
  padding: 0 166px 0 0;
  font-size: 3.0rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-align: right;
  align-content: center;
  line-height: 1;
  z-index: 10;
}
#school-list h2::before {
  display: none;
}
@media screen and (max-width: 1279px) {
  #school-list .heading {
    max-width: 20vw;
    background: url("../img/school_bg.jpg") no-repeat center / 180% auto;
  }
  #school-list h2 {
    text-align: center;
    padding: 0;
  }
}
#school-list .school-list {
  margin: auto;
  padding: 60px 0;
  width: 100%;
}
.school-list ul {
  display: flex;
  justify-content: center;
  margin: auto;
  max-width: 1200px;
  width: calc(100% - 120px);
}
.school-list ul li {
  margin: 0 20px;
  max-width: 400px;
  width: 100%;
}
@media screen and (max-width: 1279px) {
  .school-list ul {
    width: calc(100% - 80px);
  }
  .school-list ul li {}
}
.school-list ul li a {
  position: relative;
  display: block;
  max-height: 130px;
  width: 100%;
  aspect-ratio: 1 / 0.46;
  border-radius: 4px;
  overflow: hidden;
  transition: .4s;
}
.school-list ul li a:hover {
  box-shadow: 0 0 50px -20px rgb(0 0 0/ 0.85);
}
.school-list ul li figure {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: top 20% center;
  background-size: 130% auto;
  transition: .4s;
}
/*.school-list ul li.s-bunkyo figure {
  background-image: url("../img/school_s-bunkyo.jpg");
}*/
.school-list ul li.daiichi figure {
  background-image: url("../img/school_daiichi.jpg");
}
.school-list ul li.gifujoshi figure {
  background-image: url("../img/school_gifujoshi.jpg");
}
.school-list ul li a:hover figure {
  transform: scale(1.12);
}
.school-list ul li p {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  letter-spacing: 0.08em;
  color: var(--white);
}
/*.school-list ul li.s-bunkyo p {
  background: rgb(32 127 126 / 0.8);
}*/
.school-list ul li.daiichi p {
  /*background: rgb(16 18 93 / 0.8);*/
  background: rgb(27 99 143 / 80%);
}
.school-list ul li.gifujoshi p {
  background: rgb(183 90 133 / 0.8);
}
.school-list ul li p::before {
  position: absolute;
  display: inline-block;
  content: "";
  right: 0;
  bottom: 0;
  width: 30px;
  height: 100%;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  transition: .3s;
}
/*.school-list ul li.s-bunkyo p::before {
  background: var(--school-green);
}*/
.school-list ul li.daiichi p::before {
  background: var(--school-blue);
}
.school-list ul li.gifujoshi p::before {
  background: var(--school-pink);
}
.school-list ul li a:hover p::before {
  background: var(--white);
  transform: scale(.4);
}
/* ----------------------------------------------- access */
#access {
  position: relative;
  background: var(--green-bg);
}
#access::before {
  position: absolute;
  content: "";
  display: inline-block;
  top: 0;
  left: 0;
  max-width: 100%;
  width: 512px;
  height: 100%;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  background: var(--palegreen);
}
#access::after {
  position: absolute;
  content: "";
  display: inline-block;
}
#access .inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 86px 0 80px;
  max-width: 1300px;
  width: calc(100% - 160px);
  text-align: left;
  z-index: 10;
}
#access .heading {
  position: relative;
  padding: 0 70px 0 0;
  width: 100%;
}
#access h2 {
  position: absolute;
  top: -24px;
  left: -48px;
  font-size: 4.0rem;
  font-weight: 700;
}
#access h2::before {
  content: "Access map";
}
#access .map-area {
  width: 100%;
  height: 340px;
  border: solid 4px var(--palegreen);
  border-radius: 4px;
  overflow: hidden;
}
#access iframe {
  margin-top: -150px;
  width: 100%;
  height: calc(100% + 340px);
  border-radius: 4px;
}
#access .overview {
  max-width: 530px;
  width: 100%;
}
#access h3 {
  position: relative;
  display: block;
  font-size: 3.0rem;
  margin: 0 0 30px;
  padding: 0 0 0 24px;
  letter-spacing: 0.025em;
}
#access h3::before {
  position: absolute;
  display: inline-block;
  content: "";
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: var(--main);
  border-radius: 2px;
}
#access h3 span {
  display: block;
  margin: 8px 0 0;
  font-size: 2.0rem;
  letter-spacing: 0.05em;
  color: #50545c;
}
#access dl {
  display: flex;
  width: 100%;
  margin: 10px 0;
}
#access dl dt,
#access dl dd {
  display: inline-block;
  width: 100%;
  padding: 12px 20px;
  line-height: 1.7;
}
#access dl dt {
  max-width: 100px;
  text-align: center;
  font-size: 1.5rem;
  color: var(--white);
  background: var(--grayishblue);
  border-radius: 4px 0 0 4px;
  align-content: center;
}
#access dl dd {
  font-family: "Sofia Sans Condensed", "Zen Kaku Gothic New";
  background: var(--white);
  border-radius: 0 4px 4px 0;
}
#access .tel-fax {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 40px;
}
#access .tel-fax dl {}
#access .tel-fax dl:first-child {
  margin-right: 20px;
}
#access .tel-fax dl dt {}
#access .tel-fax dl dd {
  font-size: 1.7rem;
}
@media screen and (max-width: 1179px) {
  #access .tel-fax {
    display: flex;
    flex-direction: column; 
  }
  #access .tel-fax dl {}
  #access .tel-fax dl:first-child {}
  #access .tel-fax dl dt {}
  #access .tel-fax dl dd {}
}
#access .btn {
  padding: 12px 56px;
}
#access .googlemap {}
#access .googlemap::before {
  position: absolute;
  content: "";
  display: inline-block;
  margin: auto 0;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 15px;
  height: 20px;
  background: url("../img/icon_googlemap.png") no-repeat center/ contain;
}