/* ワンルーク トリミングページ（css/style.css の上に重ねて使います） */

.section-lead { margin: 12px 0 0; font-size: 15px; color: var(--cocoa-soft); }

/* ---------- ヒーロー ---------- */
.hero--trim .hero__photo .hero-slide img { object-position: var(--pos, 50% 40%); }
.hero-thumbs--six { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.hero-thumbs--six .hero-thumb { aspect-ratio: 1; }
@media (min-width: 960px) {
  .hero--trim .hero-thumbs { padding-left: 0; }
  .hero--trim .hero__photo { aspect-ratio: 1 / .92; }
}

/* ---------- こだわり ---------- */
.points { list-style: none; display: grid; gap: 18px; counter-reset: p; }
.point {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.point__num {
  display: block; font-family: var(--font-round); font-weight: 700; font-size: 44px; line-height: 1;
  color: var(--mint); -webkit-text-stroke: 1.5px var(--teal); margin-bottom: 10px; letter-spacing: .02em;
}
.point__title { font-size: 20px; margin-bottom: 10px; }
.point p { font-size: 15px; }
.point::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 90px; height: 90px; opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='%2300796F'%3E%3Cpath d='M24 26c-5.6 0-11 6.4-11 11 0 3.1 2.4 4.6 5.3 4.6 2.4 0 3.7-1.2 5.7-1.2s3.3 1.2 5.7 1.2c2.9 0 5.3-1.5 5.3-4.6 0-4.6-5.4-11-11-11z'/%3E%3Cellipse cx='11' cy='22' rx='3.6' ry='4.6'/%3E%3Cellipse cx='19' cy='13' rx='3.8' ry='5'/%3E%3Cellipse cx='29' cy='13' rx='3.8' ry='5'/%3E%3Cellipse cx='37' cy='22' rx='3.6' ry='4.6'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  transform: rotate(-16deg); transition: transform .5s var(--bounce), opacity .3s;
}
@media (hover: hover) {
  .point:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -24px rgba(59, 41, 35, .45); }
  .point:hover::after { transform: rotate(0) scale(1.1); opacity: .13; }
}
.js .points .point.reveal:nth-child(2) { transition-delay: .1s; }
.js .points .point.reveal:nth-child(3) { transition-delay: .2s; }
@media (min-width: 768px) {
  .points { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .point { padding: 32px 28px 28px; }
}

/* ---------- コースの説明 ---------- */
.course-def { display: grid; gap: 12px; margin-bottom: 28px; }
.course-def__item { background: var(--white); border-radius: 16px; padding: 16px 18px; font-size: 14.5px; line-height: 1.7; }
.course-def__name {
  display: inline-block; margin-bottom: 4px; font-family: var(--font-round); font-weight: 700; font-size: 15px;
  color: var(--white); background: var(--teal); padding: 1px 12px; border-radius: 999px;
}
@media (min-width: 768px) { .course-def { grid-template-columns: 1fr 1fr; gap: 16px; } }

/* ---------- 犬種で探す ---------- */
.finder {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 22px 18px 20px;
  box-shadow: 0 14px 30px -24px rgba(0, 94, 86, .6); margin-bottom: 24px;
}
.peek--finder { top: -54px; right: 18px; left: auto; }
@media (min-width: 768px) { .peek--finder { left: auto; right: 28px; top: -62px; } }
.finder__label { display: block; font-family: var(--font-round); font-weight: 700; font-size: 17px; margin-bottom: 10px; }
.finder__field { position: relative; }
.finder__icon { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--teal); pointer-events: none; }
.finder__input {
  width: 100%; min-height: 54px; padding: 10px 52px 10px 46px; border-radius: 999px;
  border: 2px solid #BFE0D9; background: var(--ivory); color: var(--cocoa);
  font: 500 16px/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.finder__input::placeholder { color: #9C8C84; }
.finder__input:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 121, 111, .15); }
.finder__input::-webkit-search-cancel-button { display: none; }
.finder__clear {
  position: absolute; right: 6px; top: 50%; width: 44px; height: 44px; margin-top: -22px;
  border: 0; background: none; color: var(--cocoa-soft); cursor: pointer; border-radius: 50%;
  display: grid; place-items: center;
}
.finder__clear[hidden] { display: none; }
.finder__clear:hover { background: var(--mint); }
.finder__clear svg { width: 18px; height: 18px; }
.finder__hint { margin: 14px 0 8px; font-size: 13px; color: var(--cocoa-soft); }
.finder__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.finder__chip {
  appearance: none; cursor: pointer; min-height: 40px; padding: 6px 14px; border-radius: 999px;
  border: 1.5px solid #BFE0D9; background: var(--white); color: var(--teal-dark);
  font: 700 14px/1.2 var(--font-round);
  transition: background-color .2s, color .2s, transform .2s var(--bounce);
}
.finder__chip:hover { background: var(--mint); transform: translateY(-2px); }
.finder__chip:active { transform: scale(.95); }
.finder__chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
.finder__result:empty { display: none; }
.finder__result { margin-top: 18px; }
.finder__result.is-pop .hit { animation: hitIn .4s var(--bounce) both; }
.finder__result.is-pop .hit:nth-child(2) { animation-delay: .05s; }
.finder__result.is-pop .hit:nth-child(3) { animation-delay: .1s; }
.finder__result.is-pop .hit:nth-child(4) { animation-delay: .15s; }
@keyframes hitIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.finder__count { font-size: 13px; color: var(--cocoa-soft); margin-bottom: 8px; }
.finder__more { font-size: 13px; color: var(--cocoa-soft); margin-top: 10px; }
.hits { list-style: none; display: grid; gap: 10px; }
.hit { background: var(--mint); border-radius: 16px; padding: 14px 16px; }
.hit__title { font-family: var(--font-round); font-weight: 700; font-size: 18px; margin-bottom: 2px; }
.hit__group { font-size: 12.5px; color: var(--cocoa-soft); margin-bottom: 4px; }
.hit__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 0; }
.hit__prices div { background: var(--white); border-radius: 12px; padding: 8px 12px; }
.hit__prices dt { font-size: 12px; color: var(--teal-dark); font-weight: 700; }
.hit__prices dd { margin: 0; font-size: 13px; }
.hit__prices strong { font-family: var(--font-round); font-size: 24px; color: var(--cocoa); margin-right: 1px; }
.hit__none { font-size: 13px; color: var(--cocoa-soft); }
.hit--none p { font-size: 14px; }
.hit--none .btn { margin-top: 10px; min-height: 48px; }
@media (min-width: 768px) {
  .finder { padding: 28px 32px 26px; }
  .hits { grid-template-columns: 1fr 1fr; }
}

/* ---------- 料金表 ---------- */
.price-table-wrap { background: var(--white); border-radius: var(--radius); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.price-table thead th {
  background: var(--teal); color: var(--white); font-family: var(--font-round); font-weight: 700;
  padding: 12px 10px; text-align: center; font-size: 14px; line-height: 1.4;
}
.price-table thead th:first-child { text-align: left; padding-left: 16px; }
.price-table tbody th { text-align: left; font-weight: 500; padding: 11px 10px 11px 16px; line-height: 1.6; }
.price-table tbody th .sep { color: #BFB2AA; margin: 0 2px; }
.price-table td {
  text-align: right; padding: 11px 16px 11px 8px; white-space: nowrap;
  font-family: var(--font-round); font-weight: 700; font-size: 16px;
}
.price-table td small { font-size: 11px; margin-left: 1px; color: var(--cocoa-soft); }
.price-table tbody tr { border-top: 1px solid #E7F1EE; transition: background-color .25s, opacity .25s; }
.price-table tbody tr.is-cat:first-of-type, .price-table tbody tr.is-cat { background: #FBF7F1; }
.price-table tbody tr.is-match { background: #FFF6CF; }
.price-table tbody tr.is-match th { font-weight: 700; }
.price-table tbody tr.is-dim { opacity: .38; }
.price-table thead th:nth-child(2), .price-table thead th:nth-child(3) { width: 26%; }
@media (min-width: 768px) {
  .price-table { font-size: 15px; }
  .price-table thead th:nth-child(2), .price-table thead th:nth-child(3) { width: 20%; }
  .price-table td { font-size: 18px; padding-right: 28px; }
}

/* ---------- セットメニュー ---------- */
.sets { list-style: none; display: grid; gap: 18px; }
.set {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 24px 22px 20px;
  border: 1px solid var(--line); border-top: 6px solid var(--accent, var(--teal));
  transition: transform .3s var(--ease), box-shadow .3s, background-color .3s;
}
@media (hover: hover) {
  .set:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 18px 30px -22px rgba(59, 41, 35, .45); }
}
.set.is-open { background: #FFFDF8; }
.set__label { font-size: 12.5px; font-weight: 700; color: var(--cocoa-soft); letter-spacing: .06em; margin-bottom: 2px; }
.set__name { font-size: 21px; margin-bottom: 12px; }
.set__parts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.set__parts li {
  font-size: 13px; font-weight: 700; padding: 4px 11px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent, var(--teal)) 18%, white); color: var(--cocoa);
}
.set__parts li + li::before { content: "＋"; margin-right: 4px; color: var(--cocoa-soft); font-weight: 500; }
.set__price { font-size: 14px; margin-bottom: 10px; }
.set__price strong { font-family: var(--font-round); font-size: 32px; margin-right: 2px; }
.set__more {
  appearance: none; cursor: pointer; border: 0; background: none; padding: 0; min-height: 44px;
  font: 700 14px/1.4 var(--font-round); color: var(--teal); display: inline-flex; align-items: center; gap: 6px;
}
.set__more::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
}
.set__more[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
.set__desc { font-size: 14px; line-height: 1.85; margin: 2px 0 0; animation: faqIn .25s var(--ease); }
.sets__note { margin-top: 16px; font-size: 13px; color: var(--cocoa-soft); text-align: center; }
.js .sets .set.reveal:nth-child(2) { transition-delay: .1s; }
.js .sets .set.reveal:nth-child(3) { transition-delay: .2s; }
@media (min-width: 768px) {
  .sets { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

/* ---------- 単品・オプション ---------- */
.menus { display: grid; gap: 18px; margin-top: 48px; }
.menu-box { background: var(--white); border-radius: var(--radius); padding: 22px 20px; border: 1px solid var(--line); }
.menu-box__title { font-size: 19px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.menu-box__title::before { content: ""; width: 6px; height: 20px; border-radius: 3px; background: var(--teal); }
.menu-list { margin: 0; }
.menu-list div {
  display: flex; justify-content: space-between; gap: 12px; padding: 9px 2px; font-size: 14.5px;
  border-bottom: 1px dashed var(--line);
}
.menu-list div:last-child { border-bottom: 0; }
.menu-list dd { margin: 0; white-space: nowrap; font-family: var(--font-round); font-weight: 700; }
.menu-box__note { margin-top: 12px; font-size: 13px; color: var(--cocoa-soft); }
@media (min-width: 768px) {
  .menus { grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
  .menu-box { padding: 28px 30px; }
}

/* ---------- トリミングの流れ（タブ） ---------- */
.steps__tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 calc(var(--gutter) * -1) 8px;
  padding-left: var(--gutter); padding-right: var(--gutter);
  scroll-snap-type: x proximity; scrollbar-width: thin;
}
.steps__tab {
  flex: none; scroll-snap-align: center; appearance: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 92px; min-height: 76px; padding: 10px 10px 8px; border-radius: 16px;
  border: 1.5px solid #BFE0D9; background: var(--white); color: var(--cocoa);
  font: 700 13px/1.3 var(--font-round);
  transition: background-color .2s, color .2s, transform .2s var(--bounce), border-color .2s;
}
.steps__tab:hover { transform: translateY(-2px); }
.steps__no {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); color: var(--teal-dark); font-size: 12px;
}
.steps__tab.is-done .steps__no { background: var(--teal); color: var(--white); }
.steps__tab.is-active { background: var(--teal); border-color: var(--teal); color: var(--white); }
.steps__tab.is-active .steps__no { background: var(--white); color: var(--teal); }
.steps__tab:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 2px; }

.steps__panel {
  display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 22px 20px; border: 1px solid var(--line);
  margin-bottom: 12px;
}
.steps.is-ready .steps__panel { display: none; margin-bottom: 0; }
.steps.is-ready .steps__panel.is-active { display: grid; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.steps__stamp {
  position: relative; width: 96px; height: 96px; border-radius: 50%; border: 2.5px solid var(--teal);
  box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 6.5px #9CCFC6;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
  color: var(--teal);
}
.steps__stamp span { font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.steps__stamp strong { font-family: var(--font-round); font-size: 28px; margin-top: 2px; }
.steps__stamp svg { position: absolute; right: -6px; bottom: -4px; width: 30px; height: 30px; color: var(--teal); transform: rotate(-14deg); }
.steps.is-ready .steps__panel.is-active .steps__stamp svg { animation: inkIn .5s var(--bounce) .1s both; }
.steps__title { font-size: 20px; margin-bottom: 6px; }
.steps__body p { font-size: 15px; }
.steps__nav { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.steps__btn {
  appearance: none; cursor: pointer; min-height: 44px; min-width: 72px; padding: 6px 16px; border-radius: 999px;
  border: 1.5px solid var(--teal); background: var(--white); color: var(--teal); font: 700 14px/1 var(--font-round);
}
.steps__btn--next { background: var(--teal); color: var(--white); }
.steps__btn:disabled { opacity: .35; cursor: default; }
.steps__count { font-size: 13px; color: var(--cocoa-soft); }
html:not(.js) .steps__nav, html:not(.js) .steps__tabs { display: none; }
.steps__terms { margin-top: 20px; text-align: center; font-size: 13px; color: var(--cocoa-soft); }
@media (max-width: 599px) {
  .steps__panel { grid-template-columns: 1fr; justify-items: start; gap: 12px; }
  .steps__stamp { width: 76px; height: 76px; }
  .steps__stamp strong { font-size: 22px; }
}
@media (min-width: 960px) {
  .steps__tabs { margin: 0 0 12px; padding-left: 2px; padding-right: 2px; overflow: visible; display: grid; grid-template-columns: repeat(8, 1fr); }
  .steps__tab { min-width: 0; }
  .steps__panel { padding: 30px 36px; grid-template-columns: 120px 1fr; gap: 32px; }
  .steps__stamp { width: 116px; height: 116px; }
  .steps__stamp strong { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .finder__result.is-pop .hit, .steps.is-ready .steps__panel.is-active, .steps__stamp svg { animation: none !important; }
}
@media (max-width: 599px) {
  .price-table thead th { font-size: 12px; padding: 10px 6px; }
  .price-table thead th:first-child { padding-left: 14px; }
  .price-table tbody th { font-size: 13px; padding-left: 14px; }
  .price-table td { font-size: 15px; padding-right: 12px; }
}

/* ===== セットメニュー：わんちゃんと泡・キラキラ・ハート ===== */
.set__pet {
  position: absolute; top: -34px; right: 14px; width: 84px; height: 68px;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--bounce, cubic-bezier(.34, 1.56, .64, 1));
}
.set__dog { position: absolute; inset: 0; }
.set__dog svg { width: 100%; height: 100%; display: block; overflow: visible; }
.set__name { padding-right: 70px; }
.set { margin-top: 26px; }
@media (hover: hover) { .set:hover .set__pet { transform: translateY(-4px) rotate(-6deg); } }
.set__pet.is-jump { animation: petJump .6s var(--ease); }
@keyframes petJump { 0%, 100% { transform: none; } 35% { transform: translateY(-14px) rotate(-6deg); } 65% { transform: translateY(0) rotate(4deg); } }

/* 泡・キラキラ・ハート（ふだんは隠れていて、ホバー・タップ・「どんなコース？」で舞い上がる） */
.set__fx { position: absolute; inset: 0; pointer-events: none; }
.set__fx i {
  position: absolute; left: calc(10% + var(--i) * 14%); bottom: 40%;
  width: 16px; height: 16px; opacity: 0; transform: translateY(0) scale(.4);
}
.set__pet--bubble .set__fx i {
  border-radius: 50%; border: 2px solid #E9A3A0;
  background: radial-gradient(circle at 35% 35%, #fff 0 25%, rgba(233, 163, 160, .25) 26%);
}
.set__pet--bubble .set__fx i:nth-child(even) { width: 10px; height: 10px; }
.set__pet--sparkle .set__fx i {
  background: #8FC3DD;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}
.set__pet--sparkle .set__fx i:nth-child(odd) { background: #F7DE6C; width: 11px; height: 11px; }
.set__pet--heart .set__fx i {
  background: #C9A6D6;
  clip-path: path("M8 14.5 1.6 8.4A4 4 0 0 1 8 3.2a4 4 0 0 1 6.4 5.2z");
}
.set__pet--heart .set__fx i:nth-child(even) { background: #F4C7BE; }
.set.is-fx .set__fx i, .set.is-open .set__fx i { animation: fxUp 1.5s var(--ease) calc(var(--i) * .09s) both; }
@media (hover: hover) { .set:hover .set__fx i { animation: fxUp 1.5s var(--ease) calc(var(--i) * .09s) both; } }
.set.is-open .set__fx i { animation-iteration-count: infinite; animation-duration: 2.4s; }
@keyframes fxUp {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc((var(--i) - 2.5) * 8px), -72px) scale(1.15) rotate(25deg); }
}

/* セットと単品のあいだの、てくてく肉球 */
.paw-trail { display: flex; justify-content: center; gap: 10px; margin: 40px 0 -16px; color: var(--teal); }
.paw-trail svg { width: 18px; height: 18px; opacity: .55; }
.paw-trail svg:nth-child(odd) { transform: translateY(-7px) rotate(-14deg); }
.paw-trail svg:nth-child(even) { transform: translateY(5px) rotate(14deg); }
.js .paw-trail.reveal { opacity: 1; transform: none; }
.js .paw-trail.reveal svg { opacity: 0; scale: .3; transition: opacity .3s, scale .4s var(--bounce, ease); transition-delay: calc(var(--i) * .14s); }
.js .paw-trail.reveal.is-in svg { opacity: .55; scale: 1; }

/* ===== 単品・オプション：肉球をつけてメモ ===== */
.menu-box__hint {
  display: flex; align-items: center; gap: 6px; margin: -2px 0 8px;
  font-size: 13px; color: var(--cocoa-soft);
}
.menu-box__hint svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.menu-list div.has-pick { align-items: center; padding-left: 0; }
.menu-list div.has-pick dt { flex: 1; display: flex; align-items: center; gap: 4px; }
.menu-pick {
  appearance: none; border: 0; background: none; cursor: pointer; flex: none;
  width: 44px; height: 44px; margin: -8px 0 -8px -8px; display: grid; place-items: center;
  color: #CDBFAE; border-radius: 50%; -webkit-tap-highlight-color: transparent;
  transition: color .2s, background-color .2s;
}
.menu-pick svg { width: 22px; height: 22px; transition: transform .35s var(--bounce, ease); }
.menu-pick:hover { background: var(--mint); color: var(--teal); }
.menu-pick[aria-pressed="true"] { color: var(--teal); }
.menu-pick[aria-pressed="true"] svg { animation: pawPop .45s var(--bounce, ease); }
@keyframes pawPop { 0% { transform: scale(.4) rotate(-20deg); } 60% { transform: scale(1.3) rotate(8deg); } 100% { transform: scale(1); } }
.menu-pick .p-off { display: block; } .menu-pick .p-on { display: none; }
.menu-pick[aria-pressed="true"] .p-off { display: none; } .menu-pick[aria-pressed="true"] .p-on { display: block; }
.menu-list div.is-picked { background: linear-gradient(90deg, rgba(226, 243, 239, .9), rgba(226, 243, 239, 0)); border-radius: 10px; }

.picks {
  position: relative; margin-top: 22px; padding: 18px 20px 16px; border-radius: var(--radius);
  background: var(--mint); border: 2px dashed rgba(0, 121, 111, .35); animation: faqIn .3s var(--ease);
}
.picks__title { display: flex; align-items: center; gap: 6px; font: 700 15px/1.4 var(--font-round); color: var(--teal); }
.picks__title svg { width: 20px; height: 20px; }
.picks__list { margin: 8px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.picks__list span { background: var(--white); border-radius: 999px; padding: 4px 12px; font-size: 13.5px; font-weight: 700; }
.picks__note { font-size: 12.5px; color: var(--cocoa-soft); }
.picks__clear {
  appearance: none; border: 0; background: none; cursor: pointer; min-height: 44px; padding: 0;
  font: 700 13px/1.4 var(--font-round); color: var(--teal); text-decoration: underline; text-underline-offset: .2em;
}

@media (prefers-reduced-motion: reduce) {
  .set__pet, .set__pet.is-jump, .menu-pick svg, .menu-pick[aria-pressed="true"] svg { animation: none !important; transition: none !important; transform: none !important; }
  .set__fx { display: none; }
  .js .paw-trail.reveal svg { opacity: .55; scale: 1; transition: none; }
  .picks { animation: none; }
}
