/*
Theme Name: my-iphone
*/

/* ==========================================================================
   Variables & Reset
   ========================================================================== */

:root {
  --color-primary: #5c4a3a;
  --color-primary-dark: #3e3028;
  --color-accent: #c8a23d;
  --color-accent-light: #f5e6b8;
  --color-line-green: #06c755;
  --color-text: #333;
  --color-text-light: #666;
  --color-border: #ddd;
  --color-bg: #f5f5f5;
  --color-bg-white: #fff;
  --color-star: #f5a623;
  --content-width: 1280px;
  --sidebar-width: 290px;
  --gap: 90px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--color-text);
  background: #fff;
  line-height: 1.7;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

ul {
  list-style: none;
}

select {
  font-size: inherit;
  font-family: inherit;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: rgba(18, 17, 14, 0.85);
}

.site-header__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 60px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  display: flex;
  align-items: center;
}

.site-header__logo:hover {
  text-decoration: none;
}

.site-header__logo img {
  height: auto;
  width: auto;
  max-height: 80px;
}

.site-header__articles-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}

.site-header__articles-link:hover {
  opacity: 0.8;
  text-decoration: none;
}

.site-header__articles-link svg {
  width: 16px;
  height: 24px;
  flex-shrink: 0;
}

.site-header__articles-link span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 120%;
  text-align: center;
  letter-spacing: 0.04em;
  color: #fff;
}

/* PC: アクション・ナビ非表示 */
.site-header__actions {
  display: none;
}

.site-header__nav {
  display: none;
}

/* Mobile: LINE ボタン */
.site-header__line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  background: #00b900;
  box-shadow: 0px 3px 0px #008e00;
  border-radius: 6px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__line-btn:hover {
  opacity: 0.9;
  text-decoration: none;
}

.site-header__line-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Mobile: ハンバーガー */
.site-header__menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.site-header__menu-toggle svg {
  width: 28px;
  height: 28px;
}

.site-header__menu-toggle span {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.04em;
  color: #fff;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb {
  background: var(--color-bg-white);
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 50px;
}

.breadcrumb__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 8px 15px;
}

.breadcrumb a {
  color: var(--color-text-light);
}

/* ==========================================================================
   Article Header
   ========================================================================== */

.article-header {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.l-main > .article-header ~ p {
  margin-top: 20px;
  margin-bottom: 20px;
}

.article-header__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 31px;
  color: #5d3b17;
  border-top: 3px solid #5d3b17;
  border-bottom: 3px solid #5d3b17;
  padding: 7px 0;
}

.article-header__desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
}

.hero__line-btn {
  position: absolute;
  bottom: 4%;
  left: 52%;
  transform: translateX(-50%);
  width: 60%;
  height: 14%;
  display: block;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
}

.hero__line-btn:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}

.hero h1 {
  margin: 0;
  line-height: 0;
}

.hero h1 img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Main Estimate (top page)
   ========================================================================== */

.main-estimate {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 42px;
  gap: 28px;
  background: url("assets/images/bg-estimate.png") center / cover no-repeat;
}

.main-estimate__header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0;
  width: 642px;
  max-width: 100%;
  background: rgba(66, 66, 66, 0.5);
  border: 4px solid #000;
  border-radius: 10px;
}

.main-estimate__title {
  font-family: "Open Sans", sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 100%;
  color: #fff;
  -webkit-text-stroke: 8px #121212;
  paint-order: stroke fill;
  transform: matrix(1, 0, -0.17, 0.98, 0, 0);
}

.main-estimate__title em {
  font-style: normal;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  -webkit-text-stroke: 8px #121212;
  paint-order: stroke fill;
}

.main-estimate__title em:first-child {
  font-size: 64px;
  color: #ffea03;
  text-shadow: 4px 4px 0px #0d0001;
  -webkit-text-stroke: 6px #000;
  margin-right: 4px;
}

.main-estimate__title em:last-child {
  font-size: 48px;
  margin-left: 7px;
}

.main-estimate__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 40px;
  gap: 16px;
  width: 100%;
  background: #ffef00;
  box-shadow: 0px 0px 20px #5d3b17;
  border-radius: 8px;
}

.main-estimate__fields {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding: 0 20px;
  gap: 20px;
}

.main-estimate__field {
  flex: 1 1 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.main-estimate__label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0.08em;
  color: #000;
  flex-shrink: 0;
}

.main-estimate__select-wrap {
  position: relative;
  width: 285px;
  max-width: 100%;
  filter: drop-shadow(0px 0px 4px rgba(65, 33, 17, 0.3));
}

.main-estimate__field:last-child .main-estimate__select-wrap {
  width: 230px;
  max-width: 100%;
}

.main-estimate__select {
  width: 100%;
  height: 46px;
  padding: 12px 12px 12px 28px;
  background: #f1f1f1;
  border: none;
  border-radius: 50px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0.08em;
  color: #0d0001;
  appearance: none;
  cursor: pointer;
}

.main-estimate__select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

.main-estimate__result {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  padding: 0;
  width: 100%;
}

.main-estimate__result-lead {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 120%;
  color: #0d0001;
  padding-bottom: 12px;
}

.main-estimate__main-price {
  background: #fff;
  border: 4px solid #e62828;
  border-radius: 8px;
  padding: 18px 0;
  width: 289px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-estimate__main-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.main-estimate__main-yen {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0.04em;
  color: #e62828;
}

.main-estimate__main-value .js-estimate-amount {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 100%;
  letter-spacing: 0.04em;
  color: #e62828;
}

.main-estimate__result-cta {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 120%;
  color: #0d0001;
  padding-bottom: 12px;
}

/* ==========================================================================
   Buyback Reason
   ========================================================================== */

.buyback-reason {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  gap: 40px;
  background: url("assets/images/bg-buyback-reason.png") center / cover
    no-repeat;
}

.buyback-reason__heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.buyback-reason__heading-logo {
  height: 85px;
  width: auto;
  flex-shrink: 0;
}

.buyback-reason__heading-red {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 42px;
  line-height: 100%;
  color: #e62828;
  -webkit-text-stroke: 4px #333;
  paint-order: stroke fill;
}

.buyback-reason__heading-gold {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 42px;
  line-height: 100%;
  color: #c49e17;
  -webkit-text-stroke: 4px #333;
  paint-order: stroke fill;
}

.buyback-reason__content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}

.buyback-reason__image {
  width: 473px;
  height: 354px;
  object-fit: cover;
  border-radius: 20px;
  flex: none;
  margin-right: -32px;
}

.buyback-reason__text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  isolation: isolate;
}

.buyback-reason__badge {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  background: #e62828;
  border-radius: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 34px;
  text-align: center;
  color: #fff;
  z-index: 1;
  margin-bottom: -32px;
}

.buyback-reason__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px 32px 32px;
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  z-index: 0;
}

.buyback-reason__logo-small {
  height: 62px;
  width: auto;
}

.buyback-reason__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #000;
}

.buyback-reason__desc strong {
  color: #c81414;
  font-weight: 700;
  font-size: 21px;
}

/* LINE CTA Button (shared) */
.line-cta {
  display: block;
  text-align: center;
  margin: 0 auto;
  max-width: 100%;
}

.line-cta img {
  width: 639px;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   Section 2: Junk Buyback
   ========================================================================== */

.junk-buyback {
  padding: 48px 30px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  background:
    url("assets/images/bg-grid.png") repeat,
    #edf5ff;
  background-size: 100%, auto;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.junk-buyback__heading {
  text-align: center;
  margin: 0;
}

.junk-buyback__heading img {
  width: 790px;
  max-width: 100%;
  height: auto;
}

.junk-grid {
  background: #fff;
  box-shadow: 4px 4px 16px 0px rgba(0, 0, 0, 0.48);
  border-radius: 16px;
  padding: 48px 45px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 32px 16px;
}

.junk-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 208px;
}

.junk-grid__image {
  width: 208px;
  height: 138px;
  background: #ccc;
  border-radius: 10px;
}

.junk-grid__label {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 16px;
  width: 100%;
  height: 32px;
  background: #1976d2;
  border-radius: 999px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  white-space: nowrap;
}

.junk-buyback__speech {
  text-align: center;
}

.junk-buyback__speech img {
  width: 304px;
  height: auto;
  margin-top: -35px;
}

/* ==========================================================================
   Section 3: Reasons
   ========================================================================== */

.reasons {
  border: 5px solid #1976d2;
  border-radius: 4px;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: url("assets/images/bg-reasons.png") no-repeat bottom center;
  background-size: 100% auto;
}

.reasons__heading {
  text-align: center;
  margin: 0;
}

.reasons__heading img {
  width: 678px;
  max-width: 100%;
  height: auto;
}

.reasons__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.reasons__card {
  background: #fff;
  border: 5px solid black;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  max-width: 400px;
}

.reasons__card-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 64px;
  background: #cc9f36;
  border-radius: 8px 0 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  z-index: 1;
}

.reasons__card-image {
  width: 100%;
  height: 187px;
  object-fit: cover;
  border-radius: 4px;
}

.reasons__card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 27px;
  font-weight: 700;
  color: #cc9f36;
  border-bottom: 1px solid #cc9f36;
  padding-bottom: 8px;
}

.reasons__card-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #000;
  line-height: 1.6;
}

/* ==========================================================================
   Section 4: Results
   ========================================================================== */

.results {
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: url("assets/images/bg-results.png") no-repeat center center;
  background-size: cover;
}

.results__heading {
  text-align: center;
  margin: 0;
}

.results__heading img {
  width: 722px;
  max-width: 100%;
  height: auto;
}

.results__swiper {
  width: 100%;
}

.results__swiper .swiper-slide {
  width: 266px;
}

.results__card {
  width: 266px;
  border: 2px solid #fff;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.48);
}

.results__card-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 0 8px;
  gap: 8px;
  border-bottom: 1px solid #5d3b17;
  border-radius: 8px 8px 0 0;
}

.results__card-header {
  width: 100%;
  background: #5d3b17;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 23px;
  padding: 12px 0;
  text-align: center;
}

.results__card-price {
  font-family: "Inter", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 39px;
  color: #d1202c;
  text-align: right;
}

.results__card-bottom {
  display: flex;
  align-items: flex-start;
  padding: 2px 12px;
  gap: 0;
  height: 160px;
  background: #f7fdff;
}

.results__card-image {
  width: 118px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  flex-shrink: 0;
}

.results__card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 8px;
}

.results__card-status-label {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  width: 120px;
  height: 25px;
  border: 0.5px solid #000;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 17px;
  color: #000;
}

.results__card-condition {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  text-align: center;
  color: #cb000e;
}

.results__footer {
  text-align: right;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 150%;
  color: #fff;
}

/* ==========================================================================
   Section 5: Price List
   ========================================================================== */

.price-list {
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: #fffde9;
  border-radius: 8px;
}

.price-list__heading {
  text-align: center;
  margin: 0;
}

.price-list__heading img {
  width: 825px;
  max-width: 100%;
  height: auto;
}

.price-table-wrap {
  width: 100%;
}

.price-table {
  background: #e9e3e3;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.48);
  border-radius: 8px;
}

.price-table__header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  background: #74736f;
  border-radius: 8px 8px 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 34px;
  text-align: center;
  color: #fff;
}

.price-table__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table__row {
  display: flex;
  gap: 2px;
  min-width: max-content;
}

.price-table__row--header .price-table__cell--model {
  background: #f1ffff;
  border-radius: 4px 4px 0 0;
}

.price-table__cell {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 20px;
  min-width: 150px;
  flex: 1;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #000;
  background: #fff;
}

.price-table__cell--label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2px 12px;
  width: 113px;
  min-width: 113px;
  flex: 0 0 113px;
  background: transparent;
  position: relative;
}

.price-table__label-top,
.price-table__label-bottom {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  color: #7f7e7c;
  width: 100%;
}

.price-table__label-top {
  text-align: right;
}

.price-table__label-bottom {
  text-align: left;
}

.price-table__cell--label::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 89px;
  height: 0;
  border: 0.5px solid #bababa;
  transform: translate(-50%, -50%) rotate(15deg);
}

.price-table__cell--model {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 19px;
  height: 32px;
  flex: 0 0 150px;
}

.price-table__cell--model .model-break {
  display: none;
}

.price-table__cell--storage {
  width: 113px;
  min-width: 113px;
  flex: 0 0 113px;
  background: #f7f7f7;
  border-radius: 4px 0 0 4px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
}

.price-table__cell--price {
  height: 36px;
  flex: 0 1 150px;
}

/* ==========================================================================
   Section 6: Flow
   ========================================================================== */

.flow {
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  background: url("assets/images/bg-flow.png") no-repeat center center;
  background-size: cover;
}

.flow__heading {
  text-align: center;
  margin: 0;
}

.flow__heading img {
  width: 568px;
  max-width: 100%;
  height: auto;
}

.flow__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.flow__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.flow__step {
  width: 264px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.flow__step-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.flow__step-number {
  width: 37px;
  height: 37px;
  background: #ecdd2d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  color: #121212;
  margin-bottom: -16px;
  position: relative;
  z-index: 1;
}

.flow__step-ribbon {
  width: 100%;
  height: 57px;
  background: url("assets/images/flow-ribbon.png") no-repeat center center;
  background-size: 100% 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 19.8px;
  line-height: 100%;
  text-align: center;
  letter-spacing: 0.04em;
  color: #e62828;
}

.flow__step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.flow__step-image {
  width: 240px;
  height: 240px;
  object-fit: contain;
}

.flow__step-desc-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 96px;
  background: #fff;
}

.flow__step-desc {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #0d0001;
  padding: 0 8px;
}

/* ==========================================================================
   Section 7: Other Devices
   ========================================================================== */

.other-devices {
  padding: 48px 24px;
  background: #fffde9;
}

.other-devices__inner {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 32px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.other-devices__heading {
  text-align: center;
  margin: 0;
}

.other-devices__heading img {
  width: 673px;
  max-width: 100%;
  height: auto;
}

.other-devices__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.other-devices__category-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 36px;
  background: #000;
  border: 2px solid #fff;
  border-radius: 8px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
}

.other-devices__product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.other-devices__product-card {
  width: 108px;
  height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px;
  gap: 8px;
  background: #fff;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

.other-devices__product-image {
  width: 92px;
  height: 71px;
  object-fit: contain;
}

.other-devices__product-name {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  display: flex;
  align-items: center;
  letter-spacing: 0.04em;
  color: #e61212;
  text-align: center;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.l-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.l-content--top {
  max-width: 1400px;
  gap: 50px;
  justify-content: flex-start;
}

.l-content--top .l-main {
  width: 1060px;
  flex-shrink: 1;
}

.l-content--top .l-sidebar {
  margin-top: 18px;
}

.l-main {
  width: 900px;
  flex-shrink: 1;
  min-width: 0;
}

.l-main--single > * + * {
  margin-top: 20px;
}

.l-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-flow img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ==========================================================================
   Price Overview Table
   ========================================================================== */

.price-overview {
  background: var(--color-bg-white);
}

.price-overview__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: 0.04em;
  color: #5d3b17;
  border-bottom: 1px solid #5d3b17;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.price-overview__table-wrap {
  display: block;
  background: #5d3b17;
  border-radius: 5px;
  padding: 18px 28px;
  overflow: clip;
  max-width: 100%;
}

.price-overview__table-scroll {
  overflow-x: auto;
}

.price-overview__table {
  border-collapse: separate;
  border-spacing: 2px;
  table-layout: fixed;
}

.price-overview__table th,
.price-overview__table td {
  padding: 8px 12px;
  background: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #333;
}

.price-overview__table thead th {
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #333;
  position: sticky;
  top: 0;
  z-index: 2;
}

.price-overview__table thead th:not(:first-child) {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 10px;
}

.price-overview__table thead th a {
  color: #1a73e8;
  text-decoration: underline;
}

.price-overview__table thead th:first-child {
  position: sticky;
  left: 0;
  z-index: 3;
}

.price-overview__table tbody td:first-child,
.price-overview__table thead th:first-child {
  position: sticky;
  left: 0;
  background: #fff;
}

.price-overview__table tbody td:first-child {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #333;
  white-space: nowrap;
}

.price-overview__table thead th:first-child {
  border-radius: 5px 0 0 0;
}

.price-overview__table thead th:last-child {
  border-radius: 0 5px 0 0;
}

.price-overview__table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

.price-overview__table tbody tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

.price-overview__table tbody td:first-child a {
  color: var(--color-accent);
}

/* Hidden rows & toggle */
.price-overview__hidden-row {
  display: none;
}

.price-overview {
  position: relative;
}

.price-overview__fade {
  position: relative;
  height: 80px;
  margin-top: -80px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  pointer-events: none;
}

.price-overview--expanded .price-overview__hidden-row {
  display: table-row;
}

.price-overview--expanded .price-overview__fade {
  visibility: hidden;
}

.price-overview__table-toggle {
  display: block;
  text-align: center;
}

.price-overview__toggle {
  margin: 12px auto 20px;
  padding: 12px 60px;
  background: #5d3b17;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

.price-overview__toggle:hover {
  opacity: 0.85;
}

.price-overview__notes {
  margin-top: 0;
  margin-bottom: 20px;
}

.price-overview__notes p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 350;
  font-size: 10px;
  color: #333;
  line-height: 1.8;
}

/* ==========================================================================
   CV Link Text
   ========================================================================== */

.cv-link-text {
  background: var(--color-bg-white);
  border: 5px solid #1976d2;
  border-radius: 8px;
  padding: 20px 12px;
  margin-top: 0;
}

.cv-link-text a {
  color: #0067a6;
  text-decoration: underline;
}

/* ==========================================================================
   Intro Box
   ========================================================================== */

.intro-box {
  background: var(--color-bg-white);
  border: 2px solid var(--color-accent);
  border-radius: 4px;
  padding: 20px;
}

.intro-box__heading {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1rem;
}

.intro-box p {
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ==========================================================================
   Shop Card
   ========================================================================== */

.shop-card {
  background: #fff url("assets/images/shop-card-bg.png") no-repeat right 0px top
    0px / 180px auto;
  box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  overflow: hidden;
}

.shop-card__name {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 12px 18px 22px;
}

.shop-card__name-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.shop-card__name-rank {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-border);
  border-radius: 50%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.shop-card__name-text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 34px;
  color: #141414;
}

.shop-card__body {
  padding: 15px;
}

/* Meta */
.shop-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.shop-card__methods {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0.09em;
  color: #0d0001;
}

.shop-card__rating {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin-left: auto;
}

.shop-card__star-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.shop-card__star-num {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #5d3b17;
}

/* Gallery & Prices row */
.shop-card__gallery-prices {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

/* Gallery carousel */
.shop-card__gallery {
  width: 390px;
  flex-shrink: 0;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}

.shop-card__gallery-track {
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.shop-card__gallery-track img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.shop-card__gallery-prev,
.shop-card__gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.shop-card__gallery-prev {
  left: 8px;
}
.shop-card__gallery-next {
  right: 8px;
}

.shop-card__gallery-prev:hover,
.shop-card__gallery-next:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* Prices */
.shop-card__prices {
  flex: 1;
  min-width: 0;
}

.shop-card__prices-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 160%;
  letter-spacing: 0.09em;
  color: #5d3b17;
  border-bottom: 1px solid #5d3b17;
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.shop-card__prices-title small {
  font-weight: 400;
  font-size: 12px;
  color: var(--color-text-light);
}

.shop-card__prices-body {
  display: flex;
  gap: 32px;
}

.shop-card__prices-list {
  display: flex;
  flex-direction: column;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #5d3b17 #d9d9d9;
}

.shop-card__prices-list::-webkit-scrollbar {
  width: 8px;
}

.shop-card__prices-list::-webkit-scrollbar-track {
  background: #d9d9d9;
  border-radius: 3px;
}

.shop-card__prices-list::-webkit-scrollbar-thumb {
  background: #5d3b17;
  border-radius: 3px;
}

.shop-card__prices-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  border-bottom: 1px dashed #5d3b17;
}

.shop-card__prices-img {
  width: 40px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.shop-card__prices-model {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0.04em;
  color: #333;
  flex: 1;
}

.shop-card__prices-value {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.shop-card__prices-yen {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0.08em;
  color: #0d0001;
}

.shop-card__prices-amount {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0.04em;
  text-align: right;
  color: #5d3b17;
}

/* Info */
.shop-card__info {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-border);
}

.shop-card__basic {
  flex: 1;
}

.shop-card__features {
  flex: 1;
}

.shop-card__section-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 160%;
  letter-spacing: 0.09em;
  color: #5d3b17;
  border-bottom: 1px solid #5d3b17;
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.shop-card__basic-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.shop-card__basic-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 2px;
}

.shop-card__basic-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.shop-card__basic-item p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0.09em;
  color: #0d0001;
}

/* Schedule */
.shop-card__schedule {
  background: #f1f1f1;
  border-radius: 8px;
  padding: 8px 12px;
  overflow-x: auto;
}

.shop-card__schedule-grid {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.shop-card__schedule-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.shop-card__schedule-col--hours {
  flex: 0 0 140px;
  align-items: flex-start;
}

.shop-card__schedule-header {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0.09em;
  color: #0d0001;
  padding: 8px 12px;
  border-bottom: 1px solid #f1f1f1;
  width: 100%;
  text-align: center;
}

.shop-card__schedule-col--hours .shop-card__schedule-header {
  text-align: left;
}

.shop-card__schedule-value {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 160%;
  letter-spacing: 0.09em;
  color: #5d3b17;
  padding: 8px 10px;
  text-align: center;
  width: 100%;
}

.shop-card__schedule-value--hours {
  font-weight: 700;
  font-size: 14px;
  text-align: left;
  padding: 8px 12px;
}

.shop-card__schedule-note {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.09em;
  color: #999;
  margin-top: 8px;
}

.shop-card__features {
  padding: 0 24px;
}

/* Feature Text */
.shop-card__feature-text {
  background: rgba(93, 59, 23, 0.1);
  border-radius: 6px;
  padding: 7px 24px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #222;
  margin-bottom: 12px;
}

.shop-card__feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.shop-card__feature-tags span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #5d3b17;
  padding: 3px 9px;
  background: #fff;
  border-radius: 3px;
}

/* Reviews */
.shop-card__reviews {
  margin-bottom: 20px;
}

.shop-card__reviews-header {
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 10px;
  border-bottom: 1px solid #5d3b17;
  margin-bottom: 15px;
}

.shop-card__reviews-header h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 160%;
  letter-spacing: 0.09em;
  color: #5d3b17;
  white-space: nowrap;
}

.shop-card__reviews-header a {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: right;
  text-decoration: underline;
  color: #333;
  flex: 1;
}

.shop-card__reviews-list {
  display: flex;
  gap: 12px;
  padding: 10px 24px;
  overflow-x: auto;
}

.shop-card__review {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 9px;
  width: 276px;
  min-width: 276px;
  background: #fff;
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
}

.shop-card__review-header {
  display: flex;
  align-items: center;
  padding: 4px 10px;
  gap: 10px;
  background: #f9f9f7;
  border-bottom: 1px dashed #5d3b17;
  border-radius: 5px 5px 0 0;
}

.shop-card__review-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.shop-card__review-meta {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  color: #000;
}

.shop-card__review-body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #000;
}

/* CTA */
.shop-card__cta {
  display: flex;
  gap: 10px;
  padding: 0 24px;
  margin-bottom: 15px;
}

.shop-card__cta-store {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  gap: 10px;
  background: linear-gradient(180deg, #b69a7c 0%, #5d3b17 33.6%);
  border: 1px solid #5d3b17;
  box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.shop-card__cta-store:hover {
  opacity: 0.9;
  text-decoration: none;
}

.shop-card__cta-store-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.shop-card__cta-store-main {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 22px;
}

.shop-card__cta-store-sub {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
}

.shop-card__cta-arrow {
  width: 12px;
  height: 14px;
  flex-shrink: 0;
}

.shop-card__cta-line {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  gap: 10px;
  background: linear-gradient(180deg, #9dff9c 0%, #20c720 33.6%);
  border: 1px solid #00b900;
  box-shadow: 0px 4px 0px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.shop-card__cta-line:hover {
  opacity: 0.9;
  text-decoration: none;
}

.shop-card__cta-line svg {
  width: 36px;
  height: 34px;
  flex-shrink: 0;
}

.shop-card__cta-line span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 26px;
}

/* Campaign */
.shop-card__campaign {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: #fff8e1;
  border: 1px solid var(--color-accent-light);
  border-radius: 4px;
  font-size: 0.85rem;
}

.shop-card__campaign-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Trade-in Banner
   ========================================================================== */

.trade-banner {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}

.trade-banner__title {
  background: var(--color-primary-dark);
  color: #fff;
  font-size: 1.2rem;
  padding: 15px;
}

.trade-banner__title em {
  font-style: normal;
  color: var(--color-accent);
  font-size: 1.5rem;
}

.trade-banner__compare {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

.trade-banner__col {
  flex: 1;
  max-width: 180px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
}

.trade-banner__col--highlight {
  border-color: var(--color-accent);
  background: #fffdf5;
}

.trade-banner__label {
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.trade-banner__price {
  font-size: 1rem;
  font-weight: bold;
}

.trade-banner__price--highlight {
  font-size: 1.5rem;
  color: #d32f2f;
}

.trade-banner__details {
  padding: 0 20px 15px;
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

.trade-banner__details dt {
  font-weight: bold;
  font-size: 0.85rem;
  margin-top: 8px;
}

.trade-banner__details dd {
  font-size: 0.85rem;
  margin-left: 0;
}

.trade-banner__actions {
  padding: 15px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.trade-banner__cta-line {
  display: inline-block;
  padding: 12px 40px;
  background: var(--color-line-green);
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  font-size: 1rem;
}

.trade-banner__cta-line:hover {
  opacity: 0.85;
  text-decoration: none;
}

.trade-banner__cta-link {
  font-size: 0.8rem;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-text-light);
}

/* ==========================================================================
   FAQ Links
   ========================================================================== */

.faq-links {
  display: flex;
  gap: 15px;
}

.faq-links__card {
  flex: 1;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 25px 20px;
  text-align: center;
}

.faq-links__label {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.faq-links__heading {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 5px 0 15px;
}

.faq-links__btn {
  display: inline-block;
  padding: 10px 25px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
}

.faq-links__btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

/* CTA Widget */
.sidebar-cta {
  background: var(--color-bg-white);
  border: 2px solid var(--color-accent);
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-cta__title {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  font-size: 0.95rem;
}

.sidebar-cta__btn {
  display: block;
  margin: 10px;
  padding: 12px;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.85rem;
  transition: opacity 0.2s;
}

.sidebar-cta__btn:hover {
  opacity: 0.85;
  text-decoration: none;
}

.sidebar-cta__btn--line {
  background: var(--color-line-green);
  color: #fff;
}

.sidebar-cta__btn--kit {
  background: var(--color-accent);
  color: #fff;
}

.sidebar-cta__btn--tel {
  background: var(--color-primary);
  color: #fff;
}

/* Estimate Widget */
.sidebar-estimate {
  display: flex;
  flex-direction: column;
}

.sidebar-estimate__header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0;
  border-radius: 10px;
}

.sidebar-estimate__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: 0.04em;
  color: #ffea03;
  text-shadow: 2px 2px 0px #0d0001;
  -webkit-text-stroke: 6px #000;
  paint-order: stroke fill;
  transform: matrix(1, 0, -0.17, 0.98, 0, 0);
}

.sidebar-estimate__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 14px;
  gap: 24px;
  background: #ffef00;
  box-shadow: 0px 0px 20px #5d3b17;
  border-radius: 8px;
}

.sidebar-estimate__fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-estimate__field {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sidebar-estimate__label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0.08em;
  color: #000;
}

.sidebar-estimate__select-wrap {
  position: relative;
  width: 100%;
  filter: drop-shadow(0px 0px 4px rgba(65, 33, 17, 0.3));
}

.sidebar-estimate__select {
  width: 100%;
  height: 42px;
  padding: 12px 12px 12px 28px;
  background: #f1f1f1;
  border: none;
  border-radius: 50px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0.08em;
  color: #0d0001;
  appearance: none;
  cursor: pointer;
}

.sidebar-estimate__select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
}

/* Result */
.sidebar-estimate__result {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sidebar-estimate__result-lead {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  color: #0d0001;
}

.sidebar-estimate__main-price {
  width: 100%;
  background: #fff;
  border: 4px solid #e62828;
  border-radius: 8px;
  padding: 18px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar-estimate__main-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
}

.sidebar-estimate__main-yen {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0.04em;
  color: #e62828;
}

.sidebar-estimate__main-amount {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 100%;
  letter-spacing: 0.04em;
  color: #e62828;
}

.sidebar-estimate__result-cta {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 120%;
  color: #0d0001;
  padding-bottom: 12px;
}

/* Area Links */
.sidebar-area {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-area__title {
  background: var(--color-primary);
  color: #fff;
  font-weight: bold;
  padding: 10px;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.5;
}

.sidebar-area__links {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sidebar-area__links a {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  color: var(--color-text);
}

.sidebar-area__links a:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

/* Banner */
.sidebar-banner__item {
  display: block;
  margin-bottom: 10px;
}

.sidebar-banner__placeholder {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 30px 15px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: rgba(18, 17, 14, 0.85);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px 60px;
  gap: 10px;
  max-width: 1440px;
  margin: 0 auto;
  height: 108px;
}

.site-footer__company {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
}

.site-footer__legal {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 120%;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
}

/* ==========================================================================
   Archive / 記事一覧
   ========================================================================== */

.archive-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 28px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.article-card {
  display: flex;
  align-items: center;
  background: var(--color-bg-white);
  border-radius: 8px;
  border-bottom: 4px solid var(--color-accent);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  padding: 32px 28px;
  min-height: 160px;
  transition: box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.article-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.6;
}

/* Pagination */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.nav-links .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-links .page-numbers:hover {
  background: var(--color-accent-light);
  text-decoration: none;
}

.nav-links .page-numbers.current {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.nav-links .page-numbers.dots {
  border: none;
  background: none;
}

/* ==========================================================================
   Responsive (Tablet)
   ========================================================================== */

@media (max-width: 1100px) {
  .buyback-reason__content {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .buyback-reason__image {
    width: 100%;
    max-width: 473px;
    height: auto;
    margin-right: 0;
    margin-bottom: -18px;
    position: relative;
    z-index: 0;
  }

  .buyback-reason__text-block {
    width: 100%;
    max-width: 577px;
  }

  .buyback-reason__badge {
    width: 95%;
    margin-bottom: -18px;
  }
}

/* ==========================================================================
   Responsive (Mobile)
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --gap: 20px;
  }

  /* Header */
  .site-header {
    background: rgba(18, 17, 14, 0.85);
  }

  .site-header__inner {
    position: relative;
    padding: 0 12px;
    height: 52px;
  }

  .site-header__logo {
    flex-grow: 1;
  }

  .site-header__logo img {
    max-height: 30px;
  }

  .site-header__articles-link {
    display: none;
  }

  .site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .site-header__line-btn {
    padding: 6px 12px;
  }

  .site-header__menu-toggle {
    display: flex;
    width: 37px;
    height: 28px;
  }

  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(18, 17, 14, 0.95);
    z-index: 100;
  }

  .site-header__nav.is-open {
    display: block;
  }

  .site-header__nav ul {
    flex-direction: column;
    padding: 10px 15px;
    gap: 0;
  }

  .site-header__nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .site-header__nav a {
    display: block;
    padding: 12px 0;
    color: #fff;
  }

  /* Layout */
  .l-content {
    flex-direction: column;
    padding: 0;
  }

  .l-main,
  .l-content--top .l-main {
    width: 100%;
  }

  .hero__line-btn {
    left: 50%;
    width: 88%;
  }

  .l-sidebar,
  .l-content--top .l-sidebar {
    width: 100%;
    position: static;
    margin: 0;
    padding: 0 12px 42px;
  }

  .sidebar-flow {
    display: none;
  }

  .site-footer__inner {
    height: auto;
  }

  /* Main Estimate */
  .main-estimate {
    padding: 42px 12px;
  }

  .main-estimate__header {
    width: auto;
    padding: 14px 12px;
  }

  .main-estimate__title {
    font-size: 28px;
    -webkit-text-stroke: 3px #121212;
  }

  .main-estimate__title em {
    -webkit-text-stroke: 3px #121212;
  }

  .main-estimate__title em:first-child {
    font-size: 28px;
    text-shadow: 2px 2px 0px #0d0001;
    -webkit-text-stroke: 1px #000;
  }

  .main-estimate__title em:last-child {
    font-size: 28px;
  }

  .main-estimate__body {
    padding: 24px 14px;
    gap: 24px;
  }

  .main-estimate__fields {
    flex-direction: column;
    padding: 0;
    gap: 8px;
  }

  .main-estimate__field {
    flex: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .main-estimate__label {
    font-size: 18px;
  }

  .main-estimate__select-wrap {
    width: 100%;
  }

  .main-estimate__field:last-child .main-estimate__select-wrap {
    width: 100%;
  }

  .main-estimate__select {
    height: 42px;
    font-size: 18px;
  }

  .main-estimate__result {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .main-estimate__result-lead {
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 0;
  }

  .main-estimate__main-price {
    width: 100%;
    padding: 18px 0;
  }

  .main-estimate__main-yen {
    font-size: 20px;
  }

  .main-estimate__main-value .js-estimate-amount {
    font-size: 34px;
  }

  .main-estimate__result-cta {
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 12px;
  }

  /* Buyback Reason */
  .buyback-reason {
    padding: 0 24px;
  }

  .buyback-reason__badge {
    font-size: 22px;
    line-height: 26px;
    width: 100%;
  }

  .buyback-reason__body {
    padding: 32px 18px;
  }

  .buyback-reason__logo-small {
    width: 168px;
    align-self: center;
  }

  .buyback-reason__desc {
    font-size: 16px;
    line-height: 19px;
  }

  /* Junk Buyback */
  .junk-buyback {
    padding: 48px 10px;
  }

  .line-cta img {
    width: 331px;
  }

  .junk-buyback__heading img,
  .junk-buyback__heading picture {
    width: 91%;
  }

  .junk-grid {
    padding: 22px 4px;
    gap: 18px 8px;
    justify-content: center;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.48);
  }

  .junk-grid__item {
    width: calc(50% - 8px);
  }

  .junk-grid__image {
    width: 100%;
    height: auto;
    aspect-ratio: 175 / 117;
  }

  .junk-grid__label {
    font-size: 20px;
  }

  .buyback-reason__heading {
    flex-wrap: wrap;
    row-gap: 0;
  }

  /* Reasons */
  .reasons {
    background-color: #80dbf0;
    padding: 32px 18px;
  }

  .reasons__heading img {
    width: 267px;
  }

  .reasons__grid {
    gap: 18px;
  }

  .reasons__card-title {
    font-size: 22px;
  }

  /* Price List */
  .price-list {
    gap: 32px;
    padding: 48px 12px;
  }

  .price-list__heading img {
    width: 88.5%;
  }

  .price-table {
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.48);
  }

  .price-table__header {
    font-size: 22px;
    line-height: 26px;
    padding: 10px 0;
  }

  .price-table__body {
    padding: 12px 8px;
  }

  .price-table__cell {
    min-width: 0;
    padding: 6px 2px;
    font-size: 10px;
    line-height: 12px;
    flex: 0 0 66px;
  }

  .price-table__cell--label {
    width: 59px;
    min-width: 59px;
    flex: 0 0 59px;
    padding: 2px 4px;
  }

  .price-table__cell--label::after {
    top: 58%;
    width: 55px;
    transform: translate(-50%, -50%) rotate(30deg);
  }

  .price-table__cell--model {
    font-size: 12px;
    line-height: 14px;
    padding: 6px 2px;
    height: 40px;
    white-space: normal;
    word-break: break-all;
  }

  .price-table__cell--model .model-break {
    display: inline;
  }

  .price-table__cell--storage {
    width: 59px;
    min-width: 59px;
    flex: 0 0 59px;
    font-size: 12px;
    line-height: 15px;
    padding: 6px 12px;
  }

  .price-table__cell--price {
    height: 29px;
  }

  /* Flow */
  .flow__heading img {
    width: 163px;
  }

  .flow__steps {
    flex-direction: column;
    gap: 12px;
  }

  .flow__arrow {
    transform: rotate(90deg);
  }

  .flow__step-image {
    width: 188px;
    height: 188px;
  }

  .flow__step-desc {
    font-size: 13px;
  }

  /* Other Devices */
  .other-devices {
    padding: 0 24px;
  }

  .other-devices__inner {
    background-color: transparent;
    box-shadow: none;
    padding: 32px 0;
  }

  .other-devices__product-grid {
    gap: 4px;
    padding: 0 8px;
  }

  .other-devices__product-card {
    width: 100px;
    height: auto;
  }

  .buyback-reason__heading-logo {
    height: auto;
    width: 150px;
  }

  .buyback-reason__heading-red {
    font-size: 28px;
    -webkit-text-stroke: 2px #333;
  }

  .buyback-reason__heading-gold {
    font-size: 28px;
    -webkit-text-stroke: 2px #333;
  }

  /* Breadcrumb */
  .breadcrumb {
    margin-bottom: 0;
  }

  .breadcrumb__inner {
    padding: 18px 10px;
  }

  /* Article Header */
  .article-header {
    margin: 0 8px;
  }
  .article-header__title {
    font-size: 1.2rem;
  }

  /* Price Overview */
  .price-overview {
    margin-left: 8px;
    margin-right: 8px;
  }
  .price-overview__table-toggle {
    display: block;
  }

  .price-overview__table-wrap {
    display: block;
    padding: 10px;
    overflow: clip;
  }

  .price-overview__table-scroll {
    -webkit-overflow-scrolling: touch;
  }

  .price-overview__table {
    min-width: max-content;
  }

  /* 機種名列 */
  .price-overview__table thead th:first-child,
  .price-overview__table tbody td:first-child {
    width: 83px;
    min-width: 83px;
    padding: 4px;
    text-align: center;
    letter-spacing: -0.04em;
  }

  .price-overview__table thead th:first-child {
    font-size: 14px;
    line-height: 125%;
    height: 61px;
    vertical-align: middle;
  }

  .price-overview__table tbody td:first-child {
    font-size: 18px;
    line-height: 140%;
  }

  /* 価格列 */
  .price-overview__table colgroup col + col {
    width: 83px !important;
  }

  .price-overview__table thead th:not(:first-child) {
    height: 61px;
    padding: 4px;
    vertical-align: middle;
    font-size: 10px;
    line-height: 125%;
    letter-spacing: -0.04em;
  }

  .price-overview__table tbody td:not(:first-child) {
    height: 45px;
    padding: 10px 4px;
    border: 0.7px solid #5d3b17;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0;
  }

  /* Shop Card */
  .shop-card {
    background: #fff url("assets/images/shop-card-bg.png") no-repeat right -45px
      top -5px / 110px auto;
  }

  .shop-card__name {
    padding: 12px 12px 0;
    gap: 4px;
  }

  .shop-card__name-icon {
    width: 32px;
    height: 32px;
  }

  .shop-card__name-text {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
  }

  .shop-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .shop-card__methods {
    font-weight: 400;
    font-size: 14px;
  }

  .shop-card__rating {
    margin-left: 0;
    justify-content: flex-start;
  }

  .shop-card__gallery-prices {
    flex-direction: column;
  }

  .shop-card__gallery {
    width: 100%;
  }

  .shop-card__gallery-track img {
    height: 200px;
  }

  .shop-card__section-title {
    font-size: 18px;
  }

  .shop-card__features {
    padding: 0;
  }

  .shop-card__reviews-header {
    padding: 0;
  }

  .shop-card__reviews-header h3 {
    font-size: 18px;
    white-space: normal;
  }

  .shop-card__reviews-list {
    padding: 10px;
  }

  .shop-card__review {
    width: 235px;
    min-width: 235px;
  }

  .shop-card__basic-item p {
    font-size: 14px;
  }

  .shop-card__schedule-col--hours {
    flex: 0 0 100px;
  }

  .shop-card__schedule-header,
  .shop-card__schedule-value {
    font-size: 13px;
    padding: 6px 4px;
  }

  .shop-card__schedule-value--hours {
    font-size: 13px;
    padding: 6px 4px;
  }

  /* Prices: horizontal swiper on mobile */
  .shop-card__prices-body {
    gap: 0;
  }

  .shop-card__prices-list {
    flex-direction: row;
    max-height: none;
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    gap: 8px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #5d3b17 #d9d9d9;
  }

  .shop-card__prices-list::-webkit-scrollbar {
    height: 8px;
    width: auto;
  }

  .shop-card__prices-list::-webkit-scrollbar-track {
    background: #d9d9d9;
    border-radius: 3px;
  }

  .shop-card__prices-list::-webkit-scrollbar-thumb {
    background: #5d3b17;
    border-radius: 3px;
  }

  .shop-card__prices-row {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 102px;
    min-width: 102px;
    height: 122px;
    padding: 8px 12px;
    gap: 8px;
    background: #fdfbfa;
    border: 1px dashed #5d3b17;
    border-radius: 5px;
  }

  .shop-card__prices-model {
    font-size: 14px;
    text-align: center;
    flex: none;
    width: 100%;
    word-break: break-all;
  }

  .shop-card__prices-img {
    width: 42px;
    height: 44px;
  }

  .shop-card__prices-yen {
    font-size: 16px;
  }

  .shop-card__prices-amount {
    font-size: 16px;
  }

  .shop-card__info {
    border-bottom: none;
    flex-direction: column;
    gap: 15px;
  }

  .shop-card__reviews {
    flex-direction: column;
    gap: 10px;
  }

  .shop-card__reviews-link {
    padding-top: 0;
  }

  .shop-card__cta {
    flex-direction: column-reverse;
    padding: 0 12px;
  }

  .shop-card__cta-line {
    height: 62px;
    white-space: nowrap;
  }

  .shop-card__cta-line span {
    font-size: 18px;
  }

  /* Trade Banner */
  .trade-banner__compare {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .trade-banner__col {
    max-width: 100%;
    width: 100%;
  }

  /* FAQ Links */
  .faq-links {
    flex-direction: column;
  }

  /* Footer */
  .site-footer__nav ul {
    flex-direction: column;
    gap: 8px;
  }

  /* Archive */
  .archive-title,
  .article-grid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-height: 120px;
    padding: 24px 20px;
  }

  .archive-title {
    font-size: 20px;
  }
}
