@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

body {
  padding: 0;
  padding-top: 100svh;
  font: 12px/1.6 'NotoSansCJKjp', sans-serif;
  font-weight: 400;
}

div.body {
  max-width: 1240px;
}


ul:where([class]),
ul:where([class]) li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/** ***************************************************************************
 * ヘッダー
 * ************************************************************************* */

/**
 * ロゴ
 */

#header .logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1;
  top: 15px;
  left: 10px;
}

#header .logo img {
  margin-bottom: 15px;
}

#header .logo div.text {
  color: #fff;
  letter-spacing: 2px;
  font-size: 0.875em;
  font-weight: 700;
  text-orientation: sideways;
  writing-mode: vertical-rl;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: visible;
  opacity: 1;
}

body.scroll-active
#header .logo div.text {
  visibility: hidden;
  opacity: 0;
}

/** ***************************************************************************
 * メイン
 * ************************************************************************* */

#main {
  padding: 0;
  font-size: 14px;
  overflow: hidden;
}

#main > * {
  background-color: #fff;
}

#main .section ~ .section {
	margin-top: 0;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main {
    letter-spacing: 1px;
    font-size: 16px;
  }

  body.scroll-active
  #main {
    padding-left: 0;
  }

}

/** ***************************************************************************
 * ビジュアル
 * ************************************************************************* */

#visual {
  width: 100%;
  height: 100vh;
  background-color: #000;
  overflow: hidden;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
}

#visual div.movie {
  max-width: none;
  width: max(100%, 16 / 9 * 100vh);
  height: max(100%, 9 / 16 * 100vw);
  transform:translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
  transition: opacity 1.0s ease-in-out 1.0s;
  opacity: 0;
}

body.loaded
#visual div.movie {
  opacity: 1;
}

#visual div.movie::before {
  content: '';
  width: 100%;
  height: 100%;
  background: url("../../_image/koenji/visual-texture.png");
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

#visual div.movie iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/** ***************************************************************************
 * コンセプト
 * ************************************************************************* */

#concept {
  margin-top: 33.33vw;
  padding-top: 60px;
  padding-bottom: 100px;
  color: #fff;
  font-weight: 600;
  position: relative;
  z-index: 0;
}

#concept::after {
  content: '';
  width: 100%;
  height: calc(100% + 26.67vw);
  background: url("../../_image/koenji/concept-bg.png") center top / 100% auto no-repeat;
  position: absolute;
  z-index: -1;
  top: -26.67vw;
  left: 0;
  animation: concept-bg 30.0s linear 0.0s infinite;
}

@keyframes concept-bg {
  0%{
    transform: scale(1, 1) rotate(0) skew(0, 0);
  }
  25%{
    transform: scale(1.15, 1.1) translateY(20px) rotate(0deg) skew(-5deg, 2deg);
  }
  50%{
    transform: scale(1.2, 1.1) translateY(20px) rotate(-2deg) skew(-2deg, 5deg);
  }
  75%{
    transform: scale(1.15, 1.1) translateY(20px) rotate(5deg) skew(5deg, -10deg);
  }
  100%{
    transform: scale(1, 1) rotate(0) skew(0, 0);
  }
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #concept {
    margin-top: 35vw;
    padding-top: 120px;
    padding-bottom: 140px;
  }

  #concept::after {
    height: calc(100% + 28.57vw);
    background-size: cover;
    top: -28.57vw;
  }

}

/**
 * タイトル
 */

#concept .section-title {
  margin-bottom: 50px;
  font-weight: 700;
  text-align: center;
}

#concept .section-title img {
  margin-bottom: 20px;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #concept .section-title {
    margin-bottom: 90px;
  }

  #concept .section-title img {
    margin-bottom: 30px;
  }

}

/**
 * 内容
 */

#concept div.contents {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
}

#concept div.contents .catchcopy {
  margin-bottom: 2em;
  letter-spacing: 1px;
  font-size: 1.25em;
  font-weight: 900;
  text-align: center;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #concept div.contents {
    line-height: 2.5;
    text-align: center;
  }

  #concept div.contents .catchcopy {
    line-height: 1.8;
    font-size: 1.375em;
  }

}

/** ***************************************************************************
 * プラン共用
 * ************************************************************************* */

#main .plan-contents {
  overflow: hidden;
  position: relative;
  z-index: 0;
}

/**
 * 内容
 */

#main .plan-contents div.content {
  min-height: 70vh;
  padding: min(8%, 90px);
  display: flex;
  align-items: center;
  justify-content: center;
}

#main .plan-contents div.content a[href]:hover img {
  animation: plan-content 0.3s ease-in-out 0.0s backwards;
}

@keyframes plan-content {
  0%{
    transform: scale(1);
  }
  50%{
    transform: scale(1.1);
  }
  85%{
    transform: scale(0.95);
  }
  100%{
    transform: scale(1);
  }
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .plan-contents div.content {
    min-height: 0;
  }

}

/**
 * 背景
 */

#main .plan-contents div.background {
  max-width: none;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

#main .plan-contents div.background::before {
  content: '';
  width: 100%;
  height: 100%;
  background: url("../../_image/koenji/plan-bg.png");
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #main .plan-contents div.background {
    width: 100vw;
    background-attachment: fixed;
    left: calc(50% - 50vw);
  }

}

/* iPad */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

  #main .plan-contents div.background {
    background-attachment: scroll;
  }

}

/* 動画 */

#main .plan-contents div.background div.movie {
  max-width: none;
  width: max(100%, 16 / 9 * 100vh);
  height: max(100%, 9 / 16 * 100vw);
  transform:translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
  transition: opacity 1.0s ease-in-out 1.0s;
  opacity: 0;
}

body.loaded
#main .plan-contents div.background div.movie {
  opacity: 1;
}

#main .plan-contents div.background div.movie iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/** ***************************************************************************
 * 共用コンテンツ
 * ************************************************************************* */

#common {
  padding-top: 60px;
  padding-bottom: 60px;
  color: #fff;
  font-weight: 600;
  background: url("../../_image/koenji/common-bg.jpg") center center / cover no-repeat;
  background-attachment: fixed;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #common {
    padding-top: 120px;
    padding-bottom: 100px;
  }

}

/* iPad */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

  #common {
    background-attachment: scroll;
  }

}

/**
 * ロゴ
 */

#common .logo {
  max-width: 40px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

#common .logo a {
  text-decoration: none;
  display: inline-block;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #common .logo {
    max-width: 100%;
    margin-bottom: 80px;
    text-align: center;
  }

}

/**
 * リンク
 */

#common div.link ul.list {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

#common div.link ul.list li a {
  padding: 15px;
  text-decoration: none;
  display: inline-block;
}

/** ***************************************************************************
 * フッター
 * ************************************************************************* */

#footer {
  padding-top: 0;
  background-color: #fff;
}

#footer-nav {
  padding: 10px 15px;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  body.scroll-active
  #footer {
    padding-left: 0;
  }

}

/**
 * 管理者
 */

/* 物件名 */

#footer div.admin .title {
  text-align: center;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #footer div.admin .title {
    text-align: unset;
    display: inline-block;
  }

}

/* 個人情報保護方針 */

#footer div.admin div.link {
  margin-top: 1em;
  text-align: center;
}

#footer div.admin div.link a {
  text-decoration: none;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #footer div.admin div.link {
    margin-top: unset;
    text-align: unset;
    display: inline-block;
  }

}

/**
 * ページトップ
 */

#footer div.pagetop {
  bottom: 20px;
}

#footer div.pagetop img {
  width: 45px;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  #footer div.pagetop {
    bottom: 30px;
  }

  #footer div.pagetop img {
    width: 65px;
  }

}

/** ***************************************************************************
 * カーソル
 * ************************************************************************* */

#mouse-follower {
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: transparent;
  display: none;
  transform: translate3d(0, 0, 0);
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
}

#mouse-follower .follower {
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  background-color: #ff6;
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1.0) 0.0s;
  position: absolute;
  top: 0;
  left: 0;
}

#mouse-follower.hover .follower {
  transform: scale(1.5);
}

#mouse-follower.out .follower {
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1.0) 0.0s;
  transform: scale(0.0) translate(-50%, -50%);
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (min-width:737px) {

  #mouse-follower {
    display: block;
  }

}
