/* メインヴィジュアル ロゴver */
.section_front_top {
  padding: 0;
  height: 70vh;
  position: relative;
  height: auto;
  text-align: center;
  .front_top_inner {
    position: relative;
    text-align: center;
  }
  .top_img_cover_sp, .top_logo_sp {
    display: block;
  }
  .top_img_cover, .top_logo, .front_top_type {
    display: none;
  }
  .top_img_cover_sp {
    position: absolute;
  }
  .top_img_wrap {
    aspect-ratio: 900 / 600;
    -webkit-mask: url("/wp-content/themes/sunlight-vet/assets/img/top_img_clip.svg") center / contain no-repeat;
    mask: url("/wp-content/themes/sunlight-vet/assets/img/top_img_clip.svg") center / contain no-repeat;
  }
  .top_img {
    width:100%;
    height:100%;
    object-fit:cover;
    /* object-position: center right; */
  }
  .top_bg {
    position: absolute;
    right: 0;
    max-width: 50%;
    margin: 0 auto 0 0;
    opacity: 30%;
  }
  .top_catch {
    position: inherit;
    font-size: 2.5rem;
    color: #c1905c;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding-top: 2rem;
    margin: 0 auto;
    @media (min-width: 1312px) {
      .break_point {
        display: none;
      }
    }
  }
  .front_top_type.wp-block-image {
    margin: 0 auto;
  }
  .top_lead p {
    font-size: 1.5rem;
  }
  .top_btn {
    background: var(--accent-color);
    color: var(--white);
    padding: .5rem 1rem;
    font-size: 1.25rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
  }
  .top_btn.btn_instagram {
    background: var(--logo-brown-light);
  }
  .top_btn.btn_line {
    background: var(--logo-brown-light);
  }
  .top_btn.btn_line img {
    width: 20px;
  }
  a.top_btn:hover {
    background: #52a8eb;
    color: var(--white);
  }
  .top_btn.btn_instagram:hover, .top_btn.btn_line:hover {
    background: var(--logo-brown);
  }
  .top_logo_wrap {
    display: flex;
    width: 90%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
  }
  .top_logo_sp {
    padding-top: 2rem;
  }
  .top_logo {
    display: none;
  }
}
@media (min-width: 1024px) {
  .section_front_top {
    height: auto;
    overflow: hidden;
    .front_top_inner {
      height: auto;
      display: flex;
      flex-direction: row-reverse;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }
    .top_img_wrap {
      max-width: 50%;
    }
    .top_img_cover, .top_logo, .front_top_type {
      display: block;
    }
    .top_img_cover_sp, .top_logo_sp {
      display: none;
    }
    .top_img_cover {
      position: absolute;
      height: 600px;
    }
    .top_catch {
      padding-top: 0;
      font-size: 3rem;
      text-align: left;
      align-items: flex-start;
      margin-left: auto;
      margin-right: 0;
    }
    .top_lead p {
      padding: 0;
    }
    .front_top_type {
      width: 70%;
      max-width: 700px;
      height: 100%;
    }
  }
}


/* swiper */
.swiper {
  margin: 5px;
  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
@media (min-width: 1024px) {
  .swiper {
  }
}

.section_front_news {
  /* padding: 11rem 2rem 9rem; */
}
.section_front_news .section_inner,
.section_front_schedule .section_inner {
  display: grid;
  grid-template-columns: 1fr;
}
.section_front_news .btn {
  text-align: right;
}
.clinic_schedule {
  width: 100%;
  text-align: center;
}
.clinic_schedule tr {
  border-bottom: 1px solid var(--logo-brown-dark);
}
.clinic_schedule td,
.clinic_schedule th {
  padding: 1rem .5rem;
}
.am_schedule .head_hour,
.pm_schedule .head_hour {
  font-size: .8rem;
}
.mark_open:before,
.mark_close:before {
  content:'●';
  color: var(--accent-color);
}
.mark_close:before  {
  content:'-';
}
.front_close_day {
  margin-top: 4rem;
}
.satday {
  color: var(--accent-color);
}
.sunday, .holiday {
  color: #d9224b;
}
@media (min-width: 1024px) {
  .section_front_news {
    padding: 7rem 2rem;
  }
  .section_front_news .section_inner,
  .section_front_schedule .section_inner {
    grid-template-columns: 3fr 7fr;
    gap: 3rem;
  }
  .am_schedule .head_hour,
  .pm_schedule .head_hour {
    font-size: 1rem;
  }
}

.section_front_greeting {
  .grid_body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .section_sub_title {
    margin: 1rem 0;
  }
  .section_sub_title .title_label {
    padding-right: 1rem;
    color: var(--logo-brown-dark);
    font-size: 1.4rem;
  }
  .grid_body p {
    padding-bottom: .5rem;
  }
}

.section_front_works {
  .grid3 > .wp-block-group__inner-container {
    gap: 4rem;
  }
  .grid_item > .wp-block-group__inner-container {
    display: grid;
    grid-template-rows: auto 1fr;
    justify-items: center;
    gap: 1rem;
  }
  .item_body > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .section_sub_title, h3.wp-block-heading {
    margin: 0 0 .5rem;
    text-align: center;
    color: var(--text-head-color);
  }
  img {
    max-height: 80px;
  }
  .btn {
    text-align: center;
    margin: 1rem 0 0;
  }
}
@media (min-width: 1024px) {
  .section_front_works {
    .grid3 > .wp-block-group__inner-container {
      gap: 2rem;
    }
  }
}

.section_front_access {
  h3.section_sub_title {
    margin: 0 0 1rem;
  }
  .btn {
    margin: 1rem 0;
  }
}

.section a:hover {
  color: var(--accent-color);
}