@charset "UTF-8";

/*-- Catch --*/
.row-ajust {
  display: flex;
  flex-wrap: wrap;
}

.home-carousel {
  margin-top: 104px;
  width: 100%;
}

@media (max-width: 576px) {
  .home-carousel {
    margin-top: 60px;
  }
}

.front-page-section {
  margin-top: 3.0rem;
  margin-bottom: 3.0rem;
  padding: 1.0rem;

  h2 {
    font-size: 1.6rem;
    position: relative;
    padding: 0.4rem 2rem calc(0.4rem + 10px);
    background: #CFECEE;
    width: 50%;
    text-align: center;
    margin-bottom: 2.4rem;
    margin-left: auto;
    margin-right: auto;
  }

  h2:before {
    position: absolute;
    top: -7px;
    left: -7px;
    width: 100%;
    height: 100%;
    content: '';
    border: 4px solid #81D8D0;
  }    

  @media (max-width: 576px) {
    h2 {
      width: 100%;
    }
  }
}

/*-- Hero --*/
.background-tiffany {
  background-color: rgba(129, 216, 208, 0.1);
  /* background-color: #81D8D0; */
}

.background-white {
  background-color: rgb(255, 255, 255);
  /* background-color: #81D8D0; */
}

.hiro {
  background: rgb(129,216,208);
  background: radial-gradient(circle, rgba(129,216,208,1) 0%, rgba(252,70,70,0) 100%);
  .catch-back {
     width: 100%;
     margin-left: auto;
     margin-right: auto;

    h2 {
      text-align: center;
      font-size: 1.8rem;
      margin: 2.0rem 0;
      border-bottom: #000;
    }
  }

  .hiro-contents {

    .hiro-image {
      padding-top: 18px;
      padding-bottom: 24px;
      text-align: center;
      img {
        width: 54%;
        border-radius: 9px;
      }
    }

    .hiro-text {
      padding: 0.6rem 2.0rem 0.6rem 2.0rem;
      h3 {
        font-size: 1.6rem;
        width: 100%;
      }
      
      @media (max-width: 576px) {
        h3 {
          text-align: center;
          font-size: 1.4rem;
        }
      }
      
    }

  }
}

.toblog {
  padding: 3px 12px;
  background-color: #e6fafc;
  border: 1px solid #81d8d0;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.tow-toblog {
  margin: 9px 6px;
}
/*-- medical-subject --*/
.medical-subject {

  .description {
    padding-bottom: 1.6rem;
  }

  ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 6px;
    display: flex;
  }
  
  li {
    display: inline-block;
    flex: auto;
    margin: 0 10px;
    padding: 10px;
    cursor: pointer;
    background-color: #f0f0f0;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: center;
  }
  
  li:hover {
    background-color: #ddd;
  }
  
  .subject-description {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    visibility: hidden; /* Initially hidden */
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out; /* Smooth fade effect */
  }
  
  .message {
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Smooth fade effect */
  }
  }
  
  /*-- staff --*/
  .staff {
    h3 {
      position: relative;
      padding: 1rem 2rem;
      text-align: center;
  /*    color: #22ac38; */
      border-radius: 0 10px 10px 10px;
      background: #e3f5d8;
    }
  
    .snap {
      padding: 12px;
      text-align: center;
  
      img {
        border-radius: 10px;
        border:#f00;
      }
    }
  
    .pr {
      padding: 12px 0 12px 6px;
      font-size: 0.9rem;
    }
  
    .history {
      
      strong {
        font-weight: normal;
      }
      p {
        margin-top: 9px;
      }
      .underline {
        padding-left: 9px;
        padding-right: 9px;
        padding-bottom: 3px;
        border-bottom: 3px solid #81d8d0;
      }
    }
  }
  
  /*-- access map --*/
  .address-map {
    margin-bottom: 10rem;

    h3 {
      position: relative;
      text-align: center;
      padding: 1rem 2rem;
      /*    color: #22ac38; */
      border-radius: 0 10px 10px 10px;
      background-color: rgba(129, 216, 208, 0.3);
    }
  
    .col-body {
      padding: 0.8rem 0.4rem 1.0rem 0.4rem;
  
      dt {
        font-weight: normal;
      }
  
      dd {
        padding-left: 1.0rem;
        margin-bottom: 0.4rem;
      }
    }
  
    /* Google Mapを囲う要素 */
    .gmap {
      position: relative;
      width: 100%;
      height: 0;
      padding-top: 75%; /* 比率を4:3に固定 */
    }
  
    /* Google Mapのiframe */
    .gmap iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  
  }
  
    .foot-banner {
      position: fixed;
      left: 0;  
      right: 0;
      bottom: 6.4rem;
      width: 600px;
      margin-left: auto;
      margin-right: auto;
      opacity: .8;
    }

  @media (max-width: 576px) {
    .foot-banner {
      position: fixed;
      left: 0;
      right: 0;
      bottom: 6.4rem;
      width: 90%;
      margin-left: auto;
      margin-right: auto;
      opacity: .8;
    }
  }

.present {
  text-align: center;
  padding-top: 12px;
  padding-bottom: 12px;
  img {
    border-radius: 6px;
  }
}

.latest-post-item {
  padding: 0.6rem;
  border-bottom: 1px solid #ddd;
  a {
    text-decoration: none;
  }
}
.latest-post-meta {
  text-align: right;

  .latest-post-date {
    font-size: 0.8rem;
   color: #666;
  }
}

.featured-post {
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #f7faf3;
  padding: 0.9rem;
  margin-bottom: 1.2rem;

  .thumbnail {
    text-align: center;
  }

  .title {
    font-size: 1.2rem;
    font-weight: normal;
    margin-top: 0.6rem;
    text-align: center;
  }

}

@media (max-width: 576px) {
  .featured-post {
    margin-top: 1.6rem;
    .thumbnail {
      margin-top: 1.2rem;
    }
  }
}