@charset "UTF-8";

figure {
  position: relative;
}

p {
  color: #595757;
}

#location header {
  background-image: -moz-linear-gradient(0deg, rgb(123, 91, 104) 0%, rgb(195, 183, 151) 100%);
  background-image: -webkit-linear-gradient(0deg, rgb(123, 91, 104) 0%, rgb(195, 183, 151) 100%);
  background-image: -ms-linear-gradient(0deg, rgb(123, 91, 104) 0%, rgb(195, 183, 151) 100%);
}

#location header.scroll {
  background-image: -moz-linear-gradient(0deg, rgb(123, 91, 104) 0%, rgb(195, 183, 151) 100%);
  background-image: -webkit-linear-gradient(0deg, rgb(123, 91, 104) 0%, rgb(195, 183, 151) 100%);
  background-image: -ms-linear-gradient(0deg, rgb(123, 91, 104) 0%, rgb(195, 183, 151) 100%);
}

#container {
  padding-top: 70px;
}

.number {
  width: 80px;
  margin: 0 auto 40px;
  position: relative;
}

.number::after {
  content: "・・・";
  display: block;
  font-size: 40px;
  color: #595757;
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
}

.num-ttl {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 4px;
  text-align: center;
  margin-top: 100px;
}

.text {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 2px;
}

.inner-1200 {
  max-width: 1200px;
  margin: 0 auto;
}

/* kobetsu */
.loc-page-ttl {
  background-image: url(../img/new-main.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 34% 0;
  position: relative;
}

.loc-page-ttl .main-text {
  max-width: 78%;
  width: 542px;
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
}

.en-text {
  width: 470px;
  max-width: 90%;
  margin: -3% auto 0;
  position: relative;
}

.image-text {
  text-align: center;
}

.big {
  display: inline-block;
  font-size: 3em;
  padding: 0 2px;
}

.gold {
  color: #b4a280;
}

.en-ttl {
  font-size: 22px;
  font-weight: 500;
  color: #595757;
  text-align: center;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

.life-text {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 1.5px;
  text-align: center;
  margin-top: 10px;
}

/* content-area */
.content-area {
  padding: 100px 0;
}


/* エリアごとcss */
.area01 {
  background: #e4e7e3;
}

.image-flex01 {
  flex-wrap: wrap;
  justify-content: center;
  /* justify-content: space-between; */
  margin-top: 60px;
}

.image-flex01 .left {
  width: 54%;
}

.image-flex01 .right {
  width: 40%;
  margin-left: 6%;
}

.image-flex01 .right .size01 {
  width: 100%;
}

.image-flex01 .right .size02 {
  /* width: 80%; */
  width: 62%;
  margin-top: 40px;
}

.area01 .image-flex01 .left .text {
  padding-left: 10%;
  margin-top: 6%;
}

.ashirai-box01 {
  width: 90%;
  margin: 180px auto 0 0;
  position: relative;
  z-index: 10;
}

.ashirai-box01 .ashirai {
  width: 100%;
  position: absolute;
  top: -80px;
  left: 0;
  z-index: -1;
}

.pick-up-flex {
  justify-content: space-between;
  flex-wrap: wrap;
  width: 90%;
  padding-left: 10%;
  position: relative;
}

.pick-up-flex li {
  width: 48%;
}

.pick-up-flex .text {
  width: 100%;
  text-align: left;
  margin-top: 40px;
}

/* area02 */
.image-flex02 {
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 60px;
}

.image-flex02 {
  flex-wrap: wrap;
  justify-content: center;
  /* justify-content: space-between; */
  margin-top: 60px;
}

.image-flex02 .left {
  width: 40%;
  margin-right: 6%;
}

.image-flex02 .right {
  /* width: 54%; */
  width: 50%;
}

.image-flex02 .left .size01 {
  width: 100%;
}

.image-flex02 .left .size02 {
  /* width: 80%; */
  width: 62%;
  margin-top: 40px;
}

.area02 .image-flex02 .right .text {
  text-align: left;
  margin-top: 6%;
}

.ashirai-box02 {
  width: 90%;
  margin: 180px 0 0 auto;
  position: relative;
  z-index: 10;
}

.ashirai-box02 .ashirai {
  width: 100%;
  position: absolute;
  top: -80px;
  left: 0;
  z-index: -1;
}

.school-flex {
  justify-content: space-between;
  flex-wrap: wrap;
  width: 90%;
  padding-left: 10%;
  position: relative;
}

.school-flex li {
  width: 64%;
}

.school-flex li .text {
  text-align: left;
  margin-top: 40px;
}

.school-flex li.flex {
  width: 32%;
  flex-direction: column;
}

.school-flex li.flex .school:nth-of-type(2) {
  margin-top: 40px;
}

.school-flex li.flex .school .image-text {
  line-height: 1;
  margin-top: 20px;
}

/* area03 */
.area03 {
  background: #e4e7e3;
  padding: 100px 0 100px 0;
}

.access-main {
  width: 90%;
  max-width:1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
}

.access-main li.left {
  width: 44%;
}

.access-main li.left .en-text {
  margin: -16% auto 0;
}

.access-main li.right {
  width: 50%;
  /* padding-right: 6%; */
}

.statin-content {
  margin-top: 20px;
}

.statin-content p {
  width: 70%;
  margin: 0 auto;
}

.statin-content {
  background-repeat: no-repeat;
  background-size: cover;
  padding: 10% 0;
}

.statin-content.tenjin {
  background-image: url(../img/access-tenjin.png);
}

.statin-content.hakata {
  background-image: url(../img/access-hakata.png);
}

.access-illust {
  width: 90%;
  max-width: 1000px;
  margin: 10% auto 0;
}



/* map-area */
.map-area {
  margin: 100px auto 0;
}

.map-area figure {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.lifeinfo-area {
  margin: 100px auto 0;
}

.info-flex {
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  max-width: 1200px;
  padding-top: 20px;
  margin: 0 auto;
}

.info-flex li.info-content {
  width: 31.426%;
  margin-right: 2.86%;
}

.info-flex li.info-content:nth-of-type(3),
.info-flex li.info-content:nth-of-type(5) {
  margin-right: 0;
}

.info-flex li.info-content:nth-of-type(n+4) {
  margin-top: 80px;
}

.info-flex li.info-content .image-text {
  line-height: 1.4;
}

.info-ttl {
  margin-bottom: 20px;
  position: relative;
}

.info-ttl::before {
  content: "";
  display: block;
  width: 100%;
  border: 1px solid #979b99;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

.info-ttl span {
  display: block;
  width: calc(100% - 79px);
  font-size: 16px;
  color: #fff;
  letter-spacing: 2px;
  text-align: center;
  background: #979b99;
  padding: 5px 0;
  margin: 0 auto;
  position: relative;
}

.info-ttl span::before,
.info-ttl span::after {
  content: "";
  display: block;
  width: 30%;
  border: 1px solid #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.info-ttl span::before {
  left: 0;
}

.info-ttl span::after {
  right: 0;
}

.info-image {
  justify-content: space-between;
  margin-bottom: 30px;
}

.info-image div {
  width: 49%;
}

.info-text dl {
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px dotted #595757;
  padding-bottom: 10px;
  margin-top: 10px;
}

.info-text dl dt,
.info-text dl dd {
  font-size: 14px;
}

/* 1600px以上の大きい画面の場合 */
@media only screen and (min-width: 1600px) {
  .loc-page-ttl {
    padding: 510px 0;
  }
  .loc-page-ttl .main-text {
    bottom: 40px;
  }
}

/* 1400px以上の大きい画面の場合 */
@media only screen and (min-width: 1400px) {
  .loc-page-ttl {
    padding: 510px 0;
  }
}

/* 1500px以下 */
@media only screen and (max-width: 1599px) {
  .loc-page-ttl .main-text {
    bottom: 100px;
  }
}

@media only screen and (max-width: 1400px) {
  .loc-page-ttl .main-text {
    bottom: 40px;
  }
}

@media only screen and (max-width: 1280px) {
  .loc-page-ttl {
    padding: 40% 0;
  }
}

/*---------------------------
tab
---------------------------*/
@media only screen and (max-width: 1180px) {

  #container {
    padding-top: 60px;
  }

  .loc-page-ttl {
    padding: 46% 0;
  }

  .info-ttl span {
    width: calc(100% - 30px);
  }

  .info-ttl span::before,
  .info-ttl span::after {
    width: 16%;
  }

}

@media only screen and (max-width: 1024px) {
  .loc-page-ttl {
    padding: 54% 0;
  }
  .en-text {
    max-width: 340px;
  }
}






/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 820px) {

  #container {
    padding-top: 60px;
  }

  .loc-page-ttl {
    background-image: url(../img/new-main_sp.png);
    padding: 124% 0;
  }

  .loc-page-ttl .main-text {
    width: 78%;
    bottom: 12%;
  }

  .content-area {
    padding: 60px 0;
  }

  .text {
    font-size: 14px;
    line-height: 2;
  }

  .number {
    width: 40px;
  }

  .number::after {
    font-size: 30px;
    bottom: -50px;
  }

  .num-ttl {
    font-size: 18px;
    letter-spacing: 2px;
    margin-top: 60px;
  }

  .en-ttl {
    font-size: 18px;
  }

  .en-text {
    width: 34px;
    max-width: 12%;
    margin: -3% 0 0 15%;
  }

  .image-text {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10px;
  }

  .big {
    font-size: 4em;
    line-height: 1;
  }

  .text-flex01 {
    display: block;
    text-align: left;
  }

  .text-flex02 {
    display: block;
    font-size: 14px;
    line-height: 1;
    text-align: left;
  }

  /* area01 */
  .image-flex01 {
    margin-top: 20px;
  }

  .image-flex01 .left {
    width: 76%;
  }

  .image-flex01 .right {
    width: 100%;
  }

  .image-flex01 .right .size01 {
    width: 60%;
    margin: 10px 0 0 auto;
  }

  .image-flex01 .right .size02 {
    width: 60%;
    margin: 10px auto 0 0;
  }

  .image-flex01 .right .text {
    margin-top: -32%;
    padding: 0 6% 0 32%;
  }

  .ashirai-box01 {
    margin: 120px auto 0 0;
  }

  .ashirai-box01 .ashirai {
    top: -40px;
  }

  .pick-up-flex {
    padding-right: 3%;
    padding-left: 10%;
  }

  .pick-up-flex li {
    width: 100%;
  }

  .pick-up-flex li:nth-of-type(n+2) {
    margin-top: 30px;
  }

  /* area02 */
  .image-flex02 {
    margin-top: 20px;
  }

  .image-flex02 li.left {
    width: 100%;
    order: 2;
  }

  .image-flex02 .left .size01 {
    width: 60%;
    margin: 10px auto 0 0;
  }

  .image-flex02 .left .size02 {
    width: 68%;
    margin: 10px 0 0 auto;
  }

  .image-flex02 li.left .en-text {
    margin: -38% 0 0 11%;
  }

  .image-flex02 li.left .text {
    margin-top: -32%;
    padding: 0 6% 0 32%;
  }

  .image-flex02 li.right {
    width: 76%;
    margin: 0 0 0 auto;
    order: 1;
  }

  .ashirai-box02 {
    margin: 120px auto 0 0;
  }

  .ashirai-box02 .ashirai {
    top: -40px;
  }

  .school-flex {
    padding-right: 3%;
  }

  .school-flex li {
    width: 100%;
  }

  .school-flex li .text {
    margin-top: 20px;
  }

  .image-text_sp {
    margin-top: 10px;
  }

  .school-flex li.flex {
    width: 100%;
    margin-top: 40px;
  }

  .school-flex li.flex .school {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .school-flex li.flex .school figure {
    width: 60%;
  }

  .school-flex li.flex .school .image-text_sp {
    width: 32%;
    margin-top: 0;
  }

  /* area03 */
  .content-area.area03 {
    padding: 0 0 60px 0;
  }

  .access-main {
    width: 100%;
  }

  .access-main li.left {
    width: 100%;
  }

  .access-main li.left .en-text {
    margin: -40% 0 0 15%;
  }

  .access-main li.right {
    width: 100%;
    padding-right: 0;
  }

  .access-main li.right .text {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 30px;
  }

  .statin-content {
    margin-top: 5px;
  }

  .access-illust {
    width: 75%;
  }

  /* map-area */
  .map-area {
    margin: 60px auto 0;
  }

  /* lifeinfo-area */
  .lifeinfo-area {
    margin: 80px auto 0;
  }

  .info-flex {
    padding-top: 0;
  }

  .info-flex li.info-content {
    width: 100%;
    margin-right: 0;
  }

  .info-flex li.info-content:nth-of-type(n+2) {
    margin-top: 60px;
  }

  .info-flex li.info-content:last-of-type {
    margin-bottom: 40px;
  }

  .info-flex li.info-content .image-text {
    line-height: 1.4;
    letter-spacing: 0.5px;
  }

  .info-ttl span {
    width: calc(100% - 70px);
  }

  .info-image .image-text {
    justify-content: center;
  }

  .info-text dl {
    align-items: flex-end;
  }
}