/* --------------------------

    variables

-------------------------- */
:root {
  --fontNotoSelf: "Noto Serif JP", serif;
}

/* --------------------------

    Base

-------------------------- */
html {
  font-size: calc(1vw * 100 / 1920);
  scroll-behavior: smooth;
}
@media screen and (max-width: 1000px) {
  html {
    font-size: 1px;
  }
}

body {
  font-size: 16rem;
  line-height: 1.6;
  font-weight: 400;
  color: #000;
  position: relative;
  font-family: var(--fontNotoSelf);
}

.inner {
  max-width: 960rem;
  margin-inline: auto;
}
.tab_display,
.sp_display {
  display: none;
}

@media screen and (max-width:1920px) {
  .inner {
    width: 960px;
    max-width: 95%;
  }
}

@media screen and (max-width:1000px) {
  .pc_display {
    display: none;
  }
  .sp_display {
    display: block;
  }
  .tab_display {
    display: none;
  }
  .inner {
    max-width: 92%;
  }
}

@media (hover: hover) {
  button,
  a:where([href]) {
    transition: opacity 0.3s;
    &:hover {
      opacity: 0.7;
    }
  }
}
img {
  width: auto;
  height: auto;
  max-width: 100%;
}

/* --------------------------

    common

-------------------------- */
/* ページ共通背景 */
.main {
  position: relative;
  padding: 174rem 0 194rem 0;
}
.bg__building {
  background: url(/common/img/img-bg-building.avif) no-repeat center center / cover;
  background-attachment: fixed;
}
@media screen and (max-width:1000px) {
  .main {
    padding-top: calc(248px / 2);
  }
  .bg__building  { background-image:none; }
.bg__building::before {
content:"";
display:block;
position:fixed;
top:0;
left:0;
z-index:-1;
width:100%;
height:100vh;
background-repeat:no-repeat;
background-position:50% 100%;
background-image:url(/common/img/img-bg-building.avif);
background-size:cover;
}
  
}

/* 下層ページタイトル */
.pageTitle {
  font-size: 64rem;
  background: linear-gradient(to right, #070362 0%, #560984 50%, #A90FA7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
  margin: 0 auto;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}
.sectionTitle {
  line-height: 1.667;
  font-size: 24rem;
  margin-top: 23rem;
  font-weight: 500;
  text-align: center;
}
@media screen and (max-width:1000px) {
  .pageTitle {
    font-size: calc(64px / 2);
  }
  .sectionTitle {
    font-size: calc(24px / 2);
    margin-top: 10px;
  }
}

/* 下層ページタイトル（アイコン付） */
.sectionTitle__icon {
  display: block;
}
.sectionTitle__icon img {
  max-width: 54.38rem;
}
.sectionTitle__add-icon {
  font-size: 32rem;
  line-height: 1.25;
  font-weight: 500;
}
@media screen and (max-width: 1000px) {
  .sectionTitle__icon img {
    max-width: calc(54.38px / 2);
  }
  .sectionTitle__add-icon {
    font-size: calc(40px / 2);
  }
}

/* ページトップに戻る */
.to-top {
  position: absolute;
  bottom: 33rem;
  right: 18rem;
  display: inline-block;
  width: 323rem;
  z-index: 999;
}
@media screen and (max-width:1000px) {
  .to-top {
    width: calc(291px / 2);
    right: 0;
    bottom: 0;
  }
}

/* SPのみ ページトップの三角背景 */
.fixed-sp-gray {
  display: none;
}
@media screen and (max-width:1000px) {
  .fixed-sp-gray {
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0 0 0 / .3);
    width: calc(291px / 2);
    height: calc(283px / 2);
    z-index: 0;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }
}
/* --------------------------

    Layout

-------------------------- */
/* ヘッダー */
.header {
  position: fixed;
  top: 51rem;
  left: 67rem;
  z-index: 999;
}
.header__logo {
  max-width: 353rem;
  display: inline-block;
}

@media screen and (max-width:1000px) {
  .header {
    position: absolute;
    top: calc(30px / 2);
    left: 50%;
    transform: translateX(-50%);
  }
  .header__logo {
    max-width: calc(277px / 2);
  }
}

/* フッター */
.footer {
  padding: 48rem 0;
  background: #020112;
}

.footer__logo {
  max-width: 329rem;
  margin: 0 auto;
  display: block;
}

/* .footer__copyright {
  color: #fff;
  font-family: var(--fontNotoSelf);
  font-size: 20rem;
  margin-top: 40rem;
  text-align: center;
} */

@media screen and (max-width: 1000px) {
  .footer {
    padding: calc(61px / 2) 0;
  }
  .footer__logo {
    max-width: calc(287px / 2);
    margin: 0 auto;
  }

  /* .footer__copyright {
    font-size: calc(20px / 2);
    margin-top: calc(40px / 2);
  } */
}


/* menu */
.menu {
  color: #fff;
  font-family: var(--fontNotoSelf);
  font-size: 14rem;
  font-weight: 200;
  text-align: right;
  height: 170rem;
  width: 170rem;
  z-index: 9000;
}

.menu__buttonOuter {
  position: fixed;
  top: 0;
  right: 0;
  background: url(../../common/img/bg-menu.png);
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
  padding: 20rem;
  height: 170rem;
  width: 170rem;
  z-index: 9000;
}

.menu__buttonInner {
  box-sizing: border-box;
  cursor: pointer;
  margin-inline: auto 0;
  width: 50rem;
  height:90rem;
}

.menu__text {
  text-align: center;
}

.menu__button {
  position: relative;
  transition: all 0.3s;
}

.menu__button::before {
  content: '';
  background-color: #fff;
  display: block;
  height: 1rem;
  width: 45rem;
  margin-inline: auto 0;
  margin-top: 10rem;
  position: relative;
  transition: all 0.3s;
}

.menu__line {
  background-color: #fff;
  display: block;
  height: 1rem;
  width: 45rem;
  margin-inline: auto 0;
  margin-top: 10rem;
  position: relative;
  transition: all 0.3s;
}

.menu__button::after {
  content: '';
  background-color: #fff;
  display: block;
  height: 1rem;
  width: 22.5rem;
  margin-inline: auto 0;
  margin-top: 10rem;
}

/* メニューが開いたらxの形に */
.menu.open .menu__button {
  position: relative;
  top: 10rem;
}

.menu.open .menu__button::before {
  top: 4rem;
  transform: rotate(-45deg);
}

.menu.open .menu__line {
  bottom: 4rem;
  transform: rotate(45deg);
}

.menu.open .menu__button::after {
  display: none;
}

.menu__inner {
    background: url(/common/img/menu_open.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: scroll;
    top: 0;
    left: 0;
    z-index: 8999;
    transform: translateX(100vw);
    transition: all 0.4s;
}

.menu.open .menu__inner {
  transform: translateX(0);
}

.menu__list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    row-gap: 35px;
    text-align: left;
    width: 500rem;
    margin-inline: auto 0;
    margin-top: 80rem;
    padding-block: 50rem 50rem;
}

.menu__link {
  color: #fff;
  font-size: 34rem;
}

@media(hover:hover) {
  .menu__link:hover {
    opacity: 0.7;
  }
}

.menu__ja {
  font-size: 18rem;
}

@media screen and (max-width: 1080px) {
  .menu {
    font-size: calc(14px / 2);
    height: 1rem;
    width: 1rem;
  }

  .menu__buttonOuter {
    padding: calc(20px / 2);
    height: calc(170px / 2);
    width: calc(170px / 2);
  }

  .menu__buttonInner {
    width: calc(45px / 2);
  }

  .menu__button::before {
    height: 1px;
    width: calc(45px / 2);
    margin-top: calc(10px / 2);
  }

  .menu__line {
    height: 1px;
    width: calc(45px / 2);
    margin-top: calc(10px / 2);
  }

  .menu__button::after {
    height: 1px;
    width: 10px;
    margin-top: calc(10px / 2);
  }

  /* メニューが開いたらxの形に */
  .menu.open .menu__button {
    position: relative;
    top: calc(10px / 2);
  }

  .menu.open .menu__button::before {
    top: calc(6px / 2);
  }

  .menu.open .menu__line {
    bottom: calc(6px / 2);
  }

  .menu__inner {
    background: url(/common/img/menu_open_sp.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
  }
  
  .menu__list {
    row-gap: calc(40px / 2);
    margin-top: 0;
    padding-left: 20%;
    width: 100%;
  }

  .menu__link {
    font-size: calc(41px / 2);
  }

  .menu__ja {
    font-size: calc(21px / 2);
  }
}