@charset "utf-8";
/*=========================
  Common
=========================*/
/* font define */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

.maru-gothic {
  font-family: 'Zen Maru Gothic', serif;
  font-weight: 400;
  font-style: normal;
}
.en {
  font-family: 'Lato', serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 0.1em;
}

/* color */
:root {
  --main: #333333;
  --sub: #ffffff;
}

/* variables */
:root {
  --section-padding: 5rem 0;
}
@media (max-width: 960px) {
  :root {
    --section-padding: 3rem 0;
  }
}

html {
  /* scroll-behavior: smooth; */
  /* scroll-padding-top: 100px;  */
}
/* @media screen and (max-width: 960px) {
  html {
    scroll-padding-top: 0px;
  }
} */
body {
  font-family: 'Noto Sans JP', serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #585047;
  font-size: 1.125rem;
  line-height: 1.75;
  /* max-width: 1920px; */
  margin-inline: auto;
  position: relative;
  @media (max-width: 960px) {
    font-size: 1rem;
  }
}
a {
  text-decoration: none;
  transition: opacity 0.3s;
  color: inherit;
  &:hover {
    @media (any-hover: hover) {
      opacity: 0.7;
    }
  }
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  line-height: 2;
  text-align: justify;
  @media (max-width: 960px) {
    /* font-size: 1rem; */
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  /* line-height: 1; */
  font-size: inherit;
  font-weight: inherit;
}

.pc-only {
  display: initial;
}
.sp-only {
  display: none;
}
@media (max-width: 960px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: initial;
  }
}

.container {
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin-inline: auto;
}

/* button */
.button {
  --bg-color: #e89289;
  --color: #fff;
  --r: 50px;
  background-color: var(--bg-color);
  color: var(--color);
  border-radius: var(--r);
  padding: 0.5rem 1rem;
  width: fit-content;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* font-size: 1.25rem; */
  /* font-weight: bold; */
  line-height: 1.2;
  position: relative;
  .icon {
    margin-right: 0.5rem;
  }
  @media (any-hover: hover) {
    &::before {
      border-radius: var(--r);
      content: '';
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background-color: #fff;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    &:hover {
      opacity: 1;
    }
    &:hover::before {
      opacity: 0.25;
    }
  }
}

.hours-wrapper {
  .hours-table {
    background-color: #f099a3;
    color: #fff;
    padding: 0.5rem 1rem;
    display: grid;
    grid-template-columns: auto repeat(6, 1fr);
    font-size: 1rem;
    text-align: center;
    text-wrap: balance;
    margin-bottom: 0.5rem;
    .row {
      display: grid;
      grid-template-columns: subgrid;
      grid-column: 1 / -1;
      &:first-of-type {
        border-bottom: 1px solid #ffffff;
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
      }
    }
    .th {
      padding: 0.5rem 0.5rem;
    }
    .cell {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .row:not(:first-of-type) .th {
      line-height: 1;
      span:nth-of-type(1) {
      }
      span:nth-of-type(2) {
        font-size: 0.8em;
      }
    }
  }
  .text {
    font-size: 0.9rem;
  }
}

/*=========================
  header
=========================*/
header {
  position: absolute;
  z-index: 10;
  top: 0;
  width: 100%;
  padding: 1rem 1rem;
  .flex {
    display: flex;
    justify-content: space-between;
  }
  .logo-wrapper {
    .logo {
      font-size: 2.5rem;
      line-height: 1;
      font-weight: 500;
    }
  }
  .links {
    .row {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .row:nth-of-type(1) {
      margin-bottom: 0.5rem;
      .tel {
        opacity: 1;
      }
      .web {
        opacity: 1;
      }
    }
    .row:nth-of-type(2) {
      width: 100%;
      font-size: 1rem;
      .address {
        width: 35%;
        background-color: #f099a3;
        color: #fff;
        text-align: center;
        padding: 0.5rem;
      }
      .station {
        background-color: #fff;
        width: 65%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.5rem;
        .icon {
          margin-right: 0.5rem;
        }
      }
    }
  }
  .sp-hamburger {
    background-color: #f099a3;
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1001;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10%;
    width: 50px;
    height: 50px;
    aspect-ratio: 1/1;
    .line {
      height: 2px;
      width: 50%;
      background-color: #ffffff;
      transition: 0.3s;
    }
  }
  .sp-hamburger.active {
    .line {
      background-color: #ffffff;
    }
    .line:nth-child(1) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 40%;
      rotate: -45deg;
    }
    .line:nth-child(2) {
      opacity: 0;
    }
    .line:nth-child(3) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 40%;
      rotate: 45deg;
    }
  }
  .sp-nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: -120%;
    width: 90vw;
    height: 100dvh;
    background-color: #f099a3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    .nav-items {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      .nav-items__item a {
        color: #fff;
        text-align: center;
        text-wrap: balance;
        font-size: 1.2rem;
      }
    }
  }
  .sp-nav.active {
    right: 0;
  }
  .overlay {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background-color: #000;
    opacity: 0.75;
  }
  .overlay.active {
    display: block;
  }
}
body.no-scroll {
  overflow: hidden;
  height: 100%;
}
@media screen and (max-width: 960px) {
  header {
    padding: 1rem;
    .logo-wrapper {
      .logo {
        font-size: 2.5rem;
        line-height: 1;
        font-weight: 500;
        @media (max-width: 960px) {
          font-size: 1.75rem;
        }
      }
    }
    .links {
      display: none;
    }
    .sp-hamburger {
      display: flex;
    }
  }
}

/*=========================
  mv
=========================*/
section.mv {
  position: relative;
  overflow: hidden;
  .slider img {
	width: 100%;
	min-height: 700px;
	object-fit: cover;
    @media (max-width: 960px) {
      min-height: 65vh;
    }
  }
  /*.mv-img {
    width: 100%;
    min-height: 700px;
    object-fit: cover;
    @media (max-width: 960px) {
      min-height: 65vh;
    }
  }*/
  .copy {
    position: absolute;
    top: 52%;
    left: 50%;
    translate: -50% -50%;
    width: calc(1000 / 1920 * 100vw * 1.1);
    max-width: 1000px;
    @media (max-width: 960px) {
      width: 90%;
      max-width: 600px;
    }
  }
  .points {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    .point1 {
      width: calc(270 / 1920 * 100vw);
      max-width: 270px;
    }
    .point2 {
      width: calc(270 / 1920 * 100vw);
      max-width: 270px;
    }
    @media (max-width: 960px) {
      width: 90%;
      bottom: 2rem;
      right: 50%;
      translate: 50% 0%;
      .point1,
      .point2 {
        width: calc(150 / 430 * 100vw);
        max-width: 130px;
      }
    }
  }
}

/*=========================
  global nav
=========================*/
section.global-nav {
  background: url(../img/nav-bg.jpg) no-repeat;
  background-size: cover;
  position: sticky;
  z-index: 10001;
  top: 0;
  width: 100%;
  animation: fade-in 0.5s;
  @media (max-width: 960px) {
    display: none;
  }
  .border {
    width: 100%;
    height: 20px;
  }
  /*&::before {
    content: '';
    display: block;
    width: 100%;
    height: 20px;
    background: url(../img/border-wood.png) no-repeat;
    background-size: cover;
  }*/
  .inner {
    width: calc(100% - 2rem);
    max-width: 1200px;
    margin-inline: auto;
  }
  .nav-items {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    .nav-items__item {
      width: 25%;
      > a {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        color: #fff;
        line-height: 1;
        gap: 10px;
        opacity: 1;
        transition: 0.3s;
        ::before {
          content: '';
          width: 2px;
          height: 20px;
          position: absolute;
          top: 50%;
          right: 0;
          transform: translateY(-50%);
          background: #fff;
        }
        ::after {
          position: absolute;
          bottom: -10px;
          left: 0;
          content: '';
          width: 0;
          height: 2px;
          background-color: #fff;
          transition: 0.3s;
        }
        :hover::after {
          width: 50%;
          transform: translateX(50%);
        }
        .en {
          font-family: inherit;
          font-weight: inherit;
        }
      }
    }
  }
  .dropdown-menu {
    position: relative;
    .dropdown-area {
      display: none;
      width: 400px;
      position: absolute;
      top: 92px;
      left: 50%;
      transform: translateX(-50%);
      background-color: #ffffff;
      padding: 1.5rem;
      transition: all 0.3s;
      height: 0;
      z-index: 2;
      .dropdown-items {
        display: flex;
        flex-wrap: wrap;
        column-gap: 1rem;
        row-gap: 1rem;
        .dropdown-item {
          width: calc(50% - 0.5rem);
          text-align: left;
          padding: 0;
          font-size: 1rem;
          display: flex;
          align-items: center;
          > a span {
            color: #e89289;
            font-size: 0.8rem;
            margin-right: 0.5rem;
          }
        }
      }
    }
  }
  .dropdown-menu:hover {
    .dropdown-area {
      display: flex;
      flex-direction: column;
      height: auto;
    }
  }
}

  /*@media screen and (max-width: 960px) {
	.dropdown-area{
	position: relative;
	}
	.dropdown-area ul{
		display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        width: 95%;
        margin: 0 auto;
	}
	.dropdown-area li{
	        width: 46%;
        background: #FFFFFF;
        border: 1px solid #5A4E3F;
	}
	.dropdown-item a{
	display: block;
	}
  }*/

/*=========================
  SPハンバーガーアコーディオン
=========================*/
@media screen and (max-width: 960px) {
	.has-submenu {
		text-align: center;
		font-size: 16px;
		color: #fff;
	}

	.has-submenu button:hover {
		opacity: .6;
		transition:all 0.3s;
	}
	
	.submenu-trigger{
		border: none;
		background-color: #f099a3;
		color: #fff;
		font-size: 1.25rem;
	}
	.submenu {
		display: none; /* 初期状態は非表示 */
		position: relative;
		z-index: 2000;
		padding: 8px;
		grid-template-columns: repeat(2, 1fr); /* 2列固定 */
		gap: 15px; /* 各アイテムの間を調整 */
		border-radius: 8px;
		width: 100%;
		box-sizing: border-box; /* パディングを幅に含めて左右見切れを防止 */
	}

	.submenu ul {
		list-style: none;
		padding: 0 !important;
		margin: 0 !important;
	}

	.submenu li {
		padding: 10px;
		background: #fff;
		border-radius: 5px;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		transition: transform 0.3s ease, box-shadow 0.3s ease;
	}

	.submenu li:hover {
		transform: translateY(-5px);
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	}

	.submenu li a {
		text-decoration: none;
		color: #585047;
		display: block;
	}

	.close-btn {
		background-color: #f44336;
		color: #fff;
		padding: 6px;
		border: none;
		border-radius: 5px;
		cursor: pointer;
		text-align: center;
		width: 100%;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		transition: background-color 0.3s ease;
	}

	.close-btn:hover {
		background-color: #d32f2f;
	}
}

/*=========================
  news access
=========================*/
section.news-access {
  .flex {
    display: flex;
    .flex-left {
      background-color: #fcf7e4;
      width: 50%;
      padding: 3vw 5vw 15vw;
    }
    .flex-right {
      background-color: #f5efe6;
      width: 50%;
      padding: 3vw 5vw 15vw;
    }
    @media (max-width: 960px) {
      flex-direction: column;
      .flex-left {
        width: 100%;
      }
      .flex-right {
        width: 100%;
      }
    }
  }
  section.news {
    margin-bottom: 2rem;
    .title {
      font-size: 3rem;
      text-align: center;
      margin-bottom: 0.5rem;
      span {
        color: #c7b946;
      }
      @media (max-width: 960px) {
        font-size: 2rem;
      }
    }
    .news-list {
      background-color: #fff;
      padding: 1rem 2rem;
      max-height: 300px;
      overflow-y: scroll;
      .news-list__item {
        font-size: 1rem;
        margin-bottom: 2rem;
        .item-date {
          color: #c7b946;
        }
        .item-title {
          font-size: 1em;
          font-weight: 500;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .item-excerpt {
          font-size: 0.9em;
          font-weight: 300;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          overflow: hidden;
        }
        @media (max-width: 960px) {
          .item-date {
            font-size: 0.9rems;
          }
        }
      }
    }
  }
  section.infomation {
    .title {
      font-size: 3rem;
      text-align: center;
      margin-bottom: 0.5rem;
      span {
        color: #f099a3;
      }
      @media (max-width: 960px) {
        font-size: 2rem;
      }
    }
  }
  section.access {
    .title {
      font-size: 3rem;
      text-align: center;
      span {
        color: #e89289;
      }
      @media (max-width: 960px) {
        font-size: 2rem;
      }
    }
    .address {
      text-align: center;
      text-wrap: balance;
      margin-bottom: 1rem;
    }
    .map-wrapper {
      width: 100%;
      height: 400px;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        height: 300px;
      }
      iframe {
        width: 100%;
        height: 100%;
      }
    }
    .item {
      width: min(90%, 350px);
      min-height: 50px;
      margin-bottom: 1rem;
      background-color: #e89289;
      color: #fff;
      border-radius: 50px;
      padding: 0.5rem 1rem;
      margin-inline: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      line-height: 1.2;
      .icon {
        width: 35px;
        margin-right: 1rem;
      }
    }
  }
}

/*=========================
  feature
=========================*/
section.feature {
  position: relative;
  &::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: calc(200 / 1920 * 100vw);
    top: calc(-200 / 1920 * 100vw);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background-color: #fff;
  }
  .feature-title-wrapper {
    position: relative;
    z-index: 1;
    top: calc(-100 / 1920 * 100vw);
    .title {
      width: calc(1000 / 1920 * 100vw * 0.9);
      max-width: 1000px;
      margin-inline: auto;
      margin-bottom: 1rem;
      @media (max-width: 960px) {
        width: 70%;
      }
    }
    .jp {
      text-align: center;
      text-wrap: balance;
      font-size: 2rem;
      margin-bottom: 1rem;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
    .border {
      margin-inline: auto;
      @media (max-width: 960px) {
        width: 90%;
      }
    }
  }
  .feature-item {
    --color: #97c15b;
    .flex {
      display: flex;
      gap: 2rem;
      @media (max-width: 960px) {
        flex-direction: column;
      }
      .img-wrapper {
        width: 50%;
        @media (max-width: 960px) {
          width: 100%;
        }
      }
      .text-wrapper {
        width: 50%;
        @media (max-width: 960px) {
          width: 100%;
        }
        .inner {
          max-width: 1000px;
          margin-right: auto;
          padding-right: 5%;
          @media (max-width: 960px) {
            width: calc(100% - 2rem);
            margin-inline: auto;
            padding: 0;
          }
        }
        .title-wrapper {
          display: flex;
          align-items: center;
          gap: 1rem;
          margin-bottom: 1rem;
          .number {
            width: 140px;
          }
          .title {
            font-size: 1.5rem;
            .color {
              color: var(--color);
            }
          }
          @media (max-width: 960px) {
            flex-direction: column;
            .number {
              width: 100px;
            }
            .title {
              font-size: 1.25rem;
              text-align: center;
            }
          }
        }
        .text {
          margin-bottom: 2rem;
        }
      }
    }
  }
  .feature02 {
    padding: 8rem 0;
    --color: #7983c5;
    background: url(../img/top/feature02-bg.png) no-repeat;
    background-size: contain;
    background-color: #fff;
    @media (max-width: 960px) {
      padding: 5rem 0;
      background-size: cover;
    }
    .flex {
      flex-direction: row-reverse;
      .text-wrapper {
        width: 50%;
        .inner {
          max-width: 1000px;
          margin-left: auto;
          padding-left: 5%;
        }
      }
      @media (max-width: 960px) {
        flex-direction: column;
        .text-wrapper {
          width: 100%;
          .inner {
            padding: 0;
          }
        }
      }
    }
  }
  .feature03 {
    --color: #c7b946;
    @media (max-width: 960px) {
      margin-bottom: 4rem;
    }
  }
  .feature04-05 {
    display: flex;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .feature04 {
      --color: #5ba4c2;
      width: 50%;
      padding: 2rem 5%;
      background: linear-gradient(180deg, #dee8eb 0%, #dee8eb 50%, #fff 50%);
      @media (max-width: 960px) {
        width: 100%;
        background: #dee8eb;
      }
      .title-wrapper {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        .number {
          width: 140px;
        }
        .title {
          font-size: 1.5rem;
          .color {
            color: var(--color);
          }
        }
        @media (max-width: 960px) {
          flex-direction: column;
          .number {
            width: 100px;
          }
          .title {
            font-size: 1.25rem;
            text-align: center;
          }
        }
      }
      .img {
        margin-bottom: 1rem;
      }
      .text {
        margin-bottom: 2rem;
      }
    }
    .feature05 {
      --color: #da7d67;
      width: 50%;
      padding: 2rem 5%;
      background: linear-gradient(180deg, #f3e8e5 0%, #f3e8e5 50%, #fff 50%);
      @media (max-width: 960px) {
        width: 100%;
        background: #f3e8e5;
      }
      .title-wrapper {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        .number {
          width: 140px;
        }
        .title {
          font-size: 1.5rem;
          .color {
            color: var(--color);
          }
        }
        @media (max-width: 960px) {
          flex-direction: column;
          .number {
            width: 100px;
          }
          .title {
            font-size: 1.25rem;
            text-align: center;
          }
        }
      }
      .img {
        margin-bottom: 1rem;
      }
      .text {
        margin-bottom: 2rem;
      }
    }
  }
}

/*=========================
  greeting
=========================*/
section.greeting {
  background: url(../img/top/greeting-bg.jpg) no-repeat;
  background-size: cover;
  padding: 2rem 0;
  .flex {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(90deg, #f99db6 0%, rgba(255, 255, 255, 0.6) 70%, rgba(255, 255, 255, 0.6) 100%);
    @media (max-width: 960px) {
      flex-direction: column-reverse;
      gap: 0rem;
      background: #f99db6;
    }
  }
  .texts-wrapper {
    width: 48%;
    padding: 7vw 0 7vw 6vw;
    @media (max-width: 960px) {
      width: 100%;
      padding: 2rem 1rem;
    }
    .section-title {
      .en {
        color: #fff;
        font-size: 3rem;
        letter-spacing: 0.2em;
        span {
          color: #da7d67;
        }
        @media (max-width: 960px) {
          font-size: 2rem;
          text-align: center;
        }
      }
      .jp {
        display: flex;
        align-items: center;
        gap: 1rem;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        @media (max-width: 960px) {
          font-size: 1.25rem;
          justify-content: center;
        }
        span {
          flex-shrink: 0;
          display: inline-block;
          width: fit-content;
        }
        img {
          width: 70%;
          flex-shrink: 1;
        }
      }
    }
    .copy {
      font-size: 2rem;
      margin-bottom: 1rem;
      @media (max-width: 960px) {
        font-size: 1.5rem;
        text-align: center;
      }
    }
  }
  .img-wrapper {
    width: 40%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    @media (max-width: 960px) {
      width: 100%;
    }
    .img {
      width: 100%;
      /* height: 100%; */
      /* object-fit: cover; */
    }
    .name {
      position: absolute;
      z-index: 1;
      bottom: 12%;
      left: -20%;
      width: calc(250 / 1920 * 100vw);
      max-width: 250px;
      @media (max-width: 960px) {
        bottom: 12%;
        left: 2%;
        width: calc(140 / 430 * 100vw);
        max-width: 250px;
      }
    }
    .more {
      opacity: 1;
      position: absolute;
      z-index: 1;
      bottom: 6%;
      left: 15%;
      width: calc(150 / 1920 * 100vw);
      max-width: 150px;
      @media (max-width: 960px) {
        /* bottom: 12%; */
        left: 28%;
        width: calc(90 / 430 * 100vw);
        max-width: 150px;
      }
    }
  }
}

/*=========================
  case
=========================*/
section.case {
  padding: var(--section-padding);
  background-color: #fcf7e4;
  .section-title {
    text-align: center;
    line-height: 1;
    .en {
      color: #7ba35d;
      font-size: 5rem;
      margin-bottom: 1rem;
      @media (max-width: 960px) {
        font-size: 2.5rem;
      }
      span {
        color: #cbd5bc;
      }
    }
    .jp {
      font-size: 2rem;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        font-size: 1.25rem;
      }
    }
  }
  .text {
    text-align: center;
    text-wrap: balance;
    margin-bottom: 2rem;
  }
  .button {
    width: min(80%, 400px);
    padding: 1rem;
  }
}

/*=========================
  medical
=========================*/
section.medical {
  background-color: #fff;
  padding: var(--section-padding);
  .section-title {
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 2rem;
    }
    .title-img {
      width: calc(670 / 1920 * 100vw * 0.9);
      max-width: 670px;
      margin-inline: auto;
      margin-bottom: 1rem;
      @media (max-width: 960px) {
        width: 65%;
      }
    }
    .jp {
      text-align: center;
      font-size: 2rem;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
  }
  .medical1 {
    background: url(../img/top/medical1-bg.png) no-repeat;
    background-size: cover;
    padding: 4rem 5%;
    width: 96%;
    margin-inline: auto;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      padding: 2rem 5%;
      width: 100%;
      margin-bottom: 0;
    }
    .inner {
      display: flex;
      align-items: flex-start;
      gap: 5%;
      @media (max-width: 960px) {
        flex-direction: column;
      }
    }
    .title {
      background-color: #fff;
      padding: 1rem 0.75rem;
      font-size: 2rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      writing-mode: vertical-lr;
      @media (max-width: 960px) {
        writing-mode: initial;
        font-size: 1.5rem;
        padding: 0;
        background-color: transparent;
        text-align: center;
        margin-inline: auto;
        margin-bottom: 2rem;
      }
    }
    .body {
      display: flex;
      position: relative;
      padding-bottom: 5rem;
      @media (max-width: 960px) {
        flex-direction: column-reverse;
        padding-bottom: 0;
      }
      .texts-wrapper {
        position: relative;
        top: 5rem;
        z-index: 2;
        width: 50%;
        background-color: #fff;
        padding: 2rem;
        .copy {
          color: #f099a3;
          font-size: 1.5rem;
          border-bottom: #707070 1px solid;
          padding-bottom: 1rem;
          margin-bottom: 1rem;
          @media (max-width: 960px) {
            text-align: center;
            font-size: 1.25rem;
          }
        }
        .text {
          margin-bottom: 2rem;
        }
        .button {
          width: min(90%, 250px);
        }
        @media (max-width: 960px) {
          width: 100%;
          position: initial;
        }
      }
      .img-wrapper {
        width: 55%;
        position: absolute;
        top: 0;
        right: 0;
        .img {
          width: 100%;
        }
        @media (max-width: 960px) {
          width: 100%;
          position: initial;
        }
      }
    }
  }
  .medical2 {
    background: url(../img/top/medical2-bg.png) no-repeat;
    background-size: cover;
    padding: 4rem 5%;
    width: 96%;
    margin-inline: auto;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      padding: 2rem 5%;
      width: 100%;
      margin-bottom: 0;
    }
    .inner {
      display: flex;
      flex-direction: row-reverse;
      align-items: flex-start;
      gap: 5%;
      @media (max-width: 960px) {
        flex-direction: column;
      }
    }
    .title {
      background-color: #fff;
      padding: 1rem 0.75rem;
      font-size: 2rem;
      font-weight: 500;
      letter-spacing: 0.2em;
      writing-mode: vertical-lr;
      @media (max-width: 960px) {
        writing-mode: initial;
        font-size: 1.5rem;
        padding: 0;
        background-color: transparent;
        text-align: center;
        margin-inline: auto;
        margin-bottom: 2rem;
      }
    }
    .body {
      display: flex;
      flex-direction: row-reverse;
      position: relative;
      padding-bottom: 5rem;
      @media (max-width: 960px) {
        flex-direction: column-reverse;
        padding-bottom: 0;
      }
      .texts-wrapper {
        position: relative;
        top: 5rem;
        z-index: 2;
        width: 50%;
        background-color: #fff;
        padding: 2rem;
        .copy {
          color: #f099a3;
          font-size: 1.5rem;
          border-bottom: #707070 1px solid;
          padding-bottom: 1rem;
          margin-bottom: 1rem;
          @media (max-width: 960px) {
            text-align: center;
            font-size: 1.25rem;
          }
        }
        .text {
          margin-bottom: 2rem;
        }
        .button {
          width: min(90%, 250px);
        }
        @media (max-width: 960px) {
          width: 100%;
          position: initial;
        }
      }
      .img-wrapper {
        width: 55%;
        position: absolute;
        top: 0;
        left: 0;
        .img {
          width: 100%;
        }
        @media (max-width: 960px) {
          width: 100%;
          position: initial;
        }
      }
    }
  }
  .medical3 {
    background: url(../img/top/medical3-bg.png) no-repeat;
    background-size: cover;
    width: 96%;
    margin-inline: auto;
    padding: 2rem 2rem;
    @media (max-width: 960px) {
      width: 100%;
    }
    .title {
      background-color: #e89289;
      color: #fff;
      font-size: 2rem;
      text-align: center;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
    .text {
      color: #fff;
      text-shadow: 0px 0px 6px rgb(0 0 0 / 0.5);
      text-align: center;
      margin-bottom: 2rem;
    }
    .links {
      max-width: 1000px;
      margin-inline: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 2rem;
      .link {
        opacity: 1;
        width: calc(100% / 3 - 2rem);
        .img {
          width: 100%;
        }
      }
      @media (max-width: 960px) {
        flex-direction: column;
        .link {
          width: 70%;
          max-width: 400px;
        }
      }
    }
  }
  .medical4 {
    background: url(../img/top/medical4-bg.png) no-repeat;
    background-size: cover;
    width: 96%;
    margin-inline: auto;
    /* margin-bottom: 4rem; */
    padding: 2rem 2rem;
    @media (max-width: 960px) {
      width: 100%;
    }
    .title {
      background-color: #7983c5;
      color: #fff;
      font-size: 2rem;
      text-align: center;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        font-size: 1.5rem;
      }
    }
    .text {
      color: #fff;
      text-shadow: 0px 0px 6px rgb(0 0 0 / 0.5);
      text-align: center;
      margin-bottom: 2rem;
    }
    .links {
      max-width: 1000px;
      margin-inline: auto;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 2rem;
      .link {
        opacity: 1;
        width: calc(100% / 3 - 2rem);
        .img {
          width: 100%;
        }
      }
      @media (max-width: 960px) {
        flex-direction: column;
        .link {
          width: 70%;
          max-width: 400px;
        }
      }
    }
  }
  .medical-link {
    display: block;
    margin-inline: auto;
    width: min(70%, 500px);
    display: none;
  }
}

section.recruit-blog {
  .flex {
    display: flex;
    @media (max-width: 960px) {
      flex-direction: column;
    }
  }
  .recruit {
    width: 50%;
    background-color: #f5efe6;
    padding: 3rem 3% 6rem;
    @media (max-width: 960px) {
      width: 100%;
    }
    .section-title {
      text-align: center;
      margin-bottom: 2rem;
      .en {
        font-size: 3rem;
        color: #f099a3;
        line-height: 1;
        margin-bottom: 1rem;
        @media (max-width: 960px) {
          font-size: 2.5rem;
        }
      }
      .jp {
        font-size: 1.5rem;
        line-height: 1;
        @media (max-width: 960px) {
          font-size: 1.25rem;
        }
      }
    }
    .img-wrapper {
      max-width: 70%;
      margin-inline: auto;
      position: relative;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        max-width: 80%;
      }
      .img {
        width: 100%;
      }
      .more {
        opacity: 1;
        position: absolute;
        bottom: 0;
        right: 0;
        @media (max-width: 960px) {
          width: 30%;
        }
      }
    }
    .text {
      text-align: center;
    }
  }
  .blog {
    width: 50%;
    background-color: #eaf3de;
    padding: 3rem 3% 6rem;
    @media (max-width: 960px) {
      width: 100%;
    }
    .more {
      width: min(30%, 150px);
      text-align: center;
      background-color: #7ba35d;
      color: #fff;
      padding: 0.5rem 1rem;
      font-weight: 300;
      position: relative;
      &::before {
        content: '';
        background-color: #fff;
        clip-path: polygon(100% 0, 0% 100%, 100% 100%);
        width: 15px;
        aspect-ratio: 1/1;
        position: absolute;
        bottom: 3px;
        right: 3px;
      }
    }
    .more.sp-only {
      display: none;
      margin-inline: auto;
      margin-top: 2rem;
      @media (max-width: 960px) {
        display: block;
      }
    }
    .title-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        justify-content: center;
      }
      .section-title {
        display: flex;
        align-items: center;
        gap: 1rem;
        .en {
          font-size: 3rem;
          line-height: 1;
          color: #7ba35d;
        }
        .jp {
          font-size: 1.5rem;
          line-height: 1;
        }
        @media (max-width: 960px) {
          flex-direction: column;
          text-align: center;
          .en {
            font-size: 2.5rem;
            line-height: 1;
          }
          .jp {
            font-size: 1.25rem;
          }
        }
      }
    }
    .blog-posts {
      .blog-post {
        margin-bottom: 1rem;
        a {
          opacity: 1;
          background-color: #fff;
          padding: 1rem;
          display: flex;
          gap: 1rem;
        }
        .thumbnail {
          background-color: #ccc;
          aspect-ratio: 1/1;
          width: 25%;
          height: fit-content;
          img {
            width: 100%;
            height: fit-content;
            aspect-ratio: 1/1;
            object-fit: cover;
          }
        }
        .body {
          width: calc(75% - 1rem);
          .date {
            font-size: 0.9rem;
            color: #7ba35d;
          }
          .title {
            font-size: 1.125rem;
            font-weight: 500;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }
          .excerpt {
            font-size: 1rem;
            font-weight: 300;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
          }
        }
      }
    }
  }
}

/*=========================
  calendar
=========================*/
section.calendar {
  padding: var(--section-padding);
  .container {
  }
  .section-title {
    margin-bottom: 2rem;
    .en {
      text-align: center;
      font-size: 5rem;
      line-height: 1;
      color: #5ba4c2;
      @media (max-width: 960px) {
        font-size: 3rem;
      }
      span {
        color: #a6bfc9;
      }
    }
  }
  .calendar-wrapper {
    max-width: 800px;
    height: 500px;
    margin-inline: auto;
    background-color: #ccc;
  }
}

/*=========================
  footer
=========================*/
.footer-border {
  width: 100%;
  height: 2rem;
}
footer {
  background-color: #f4f5f0;
  padding: var(--section-padding);
  .footer-logo {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      margin-bottom: 1rem;
    }
  }
  .flex {
    display: flex;
    justify-content: center;
    gap: 2rem;
    .flex-left {
      width: 50%;
    }
    .flex-right {
      width: 50%;
    }
    @media (max-width: 960px) {
      flex-direction: column;
      .flex-left {
        width: 100%;
      }
      .flex-right {
        width: 100%;
      }
    }
  }
  .address {
    text-align: center;
    margin-bottom: 1rem;
  }
  .links {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
  }
  .sns-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    .icon {
      width: 60px;
      @media (max-width: 960px) {
        width: 40px;
      }
    }
  }
  .hours-wrapper {
    margin-bottom: 4rem;
  }
  .banners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    @media (max-width: 960px) {
      flex-direction: column;
      .banner-link {
        /* width: fit-content; */
        width: min(60%, 300px);
        margin-inline: auto;
      }
      .banner {
        width: 100%;
      }
    }
  }
}

section.map {
  .map-wrapper {
    width: 100%;
    height: 400px;
    @media (max-width: 960px) {
      height: 300px;
    }
    iframe {
      width: 100%;
      height: 100%;
    }
  }
}

section.sitemap{
	background-color: #f4f5f0;
	.flex {
		display: flex;
		column-gap: 3em;
		@media (max-width: 960px) {
		flex-direction: column;
		}
	}
	.sitemap-left,.sitemap-right{
		width: 50%;
		padding: 3vw 0;
		@media (max-width: 960px) {
		width: 100%;
		}
	}
	.sitemap-title{
		border-bottom: 1px solid #585047;
		padding-bottom: 5px;
		margin-bottom: 10px;
	}
	.sitemap-left ul,.sitemap-right ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		@media (max-width: 960px) {
		flex-direction: row;
		}
	}
	.sitemap-left li,.sitemap-right li{
		width: 45%;
		margin-bottom: 10px;
	}
	a::before{
		content: "▶";
		display: inline-block;
		padding-right: 5px;
	}
}


.copyright {
  background-color: #f4f5f0;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
}


/*=========================
  SPフローティングボタン
=========================*/
.sp-fixed-buttons {
  display: none;
  width: 100%;
  height: 80px;
  position: fixed;
  z-index: 1;
  bottom: 0;
  /* display: grid; */
  grid-template-columns: repeat(3, 1fr);
  .sp-ft-button {
    background-color: #f099a3;
    color: #ffffff;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    border-top: 1px solid #ffffff;
    &:not(:last-of-type) {
      border-right: 1px solid #ffffff;
    }
  }
  .icon-wrapper {
    width: 100%;
    display: grid;
    place-items: center;
  }
  .icon {
    width: 25px;
    margin-inline: auto;
    margin-bottom: 0.5rem;
  }
  .text {
    text-align: center;
  }
}
@media (max-width: 960px) {
  body {
    margin-bottom: 80px;
  }
  .sp-fixed-buttons {
    display: grid;
  }
}

/*=========================
  TOPページに戻るボタン
=========================*/
html {
    /* scroll-behavior: smooth; */
}
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #f099a3;
  border: solid 2px #f099a3;
  border-radius: 50%;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  cursor: pointer;
  box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
}
.pagetop__arrow {
  display: block;
  height: 10px;
  width: 10px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: translateY(20%) rotate(-45deg);
}
@media (max-width: 960px) {
  .pagetop {
    right: 10px;
    bottom: 90px;
  }
}