@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

#main {
  background-color: #f4f3ed;
}

#main :where(.column) ~ :where(.column) {
  margin-top: 30px;
}

@media screen and (min-width:768px) {

  #main :where(.column) ~ :where(.column) {
    margin-top: 60px;
  }

}

/** ***************************************************************************
 * 紹介文
 * ************************************************************************* */

#lead {
  padding: 40px 0;
  background: linear-gradient(to bottom, #fff 50%, #f4f3ed);
}

@media screen and (min-width:768px) {

  #lead {
    padding: 80px 0;
  }

}

/**
 * タイトル
 */

#lead .section-title {
  margin-bottom: 40px;
  line-height: 3;
  font-size: 0.75em;
  text-align: center;
}

@media screen and (min-width:768px) {

  #lead .section-title {
    margin-bottom: 80px;
  }

}

/**
 * 内容
 */

#lead div.content .catchcopy {
  width: 100%;
  margin-bottom: 3em;
  letter-spacing: 2px;
  line-height: 2.5;
  font-size: 1.25em;
  text-orientation: upright;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lead div.content .text {
  line-height: 2.5;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  text-align: center;
}

@media screen and (min-width:768px) {

  #lead div.content {
    line-height: 3;
  }

}

/** ***************************************************************************
 * LIFE
 * ************************************************************************* */

#main .life-contents {
  margin-bottom: 60px;
}

#main #life-2.life-contents {
  margin-top: 60px;
}

#main .life-contents div.body {
  max-width: 1460px;
}

#main .life-contents section.item ~ section.item {
  margin-top: 30px;
}

@media screen and (min-width:768px) {

  #main .life-contents {
    margin-bottom: 100px;
  }

  #main #life-2.life-contents {
    margin-top: 100px;
  }

  #main .life-contents div.body {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
  }

  #main .life-contents section.item {
    width: 49%;
  }

  #main .life-contents section.item ~ section.item {
    margin-top: 0;
  }

}

/**
 * 内容
 */

#main .life-contents div.contents {
  height: 90vw;
  max-height: 400px;
  padding: 10px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

@media screen and (min-width:768px) {

  #main .life-contents div.contents {
    height: 40.82vw;
    max-height: 600px;
    padding: 5px 5px 10px;
  }

}

/* 内容 */

#main .life-contents div.contents div.content {
  min-width: 70%;
  min-height: 60%;
  color: #fff;
  transition:
    background-color 0.3s ease-in-out 0.0s,
    backdrop-filter 0.3s ease-in-out 0.0s;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(0);
}

#main .life-contents div.contents div.content:hover {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

#main .life-contents div.contents div.content a {
  height: 100%;
  padding: 20px;
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

@media screen and (min-width:768px) {

  #main .life-contents div.contents div.content a {
    padding: 40px;
  }

}

/* キャッチコピー */

#main .life-contents div.contents div.catchcopy {
  font-size: 1.5em;
  text-align: center;
}

#main .life-contents div.contents div.catchcopy small {
  font-size: 0.5em;
}

@media screen and (min-width:768px) {

  #main .life-contents div.contents div.catchcopy {
    font-size: 1.875em;
  }

}

/* リンクボタン */

#main .life-contents div.contents div.button {
  min-width: 90%;
  margin-top: 15px;
  padding: 1em 1em 1.25em;
  font-size: 1.125em;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

#main .life-contents div.contents div.button::after {
  content: '';
  width: 2.25em;
  height: 1.5em;
  margin: 1em auto 0;
  background: url("../_image/_common/icon-arrow-4.png") 0 0 / 100% 100% no-repeat;
  display: block;
}

@media screen and (min-width:768px) {

  #main .life-contents div.contents div.button {
    min-width: 70%;
    font-size: 1.25em;
  }

}

/* ハッシュタグ */

#main .life-contents div.contents ul.hash {
  color: #fff;
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#main .life-contents div.contents ul.hash li {
  padding: 5px 10px;
}

/** ***************************************************************************
 * 各ロケーション
 * ************************************************************************* */

#main .location-contents {
  padding: 20px 0 60px;
  overflow: hidden;
}

#main .location-contents div.body {
  max-width: 1500px;
}

@media screen and (min-width:768px) {

  #main .location-contents {
    padding: 100px 0;
  }

}

/**
 * タイトル
 */

#main .location-contents .section-title {
  margin-bottom: 10px;
  transform-origin: left bottom;
  transform: scale(1.3);
}

@media screen and (min-width:768px) {

  #main .location-contents .section-title {
    margin-bottom: 15px;
    transform: none;
  }

}

/**
 * ビジュアル
 */

#main .location-contents div.visual {
  max-width: none;
  width: 100vw;
  position: relative;
  z-index: 0;
  left: calc(50% - 50vw);
}

#main .location-contents div.visual img {
  width: 100%;
}

#main .location-contents div.visual div.caption {
  padding: 3px 7px 4px;
  color: #fff;
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
}

/**
 * 内容
 */

#main .location-contents div.content {
  padding: 30px 0;
  line-height: 2;
}

@media screen and (min-width:768px) {

  #main .location-contents div.content {
    padding: 50px 0 60px;
    line-height: 2.5;
    text-align: center;
  }

}

/**
 * 画像
 */

#main .location-contents div.image {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
}

#main .location-contents div.image div.item {
  width: 48%;
  margin-bottom: 3%;
  position: relative;
  z-index: 0;
}

#main .location-contents div.image div.item:where(:nth-child(1)) {
  width: 100%;
}

#main .location-contents div.image div.item img {
  width: 100%;
}

#main .location-contents div.image div.item div.caption {
  padding: 3px 7px 4px;
  color: #fff;
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
}

@media screen and (min-width:768px) {

  #main .location-contents div.image div.item {
    width: calc(100% / 3 - 2%);
  }

  #main .location-contents div.image div.item:last-child:nth-of-type(3n+2) {
    margin-left: 3%;
    margin-right: auto;
  }

}

/** ***************************************************************************
 * 京王ストア
 */

#main div.keiostore {
  margin-bottom: 20px;
  padding: 5%;
  background-color: #e1e0d8;
}

@media screen and (min-width:768px) {

  #main div.keiostore {
    margin-bottom: 40px;
    padding: 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

/**
 * 画像
 */

#main div.keiostore div.keiostore-image {
  margin-bottom: 20px;
  align-self: flex-start;
  position: relative;
  z-index: 0;
}

#main div.keiostore div.keiostore-image div.caption {
  padding: 3px 7px 4px;
  color: #fff;
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
}

@media screen and (min-width:768px) {

  #main div.keiostore div.keiostore-image {
    width: 44%;
    margin-bottom: 0;
  }

}

/**
 * 内容
 */

@media screen and (min-width:768px) {

  #main div.keiostore div.keiostore-content {
    width: 52%;
  }

}

/* ロゴ / 告知 */

#main div.keiostore div.keiostore-content div.logo {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main div.keiostore div.keiostore-content div.logo div.info {
  padding: 0.25em 1em 0.375em;
  border: 1px solid #afafaf;
  text-align: center;
}

@media screen and (min-width:768px) {

  #main div.keiostore div.keiostore-content div.logo {
    justify-content: flex-start;
  }

  #main div.keiostore div.keiostore-content div.logo div.info {
    padding: 0.25em 2em 0.375em;
    font-size: 1.125em;
  }

}

/* タイトル */

#main div.keiostore div.keiostore-content div.title {
  margin-bottom: 10px;
  line-height: 1.4;
  font-size: 1.125em;
}

#main div.keiostore div.keiostore-content div.title sub {
  font-size: 0.556em;
  vertical-align: baseline;
}

#main div.keiostore div.keiostore-content div.title em {
  font-size: 1.5em;
}

@media screen and (min-width:768px) {

  #main div.keiostore div.keiostore-content div.title em {
    font-size: 1.778em;
  }

}

/* テキスト */

#main div.keiostore div.keiostore-content div.text .name {
  margin-bottom: 0.75em;
  font-size: 0.8125em;
  text-align: center;
}

#main div.keiostore div.keiostore-content div.text .name + * {
  margin-top: 0;
}

#main div.keiostore div.keiostore-content div.text .name img {
  vertical-align: middle;
}

#main div.keiostore div.keiostore-content div.text .memo {
  margin-top: 0.75em;
  font-size: 0.625em;
}

@media screen and (min-width:768px) {

  #main div.keiostore div.keiostore-content div.text .name {
    text-align: left;
  }

}

/** ***************************************************************************
 * 京王キッズプラッツ
 */

#main div.plats {
  margin-bottom: 20px;
  padding: 5%;
  background-color: #e1e0d8;
}

@media screen and (min-width:768px) {

  #main div.plats {
    margin-bottom: 40px;
    padding: 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

/**
 * 画像
 */

#main div.plats div.plats-image {
  margin-bottom: 20px;
  align-self: flex-start;
  position: relative;
  z-index: 0;
}

#main div.plats div.plats-image div.caption {
  padding: 3px 7px 4px;
  color: #fff;
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
}

@media screen and (min-width:768px) {

  #main div.plats div.plats-image {
    width: 44%;
    margin-bottom: 0;
  }

}

/**
 * 内容
 */

@media screen and (min-width:768px) {

  #main div.plats div.plats-content {
    width: 52%;
  }

}

/* ロゴ / 告知 */

#main div.plats div.plats-content div.logo {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main div.plats div.plats-content div.logo div.info {
  padding: 0.25em 1em 0.375em;
  border: 1px solid #afafaf;
  text-align: center;
}

@media screen and (min-width:768px) {

  #main div.plats div.plats-content div.logo {
    margin-bottom: 30px;
    justify-content: flex-start;
  }

  #main div.plats div.plats-content div.logo div.info {
    padding: 0.25em 2em 0.375em;
    font-size: 1.125em;
  }

}

/* タイトル */

#main div.plats div.plats-content div.title {
  margin-bottom: 10px;
  line-height: 1.4;
  font-size: 1.125em;
}

#main div.plats div.plats-content div.title sub {
  font-size: 0.556em;
  vertical-align: baseline;
}

#main div.plats div.plats-content div.title em {
  font-size: 1.5em;
}

@media screen and (min-width:768px) {

  #main div.plats div.plats-content div.title em {
    font-size: 1.778em;
  }

}

/* テキスト */

#main div.plats div.plats-content div.text .name {
  margin-bottom: 0.75em;
  font-size: 0.8125em;
  text-align: center;
}

#main div.plats div.plats-content div.text .name + * {
  margin-top: 0;
}

#main div.plats div.plats-content div.text .name img {
  vertical-align: text-bottom;
}

#main div.plats div.plats-content div.text .memo {
  margin-top: 0.75em;
  font-size: 0.625em;
}

@media screen and (min-width:768px) {

  #main div.plats div.plats-content div.text .name {
    text-align: left;
  }

}

/** ***************************************************************************
 * LIFE INFORMATION
 * ************************************************************************* */

#lifeinfo {
  padding: 60px 0;
  background-color: #bfcadb;
  overflow: hidden;
}

@media screen and (max-width:767px) {

  #lifeinfo {
    padding: 40px 0;
  }

  #lifeinfo div.body {
    padding: 0;
  }

}

/**
 * ナビゲーション
 */

#lifeinfo div.lifeinfo ul.nav {
  margin: 0 -2px 2px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
}

#lifeinfo div.lifeinfo ul.nav li {
  min-height: 2.75em;
  margin: 1px;
  padding: 0.375em 0.5em;
  cursor: pointer;
  line-height: 1.3;
  font-size: 0.875em;
  text-align: center;
  background-color: #d7dde8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  flex-shrink: 0;
  transition: background-color 0.3s ease-in-out 0.0s;
}

#lifeinfo div.lifeinfo ul.nav li:hover {
  background-color: #f5f7fa;
}

#lifeinfo div.lifeinfo ul.nav li.active {
  background-color: #f5f7fa;
}

@media screen and (max-width:767px) {

  #lifeinfo div.lifeinfo ul.nav li {
    width: calc(100% / 4 - 2px);
    min-height: 3.5em;
    flex-grow: 0;
  }

}

/**
 * マップ / 施設一覧
 */

#lifeinfo div.lifeinfo div.contents {
  height: 31.75em;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

@media screen and (max-width:767px) {

  #lifeinfo div.lifeinfo div.contents {
    height: auto;
    flex-direction: column;
  }

}

/**
 * マップ
 */

#lifeinfoMap {
  width: 50%;
  position: relative;
  z-index: 1;
}

#lifeinfoMap * {
  max-width: none;
  outline: none;
}

#lifeinfoMap > * {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

@media screen and (max-width:767px) {

  #lifeinfoMap {
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 100vw;
  }

}

/**
 * 施設一覧
 */

#lifeinfo div.lifeinfo div.contents div.facility {
  width: 50%;
  padding-left: 1em;
  overflow: hidden;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
}

#lifeinfo div.lifeinfo div.contents div.facility div.facilityList {
  counter-reset: number;
  pointer-events: none;
  position: absolute;
  z-index: -1;
  transition:
    margin-top 0.0s ease-in-out 0.0s,
    visibility 0.8s ease-in-out 0.0s,
    opacity 0.8s ease-in-out 0.0s;
  margin-top: -100vh;
  visibility: hidden;
  opacity: 0;
}

#lifeinfo div.lifeinfo div.contents div.facility div.facilityList.active {
  margin-top: 0;
  pointer-events: auto;
  position: static;
  visibility: visible;
  opacity: 1;
}

#lifeinfo div.lifeinfo div.contents div.facility div.facilityList ul {
  letter-spacing: 0.125em;
  line-height: 1.6;
  font-size: 0.875em;
}

#lifeinfo div.lifeinfo div.contents div.facility div.facilityList ul li {
  cursor: pointer;
  counter-increment: number;
  padding: 0.75em 0.75em 0.75em 2.5em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(215, 221, 232, 0.0);
}

#lifeinfo div.lifeinfo div.contents div.facility div.facilityList ul li:hover {
  background-color: rgba(215, 221, 232, 1.0);
}

#lifeinfo div.lifeinfo div.contents div.facility div.facilityList ul li.active {
  background-color: rgba(215, 221, 232, 1.0);
}

#lifeinfo div.lifeinfo div.contents div.facility div.facilityList ul li::before {
  content: counter(number);
  width: 1.5em;
  height: 1.5em;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #54717f;
  position: absolute;
  z-index: 1;
  top: 0.75em;
  left: 0.5em;
}

#lifeinfo div.lifeinfo div.contents div.facility div.facilityList div.name {
  padding-right: 1.5em;
}

#lifeinfo div.lifeinfo div.contents div.facility div.facilityList div.time {
  font-size: 0.75em;
}

@media screen and (max-width:767px) {

  #lifeinfo div.lifeinfo div.contents div.facility {
    width: 100%;
    height: 27em;
    padding-left: 15px;
    padding-right: 15px;
  }

}
