/**
 * File: main.css
 * Usage: トップページのスタイルを定義します。
*/

:root {
  --line-height: 80px;
  --line-height-abs: 0px;
}

.bl_fv {
  height: 90vh;
  max-height: 680px;
  position: relative;
}

.bl_fvText {
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

.bl_topSwiper {
  filter: blur(10px);
  scale: 1.1;
}

.bl_topSwiper,
.bl_topSwiper .swiper-wrapper,
.bl_topSwiper .swiper-slide,
.bl_topSwiper .swiper-slide img {
  height: 100%;
  width: 100%;
}

.bl_topSwiper picture {
  height: 100%;
  width: 100%;
}

.bl_topSwiper .swiper-slide:nth-child(1) source img {
  object-fit: cover;
  object-position: center;
}

.bl_topSwiper .swiper-slide img {
  object-fit: cover;
  object-position: center 10%;
}

.bl_topSwiper .swiper-pagination-bullets {
  position: absolute;
  bottom: 12px;
  left: unset;
  display: flex;
  gap: 8px;
  right: 0px;
  width: fit-content;
}

.bl_topSwiper .swiper-pagination-bullet {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  color: white;
  background: transparent;
  border-radius: 50%;
  transition: transform 0.3s ease;
  opacity: 1;
}

.bl_topSwiper .swiper-pagination-bullet-active::after {
  content: '';
  display: block;
  position: absolute;
  width: 1px;
  height: 12px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 90%) scale(1);
  background: white;
  transition: transform 0.3s ease;
}

.swiper-pagination-bullet-active {
  transform: scale(1.02);
}

.bl_topSwiper .loader {
  position: absolute;
  width: 40px;
  height: 40px;
  transform: rotate(-90deg);
  stroke-linecap: round;
  stroke-width: 4;
  fill: none;
}

.bl_topSwiper .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) .loader {
  stroke-width: 0;
}

.bl_topSwiper .loader .external-circle {
  stroke: #fff;
  stroke-dasharray: 312;
  stroke-dashoffset: -312;
  opacity: 0.9;
  transition: stroke-dashoffset 5s linear;
}

@keyframes external {
  0% {
    stroke-dashoffset: -312;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

.bl_fvText {
  position: absolute;
  top: 53%;
  left: 0;
  padding-inline: 20px 30px;
  z-index: 10;
  color: var(--color-white) !important;
  letter-spacing: 0.02em;
}

.mv_scrolldown {
  width: 1px;
  height: var(--line-height);
  position: absolute;
  bottom: 0;
  left: 20px;
  transform: translateX(-50%);
  z-index: 100;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 1) 50%,
      rgba(255, 255, 255, 0) 50%);
  background-size: 100% 200%;
}

.mv_scrolldown .el_scrolldownCircle {
  width: 10px;
  height: 10px;
  background-color: white;
  border-radius: 50%;
  position: absolute;
  top: var(--line-height-abs);
  left: 50%;
  transform: translateX(-50%);
  animation: circleMove 2.2s cubic-bezier(0.76, 0, 0.3, 1) infinite;
}

@keyframes circleMove {
  0% {
    top: var(--line-height-abs);
  }

  100% {
    top: var(--line-height);
  }
}

.bl_fv {
  overflow: hidden;
}

/* 写真スライド */
.bl_topSwiper_bg {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: auto;
  z-index: 100;
  overflow: visible;
  max-width: 450px;
}

.bl_topSwiper_bg .swiper-wrapper {
  perspective: 1000px;
  width: 100%;
  height: 100%;
}

.bl_topSwiper_bg .swiper-slide {
  position: relative;
  width: 120%;
  height: 100%;
  opacity: 0;
  transform-origin: center !important;
  max-width: 1200px;
  max-height: 680px;
  margin: 0 auto;
}

.bl_topSwiper_bgImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
  max-width: 1200px;
  max-height: 680px;
  display: block;
  margin: 0 auto;
}

.bl_topSwiper_bg .swiper-slide[aria-label='1 / 5'] .bl_topSwiper_bgImg {
  rotate: -7deg;
}

.bl_topSwiper_bg .swiper-slide[aria-label='2 / 5'] .bl_topSwiper_bgImg {
  rotate: 5deg;
}

.bl_topSwiper_bg .swiper-slide[aria-label='3 / 5'] .bl_topSwiper_bgImg {
  rotate: -5deg;
}

.bl_topSwiper_bg .swiper-slide[aria-label='4 / 5'] .bl_topSwiper_bgImg {
  rotate: 7deg;
}

.bl_topSwiper_bg .swiper-slide[aria-label='5 / 5'] .bl_topSwiper_bgImg {
  rotate: 3deg;
}

.ly_topAbout {
  position: relative;
  margin-inline: auto;
}

.ly_topAbout .el_circles {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.1;
}

.bl_topAbout {
  padding-block: 64px;
  transform-origin: center bottom;
  margin-inline: auto;
}

.bl_topAbout h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding-bottom: 40px;
  cursor: default;
}

.bl_topAboutTxt {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 60px;
}

.bl_topAbout p {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 2;
}

.bl_topAboutSwiper {
  width: calc(100% + 20px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.bl_topAboutSwiper .swiper-slide {
  aspect-ratio: 15 / 19;
}

.bl_topAboutSwiper .swiper-slide img {
  object-fit: cover;
  height: 100%;
}

.bl_topAboutSwiper.swiper-horizontal>.swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
  height: 1px;
  margin-top: 25px;
  margin-right: 40px;
  width: 76px;
  position: static;
  border-radius: 0;
  background: rgba(243, 131, 82, 0.3);
}

.bl_topAboutSwiper .swiper-scrollbar-drag {
  background: var(--color-accent-orange);
}

.ly_topPoints {
  padding-top: 80px;
}

.bl_topPointsInner {
  max-width: 1240px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bl_topPoints h2 {
  padding-bottom: 28px;
}

.bl_topPointsList_item {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 16px;
  padding-block: 24px;
  border-top: 1px solid #e5e5e5;
}

.bl_topPointsList_item:last-child {
  border-bottom: 1px solid #e5e5e5;
}

.bl_topPointsList_item h3 {
  font-size: 20px;
  font-weight: 700;
  padding-block: 9.5px;
  width: calc(100% - 72px);
  color: var(--text-secondary);
}

.bl_topPointsList_item p {
  width: calc(100% - 72px);
  margin-inline-start: 72px;
}

.bl_topPointsList_item>span {
  display: block;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  letter-spacing: 0.02em;
  width: 56px;
  color: var(--color-accent-orange);
}

.bl_topPointSwiper>.swiper-wrapper {
  transition-timing-function: linear;
}

.bl_topPointSwiper {
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-top: 74px;
}

.bl_topPointSwiper .swiper-slide {
  aspect-ratio: 9 / 7;
}

.bl_topPointSwiper .swiper-slide img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.bl_topPointSwiper .swiper-slide[aria-label='2 / 4'],
.bl_topPointSwiper .swiper-slide[aria-label='4 / 4'] {
  margin-top: 10%;
}

/* ================================================   */
/*   コラム */
/* ================================================ */

.ly_topColumn {
  padding-block: 80px;
  padding-inline: 20px;
}

.ly_topColumn button {
  padding-bottom: 24px;
}

.bl_column_categories {
  display: none;
}

.ly_column .bl_column_categories {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  border-bottom: 1px solid #e5e5e5;
  padding-top: 40px;
}

.bl_column_categories button {
  appearance: none;
  border: none;
  background: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.6s;
  border-bottom: 4px solid transparent;
  transition: border-color 0.5s;
}

.bl_column_categories button:hover,
.bl_news_categories button:hover {
  border-color: var(--text-secondary);
  box-sizing: border-box;
}

.bl_column_list {
  padding-top: 40px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 5.6vw;
  row-gap: 24px;
}

.bl_column_item {
  display: block;
  width: calc(50% - 2.8vw);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.bl_column_item:hover .bl_column_title {
  text-decoration: underline;
}

.bl_column_thumbnail img {
  transition: transform 0.6s;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.bl_column_item:hover .bl_column_thumbnail img {
  transform: scale(1.05);
}

.bl_column_thumbnail {
  background: #d9d9d9;
  color: var(--text-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
  aspect-ratio: 157 / 105;
  overflow: hidden;
}

.bl_column_title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bl_column_meta {
  display: flex;
  letter-spacing: 0.02em;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-secondary);
  padding-bottom: 11px;
  border-bottom: 1px solid #e5e5e5;
}

/* ================================================ */
/* クリニック */
/* ================================================ */

.ly_topClinics {
  padding-block: 80px;
  padding-inline: 20px;
}

.bl_clinincArea {
  margin-top: 40px;
}

.bl_clinincArea_list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  margin-top: 16px;
}

.bl_topClinics_item {
  width: 100%;
}

.bl_topClinics_thumbnail {
  overflow: hidden;
  aspect-ratio: 1.8;
  border-radius: 8px;
}

.bl_topClinics_link img {
  transition: transform 0.6s;
}

.bl_topClinics_link:hover img {
  transform: scale(1.05);
  transition: transform 0.6s;
}

.bl_topClinics_link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  letter-spacing: 0.04em;
}

.bl_topClinics_link>span {
  display: block;
  height: 1px;
  width: 100%;
  background: #e5e5e5;
}

.bl_topClinics_place {
  font-size: 12px;
  font-weight: 500;
  color: #aaaaaa;
}

.bl_topClinics_title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.bl_topClinics_link:hover .bl_topClinics_title {
  text-decoration: underline;
}

.bl_topClinics_thumbnail img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* ================================================ */
/* お客様の声 */
/* ================================================ */

.ly_voice {
  padding-block: 80px;
  padding-inline: 20px;
}

.bl_voice {
  position: relative;
}

.bl_voiceSwiper {
  margin-top: 24px;
  border-block: 1px solid #e5e5e5;
  padding-block: 40px;
  letter-spacing: 0.04em;
  position: static;
}

.bl_voiceSwiper .swiper-buttons {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: max-content;
  display: flex;
  justify-content: space-between;
  transform: translateY(50%);
}

.bl_voiceSwiper .swiper-button-next,
.bl_voiceSwiper .swiper-button-prev {
  position: static;
  width: 24px;
  height: 24px;
  margin-top: 0;
}

.bl_voiceCont_imgCont {
  aspect-ratio: 67 / 52;
  margin-bottom: 40px;
}

.bl_voiceCont_imgCont img {
  object-fit: cover;
  width: 100%;
  max-height: 100%;
}

.bl_voiceCont_txtCont h3,
.bl_voiceCont_txtCont h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-secondary);
}

.bl_voiceCont_txtCont h4 {
  font-weight: 500;
  padding-top: 16px;
  padding-bottom: 24px;
}

.bl_voiceCont_txtCont p {
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  -webkit-box-orient: vertical;
}

/* ================================================ */
/* お知らせ */
/* ================================================ */

.ly_news {
  padding-block: 80px;
  padding-inline: 20px;
}

.bl_newsHeader {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.bl_news .bl_btn {
  font-size: 14px;
  gap: 12px;
  margin-top: 0px;
  align-items: end;
}

.bl_news .bl_btn svg {
  width: 24px;
  height: 24px;
}

.bl_newsList {
  margin-top: 40px;
}

.bl_news_item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-block: 40px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.3s;
}

.bl_news_item span {
  transition: color 0.3s;
}

.bl_news_item:hover {
  background-color: #e5e5e51a;
}

.bl_news_item:hover span {
  color: var(--color-accent-orange);
}

.bl_news_item_meta {
  color: #4a4a4a;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
  letter-spacing: 0.02em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.bl_news_category {
  color: #f38353;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  gap: 7.5px;
  align-items: center;
}

.bl_news_category>span {
  width: 6px;
  height: 6px;
  background: #f38353;
  border-radius: 50%;
}

.bl_news_link {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* ================================================ */
/* バナー */
/* ================================================ */

.ly_banners {
  padding-bottom: 80px;
  padding-inline: 20px;
}

.bl_banners {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bl_banners_item {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.bl_banners_item.hp_borderBlack {
  border: 2px solid #000;
}

/* ================================================ */
/* elements */
/* ================================================ */

.el_heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: default;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.el_heading.hp_txtCenter {
  align-items: center;
}

.el_heading span {
  font-size: 14px;
  margin-top: 8px;
  border-top: 2px solid #04547e;
  padding-top: 8px;
  max-width: fit-content;
}

@media screen and (min-width: 768px) {
  .bl_fv .el_heading {
    z-index: 1000;
  }

  .bl_fv {
    max-height: 768px;
  }

  .bl_fvText {
    padding-inline: 80px;
    top: 50%;
  }

  .bl_fvText img {
    width: 30vw;
  }

  .mv_scrolldown {
    left: 80px;
  }

  .bl_topSwiper .swiper-pagination-bullets {
    right: 80px;
  }

  .bl_topSwiper_bg {
    /* top: 16%;
    left: 65%; */
    max-width: 600px;
  }

  .bl_topAbout {
    padding-block: 156px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 80px;
  }

  .bl_topAbout h3 {
    font-size: 48px;
    width: calc(50% - 40px);
    height: fit-content;
    position: sticky;
    top: 180px;
  }

  .bl_topAbout .bl_topAbout_cont {
    width: calc(50% - 40px);
  }

  .bl_topAbout .bl_btn {
    width: 100%;
  }

  .bl_topAboutTxt {
    padding-bottom: 64px;
  }

  .bl_topAbout p {
    font-size: 18px;
    color: #00527e;
  }

  .bl_topAboutSwiper {
    width: calc(100% + 80px);
  }

  .bl_topAboutSwiper.swiper-horizontal>.swiper-scrollbar,
  .swiper-scrollbar.swiper-scrollbar-horizontal {
    margin-right: calc(10vw + 80px);
  }

  .ly_topAbout .el_circles {
    width: 50vw;
    height: 50vw;
    top: 50%;
    transform: translateY(-50%);
    left: -10px;
  }

  .bl_topPoints .el_heading {
    /* margin-block: auto;
    padding-block: 40px; */
  }

  .bl_topPointsInner {
    flex-direction: row-reverse;
  }

  .ly_topPoints {
    padding-top: 150px;
  }

  .bl_topPoints {
    gap: 0;
  }

  .bl_topPoints .el_heading {
    writing-mode: tb;
  }

  .bl_topPointsList {
    width: 70%;
  }

  .bl_topPointsList_item {
    flex-direction: column;
    column-gap: 60px;
    row-gap: 20px;
    position: relative;
    padding-block: 30px;
  }

  .bl_topPointsList_item span {
    font-size: 48px;
  }

  .bl_topPointsList_item h3 {
    font-size: 24px;
  }

  .bl_topPointsList_item span,
  .bl_topPointsList_item h3 {
    width: 30%;
    height: fit-content;
  }

  .bl_topPointsList_item p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: calc(70% - 0px);
  }

  .bl_topPointSwiper>.swiper-wrapper {
    height: auto;
  }

  .bl_topPointSwiper {
    width: calc(100% + 160px);
    margin-left: -80px;
    margin-right: -80px;
    margin-top: 160px;
  }

  .bl_topPointSwiper .swiper-slide[aria-label='2 / 4'],
  .bl_topPointSwiper .swiper-slide[aria-label='4 / 4'] {
    margin-top: 75px;
  }

  .bl_column_categories {
    border-bottom: none;
  }

  /* voice */

  .ly_voice {
    padding-inline: 80px;
    /*padding-block: 110px; */
    padding-block: 150px;
  }

  .el_heading {
    font-size: 40px;
    align-items: center;
    flex-direction: row;
  }

  .el_heading span {
    font-size: 16px;
    margin-top: unset;
    border-top: unset;
    padding-top: unset;
    width: 60%;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 2px solid #04547e;
  }

  .el_heading.hp_txtCenter span {
    text-align: justify;
  }

  .bl_voiceSwiper {
    margin-top: 30px;
    padding-block: 64px;
  }

  .bl_voiceCont {
    display: flex;
    gap: 64px;
  }

  .bl_voiceCont_imgCont {
    max-width: 25%;
    flex-shrink: 0;
    width: 100%;
    margin-bottom: 0;
  }

  .bl_voiceCont_txtCont h3 {
    font-size: 24px;
  }

  .bl_voiceCont_txtCont h4 {
    padding-block: 24px;
  }

  .bl_voiceCont_txtCont p {
    font-size: 16px;
  }

  /* swiper */

  .swiper-pagination_wrapper {
    position: absolute;
    top: 0;
    right: 180px;
  }

  .bl_voiceSwiper .swiper-pagination {
    position: static;
  }

  .swiper-pagination-fraction {
    display: flex !important;
    flex-direction: row;
    width: fit-content;
    gap: 14px;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-orange);
    font-size: 32px;
    font-family: 'Montserrat', sans-serif;
  }

  .swiper-pagination-progressbar {
    position: static;
    height: 1px;
    width: 76px;
    background: rgba(243, 131, 82, 0.3);
  }

  .swiper-pagination-progressbar span {
    display: block;
    height: 100%;
    background: rgba(243, 131, 82, 1);
    transition: all 0.3s;
  }

  .pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* image */

  /* .bl_imageFill {
    aspect-ratio: 13 / 6;
  } */

  /* column */

  .ly_topColumn {
    padding-block: 150px;
    padding-inline: 80px;
  }

  .ly_topColumn .bl_column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .bl_columnHeader {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
  }

  .bl_column_list {
    padding-top: 64px;
    column-gap: 56px;
    row-gap: 80px;
    width: 70%;
  }

  .bl_column_item {
    width: calc(50% - 28px);
    gap: 15px;
  }

  .bl_column_meta {
    font-size: 16px;
    padding-bottom: 15px;
  }

  .bl_column_title {
    font-size: 16px;
  }

  .bl_column .bl_btn {
    width: 100%;
  }

  /* clinics */

  .ly_topClinics {
    padding-block: 140px;
    padding-inline: 80px;
  }

  .bl_clinincArea_list {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 40px;
    gap: 40px;
    align-items: center;
    justify-content: center;
  }

  .bl_topClinics_item {
    max-width: 400px;
  }

  .bl_topClinics_place {
    font-size: 13px;
  }

  .bl_topClinics_title {
    font-size: 18px;
  }

  /* news */

  .ly_news {
    padding-block: 120px;
    padding-inline: 80px;
  }

  .bl_newsHeader {
    flex-direction: row;
    align-items: center;
  }

  .bl_news .bl_btn {
    margin-top: unset;
  }

  .bl_newsList {
    margin-inline-start: auto;
    width: 67%;
  }

  .bl_news_item {
    position: relative;
  }

  .bl_news_title {
    font-size: 18px;
  }

  .bl_news_link {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .ly_banners {
    padding-bottom: 120px;
  }

  .bl_banners {
    gap: 32px;
  }

  .bl_banners_item {
    max-width: 826px;
    margin-inline: auto;
  }
}

@media screen and (min-width: 1024px) {
  .bl_topSwiper_bg {
    top: 15%;
    left: 65%;
    max-width: 700px;
  }

  .bl_fvText img {
    width: 400px;
  }

  .bl_topClinics {
    max-width: 1240px;
    margin-inline: auto;
  }

  .bl_clinincArea_list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1440px) {
  .bl_fvText {
    right: 57%;
    left: auto;
  }

  .ly_topAbout {
    max-width: 1760px;
  }
}

@media screen and (min-width: 1760px) {
  .bl_fvText {
    right: 50%;
  }

  .bl_topSwiper_bg {
    max-width: 850px;
  }
}