@charset "UTF-8";

/* blog Page Styles */

.under-blog {
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
}

.under-blog__flex {
  display: flex;
  gap: 100px;
  padding-bottom: 100px;
}

.under-blog__main-bl {
  width: 70%;
}

.under-blog__img-bl {
  max-width: 200px;
  aspect-ratio: 3 / 2;
}

.under-blog__img-bl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.under-blog__link {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
  text-decoration: none;
  color: #000;
}

.under-blog__date {
  font-size: 12px;
  color: #666;
}

.under-blog__title {
  margin-top: 5px;
  margin-bottom: 0;
}

@media (max-width:1200px) {
  .under-blog__flex {
    gap: 50px;
  }
}

@media (max-width:834px) {
  .under-blog__flex {
    flex-direction: column;
    gap: 30px;
    padding-bottom: 50px;
  }

  .under-blog__main-bl {
    width: 100%;
  }
}

@media (max-width:640px) {
  .under-blog__img-bl {
    max-width: 150px;
  }
}

@media (max-width:499px) {
  .under-blog__flex {
    gap: 10px;
    padding-bottom: 30px;
  }

  .under-blog__link {
    gap: 10px;
  }

  .under-blog__img-bl {
    max-width: 120px;
  }
}

/* blog Page Details */
.info__ttl {
  font-size: 28px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.info__img-bl {
  margin-bottom: 30px;
}

.info__img-bl img {

  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: 0 auto;
}

.online-btn {
  width: 240px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  position: relative;
  line-height: 1.4;
  border-radius: 5px;
  border: 1px solid #000;
  margin: 40px auto;
}

.online-btn::after {
  content: "\e5cc";
  display: inline-block;
  font-family: 'material symbols outlined';
  margin-left: 10px;
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translate(0, -45%);
  transition: all 0.3s ease;
}

.online-btn:hover::after {
  right: 4px;
  transition: all 0.3s ease;
}

/* お知らせ・ブログ（詳細） */
.info__ttl {
  font-size: 36px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.info__cont {
  margin-top: 30px;
}

.base__under-ttl,
.info__cont h2 {
  font-size: 36px;
  color: #4091CF;
  position: relative;
  padding-left: 45px;
  font-weight: 400;
  margin-bottom: 10px;
}

.info__cont h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(25%);
  width: 31px;
  height: 36px;
  background-image: url(../images/treatment/webp/ttl-icon.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

.base__under-ttl-left,
.info__cont h3 {
  margin-top: 80px;
  border-bottom: 1px solid #E0E0E0;
  position: relative;
  padding-bottom: 15px;
  font-size: 30px;
  margin-bottom: 35px;
}

.base__under-ttl-left::before,
.info__cont h3::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #4091CF;
}

.base__under-ttl-middle,
.info__cont h4 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #4091CF;
}

.base__txt,
.info__cont p {
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 2;
  letter-spacing: 1px;
}

.single__info-btn {
  width: 200px;
  display: block;
  margin: 50px auto 0;
}

.news__all-link {
  width: 153px;
  border-bottom: 1px solid #E0E0E0;
  position: relative;
  padding-bottom: 7px;
}

.news__all-link:hover .icon-arrow {
  right: -3px;
  transition-duration: 0.3s;
}

.news__all-link .icon-arrow {
  font-size: 20px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -75%);
  color: #4091CF;
  transition-duration: 0.3s;
}

.icon-arrow:before {
  content: "\e900";
  color: #4091CF;
}

/* Side Bar Styles */
.info__sidebar {
  font-size: 14px;
  padding-bottom: 50px;
}

.info__side-ttl {
  font-size: 16px;
}

.info__side-ttl:not(:first-child) {
  margin-top: 40px;
}

.snav-lst {
  line-height: 2;
  margin-top: 10px;
  color: #666;
}

@media (max-width:834px) {
  .info__sidebar {
    padding-top: 12px;
  }
}

/* Pagination Styles */
.pagination {
  margin: 80px 0;
  text-align: center;
  font-size: 14px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  border-radius: 100vmax;
  font-size: 12px;
  padding-bottom: 1px;
  padding-right: 1px;
}

.page-numbers.dots {
  border: none;
}

.page-numbers.current {
  background-color: #4091CF;
  color: #fff;
  border: none;
}

.page-numbers.next,.page-numbers.prev{
  padding-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

@media (max-width:834px) {
  .pagination {
    margin: 50px 0;
  }

  .info__side-ttl:not(:first-child) {
    margin-top: 30px;
  }

  .material-symbols-outlined {
    font-size: 16px;
  }
}

@media (max-width:639px) {
  .pagination {
    margin: 30px 0;
  }

  .page-numbers {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .info__side-ttl {
    font-size: 14px;
  }

  .info__side-ttl:not(:first-child) {
    margin-top: 20px;
  }
}