@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

#main {
  padding-bottom: 80px;
}

#main div.body {
  max-width: 1180px;
}

@media screen and (min-width:768px) {

  #main {
    padding-bottom: 160px;
  }

}

/**
 * セクショニング
 */

:where(#main .section) ~ .section {
  margin-top: 80px;
}

:where(#main .column) ~ .column {
  margin-top: 40px;
}

:where(#main .block) ~ .block {
  margin-top: 20px;
}

@media screen and (min-width:768px) {

  :where(#main .section) ~ .section {
    margin-top: 160px;
  }

  :where(#main .column) ~ .column {
    margin-top: 80px;
  }

  :where(#main .block) ~ .block {
    margin-top: 40px;
  }

}

/** ***************************************************************************
 * ビジュアル
 * ************************************************************************* */

#visual {
  width: calc(100% + 40px);
  max-width: none;
  margin-left: -20px;
  margin-right: -20px;
  color: #fff;
  position: relative;
  z-index: 0;
}

@media screen and (min-width:768px) {

  #visual {
    width: var(--innerWidth);
    margin: unset;
    left: var(--innerCenter);
  }

}

/**
 * テキスト
 */

#visual div.text {
  line-height: 2;
  font-family: 'Kiwi Maru', serif;
  font-size: 1.125em;
  font-weight: 400;
  writing-mode: vertical-rl;
  text-orientation: upright;
  position: absolute;
  z-index: 2;
}

#visual div.text-1 {
  top: 20px;
  right: 30px;
}

#visual div.text-2 {
  top: 20px;
  left: 30px;
}

@media screen and (min-width:768px) {

  #visual div.text {
    letter-spacing: 0.215em;
    line-height: 2;
    font-size: 2em;
  }

  #visual div.text-1 {
    top: 70px;
    right: 16.84vw;
  }

  #visual div.text-2 {
    top: 90px;
    left: 16.84vw;
  }

}

/**
 * 画像
 */

#visual div.track {
  height: 240px;
}

#visual div.slide {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media screen and (min-width:768px) {

  #visual div.track {
    height: 670px;
  }

}

/**
 * ページャー
 */

#visual div.pager {
  width: 80%;
  position: absolute;
  z-index: 2;
  left: 10%;
  bottom: 15px;
}

#visual div.pager ul button {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  appearance: none;
  cursor: pointer;
  color: inherit;
  border: none;
  border-radius: 0;
  font: inherit;
  background: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

#visual div.pager ul button::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  border: 1px solid #b9b9b9;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: #fff;
}

#visual div.pager ul button.is-active::before {
  background-color: #b9b9b9;
}

@media screen and (min-width:768px) {

  #visual div.pager {
    bottom: 30px;
  }

  #visual div.pager ul button {
    width: 30px;
    height: 30px;
  }

  #visual div.pager ul button::before {
    width: 12px;
    height: 12px;
  }

}

/** ***************************************************************************
 * お知らせ
 * ************************************************************************* */

#topic {
  margin-top: 0;
}

#news {
  padding: 20px 0;
  position: relative;
  z-index: 0;
}

#news::after {
  content: '';
  width: calc(100% + 10px);
  max-width: none;
  height: 100%;
  border-bottom-left-radius: 100px;
  background-color: rgb(var(--accentcolor-1));
  position: absolute;
  z-index: -1;
  top: 0;
  left: 10px;
}

@media screen and (min-width:768px) {

  #news {
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
    padding: 80px 0 50px 50px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  #news::after {
    width: calc(50vw + 50% - 130px);
    border-bottom-left-radius: 200px;
    left: 130px;
  }

}

/**
 * タイトル
 */

#news .section-title {
  margin-bottom: 10px;
  padding-left: 1.75em;
  color: rgb(var(--accentcolor-3));
  line-height: 1.5;
  font-size: 1.286em;
  font-weight: 500;
  background: url("../_image/_common/icon-arrow-2.png") left center / 1.25em 1.25em no-repeat;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
}

#news .section-title::after {
  content: attr(data-en);
  margin-left: 1em;
  letter-spacing: 0;
  font-size: 0.667em;
}

@media screen and (min-width:768px) {

  #news .section-title {
    margin-right: 40px;
    margin-bottom: unset;
    padding-left: unset;
    padding-right: 0.25em;
    padding-bottom: 1em;
    font-size: 1.556em;
    background-position: right bottom;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
  }

  #news .section-title::after {
    margin-left: 0.25em;
    font-size: 0.5em;
  }

}

/**
 * お知らせ
 */

#news div.news {
  padding-left: 30px;
  flex-grow: 1;
}

/**
 * 一覧
 */

#news div.news ul.list {
  font-size: 0.875em;
}

#news div.news ul.list li {
  border-bottom: 1px dashed rgb(var(--accentcolor-3));
}

#news div.news ul.list a {
  padding: 10px;
  color: inherit;
  text-decoration: none;
  display: block;
}

@media screen and (min-width:768px) {

  #news div.news ul.list {
    font-size: unset;
  }

  #news div.news ul.list a {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

}

/* 日付 */

#news div.news ul.list div.time {
  color: rgb(var(--accentcolor-3));
}

@media screen and (min-width:768px) {

  #news div.news ul.list div.time {
    margin-right: 1.5em;
    flex-shrink: 0;
    align-self: flex-start;
  }

}

/* タイトル */

@media screen and (min-width:768px) {

  #news div.news ul.list div.title {
    flex-grow: 1;
  }

}

/**
 * 一覧を見る
 */

#news div.news div.button {
  margin-top: 15px;
  text-align: center;
}

#news div.news div.button a {
  padding: 5px;
  font-size: 0.875em;
  font-weight: 500;
  text-decoration: none;
  display: inline-block
}

@media screen and (min-width:768px) {

  #news div.news div.button {
    margin-top: 30px;
  }

}

/** ***************************************************************************
 * Pickup
 * ************************************************************************* */

@media screen and (min-width:768px) {

  #pickup {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 30px 0;
    position: relative;
    z-index: 0;
  }

}

/**
 * セリフ
 */

#pickup div.serif {
  display: none;
}

@media screen and (min-width:768px) {

  #pickup div.serif {
    font-size: 1.44em;
    display: block;
    transform: rotate(-15deg);
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
  }

}

/**
 * Pickup
 */

#pickup div.list {
  position: relative;
  z-index: 0;
}

#pickup div.list div.item {
  border-radius: 25px;
  border: 4px solid rgb(var(--accentcolor-3));
  overflow: hidden;
  transition:
    visibility 0.5s ease-in-out 0.0s,
    opacity 0.5s ease-in-out 0.0s;
  visibility: visible;
  opacity: 1;
}

#pickup div.list div.item:not(.active) {
  width: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  transition:
    visibility 0.5s ease-in-out 0.0s,
    opacity 0.5s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

@media screen and (min-width:768px) {

  #pickup div.list div.item {
    border-radius: 60px;
    border-width: 8px;
  }

}

/**
 * 前へ / 次へ
 */

#pickup div.button {
  width: 30px;
  height: 40px;
  padding: 10px;
  cursor: pointer;
  background: url("../_image/_common/icon-arrow-1.png") center center / 10px 20px no-repeat;
  position: absolute;
  z-index: 2;
  top: calc(50% - 20px);
}

#pickup div.button.prev {
  transform: scaleX(-1);
  left: 10px;
}

#pickup div.button.next {
  right: 10px;
}

@media screen and (min-width:768px) {

  #pickup div.button {
    width: 34px;
    height: 56px;
    background-size: 14px 26px;
    top: calc(50% - 28px);
  }

  #pickup div.button.prev {
    left: 30px;
  }

  #pickup div.button.next {
    right: 30px;
  }

}

/**
 * ページャー
 */

#pickup ul.pager {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#pickup ul.pager li {
  width: 10px;
  height: 10px;
  margin: 3px;
  border-radius: 9999px;
  border: 2px solid #b9b9b9;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: #fff;
}

#pickup ul.pager li.active {
  background-color: #b9b9b9;
}

@media screen and (min-width:768px) {

  #pickup ul.pager {
    margin-top: 20px;
  }

  #pickup ul.pager li {
    width: 12px;
    height: 12px;
    margin: 5px;
  }

}

/** ***************************************************************************
 * さくら産後院
 * ************************************************************************* */

#sangoin {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/**
 * ビジュアル
 */

#sangoin div.visual {
  max-width: none;
  width: var(--innerWidth);
  height: 50vw;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: -1;
  left: var(--innerCenter);
  clip-path: shape(
    from 0 18px,
    curve to 100% 8px with 35% 40px / 65% -17px,
    vline to calc(100% - 16px),
    curve to 0 calc(100% - 8px) with 65% calc(100% - 40px) / 33% calc(100% + 17px),
    close
  );
}

@media screen and (min-width:768px) {

  #sangoin div.visual {
    height: 40vw;
    clip-path: shape(
      from 0 30px,
      curve to 100% 30px with 30% 150px / 65% -70px,
      vline to calc(100% - 40px),
      curve to 0 calc(100% - 40px) with 65% calc(100% - 145px) / 33% calc(100% + 80px),
      close
    );
  }

}

/**
 * 内容
 */

#sangoin div.content {
  margin-top: -6em;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}

/* 内容1 */

#sangoin div.content div.content-1 {
  color: #fff;
  letter-spacing: 0.25em;
  line-height: 2.5;
  font-weight: 400;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

#sangoin div.content div.content-1 span {
  padding: 0.75em 0.375em;
  border-radius: 6px;
  background-color: rgb(var(--accentcolor-3));
}

#sangoin div.content div.content-1 span:nth-of-type(2) {
  margin-top: 3em;
}

#sangoin div.content div.content-1 span:nth-of-type(3) {
  margin-top: 2em;
}

@media screen and (min-width:768px) {

  #sangoin div.content div.content-1 {
    font-size: 1.125em;
  }

}

/* 内容2 */

#sangoin div.content div.content-2 {
  margin-top: 8em;
  margin-left: 1em;
}

@media screen and (min-width:768px) {

  #sangoin div.content div.content-2 {
    width: calc(100% - 200px);
    margin-top: 3em;
    margin-left: auto;
    order: +1;
  }

}

/* 内容3 */

#sangoin div.content div.content-3 {
  margin-top: 2em;
}

@media screen and (min-width:768px) {

  #sangoin div.content div.content-3 {
    width: calc(100% - 200px);
    margin-top: unset;
    margin-left: auto;
    order: +1;
  }

}

/* 内容4 */

#sangoin div.content div.content-4 {
  width: 100%;
  margin-top: 2em;
}

#sangoin div.content div.content-4 ul.concept {
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

#sangoin div.content div.content-4 ul.concept li {
  text-align: center;
}

#sangoin div.content div.content-4 ul.concept img {
  margin: auto;
  display: block;
}

@media screen and (min-width:768px) {

  #sangoin div.content div.content-4 {
    width: calc(100% - 200px);
    margin-top: 8em;
    margin-left: auto;
  }

  #sangoin div.content div.content-4 ul.concept {
    justify-content: flex-start;
  }

  #sangoin div.content div.content-4 ul.concept li {
    min-width: 25%;
  }

}

/* 総合案内はこちら */

#sangoin div.content div.button {
  width: 100%;
  margin-top: 2em;
}

#sangoin div.content div.button a {
  width: 100%;
}

@media screen and (min-width:768px) {

  #sangoin div.content div.button {
    width: calc(100% - 200px);
    margin-top: 3em;
    margin-left: auto;
    order: +1;
  }

  #sangoin div.content div.button a {
    width: unset;
  }

}

/** ***************************************************************************
 * さくら産院
 * ************************************************************************* */

#sanin {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

/**
 * セリフ
 */

#sanin div.serif {
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 1.389em;
  text-align: center;
}

/**
 * 内容
 */

#sanin div.content {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 0 80px;
  color: #fff;
  font-weight: 400;
  position: relative;
  z-index: 0;
}

#sanin div.content::after {
  content: '';
  max-width: none;
  width: var(--innerWidth);
  height: 100%;
  background: url("../_image/index/sanin-bg.jpg") center center / cover no-repeat;
  position: absolute;
  z-index: -1;
  top: 0;
  left: var(--innerCenter);
}

@media screen and (min-width:768px) {

  #sanin div.content {
    padding: 100px 0 200px;
  }

}

/* タイトル */

#sanin div.content .section-title {
  width: fit-content;
  margin: 0 auto 20px;
  padding: 0 0.75em 0.25em;
  line-height: 1.5;
  font-size: 1.778em;
  border-bottom: 3px dotted #fff;
}

/* テキスト */

#sanin div.content div.text {
  text-align: center;
}

/* ボタン */

#sanin div.content div.button {
  margin-top: 30px;
  text-align: center;
}

#sanin div.content div.button a {
  min-width: 300px;
}

@media screen and (min-width:768px) {

  #sanin div.content div.button {
    margin-top: 40px;
  }

}

/**
 * 画像
 */

#sanin div.image {
  margin-top: -50px;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media screen and (min-width:768px) {

  #sanin div.image {
    margin-top: -130px;
  }

}
