@charset "UTF-8";

/* ============================================
   Base (ゲームキャンプ用: 既存 style.css との併用を前提にスコープ)
============================================ */
:root {
  --color-blue: #00A0EA;
  --color-orange: #FF6400;
  --color-green: #00B900;
  --color-red: #E40011;
  --color-black: #1D1D1D;
  --color-gray-bg: #F4F4F4;
  --font-en: 'Montserrat', sans-serif;
  --font-ja: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* スムーススクロールはページ内リンク用。読み込み直後のハッシュ移動 (/how-to#step6 など) が
   途中で中断されて先頭付近で止まる不具合があるため、JS が読み込み完了後にクラスを付けて有効化する */
html.is-smooth-scroll {
  scroll-behavior: smooth;
}

/* スコープ付きベース: :where() で詳細度 0,0,1 に抑え、既存 style.css の要素セレクタ
   (img { width:100% } など) には勝ち、各コンポーネントのクラスには負けるようにする */
:where(.gc-header, .gc-footer, .gc-top) {
  font-family: var(--font-ja);
  color: var(--color-black);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

:where(.gc-header, .gc-footer, .gc-top) :is(h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dd, figure, form, fieldset, button, input, select) {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where(.gc-header, .gc-footer, .gc-top) :is(p, li, h1, h2, h3, h4, h5, h6) {
  line-height: inherit;
}

:where(.gc-header, .gc-footer, .gc-top) img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
}

:where(.gc-header, .gc-footer, .gc-top) a {
  color: inherit;
  text-decoration: none;
}

:where(.gc-header, .gc-footer, .gc-top) :is(ul, ol) {
  list-style: none;
}

:where(.gc-header, .gc-top) button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:where(.gc-top) em {
  font-style: normal;
  color: var(--color-blue);
}

.sp-only {
  display: none;
}

/* ============================================
   Common Parts
============================================ */
.section-head {
  text-align: center;
}

.section-head__title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.section-head__title--flow {
  font-size: 46px;
}

.section-head__divider {
  width: 44px;
  margin-top: 14px;
}

/* --- LINE button --- */
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--color-green);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border-radius: 100px;
  height: 58px;
  padding: 0 44px 0 64px;
  transition: opacity 0.3s;
}

.btn-line:hover {
  opacity: 0.85;
}

/* .gc-top の外 (ガイド等) でも見た目が崩れないよう明示 */
.btn-line,
.btn-line:hover {
  text-decoration: none;
  font-family: var(--font-ja);
  line-height: 1;
  box-sizing: border-box;
}

.btn-line__icon img {
  border: 0;
  border-radius: 0;
  margin: 0;
  max-width: none;
}

.btn-line__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
}

.btn-line__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Blue pill button --- */
.btn-pill-wrap {
  text-align: center;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--color-blue);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 100px;
  min-width: 400px;
  height: 60px;
  padding: 0 56px;
  transition: opacity 0.3s;
}

.btn-pill:hover {
  opacity: 0.85;
}

.btn-pill__arrow {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

/* --- Blue square chip arrow (card corner) --- */
.chip-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30px;
  height: 30px;
  background: var(--color-blue);
  transition: opacity 0.3s;
}

.chip-arrow::before {
  content: "›";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.chip-arrow:hover {
  opacity: 0.85;
}

/* --- Plus toggle (SP accordion) --- */
.toggle-plus {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-blue);
  z-index: 2;
}

.toggle-plus::before,
.toggle-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s;
}

.toggle-plus::before {
  width: 18px;
  height: 3px;
}

.toggle-plus::after {
  width: 3px;
  height: 18px;
}

.is-open .toggle-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* ============================================
   Header
============================================ */
.gc-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.gc-header__inner {
  max-width: 1406px;
  margin: 0 auto;
  padding: 0 20px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gc-header__logo {
  flex-shrink: 0;
}

.gc-header__logo img {
  width: 273px;
}

.gnav__list {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gnav__list a {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.3s;
}

.gnav__list a:hover {
  color: var(--color-blue);
}

/* SP メニュー専用の項目 (PC では非表示) */
.gnav__item--sp {
  display: none;
}

.gnav__cta {
  display: none;
}

.gc-header__cta {
  flex-shrink: 0;
  height: 52px;
  font-size: 16px;
  padding: 0 40px 0 64px;
  white-space: nowrap;
}

.gc-header__cta .btn-line__icon {
  width: 34px;
  height: 34px;
}

.menu-toggle {
  display: none;
}

/* SP のみ表示するヘッダー直下の LINE 仮査定バナー */
.sp-line-banner {
  display: none;
}

/* ============================================
   Hero
============================================ */
.gc-hero {
  background: #fff;
  overflow: hidden;
}

.gc-hero__inner {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  padding-bottom: 8px;
}

/* KV の看板画像 */
.gc-hero__banner img {
  display: block;
  width: 100%;
  height: auto;
}

.gc-hero__search {
  display: flex;
  justify-content: center;
  margin-top: -6px;
}

.gc-hero__search-field {
  position: relative;
  width: 680px;
}

/* 入力欄左の虫眼鏡アイコン */
.gc-hero__search-icon {
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--color-blue);
  pointer-events: none;
}

.gc-hero__search-input {
  width: 100%;
  height: 76px;
  background: var(--color-gray-bg);
  border: none;
  border-radius: 8px 0 0 8px;
  padding: 0 28px 0 62px;
  font-family: inherit;
  font-size: 16px;
  color: var(--color-black);
}

.gc-hero__search-input::placeholder {
  color: #A6A6A6;
}

.gc-hero__search-input:focus {
  outline: 2px solid var(--color-blue);
  outline-offset: -2px;
}

.gc-hero__search-btn {
  position: relative;
  width: 170px;
  height: 76px;
  background: var(--color-blue);
  border-radius: 0 8px 8px 0;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.3s;
}

.gc-hero__search-btn:hover {
  opacity: 0.85;
}

.gc-hero__search-bear {
  width: 42px;
}

.gc-hero__search-btn-text--sp {
  display: none;
}

/* 実績メダル: 看板の下端に重ねる (幅は看板の約 36%) */
.gc-hero__medals {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: -118px;
}

.gc-hero__medals img {
  display: block;
  width: 575px;
  height: auto;
}

/* 特典ボックス: 画像自体に影と上のクマの余白を含む。
   ボックス本体の幅 (画像の約 92%) が検索フォーム幅 (850px) に揃うサイズ */
.gc-hero__features {
  display: flex;
  justify-content: center;
  margin-top: -4px;
}

.gc-hero__features img {
  display: block;
  width: 926px;
  max-width: 100%;
  height: auto;
}

/* ============================================
   Buylist
============================================ */
.buylist {
  position: relative;
  background: #fff;
  padding: 12px 0 80px;
}

.buylist__head-wrap {
  position: static;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 更新日 (見出し下) --- */
.buylist__updated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 15px;
  font-weight: 500;
}

.buylist__updated-icon {
  width: 22px;
  flex-shrink: 0;
}

/* --- Carousel --- */
.gc-carousel {
  position: relative;
  margin-top: 12px;
}

/* 表示領域は PC 4 枚分 (331px×4 + 13px×3 = 1363px) に絞る。
   ウインドウが広くてもカードがはみ出して見えず、矢印はその外側に収まる */
.gc-carousel__viewport {
  overflow: hidden;
  max-width: 1366px;
  margin: 0 auto;
}

.gc-carousel__track {
  display: flex;
  gap: 13px;
  will-change: transform;
}

.gc-carousel__track.no-transition {
  transition: none !important;
}

.gc-carousel.is-active .gc-carousel__track {
  transition: transform 0.45s ease;
}

.gc-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-black);
  z-index: 3;
  transition: opacity 0.3s;
}

.gc-carousel__nav:hover {
  opacity: 0.8;
}

.gc-carousel__nav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
}

.gc-carousel__nav--prev {
  left: calc(50% - 683px - 28px);
}

.gc-carousel__nav--prev::before {
  transform: translate(-58%, -50%);
  border-width: 8px 12px 8px 0;
  border-color: transparent #fff transparent transparent;
}

.gc-carousel__nav--next {
  right: calc(50% - 683px - 28px);
}

.gc-carousel__nav--next::before {
  transform: translate(-42%, -50%);
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
}

/* --- Product card --- */
.product-card {
  position: relative;
  flex-shrink: 0;
  width: min(331px, calc((100vw - 40px - 39px) / 4));
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
}

.product-card__img {
  height: 236px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 12px;
  border-bottom: 1px solid #EAEAEA;
  margin: 0 20px;
}

.product-card__img img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.product-card__body {
  padding: 16px 20px 24px;
}

.product-card__cat {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.product-card__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__price-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-red);
  margin-top: 12px;
  line-height: 1.3;
}

.product-card__price {
  font-family: var(--font-en);
  font-size: 42px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.product-card__tilde {
  font-size: 28px;
  margin-right: 2px;
}

.product-card__yen {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 700;
  margin-left: 4px;
}

.buylist .btn-pill-wrap {
  margin-top: 26px;
}

/* ============================================
   Categories
============================================ */
.categories {
  background: var(--color-gray-bg);
  padding: 60px 0 60px;
}

/* PC・SP とも 3 列グリッド (端数は左寄せ) */
.categories__inner {
  max-width: 1066px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.cat-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  height: 272px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 22px;
}

/* 画像枠は可変領域にし、カテゴリ名が 2 行になった分だけ画像側が縮む (絶対配置だと名前と重なる) */
.cat-card__img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 40px 10px;
  margin-bottom: 8px;
}

.cat-card__img img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.cat-card__name {
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  /* 右下の矢印チップ (30px) と重ならないよう左右に余白 */
  padding: 0 34px;
  /* 「本体」「ゲームソフト」の途中で折れないよう、原則スペース位置で折り返す */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.categories .btn-pill-wrap {
  margin-top: 36px;
}

/* ============================================
   Reasons
============================================ */
.reasons {
  background: #fff;
  padding: 60px 0 88px;
}

.reasons__list {
  max-width: 1406px;
  margin: 59px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 12px;
}

.reason-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  padding: 28px 34px 30px;
  min-height: 240px;
}

.reason-card__num,
.reason-card__title,
.reason-card__body {
  position: relative;
  z-index: 1;
}

.reason-card__icon {
  position: absolute;
  z-index: 0;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12px;
}

.reason-card__icon img {
  width: 44px;
  max-height: 44px;
  object-fit: contain;
}

.reason-card__num {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.reason-card__title {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.5;
  margin-top: 2px;
}

.reason-card__body {
  margin-top: 12px;
}

.reason-card__body p {
  font-size: 15px;
  line-height: 1.95;
  font-weight: 500;
}

/* ============================================
   Conditions
============================================ */
.conditions {
  background: var(--color-gray-bg);
  padding: 62px 0 70px;
}

.conditions__list {
  max-width: 1406px;
  margin: 57px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.condition-item__card {
  background: #fff;
  border-radius: 10px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.condition-item__card img {
  max-width: 116px;
  max-height: 110px;
  object-fit: contain;
}

.condition-item__label {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-top: 16px;
  line-height: 1.5;
}

.conditions__copy {
  text-align: center;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.6;
  margin-top: 46px;
  letter-spacing: 0.02em;
}

/* ============================================
   Flow
============================================ */
.gc-flow {
  background: #fff;
  padding: 58px 0 0;
}

.gc-flow__list {
  position: relative;
  max-width: 1200px;
  margin: 61px auto 0;
  padding: 0 20px 74px 30px;
}

.gc-flow-item {
  position: relative;
  margin-bottom: 14px;
}

/* バッジ中心を貫く縦線（カードの上・バッジの下層に描画） */
.gc-flow-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 25.5px;
  top: 37px;
  bottom: -51px; /* カード間マージン14px + 次バッジ中心37px */
  width: 3px;
  background: var(--color-black);
  z-index: 1;
}

.gc-flow-item:last-child {
  margin-bottom: 0;
}

.gc-flow-item__badge {
  position: absolute;
  left: -10px;
  top: 0;
  width: 74px;
  height: 74px;
  background: var(--color-black);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  z-index: 2;
}

.gc-flow-item__badge-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
}

.gc-flow-item__badge-num {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 700;
}

.gc-flow-item__card {
  position: relative;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-rows: auto auto 1fr;
  column-gap: 40px;
  padding: 34px 0 34px 95px;
  align-items: start;
}

/* PC ではラッパーを透過させ、子要素をそのままグリッドに並べる */
.gc-flow-item__text {
  display: contents;
}

.gc-flow-item__title {
  grid-column: 1;
  font-size: 25px;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.5;
}

/* 挿絵: 右列を縦いっぱいに使い、上下の padding 分を打ち消してカードの縁まで表示 */
.gc-flow-item__img {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: stretch;
  min-height: 216px;
  margin: -34px 0;
}

.gc-flow-item__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gc-flow-item__line {
  grid-column: 1;
  justify-self: start;
  margin-top: 22px;
  height: 56px;
  font-size: 16px;
  padding: 0 38px 0 60px;
}

.gc-flow-item__line .btn-line__icon {
  width: 36px;
  height: 36px;
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 100px;
  height: 52px;
  padding: 0 32px;
  transition: opacity 0.3s;
}

.btn-blue:hover {
  opacity: 0.85;
}

.gc-flow-item__blue-btn {
  grid-column: 1;
  justify-self: start;
  margin-top: 22px;
}

.gc-flow-item__body {
  grid-column: 1;
  min-width: 0;
  margin-top: 12px;
}

.gc-flow-item__body p {
  font-size: 15px;
  line-height: 2;
  font-weight: 500;
}

.gc-flow-item__notes {
  margin-top: 10px;
}

.gc-flow-item__notes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.gc-flow-item__notes strong {
  font-weight: 700;
}

.gc-flow-item__note-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

/* ============================================
   Gray band & Footer
============================================ */
.gray-band {
  height: 1px;
  background: #E5E5E5;
}

.gc-footer {
  background: #fff;
  padding: 74px 0 74px;
}

.gc-footer__inner {
  max-width: 1406px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.gc-footer__logo img {
  width: 273px;
}

.gc-footer__right {
  text-align: right;
  padding-top: 12px;
}

.gc-footer__nav {
  display: flex;
  gap: 30px;
}

.gc-footer__nav a {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.gc-footer__nav a:hover {
  color: var(--color-blue);
}

.gc-footer__copy {
  margin-top: 4px;
  color: #8E8E8E;
}

.gc-footer__copy small {
  font-size: 12px;
}

/* ============================================
   Responsive (SP)
   ブレークポイントは PC / SP の 2 段階のみ。1024px 以下を SP 扱いにして
   中途半端な幅でヘッダーメニューが折り返すのを防ぐ (JS の SP_QUERY と揃えること)
============================================ */
@media (max-width: 1024px) {
  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }

  /* --- Common --- */
  .section-head__title {
    font-size: 32px;
    line-height: 1.1;
  }

  .section-head__title--flow {
    font-size: 32px;
  }

  .section-head__divider {
    width: 30px;
    margin-top: 14px;
  }

  .btn-pill {
    min-width: 0;
    width: 100%;
    height: 60px;
    padding: 0 44px;
    font-size: 17px;
    white-space: nowrap;
  }

  .btn-pill__arrow {
    right: 30px;
  }

  .btn-pill-wrap {
    padding: 0 20px;
  }

  .toggle-plus {
    display: block;
    width: 30px;
    height: 30px;
    bottom: -15px;
  }

  .toggle-plus::before {
    width: 14px;
    height: 2px;
  }

  .toggle-plus::after {
    width: 2px;
    height: 14px;
  }

  /* --- Header --- */
  .gc-header__inner {
    height: 44px;
    padding: 0 0 0 6px;
    gap: 0;
  }

  .gc-header__logo img {
    width: 148px;
  }

  .gc-header__cta {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--color-blue);
    flex-shrink: 0;
  }

  .menu-toggle span {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }

  .menu-toggle span:nth-child(1) {
    transform: translate(-50%, -5px);
  }

  .menu-toggle span:nth-child(2) {
    transform: translate(-50%, 5px);
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translate(-50%, 0) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    transform: translate(-50%, 0) rotate(-45deg);
  }

  .gnav {
    position: absolute;
    top: 88px; /* ヘッダー 44px + LINE バナー 44px */
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 24px 20px 30px;
    display: none;
  }

  .gnav.is-open {
    display: block;
  }

  .gnav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .gnav__item--sp {
    display: block;
  }

  .gnav__list a {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid #EEE;
    font-size: 15px;
    font-weight: 700;
  }

  .gnav__cta {
    display: inline-flex;
    margin-top: 22px;
    width: 100%;
    height: 54px;
    font-size: 16px;
  }

  .sp-line-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 44px;
    padding: 0 12px;
    background: linear-gradient(90deg, #1E8FE0 0%, var(--color-blue) 100%);
    color: #fff;
    font-family: var(--font-ja);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .sp-line-banner__text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

  .sp-line-banner__arrow {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 9px;
    border-color: transparent transparent transparent #fff;
  }

  .sp-line-banner__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 14px;
    border-radius: 100px;
    background: var(--color-green);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  /* --- Hero --- */
  .gc-hero__inner {
    padding: 0 20px 16px;
  }

  /* 看板は横長 (3:1) なので SP では中央を切り抜いて高さを確保する */
  .gc-hero__banner {
    margin: 0 -20px;
  }

  .gc-hero__banner img {
    aspect-ratio: 2.2 / 1;
    object-fit: cover;
    object-position: center;
  }

  .gc-hero__search {
    flex-direction: column;
    margin-top: -4px;
  }

  .gc-hero__search-field {
    width: 100%;
  }

  .gc-hero__search-icon {
    left: 16px;
    width: 20px;
    height: 20px;
  }

  .gc-hero__search-input {
    width: 100%;
    height: 70px;
    border-radius: 10px 10px 0 0;
    padding: 0 18px 0 46px;
    font-size: 14px;
  }

  .gc-hero__search-btn {
    width: 100%;
    height: 50px;
    border-radius: 0 0 10px 10px;
    font-size: 18px;
  }

  .gc-hero__search-btn-text--pc {
    display: none;
  }

  .gc-hero__search-btn-text--sp {
    display: inline;
  }

  .gc-hero__search-bear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
  }

  /* 内側余白 (20px) の外まで広げて、画面幅 -20px のサイズにする */
  .gc-hero__medals {
    margin: -40px -10px 0;
  }

  .gc-hero__medals img {
    width: 100%;
    max-width: 420px;
  }

  /* SP のボックス本体 (画像の約 82%) が内側幅 (画面幅 -40px) に揃うように、
     左右の影の余白ぶんはみ出させる (はみ出しは .gc-hero の overflow: hidden で隠れる) */
  .gc-hero__features {
    margin: -22px -38px 0;
  }

  .gc-hero__features img {
    width: 100%;
    max-width: none;
  }

  /* --- Buylist --- */
  .buylist {
    padding: 12px 0 36px;
  }

  .buylist__updated {
    margin-top: 16px;
  }

  /* --- Carousel (SP: 1枚表示) --- */
  .gc-carousel {
    margin-top: 10px;
  }

  .gc-carousel__nav {
    width: 40px;
    height: 40px;
    top: 50%;
  }

  .gc-carousel__nav--prev {
    left: 10px;
  }

  .gc-carousel__nav--next {
    right: 10px;
  }

  .gc-carousel__nav--prev::before {
    border-width: 6px 9px 6px 0;
  }

  .gc-carousel__nav--next::before {
    border-width: 6px 0 6px 9px;
  }

  /* --- 買取強化中リスト (SP: カルーセルではなく 2列×3行のグリッド) --- */
  .gc-carousel--buylist {
    margin-top: 14px;
    padding: 0 20px;
  }

  .gc-carousel--buylist .gc-carousel__viewport {
    overflow: visible;
  }

  .gc-carousel--buylist .gc-carousel__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    transform: none !important;
  }

  /* 7件目以降は非表示 (2列×3行) */
  .gc-carousel--buylist .product-card:nth-child(n + 7) {
    display: none;
  }

  .gc-carousel--buylist .gc-carousel__nav {
    display: none;
  }

  .product-card {
    width: auto;
    min-width: 0;
  }

  .product-card__img {
    height: 150px;
    padding: 14px 8px 8px;
    margin: 0 10px;
  }

  .product-card__body {
    padding: 8px 10px 10px;
  }

  .product-card__cat {
    font-size: 11px;
  }

  .product-card__name {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 2px;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(13px * 1.4 * 2);
  }

  .product-card__price-label {
    font-size: 12px;
    margin-top: 8px;
  }

  .product-card__price {
    font-size: 21px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .product-card__tilde {
    font-size: 14px;
    margin-right: 1px;
  }

  .product-card__yen {
    font-size: 11px;
    margin-left: 2px;
  }

  .chip-arrow {
    width: 26px;
    height: 26px;
  }

  .chip-arrow::before {
    font-size: 14px;
  }

  .buylist .btn-pill-wrap {
    margin-top: 12px;
  }

  /* --- Categories --- */
  .categories {
    background: var(--color-gray-bg);
    padding: 28px 0 42px;
  }

  .categories__inner {
    margin-top: 14px;
  }

  .cat-grid {
    gap: 8px;
  }

  .cat-card {
    height: 150px;
    padding: 0 6px 10px;
  }

  .cat-card__img {
    padding: 12px 12px 4px;
    margin-bottom: 4px;
  }

  .cat-card__name {
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    padding: 0;
  }

  /* 3 列だとカード幅が狭く矢印がカテゴリ名に重なるため SP では非表示 */
  .cat-card .chip-arrow {
    display: none;
  }

  .categories .btn-pill-wrap {
    margin-top: 14px;
  }

  /* --- Reasons (SPアコーディオン) --- */
  .reasons {
    padding: 28px 0 52px;
  }

  .reasons__list {
    display: block;
    margin-top: 44px;
  }

  .reason-card {
    margin-bottom: 50px;
    padding: 26px 18px 22px;
    min-height: 0;
    text-align: center;
  }

  .reason-card:last-child {
    margin-bottom: 0;
  }

  .reason-card__icon {
    top: -24px;
    width: 90px;
    height: 90px;
    padding-top: 16px;
  }

  .reason-card__icon img {
    width: 36px;
    max-height: 34px;
  }

  .reason-card__num {
    font-size: 17px;
    line-height: 1.5;
  }

  .reason-card__title {
    font-size: 20px;
    line-height: 1.4;
    margin-top: 0;
  }

  .reason-card__body {
    display: none;
    text-align: left;
    margin-top: 8px;
  }

  .reason-card.is-open .reason-card__body {
    display: block;
  }

  .reason-card__body p {
    font-size: 15px;
    line-height: 1.7;
  }

  /* --- Conditions --- */
  .conditions {
    padding: 28px 0 36px;
  }

  .conditions__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 10px;
    margin-top: 26px;
  }

  .condition-item__card {
    height: 90px;
  }

  .condition-item__card img {
    max-width: 62px;
    max-height: 60px;
  }

  .condition-item__label {
    font-size: 19px;
    margin-top: 6px;
    margin-bottom: 0;
    line-height: 1.5;
  }

  .conditions__copy {
    font-size: 24px;
    line-height: 1.25;
    margin-top: 16px;
  }

  /* --- Flow (SPアコーディオン) --- */
  .gc-flow {
    padding: 34px 0 0;
  }

  .gc-flow__list {
    margin-top: 14px;
    padding: 0 20px 50px;
  }

  .gc-flow-item {
    margin-bottom: 24px;
  }

  .gc-flow-item:not(:last-child)::before {
    left: 13.5px;
    top: 25px;
    bottom: -49px; /* カード間マージン24px + 次バッジ中心25px */
  }

  .gc-flow-item__badge {
    width: 50px;
    height: 50px;
    left: -10px;
  }

  .gc-flow-item__badge-en {
    font-size: 10px;
  }

  .gc-flow-item__badge-num {
    font-size: 19px;
  }

  /* SP は常時展開。写真を右上に float させ、タイトル・本文を写真の下まで回り込ませて余白を活かす */
  .gc-flow-item__card {
    display: block;
    padding: 20px 16px 20px 46px;
    min-height: 0;
  }

  .gc-flow-item__card::after {
    content: "";
    display: block;
    clear: both;
  }

  .gc-flow-item__text {
    display: block;
  }

  .gc-flow-item__title {
    font-size: 20px;
    line-height: 1.3;
  }

  .gc-flow-item__img {
    float: right;
    width: 76px;
    min-height: 0;
    margin: 0 0 6px 12px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
  }

  .gc-flow-item__body {
    margin-top: 10px;
  }

  .gc-flow-item__line {
    clear: both;
    width: 100%;
    margin-top: 14px;
    height: 52px;
    font-size: 15px;
    padding: 0 16px 0 48px;
  }

  .gc-flow-item__line .btn-line__icon {
    width: 30px;
    height: 30px;
  }

  .gc-flow-item__blue-btn {
    clear: both;
    width: 100%;
    margin-top: 14px;
    padding: 0 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .gc-flow-item__body p {
    font-size: 15px;
    line-height: 1.55;
  }

  /* SP はテキスト列が狭いので、番号を左に固定して本文を自然に折り返す */
  .gc-flow-item__notes li {
    display: block;
    position: relative;
    padding-left: 32px;
    line-height: 1.6;
  }

  .gc-flow-item__notes .gc-flow-item__note-num {
    position: absolute;
    left: 0;
    top: 1px;
  }

  /* --- Footer --- */
  .gray-band {
    display: none;
  }

  .gc-footer {
    border-top: 1px solid #E5E5E5;
    padding: 24px 0 18px;
  }

  .gc-footer__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0 24px;
    gap: 0;
  }

  .gc-footer__logo {
    text-align: center;
  }

  .gc-footer__logo img {
    width: 196px;
  }

  .gc-footer__right {
    text-align: left;
    padding-top: 10px;
  }

  .gc-footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 10px;
  }

  .gc-footer__nav li:nth-child(1) { grid-column: 1; grid-row: 1; }
  .gc-footer__nav li:nth-child(2) { grid-column: 1; grid-row: 2; }
  .gc-footer__nav li:nth-child(3) { grid-column: 1; grid-row: 3; }
  .gc-footer__nav li:nth-child(4) { grid-column: 2; grid-row: 1; }
  .gc-footer__nav li:nth-child(5) { grid-column: 2; grid-row: 2; }

  .gc-footer__nav li {
    line-height: 1;
  }

  .gc-footer__nav a {
    display: block;
    padding: 4px 0;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.3;
  }

  .gc-footer__copy {
    text-align: center;
    margin-top: 18px;
    color: #666;
  }

  .gc-footer__copy small {
    font-size: 15px;
  }
}

/* ============================================
   PC中間幅の調整
============================================ */
@media (min-width: 1025px) and (max-width: 1440px) {
  /* 表示領域をカード群 (100vw - 40px) にぴったり合わせ、両端に隣のカードが覗かないようにする */
  .gc-carousel__viewport {
    width: calc(100% - 40px);
  }

  .gc-carousel__nav--prev {
    left: 24px;
  }

  .gc-carousel__nav--next {
    right: 24px;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .gc-hero__search-field {
    width: 480px;
  }

  .gc-hero__features img {
    width: 708px;
  }

  .gc-hero__medals {
    margin-top: -90px;
  }

  .gc-hero__medals img {
    width: 440px;
  }

  /* ヘッダー: 4 項目のナビが 1025px でも折り返さないように詰める */
  .gc-header__inner {
    gap: 16px;
  }

  .gc-header__logo img {
    width: 220px;
  }

  .gnav__list {
    gap: 14px;
  }

  .gnav__list a {
    font-size: 14px;
  }

  .gc-header__cta {
    height: 48px;
    font-size: 15px;
    padding: 0 28px 0 56px;
  }

  .reasons__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 14px;
  }

  .conditions__list {
    grid-template-columns: repeat(4, 1fr);
  }

  .gc-flow-item__card {
    grid-template-columns: minmax(0, 1fr) 280px;
    column-gap: 30px;
  }
}

/* ============================================
   Laravel 組み込み用の追加スタイル
============================================ */
.product-card__img,
.cat-card__img {
  color: inherit;
}

.cat-card__name a {
  color: inherit;
  text-decoration: none;
}

/* 買取強化中リストのカードは全体が1つのリンク */
.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

.product-card__link:hover {
  opacity: 0.85;
}

.buylist__empty {
  text-align: center;
  padding: 40px 20px;
  font-size: 16px;
  font-weight: 500;
}

.buylist__empty[hidden] {
  display: none;
}

.gc-carousel:not(.is-active) .gc-carousel__nav {
  display: none;
}

.cat-card--empty {
  justify-content: center;
}

/* 固定CTAはSPのみ表示のため、リンク先未設定 (#) のときも見た目は変えない */

/* 見出し下のアイコンは既存 CSS で img が block になるため中央寄せを明示 */
.section-head__divider {
  display: inline-block;
  vertical-align: bottom;
}

/* ロゴのリンクは block にして画像を垂直中央・中央寄せに揃える */
.gc-header__logo {
  line-height: 0;
}

.gc-header__logo a,
.gc-footer__logo a {
  display: inline-block;
  line-height: 0;
}

/* ============================================
   Customer Voices (利用者の声)
============================================ */
.voices {
  background: #fff;
  padding: 60px 0 88px;
}

/* 利用者の声: 件数に関わらず PC もカルーセル (3 枚表示、446px×3 + 13px×2 = 1364px) */
.gc-carousel--voices {
  margin-top: 46px;
}

.voices__list {
  display: flex;
  gap: 13px;
  align-items: stretch;
}

.voice-card {
  position: relative;
  flex-shrink: 0;
  width: min(446px, calc((100vw - 40px - 26px) / 3));
  background: var(--color-gray-bg);
  border-radius: 10px;
  padding: 30px 34px 28px;
  display: flex;
  flex-direction: column;
}

.voice-card::before {
  content: "\201C";
  position: absolute;
  right: 26px;
  top: 8px;
  font-family: var(--font-en);
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-blue);
  opacity: 0.25;
}

.voice-card__rating {
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #D9D9D9;
  margin-bottom: 12px;
}

.voice-card__rating .is-on {
  color: #FFB400;
}

.voice-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.5;
}

.voice-card__body {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.95;
  font-weight: 500;
  flex: 1;
}

.voice-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #E4E4E4;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

/* 投稿者の人型アイコン (親しみやすさ用。性別で色とシルエットを変える) */
.voice-card__avatar {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #EEEEEE;
  color: #8A8A8A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.voice-card__avatar svg {
  width: 34px;
  height: 34px;
  margin-top: 6px; /* 肩の部分を丸の下端に沈める */
}

.voice-card__avatar--male {
  background: #E3F3FC;
  color: var(--color-blue);
}

.voice-card__avatar--female {
  background: #FDEBF1;
  color: #E8618C;
}

.voice-card__attr {
  font-size: 13px;
  font-weight: 500;
  color: #666;
}

@media (max-width: 1024px) {
  .voices {
    padding: 54px 0 56px;
  }

  .gc-carousel--voices {
    margin-top: 30px;
  }

  .voice-card {
    width: calc(100vw - 60px);
    padding: 26px 22px 22px;
  }

  .voice-card__title {
    font-size: 18px;
  }
}
