@charset "UTF-8";
/***********************************************************************
preset
**********************************************************************/
/***************************************************************************************************************************
module
**************************************************************************************************************************/
.mod-link {
  background: url("../img/common/right-arrow-ss.svg") no-repeat 0 50%;
  -webkit-transition: color 500ms;
  transition: color 500ms;
  text-indent: -1.4em;
  padding-left: 1.4em;
  line-height: 1.4em;
}
.mod-link a {
  padding-left: 18px;
}

.mod-link, .out-link, .circle-link, .circle-link-s:hover a {
  color: #DBA6CE;
  -webkit-transition: color ease 500ms;
  transition: color ease 500ms;
}

.mod-link-v {
  background: url("../img/common/right-arrow-v.svg") no-repeat 0 50%;
  -webkit-transition: color 500ms;
  transition: color 500ms;
  text-indent: -1em;
  padding-left: 1em;
  line-height: 1.4em;
}
.mod-link-v a {
  padding-left: 18px;
}

.out-link {
  position: relative;
  display: inline-block;
}

.out-link:after {
  content: "";
  width: 27px;
  height: 27px;
  display: inline-block;
  position: absolute;
  right: -25px;
  top: -10px;
  background: url("../img/common/window-icon.svg") no-repeat;
}

.mod-link:hover {
  color: #000;
}

.circle-link {
  -webkit-transition: color 500ms;
  transition: color 500ms;
  line-height: 1.4em;
  font-size: 20px;
  font-size: 2rem;
  margin-right: 77px;
}
.circle-link a {
  position: relative;
  color: #313131;
}
.circle-link a:after {
  content: "";
  background: url("../img/common/right-arrow-b.svg") no-repeat 0 50%;
  display: inline-block;
  width: 69px;
  height: 69px;
  position: absolute;
  top: 50%;
  right: -77px;
  margin-top: -34.5px;
}

.circle-link.window a:after {
  content: "";
  background: url("../img/common/window-icon-b.svg") no-repeat 0 50%;
  display: inline-block;
  width: 69px;
  height: 69px;
  position: absolute;
  top: 50%;
  right: -77px;
  margin-top: -34.5px;
}

.circle-link-s {
  -webkit-transition: color 500ms;
  transition: color 500ms;
  line-height: 1.4em;
  font-size: 16px;
  font-size: 1.6rem;
  margin-left: 61px;
}
.circle-link-s a {
  position: relative;
  color: #313131;
}
.circle-link-s a:before {
  content: "";
  background: url("../img/common/right-arrow-s.svg") no-repeat 0 50%;
  display: inline-block;
  width: 50px;
  height: 50px;
  position: absolute;
  top: 50%;
  left: -61px;
  margin-top: -25px;
}

/***********************************************************************
media query
**********************************************************************/
@media only screen and (max-width: 750px) {
  .circle-link {
    -webkit-transition: color 500ms;
    transition: color 500ms;
    line-height: 1.4em;
    font-size: 16px;
    font-size: 1.6rem;
    margin-right: 55px;
  }
  .circle-link a {
    position: relative;
    color: #313131;
  }
  .circle-link a:after {
    content: "";
    background: url("../img/common/right-arrow-b.svg") no-repeat 0 50%;
    background-size: contain;
    display: inline-block;
    width: 45px;
    height: 45px;
    position: absolute;
    top: 50%;
    right: -55px;
    margin-top: -22.5px;
  }
  .circle-link.window a:after {
    content: "";
    background: url("../img/common/window-icon-b.svg") no-repeat 0 50%;
    background-size: contain;
    display: inline-block;
    width: 45px;
    height: 45px;
    position: absolute;
    top: 50%;
    right: -55px;
    margin-top: -22.5px;
  }
  .circle-link-s {
    -webkit-transition: color 500ms;
    transition: color 500ms;
    line-height: 1.4em;
    font-size: 14px;
    font-size: 1.4rem;
    margin-left: 50px;
  }
  .circle-link-s a {
    position: relative;
    color: #313131;
  }
  .circle-link-s a:before {
    content: "";
    background: url("../img/common/right-arrow-s.svg") no-repeat 0 50%;
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: -55px;
    margin-top: -20px;
  }
}
.white-bg {
  margin-bottom: 120px;
}

.img-box {
  margin-bottom: 100px;
}

.text-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-bottom: 40px;
}
.text-box h2 {
  font-size: 28px;
  font-size: 2.8rem;
  font-weight: bold;
  vertical-align: middle;
  position: relative;
  height: 64px;
  font-weight: bold;
  padding-left: 72px;
}
.text-box h2 span {
  line-height: 64px;
}
.text-box h2:before {
  content: "S1棟";
  width: 64px;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -32px;
  height: 64px;
  border: 1px solid #DBA6CE;
  border-radius: 100px;
  display: inline-block;
  font-size: 16px;
  font-size: 1.6rem;
  color: #DBA6CE;
  text-align: center;
  line-height: 64px;
}
.text-box .text {
  width: 555px;
}

.text-box.s2 h2:before {
  content: "S2棟";
}

.img-box.last {
  margin-bottom: 0;
}

.text-box.us h2:before {
  content: "U5棟";
}

.en .text-box h2:before {
  content: "S1 Bldg.";
  font-size: 13px;
  font-size: 1.3rem;
}

.en .text-box.s2 h2:before {
  content: "S2 Bldg.";
  font-size: 13px;
  font-size: 1.3rem;
}

.en .text-box.us h2:before {
  content: "U5 Bldg.";
  font-size: 13px;
  font-size: 1.3rem;
}

/* Slider base */
.slider {
  width: 100%;
  max-width: 960px; /* 好きに調整OK */
  margin: 0 auto;
}

.slides {
  position: relative;
  width: 100%;
  aspect-ratio: 12/5; /* 画像比率に合わせて変更OK */
  overflow: hidden;
  border-radius: 18px; /* 画像の角丸 */
}

/* Fade */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  -webkit-transition: opacity 500ms ease;
  transition: opacity 500ms ease;
}

.slide.is-active {
  opacity: 1;
}

/* Responsive image */
.slide img {
  width: 100%;
  height: 100%;
  /*display: block;*/
  -o-object-fit: cover;
     object-fit: cover; /* はみ出しはトリミング */
}

/* Dots */
.dots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  padding: 14px 0 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: #D9D9D9;
  cursor: pointer;
}

.dot.is-active {
  background: #CE92BF;
}

/* キーボード操作時の見た目（不要なら消してOK） */
.dot:focus-visible {
  outline: 2px solid #CE92BF;
  outline-offset: 3px;
}

@media only screen and (max-width: 750px) {
  .slides {
    position: relative;
    width: 100%;
    aspect-ratio: 14/8.6;
  }
  .img-box {
    margin-bottom: 30px;
    padding-bottom: 40px;
    border-bottom: 2px dotted #DBA6CE;
  }
  .img-box.last {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .text-box {
    display: block;
    margin-bottom: 30px;
  }
  .text-box h2 {
    text-align: center;
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: bold;
    vertical-align: middle;
    position: relative;
    height: auto;
    font-weight: bold;
    padding-left: 0px;
  }
  .text-box h2 span {
    line-height: initial;
  }
  .text-box h2:before {
    content: "S1棟";
    width: initial;
    position: initial;
    top: 50%;
    left: 0;
    margin-top: 0;
    height: auto;
    border: 1px solid #DBA6CE;
    padding: 3px 10px;
    border-radius: 100px;
    display: inline-block;
    font-size: 15px;
    font-size: 1.5rem;
    color: #DBA6CE;
    text-align: center;
    line-height: initial;
  }
  .text-box span {
    display: block;
  }
  .text-box .text {
    width: auto;
  }
  .slide-box {
    margin-bottom: 25px;
  }
}