@charset "utf-8";

/* トップページ　メイン画像
----------------------------------*/
.main-visual {
  clear: both;
  line-height: 0;
  text-align: center;
  z-index: 0;
  padding-top: 0px;
  background: #f8f7f6;
  background: linear-gradient(#f8f7f6, #fff);
}
.main-visual__img {
  max-width: 1280px;
  width: 100%;
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media screen and (max-width: 991px) {
  .main-visual {
    padding-top: 60px;
  }
}
/* デフォルト
----------------------------------------------- */
.post {
  margin-bottom: 0;
}
h2 {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}
h2::before {
  display: none;
}
.bg01 {
  background-color: var(--color-main-light);
}
@media screen and (min-width: 992px) {
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.8em;
  }
  h3 {
    font-size: 1.3em;
  }
  h4 {
    font-size: 1.3em;
  }
}
/* ヘッド・タイトル部分
----------------------------------------------- */
.head-leaf {
  position: relative;
  max-width: 400px;
  margin: 0 auto 2.5em;
}
/*.head-leaf::before,
.head-leaf::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 55px;
  aspect-ratio: 1/2;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.head-leaf::before {
  left: -0.8em;
  background-image: url(../images/contents/title-leaf-l.png);
}
.head-leaf::after {
  right: -0.8em;
  background-image: url(../images/contents/title-leaf-r.png);
}*/
.head-leaf p,
.head-leaf h2 {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 0 1.8em;
  font-size: 1.2em;
  font-family: var(--font-min);
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1.6;
  text-align: center;
}
.head-leaf h2 {
  font-size: 1.5em;
  font-weight: 600;
}
@media screen and (min-width: 768px) {
  .head-leaf {
    max-width: 760px;
    width: 80vw;
    margin-bottom: 4em;
  }
  .head-leaf p {
    font-size: min(3.2vw, 1.75em);
  }
  .head-leaf h2 {
    font-size: min(4vw, 2.5em);
  }
  .head-leaf::before,
  .head-leaf::after {
    width: 70px;
  }
}
/* イントロ
----------------------------------------------- */
#home-intro {
  padding-top: 2em;
  padding-bottom: 2em;
}
@media screen and (min-width: 768px) {
  #home-intro {
    padding-top: 3em;
    padding-bottom: 3em;
  }
}
/* 第一印象が気になってきたあなたへ
----------------------------------------------- */
.home-check__title {
  margin-bottom: 2em;
}
.home-check__title h2 {
  font-size: 1.5em;
  font-weight: 600;
  color: var(--color-main-dark);
  font-family: var(--font-min);
  font-weight: 500;
  font-size: 1.5em;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .home-check__title h2 {
    font-size: min(4vw, 2.5em);
  }
}
#home-check {
  position: relative;
}
#home-check::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  aspect-ratio: 1/1;
  background: url(../images/contents/arrow-u.png) no-repeat center center;
  background-size: contain;
}
.home-check__text01 {
  font-size: 1.25em;
  text-align: center;
  margin-bottom: 0.5em;
}
.home-check__text02 {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.4em;
  padding: 0.3em 0 0.4em;
  text-align: center;
  background: linear-gradient(90deg, transparent 0%, #fff 15%, #fff 85%, transparent 100%);
}
@media screen and (min-width: 768px) {
  #home-check .box07 {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto 2em;
    padding: 2em 2.5em 0.5em;
    font-size: 1.25em;
  }
  #home-check .checklist01 {
    max-width: 750px;
  }
  .home-check__text01 {
    font-size: min(3vw, 1.7em);
  }
  .home-check__text02 {
    font-size: min(4.2vw, 2.4em);
  }
}
/* 選ばれている理由
----------------------------------------------- */
#home-reason .head-leaf {
  margin-bottom: 4em;
}
.home-reason__item {
  position: relative;
  margin: 3em auto 0;
  padding-top: 30px;
  width: 100%;
  max-width: 1030px;
  border: solid 1px var(--color-sub);
  background: #fff;
}
.home-reason__number {
  position: absolute;
  top: -40px;
  left: 3%;
  width: 80px;
  aspect-ratio: 1/1;
  z-index: 1;
}
.home-reason__title {
  margin-top: 0;
  padding: 0.7em 5%;
  border: none;
  background: #8093a6;
  color: #fff;
  font-weight: 600;
  font-size: 1.2em;
}
.home-reason__text {
  padding: 0.5em 5%;
}
@media screen and (max-width: 767px) {
  .home-reason__img {
    width: 90%;
    max-width: 400px;
    margin: 0 auto 0.5em;
  }
}
@media screen and (min-width: 768px) {
  #home-reason .head-leaf {
    margin-top: 3em;
    margin-bottom: 8em;
  }
  .home-reason__item {
    margin-top: 5em;
    min-height: min(30vw, 340px);
    padding-top: 6%;
    padding-bottom: 2em;
  }
  .home-reason__number {
    width: min(12vw, 120px);
    top: -50px;
    left: 20px;
  }
  .home-reason__title {
    margin-bottom: 0.6em;
    padding: 0.7em 50% 0.7em 35px;
    font-size: min(2.5vw, 1.7em);
  }
  .home-reason__img {
    position: absolute;
    top: -40px;
    right: -20px;
    width: 50%;
    max-width: 500px;
  }
  .home-reason__text {
    font-size: 1.15em;
    padding-right: 50%;
  }
  .home-reason__item:nth-child(even) .home-reason__number {
    left: auto;
    right: 20px;
  }
  .home-reason__item:nth-child(even) .home-reason__title {
    padding: 0.7em 35px 0.7em 50%;
  }
  .home-reason__item:nth-child(even) .home-reason__img {
    right: auto;
    left: -20px;
  }
  .home-reason__item:nth-child(even) .home-reason__text {
    padding-right: 0;
    padding-left: 50%;
  }
}
/* ビフォーアフター
----------------------------------------------- */
#home-beforeafter {
  position: relative;
}
#home-beforeafter::before {
  content: "";
  display: block;
  position: absolute;
  top: max(-8vw, -58px);
  right: 2vw;
  width: min(50vw, 360px);
  aspect-ratio: 2/1;
  background: url(../images/contents/beforeafter-en.png) no-repeat center center;
  background-size: contain;
}
.home-beforeafter__title {
  margin-bottom: 2em;
}
.home-beforeafter__title h2 {
  color: var(--color-main-dark);
  font-family: var(--font-min);
  font-weight: 500;
  font-size: 1.5em;
  color: #fff;
}
.home-beforeafter__item {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 767px) {
  .home-beforeafter__title h2 {
    color: var(--color-main-dark);
    text-align: center;
  }
  .home-beforeafter__item {
    margin: 0 auto 1.5em;
    width: 95%;
    max-width: 400px;
  }
}
@media screen and (min-width: 768px) {
  .home-beforeafter__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
  }
  .home-beforeafter__title {
    position: relative;
    padding: 1em 0;
    background: linear-gradient(90deg, #7288a0 0%, #7288a0 40%, transparent 100%);
  }
  .home-beforeafter__title h2 br {
    display: none;
  }
}
@media screen and (min-width: 992px) {
  .home-beforeafter__title {
    margin-bottom: 3em;
  }
  .home-beforeafter__title h2 {
    font-size: 2.25em;
  }
}
/* メッセージ
----------------------------------------------- */
#home-message {
  background: url(../images/contents/home-message-bg.png) no-repeat top right, #faf9f7;
  background-size: 50vw;
}
.home-message__head {
  margin-bottom: 2.5em;
  font-size: min(5.5vw, 1.8em);
  font-family: var(--font-min);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.7;
  text-align: center;
}
.home-message__img {
  position: relative;
}
.home-message__img::before {
  content: "";
  display: block;
  position: absolute;
  top: -30px;
  left: -45px;
  width: 180px;
  aspect-ratio: 2/1;
  background: url(../images/contents/home-message-en.png) no-repeat center center;
  background-size: contain;
}
.home-message__title {
  color: var(--color-sub);
  font-family: var(--font-min);
  font-weight: 600;
  margin-bottom: 1em;
}
@media screen and (max-width: 991px) {
  .home-message__img {
    width: 80%;
    max-width: 400px;
    margin: 0 auto 1.5em;
    text-align: center;
  }
  .home-message__title {
    text-align: center;
  }
}
@media screen and (min-width: 992px) {
  .home-message__head {
    margin-bottom: 2em;
    font-size: 2.2em;
  }
  .home-message__content {
    position: relative;
  }
  .home-message__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
  }
  .home-message__img::before {
    top: -50px;
    left: -20px;
    width: 240px;
  }
  .home-message__text {
    margin-left: calc(50% + 50px);
    width: calc(50% - 50px);
  }
}
/* お知らせ
----------------------------------------------- */
.home-news__title {
  color: var(--color-main-dark);
  font-family: var(--font-min);
  font-weight: 600;
  margin-bottom: 1em;
  text-align: center;
}

/* リスト */
.postList02 {
}
.postList02 .postList__item {
  margin-bottom: 1.5em;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.postList02 .postList__link {
  display: block;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease-out;
  border: solid 1px var(--color-border);
  background: #fff;
}
.postList02 .postList__img {
  position: relative;
  aspect-ratio: 8/5;
  display: block;
  overflow: hidden;
}
.postList02 .postList__img img {
  transform: scale(1);
  transition: all 0.3s ease-out;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.postList02 .postList__img .postList__cat {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  background: var(--color-main);
  color: #fff;
  font-size: 0.8em;
  padding: 0.4em 1em 0.5em;
}
.postList02 .postList__txt {
  padding: 0.2em 0.8em 0.8em;
  transition: all 0.3s ease-out;
}
.postList02 .postList__day {
  margin-bottom: 0.5em;
  font-size: 0.7em;
}
.postList02 h3.postList__ttl {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.9em;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.postList02 .postList__link:hover {
  background: var(--color-main-light);
}
.postList02 .postList__link:hover .postList__img img {
  transform: scale(1.1);
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  .postList02 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
  }
}
