
/* ----------------------
   font
---------------------- */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Zen Maru Gothic', sans-serif !important;
}
p {
  font-size: 18px;
}
[id] {
    scroll-margin-top: 100px;
}

body {background: #f9f7f3;}
.fs-12{ font-size: 12px;}
.fs-14{ font-size: 14px;}
.fs-16{ font-size: 16px;}
.fs-18{ font-size: 18px;}
.fs-12rem {font-size: 1.2rem;}
.fs-20{ font-size: 20px;}
.catch {
 font-size: 28px;
}
.f-blu {
  color: #6cc8e6;
}
.f-gry {
  color:#575757 ;
}
.ls-03 {
  letter-spacing: .03rem;
}

.f-bold {
  font-weight: 700;
}
.sub-title {
  color: #666666;
  font-size: clamp(12px, 4vw, 14px);
}

#vk-mobile-nav-menu-btn {
  display: none;
}

/* =====RESPONSIVE ==== */
.pc-br { display:none; }
.ipad-br { display:none; }
.sp-br { display:none; }
@media (min-width:1200px){
  .pc-br{display:inline;}
}
@media (min-width:768px) and (max-width:1199px){
  .ipad-br{display:inline;}
}
@media (max-width:767px){
  .sp-br{display:inline;}
}
/*********************/
@media (min-width: 1200px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1400px !important;
  }
}
@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1400px;
    }
}
@media (max-width: 991px) {
.message .container,
.feature .container,
.reservation .container,
.medical-info .container,
.access .container {
  max-width: 100% !important;
}
} 
/*----------------------
bird-wrapper
------------------------*/
.bird-wrapper {
  position: fixed;
  left: 100vw;
  z-index: 9999;
  pointer-events: none;
}

.bird {
  width: 50px;
  height: 50px;

  background-image: url("/wp-content/themes/team-takashima/assets/img/bird_1.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  animation: flap 0.4s steps(1) infinite;
}

.bird-a {
  top: 120px;
  animation: flyA 12s linear forwards;
}

@keyframes flyA {
  0% {
    transform: translate(0, 0);
  }

  15% {
    transform: translate(-20vw, 10px);
  }

  30% {
    transform: translate(-40vw, 80px);
  }

  50% {
    transform: translate(-60vw, 180px);
  }

  65% {
    transform: translate(-85vw, 80px);
  }

  80% {
    transform: translate(-110vw, -40px);
  }

  100% {
    transform: translate(-130vw, -160px);
  }
}

.bird-b {
  top: 160px;
  animation: flyB 12s linear forwards;
  animation-delay: 1.5s;
}

@keyframes flyB {
  0% {
    transform: translate(0, 0);
  }

  15% {
    transform: translate(-25vw, 80px);
  }

  30% {
    transform: translate(-50vw, 20px);
  }

  50% {
    transform: translate(-70vw, 160px);
  }

  65% {
    transform: translate(-95vw, 60px);
  }

  80% {
    transform: translate(-115vw, -20px);
  }

  100% {
    transform: translate(-130vw, -140px);
  }
}

@keyframes flap {
  0%   { background-image: url("/wp-content/themes/team-takashima/assets/img/bird_1.png"); }
  25%  { background-image: url("/wp-content/themes/team-takashima/assets/img/bird_2.png"); }
  50%  { background-image: url("/wp-content/themes/team-takashima/assets/img/bird_3.png"); }
  75%  { background-image: url("/wp-content/themes/team-takashima/assets/img/bird_4.png"); }
  100% { background-image: url("/wp-content/themes/team-takashima/assets/img/bird_1.png"); }
}

/*----------------------
custom-header
------------------------*/
body.menu-open {
    overflow: hidden;
}

.lk-clinic-header {
    background: #fff;
    position: relative;
    z-index: 1000;
}

.lk-clinic-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 5px;
    max-width: 1400px;
    margin: 0 auto;
}

.lk-clinic-header__logo img {
    max-width: 280px;
}
@media screen and (max-width: 1199px) {
    .lk-clinic-header__inner {
        padding: 5px 0;
    }
    .lk-clinic-header__logo {
        margin-right: auto;
    }
    .lk-clinic-header__logo img {
        max-width: 200px;
        width: 100%;
        height: auto;
    }

}
/* ----固定header（通常ページ）---*/

.lk-clinic-header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(8px);
    z-index: 9999;
}
/* ==========================
toppage scroll-header
========================== */

.lk-clinic-header--scroll {
    position: fixed;
    top: -120px;
    left: 0;
    width: 100%;
    background: #f9f7f3;
    backdrop-filter: blur(8px);
    transition:
        top .5s ease,
        opacity .5s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
}

.lk-clinic-header--scroll.is-show {
    top: 0;
    opacity: 1;
    visibility: visible;
}
/* ==========================
nav
========================== */
.lk-clinic-nav {
    display: flex;
    align-items: center;
    gap: 24px;
     margin-left: auto;
}
.lk-clinic-nav__item {
    position: relative;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    padding-right: 20px;
    transition: all .35s ease;
}
.lk-clinic-nav__item::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: #d5d5d5;
}

.lk-clinic-nav__item:last-of-type::after {
    display: none;
}
.lk-clinic-nav__item:hover{
color: #6cc8e6;
}
.lk-clinic-nav__item img {
    width: 60px;
}
.lk-clinic-nav__text {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all .35s ease;
}
.lk-clinic-nav__item:hover .lk-clinic-nav__text {
    color: #6cc8e6;
}

@media screen and (max-width: 1199px) {
    .lk-clinic-nav__item {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        padding: 20px 0;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }
    .lk-clinic-nav__item:not(:last-child)::after {
      display: none;
    }
    .lk-clinic-nav__item img {
        width: 50px;
        flex-shrink: 0;
    }
    .lk-clinic-nav__text {
        margin-top: 0;
        font-size: 16px;
    }
}

/* ==========================
button
========================== */
.lk-clinic-action-pc {
    display: flex;
    gap: 12px;
}
.lk-clinic-action-sp {
    display: none;
}
.lk-clinic-btn {
    display: flex;
    font-weight: 500;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    padding: 5px 10px;
    transition: all .35s ease;
}
.lk-clinic-btn--web {
    background: #fff;
    color: #6cc8e6;
    border: 2px solid #6cc8e6;
}
.lk-clinic-btn--tel {
    background: #6cc8e6;
    color: #fff;
    border: 2px solid #6cc8e6;
}
.lk-clinic-btn--web:hover {
    background: #6cc8e6;
    color: #fff;
    border: 2px solid #6cc8e6;
}
.lk-clinic-btn--tel:hover {
    color: #fff;
}

/* ==========================
hamburger
========================== */

.lk-clinic-hamburger {
    width: 42px;
    height: 42px;
    border: none;
    background: #6cc8e6;
    border-radius: 5px;
    display: none;
    position: relative;
    z-index: 10000;
    cursor: pointer;
}
.lk-clinic-hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    margin: 6px auto;
    transition: .4s;
}

.lk-clinic-hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.lk-clinic-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.lk-clinic-hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================
overlay
========================== */

.lk-clinic-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: .4s;
    z-index: 999;
}

.lk-clinic-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 1199px) {
    .lk-clinic-header {
        padding: 16px 20px;
    }
    .lk-clinic-hamburger {
        display: block;
    }
    .lk-clinic-action-pc {
        display: none;
    }

    .lk-clinic-action-sp {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 40px;
        gap: 12px;
        font-size: 16px;
    }

    .lk-clinic-action-sp .lk-clinic-btn {
        width: 100%;
        height: 60px;
    }
    .lk-clinic-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 80px 30px 40px;
        transition: right .5s ease;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: -5px 0 20px rgba(0,0,0,.1);
    }

    .lk-clinic-nav.active {
        right: 0;
    }
}
/* ----------------------
   top-page HERO
---------------------- */
.clinic-hero {
  position: relative;
  overflow: hidden;
  padding-top:80px;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.clinic-side {
  max-width: 100%;
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 0 5px;
}
.clinic-logo {
  text-align: center;
}
.clinic-logo img {
  width: 180px;
}
.clinic-type {
  text-align: center;
  color: #666;
  font-weight: 500;
  margin: 40px 0 30px 0;
  line-height: 1.8;
}
.nav-card {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 15px;
  min-height: 110px;
  color: #666;
  background-color: #fff;
  border: 2px solid #6cc8e6;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: .3s;
  margin-bottom: 20px;
}
.nav-card:hover {
  transform: translateY(-3px);
  color: #6cc8e6;
}
.nav-card img {
  max-width: 60px;
}
@media (max-width: 991px) {
  .clinic-hero {
    padding-top: 20px;
  }
  .clinic-logo img{
    width: 150px;
  }
  .clinic-type {
   margin: 10px 0;
  }
}
/* ---------------------
   top-page SIDE
---------------------- */
@media (min-width: 922px) {

  .clinic-side {
    flex: 0 0 350px;
    max-width: 350px;
  }
}
.right-area{
    flex: 1;
    position: relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    width: 90%;
}
.hero-trapezoid{
    position: relative;
    width: min(90vw, 1400px);
    height: clamp(380px, 50vw, 700px);
    aspect-ratio: unset;
    overflow: hidden;
    clip-path: url(#houseClip);
    background: #6cc8e6;
    padding: 2px;
}


.hero-visual{
    position: relative;
    width:100%;
    display:flex;
    justify-content:center;
}


/**---- slider ----**/

.heroSwiper{
    width:100%;
    height:100%;
     clip-path: url(#houseClip);
}

.heroSwiper .swiper-slide{
    position: relative;
    height:100%;
}
.heroSwiper .swiper-slide img{
    transform: scale(1);
    transition: transform 6s linear;
}

.heroSwiper .swiper-slide-active img{
    transform: scale(1.08);
}
.heroSwiper img{
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}
@media (min-width: 912px) {
  .right-area {
    flex: 1;
    max-width: calc(100% - 350px);
  }
}

.reserve-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}


.reserve-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-height: 70px;
  border-radius: 8px;
}
.btn-web,
.btn-tel {
  background: #6cc8e6;
  color: #fff;
  border: 2px solid #6cc8e6;
  transition: all 0.25s ease;
}

.btn-web:hover,
.btn-tel:hover {
  background: #fff;
  color: #6cc8e6;
  border-color: #6cc8e6;
  transform: translateY(-4px);
}


@media (max-width: 768px) {
  .reserve-buttons {
    grid-template-columns: 1fr;
  }

}

/*****clinic-info****/

.clinic-calender {
  color: #333333;
  padding: 10px 20px;
  background: #fff;
  border-radius: 12px;
}

.clinic-table {
  width: 100%;
  table-layout: fixed;
  border: none;
}

.clinic-table th,
.clinic-table td {
  border: none;
  text-align: center;
  padding: .5rem;
}
.clinic-table thead tr,
.clinic-table tbody tr {
  border-bottom: 1px solid #e5e5e5;
}

.clinic-table tbody tr:last-child {
  border-bottom: none;
}

.clinic-table > thead > tr > th {
  font-weight: 500;
  white-space: normal;
}

.clinic-table th:first-child,
.clinic-table td:first-child {
  width: 22%;
  text-align: left;
  white-space: nowrap;
  font-size: 14px;
}

@media (min-width: 768px) and (max-width: 1024px) {

  .clinic-table th,
  .clinic-table td {
    font-size: 13px;
    padding: 6px 1px;
  }

  .clinic-table th:not(:first-child),
  .clinic-table td:not(:first-child) {
    width: 10.85%;
  }
}
@media (max-width: 767px) {
  .clinic-table th,
  .clinic-table td {
    padding: 6px 1px;
  }
  .clinic-table th:first-child,
  .clinic-table td:first-child {
    width: 22%;
    white-space: nowrap;
  }
  .clinic-table th:not(:first-child),
  .clinic-table td:not(:first-child) {
    width: 10.85%;
    font-size: 14px;
    letter-spacing: -.3rem;
  }
}

/***********/
.hero-copy {
  width: 100%;
}
.hero-copy h2 {
  color: #666666;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 500;
  text-align: left;
  line-height: 1.8;
  padding-left: 50px;
}
.clinic-nav img {
  max-width: 80px;
}
@media (max-width: 991px) {
  .clinic-nav,
  .reserve-buttons {
    display: none;
  }
.hero-copy h2 {
  text-align: center;
  padding-left: 0;
}
} 

  /* ------------------------
  news-area
  --------------------------*/
.news-area {
  display: flex;
  gap: 20px;
  align-items: center;
}
.news-label {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  color: #6cc8e6;
  text-align: center;
  font-weight: 500
}
.news-list {
  flex: 1;
  border-left: 1px solid #6cc8e6;
}
.news-content{
display:flex;
align-items:center;
gap:20px;
width:100%;
}
.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  text-decoration: none;
  color: #333;
  transition: .3s;
}
.news-item:hover{
  color: #6cc8e6;
  opacity:.8;
}
.news-meta{
display:flex;
align-items:center;
gap:16px;
flex-shrink:0;
}
.news-category {
    color: #6cc8e6;
    border: 1px solid;
    border-radius: 999px;
    padding: 1px 8px;
    width: 100px;
    text-align: center;
    font-size: 14px;
    transition: .3s;
}
.news-category:hover {
    color: #fff;
    background-color: #6cc8e6;
    opacity:.8;
}
.news-title {
  flex: 1;
}
.news-thumb{
  display:none;
}

@media (max-width: 787px) {
  .news-area {
    display: block;
  }
  .news-item {
    display: block;
    padding: 16px 0;
  }
.news-content{
    display:block;
    width:100%;
  }
 .news-meta{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
  }
  .news-thumb{
    display:block;
    margin-bottom:10px;
  }

  .news-thumb img{
    width:100%;
    height: auto;
    object-fit:cover;
    border-radius:6px;
    display:block;
  }
  .news-title{
    line-height:1.5;
    font-size:16px;
    font-weight:600;
  }
}
/*---------------------------------
ごあいさつ
----------------------------------*/
.message {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.message .container {
    position: relative;
    padding-bottom: 80px;
    background: radial-gradient(ellipse 80% 80% at center, rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 0) 100%);
}
.message .waku-lu {
  position: absolute;
  top: 30px;
  left: 0;
  width: 180px;
  z-index: 1;
  pointer-events: none;
}

.image-container {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.catch,
.row {
    position: relative;
    z-index: 2;
}

.bg-image {
    display: block;
    padding-top: 60px;
    width: 150px;
}

.overlay-image-l {
    position: absolute;
    top: 0;
    left: 56%;
    transform: translateX(-120%);
    z-index: 10;
    animation: birdLeftSwing 2s ease-in-out infinite;
}
.overlay-image-r {
    position: absolute;
    top: 0;
    left: 42%;
    transform: translateX(20%);
    z-index: 10;
    animation: birdRightSwing 2s ease-in-out infinite;
}
/* bird1 */
@keyframes birdLeftSwing {
    0% {
        transform: translateX(-120%) rotate(-3deg);
    }
    50% {
        transform: translateX(-110%) rotate(3deg);
    }
    100% {
        transform: translateX(-120%) rotate(-3deg);
    }
}

/* bird2 */
@keyframes birdRightSwing {
    0% {
        transform: translateX(20%) rotate(3deg);
        transform-origin: bottom center;
    }
    50% {
        transform: translateX(20%) rotate(-3deg);
        transform-origin: bottom center;
    }
    100% {
        transform: translateX(20%) rotate(3deg);
        transform-origin: bottom center;
    }
}
/*--------------------------
診療案内・当院の特徴
--------------------------*/
.feature,
.reservation,
.medical-info,
.medical-services,
.partner-hospital,
.access {
  position: relative;
  padding: 120px 0 60px;
}

.waku-lu {
  position: absolute;
  top: 90px;
  left: 30px;
  width: 180px;
  z-index: 0;
  pointer-events: none;
}

.waku-rb {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 180px;
  z-index: 0;
  pointer-events: none;
}
.feature-item img {
  max-width: 300px;
  width: 100%;
}
.frame-bottom-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.reserve-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 300px;
  padding: 14px 25px;
  background: #6cc8e6;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1;
  font-weight:500;
  transition: .3s;
}

.reserve-btn:hover {
  color: #fff;
  opacity: .85;
}

@media (max-width: 767px) {
  .frame-bottom-btns {
    flex-direction: column;
    align-items: center;
  }  
  .waku-lu {
  top: 0;
  left: 0;
  width: 100px;
}
.waku-rb {
  bottom: -20px;
  right: 0;
  width: 100px;
}
.feature .waku-lu,
.reservation .waku-lu,
.medical-info .waku-lu,
.access .waku-lu {
  display: none;
}
}

.reservation-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -9;
}
.reservation-frame path {
  fill: #fff;
  stroke: #6cc8e6;
  stroke-width: 2;
}

.feature .container,
.reservation .container,
.medical-info .container,
.access .container {
  position: relative;
  z-index: 2;
  padding: 120px 80px;
}

@media (max-width: 991px) {
  .reservation .container {
    padding:
      90px
      50px
      90px
      50px;
  }
}

@media (max-width: 767px) {
  .reservation-frame {
    display: none;
  }
  .reservation .container {
    background-size: contain;
    padding:
      70px
      25px
      70px
      25px;
  }
  
.feature .container,
.reservation .container,
.medical-info .container,
.access .container {
  padding: 20px;
}
  
.feature,
.reservation,
.medical-info,
.partner-hospital,
.access {
  position: relative;
  padding: 60px 0 60px;
}

}
.section-title {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.section-title .grape-icon {
  text-align: center;
  width: 80px;
  margin-bottom: 10px;
}
.main-title {
  font-size: 28px;
  color: #6cc8e6;
  margin: 0;
  line-height: 1.4;
  letter-spacing: .2rem;
  font-weight: 500;
}
.sub-title {
  font-size: 18px;
  color: #666;
  line-height: 1.4;
}
/*medical information*/
.medical-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 160px;
  margin-top: 10px;
  padding: 12px 10px;
  background: #6cc8e6;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  transition: .3s;
  font-weight: 500;
}

.medical-info-btn:hover {
  opacity: .8;
  color: #fff;
}

.medical-info-btn span {
  font-size: 14px;
}
.medical-info-item {
  display: flex;
  flex-direction: column;
  align-items: center; 
  margin-bottom: 30px;
}
.medical-info-item img {
  width: 100%;
  max-width: 120px;
}
/**** top-access ***/
.access-icon {
  width: 100px;
}
@media (max-width: 767px) {
  .access-icon {
    width: 60px;
  }
}
/*-----------------------
access-page
------------------------*/
.access-section .container {
  max-width: 1200px !important;
}


/*-----------------------
footer
------------------------*/
.custom-footer {
    padding: 50px 0;
    background: #f8f8f8;
}

.footer-logo img {
    max-width: 240px;
    height: auto;
}

.footer-departments {
    margin: 20px 0;
}

.footer-departments a {
    display: inline-block;
    background: #cfe0e7;
    padding: 8px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.custom-footer {
    padding: 50px 0 0;
    background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.7) 20%,
    rgba(255,255,255,1) 100%
  );
}

.footer-logo img {
    max-width: 300px;
    height: auto;
}

.footer-right{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.footer-btn {
    min-width: 180px;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-weight: bold;
    background-color: #6cc8e6;
    border:2px solid #6cc8e6;
    color: #fff;
}
.footer-btn:hover {
  color: #6cc8e6;
  background-color: #fff;
}
.footer-tel a {
  font-size:28px ;
  font-weight: 600;
  color: #6cc8e6;
  text-decoration: none;
}
.footer-copyright {
    text-align: center;
    padding: 20px 15px;
    font-size: 14px;
    color: #666;
}
.foot-calender {
  background-color: #f9f7f3;
  border-radius: 10px;
  padding: 10px;
}

.footer-buttons{
    display:flex;
    gap:15px;
}

.footer-buttons .footer-btn{
    flex:1;
    text-align:center;
}
.footer-menu{
    display:flex;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:20px;
    margin-bottom:30px;
    width:100%;
}

.footer-menu a {
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-menu a:hover {
    opacity: 0.7;
}

@media (max-width: 767px) {

    .footer-buttons{
        display:flex;
        justify-content:center;
        gap:10px;
    }

    .footer-btn{
        min-width:130px;
        width:130px;
    }
    .footer-right{
        align-items: center;
    }
    .footer-departments {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .footer-departments a {
        display: block;
        margin: 0;
        text-align: center;
      }
    .footer-menu{
      justify-content: center;
    }   
}

@media (max-width: 767px) {
  .fixed-footer-sp {
    position: fixed;
    bottom: -80px; 
    left: 0;
    width: 100%;
    background: #6cc8e6;
    padding: 12px 16px;
    display: flex;
    gap: 12px;
    justify-content: center;
    transition: bottom .4s ease;
    z-index: 9999;
  }

  .fixed-footer-sp.show {
    bottom: 0;
  }

  .fixed-footer-sp .footer-btn {
        flex: 1;
        text-align: center;
        padding: 12px 0;
        background: #fff;
        color: #6cc8e6;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 6px;
        font-weight: 700;
        text-decoration: none;
  }
}

/*---------------
post
----------------*/
.entry-footer,
.entry-meta-item-author,
.entry-meta-item-updated,
.vk_posts {
  display: none;
}
@media (max-width:787px){
.entry-header h1 {
  font-size: 1.5rem;
}
}
.single-post .container {
  max-width: 1000px !important;
}
/*-----------------------
page
------------------------*/
.page-wrapper{
    margin: 80px auto 0;
    padding: 40px 5px;
}
/*-----------------------
documents-page
------------------------*/
.medical-info-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0 0;
}
.medical-head {
  text-align: center;
  margin-bottom: 50px;
}
.medical-head h1 {
  font-size: 2rem;
  color: #2d4f5a;
  margin-bottom: 15px;
  position: relative;
}
.medical-head h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #6cc8e6;
  margin: 15px auto 0;
}
.medical-head p {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
  line-height: 1.9;
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.info-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.05);
  border-top: 4px solid #6cc8e6;
   margin: 0 20px;
}
.info-card h2 {
  font-size: 1.2rem;
  color: #2d4f5a;
  margin-bottom: 15px;
  line-height: 1.5;
}
.info-card p {
  color: #555;
  line-height: 1.9;
  margin-bottom: 10px;
}
.info-card.wide {
  grid-column: 1 / -1;
}
@media (max-width: 768px) {
  .medical-info {
    padding: 50px 15px;
  }
  .medical-head h1 {
    font-size: 1.6rem;
  }
  .info-card {
    padding: 25px;
    margin: 0 20px;
  }

}
/*-----------------------
medical-services-page
------------------------*/
.services-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.services-card {
  margin-top: 0;
}
.services-card h2 {
  font-size: 2rem;
  color: #2d4f5a;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #6cc8e6;
}
.services-card article {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.symptom-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 1rem 0 0 ;
  list-style: none;
}

.symptom-list li {
  background: #efeeeb;
  border-radius: 30px;
  padding: 2px 8px;
  font-size: 1.1rem;
  line-height: 1.4;
  margin:0;
}
.page-wrapper p {
  margin-bottom:0;
  line-height: 2rem;
  font-size:1.2rem;
}

.services-card h2[id] {
    scroll-margin-top: 150px;
}

@media (max-width:767px){
  .services-card article {
    padding: 15px 20px;
  }
}
/*-----------------------
clinic-about-page
------------------------*/
.page-id-83 {
  background: #eef5f7;
  }
.page-id-83 [id] {
    scroll-margin-top: 150px;
}
.page-id-83 .page-wrapper {
   padding: 40px 10px;
}
/* ---------- */

.guide-head{
  text-align:center;
  max-width:800px;
  margin:0 auto 70px;
}

.guide-head h1{
  font-size:clamp(2rem,4vw,2.5rem);
  color:#2f5061;
  margin-bottom:15px;
}
.guide-head h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #6cc8e6;
    margin: 15px auto 0;
}

.guide-head p{
  color:#666;
  line-height:2;
}

/* ---------- */

.guide-card{
  max-width:1100px;
  margin:0 auto 50px;
  display:grid;
  grid-template-columns:320px 1fr;
  gap:50px;
  align-items:center;
  background:#fff;
  border-radius:20px;
  padding:50px;
  box-shadow:
  0 10px 30px rgba(0,0,0,.05);
}
/* ---------- */

.guide-left{
  text-align:center;
}

.guide-icon{
  width:90px;
  height:90px;
  margin:0 auto 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:2.5rem;
  background:#e8f7fd;
}

.guide-left h2{
  color:#2f5061;
  font-size:1.8rem;
  margin-bottom:15px;
}

.guide-left p{
  color: #6cc8e6;
  font-weight: 500;
}

/* ---------- */

.guide-right{
  color:#555;
}

.guide-right p{
  line-height:2;
  margin-bottom:20px;
}

/* ---------- */

.info-list,
.medical-info-list {
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:15px;
  font-size :1.1rem;
}

.info-list li{
  background:#f5fbff;
  border:1px solid #e2eef5;
  border-radius:50px;
  padding:14px 18px;
  text-align:center;
  font-weight:500;
  color:#2f5061;
}
.medical-info-list li {
 border-bottom:1px dotted #2f5061;
 padding:14px 18px;
 font-weight:500;
 color:#2f5061;
}
.medical-info-list li::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #6cc8e6;
    border-radius: 50%;
    margin-right: 0.5em;
}
.guide-card .guide-icon{
  background:#f9f7f3;
}
@media(max-width:991px){
  .guide-card{
    grid-template-columns:1fr;
    gap:25px;
    padding: 30px 20px;
  }
  .reverse .guide-left,
  .reverse .guide-right{
    order:initial;
  }
  .guide-left h2{
    font-size:1.5rem;
  }
}
@media(max-width:767px){
.info-list,
.medical-info-list {
  grid-template-columns: 1fr;
}
}
/************/