body {
  padding-top: 0;
}

.mainimage__wrapepr {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #99ca5e;
  box-shadow: 0px 0px 30px 0px #fafcd5,
    0px 0px 15px 0px rgba(161, 165, 79, 0.25);
}
.swiper-wrapper:before {
  position: absolute;
  z-index: 2;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
}

.mainimage__photo {
  position: absolute;
  z-index: 5;
  min-width: 100%;
  min-height: 100%;
}
.swiper-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.swiper-slide {
  width: 100%;
  height: 100%;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-pagination {
  z-index: 3;
}
.swiper-pagination-bullet {
  background-color: var(--color-mossgreen);
}

@media screen and (min-width: 1440px) {
  .mainimage__wrapepr {
    height: 95vh;
    min-height: 600px;
    border-radius: 0 0 200px 200px;
  }
  .swiper-wrapper:before {
    background: linear-gradient(90deg, #f5f9f0 35%, rgba(255, 255, 255, 0) 70%);
  }
}
@media screen and (max-width: 1439px) and (min-width: 769px) {
  .mainimage__wrapepr {
    height: 100vh;
    min-height: 300px;
    max-height: 700px;
    border-radius: 0 0 50px 50px;
  }
  .swiper-wrapper:before {
    opacity: 0.75;
    background: linear-gradient(
      360deg,
      #f5f9f0 27.82%,
      rgba(255, 255, 255, 0) 70%
    );
  }
}
@media screen and (max-width: 768px) {
  .mainimage__wrapepr {
    height: 95vh;
    min-height: 300px;
    max-height: 700px;
    border-radius: 0 0 50px 50px;
  }
  .swiper-wrapper:before {
    background: linear-gradient(
      360deg,
      #f5f9f0 27.82%,
      rgba(255, 255, 255, 0) 70%
    );
  }
}

.mainimage__inner {
  position: absolute;
  z-index: 60;
}
.mainimage__headline {
  font-weight: 700;
}
.mainimage__headline + p {
  margin-top: 0.75em;
  line-height: 1.5;
}
.mainimage__contact {
  display: table;
  margin-top: 20px;
  line-height: 1;
  box-shadow: 0px 2px 8px #fcfde8;
  background-color: var(--color-mossgreen);
  text-align: center;
  border-radius: 10px;
}
.mainimage__contact {
  text-decoration: none;
}
.mainimage__contact span {
  display: table;
  margin: 0 auto;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}

.mainimage__contact.-tel {
  letter-spacing: 0.15em;
}

@media screen and (min-width: 1440px) {
  .mainimage__inner {
    width: 90%;
    max-width: 1600px;
    left: 50%;
    bottom: 100px;
    text-align: left;
    transform: translateX(-50%);
  }
  .mainimage__headline {
    font-size: 48px;
  }
  .mainimage__headline + p {
    font-size: 32px;
  }
  .mainimage__contact span {
    font-size: 24px;
  }
  .mainimage__contact {
    margin-top: 20px;
    padding: 20px 50px;
  }
}
@media screen and (max-width: 1439px) and (min-width: 769px) {
  .mainimage__inner {
    width: 90%;
    left: 50%;
    bottom: 40px;
    text-align: center;
    transform: translateX(-50%);
  }
  .mainimage__headline {
    font-size: clamp(16px, 24px, 8vw);
    line-height: 1.75;
    text-align: center;
  }
  .mainimage__headline + p {
    font-size: 18px;
    text-align: center;
  }
  .mainimage__contact span {
    font-size: 18px;
  }
  .mainimage__contact {
    margin: 20px auto 0;
    padding: 15px 3%;
  }
}
@media screen and (max-width: 768px) {
  .mainimage__inner {
    width: 90%;
    left: 50%;
    bottom: 40px;
    text-align: center;
    transform: translateX(-50%);
  }
  .mainimage__headline {
    font-size: clamp(16px, 24px, 6.5vw);
    line-height: 1.75;
    text-align: center;
  }
  .mainimage__headline + p {
    font-size: 16px;
    text-align: center;
  }
  .mainimage__contact span {
    font-size: 16px;
  }
  .mainimage__contact {
    margin: 20px auto 0;
    padding: 15px 5%;
  }
}

.outline__headline {
  position: relative;
  font-weight: 500;
  text-align: center;
  display: table;
  margin: 0 auto;
}
.outline__headline:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-mossgreen);
}

.outline__inner {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 1540px;
  max-width: 90%;
  margin: 30px auto 0;
}

.outline__inner > li {
  overflow: hidden;
}

.outline__inner a {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4.8 / 3.2;
  text-decoration: none;
  pointer-events: none;
}
.outline__inner span {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-black);
  background: rgba(255, 255, 255, 0.6);
}

.outline__photo {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.outline__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 1025px) {
  .outline__headline {
    font-size: 36px;
    line-height: 2em;
  }
  .outline__inner span {
    font-size: 18px;
    padding: 0.5em;
  }
}
@media screen and (max-width: 1024px) and (min-width: 769px) {
  .outline__headline {
    font-size: 24px;
    line-height: 2em;
  }
  .outline__inner span {
    font-size: 16px;
    padding: 0.5em;
  }
}
@media screen and (max-width: 768px) {
  .outline__headline {
    font-size: 20px;
    line-height: 2em;
  }
}

@media screen and (min-width: 1025px) {
  .outline__wrapper {
    margin-top: 150px;
  }
  .outline__headline:after {
    height: 5px;
    border-radius: 3px;
  }
  .outline__inner {
    margin: 30px auto 0;
  }

  .outline__inner > li {
    width: 31.3%;
    margin-top: 25px;
    margin-right: 2.66%;
    border-radius: 15px;
    overflow: hidden;
  }
  .outline__inner > li:nth-child(3n) {
    margin-right: 0;
  }
}
@media screen and (max-width: 1024px) {
  .outline__wrapper {
    margin-top: 75px;
  }
  .outline__headline:after {
    height: 3px;
    border-radius: 2px;
  }
  .outline__inner {
    margin: 15px auto 0;
  }
  .outline__inner > li {
    width: 48.5%;
    margin-top: 15px;
    margin-right: 3%;
    border-radius: 10px;
    overflow: hidden;
  }
  .outline__inner > li:nth-child(2n) {
    margin-right: 0;
  }
  .outline__inner span {
    padding: 0.5em;
    text-align: left;
  }
}

.outline__subline {
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: var(--color-black);
}

.outline__wrapper ul.notice {
  margin-top: 1.5em;
  font-size: 12px;
}

.medicine__wrapper {
  width: 1200px;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 0px 15px rgba(161, 165, 79, 0.25), 0px 0px 30px #fafcd5;
  text-align: left;
}

.medicine__headline {
  color: var(--color-mossgreen);
  font-weight: 700;
}

.medicine__wrapper p {
  margin-top: 2em;
  line-height: 2;
}

.medicine__headline + p {
  margin-top: 1.25em;
}

.medicine__image1 {
  margin: 25px auto 0;
}

@media screen and (min-width: 1025px) {
  .medicine__wrapper {
    margin: 100px auto 0;
    padding: 75px 50px;
    border-radius: 50px;
  }
  .medicine__headline {
    font-size: 32px;
    padding-bottom: 0.75em;
    border-bottom: solid 5px var(--color-mossgreen);
  }
  * + .medicine__headline {
    margin-top: 100px;
  }

  .outline__subline {
    margin-top: 90px;
    font-size: 32px;
  }

  .medicine__wrapper p {
    margin-top: 2em;
    font-size: 18px;
    line-height: 2;
  }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
  .medicine__wrapper {
    margin: 30px auto 0;
    padding: 30px 30px;
    border-radius: 20px;
  }
  .medicine__headline {
    font-size: 18px;
    padding-bottom: 0.75em;
    border-bottom: solid 3px var(--color-mossgreen);
  }
  * + .medicine__headline {
    margin-top: 50px;
  }

  .outline__subline {
    margin-top: 60px;
    padding: 0 3%;
    font-size: clamp(12px, 22px, 4vw);
  }

  .medicine__wrapper p {
    margin-top: 1em;
    font-size: 16px;
    line-height: 2;
  }
}

@media screen and (max-width: 768px) {
  .medicine__wrapper {
    margin: 30px auto 0;
    padding: 30px 30px;
    border-radius: 20px;
  }
  .medicine__headline {
    font-size: 18px;
    padding-bottom: 0.75em;
    border-bottom: solid 3px var(--color-mossgreen);
  }
  * + .medicine__headline {
    margin-top: 50px;
  }

  .outline__subline {
    margin-top: 45px;
    padding: 0 3%;
    font-size: clamp(12px, 18px, 4vw);
  }

  .medicine__wrapper p {
    margin-top: 1em;
    font-size: 16px;
    line-height: 2;
  }
}

.process__wrapper {
  max-width: 1160px;
}
.process__wrapper .button {
  margin-top: 50px;
}

.process__headline--main {
  font-size: 36px;
  font-weight: 700;
}
.process__headline--sub {
  margin-top: 1em;
  color: var(--color-mossgreen);
  font-size: 16px;
  font-weight: 500;
}

.process__inner {
  counter-reset: item;
  margin-top: 25px;
}
.process__inner li,
.row_process {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 0px 15px rgba(161, 165, 79, 0.15), 0px 0px 30px #fafcd5;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
}

.process__photo {
  display: block;
  position: relative;
  width: 25%;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
.process__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process__subline {
  position: relative;
  font-size: 24px;
}
.process__desc {
  position: relative;
  text-align: left;
}
.process__desc:before {
  display: block;
  text-align: center;
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  transform: translateY(-50%);
  font-weight: 700;
  color: #fff;
  background-color: var(--color-mossgreen);
}

.process__subline + p {
  margin: 1em auto 0;
  font-weight: 500;
  text-align: left;
}

@media screen and (min-width: 783px) {
  .process__wrapper {
    width: 90%;
    margin: 150px auto 0;
  }
  .process__inner li,
  .row_process {
    width: 85%;
    display: flex;
    justify-content: space-between;
  }
  .process__inner li:nth-child(2),
  .row_process:nth-child(2) {
    margin-left: 3%;
  }
  .process__inner li:nth-child(3),
  .row_process:nth-child(3) {
    margin-left: 6%;
  }
  .process__inner li:nth-child(4),
  .row_process:nth-child(4) {
    margin-left: 9%;
  }
  .process__inner li:nth-child(5),
  .row_process:nth-child(5) {
    margin-left: 12%;
  }
  .process__inner li:nth-child(6),
  .row_process:nth-child(6) {
    margin-left: 15%;
  }
  .process__subline {
    font-size: 24px;
  }
  .process__desc {
    padding-top: 40px;
    padding-bottom: 36px;
    padding-left: calc(70px + 10%);
    width: 70%;
  }
  .process__desc:before {
    width: 70px;
    height: 70px;
    border-radius: 35px;
    line-height: 70px;
    left: 8%;
    top: 50%;
    font-size: 30px;
  }
}
@media screen and (max-width: 782px) {
  .process__wrapper {
    width: 80%;
    margin: 75px auto 0;
  }
  .process__inner li,
  .row_process {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
  }
  .process__subline {
    font-size: 18px;
    text-align: center;
  }
  .process__subline + p {
    font-size: 14px;
  }
  .process__photo {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 8 / 5;
    font-size: 0;
    line-height: 0;
    margin: 0 auto 20px;
  }
  .process__desc {
    padding-top: 40px;
    padding-bottom: 18px;
    padding-left: 0;
    width: 80%;
    margin: 0 auto;
  }
  .process__desc:before {
    width: 35px;
    height: 35px;
    border-radius: 18px;
    line-height: 35px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    font-size: 18px;
  }
  .process__wrapper .button {
    width: 100%;
  }
}

.aboutus__wrapper {
  background: #ffffff;
  box-shadow: 0px 0px 15px rgba(161, 165, 79, 0.25), 0px 0px 30px #fafcd5;
}
.aboutus__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.aboutus__headline {
  color: var(--color-mossgreen);
  font-weight: 700;
  font-size: 48px;
}

.aboutus__subline--main {
  font-size: 36px;
  font-weight: 700;
}
.aboutus__subline--sub {
  margin-top: 1em;
  color: var(--color-mossgreen);
  font-size: 16px;
  font-weight: 500;
}

@media screen and (min-width: 1440px) {
  .aboutus__wrapper {
    margin-top: 200px;
    padding: 150px 5%;
    border-radius: 200px;
  }
  .aboutus__headline {
    font-size: 48px;
  }
  .aboutus__block {
    margin-top: 100px;
  }
  .aboutus__block + .aboutus__block {
    margin-top: 150px;
  }
}
@media screen and (max-width: 1439px) {
  .aboutus__wrapper {
    margin-top: 100px;
    padding: 75px 5%;
    border-radius: 50px;
  }
  .aboutus__headline {
    font-size: 24px;
  }
  .aboutus__block {
    margin-top: 50px;
  }
  .aboutus__block + .aboutus__block {
    margin-top: 75px;
  }
}

/*
選ばれる理由
===================================== */

.reason__inner {
  counter-reset: item;
}
.reason__inner li {
  position: relative;
  text-align: left;
}
.reason__inner p {
  line-height: 1.75;
}
.reason__desc {
  position: relative;
}

.reason__desc:before {
  display: table;
  position: absolute;
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  color: var(--color-mossgreen);
  font-weight: 500;
  line-height: 1;
}

.reason__photo {
  display: block;
  position: relative;
  overflow: hidden;
}

.reason__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 1024px) {
  .reason__inner {
    width: 950px;
    margin: 0 auto;
  }
  .reason__desc {
    position: relative;
    width: 47.5%;
  }
  .reason__inner li {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .reason__inner li:nth-child(odd) .reason__photo {
    order: 1;
  }
  .reason__inner li:nth-child(odd) .reason__desc {
    order: 2;
  }
  .reason__inner li:nth-child(even) .reason__photo {
    order: 2;
  }
  .reason__inner li:nth-child(even) .reason__desc {
    order: 1;
  }

  .reason__photo {
    width: 47.5%;
    aspect-ratio: 4.5 / 2.7;
    border-radius: 20px;
  }
  .reason__inner li {
    margin-top: 55px;
    padding-bottom: 25px;
  }
  .reason__inner p {
    padding-top: 60px;
  }
  .reason__desc:before {
    font-size: 40px;
    top: 0;
    left: 0;
  }
}

@media screen and (max-width: 1023px) {
  .reason__inner {
    display: flex;
    flex-direction: column;
    position: relative;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
  }

  .reason__inner li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    border-radius: 10px;
    padding-right: 20px;
  }

  .reason__photo {
    width: 150px;
    aspect-ratio: 1 / 1;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    border-radius: 0px 15px 15px 0px;
  }
  .reason__desc {
    position: relative;
    width: calc(95% - 150px);
  }

  .reason__inner p {
    padding: 36px 0 10px;
    line-height: 1.5;
  }
  .reason__desc:before {
    font-size: 28px;
    top: 0;
    left: 0;
  }
}

.time__table {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
}
.time__table > div {
  position: relative;
  border-bottom: solid 2px #e5e4e2;
}

.time__head {
  font-weight: 700;
}

.time__table > div.-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  line-height: 1.5;
  font-weight: 700;
}

.time__table .time__am,
.time__table .time__pm {
  line-height: 60px;
}

.time__table > div.value {
  color: var(--color-mossgreen);
  font-weight: 700;
}
.time__table > div.closed:after {
  content: "";
  display: block;
  max-width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-mossgreen);
}
.time__close {
  display: flex;
  justify-content: center;
  text-align: left;
  line-height: 1.5;
}

@media screen and (min-width: 1025px) {
  .time__table {
    margin-top: 50px;
    grid-template-columns: 260px repeat(7, 1fr);
  }
  .time__table > div {
    padding: 1em;
  }
  .time__table > div.-left,
  .time__head {
    font-size: 20px;
  }
  .time__table .time__am,
  .time__table .time__pm {
    line-height: 60px;
  }
  .time__table > div.value {
    font-size: 30px;
  }
  .time__table > div.closed:after {
    width: 30px;
    height: 4px;
  }
  .time__close {
    margin-top: 35px;
  }
  .time__wrapper .button {
    max-width: 90%;
    margin: 35px auto 0;
  }
}

@media screen and (max-width: 1024px) {
  .time__table {
    margin-top: 25px;
    grid-template-columns: 5em repeat(7, 1fr);
  }
  .time__table > div {
    padding: 0.5em 0.25em;
  }
  .time__table > div.-left,
  .time__head {
    font-size: 14px;
  }
  .time__table .time__am,
  .time__table .time__pm {
    line-height: 30px;
  }
  .time__table > div.value {
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .time__table > div.closed:after {
    width: 15px;
    height: 2px;
  }
  .time__close {
    margin-top: 35px;
  }
  .time__wrapper .button {
    margin: 30px auto 0;
  }
}

.fee-main {
  font-weight: 700;
  line-height: 1;
}
.fee-sub {
  font-weight: 500;
  line-height: 1;
}

@media screen and (min-width: 769px) {
  .fee-main {
    margin-top: 30px;
    font-size: 36px;
  }
  .fee-sub {
    margin-top: 1em;
    font-size: 24px;
  }
  .fee__wrapper .button {
    margin: 50px auto 0;
  }
}
@media screen and (max-width: 768px) {
  .fee-main {
    margin-top: 30px;
    font-size: 24px;
  }
  .fee-sub {
    margin-top: 1em;
    font-size: 16px;
  }
  .fee__wrapper .button {
    margin: 30px auto 0;
    width: 90%;
  }
}

.faq__wrapper,
.news__wrapper {
  width: 90%;
}

@media screen and (min-width: 769px) {
  .faq__wrapper,
  .news__wrapper {
    margin: 150px auto 0;
  }
  .news__list {
    margin: 15px auto 30px;
  }
}
@media screen and (max-width: 768px) {
  .faq__wrapper,
  .news__wrapper {
    margin: 75px auto 0;
  }
  .news__list {
    margin: 0px auto 30px;
  }
  .faq__wrapper .button,
  .news__wrapper .button {
    width: 90%;
  }
}

.overview__wrapper {
  width: 90%;
  max-width: 1200px;
}
