@charset "utf-8";
/*******************
ヒーローセクション
*******************/
.hero {
  position: relative;
  width: 100%;
  height:calc(100svh - 180px);
  margin-top: 60px;
  overflow: hidden;
}
.hero-text-box {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.hero-text {
  color: #333333;
}
.hero-text-box h1 {
  line-height: 1.5;
  font-size: 22px;
}
.hero-text-box p {
  font-size: 18px;
  margin-top: 15px;
}
.hero-slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-image-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,48,99,0.2);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slick-list,
.slick-track {
  height: 100%;
}

/* アニメーション */
@keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.add-animation {
  animation: fadezoom 10s 0s both;
}
/* アニメーションここまで */

/********************
ニュースティッカー
********************/
.new-info{
  border-bottom: solid 1px #ccc;
  height: 70px;
  padding: 0 15px;
  background-color: #fff;
}
.new-info-list {
  height: 70px;
}
.new-info-list li {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.new-info-list a {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  padding: 10px 0 5px;
  letter-spacing: 0.05em;
}
.new-info-list .date {
  color: #999;
  letter-spacing: 0.02em;
}
.new-info i {
  margin-right: 5px;
}

/********************
共通
********************/
.top-contents {
  background-color: aqua;
  padding: 20px;
  border-radius: 10px;
}

/********************
トップタイトル
********************/
.top-contents-one {
  background: none;
  padding: 0;
}

/********************
スタッフ紹介
********************/
.top-intoro-main-img {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.top-intoro-main img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

/********************
診療内容
********************/
.top-info-box li {
  margin-bottom: 30px;
}
.top-info-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
} 
.top-info-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: .5s ease-in-out;
}
.top-info-box a:hover .top-info-img img {
  transform: scale(1.1);
  height: 200px;
}
.top-info-text {
  position: absolute;
  text-align: center;
  width: 60%;
  background-color: #ccc;
  padding: 15px;
  border-radius: 10px 0 0 0;
  right: 0;
  bottom: 0;
}
.top-info-text h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/********************
アクセス
********************/
.top-access-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}
.top-access-text-area {
  margin-top: 20px;
}
.top-access-text h3 {
  font-size: 18px;
}
.top-access-text {
  margin-bottom: 15px;
}
.top-access-text:last-child {
  margin-bottom: 0;
}

/********************
診療内容
********************/
.top-time-main-text {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}
.top-time-main-text p {
  font-size: 16px;
  font-weight: bold;
}
.top-time-reserve-text {
  margin-bottom: 30px;
}
.top-time-reserve h3 {
  font-size: 17px;
  background-color: aqua;
  border-radius: 5px;
  text-align: center;
  padding: 5px;
  margin-bottom: 15px;
}
.top-time-tel {
  text-align: center;
  margin-bottom: 30px;
}
.top-time-tel a {
  font-size: 22px;
  font-weight: bold;
}
.top-time-link {
  text-align: center;
}
.top-time-link a {
  transition: .5s;
}
.top-time-link a:hover {
  opacity: 0.8;
}
.top-time-link p {
  margin-top: 15px;
}

/********************
院画像
********************/
.top-shop-image h2 {
  margin-bottom: 15px;
}
.top-shop-image-box li {
  position: relative;
  border-radius: 10px;
  margin-bottom: 20px;
}
.top-shop-image-box li:last-child {
  margin-bottom: 0;
}
.top-shop-image-box li p {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: aqua;
  font-size: 12px;
  padding: 10px 15px;
  border-radius: 5px 0 9px 0;
}
.top-shop-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/********************
お知らせアーカイブ
********************/
.top-archive {
  background: none;
}
.top-archive-list {
  list-style: none;
  margin-top: 20px;
  padding: 10px 30px;
  background-color: aqua;
  border-radius: 10px;
}
.top-archive-list .item {
  border-bottom: dotted 1px #333;
}
.top-archive-list .item:last-child {
  border-bottom: none;
}
.top-archive-list .item a {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0;
  text-decoration: none;
  color: #333;
  letter-spacing: 0.05em;
}
.top-archive-list .item i {
  margin-right: 5px;
}
.top-archive-list .item .date{
  margin: 0;
  min-width: 140px;
  font-size: 13px;
  color: #999;
  padding: 0 20px 0 0;
  letter-spacing: 0.02em;
}
.top-archive-list .item .title{
  margin-top: 10px;
  width: 100%;
}


/***************************
メディアスクリーン480px以上
***************************/
@media screen and (min-width:480px)
{
  /* ヒーローセクション */
 .hero-text-box h1 {
  font-size: 24px;
 }
  .hero-text-box p {
  font-size: 20px;
 }
}

/***************************
メディアスクリーン767px以上
***************************/
@media screen and (min-width: 767px)
{
  /* ニュースティッカー */
  .new-info-list a .date {
    min-width: 120px;
    margin-right: 10px;
  }
  .new-info-list a {
    flex-direction: initial;
    justify-content: left;
    align-items: center;
  }
  /* スタッフ紹介 */
  .top-intoro-main {
    display: flex;
  }
  .top-intoro-main-img {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 0;
  }
  .top-intoro-main-text {
    flex: 3;
    display: flex;
    align-items: center;
  }

  /* 診療内容 */
  .top-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32%,1fr));
    gap: 2%;
  }
  .top-info-box li {
    margin-bottom: 0;
  }

  /* アクセス */
  .top-access-area {
    display: grid;
    grid-template-columns: 48% 48%;
    gap: 4%;
  }
  .top-access-text-area {
    margin-top: 0;
  }
  .top-access-area ul {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* 診療時間 */
  .top-time-main {
    display: grid;
    grid-template-columns: 48% 48%;
    gap: 4%;
  }
  .top-time-main-text {
    align-items: center;
  }

  /* 院画像 */
  .top-shop-image-box ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32%,1fr));
    gap: 2%;
    row-gap: 4%;
  }
  .top-shop-image-box li {
    margin-bottom: 0;
  }
  .top-shop-image {
    padding-bottom: 50px !important;
  }

  /* お知らせアーカイブ */
  .top-archive {
    padding: 0 !important;
  }
  .top-archive-list .item a {
    flex-wrap: nowrap;
    align-items: center;
  }
  .top-archive-list .item .date {
    min-width: 150px;
  }
  .top-archive-list .item .title{
    margin-top: 0;
  }

}

/***************************
メディアスクリーン834px以上
***************************/
@media screen and (min-width:834px)
{
  /* ヒーローセクション */
  .hero {
    height:calc(100svh - 100px);
    width: 100%;
    margin: 100px 0;
  }
  .hero-text-box h1 {
    font-size: 26px;
  }
  .hero-text-box p {
    font-size: 22px;
  }

  /* ニュースティッカー */
  .new-info-box {
    position: relative;
  }
  .new-info {
    position: absolute;
    top: -200px;
    left: 75px;
    border: none;
    width: 400px;
    overflow: hidden;
    border-radius: 10px;
  }

  /* 共通 */
  .top-contents {
    padding: 30px;
  }

  /* トップコンテンツ */
  .top-contents-one {
    padding: 0;
  }

    /* お知らせアーカイブ */
  .top-archive-list {
    padding: 20px 40px;
  }
  .top-archive-list a {
    font-size: 14px;
  }
  .top-archive-list .item .title {
    font-size: 16px;
  }
  .top-archive-list .item .date {
    font-size: 14px;
  }

}

/****************************
メディアスクリーン1200px以上
****************************/
@media screen and (min-width:1200px)
{
  /* ヒーローセクション */
  .hero-text-box h1 {
    font-size: 32px;
  }
    .hero-text-box p {
    font-size: 24px;
  }
}