@charset "utf-8";

/** ***************************************************************************
 * 全体
 * ************************************************************************* */

body {
  color: #000;
  font: 13px / 1.6 YakuHanJP, 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

a {
  color: inherit;
}

a[href]:hover {
  text-decoration: none;
}

/**
 * SP時
 */

@media screen and (max-width:767px) {

  a[href] {
    transform: none !important;
  }

}

/**
 * PC時
 */

@media screen and (min-width:768px) {

  html, body {
    scrollbar-width: thin;
  }

  body {
    letter-spacing: 1px;
    font-size: 16px;
  }

}

/**
 * レイアウト用
 */

div.body {
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media screen and (min-width:768px) {

  a[href*="tel:"] {
    color: inherit;
    cursor: default;
    pointer-events: none;
    text-decoration: none !important;
  }

}

/**
 * マウス追従要素
 */

#stalker {
  pointer-events: none;
  border-radius: 50%;
  background-color: #95e1ff;
  position: fixed;
  z-index: 999;
  transition:
    width 0.3s ease-in-out 0.0s,
    height 0.3s ease-in-out 0.0s,
    transform 0.6s cubic-bezier(0.275, 0.182, 0.005, 1.5) 0.0s,
    top 0.3s ease-in-out 0.0s,
    left 0.3s ease-in-out 0.0s;
  width: 10px;
  height: 10px;
  top: -5px;
  left: -5px;
  /* SP時は非表示 */
  display: none;
}

#stalker.active {
  width: 100px;
  height: 100px;
  border: 1px solid #06b7fd;
  background-color: transparent;
  top: -50px;
  left: -50px;
}

@media screen and (min-width:768px) {

  #stalker {
    display: block;
  }

}

/** ***************************************************************************
 * ヘッダー
 * ************************************************************************* */

#header {
  width: 100%;
  filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.15));
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
}

#header div.body {
  max-width: 1500px;
  padding-top: 10px;
  padding-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

@media screen and (min-width:768px) {

  #header div.body {
    padding-bottom: 40px;
  }

}

/**
 * ロゴ
 */

#header div.logo {
  max-width: 120px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width:768px) {

  #header div.logo {
    width: 13.70%;
    max-width: 200px;
  }

}

/**
 * テキスト
 */

#header div.text {
  width: 100%;
  margin-bottom: 5px;
  letter-spacing: 2px;
  line-height: 1;
  font-family: YakuHanMP, 'Noto Serif JP', serif;
  font-size: 0.75em;
  text-align: center;
  order: -1;
}

@media screen and (min-width:768px) {

  #header div.text {
    margin-bottom: 0;
    letter-spacing: 4px;
    text-align: right;
  }

}

/**
 * 波背景
 */

#header svg.background {
  max-width: none;
  width: 130vw;
  height: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(50% - 50vw);
}

@media screen and (min-width:768px) {

  #header svg.background {
    width: 100%;
    max-width: 100%;
    left: 0;
  }

}

/** ***************************************************************************
 * グローバルナビ
 * ************************************************************************* */

/**
 * SP表示
 */

@media screen and (max-width:767px) {

  #global-nav {
    width: 100vw;
    height: 100vh;
    color: #fff;
    overflow: hidden;
    position: fixed;
    z-index: 2;
    top: 0;
    transition: right 0.3s ease-in-out 0.0s;
    right: -100vw;
  }

  body.global-nav-active
  #global-nav {
    right: 0;
  }

  #global-nav::after {
    content: '';
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.85);
    position: absolute;
    z-index: -1;
    top: -50vh;
    right: -50vh;
    transition:
      width 0.0s ease-in-out 0.8s,
      height 0.0s ease-in-out 0.8s,
      visibility 0.5s ease-in-out 0.3s,
      opacity 0.5s ease-in-out 0.3s;
    width: 0;
    height: 0;
    visibility: hidden;
    opacity: 0;
  }

  body.global-nav-active
  #global-nav::after {
    transition:
      width 1.0s ease-in-out 0.0s,
      height 1.0s ease-in-out 0.0s,
      visibility 0.5s ease-in-out 0.0s,
      opacity 0.5s ease-in-out 0.0s;
    width: 200vh;
    height: 200vh;
    visibility: visible;
    opacity: 1;
  }

  #global-nav div.menu {
    height: 100%;
    padding: 70px 20px 100px;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    transition:
      visibility 0.4s ease-in-out 0.5s,
      opacity 0.4s ease-in-out 0.5s,
      right 0.4s ease-in-out 0.5s;
    visibility: hidden;
    opacity: 0;
    right: 10vw;
  }

  body.global-nav-active
  #global-nav div.menu {
    visibility: visible;
    opacity: 1;
    right: 0;
  }

}

/**
 * PC表示
 */

@media screen and (min-width:768px) {

  #global-nav {
    width: calc(100% - 200px);
    padding-left: 20px;
    padding-left: 1.37%;
    padding-left: 4.11%;
    flex-grow: 1;
  }

}

/**
 * リスト（SP表示）
 */

@media screen and (max-width:767px) {

  #global-nav ul.list li {
    border-top: 1px solid rgba(246, 246, 246, 0.5);
    border-bottom: 1px solid rgba(246, 246, 246, 0.5);
  }

  #global-nav ul.list li ~ li {
    border-top: none;
  }

  #global-nav ul.list li a {
    padding: 0.875em 1.5em 0.875em 0.5em;
    text-decoration: none;
    display: block !important;
    position: relative;
    z-index: 0;
  }

  #global-nav ul.list li a:not([href]) {
    pointer-events: none;
    opacity: 0.4;
  }

  #global-nav ul.list li a::after {
    content: '';
    width: 0.375em;
    height: 1em;
    background: url("../_image/_common/icon-arrow-2.png") 0 0 / 100% 100% no-repeat;
    filter: brightness(0) invert(1);
    position: absolute;
    z-index: 1;
    top: 1.25em;
    right: 0.5em;
  }

}

/**
 * リスト（PC表示）
 */

@media screen and (min-width:768px) {

  #global-nav ul.list {
    font-size: 0.875em;
    font-size: clamp(10px, 0.933vw, 14px);
    font-weight: 100;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
  }

  #global-nav ul.list a {
    padding: 0.75em 0.5em;
    color: inherit;
    text-decoration: none;
    display: block;
    position: relative;
    z-index: 0;
  }

  #global-nav ul.list a:not([href]) {
    pointer-events: none;
    opacity: 0.4;
  }

  #global-nav ul.list li {
    flex-shrink: 0;
  }

  #global-nav ul.list li a::after {
    content: '';
    border-top: 1px solid #777;
    transform: translateX(-50%);
    position: absolute;
    z-index: 0;
    left: 50%;
    bottom: 0;
    transition:
      width 0.0s ease-in-out 0.3s,
      visibility 0.3s ease-in-out 0.0s,
      opacity 0.3s ease-in-out 0.0s;
    width: 0;
    visibility: hidden;
    opacity: 0;
  }

  #global-nav ul.list li a:hover::after,
  #global-nav ul.list li.current a::after {
    transition:
      width 0.2s ease-in-out 0.0s,
      visibility 0.0s ease-in-out 0.0s,
      opacity 0.0s ease-in-out 0.0s;
    width: calc(100% - 1em);
    visibility: visible;
    opacity: 1;
  }

}

/** ***************************************************************************
 * ハンバーガー
 * ************************************************************************* */

#header div.drawer-trigger {
  width: 34px;
  height: 34px;
  padding: 12px 10px;
  cursor: pointer;
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  position: fixed;
  z-index: 10;
  top: 15px;
  right: 20px;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: #000;
}

body.global-nav-active
#header div.drawer-trigger {
  background-color: #fff;
}

#header div.drawer-trigger.new::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 9999px;
  background-color: #6cc;
  position: absolute;
  z-index: 2;
  top: 6px;
  left: 8px;
}

@media screen and (min-width:768px) {

  #header div.drawer-trigger {
    display: none;
  }

}

/**
 * ライン
 */

#header div.drawer-trigger i {
  width: 100%;
  border-top: 1px solid;
  transform-origin: center center;
  transition:
    border-color 0.3s ease-in-out 0.0s,
    transform 0.3s ease-in-out 0.0s;
  transform: rotate(0) translate(0);
  border-color: #fff;
}

body.global-nav-active
#header div.drawer-trigger i {
  border-color: #000;
}

/* 上 */
body.global-nav-active
#header div.drawer-trigger i:nth-child(1) {
  transform: rotate(315deg) translate(-3px, 3px);
}

/* 中 */
body.global-nav-active
#header div.drawer-trigger i:nth-child(2) {
  transform: translateX(50vw);
}

/* 下 */
body.global-nav-active
#header div.drawer-trigger i:nth-child(3) {
  transform: rotate(-315deg) translate(-3px, -4px);
}

/** ***************************************************************************
 * ビジュアル
 * ************************************************************************* */

body.layout-lower
#visual img {
  width: 100%;
}

/** ***************************************************************************
 * メイン
 * ************************************************************************* */

body.layout-lower
#main {
  padding-top: 40px;
}

@media screen and (min-width:768px) {

  body.layout-lower
  #main {
    padding-top: 80px;
  }

}

/**
 * セクショニング
 */

#main :where(.section) ~ :where(.section) {
  margin-top: 60px;
}

#main :where(.column) ~ :where(.column) {
  margin-top: 40px;
}

@media screen and (min-width:768px) {

  #main :where(.section) ~ :where(.section) {
    margin-top: 90px;
  }

  #main :where(.column) ~ :where(.column) {
    margin-top: 60px;
  }

}

/** ***************************************************************************
 * 共用コンテンツ
 * ************************************************************************* */

#common {
  margin-top: -20px;
  margin-bottom: -40px;
  padding-bottom: 60px;
  color: #fff;
  background: url("../_image/_common/common-bg.png");
  position: relative;
  z-index: 0;
}

@media screen and (min-width:768px) {

  #common {
    margin-top: -120px;
    margin-bottom: -120px;
    padding-top: 100px;
    padding-bottom: 120px;
  }

}

/**
 * フレーム
 */

#common div.frame {
  width: 100%;
  height: 120px;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  top: -120px;
  left: 0;
}

#common div.frame::before {
  content: '';
  width: 200vw;
  max-width: none;
  height: 100%;
  clip-path: url("#common-frame");
  background: url("../_image/_common/common-bg.png");
  position: absolute;
  z-index: 1;
  top: 0;
  left: calc(50% - 100vw);
}

@media screen and (min-width:768px) {

  #common div.frame::before {
    width: 100%;
    max-width: 100%;
    left: 0;
  }

}

/** ---------------------------------------------------------------------------
 * 関連サイト
 */

#common .related-site {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

#common :where(.related-site) ~ :where(.related-site) {
  margin-top: 40px;
}

@media screen and (min-width:768px) {

  #common :where(.related-site) ~ :where(.related-site) {
    margin-top: 60px;
  }

}

/**
 * 内容
 */

#common .related-site div.contents {
  width: 100%;
  padding: 40px 15px;
}

@media screen and (min-width:768px) {

  #common .related-site div.contents {
    padding: 60px 30px;
  }

}

/**
 * タイトル
 */

#common .related-site .section-title {
  margin-bottom: 30px;
  line-height: 2;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.375em;
  text-align: center;
}

@media screen and (min-width:768px) {

  #common .related-site .section-title {
    margin-bottom: 30px;
    letter-spacing: 3px;
    font-size: 1.625em;
  }

}

/**
 * 内容
 */

#common .related-site div.contents div.content {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/**
 * ボタン
 */

#common .related-site div.contents div.button {
  width: fit-content;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  transform: rotate(-45deg);
}

#common .related-site div.contents div.button a {
  text-decoration: none;
  display: inline-block;
  animation: related-site-button 1.5s ease-in-out 0.0s infinite;
  position: relative;
  z-index: 0;
}

#common .related-site div.contents div.button a:hover {
  animation: none;
}

#common .related-site div.contents div.button a img {
  transition: filter 0.3s ease-in-out 0.0s;
  filter: invert(0);
}

#common .related-site div.contents div.button a:hover img {
  filter: invert(1);
}

#common .related-site div.contents div.button a::after {
  content: '';
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

#common .related-site div.contents div.button a:hover::after {
  visibility: visible;
  opacity: 1;
}

@keyframes related-site-button {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

/**
 * 画像
 */

#common .related-site div.image {
  width: 100%;
  margin-left: -100%;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: -1;
}

#common .related-site div.image::before {
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

/** ---------------------------------------------------------------------------
 * お問い合わせ
 */

#common div.contact {
  margin-top: 50px;
}

#common div.contact a {
  padding: 30px;
  line-height: 1;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.125em;
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-align: center;
  text-decoration: none;
  display: block !important;
  background-color: rgba(255, 255, 255, 0.0);
}

#common div.contact a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#common div.contact a::before {
  content: '';
  width: 38px;
  height: 36px;
  margin-top: -5px;
  margin-left: calc(-38px - 1.5em);
  margin-right: 1.5em;
  vertical-align: middle;
  display: inline-block;
  background:
    url("../_image/_common/icon-contact-1.png")
    0 0 / 100% 100%
    no-repeat;
}

@media screen and (min-width:768px) {

  #common div.contact {
    margin-top: 90px;
  }

  #common div.contact a {
    padding: 50px;
  }

}

/** ---------------------------------------------------------------------------
 * リビタ
 */

#common div.rebita {
  width: fit-content;
  max-width: 120px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}

#common div.rebita a {
  text-decoration: none;
}

@media screen and (min-width:768px) {

  #common div.rebita {
    max-width: 100%;
    margin-top: 90px;
  }

}

/** ***************************************************************************
 * フッター
 * ************************************************************************* */

#footer {
  margin-top: 40px;
  padding-top: 10px;
  padding-bottom: 15px;
  background: url("../_image/_common/footer-bg.png");
  position: relative;
  z-index: 2;
}

@media screen and (min-width:768px) {

  #footer {
    margin-top: 120px;
    padding-top: 0;
    padding-bottom: 30px;
    background: url("../_image/_common/footer-bg.png");
    position: relative;
    z-index: 2;
  }

  #footer div.body {
    max-width: 1500px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

}

/**
 * KEIO
 */

#footer div.keio {
  max-width: 160px;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: 15px;
}

#footer div.keio a {
  text-decoration: none;
  display: inline-block;
  transform: none !important;
}

@media screen and (min-width:768px) {

  #footer div.keio {
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 0;
  }

}

/**
 * コピーライト
 */

#footer div.copyright {
  font-size: 0.625em;
  font-weight: 300;
  text-align: right;
}

#footer div.copyright a {
  font-size: 1.25em;
  text-decoration: none;
  transform: none !important;
}

#footer div.copyright a:hover {
  text-decoration: underline;
}

@media screen and (min-width:768px) {

  #footer div.copyright {
    order: -1;
  }

  #footer div.copyright a {
    font-size: 1.4em;
  }

}

/**
 * フレーム
 */

#footer div.frame {
  width: 100%;
  height: 40px;
  overflow: hidden;
  position: absolute;
  z-index: 1;
  top: -40px;
  left: 0;
}

#footer div.frame::before {
  content: '';
  width: 120vw;
  max-width: none;
  height: 100%;
  clip-path: url("#footer-frame");
  background: url("../_image/_common/footer-bg.png");
  position: absolute;
  z-index: 1;
  top: 0;
  left: calc(50% - 60vw);
}

@media screen and (min-width:768px) {

  #footer div.frame {
    height: 120px;
    top: -120px;
  }

  #footer div.frame::before {
    width: 100%;
    max-width: 100%;
    left: 0;
  }

}
