/* TOP PAGE */

/* =================================================
   TOP HERO / 共通パーツ
====================================================*/
.top-hero {
  position: relative;
  width: 100%;
  min-height: 350px;
  display: grid;
  place-items: center;
  color: var(--color-white);
  background-color: var(--color-sub);
  overflow: hidden;
}

.top-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 0 0 / 25%);
  pointer-events: none;
}

.top-hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.top-hero-swiper .swiper-wrapper,
.top-hero-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.top-hero-swiper .swiper-slide {
  overflow: hidden;
}

.top-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 空　白ポメ */
.top-hero-img--01 {
  object-position: center center;
}
.top-hero-img--01 {
  transform: scale(2.3);
  object-position: center 60%;
}

/* 猫 */
.top-hero-img--02 {
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.2);
  transform-origin: center bottom;
}

/* 黒柴 */
.top-hero-img--03 {
  object-position: center center;
}
.top-hero-img--03 {
  transform: scale(1.3);
  object-position: center 50%;
}

.top-hero-copy {
  position: relative;
  z-index: 2;
  width: calc(100% - 40px);
  height: 72%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  font-size: var(--font-size-s);
  line-height: 1.8;
  text-shadow: 0 1px 4px rgb(0 0 0 / 30%);
}

div.top-hero-copy:first-child {
  margin-bottom:100px;
  letter-spacing:3px;
}


.top-lead {
  padding: var(--space-ll);
  text-align: center;
  font-size: var(--font-size-s);
  font-weight: 600;
  letter-spacing: .08em;
}

section.top-section{
    display: grid;
    align-items: center;
}

section.top-section:nth-child(2) {
  margin-top: -65px;
}

h2.section-title {
  width: 100%;
  position:relative;
  display:inline-block;
  padding-bottom: 15px;
  margin-bottom: var(--space-3m);
  color: var(--color-text);
  font-family: var(--font-en);
  font-size: var(--font-size-xxl);
  font-weight: 400;
  letter-spacing: .5em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

h2.section-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width: 100%;
    height: 1.6px;
    background:#dcdcdc;
    transform: scaleY(.6);
    transform-origin:bottom;
}

.gender-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* =================================================
   KENNEL COCOが選ばれる理由
==================================================== */

.select {
  width: 100%;
  min-width: 0;
}

h2.select-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-l);
  font-weight: 500;
  letter-spacing: .15em;
}

.select-list {
  width: 100%;
  display: grid;
  gap: var(--space-3m);
}

.select-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
}

.select-icon {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  object-fit: contain;
}

.select-content {
  min-width: 0;
}

.select-heading {
  font-size: var(--font-size-m);
  font-weight: 500;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  letter-spacing: 4px;
}

.select-content p {
  margin-top: 2px;
  font-size: var(--font-size-s);
  line-height: 2;
}



/* =================================================
   NEWS
====================================================*/

.news-list {
  margin-inline: auto;
}

.news-item + .news-item {
  margin-top: 5px;
}

.news-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-date {
  flex: 0 0 auto;
  padding-right: var(--space-ss);
  font-size: var(--font-size-xs);
}

.news-link .gender-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.news-breed,
.news-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-text {
  display: none;
}

/* =================================================
   RECOMMEND
====================================================*/

.recommend-list {
  max-width: 600px;
  margin-inline: auto;
  display: grid;
  gap: var(--space-l);
  align-items: center;
  font-family: var(--font-gothic);
}

.top-pet-card a {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: var(--space-3m);
  align-items: start;
  color: var(--color-text);
  text-decoration: none;
}

.top-animal-img {
  width: 140px;
  height: 140px;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--color-bg);
}

.top-card-body {
  padding-top: 2px;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-animal {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.top-breed {
  font-size: var(--font-size-sm);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: -1.7px;
}

.top-birthday,
.top-price {
  margin-top: 2px;
  font-size: var(--font-size-xs);
}

.intax { font-size: 10px; }


/*recommend画像・soldput,商談中旗表示*/
.top-animal-img-wrap {
  position: relative;
  overflow: hidden;
}

.top-animal-img-wrap .top-animal-img {
  display: block;
  width: 100%;
  height: auto;
}

.top-animal-img-wrap .pet-status-ribbon {
  position: absolute;
  top: 0;
  left: 0;
}

.top-animal-img-wrap .pet-status-ribbon {
  width: 58px;
  height: 58px;
}

.top-animal-img-wrap .pet-status-ribbon span {
  font-size: 8px;
  top: 14px;
  left: -30px;
  letter-spacing: normal;
}

.top-animal-img-wrap .pet-status-ribbon--soldout,
.top-animal-img-wrap .pet-status-ribbon--reserved {
  display: block;
}

.top-animal-img-wrap .pet-status-ribbon--soldout {
  background-color: var(--color-warm);
}

.top-animal-img-wrap .pet-status-ribbon--reserved {
  background-color: var(--color-hamburger);
}


/* =================================================
   OUR MISSION
====================================================*/

.mission-main-image {
  margin-inline: calc(50% - 50vw);
}

.mission-main-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--color-bg);
}

.mission-text {
  padding-top: var(--space-m);
}

.mission-text p + p {
  margin-top: var(--space-mm);
}

.mission-card {
  margin: 0;
}

.mission-card div {
    border: 1px solid #aaa;
    width: 200px;
    margin-inline: auto;
}

.mission-card img {
  width: 200px;
  margin: 0 auto;
  aspect-ratio: 1.15;
  object-fit: cover;
}

.mission-card figcaption {
  width: 200px;
  height: 58px;
  margin: 0 auto;
  padding: 9px;
  font-size: var(--font-size-xs);
  line-height: 1.55;
}

.mission-policy,
.mission-contact {
  margin-top: var(--space-mm);
  white-space: nowrap;
  text-align: center;
}

.mission-policy {
  font-weight: 600;
}

/*------小さい画面サイズのみ、キメ文の文字を小さく------*/
@media (max-width: 413px) {
    .mission-policy {
    font-size: var(--font-size-s)
}

}

/* =================================================
   OUR MISSION * SWIPER
====================================================*/

.swiper{
    margin-bottom: 20px;
}

.mission-swiper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.mission-swiper .swiper-wrapper,
.mission-swiper .swiper-slide {
  min-width: 0;
}

.mission-swiper {
  position: relative;
  margin-top: var(--space-ll);
  overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--color-text);
}

/* SP版 Swiperの横幅暴走対策 */
.top-container > *,
.top-section,
.mission-text,
.mission-text > *,
.mission-swiper {
  width: 100%;
  min-width: 0;
}

 /* =================================================
   ************** メディアクエリ 768px〜 **************
====================================================*/

@media (min-width: 768px) {

/* =================================================
   TOP HERO / 共通パーツ メディアクエリ
====================================================*/

  .top-main {
    padding: 0 0 var(--space-pc-last-bottom);
  }

  .top-hero {
    min-height: 520px;
  }

  .top-hero-copy {
    width: min(100% - 80px, 900px);
    height: 65%;
    font-size: var(--font-size-l);
    letter-spacing: 5px;
  }

  .top-hero-copy:nth-child(1){
    margin-bottom: 100px;
    letter-spacing: 3px;
  }

  .top-hero-img--02 {
    object-position: center bottom;
    transform: scale(1.1);
    transform-origin: center bottom;
  }

  .top-container {
    max-width: 800px;
    gap: var(--space-pc-bottom);
  }

  .top-lead {
    margin-top: 23px;
    padding-bottom: 0;
    font-size: var(--font-size-m);
  }

  .top-section {
    width: 100%;
    display: grid;
    align-items: center;
  }

  h2.section-title {
    width: 600px;
    margin-inline: auto;
    margin-bottom: var(--space-ll);
    font-size: var(--font-size-xxl);
  }

  section.top-section:nth-child(2){
    margin-top: -20px;
  }

/* =================================================
   選ばれる理由 メディアクエリ
====================================================*/

.select-list {
  width: min(100%, 650px);
  margin-inline: auto;
  gap: var(--space-l);
}

h2.select-title {
    letter-spacing: .33em;
}

.select-item {
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 16px;
}

.select-icon {
  width: 26px;
  height: 26px;
}

.select-heading {
  font-size: var(--font-size-ml);
}

.select-content p {
  font-size: var(--font-size-m);
}

/* =================================================
   NEWS メディアクエリ
====================================================*/

  .news-link {
    grid-template-columns: 90px 22px minmax(0, max-content) 18px 1fr;
    column-gap: 8px;
  }

  .news-item + .news-item {
    margin-top: 8px;
  }

  a>time.news-date, a:visited>time.news-date {
    font-size: var(--font-size-s);
    text-decoration: none !important;
}
  .news-text {
    display: inline;
    margin-left: -3px;
  }

/* =================================================
   RECOMMEND メディアクエリ
====================================================*/

  .recommend-list {
    max-width: 724px;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 55px;
    align-items: center;
  }

  .top-pet-card{
    width: 350px;
  }

  .top-pet-card a {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: var(--space-mm);
  }

  .top-breed {
    font-size: var(--font-size-sm);
    letter-spacing: normal;
}

  .top-animal-img {
    width: 150px;
    height: 150px;
  }

  .top-birthday{
    margin-top: 2px;
    font-size: var(--font-size-xs);
}

  .top-price {
    margin-top: 2px;
    font-size: var(--font-size-m);
}

/* =================================================
   OUR MISSION メディアクエリ
====================================================*/

  .mission-main-image {
    width: 500px;
    margin-inline: auto;
  }

  .mission-text {
    padding-top: 40px;
  }

  .mission-policy {
    padding-top: 20px;
    font-size: var(--font-size-ll);
  }

  .mission-contact {
    font-size: var(--font-size-m);
  }


/* =================================================
   OUR MISSION * SWIPER メディアクエリ
====================================================*/

  .mission-swiper {
    margin-top: 50px;
    overflow: visible;
  }

  .mission-swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    transform: none !important;
  }

  .mission-swiper .swiper-slide {
    width: auto !important;
  }

  .mission-swiper .swiper-button-next,
  .mission-swiper .swiper-button-prev {
    display: none;
  }

}