@charset "UTF-8";

:root {
  --story-promo-brown: #6b3738;
  --story-promo-pink: #eb97bf;
  --story-promo-dark-pink: #e95599;
  --story-promo-pale: #fdf0f7;
  --story-promo-light: #ffdeed;
  --story-promo-white: #fff;
}

.story-promo-screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* HOME：PROFILEの次に置く、最新話だけのコンパクトな案内 */
.home-profile-section.bg__pink {
  padding-bottom: 0;
}

.home-story-promo.bg__pink {
  padding-top: 0;
}

.home-story-promo__card {
  position: relative;
  overflow: hidden;
  padding: 7% 5% 8%;
}

.home-story-promo__card::before,
.home-story-promo__card::after {
  position: absolute;
  color: var(--story-promo-light);
  font-size: 5.5rem;
  line-height: 1;
  content: "♡";
  pointer-events: none;
}

.home-story-promo__card::before {
  top: 12px;
  left: 16px;
  transform: rotate(-14deg);
}

.home-story-promo__card::after {
  right: 16px;
  bottom: 10px;
  transform: rotate(13deg);
}

.home-story-promo__heading {
  position: relative;
  z-index: 1;
  text-align: center;
}

.home-story-promo__title {
  display: block;
  width: min(80%, 416px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.home-story-promo__lead {
  margin: 1% 0 6%;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.8;
}

.home-story-promo__episode {
  position: relative;
  z-index: 1;
  display: grid;
  overflow: hidden;
  border: 2px solid var(--story-promo-pink);
  border-radius: 20px;
  color: var(--story-promo-brown);
  background: var(--story-promo-white);
  box-shadow: 0 6px 0 var(--story-promo-light);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-story-promo__episode:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 var(--story-promo-light);
}

.home-story-promo__thumbnail {
  display: grid;
  overflow: hidden;
  min-height: 240px;
  aspect-ratio: 1 / 1;
  place-items: center;
  background: var(--story-promo-light);
}

.home-story-promo__thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-story-promo__episode:hover .home-story-promo__thumbnail-image {
  transform: scale(1.025);
}

.home-story-promo__placeholder {
  width: 34%;
  height: auto;
}

.home-story-promo__body {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8% 6%;
  text-align: center;
}

.home-story-promo__latest {
  display: flex;
  margin: 0 0 12px;
  padding: 5px 14px;
  border-radius: 999px;
  color: var(--story-promo-white);
  background: var(--story-promo-pink);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.home-story-promo__episode-title {
  margin: 0;
  font-size: clamp(1.8rem, 6vw, 2.7rem);
  font-weight: 800;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.home-story-promo__date {
  margin-top: 7px;
  color: #a57879;
  font-size: 1.1rem;
  font-weight: 700;
}

.home-story-promo__read {
  display: inline-flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 280px);
  max-width: 100%;
  margin-top: 24px;
  padding: 12px clamp(12px, 4vw, 18px);
  border: 2px solid var(--story-promo-dark-pink);
  border-radius: 999px;
  color: var(--story-promo-white);
  background: var(--story-promo-pink);
  box-shadow: 0 5px 0 var(--story-promo-light);
  font-size: clamp(1.1rem, 4vw, 1.25rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.home-story-promo__read img {
  flex: 0 0 auto;
  width: 32px;
  height: auto;
}

.home-story-promo__empty {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 28px 18px;
  border: 2px dashed var(--story-promo-pink);
  border-radius: 20px;
  background: var(--story-promo-pale);
  font-weight: 800;
}

.home-story-promo__empty img {
  width: 48px;
  height: auto;
}

.home-story-promo__empty p {
  margin: 0;
}

.home-story-promo__all {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 32px auto 0;
  padding: 8px 4px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--story-promo-brown);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.home-story-promo__all-arrow {
  color: var(--story-promo-dark-pink);
  font-size: 1.8em;
  font-weight: 700;
  line-height: .7;
  transition: transform .2s ease;
}

.home-story-promo__all:hover {
  color: var(--story-promo-dark-pink);
  transform: translateY(-2px);
}

.home-story-promo__all:hover .home-story-promo__all-arrow {
  transform: translateX(4px);
}

.TOP__CONTACTS .home-contact__button {
  display: block;
  width: min(78%, 300px);
  margin: 0 auto;
}

.TOP__CONTACTS .home-contact__button img.pro__btn {
  display: block;
  width: 100%;
  height: auto;
}

/* PROFILE：「ふたりのかんけい」から漫画へ自然につなぐ */
.profile-story-cta {
  width: min(100%, 680px);
  margin: 11% auto 0;
  text-align: center;
}

.profile-story-cta__lead {
  margin: 0 0 12px;
  color: var(--story-promo-brown);
  font-size: 1.25rem;
  font-weight: 800;
}

.profile-story-cta__button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 3px solid var(--story-promo-dark-pink);
  border-radius: 999px;
  color: var(--story-promo-brown);
  background: var(--story-promo-white);
  box-shadow: 0 7px 0 var(--story-promo-light);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.profile-story-cta__button:hover {
  transform: translateY(-4px);
  background: var(--story-promo-pale);
  box-shadow: 0 11px 0 var(--story-promo-light);
}

.profile-story-cta__icon {
  width: 58px;
  height: auto;
}

.profile-story-cta__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.profile-story-cta__english {
  color: var(--story-promo-pink);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.2;
}

.profile-story-cta__japanese {
  margin-top: 2px;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.45;
}

.profile-story-cta__arrow {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--story-promo-white);
  background: var(--story-promo-pink);
  font-size: 1.5rem;
  font-weight: 900;
}

@media screen and (min-width: 751px) {
  .home-story-promo.bg__pink {
    padding-top: 0;
    padding-bottom: 4%;
  }

  .home-story-promo__card {
    width: min(88%, 980px);
    margin: 0 auto;
    padding: 3.5% 5% 4%;
  }

  .home-story-promo__lead {
    margin-bottom: 3.5%;
    font-size: 1.4rem;
  }

  .home-story-promo__episode {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .home-story-promo__thumbnail {
    min-height: 320px;
    aspect-ratio: 1 / 1;
  }

  .home-story-promo__body {
    padding: 6%;
  }

  .home-story-promo__episode-title {
    font-size: 2.7rem;
  }

  .profile-story-cta {
    margin-top: 5%;
  }

  .profile-story-cta__button {
    padding: 14px 24px;
  }

  .profile-story-cta__icon {
    width: 68px;
  }

  .profile-story-cta__japanese {
    font-size: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-story-promo__episode,
  .home-story-promo__thumbnail-image,
  .home-story-promo__all,
  .home-story-promo__all-arrow,
  .profile-story-cta__button {
    transition: none;
  }
}
