@charset "UTF-8";
/* ==========================================================================
   Page — top (front page)
   ========================================================================== */

/* Hero --------------------------------------------------------------------- */
.p-top__hero {
  position: relative;
  overflow: hidden;
  background: #fffdf8;
}

.p-top__hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1680px;
  margin-inline: auto;
  padding: 12px 20px 166px;
}

@media (max-width: 750px) {
  .p-top__hero-inner {
    flex-flow: row wrap;
    align-items: flex-start;
  }
}

@media (min-width: 751px) {
  .p-top__hero-inner {
    justify-content: center;
    min-height: 680px;
    padding: 48px 40px 240px;
  }
}

/* 左右の写真 (ブロブ型マスク。公開時は img を実写に差し替え) */
.p-top__hero-photo {
  pointer-events: none;
}

.p-top__hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.p-top__hero-photo--left img {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0h86c14 18 12 38 2 52-12 16-30 30-50 38-18 7-34 2-38-12Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0h86c14 18 12 38 2 52-12 16-30 30-50 38-18 7-34 2-38-12Z'/%3E%3C/svg%3E");
}

.p-top__hero-photo--right img {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0H14C0 18 2 38 12 52c12 16 30 30 50 38 18 7 34 2 38-12Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100 0H14C0 18 2 38 12 52c12 16 30 30 50 38 18 7 34 2 38-12Z'/%3E%3C/svg%3E");
}

@media (min-width: 751px) {
  .p-top__hero-photo {
    position: absolute;
    top: 0;
    z-index: 0;
    height: min(86%, 580px);
  }

  .p-top__hero-photo--left {
    left: 0;
    width: clamp(260px, 30vw, 500px);
  }

  .p-top__hero-photo--right {
    right: 0;
    width: clamp(280px, 32vw, 540px);
  }
}

/* SPは写真を左右2枚並べて高さを詰め、足元のイラストまで1画面に収める */
@media (max-width: 750px) {
  .p-top__hero-photo {
    height: 128px;
  }

  .p-top__hero-photo--left {
    order: 1;
    width: calc(50% + 14px);
    margin-left: -20px;
  }

  .p-top__hero-photo--right {
    order: 2;
    width: calc(50% + 14px);
    margin-right: -20px;
    margin-left: auto;
  }
}

/* 足元の丘 + イラスト */
.p-top__hero-ground {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 162px;
  pointer-events: none;
}

@media (min-width: 751px) {
  .p-top__hero-ground {
    height: 230px;
  }
}

.p-top__hero-ground-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.p-top__hero-bg {
  position: absolute;
  bottom: 14px;
  width: clamp(124px, 33vw, 160px);
}

.p-top__hero-bg--left { left: 5%; }
.p-top__hero-bg--right { right: 4%; }

@media (min-width: 751px) {
  .p-top__hero-bg--left {
    left: 16%;
    bottom: 18px;
    width: clamp(150px, 14vw, 195px);
  }

  .p-top__hero-bg--right {
    right: 14%;
    bottom: 24px;
    width: clamp(160px, 15vw, 210px);
  }
}

.p-top__hero-text {
  position: relative;
  z-index: 1;
  padding: 20px 4px 8px;
  text-align: center;
}

@media (max-width: 750px) {
  .p-top__hero-text {
    order: 3;
    width: 100%;
    padding: 14px 4px 0;
  }
}

@media (min-width: 751px) {
  .p-top__hero-text {
    padding: 0;
  }
}

.p-top__hero-town {
  display: block;
  width: clamp(200px, 24vw, 310px);
  margin-inline: auto;
}

@media (max-width: 750px) {
  .p-top__hero-town {
    width: 172px;
  }
}

/* PCは左右の写真に重ならない幅に収める (中央の余白は約570px) */
.p-top__hero-title {
  margin-top: 14px;
  font-size: clamp(26px, 3.1vw, 42px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--color-ink);
}

/* SPは画面幅に連動させて、1行目が折り返さないようにする */
@media (max-width: 750px) {
  .p-top__hero-title {
    font-size: clamp(22px, 7.1vw, 28px);
    letter-spacing: 0.04em;
  }
}

.p-top__hero-title em {
  font-style: normal;
  color: var(--color-primary);
}

.p-top__hero-title em.is-green {
  color: var(--color-secondary);
}

.p-top__hero-copy {
  margin-top: 16px;
  font-size: clamp(13.5px, 1.5vw, 17px);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--color-ink);
}

.p-top__hero-subtitle {
  margin-top: 8px;
  font-family: var(--font-family-en);
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
}

/* SPは1行に収まるよう字間を詰める */
@media (max-width: 750px) {
  .p-top__hero-copy {
    margin-top: 12px;
    letter-spacing: 0.06em;
  }

  .p-top__hero-subtitle {
    letter-spacing: 0.04em;
  }
}

/* Hero — opening choreography & ambient motion ----------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .p-top__hero-photo--left {
    animation: heroSlideL 1s 0.1s var(--ease) both;
  }

  .p-top__hero-photo--right {
    animation: heroSlideR 1s 0.25s var(--ease) both;
  }

  .p-top__hero-town {
    animation: heroRise 0.7s 0.35s var(--ease) both;
  }

  .p-top__hero-title {
    animation: heroTitle 0.9s 0.55s cubic-bezier(0.7, 0, 0.2, 1) both;
  }

  .p-top__hero-copy {
    animation: heroRise 0.7s 0.95s var(--ease) both;
  }

  .p-top__hero-subtitle {
    animation: heroRise 0.7s 1.1s var(--ease) both;
  }

  .p-top__hero-ground {
    animation: heroRise 0.9s 0.3s var(--ease) both;
  }
}

@keyframes heroTitle {
  from {
    opacity: 0;
    clip-path: inset(-10% 100% -10% 0);
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    clip-path: inset(-10% -10% -10% 0);
    transform: none;
  }
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes heroSlideL {
  from {
    opacity: 0;
    transform: translateX(-44px);
  }
}

@keyframes heroSlideR {
  from {
    opacity: 0;
    transform: translateX(44px);
  }
}

/* Hero — scroll indicator (PC) ---------------------------------------------- */
/* 白楕円の下の狭い帯に収めるため、ライン+横書きラベルの2段構成にする */
@media (min-width: 751px) {
  .p-top__hero::before {
    content: "";
    position: absolute;
    bottom: 38px;
    left: 50%;
    width: 2px;
    height: 40px;
    margin-left: -1px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: heroScroll 2.2s cubic-bezier(0.7, 0, 0.3, 1) infinite;
  }

  .p-top__hero::after {
    content: "SCROLL";
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-family-en);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-indent: 0.28em;
    color: var(--color-muted);
  }
}

@keyframes heroScroll {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  45% {
    transform: scaleY(1);
    transform-origin: top;
  }

  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* News --------------------------------------------------------------------- */
.p-top__news {
  padding: 88px 0 96px;
  background: #fff;
}

/* Service ------------------------------------------------------------------ */
.p-top__service {
  position: relative;
  padding: 96px 0 100px;
  overflow: hidden;
  background: var(--color-secondary-pale);
}

.p-top__service-inner {
  position: relative;
  max-width: calc(var(--container) + 80px);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 751px) {
  .p-top__service-inner {
    padding-inline: 40px;
  }
}

.p-top__service-banner {
  position: relative;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

/* 角丸のクリップはスライド側で行う (SPではドットをバナーの外に出すため) */
.p-top__service-banner-slides {
  position: relative;
  aspect-ratio: 1200 / 420;
  overflow: hidden;
  background: #dcebe4;
  border-radius: var(--radius-l);
}


.p-top__service-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.p-top__service-banner-slide.is-active {
  opacity: 1;
}

.p-top__service-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-top__service-banner-dots {
  position: absolute;
  bottom: 14px;
  left: 28px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.p-top__service-banner-dots button {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: width 0.3s var(--ease), background 0.3s;
}

.p-top__service-banner-dots button.is-active {
  width: 26px;
  background: #fff;
}

.p-top__service-panel {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 40px 12px 0;
  padding: 36px 28px;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

@media (min-width: 751px) {
  .p-top__service-panel {
    margin: -88px 40px 0 auto;
    padding: 44px 44px 40px;
  }
}

.p-top__service-text {
  margin-top: 20px;
}

.p-top__service-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink);
}

.p-top__service-list li + li {
  border-top: 1px dashed var(--color-line);
}

.p-top__service-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  transform: translateY(-50%) rotate(45deg);
}

.p-top__service-list li:nth-child(odd)::before {
  background: var(--color-primary);
}

.p-top__service-list li:nth-child(even)::before {
  background: var(--color-secondary);
}

.p-top__service-deco {
  position: absolute;
  pointer-events: none;
}

.p-top__service-deco--wheelchair {
  bottom: 32px;
  left: max(8px, 2%);
  width: min(140px, 17vw);
  animation: topFloat 5.5s ease-in-out infinite;
}

.p-top__service-deco--drill {
  top: 60px;
  right: 2%;
  width: min(130px, 16vw);
  transform: rotate(10deg);
  animation: topFloat 6.5s ease-in-out 1s infinite;
}

/* SP: 白パネルの下に潜り込むため、パネルより下(セクション余白)へ逃がす */
@media (max-width: 750px) {
  .p-top__service {
    padding-bottom: 124px;
  }

  /* SPはバナーが低くコピーと重なるため、ドットをバナーの外(下)へ出す */
  .p-top__service-banner-dots {
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%);
  }

  .p-top__service-banner-dots button {
    background: rgba(62, 155, 119, 0.3);
    box-shadow: none;
  }

  .p-top__service-banner-dots button.is-active {
    background: var(--color-secondary);
  }

  .p-top__service-deco--wheelchair {
    top: auto;
    bottom: -84px;
    left: 18px;
    width: 72px;
  }

  .p-top__service-deco--drill {
    top: auto;
    bottom: -76px;
    right: 18px;
    width: 76px;
  }
}

@keyframes topFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* About ---------------------------------------------------------------------- */
.p-top__about {
  padding: 110px 0 100px;
  background: #fff;
}

.p-top__about-container {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 751px) {
  .p-top__about-container {
    padding-inline: 40px;
  }
}

.p-top__about-panel {
  position: relative;
  margin-top: 56px;
  padding: 72px 24px 56px;
  text-align: center;
  background: var(--color-cream);
  border-radius: 36px;
}

@media (min-width: 751px) {
  .p-top__about-panel {
    padding: 84px 64px 64px;
  }
}

.p-top__about-text {
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 15px;
  line-height: 2.1;
}

.p-top__about-deco--house {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(150px, 30vw);
  transform: translate(-50%, -56%);
}

.p-top__about-deco--birdpeople {
  position: absolute;
  bottom: -18px;
  left: -12px;
  width: min(210px, 38vw);
}

@media (min-width: 751px) {
  .p-top__about-deco--birdpeople {
    bottom: -24px;
    left: -36px;
  }
}

/* Blog ------------------------------------------------------------------------ */
.p-top__blog {
  position: relative;
  padding: 96px 0 0;
  background: #fff;
}

.p-top__blog-under {
  display: block;
  width: 100%;
  margin-top: 72px;
}

/* Shop ------------------------------------------------------------------------ */
.p-top__shop {
  padding: 88px 0 104px;
  background: var(--color-beige);
}

.p-top__shop-hq {
  position: relative;
  margin-top: 48px;
  padding: 30px 26px 32px;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}

@media (min-width: 751px) {
  .p-top__shop-hq {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: center;
    padding: 44px 52px;
  }
}

.p-top__shop-hq-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 20px;
}

@media (min-width: 751px) {
  .p-top__shop-hq-head {
    padding-bottom: 0;
  }
}

.p-top__shop-hq-name {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: var(--color-ink);
}

.p-top__shop-hq-en {
  font-family: var(--font-family-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-muted);
}

.p-top__shop-franchise-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 72px;
}

.p-top__shop-franchise-title {
  flex-shrink: 0;
  padding: 5px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--color-secondary);
  border-radius: 999px;
}

.p-top__shop-franchise-line {
  flex: 1;
  height: 0;
  border-top: 3px dashed #d8cdbc;
}

.p-top__shop-franchise-list {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

@media (min-width: 751px) {
  .p-top__shop-franchise-list {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.p-top__shop-card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-m);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.p-top__shop-card:hover {
  border-color: transparent;
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.p-top__shop-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px 26px 22px;
}

.p-top__shop-card-title {
  position: relative;
  padding-left: 22px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--color-ink);
}

.p-top__shop-card-title::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--color-secondary);
  border-radius: 3px;
  transform: translateY(-50%) rotate(45deg);
}

.p-top__shop-card .c-data-list {
  margin-top: 14px;
}

.p-top__shop-card .c-data-list dd {
  font-size: 13.5px;
}

.p-top__shop-card-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
  margin-top: auto;
  padding-top: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
}

.p-top__shop-card-more::after {
  content: "";
  width: 28px;
  height: 28px;
  background: var(--color-secondary) url("../../images/common/icon-arrow-right.svg") center / 13px no-repeat;
  border-radius: 50%;
  transition: transform 0.3s var(--ease);
}

.p-top__shop-card:hover .p-top__shop-card-more::after {
  transform: translateX(5px);
}

/* CTA deco ---------------------------------------------------------------------- */
.p-top__cta-deco {
  position: absolute;
  top: 16px;
  left: 4%;
  width: min(280px, 38vw);
  opacity: 0.9;
  pointer-events: none;
}

/* Recruit ------------------------------------------------------------------------ */
.p-top__recruit {
  padding: 0 0 120px;
  background: #fff;
}

.p-top__recruit-banner img {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: cover;
}

.p-top__recruit-panel {
  position: relative;
  margin-top: -56px;
  padding: 48px 24px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 32px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 751px) {
  .p-top__recruit-panel {
    margin-top: -72px;
    padding: 64px 72px;
  }
}

.p-top__recruit-text {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 15px;
  line-height: 2.2;
}
