@charset "utf-8";

/** ***************************************************************************
 * 当院の理念
 * ************************************************************************* */

@media screen and (min-width:768px) {

  #philosophy {
    margin-bottom: -100px;
    position: relative;
    z-index: 2;
  }

}

/**
 * 理念
 */

#philosophy div.philosophy dl.list div.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#philosophy div.philosophy dl.list dt {
  margin-bottom: 20px;
  font-size: 1.22em;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#philosophy div.philosophy dl.list dd {
  width: 20em;
}

@media screen and (min-width:768px) {

  #philosophy div.philosophy dl.list dd {
    width: unset;
    font-size: 0.89em;
  }

}

/**
 * さくら産院の診療方針
 */

#philosophy-1 div.contents {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

@media screen and (min-width:768px) {

  #philosophy-1 div.contents {
    display: block;
    position: relative;
    z-index: 0;
  }

}

/* 内容 */

@media screen and (min-width:768px) {

  #philosophy-1 div.contents div.content {
    width: 45%;
  }

}

/* 画像 */

#philosophy-1 div.contents div.image {
  height: 50vw;
  margin-bottom: 20px;
  border-radius: 20px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  order: -1;
}

@media screen and (min-width:768px) {

  #philosophy-1 div.contents div.image {
    width: calc(var(--innerWidth) / 2);
    max-width: none;
    height: 370px;
    border-radius: unset;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    position: absolute;
    z-index: 1;
    top: 3em;
    left: 50%;
  }

}

/** ***************************************************************************
 * 当院の概要
 * ************************************************************************* */

#about {
  padding-top: 60px;
  padding-bottom: 100px;
}

#about::after {
  clip-path: shape(
    from 0 18px,
    curve to 100% 8px with 35% 40px / 65% -17px,
    vline to 100%,
    hline to 0%,
    close
  );
}

@media screen and (min-width:768px) {

  #about {
    padding-top: 200px;
    padding-bottom: 200px;
  }

  #about::after {
    clip-path: shape(
      from 0 30px,
      curve to 100% 30px with 30% 150px / 65% -70px,
      vline to 100%,
      hline to 0%,
      close
    );
  }

}

/** ***************************************************************************
 * アクセスマップ
 * ************************************************************************* */

#map div.map {
  height: 75vw;
  position: relative;
  z-index: 0;
}

#map div.map iframe {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

@media screen and (min-width:768px) {

  #map div.map {
    height: 500px;
  }

}
