@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;
  }

}

/** ***************************************************************************
 * 各ロケーション
 * ************************************************************************* */

#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;
  }

}

/** ***************************************************************************
 * MAP
 * ************************************************************************* */

#map {
  padding: 40px 0 60px;
  background-color: #fff;
}

@media screen and (min-width:768px) {

  #map {
    padding: 80px 0 120px;
  }

}

/**
 * タイトル
 */

#map .section-title {
  margin-bottom: 40px;
  text-align: center;
}

@media screen and (min-width:768px) {

  #map .section-title {
    margin-bottom: 80px;
  }

}

/**
 * アクセスマップ
 */

#map div.map {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 0;
}

#map div.map 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;
}
