/* ============================================
   サッカースパイク・シューズ お手入れガイド LP
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --color-primary: #0d7a4a;
  --color-primary-dark: #065a35;
  --color-primary-light: #e8f5ef;
  --color-accent: #ffcd00;
  --color-text: #1a2e24;
  --color-text-muted: #5a6b62;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f9f6;
  --color-border: rgba(13, 122, 74, 0.12);
  --color-shadow: rgba(13, 122, 74, 0.08);
  --radius: 12px;
  --shadow-sm: 0 2px 8px var(--color-shadow);
  --shadow-md: 0 4px 20px var(--color-shadow);
  --shadow-hover: 0 8px 28px rgba(13, 122, 74, 0.15);
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Inter", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-gap: clamp(72px, 10vw, 120px);
  --container-width: 1120px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.container--narrow {
  max-width: 760px;
}

.section {
  padding: var(--section-gap) 0;
}

.section--light {
  background: var(--color-bg-alt);
}

#care-items{
  background-image: url(../img/care-items_bk.jpg);
  background-size: cover;
}

#care-items .section__title{
  color: #fff;
}

.section__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffcd00;
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(24px, 4.5vw, 40px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--color-text);
}

.pc_none{
  display: none;
}

.sp_none{
  display: block;
}

/* ---- Hero (① ファーストビュー) ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  /* background:
    linear-gradient(135deg, rgba(6, 90, 53, 0.92) 0%, rgba(13, 122, 74, 0.85) 50%, rgba(46, 204, 113, 0.3) 100%),
    url("https://images.unsplash.com/photo-1574629810360-7abe27600ff3?w=1920&q=80") center / cover no-repeat; */
    background-image: url(../img/shoes-care_mainpc_.jpg);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 48px);
  max-width: 820px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 20px;
  border-radius: 100px;
  margin: 0 0 28px;
  backdrop-filter: blur(8px);
}

.hero__title {
  font-size: clamp(24px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 24px;
  letter-spacing: 0.02em;
}

.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  font-weight: 400;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ---- Cards (②④) ---- */
.card-grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 36px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.section--light .card {
  background: #ffffffd4;
}

.section:not(.section--light) .card {
  background: var(--color-bg-alt);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius);
  font-size: 24px;
  margin-bottom: 20px;
}

.card__title {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
}

.card__text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---- Steps (③) ---- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 32px);
  max-width: 800px;
  margin-inline: auto;
}

.step {
  display: flex;
  gap: clamp(20px, 3vw, 32px);
  align-items: flex-start;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.35s var(--ease-out);
}

.step:hover {
  box-shadow: var(--shadow-md);
}

.step__number {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-primary);
  padding: 10px 16px;
  /* border-radius: var(--radius); */
  white-space: nowrap;
}

.step__body {
  flex: 1;
}

.step__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius);
  font-size: 20px;
  margin-bottom: 16px;
}

.step__title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  margin: 0 0 12px;
}

.step__text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---- Care Columns (⑤) ---- */
.care-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 32px);
  margin-bottom: 40px;
}

.care-column {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: clamp(32px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  text-align: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.care-column:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.care-column__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 50%;
  font-size: 26px;
  margin: 0 auto 20px;
}

.care-column__title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  margin: 0 0 20px;
}

.care-column__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.care-column__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--color-text-muted);
}

.care-column__list li i {
  color: var(--color-primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.care-note {
  display: block;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 12px;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  color: var(--color-primary);
  background: #e8f5efd1;
  padding: 20px 28px;
  border-radius: var(--radius);
  margin: 40px 0 0;
}

.care-note i {
  font-size: 20px;
}

/* ---- Product Filter & Grid (⑥) ---- */
.filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.filter-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 10px 22px;
  transition: color 0.3s, background 0.3s, border-color 0.3s, transform 0.2s;
}

.filter-btn:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.filter-btn.is-active {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), opacity 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.product-card.is-hidden {
  display: none;
}

.product-card__image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0f4f2;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.product-card__category {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.product-card__name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
}

.product-card__price {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px;
}

.product-card__price small {
  font-size: 12px;
  font-weight: 400;
  margin-left: 2px;
}

.product-card__desc {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 16px;
  flex: 1;
}

.product-card__btn {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
  /* border-radius: var(--radius); */
  padding: 12px 16px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.product-card__btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

/* ---- FAQ (⑦) ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::marker {
  content: "";
}

.faq-item__question:hover {
  color: var(--color-primary);
}

.faq-item__icon {
  flex-shrink: 0;
  font-size: 14px;
  color: var(--color-primary);
  transition: transform 0.35s var(--ease-out);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 24px 20px;
}

.faq-item__answer p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--color-border);
}

/* ---- CTA (⑧) ---- */
.cta {
  padding: clamp(72px, 10vw, 100px) 0;
  /* background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%); */
  background: url(../img/cta_bk.jpg);
  text-align: center;
}

.cta__title {
  font-size: clamp(24px, 4.5vw, 38px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 32px;
  line-height: 1.35;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  background: #fff;
  /* border-radius: var(--radius); */
  padding: 16px 40px;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.cta__btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

/* ---- Page Top Button ---- */
.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s, background 0.3s;
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pagetop:hover {
  background: var(--color-primary-dark);
}

/* ---- Scroll Animations ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for card grids */
.card-grid .card:nth-child(2)[data-animate] { transition-delay: 0.1s; }
.card-grid .card:nth-child(3)[data-animate] { transition-delay: 0.2s; }
.card-grid .card:nth-child(4)[data-animate] { transition-delay: 0.3s; }

.steps .step:nth-child(2)[data-animate] { transition-delay: 0.15s; }

.product-grid .product-card:nth-child(2)[data-animate] { transition-delay: 0.05s; }
.product-grid .product-card:nth-child(3)[data-animate] { transition-delay: 0.1s; }
.product-grid .product-card:nth-child(4)[data-animate] { transition-delay: 0.15s; }
.product-grid .product-card:nth-child(5)[data-animate] { transition-delay: 0.05s; }
.product-grid .product-card:nth-child(6)[data-animate] { transition-delay: 0.1s; }
.product-grid .product-card:nth-child(7)[data-animate] { transition-delay: 0.15s; }
.product-grid .product-card:nth-child(8)[data-animate] { transition-delay: 0.2s; }

/* ---- Keyframes ---- */
@keyframes scroll-line {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero__scroll-line::after {
    animation: none;
  }

  .card:hover,
  .care-column:hover,
  .product-card:hover,
  .cta__btn:hover {
    transform: none;
  }
}

/* ---- Responsive: Tablet (3 columns) ---- */
@media screen and (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Responsive: Mobile ---- */
@media screen and (max-width: 768px) {

  .pc_none{
  display: block;
}

.sp_none{
  display: none;
}

.section__label{
  margin-bottom: 5px;
}

.hero__bg{
  background-image: url(../img/shoes-care_mainsp.jpg);
}

#care-items{
  background-image: url(../img/care-items_bk_sp.jpg);
}

  .card-grid--3,
  .card-grid--2,
  .care-columns {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card__btn{
    font-size: 10px;
  }

  .step {
    flex-direction: column;
  }

  .step__number {
    align-self: flex-start;
  }

  .filter-nav {
    gap: 8px;
  }

  .filter-btn {
    font-size: 13px;
    padding: 8px 16px;
  }

  .pagetop {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}

@media screen and (max-width: 480px) {
  .hero__title br {
    display: none;
  }
}
