@charset "UTF-8";

.mv_box {
  position: relative;
}

.mv_osaka {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.mv_image {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  padding-left: 160px;
  position: relative;
}

.mv_osaka .mv_text {
  position: absolute;
  top: 50%;
  left: 3%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.mv_osaka .mv_lead {
  font-size: min(6vw, 70px);
  color: #28ac4b;
  margin-bottom: min(3vw, 52px);
  line-height: 1.3;
}

.mv_osaka .mv_sublead {
  font-size: min(1.8vw, 24px);
  font-weight: 500;
  margin-bottom: min(5vw, 90px);
  line-height: 1.6;
}

.mv_news {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 30px;
  max-width: 800px;
  padding: clamp(8px, 1.4vw, 27px);
  gap: 20px;
}

.mv_news .news_meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mv_news .news_meta img {
  width: 20px;
  height: auto;
  display: block;
}

.mv_news .news_meta .date {
  font-size: clamp(10px, 0.8333vw, 16px);
  font-weight: 500;
  color: #858585;
  white-space: nowrap;
}

.mv_news .news_ttl {
  line-height: 1.5;
}

@media (max-width: 780px) {
  .mv_image {
    display: block;
    padding-right: unset;
    padding-left: 6%;
  }

  .mv_osaka .mv_text {
    top: 70%;
  }

  .mv_osaka .mv_lead {
    font-size: 10vw;
    text-shadow:
      0 0 2px rgba(255, 255, 255, 1),
      0 0 3px rgba(255, 255, 255, 1),
      0 0 6px rgba(255, 255, 255, 0.8),
      0 0 10px rgba(255, 255, 255, 0.6);
    margin-bottom: 3vw;
  }

  .mv_osaka .mv_sublead {
    font-size: 3.5vw;
    text-shadow:
      0 0 2px rgba(255, 255, 255, 1),
      0 0 3px rgba(255, 255, 255, 1),
      0 0 6px rgba(255, 255, 255, 0.8),
      0 0 10px rgba(255, 255, 255, 0.6);
    margin-bottom: 4vw;
  }

  .mv_news {
    flex-wrap: wrap;
    gap: 4px;
    border-radius: 50px;
    padding: 5%;
    margin: 30px 20px 0;
    box-sizing: border-box;
  }

  .mv_news .icon_futaba {
    width: 16%;
  }

  .mv_news .news_ttl {
    font-size: 12px;
  }
}

/* 「動く総合病院」を目指しています！！ */
#sec_main_lead {
  padding-top: clamp(40px, 8.33vw, 160px);
}

#sec_main_lead .main_lead_box {
  margin-inline: auto;
  max-width: 1100px;
  padding-bottom: clamp(20px, 6.5vw, 317px);
  position: relative;
  text-align: center;
}

#sec_main_lead .main_lead_box .sec_title {
  line-height: 1.4;
}

#sec_main_lead .main_lead_box .sec_title span {
  font-size: inherit;
  letter-spacing: -1px;
}

#sec_main_lead .main_sublead {
  display: inline-block;
}

#sec_main_lead .main_sublead p {
  font-size: clamp(14px, 1.25vw, 24px);
  font-weight: bold;
  color: #8a7b66;
  text-align: center;
  position: relative;
  line-height: 2.6;
}

#sec_main_lead .main_sublead p::before {
  content: "";
  display: block;
  width: 64px;
  height: 61px;
  background: center / contain no-repeat url(/common_osaka/images/check_point.png);
  position: absolute;
  top: -5%;
  left: -8%;
}

#sec_main_lead .main_sublead p span {
  font-size: clamp(18px, 1.8vw, 30px);
}

#sec_main_lead .main_sublead p span.green {
  color: #8ac23e;
}

#sec_main_lead .main_sublead p span.pink {
  color: #f09ba7;
}

#sec_main_lead .main_sublead p span.drak_green {
  color: #28ac4b;
}

#sec_main_lead .deco_image_tl {
  position: absolute;
  width: min(23.65vw, 454px);
  aspect-ratio: 454 / 295;
  left: -200px;
  top: -9%;
  background: url(/common_osaka/images/top/bg-deco_tl.png) no-repeat center / contain;
  z-index: 2;
}

#sec_main_lead .deco_image_bl {
  position: absolute;
  width: min(23vw, 459px);
  aspect-ratio: 459 / 333;
  left: -220px;
  bottom: 0;
  background: url(/common_osaka/images/top/bg-deco_bl.png) no-repeat center / contain;
  z-index: 2;
}

#sec_main_lead .deco_image_tr {
  position: absolute;
  width: min(21.56vw, 454px);
  aspect-ratio: 414 / 297;
  right: -190px;
  top: -12%;
  background: url(/common_osaka/images/top/bg-deco_tr.png) no-repeat center / contain;
  z-index: 2;
}

#sec_main_lead .deco_image_br {
  position: absolute;
  width: min(28.8vw, 553px);
  aspect-ratio: 553 / 435;
  right: -300px;
  bottom: -3%;
  background: url(/common_osaka/images/top/bg-deco_br.png) no-repeat center / contain;
  z-index: 2;
}

@media (max-width: 1700px) {
  #sec_main_lead {
    padding-bottom: 40px;
  }

  #sec_main_lead .main_lead_box {
    width: 85%;
  }

  #sec_main_lead .main_sublead p::before {
    background-position: top;
    width: 50px;
    height: 100%;
  }

  #sec_main_lead .deco_image_tl,
  #sec_main_lead .deco_image_bl {
    left: -15%;
  }

  #sec_main_lead .deco_image_tr {
    right: -10%;
  }

  #sec_main_lead .deco_image_br {
    right: -20%;
  }
}

@media (max-width: 780px) {
  #sec_main_lead .main_lead_box {
    width: initial;
  }

  #sec_main_lead .sec_title {
    margin-bottom: 40px;
    position: relative;
  }

  #sec_main_lead .sec_title::after {
    background: url("/common_osaka/images/com/illust_walk.png") center/contain no-repeat;
    content: "";
    display: inline-block;
    width: 100px;
    height: 140px;
    position: absolute;
    top: 0;
    right: -14px;
  }

  #sec_main_lead .main_lead_box .sec_title span {
    font-size: inherit;
  }

  #sec_main_lead .main_sublead p {
    line-height: 1.6;
  }

  #sec_main_lead .main_sublead p::before {
    width: 40px;
    top: -16px;
    left: -7%;
  }

  #sec_main_lead .deco_image_tl,
  #sec_main_lead .deco_image_bl,
  #sec_main_lead .deco_image_tr,
  #sec_main_lead .deco_image_br {
    display: none;
  }
}

/* 全院map */
.topmap {
  position: relative;
  max-width: 1401px;
  margin: clamp(40px, 8.33vw, 160px) auto 0;
}

.topmap-image {
  display: block;
  width: 100%;
  height: auto;
}

.map-link {
  position: absolute;
  display: block;
  width: 12%;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  z-index: 2;
}

/* hoverエフェクト（PCだけ） */
@media (hover: hover) and (pointer: fine) {
  .map-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.25s;
  }

  .map-link:hover::before {
    background-color: rgba(255, 255, 255, 0.25);
  }
}

.map-roppongi {
  top: 7.3%;
  left: 2%;
}

.map-shinkoiwa {
  top: 7%;
  left: 14.7%;
}

.map-kinshichou {
  top: 7%;
  left: 27.8%;
}

.map-kitasenju {
  top: 7%;
  left: 41.2%;
}

.map-kuki {
  top: 6.8%;
  right: 2.2%;
}

.map-sakura {
  top: 47%;
  right: 16.8%;
}

.map-yachiyo {
  top: 47%;
  right: 2.8%;
}

.map-kitanarashino {
  top: 70.8%;
  right: 17%;
}

.map-motoyawata {
  top: 70.8%;
  right: 3%;
}

.map-honmachi {
  top: 47.3%;
  left: 2.6%;
}

.map-esaka {
  top: 47.2%;
  left: 16.8%;
}

.map-higashiosaka {
  top: 71.2%;
  left: 10%;
}

@media (max-width: 780px) {
  .map-link {
    width: 19%;
  }

  .map-roppongi {
    top: 5.5%;
    left: 4%;
  }

  .map-shinkoiwa {
    top: 5.5%;
    left: 26.3%;
  }

  .map-kinshichou {
    top: 20.3%;
    left: 3%;
  }

  .map-kitasenju {
    top: 20.4%;
    left: 26%;
  }

  .map-kuki {
    top: 6%;
    right: 14.9%;
  }

  .map-honmachi {
    top: 67%;
  }

  .map-esaka {
    top: 67%;
    left: 25.4%;
  }

  .map-higashiosaka {
    top: 81.8%;
    left: 15%;
  }

  .map-sakura {
    top: 66.9%;
    right: 26.8%;
  }

  .map-yachiyo {
    top: 66.5%;
    right: 2.8%;
  }

  .map-kitanarashino {
    top: 82.2%;
    right: 27%;
  }

  .map-motoyawata {
    top: 82%;
    right: 2.5%;
  }
}

/* 当院は在宅医療に特化したクリニックです。 */
#home_medical {
  padding-bottom: 120px;
}

#home_medical .sec_wrapper {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 10;
}

#home_medical .home_medical_text {
  background: url(/common_osaka/images/bg_road01.png) center bottom / cover no-repeat;
  border-radius: var(--card-radius);
  max-width: 660px;
  width: 45%;
  aspect-ratio: 40 / 37;
  position: absolute;
  top: 30%;
  right: 47%;
  padding: var(--card-padding-pc);
  box-sizing: border-box;
}

#home_medical .home_medical_text::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: 0;
  width: clamp(50px, 4.46vw, 76px);
  height: clamp(110px, 9.95vw, 172px);
  background: center / contain no-repeat url(/common_osaka/images/com/illust_pointing.png);
}

#home_medical .home_medical_text_box {
  position: relative;
  box-sizing: border-box;
}

#home_medical .home_medical_text h2 {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: var(--h2-mb-md);
  line-height: 1.25;
}

#home_medical .home_medical_text .home_medical_text_box > p:not(:last-of-type) {
  padding-bottom: clamp(20px, 3.45vw, 36px);
  line-height: 1.6;
}

#home_medical .home_medical_image {
  max-width: 960px;
  width: 50%;
  margin-left: auto;
}

#home_medical .home_medical_image img {
  object-fit: cover;
}

#home_medical .home_medical_text .btn_detail {
  width: 74%;
}

@media (min-width: 781px) and (max-width: 1200px) {
  #home_medical .home_medical_text h2 {
    letter-spacing: -1px;
  }
}

@media (max-width: 780px) {
  #home_medical {
    padding-bottom: 0;
  }

  #home_medical .sec_wrapper {
    flex-direction: column;
  }

  #home_medical .home_medical_text {
    width: 100%;
    max-width: none;
    position: relative;
    top: auto;
    right: auto;
    aspect-ratio: auto;
    padding: var(--card-padding-sp);
    margin-bottom: 20px;
  }

  #home_medical .home_medical_text::after {
    right: 4%;
  }

  #home_medical .home_medical_image {
    width: 100%;
    max-width: none;
  }
}

/* お知らせ */
#sec_news {
  background: url(/common_osaka/images/bg_news.jpg) center / cover no-repeat;
  padding-top: clamp(80px, 8.33vw, 160px);
}

#sec_news .news_box {
  width: 50%;
  background-color: #fff;
  border-radius: 30px 30px 0 0;
  padding: var(--card-padding-pc);
  margin-left: 0;
  box-sizing: border-box;
}

#sec_news .news_ttl {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: var(--h2-mb-sm);
}

#sec_news .news_ttl .icon-h2 {
  margin: 0;
}

#sec_news .news_table tr {
  display: flex;
  flex-direction: column;
}

#sec_news .news_table tr:not(:last-child) {
  padding-bottom: 28px;
}

#sec_news .news_table th {
  font-size: 16px;
  color: #858585;
  text-align: left;
  padding-bottom: 22px;
}

#sec_news .news_table td {
  font-size: 20px;
  padding-bottom: 23px;
  position: relative;
  line-height: 1.2;
}

#sec_news .news_table td::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background-image: radial-gradient(circle, #dcedc5 3px, transparent 3px);
  background-size: 8px 6px;
  background-repeat: repeat-x;
}

.news_table a {
  display: flex;
  gap: 10px;
}

.news_table .new {
  background-color: #ff3939;
  border-radius: 5px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  width: 42px;
  height: 23px;
}

@media (max-width: 780px) {
  #sec_news {
    padding-top: 40px;
  }
  #sec_news .news_box {
    width: 100%;
    padding: var(--card-padding-sp);
    margin: 0 auto;
  }

  #sec_news .news_table th {
    font-size: clamp(12px, 0.8333vw, 16px);
    padding-bottom: 12px;
  }

  #sec_news .news_table td {
    font-size: clamp(14px, 1.47vw, 20px);
  }
}

/* スライダー */
.js-area-slider .slick-track {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.js-area-slider .slick-slide {
  float: left;
  margin: 0;
}

.js-area-slider .slick-slide > div,
.js-area-slider .slick-slide {
  width: 100%;
}

/* ふたば式 */
#sec_futabastyle .sec_wrapper {
  max-width: var(--inner-max);
  width: var(--inner-width);
  margin: 0 auto;
  padding: 0;
}

/* 在宅医療とは？ */
#sec_about .sec_wrapper {
  margin-left: calc(50% - 50vw);
}
#sec_about .about_image {
  flex: 0 0 53.6%;
}
@media (max-width: 768px) {
  #sec_about .sec_wrapper {
    margin: 0 auto;
  }
}
