@charset "utf-8";

/** ***************************************************************************
 * 全体
 * ************************************************************************* */

html {
  container-type: inline-size;
}

body {
  padding-bottom: 60px;
  color: var(--color-basic);
  font: 14px / 1.6 'Noto Sans JP', sans-serif;
  font-style: normal;
  font-weight: 300;
  position: relative;
  z-index: 0;
}

@media screen and (min-width:768px) {

  html, body {
    scrollbar-width: thin;
  }

  body {
    padding-bottom: unset;
    letter-spacing: 1px;
    font-size: 16px;
  }

}

/**
 * リンク
 */

a:not([href]) {
  color: var(--color-basic);
}

:where(a[href]) {
  color: var(--color-basic);
  text-decoration: underline;
}

:where(a[href]:hover) {
  text-decoration: none;
}

@media screen and (min-width:768px) {

  a[href*="tel:"] {
    color: var(--color-basic);
    cursor: default;
    pointer-events: none;
    text-decoration: none !important;
  }

}

/**
 * レイアウト用
 */

div.body {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/**
 * 表示アニメーション
 */

.fadein {
  opacity: 0;
  transform: translateY(50px);
}

[data-delay="0.3"] {
  animation-delay: 0.3s !important;
}

[data-delay="0.6"] {
  animation-delay: 0.6s !important;
}

[data-delay="0.9"] {
  animation-delay: 0.9s !important;
}

[data-delay="1.2"] {
  animation-delay: 1.2s !important;
}

[data-delay="1.5"] {
  animation-delay: 1.5s !important;
}

.fadein.displayed {
  animation: fadein 0.8s ease-in-out forwards;
}

@keyframes fadein {
  0% {
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/**
 * マウス追従要素
 */

#stalker {
  pointer-events: none;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  z-index: 999;
  transition:
    width 0.3s ease-in-out 0.0s,
    height 0.3s ease-in-out 0.0s,
    background-color 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 rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(1px);
  top: -50px;
  left: -50px;
}

@media screen and (min-width:768px) {

  #stalker {
    display: block;
  }

}

/** ***************************************************************************
 * ヘッダー
 * ************************************************************************* */

#header {
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
}

@media screen and (min-width:768px) {

  #header div.body {
    max-width: 1540px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

/**
 * ロゴ
 */

#header div.logo {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-start;
  column-gap: 1.5em;
}

@media screen and (min-width:768px) {

  #header div.logo {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    column-gap: 1.5em;
  }

}

/* ロゴ */

#header div.logo .title {
  line-height: 1;
  font-family: 'Shippori Mincho', serif;
  font-size: 0.75em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  column-gap: 1.5em;
}

/* テキスト */

#header div.logo div.text {
  margin-bottom: 10px;
  font-size: 0.625em;
  font-family: 'Shippori Mincho', serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

#header div.logo div.text::before {
  content: '';
  width: 5em;
  height: 1px;
  margin-right: 0.75em;
  background-color: #898989;
}

#header div.logo div.text::after {
  content: '';
  width: 5em;
  height: 1px;
  margin-left: 0.75em;
  background-color: #898989;
}

@media screen and (min-width:768px) {

  #header div.logo div.text {
    margin-bottom: unset;
  }

}

/**
 * ハンバーガー
 */

#header div.drawer {
  width: 65px;
  height: 40px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  right: -10px;
  display: none; /* SP時は非表示 */
}

@media screen and (min-width:768px) {

  #header div.drawer {
    display: flex;
  }

}

/**
 * ライン
 */

#header div.drawer div.line {
  width: 45px;
  height: 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  z-index: 0;
}

#header div.drawer i {
  width: 100%;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #000;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out 0.0s;
  transform: rotate(0) translate(0);
}

/* 上 */

body.global-nav-active
#header div.drawer i:nth-child(1) {
  transform: rotate(325deg) translate(-2px, 4px);
}

/* 下 */

body.global-nav-active
#header div.drawer i:nth-child(2) {
  transform: rotate(-325deg) translate(0px, -2px);
}

/** ***************************************************************************
 * メニュー
 * ************************************************************************* */

#global-nav {
  width: 100%;
  max-width: 680px;
  height: 100dvh;
  padding-bottom: 80px;
  font-family: 'Shippori Mincho', serif;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  position: absolute;
  z-index: 2;
  top: 0;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s,
    right 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
  right: -100px;
}

body.global-nav-active
#global-nav {
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s,
    right 0.3s ease-in-out 0.0s;
  visibility: visible;
  opacity: 1;
  right: 0;
}

#global-nav div.contents {
  height: 100%;
  padding: 40px 10%;
  overflow: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

@media screen and (min-width:768px) {

  #global-nav {
    max-height: calc(100dvh - 61px);
    padding-bottom: unset;
    background-color: rgba(255, 255, 255, 0.9);
    top: 100%;
    right: 0;
  }

  body.global-nav-active
  #global-nav {
    right: 70px;
  }

  #global-nav div.contents {
    padding-bottom: 160px;
  }

}

/**
 * ロゴ
 */

#global-nav div.logo {
  width: 100%;
  margin-bottom: 20px;
  display: block;
}

/**
 * メインナビ
 */

#global-nav dl.nav {
  width: 100%;
}

#global-nav dl.nav div.item {
  border-bottom: 1px dotted rgba(0, 0, 0, 0.5);
}

#global-nav dl.nav div.item a {
  padding: 1.5em 2em 1.5em 0;
  text-decoration: none;
  background: url("../_image/_common/icon-arrow-1.png") center right / 0.25em 0.5em no-repeat;
  display: block;
}

#global-nav dl.nav dt {
  width: 70%;
  margin-bottom: 10px;
}

#global-nav dl.nav dt img {
  display: block;
}

@media screen and (min-width:768px) {

  #global-nav dl.nav div.item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  #global-nav dl.nav dt {
    width: 30%;
    margin-bottom: unset;
  }

  #global-nav dl.nav dd {
    padding-left: 1.5em;
    flex-grow: 1;
  }

}

/**
 * サブナビ
 */

#global-nav ul.nav {
  width: fit-content;
  min-width: 30%;
}

#global-nav ul.nav li {
  border-bottom: 1px dotted rgba(0, 0, 0, 0.5);
}

#global-nav ul.nav li img {
  display: block;
}

#global-nav ul.nav li a {
  padding: 1.5em 0.5em;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#global-nav ul.nav li a::after {
  content: '';
  width: 0.25em;
  height: 0.5em;
  margin-left: 1.5em;
  background: url("../_image/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
}

/**
 * 登録フォーム
 */

#global-nav div.button {
  text-align: center;
  border-radius: 9999px;
  background-color: #fff;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.15));
  flex-shrink: 0;
}

#global-nav div.button a {
  padding: 1em 1.5em;
  text-decoration: none;
  display: block;
}

/** ***************************************************************************
 * メイン
 * ************************************************************************* */

#main {
  padding-bottom: 40px;
  text-align: justify;
  text-justify: inter-character;
  overflow: hidden;
}

@media screen and (min-width:768px) {

  #main {
    padding-bottom: 80px;
    letter-spacing: 2px;
  }

}

/** ***************************************************************************
 * 共用コンテンツ
 * ************************************************************************* */

#common {
  padding-top: 80px;
  padding-bottom: 80px;
  background: url("../_image/_common/background-1.png") repeat;
  clip-path: shape(
    from 0 6.43vw,
    curve to 100% 6.43vw with 50% -6.43vw,
    vline to calc(100% - 6.43vw),
    curve to 0 calc(100% - 6.43vw) with 50% calc(100% + 6.43vw),
    close
  );
}

#common div.body {
  max-width: 1040px;
}

@media screen and (min-width:768px) {

  #common {
    padding-top: 150px;
    padding-bottom: 200px;
  }

}

/**
 * セクショニング
 */

:where(#common .column) ~ .column {
  margin-top: 40px;
}

:where(#common .block) ~ .block {
  margin-top: 20px;
}

@media screen and (min-width:768px) {

  :where(#common .column) ~ .column {
    margin-top: 60px;
  }

  :where(#common .block) ~ .block {
    margin-top: 40px;
  }

}

/**
 * 関連サイト
 */

#common div.related div.item {
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.15));
}

#common div.related div.item a {
  color: inherit;
  text-decoration: none;
  display: block;
  position: relative;
}

#common div.related div.item a::before {
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  mix-blend-mode: overlay;
  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 div.related div.item a:hover::before {
  visibility: visible;
  opacity: 1;
}

/** ***************************************************************************
 * フッター
 * ************************************************************************* */

#footer {
  padding: 30px 0;
}

#footer a {
  color: inherit;
}

@media screen and (min-width:768px) {

  #footer div.body {
    max-width: 1540px;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: space-between;
  }

}

/**
 * セクショニング
 */

:where(#footer .column) ~ .column {
  margin-top: 40px;
}

:where(#footer .block) ~ .block {
  margin-top: 20px;
}

@media screen and (min-width:768px) {

  :where(#footer .column) ~ .column {
    margin-top: 60px;
  }

  :where(#footer .block) ~ .block {
    margin-top: 40px;
  }

}

/**
 * 下部固定ボタン
 */

#footer div.fixed {
  width: calc(100% - 20px);
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: fixed;
  z-index: 100;
  left: 10px;
  bottom: 10px;
}

@media screen and (min-width:768px) {

  #footer div.fixed {
    width: fit-content;
    max-width: 100%;
    margin: auto;
    display: block;
    left: 0;
    right: 0;
    transition: bottom 0.5s ease-in-out 0.0s;
    bottom: 20px;
  }

  #footer.displayed div.fixed {
    bottom: 200px;
  }

}

/* ボタン */

#footer div.fixed div.button {
  width: fit-content;
  padding: 5px;
  font-size: 0.75em;
  border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (min-width:768px) {

  #footer div.fixed div.button {
    padding: 10px;
    gap: 1em;
  }

}

/* テキストリンク */

#footer div.fixed div.button .text {
  padding: 1em 1.5em;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

#footer div.fixed div.button .text::after {
  content: '';
  width: 0.5em;
  height: 0.875em;
  margin-top: 0.375em;
  background: url("../_image/_common/icon-arrow-1.png") 0 0 / 100% 100% no-repeat;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease-in-out 0.0s;
  transform: rotate(90deg);
}

#footer div.fixed.active div.button .text::after {
  transform: rotate(90deg) scaleX(-1);
}

@media screen and (min-width:768px) {

  #footer div.fixed div.button .text {
    padding: 1em 2em;
  }

}

/* 登録ボタン */

#footer div.fixed div.button .form {
  padding: 1em 1.5em;
  text-align: center;
  text-decoration: none;
  border-radius: 9999px;
  background-color: #fff;
  flex-shrink: 0;
}

@media screen and (min-width:768px) {

  #footer div.fixed div.button .form {
    padding: 1.5em 2.5em;
  }

}

/* ポップアップ */

#footer div.fixed div.content {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 2em 3em;
  color: #fff;
  line-height: 2.5;
  font-size: 0.75em;
  text-align: center;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s,
    bottom 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
  bottom: calc(100% + 40px);
}

#footer div.fixed div.content a {
  color: inherit;
  text-decoration: none;
  display: block;
}

#footer div.fixed.active div.content {
  visibility: visible;
  opacity: 1;
  bottom: calc(100% + 20px);
}

#footer div.fixed div.content em {
  font-size: 1.25em;
}

/**
 * ハンバーガー
 */

#footer div.drawer {
  width: 50px;
  height: 50px;
  padding: 15px;
  cursor: pointer;
  border-radius: 9999px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.2));
}

@media screen and (min-width:768px) {

  #footer div.drawer {
    display: none;
  }

}

/**
 * ライン
 */

#footer div.drawer div.line {
  width: 45px;
  height: 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  z-index: 0;
}

#footer div.drawer i {
  width: 100%;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-color: #000;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out 0.0s;
  transform: rotate(0) translate(0);
}

/* 上 */

body.global-nav-active
#footer div.drawer i:nth-child(1) {
  transform: rotate(325deg) translate(-2px, 4px);
}

/* 下 */

body.global-nav-active
#footer div.drawer i:nth-child(2) {
  transform: rotate(-325deg) translate(0px, -2px);
}

/**
 * 京王電鉄
 */

#footer div.keio {
	max-width: 160px;
	margin-left: auto;
	margin-right: 0;
	margin-bottom: 15px;
}

@media screen and (min-width:768px) {

  #footer div.keio {
    max-width: 100%;
    margin: unset;
  }

}

/**
 * コピーライト
 */

#footer div.copyright {
  font-size: 0.625em;
  text-align: right;
}

#footer div.copyright a {
  font-size: 1.125em;
  text-decoration: none;
}

#footer div.copyright a:hover {
  text-decoration: underline;
}

@media screen and (min-width:768px) {

  #footer div.copyright {
    font-size: 0.75em;
    text-align: unset;
  }

}
