*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:70px}body{margin:0;background:#fdfdfd;-webkit-text-size-adjust:100%}a{color:inherit}
.skip-link{position:fixed;top:10px;left:10px;z-index:100;background:#111;color:#fff;padding:.5em 1em;transform:translateY(-200%)}.skip-link:focus{transform:translateY(0)}
/* 苫小牧ジャンクスマホ買取センター（tomakomaijunk.site）と揃えたデザイン */
.page {
  --green: #08a545;
  --green-dark: #057d34;
  --green-pale: #f1fbf4;
  --green-line: #cfe7d5;
  --orange: #f7922a;
  --ink: #111;
  --text: #333;
  --muted: #666;
  color: var(--text);
  background: #fdfdfd;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  line-height: 1.75;
  padding-bottom: 0;
}
.page h1, .page h2, .page h3, .page p, .page figure, .page ol, .page ul, .page dl { margin: 0; }
.page img { max-width: 100%; }
.wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }

/* header */
.topbar { background: #fff; border-bottom: 1px solid #e8efe9; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; line-height: 1.3; }
.brand strong { font-size: 1.25rem; font-weight: 900; letter-spacing: .02em; }
.brand span { font-size: .8rem; color: var(--green-dark); font-weight: 700; }
.headerLine { flex-shrink: 0; background: var(--green); color: #fff; border-radius: 999px; padding: .55em 1.3em; font-weight: 800; font-size: .92rem; text-decoration: none; }
.headerLine:hover { background: var(--green-dark); }
.tabs { background: #fff; padding: .7rem 0; border-bottom: 1px solid #e8efe9; position: sticky; top: 0; z-index: 20; }
.tabs .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.tabs a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 2.6rem; padding: .3rem .5rem; border: 1px solid var(--green-line); border-radius: 8px; color: var(--green-dark); background: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; line-height: 1.35; }
.tabs a:hover { background: var(--green-pale); }
.tabs a.tabStrong { background: var(--green); border-color: var(--green); color: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(1.8rem, 4vw, 3.2rem) 0 clamp(1.6rem, 3vw, 2.4rem); background: linear-gradient(160deg, #fff 0%, #fff 48%, #e3f6e8 48.2%, #c9eed4 70%, #9edcb1 100%); }
.heroGrid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1rem, 4vw, 3rem); align-items: center; }
.catch { font-weight: 900; color: var(--ink); font-size: clamp(1rem, 2vw, 1.3rem); }
.hero h1 { color: var(--ink); font-size: clamp(2.6rem, 6.5vw, 4.9rem); font-weight: 900; line-height: 1.15; letter-spacing: -.02em; margin: .2em 0 .3em; }
.hero h1 span { display: block; color: var(--green); }
.area { display: inline-block; background: var(--green-dark); color: #fff; font-weight: 800; padding: .35em 1em; border-radius: 4px; font-size: clamp(.95rem, 1.8vw, 1.15rem); }
.features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .55rem; margin-top: 1.2rem !important; max-width: 520px; }
.features li { display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center; background: #fff; border: 1px solid #e3e8e4; border-radius: 10px; padding: .8rem .3rem; font-size: .8rem; font-weight: 800; color: var(--ink); line-height: 1.35; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.features svg { color: var(--ink); }
.photo { position: relative; margin: 0; }
.photo img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(5,125,52,.18); }
.photo figcaption { position: absolute; right: -6px; bottom: -10px; width: 9.5rem; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 3px solid var(--green); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); line-height: 1.45; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.photo figcaption b { color: var(--ink); font-size: .95rem; }
.heroCta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.ctaLine, .ctaStock { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem; border-radius: 14px; color: #fff; text-decoration: none; position: relative; box-shadow: 0 6px 0 rgba(0,0,0,.12); }
.ctaLine { background: var(--green); }
.ctaStock { background: var(--orange); }
.ctaLine::after, .ctaStock::after { content: "›"; position: absolute; right: 1.1rem; font-size: 2rem; font-weight: 400; }
.ctaLine:hover, .ctaStock:hover { filter: brightness(1.05); transform: translateY(1px); }
.ctaLine b, .ctaStock b { display: block; font-size: clamp(1.15rem, 2.4vw, 1.55rem); font-weight: 900; line-height: 1.3; }
.ctaLine small, .ctaStock small { font-size: .85rem; font-weight: 700; }
.ctaBadge { flex-shrink: 0; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .9rem; }
.ctaLine .ctaBadge { color: var(--green); }
.ctaStock .ctaBadge { color: var(--orange); }

/* intro */
.intro { padding: clamp(2.2rem, 5vw, 3.5rem) 0; text-align: center; }
.intro h2 { font-size: clamp(1.4rem, 3.2vw, 1.95rem); font-weight: 900; color: var(--ink); line-height: 1.5; }
.intro em { font-style: normal; color: var(--green); background: linear-gradient(transparent 62%, #d9f5e1 62%); }
.intro p { margin-top: 1rem; max-width: 46rem; margin-inline: auto; }

/* sections */
.section, .sectionTint { padding: clamp(2.6rem, 6vw, 4.5rem) 0; scroll-margin-top: 4.5rem; }
.sectionTint { background: var(--green-pale); }
.page h2 { color: var(--ink); }
.center { text-align: center; font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 900; line-height: 1.35; }
.centerLead { text-align: center; margin: .8rem auto 2rem !important; max-width: 44rem; }
.pill { display: table; margin: 0 auto .9rem !important; background: var(--green); color: #fff; border-radius: 999px; padding: .3em 1.1em; font-size: .85rem; font-weight: 800; }

/* stock */
.stockGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.product { background: #fff; border: 1px solid var(--green-line); border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(5,125,52,.07); display: flex; flex-direction: column; }
.productImg { position: relative; background: #f4f6f5; }
.productImg img { display: block; width: 100%; height: clamp(200px, 24vw, 270px); object-fit: contain; }
.productImg span { position: absolute; left: .9rem; top: .9rem; background: var(--orange); color: #fff; font-weight: 800; font-size: .8rem; border-radius: 999px; padding: .2em .9em; }
.productInfo { padding: clamp(1.1rem, 2.5vw, 1.6rem); display: flex; flex-direction: column; flex: 1; }
.productInfo h3 { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.price { color: var(--green); font-size: 2.2rem; font-weight: 900; line-height: 1.3; margin-top: .2rem !important; }
.price small { font-size: .9rem; margin-left: .15em; }
.product dl { margin: 1rem 0 !important; border-top: 1px solid #e3ece6; }
.product dl div { display: grid; grid-template-columns: 6.5rem 1fr; padding: .4rem 0; border-bottom: 1px solid #e3ece6; font-size: .95rem; }
.product dt { color: var(--muted); }
.product dd { margin: 0; font-weight: 700; color: var(--ink); }
.condition { font-size: .9rem; background: #fafafa; border-left: 3px solid var(--green-line); padding: .5rem .8rem; margin-bottom: 1.2rem !important; }
.btnLine, .btnGhost { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 3.2rem; padding: .6rem 1.4rem; border-radius: 10px; font-weight: 800; text-decoration: none; }
.btnLine { background: var(--green); color: #fff; margin-top: auto; }
.btnLine:hover { background: var(--green-dark); }
.btnGhost { border: 2px solid #fff; color: #fff; }
.btnGhost:hover { background: rgba(255,255,255,.1); }
.more { background: #fff; border: 1px solid var(--green-line); border-radius: 12px; padding: 1rem 1.3rem; margin-top: 1.4rem; }
.more summary, .faq summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.more p { margin-top: .7rem !important; }
.textLink, .faq a { color: var(--green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: .2em; }
.textLink { display: inline-block; margin-top: .8rem; }

/* use cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cards article { background: #fff; border: 1px solid var(--green-line); border-radius: 14px; padding: 1.5rem 1.3rem; text-align: center; box-shadow: 0 8px 24px rgba(5,125,52,.06); }
.cardIcon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--green-pale); color: var(--green); margin-bottom: .7rem; }
.cards h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.cards p { margin-top: .5rem !important; font-size: .95rem; text-align: left; }

/* flow */
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.flow li { background: #fff; border: 1px solid var(--green-line); border-radius: 12px; padding: 1.4rem 1.2rem; text-align: center; }
.flow li > span { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; margin-bottom: .6rem; }
.flow strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.flow p { margin-top: .45rem !important; font-size: .9rem; color: var(--muted); text-align: left; }

/* faq */
.faq { display: grid; gap: .7rem; max-width: 860px; margin: 2rem auto 0; }
.faq details { background: #fff; border: 1px solid var(--green-line); border-radius: 10px; padding: 1rem 1.3rem; }
.faq details p { margin-top: .7rem !important; padding-top: .7rem; border-top: 1px dashed var(--green-line); }

/* shop */
.shopGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; max-width: 860px; margin: 2rem auto 0; }
.shopGrid > div { background: #fff; border: 1px solid var(--green-line); border-radius: 10px; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .2rem; }
.shopGrid span { color: var(--green-dark); font-size: .8rem; font-weight: 800; }
.shopGrid strong { color: var(--ink); font-weight: 800; font-size: 1.05rem; line-height: 1.5; }
.shopGrid small { color: var(--muted); font-size: .85rem; }
.shopGrid .shopTel { background: #fff8e8; border-color: #f3d9a4; }
.shopTel a { color: var(--green-dark); font-weight: 800; font-size: 1.2rem; text-decoration: underline; }
.shopTel small { color: #b5651d; }

/* cross link to junk site */
.crossLink { padding: clamp(2rem, 4vw, 3rem) 0; }
.crossLink a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-decoration: none; color: #fff; border-radius: 16px; padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 3vw, 2.2rem); background: linear-gradient(120deg, var(--green-dark), var(--green)); box-shadow: 0 10px 28px rgba(5,125,52,.25); }
.crossLink a:hover { filter: brightness(1.06); }
.crossLink small { display: block; font-weight: 700; opacity: .9; }
.crossLink b { display: block; font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 900; line-height: 1.4; }
.crossLink em { display: block; font-style: normal; font-size: .88rem; opacity: .9; margin-top: .2rem; }
.crossLink i { font-style: normal; font-size: 2.6rem; line-height: 1; }

/* final */
.final { background: #111; color: #fff; text-align: center; padding: clamp(2.6rem, 6vw, 4rem) 0; }
.final h2 { color: #fff; font-size: clamp(1.5rem, 3.8vw, 2.2rem); font-weight: 900; }
.final p { margin-top: .6rem !important; }
.finalBtns { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.finalBtns a { min-width: 15rem; }

.pcFooter { background: #fff; border-top: 1px solid #e8efe9; }
.pcFooter .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-block: 1.2rem; font-size: .9rem; }
.pcFooter strong { color: var(--ink); }
.pcFooter span { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.pcFooter a { color: var(--text); }

.mobileBar { display: none; }

@media (max-width: 820px) {
  .heroGrid { grid-template-columns: 1fr; }
  .photo { width: min(70%, 320px); justify-self: center; }
  .photo figcaption { width: 6.8rem; font-size: .68rem; right: -14px; }
  .photo figcaption b { font-size: .8rem; }
  .features { max-width: none; }
  .cards, .flow { grid-template-columns: 1fr; }
  .tabs .wrap { display: flex; overflow-x: auto; scrollbar-width: none; }
  .tabs .wrap::-webkit-scrollbar { display: none; }
  .tabs a { flex: 0 0 auto; white-space: nowrap; font-size: .85rem; min-height: 2.3rem; padding-inline: .9rem; }
}
@media (max-width: 650px) {
  .page { padding-bottom: 64px; }
  .heroCta, .stockGrid, .shopGrid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(4, 1fr); gap: .35rem; }
  .features li { font-size: .68rem; padding: .6rem .15rem; }
  .features svg { width: 26px; height: 26px; }
  .headerLine { display: none; }
  .tabs { position: static; }
  .crossLink i { display: none; }
  .mobileBar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; box-shadow: 0 -4px 14px rgba(0,0,0,.12); }
  .mobileBar a { display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 800; color: #fff; text-decoration: none; background: var(--orange); }
  .mobileBar a:last-child { background: var(--green); }
}
