@charset "utf-8";

/* キービジュアル
************************************************************/
.top-kv {
  position: relative;
  width: 92%;
  height: 100vh;
  margin: 0 auto 40px;
  border-radius: 4vw;
  background-position: center;
  background-size: cover;
}
.top-kv::before {
  content: "";
  position: absolute;
  top: 0;
  left: -11vw;
  width: 444px;
  height: 345px;
  background-image: url('../images/bg_kv_object01.svg');
  background-size: cover;
  z-index: -1;
}
.top-kv::after {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: 1vw;
  width: 335px;
  height: 272px;
  background-image: url('../images/bg_kv_object02.svg');
  background-size: cover;
  z-index: -1;
}
.top-kv-inner {
  height: 100%;
}
.top-kv-bg,
.top-kv-bg .swiper-wrapper,
.top-kv-bg .swiper-slide {
  height: 100% !important;
}
.top-kv-bg .swiper-slide {
  position: relative;
  width: 100% !important;
  height: 100% !important;
  border-radius: 4vw;
  overflow: hidden;
}
.top-kv-bg .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: center;
}
.top-kv-bg .swiper-slide.-i-03 img {
  object-position: right;
}
.top-kv .catch-copy {
  position: absolute;
  left: -2px;
  bottom: -2px;
  width: 50vw;
  max-width: 950px;
  padding: 50px 60px;
  border-radius: 0 4vw 0 0;
  background-color: #FFFFFF;
  z-index: 99;
}
.top-kv .catch-copy::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -9px;
  width: 44px;
  height: 57px;
  background-image: url('../images/bg_w_triangle.svg');
}
.top-kv .catch-copy img {
  border-radius: 0;
}
.top-kv .point-list {
  display: flex;
  gap: 1rem;
  position: absolute;
  right: 20px;
  bottom: 40px;
  width: 30vw;
  z-index: 99;
}
.top-kv .point-list li {
  width: 33.333%;
}
@media screen and (max-width:1100px) { 
  .top-kv {
    height: 68vh;
    margin-bottom: 24vw;
  }
  .top-kv .catch-copy h1 {
    width: 85%;
  }
  .top-kv .point-list {
    position: unset;
    width: 56%;
    margin: 30px auto 40px;
  }
}
@media screen and (max-width:750px) { 
  .top-kv {
    width: 90%;
    height: 75vh;
    margin-bottom: 134px;
  }
  .top-kv::before {
    content: "";
    left: -23vw;
    width: 200px;
    height: 158px;
  }
  .top-kv::after {
    right: -19vw;
    width: 150px;
    height: 122px;
  }
  .top-kv-bg .swiper-slide img {
    object-position: center -15vw;
  }
  .top-kv-bg .swiper-slide.-i-03 img {
    object-position: right -5vw;
  }
  .top-kv .catch-copy {
    width: 73%;
    padding: 30px 20px;
  }
  .top-kv .catch-copy h1 {
    width: 100%;
  }
  .top-kv .point-list {
    width: 90%;
    margin: 15px auto 40px;
  }
}


/* アーカイブ一覧
************************************************************/
.top-archives {
  width: 100%;
  padding: 60px 0;
  background-color: var(--bgbeige);
}
.top-archives .section-inner {
  display: flex;
  justify-content: space-between;
}
.top-archives .archives-box {
  width: 45%;
}
.top-archives h2 {
  margin-bottom: 25px;
}
.top-archives .archives-list .item {
  margin-bottom: 20px;
}
.top-archives .archives-list .item a {
  display: block;
  padding: 20px 30px;
  border-radius: 10px;
  background-color: #FFFFFF;
}
.top-archives .archives-list .item a:hover {
  box-shadow: 0px 0px 16px 0px rgba(150, 208, 190, 1);
  opacity: 1;
}
.top-archives .archives-list .item .date {
  display: block;
  margin-bottom: 6px;
  line-height: 1.2em;
}
.top-archives .archives-list .item .title {
  font-weight: 600;
  line-height: 1.4em;
}
@media screen and (max-width:750px) { 
  .top-archives {
    display: block;
    width: 100%;
  }
  .top-archives .section-inner {
    flex-flow: column;
  }
  .top-archives .archives-box {
    width: 100%;
  }
  .top-archives .archives-box.-column {
    margin-top: 90px;
  }
}


/* 院長紹介
************************************************************/
.top-doctor {
  position: relative;
}
.top-doctor::before {
  content: "";
  position: absolute;
  top: 8vw;
  left: 0;
  width: 450px;
  height: 357px;
  background-image: url('../images/bg_object02.png');
  background-size: cover;
  z-index: -1;
}
.top-doctor::after {
  content: "";
  position: absolute;
  top: 17vw;
  right: -5vw;
  width: 747px;
  height: 598px;
  background-image: url('../images/bg_object01.png');
  background-size: cover;
  z-index: -1;
}
.top-doctor .section-inner {
  position: relative;
  width: 90%;
  max-width: 1500px;
  padding: 100px 50px;
  border-radius: 2vw;
}
.top-doctor-content {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0;
}
.top-doctor-content .content-left {
  position: relative;
  width: 50%;
  padding: 70px 60px;
  margin-right: -30px;
  text-align: left;
  border-radius: 5vw;
  background-color: var(--bgcolor);
  z-index: 2;
}
.top-doctor-content .content-left h3 {
  margin-bottom: 30px;
  font-size: 1.8em;
  font-weight: bold;
  font-family: var(--font);
  text-align: center;
}
.top-doctor-content .content-left .sign {
  font-weight: bold;
  text-align: right;
}
.top-doctor-content .content-right {
  position: relative;
  width: 45%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-bottom: -40px;
  object-fit: cover;
  object-position: center;
}
.top-doctor-content .content-right img {
  width: 100%;
  height: 100%;
  border-radius: 3vw;
  object-fit: cover;
}
@media screen and (max-width:1130px) { 
  .top-doctor .section-inner {
    width: calc(100% - 100px);
  }
  .top-doctor-content {
    display: block;
  }
  .top-doctor-content .content-left {
    width: calc(100% - 120px);
  }
  .top-doctor-content .content-right {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 12;
    margin: 50px auto 0;
  }
}
@media screen and (max-width:1024px) {
  .top-doctor-content .content-right {
    width: 90%;
    aspect-ratio: 1 / 1;
  }
}
@media screen and (max-width:750px) { 
  .top-doctor::before {
    top: 8vw;
    left: -26vw;
    width: 220px;
    height: 160px;
  }
  .top-doctor::after {
    top: auto;
    right: -5vw;
    bottom: 14vw;
    width: 350px;
    height: 303px;
  }
  .top-doctor .section-inner {
    width: 90%;
    padding: 0;
  }
  .top-doctor-content .content-left {
    width: calc(100% - 50px);
    padding: 40px 25px;
  }
  .top-doctor-content .content-left h3 {
    margin-bottom: 20px;
    text-align: left;
  }
  .top-doctor-content .content-left .sign {
    text-align: left;
  }
  .top-doctor-content .content-right {
    margin-top: 30px;
  }
}

/* ループスライダー */
.top-doctor-slider {
  padding-bottom: 150px;
  margin: 200px auto 0;
}
.top-doctor-slider .list-wrap {
  display: flex;
  overflow: hidden;
}
.top-doctor-slider .list-wrap ul {
  display: flex;
  list-style: none;
  animation: infinity-scroll-left 95s infinite linear 0.5s both;
}
.top-doctor-slider .list-wrap ul li {
  width: calc(100vw / 4);
  margin-right: 30px;
}
.top-doctor-slider .list-wrap ul li > img {
   width: 100%;
}
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media screen and (max-width:1500px) {
  .top-doctor-slider .list-wrap ul li {
    width: calc(210vw / 5);
    margin-right: 15px;
  }
  .top-doctor-slider .list-wrap ul li > img {
    border-radius: 10px;
  }
}
@media screen and (max-width:750px) { 
  .top-doctor-slider {
    padding-bottom: 30px;
    margin: 90px auto 0;
  }
}


/* 当院の特徴
************************************************************/
.top-feature {
  position: relative;
  padding-bottom: 200px;
  margin-top: 0;
  background-color: var(--bgcolor);
  overflow: hidden;
}
.top-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25vw;
  background-image: linear-gradient(#ffffff, var(--bgcolor));
}
.top-feature::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 4%;
  background-image: url('../images/wave.svg');
  background-size: cover;
}
.top-feature-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px 2rem;
}
.top-feature-list li {
  position: relative;
  width: calc(100% / 3 - 2rem);
}
.top-feature-list li .image {
  position: relative;
  margin-bottom: 15px;
}
.top-feature-list li .description {
  position: relative;
  left: 0;
  right: 0;
  width: calc(100% - 12%);
  padding: 10% 6% 6%;
  margin: -50px auto 0;
  border-radius: 0 0 30px 30px;
  background-color: #FFFFFF;
}
.top-feature-list li .description .number {
  display: table;
  position: absolute;
  top: -3.5vw;
  left: 40px;
  width: 130px;
  height: 130px;
  margin-bottom: 0;
  color: var(--accentcolor);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border-radius: 100vw;
  background-color: #FFFFFF;
}
.top-feature-list li .description .number .text {
  display: table-cell;
  margin: 0;
  font-weight: 200;
  text-align: center; 
  vertical-align: middle;
}
.top-feature-list li .description .number .index {
  display: inline-block;
  padding-bottom: 10px;
  margin-top: -7px;
  font-size: 3.2em;
  font-weight: 600;
  line-height: 1.0;
  border-bottom: 3px dotted #eed25e;
}
.top-feature-list li .description h3 {
  position: relative;
  margin: 14px 0 30px;
  color: var(--maincolor);
  font-size: 1.7em;
  font-weight: 500;
  font-family: var(--font);
}
.top-feature-list li .description p {
  margin-bottom: 20px;
}
.top-feature-list li .description p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width:1700px) { 
  .top-feature-list li .description .number {
    top: -4.5vw;
    left: 20px;
    width: 100px;
    height: 100px;
    font-size: 12px;
  }
  .top-feature-list li .description h3 {
    margin: 20px 0;
  }
}
@media screen and (max-width:1300px) { 
  .top-feature-list li {
    width: 47%;
  }
}
@media screen and (max-width:1024px) { 
  .top-feature-list li .description .number {
    top: -6.5vw;
  }
}
@media screen and (max-width:750px) {
  .top-feature {
    padding-bottom: 100px;
    margin-bottom: 60px;
  }
  .top-feature::after {
    height: 4vw;
  }
  .top-feature-list {
    display: block;
  }
  .top-feature-list li {
    width: 100%;
    margin-bottom: 40px;
  }
  .top-feature-list li:nth-child(2n) {
    margin-top: 0;
  }
  .top-feature-list li .image {
    margin-bottom: 20px;
    text-align: center;
  }
  .top-feature-list li .description {
    position: relative;
  }
  .top-feature-list li .description .number {
    position: absolute;
    top: -11.5vw;
    left: 15px;
    width: 90px;
    height: 90px;
    font-size: 12px;
  }
  .top-feature-list li .description .number .index {
    padding-bottom: 5px;
  }
  .top-feature-list li .description h3 {
    font-size: 1.4em;
  }
}


/* 診療案内
************************************************************/
.top-medical {

}
.top-medical-list {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  position: relative;
  width: 100%;
  padding: 7vw 8vw;
  margin: auto;
  border-radius: 10vw;
  background-image: linear-gradient(142deg, rgba(239, 248, 246, 1) 40%, rgba(253, 252, 234, 1));
  z-index: 0;
}
.top-medical-list li {
  display: table;
  text-align: center;
}
.top-medical-list li a {
  display: table-cell;
  width: 260px;
  height: 260px;
  color: var(--maincolor);
  border: 4px solid #FFFFFF;
  border-radius: 100vw;
  background-color: #FFFFFF;
  vertical-align: middle;
}
.top-medical-list li a:hover {
  border: 4px solid var(--border-color);
  box-shadow: 0px 0px 16px 0px rgba(150, 208, 190, 1);
  opacity: 1;
  transition: all 0.3s ease 0s;
}
.top-medical-list li img {
  display: block;
  height: 82px;
  margin: 0 auto 30px;
  border-radius: 0;
}
.top-medical-list li .title {
  display: inline-block;
  position: relative;
}
.top-medical-list li .title p {
  margin: 0;
  font-size: 22px;
}
.top-medical-list li ._icon-arrow {
  position: absolute;
  top: 3px;
  right: -15px;
  bottom: 0;
  padding: 8px;
  margin: auto;
}
.top-medical-list li ._icon-arrow::before {
  width: 8px;
  height: 8px;
  border-top: solid 2px var(--maincolor);
  border-right: solid 2px var(--maincolor);
}
@media screen and (max-width:1366px) { 
  .top-medical-list::before {
    top: 0;
  }
}
@media screen and (max-width:1024px) { 
  .top-medical-list {
    justify-content: center;
    margin-bottom: 90px;
  }
}
@media screen and (max-width:750px) { 
  .top-medical-list {
    gap: 1rem;
  }
  .top-medical-list::before {
    bottom: -120px;
    width: 100%;
    height: 88%;
    border-radius: 0 80px 20px 0;
  }
  .top-medical-list li:nth-child(2n) {
    margin-right: 0;
  }
  .top-medical-list li a {
    width: 32vw;
    height: 32vw;
  }
  .top-medical-list li img {
    height: 35px;
    margin: 0 auto 5px;
  }
  .top-medical-list li .title p {
    font-size: 0.9em;
    line-height: 1.4em;
    text-align: center;
  }
  .top-medical-list li ._icon-arrow::before {
    width: 4px;
    height: 4px;
  }
}


/* 症状・疾患について
************************************************************/
.top-symptoms {

}

.top-symptoms .tab-selector {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}
.top-symptoms .tab-selector {
  margin: 0 0 50px;
}
.top-symptoms .tab-selector .item {
  width: calc(100% / 3);
  padding: 20px 10px;
  color: var(--border-color);
  font-size: 1.6rem;
  font-weight: 400;
  text-align:center;
  border-bottom: 2px solid var(--border-color);
  cursor: pointer;
}
.top-symptoms .tab-selector .item:last-child {
  border-right: none;
}
.top-symptoms .tab-selector .item.is-active {
  position: relative;
  color: var(--maincolor);
  border-bottom: 2px solid var(--maincolor);
}
.top-symptoms .tab-selector .item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 10px solid var(--maincolor);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
}
.top-symptoms .tab-selector .item:hover {
  opacity: 0.6;
}
.top-symptoms .tab-selector .item.is-active:hover {
  opacity: 1;
}
@media screen and (max-width:750px) {
  .top-symptoms .tab-selector {
    gap: 1rem;
    margin: 0 0 20px;
  }
  .top-symptoms .tab-selector .item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    font-size: 1rem;
    line-height: 1.4em;
    text-align: center;
  }
}

.top-symptoms .tab-content {
  width: calc(100% - 120px);
  padding: 0 60px;
  margin: 0 auto;
}
@media screen and (max-width:1500px) {
  .top-symptoms .tab-content {
    width: 100%;
    padding: 0;
    margin: 0;
  }
}
.top-symptoms .tab-panel {
  display: none;
}
.top-symptoms .tab-panel.is-show {
  display: block;
}
.top-symptoms .tab-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.top-symptoms .tab-panel ul li {
  display: table;
  width: calc(100% / 5 - 15px);
  height: 94px;
  border: 1px solid var(--maincolor);
  border-radius: 0.5rem;
  background-color: #FFFFFF;
}
.top-symptoms .tab-panel ul li:last-child,
.top-symptoms .tab-panel ul li:nth-child(4n) {
  margin-right: 0;
}
.top-symptoms .tab-panel ul li a {
  display: table-cell;
  padding: 10px;
  color: var(--maincolor);
  font-size: 1em;
  font-weight: 500;
  line-height: 1.4em;
  text-align: center;
  vertical-align: middle;
  transition: all 0.3s ease 0s;
}
.top-symptoms .tab-panel ul li:hover {
  color: #FFFFFF;
  background-color: var(--maincolor);
  transition: all 0.5s ease 0s;
}
.top-symptoms .tab-panel ul li:hover a {
  color: #FFFFFF;
}
@media screen and (max-width:1366px) { 
  .top-symptoms .tab-panel ul {
    width: 90%;
  }
}
@media screen and (max-width:1024px) { 
  .top-symptoms .tab-panel ul {
    width: 100%;
  }
  .top-symptoms .tab-panel ul li,
  .top-symptoms .tab-panel ul li:nth-child(3n) {
    width: 40%;
    height: auto;
    padding: 4%;
  }
  .top-symptoms .tab-panel ul li:nth-child(2n){
    margin-right: 0;
  }
}
@media screen and (max-width:750px) {
  .top-symptoms .tab-panel ul li,
  .top-symptoms .tab-panel ul li:nth-child(3n) {
    width: 46.5%;
    padding: 0;
  }
  .top-symptoms .tab-panel ul li a {
    padding: 8%;
  }
  .top-symptoms .tab-panel ul li a p {
    text-align: center;
  }
}