@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

body.layout-index
#header::before {
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

body.layout-index.scroll-active
#header::before {
  visibility: visible;
  opacity: 1;
}

#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 {
  padding-bottom: 10px;
  position: relative;
  z-index: 0;
}

#visual::after {
  content: '';
  max-width: none;
  width: var(--innerWidth);
  height: 50px;
  background-color: rgb(var(--accentcolor-2));
  position: absolute;
  z-index: -1;
  left: calc(50% - (var(--innerWidth) / 2));
  bottom: 0;
}

@media screen and (min-width:768px) {

  #visual {
    height: 700px;
    padding-bottom: 80px;
  }

  #visual::after {
    height: 200px;
  }

}

/**
 * テキスト
 */

#visual div.text {
  padding-top: 1em;
  letter-spacing: 0.25em;
  line-height: 2;
  font-size: 1.25em;
  font-weight: 300;
  writing-mode: vertical-rl;
  text-orientation: upright;
  flex-shrink: 0;
}

@media screen and (min-width:768px) {

  #visual div.text {
    padding-top: 3em;
    letter-spacing: 0.5em;
    font-size: 1.389em;
  }

}

/**
 * 画像
 */

#visual div.image {
  max-width: none;
  width: calc(var(--innerWidth) / 2 + 50% - 90px);
  height: 100%;
  border-radius: unset;
  border-top-left-radius: 100px;
  background-position:
    center bottom,
    center bottom;
  background-size:
    cover,
    0 0;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 90px;
}

@media screen and (min-width:768px) {

  #visual div.image {
    width: calc(var(--innerWidth) / 2 + 50% - 130px);
    height: 640px;
    background-size:
      0 0,
      cover;
    left: 130px;
  }

}

/**
 * ボタン
 */

#visual div.button {
  display: none;
}

@media screen and (min-width:768px) {

  #visual div.button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    z-index: 2;
    left: 90px;
    bottom: 20px;
  }

  #visual div.button a {
    text-decoration: none;
  }

  #visual div.button > * ~ * {
    margin-left: 20px;
  }

}

/** ***************************************************************************
 * お知らせ
 * ************************************************************************* */

#topic {
  margin-top: 0;
  padding-bottom: 100px;
}

#news {
  position: relative;
  z-index: 0;
}

@media screen and (min-width:768px) {

  #topic {
    padding-bottom: 240px;
  }

  #news {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 30px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

}

/**
 * セリフ
 */

#news div.serif {
  display: none;
}

@media screen and (min-width:768px) {

  #news div.serif {
    font-size: 1.44em;
    display: block;
    transform: rotate(10deg);
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
  }

}

/**
 * タイトル
 */

#news .section-title {
  margin-bottom: 10px;
  color: rgb(var(--accentcolor-3));
  line-height: 1.5;
  font-size: 1.286em;
  font-weight: 500;
  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;
    font-size: 1.556em;
    display: unset;
    flex-shrink: 0;
  }

  #news .section-title::after {
    content: '';
    width: 1.875em;
    height: 1.875em;
    margin: 5px -5px 0 auto;
    background: url("../_image/_common/icon-arrow-2.png") 0 0 / 100% 100% no-repeat;
    display: block;
  }

}

/**
 * お知らせ
 */

#news div.news {
  padding: 10px 20px 30px;
  border-radius: 20px;
  background-color: rgb(var(--accentcolor-1));
}

@media screen and (min-width:768px) {

  #news div.news {
    padding: 30px 40px;
    border-radius: 40px;
    flex-grow: 1;
  }

}

/**
 * 一覧
 */

#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 a {
    padding: 5px;
    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: 5px;
  text-align: center;
}

#news div.news div.button a {
  padding: 5px;
  font-weight: 500;
  border-bottom: 1px dashed rgb(var(--accentcolor-3));
  text-decoration: none;
  display: inline-block
}

@media screen and (min-width:768px) {

  #news div.news div.button {
    margin-top: 10px;
  }

}

/** ***************************************************************************
 * 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;
  }

}

/** ***************************************************************************
 * 当院について
 * ************************************************************************* */

#about {
  margin-top: -40px;
  padding-top: 60px;
  position: relative;
  z-index: 0;
}

#about::after {
  content: '';
  width: var(--innerWidth);
  max-width: none;
  height: 100%;
  background-color: #fff;
  position: absolute;
  z-index: -1;
  top: 0;
  left: var(--innerCenter);
  clip-path: shape(
    from 0 18px,
    curve to 100% 8px with 35% 40px / 65% -17px,
    vline to 100%,
    hline to 0%,
    close
  );
}

#about div.contents {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

@media screen and (min-width:768px) {

  #about {
    margin-top: -80px;
    padding-top: 200px;
    display: block;
  }

  #about::after {
    clip-path: shape(
      from 0 30px,
      curve to 100% 30px with 30% 150px / 65% -70px,
      vline to 100%,
      hline to 0%,
      close
    );
  }

  #about div.contents {
    display: block;
    position: relative;
    z-index: 0;
  }

}

/**
 * 内容
 */

#about div.content {
  display: contents;
}

@media screen and (min-width:768px) {

  #about div.content {
    width: 45%;
    display: block;
  }

}

/* セリフ */

#about div.serif {
  width: fit-content;
  margin-bottom: -10px;
  font-size: 1.44em;
  transform: rotate(-15deg);
  order: 1;
}

@media screen and (min-width:768px) {

  #about div.serif {
    margin-bottom: 10px;
  }

}

/* タイトル */

#about .section-title {
  width: fit-content;
  padding: 10px 60px 20px 40px;
  font-family: 'Kiwi Maru', serif;
  font-size: 1.11em;
  font-weight: 500;
  background: url("../_image/index/image-bg-1.png") center bottom / 100% auto no-repeat;
  position: relative;
  z-index: 2;
  order: 2;
}

@media screen and (min-width:768px) {

  #about .section-title {
    padding: 10px 60px 20px 40px;
    font-size: 1.556em;
    position: relative;
    z-index: 2;
    order: 2;
  }

}

/* テキスト */

#about div.text {
  margin-top: 20px;
  order: 4;
}

@media screen and (min-width:768px) {

  #about div.text {
    margin-top: 30px;
  }

}

/* 当院について */

#about div.button {
  margin-top: 30px;
  text-align: center;
  order: 5;
}

#about div.button a {
  min-width: 300px;
}

@media screen and (min-width:768px) {

  #about div.button {
    margin-top: 30px;
    text-align: right;
  }

  #about div.button a {
    min-width: unset;
  }

}

/**
 * 画像
 */

#about div.image {
  max-width: none;
  width: calc(100% + 20px);
  height: 50vw;
  margin-top: -20px;
  margin-right: -20px;
  border-radius: unset;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  order: 3;
}

@media screen and (min-width:768px) {

  #about div.image {
    width: calc(var(--innerWidth) / 2);
    height: 100%;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 0;
  }

}

/** ***************************************************************************
 * ご来院の方へ
 * ************************************************************************* */

/**
 * タイトル
 */

#info .section-title {
  margin-bottom: 25px;
  letter-spacing: 2px;
  line-height: 1.5;
  font-size: 1.375em;
  text-align: center;
}

#info .section-title::before {
  content: attr(data-en);
  margin-bottom: -15px;
  color: rgb(var(--accentcolor-1));
  line-height: 1;
  font-family: 'Kiwi Maru', serif;
  font-size: 2em;
  font-weight: 500;
  display: block;
}

@media screen and (min-width:768px) {

  #info .section-title {
    margin-bottom: 50px;
    font-size: 1.556em;
  }

  #info .section-title::before {
    margin-bottom: -30px;
    font-size: 3.308em;
  }

}

/**
 * ボタン
 */

#info div.button div.item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#info div.button div.item:nth-child(even) {
  flex-direction: row-reverse;
}

#info div.button a {
  width: 100%;
  margin: 5px 0;
}

@media screen and (min-width:768px) {

  #info div.button a {
    width: unset;
    min-width: 370px;
    margin: 10px;
  }

}

/**
 * 内容
 */

#info div.content {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/** ***************************************************************************
 * サロン
 * ************************************************************************* */

#salon {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/**
 * ビジュアル
 */

#salon 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) {

  #salon 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
    );
  }

}

/**
 * 内容
 */

#salon div.content {
  margin-top: -6em;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: space-between;
}

#salon div.content .text-1 {
  color: #fff;
  letter-spacing: 0.25em;
  line-height: 2.5;
  font-weight: 400;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

#salon div.content .text-1 span {
  padding: 0.75em 0.375em;
  border-radius: 6px;
  background-color: rgb(var(--accentcolor-3));
}

#salon div.content .text-1 span:nth-of-type(2) {
  margin-top: 3em;
}

#salon div.content .text-1 span:nth-of-type(3) {
  margin-top: 2em;
}

#salon div.content .text-2 {
  margin-top: 8em;
  padding-right: 1em;
}

@media screen and (min-width:768px) {

  #salon div.content {
    flex-direction: row;
  }

  #salon div.content .text-1 {
    font-size: 1.125em;
  }

  #salon div.content .text-2 {
    padding-left: 3em;
    padding-right: unset;
  }

}

/**
 * リンク
 */

#salon div.link {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#salon div.link a {
  margin: 10px 0;
  text-decoration: none;
}

#salon div.link a img {
  filter: none;
}

@media screen and (min-width:768px) {

  #salon div.link a {
    margin: 15px;
  }

}

/** ***************************************************************************
 * さくら産後院
 * ************************************************************************* */

#sangoin {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

/**
 * セリフ
 */

#sangoin div.serif {
  margin-bottom: 20px;
  line-height: 1.5;
  font-size: 1.389em;
  text-align: center;
}

/**
 * 内容
 */

#sangoin 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;
}

#sangoin div.content::after {
  content: '';
  max-width: none;
  width: var(--innerWidth);
  height: 100%;
  background: url("../_image/index/sangoin-bg.jpg") center center / cover no-repeat;
  position: absolute;
  z-index: -1;
  top: 0;
  left: var(--innerCenter);
}

@media screen and (min-width:768px) {

  #sangoin div.content {
    padding: 100px 0 200px;
  }

}

/* タイトル */

#sangoin 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;
}

/* テキスト */

#sangoin div.content div.text {
  text-align: center;
}

/* ボタン */

#sangoin div.content div.button {
  margin-top: 30px;
  text-align: center;
}

#sangoin div.content div.button a {
  min-width: 300px;
}

@media screen and (min-width:768px) {

  #sangoin div.content div.button {
    margin-top: 40px;
  }

}

/**
 * 画像
 */

#sangoin div.image {
  margin-top: -50px;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media screen and (min-width:768px) {

  #sangoin div.image {
    margin-top: -130px;
  }

}
