/* ===================================================
 * sections.css — 各セクションのスタイル
 * =================================================== */

/* ===== FIRST VIEW ===== */
.firstview {
  width: 75%;
  display: block;
  line-height: 0;
  margin: auto;
}
.firstview img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 767px) {
  .firstview { width: 100%; }
}

/* ===== HERO SLIDER（現在停止中・復活時に使用）===== */
.hero-slider { position: relative; overflow: hidden; width: 100%; }
.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.slide { min-width: 100%; position: relative; overflow: hidden; }
.slide img { width: 100%; height: auto; display: block; }
.slide-inner {
  position: relative; z-index: 2;
  max-width: 760px; margin: 0 auto;
  padding: 100px 40px 100px;
  min-height: 560px;
  display: flex; flex-direction: column; justify-content: center;
}
.slide-copy {}
.slide-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; border-radius: 50px;
  padding: 5px 16px; margin-bottom: 18px; letter-spacing: 0.06em;
}
.slide-heading { font-size: clamp(26px, 3.8vw, 50px); font-weight: 900; line-height: 1.25; margin-bottom: 16px; }
.slide-desc { font-size: clamp(13px, 1.4vw, 15px); line-height: 1.85; margin-bottom: 28px; }
.slide-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; background: rgba(255,255,255,0.9);
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #333;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18); transition: background 0.2s, transform 0.2s;
}
.slider-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px; align-items: center;
}
.slider-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.5); border: 2px solid rgba(255,255,255,0.7);
  cursor: pointer; transition: all 0.3s; padding: 0;
}
.slider-dot.active { background: #fff; width: 28px; border-radius: 5px; }
.trust-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.trust-badge::before {
  content: '✓'; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.slide-1 .trust-badge { color: #444; }
.slide-1 .trust-badge::before { background: #3b4fd8; color: #fff; }
.slide-2 .trust-badge, .slide-3 .trust-badge { color: rgba(255,255,255,0.9); }
.slide-2 .trust-badge::before { background: var(--gold); color: #fff; }
.slide-3 .trust-badge::before { background: var(--red); color: #fff; }
.btn-line {
  background: var(--line-green); color: #fff; font-size: 15px; font-weight: 700;
  padding: 16px 28px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 12px rgba(0,185,0,0.35); white-space: nowrap;
}
.btn-line:hover { background: var(--line-green-dark); }
.btn-outline {
  background: #fff; color: #333; font-size: 15px; font-weight: 700;
  padding: 16px 24px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #ccc; white-space: nowrap;
}
.btn-outline:hover { background: #f5f5f5; }
.btn-outline-white {
  background: transparent; color: #fff; font-size: 15px; font-weight: 700;
  padding: 16px 24px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid rgba(255,255,255,0.6); white-space: nowrap;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-primary {
  background: var(--red); color: #fff; font-size: 15px; font-weight: 700;
  padding: 14px 28px; border-radius: 50px; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(200,16,46,0.45); white-space: nowrap;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-gold {
  background: var(--gold); color: #fff; font-size: 15px; font-weight: 700;
  padding: 16px 28px; border-radius: 10px; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 12px rgba(212,160,23,0.4); white-space: nowrap;
}
.btn-gold:hover { filter: brightness(1.1); }
.btn-tel {
  background: var(--gold); color: #fff; font-size: 15px; font-weight: 700;
  padding: 14px 24px; border-radius: 50px; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 12px rgba(212,160,23,0.35);
}
@media (max-width: 820px) {
  .slide-inner { padding: 60px 28px 70px; min-height: 420px; }
  .slider-arrow { width: 38px; height: 38px; font-size: 14px; }
}
@media (max-width: 680px) {
  .slide-inner { padding: 48px 20px 60px; min-height: 360px; }
  .slide-cta { flex-direction: column; }
  .slide-cta .btn-line,
  .slide-cta .btn-outline-white,
  .slide-cta .btn-gold { justify-content: center; }
  .slider-arrow { display: none; }
}

/* ===== CHAIN BANNER ===== */
.chain-banner {
  background: #1a1a1a; color: #fff;
  text-align: center; padding: 12px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.08em;
}
.chain-banner span { color: var(--gold-light); }

/* ===== 安心ポイント ===== */
.trust-section { background: #fff; padding: 64px 16px; }
.trust-header { text-align: center; margin-bottom: 48px; }
.trust-heading {
  font-size: clamp(22px, 3vw, 32px); font-weight: 900;
  color: var(--text-dark); margin-bottom: 16px; line-height: 1.4; letter-spacing: 0.04em;
}
.trust-red { color: var(--red); }
.trust-sub { font-size: 14px; color: var(--text-mid); line-height: 1.9; }
@media (max-width: 767px) {
  .trust-swiper .swiper-wrapper { align-items: flex-start !important; }
  .swiper-slide.trust-slide { height: auto !important; }
}
@media (min-width: 768px) {
  .trust-wrapper { display: flex !important; justify-content: center; align-items: flex-start; gap: 24px; }
  .trust-slide { width: 30% !important; margin-right: 0 !important; flex-shrink: 0; }
}
.trust-slide { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.trust-img-wrap {
  position: relative; width: 100%; aspect-ratio: 4/3;
  overflow: hidden; border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); background: #f0f0f0;
}
.trust-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trust-num {
  position: absolute; top: 0; left: 0;
  background: var(--red); color: #fff; font-size: 20px; font-weight: 900;
  padding: 8px 20px; border-top-left-radius: 1rem; border-bottom-right-radius: 1rem;
  z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.trust-divider { width: 2px; height: 32px; background: var(--red); margin: 20px 0 12px; flex-shrink: 0; }
.trust-text { font-size: 15px; font-weight: 700; color: var(--text-dark); line-height: 1.8; text-align: center; }
.trust-footer { text-align: center; margin-top: 48px; }

/* ===== 店舗情報 ===== */
.store-info { background: #fff; padding: 52px 16px; border-top: 1px solid var(--border); }
.store-info-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start;
}
.map-img { width: 100%; border-radius: 10px; border: 1px solid var(--border); }
.map-link { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--red); text-decoration: underline; }
.store-table { width: 100%; border-collapse: collapse; }
.store-table th, .store-table td { padding: 10px 12px; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: top; }
.store-table th { width: 100px; font-weight: 700; color: var(--red); white-space: nowrap; }

/* ===== 買取方法 ===== */
.purchase-methods { background: #fff; padding: 60px 16px 64px; text-align: center; }
.methods-ribbon {
  display: inline-block; position: relative;
  background: #8b1e1e; color: #fff; font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; padding: 8px 36px; margin-bottom: 22px;
}
.methods-ribbon::before,
.methods-ribbon::after { content: ''; position: absolute; top: 0; bottom: 0; width: 0; border-style: solid; }
.methods-ribbon::before { left: -14px; border-width: 0 14px 100% 0; border-color: transparent #8b1e1e transparent transparent; }
.methods-ribbon::after  { right: -14px; border-width: 100% 14px 0 0; border-color: #8b1e1e transparent transparent transparent; }
.methods-heading {
  font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'Georgia', serif;
  font-size: clamp(24px, 3.5vw, 40px); font-weight: 900; color: #1a1a1a; margin-bottom: 18px; line-height: 1.3;
}
.methods-heading span { color: var(--red); }
.methods-desc { font-size: 15px; color: #444; line-height: 1.9; margin-bottom: 40px; }
.methods-desc span { color: var(--red); font-weight: 700; }
.methods-grid { display: grid; grid-template-columns: repeat(2, 2fr); gap: 20px; max-width: 580px; margin: 0 auto; }
.method-card { border: 1px solid #ddd; overflow: hidden; }
.method-img { position: relative; width: 100%; aspect-ratio: 4/3; background: #ccc; overflow: hidden; }
.method-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.method-img::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.25); z-index: 1; }
.method-title-block { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 2; }
.method-chars { display: flex; gap: 4px; margin-bottom: 10px; justify-content: center; }
.method-chars span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; font-size: 22px; font-weight: 900; color: #fff; letter-spacing: 0;
}
.method-chars span.c-red  { background: var(--red); }
.method-chars span.c-gold { background: var(--gold); }
.method-sub-text { color: #fff; font-size: 14px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,0.6); white-space: nowrap; }
@media (max-width: 680px) {
  .methods-grid { grid-template-columns: 1fr; max-width: 400px; }
  .methods-ribbon { font-size: 12px; padding: 7px 28px; }
}

/* ===== 買取可能商品 ===== */
.items-section { background: #fff; padding: 52px 16px; }
.items-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1000px; margin: 0 auto; }
.item-card { overflow: hidden; border: 1px solid #ddd; }
.item-card-img { width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #c8b89a; position: relative; }
.item-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-card-label {
  display: flex; align-items: center; justify-content: center;
  background: #8b1e1e; padding: 10px 8px; min-height: 50px;
}
.item-card-label span {
  color: #fff; font-size: clamp(11px, 1.2vw, 14px); font-weight: 700;
  letter-spacing: 0.04em; text-align: center; line-height: 1.3;
}
.item-card-label .arrow { color: var(--gold); font-size: 18px; font-weight: 900; letter-spacing: -2px; }

/* ===== 参考買取価格 ===== */
.prices-section { background: var(--bg-cream); padding: 52px 16px; }
.price-tabs {
  display: flex; gap: 6px; max-width: 960px; margin: 0 auto;
  overflow-x: auto; padding-bottom: 2px; margin-bottom: 0;
}
.price-tab {
  flex: 0 0 auto; padding: 10px 28px;
  background: #ddd; border-radius: 6px 6px 0 0;
  font-size: 14px; font-weight: 700; cursor: pointer;
  color: var(--text-mid); border: none; transition: background .2s, color .2s;
}
.price-tab.active { background: var(--red); color: #fff; }
.price-panels {
  max-width: 960px; margin: 0 auto; background: #fff;
  border: 2px solid var(--red); border-radius: 0 8px 8px 8px; padding: 24px;
}
.price-panel { display: none; }
.price-panel.active { display: block; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card { background: #fafafa; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; text-align: center; }
.price-card .pc-img { width: 100%; height: 110px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 48px; }
.price-card .pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prices-inner { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.price-card .pc-body { padding: 10px 8px; }
.price-card .pc-name { font-size: 11px; color: var(--text-mid); margin-bottom: 6px; line-height: 1.4; }
.price-card .pc-price { font-size: 17px; font-weight: 900; color: var(--red); }
.price-note { text-align: right; font-size: 11px; color: var(--text-mid); margin-top: 16px; max-width: 960px; margin-left: auto; margin-right: auto; }

/* ===== スタッフブログ ===== */
.note-section { background: #fff; padding: 52px 16px; border-top: 1px solid var(--border); }
.note-list { max-width: 760px; margin: 24px auto 0; list-style: none; padding: 0; display: flex; flex-direction: column; }
.note-list li { border-bottom: 1px solid var(--border); padding: 16px 0; }
.note-list li:first-child { padding-top: 0; }
.note-list a { text-decoration: none; display: flex; gap: 16px; color: var(--text-dark); align-items: flex-start; }
.note-list a:hover .note-title { text-decoration: underline; color: var(--red); }
.note-list img { width: 120px; height: 80px; object-fit: cover; border-radius: 6px; flex-shrink: 0; border: 1px solid var(--border); }
.note-meta { display: flex; flex-direction: column; gap: 4px; }
.note-date { font-size: 11px; color: var(--text-mid); }
.note-title { font-size: 14px; font-weight: 700; line-height: 1.6; }
#note-list-loading { text-align: center; font-size: 13px; color: var(--text-mid); padding: 24px 0; }
@media (max-width: 600px) {
  .note-list img { width: 90px; height: 60px; }
  .note-title { font-size: 13px; }
}

/* ===== FAQ ===== */
.faq-section { background: var(--bg-gray); padding: 52px 16px; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border-radius: 10px; border: 1px solid var(--border); overflow: hidden; }
.faq-q { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; font-size: 14px; font-weight: 700; }
.faq-q .q-mark {
  flex-shrink: 0; width: 28px; height: 28px; background: var(--red); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px;
}
.faq-q .arrow { margin-left: auto; font-size: 16px; color: var(--text-mid); transition: transform .25s; }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 12px 20px 16px 60px;
  font-size: 13px; color: var(--text-mid); line-height: 1.8; border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ===== CTA バナー ===== */
.cta-banner { background: linear-gradient(135deg, var(--red), var(--red-dark)); padding: 52px 16px; text-align: center; }
.cta-banner h2 { color: #fff; font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.cta-banner .cta-desc { color: rgba(255,255,255,0.85); font-size: 14px; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-tel-big {
  background: #fff; color: var(--red); font-size: 26px; font-weight: 900;
  padding: 14px 32px; border-radius: 8px; display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.cta-hours { color: rgba(255,255,255,0.7); font-size: 12px; margin-top: 14px; }

/* ===== 将来用セクション（現在非表示）===== */
.services { background: var(--red); padding: 36px 16px; }
.services-title { text-align: center; color: #fff; font-size: 20px; font-weight: 900; margin-bottom: 20px; }
.services-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 800px; margin: 0 auto; }
.service-badge {
  background: #fff; color: var(--red); font-size: 14px; font-weight: 700;
  padding: 10px 20px; border-radius: 30px; display: flex; align-items: center; gap: 6px;
}
.results-section {
  padding: 64px 16px;
  background: linear-gradient(160deg, #f5e97a 0%, #e8c84a 30%, #f0d060 60%, #e0b830 100%);
  position: relative; overflow: hidden; text-align: center;
}
.results-section::before, .results-section::after {
  content: '✦'; position: absolute; font-size: 80px; color: rgba(255,255,255,0.25); pointer-events: none;
}
.results-section::before { top: 10px; left: 5%; }
.results-section::after  { bottom: 10px; right: 5%; }
.results-heading { font-family: 'Hiragino Mincho ProN', 'Yu Mincho', serif; font-size: clamp(28px, 4vw, 46px); font-weight: 900; color: #1a1a1a; margin-bottom: 14px; }
.results-heading em { color: var(--red); font-style: normal; }
.results-desc { font-size: 15px; color: #333; line-height: 1.9; margin-bottom: 44px; }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.result-card { background: #fff; text-align: left; box-shadow: 0 4px 20px rgba(0,0,0,0.12); display: flex; flex-direction: column; }
.result-card-img { width: 100%; height: 260px; overflow: hidden; background: #f5f5f5; flex-shrink: 0; }
.result-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.result-card-body { padding: 12px 16px 20px; flex: 1; }
.result-date { font-size: 12px; color: #888; margin-bottom: 8px; display: flex; align-items: center; gap: 5px; }
.result-divider { border: none; border-top: 2px solid var(--red); margin: 8px 0 10px; }
.result-category { font-size: 17px; font-weight: 900; text-align: center; margin-bottom: 10px; color: #1a1a1a; }
.result-text { font-size: 13px; color: #555; line-height: 1.8; }
.reasons { background: #fff; padding: 52px 16px 15px; border-top: 1px solid var(--border); }
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.reason-card { border: 2px solid var(--gold); border-radius: 12px; padding: 28px 20px; text-align: center; background: var(--bg-cream); }
.reason-num { font-size: 32px; font-weight: 900; color: var(--red); display: block; margin-bottom: 4px; }
.reason-card .icon { font-size: 44px; display: block; margin-bottom: 12px; }
.reason-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.reason-card p { font-size: 13px; color: var(--text-mid); line-height: 1.7; }
.staff-section { background: var(--bg-cream); padding: 52px 16px; border-top: 1px solid var(--border); }
.staff-inner { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; }
.staff-photo { width: 100%; aspect-ratio: 4/3; background: #ddd; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 56px; color: #aaa; border: 1px solid var(--border); overflow: hidden; }
.staff-body h3 { font-size: 18px; font-weight: 900; color: var(--red); margin-bottom: 4px; }
.staff-body .staff-title { font-size: 12px; color: var(--text-mid); margin-bottom: 14px; display: block; }
.staff-body p { font-size: 13px; color: var(--text-mid); line-height: 1.9; }
.staff-body p + p { margin-top: 12px; }
.staff-body .staff-sign { margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--text-dark); text-align: right; }

/* ===== レスポンシブ（共通）===== */
@media (max-width: 680px) {
  .store-info-inner { grid-template-columns: 1fr; }
  .items-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-tel-big { font-size: 20px; }
  .results-grid { grid-template-columns: 1fr; max-width: 400px; }
  .staff-inner { grid-template-columns: 1fr; }
  .staff-photo { max-width: 180px; margin: 0 auto; }
}
