/* RE:TODA 家電・リユース買取 ─ ジモティー風（緑×青×白、罫線、飾らない） */
:root {
  --green: #219e62;
  --green-dark: #1a7f4e;
  --green-pale: #e9f6ef;
  --blue: #0066cc;
  --blue-pale: #eaf2fb;
  --orange: #f28c28;
  --orange-pale: #fff3e6;
  --line-green: #06c755;
  --text: #333;
  --text-sub: #666;
  --border: #e5e5e5;
  --bg-sub: #f5f5f5;
  --white: #fff;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
  --font-logo: "Arial Black", "Arial", "Helvetica Neue", Helvetica, sans-serif;
  --max: 1080px;
  --pad: clamp(14px, 3vw, 24px);
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.8; font-size: 15px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
h1, h2, h3 { line-height: 1.4; font-weight: 700; }
small { font-size: 12px; }
.container { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }
.icon { width: 18px; height: 18px; vertical-align: -3px; flex: none; }

/* ====== ロゴ ====== */
.logo-mark { display: inline-flex; align-items: center; font-family: var(--font-logo); font-weight: 900; font-size: 30px; letter-spacing: 0.02em; line-height: 1; }
.logo-re { color: var(--green); }
.logo-toda { color: var(--blue); }
.logo-colon { display: inline-flex; margin: 0 3px; color: var(--orange); }
.logo-recycle { width: 0.78em; height: 0.78em; stroke-width: 2.4; }
.logo { display: flex; flex-direction: column; align-items: flex-start; color: inherit; text-decoration: none !important; }
.logo-sub { font-size: 12px; font-weight: 700; color: var(--text-sub); letter-spacing: 0.2em; margin-top: 2px; }

/* ====== ヘッダー ====== */
.topbar { background: var(--bg-sub); border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-sub); }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding-block: 4px; }
.topbar-hours .icon { width: 14px; height: 14px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.header-contact { display: flex; align-items: center; gap: 14px; }
.header-tel { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; color: var(--text); text-decoration: none !important; }
.header-tel .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--green); }
.header-tel-num { font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: 0.02em; white-space: nowrap; }
.header-tel small { color: var(--text-sub); }
.hamburger { display: none; }

.gnav { background: var(--green); }
.nav-list { display: flex; }
.nav-list a { display: block; padding: 10px 18px; color: var(--white); font-weight: 700; font-size: 14px; text-decoration: none !important; }
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--green-dark); }
.nav-list .nav-spot { background: var(--orange); }

/* ====== ボタン ====== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius); font-weight: 700; font-size: 15px; line-height: 1.3; border: 2px solid transparent; text-decoration: none !important; cursor: pointer; font-family: inherit; }
.btn-main { background: var(--green); color: var(--white); }
.btn-main:hover { background: var(--green-dark); }
.btn-sub { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-sub:hover { background: var(--blue-pale); }
.btn-line { background: var(--line-green); color: var(--white); }
.btn-line:hover { filter: brightness(0.92); }
.btn-line.is-soon { background: var(--white); color: var(--green); border-color: var(--green); }
.btn-tel { background: var(--white); color: var(--text); border-color: var(--green); flex-direction: column; gap: 0; padding: 8px 18px; }
.btn-tel .icon { color: var(--green); }
.btn-tel-num { font-size: 22px; letter-spacing: 0.02em; }
.btn-tel small { color: var(--text-sub); font-weight: 400; }
.btn-tel .btn-tel-num::before { content: ""; }
.btn-tel { display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center; justify-content: center; }
.btn-tel .icon { grid-row: span 2; width: 24px; height: 24px; }
.btn-lg { padding: 14px 22px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-sm .icon { width: 16px; height: 16px; }
.text-link { color: var(--blue); text-decoration: underline; }
.text-link .icon { width: 16px; height: 16px; }

/* ====== ヒーロー ====== */
.hero { background: var(--green-pale); border-bottom: 1px solid var(--border); }
.hero-inner { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; padding-block: 36px; align-items: start; }
.hero-area { display: inline-block; background: var(--green); color: var(--white); font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: var(--radius); }
.hero-title { font-size: clamp(28px, 4.2vw, 42px); margin-top: 12px; }
.hero-title em { font-style: normal; color: var(--orange); }
.hero-lead { margin-top: 14px; font-size: 16px; }
.hero-points { margin-top: 14px; display: grid; gap: 4px; font-weight: 700; }
.hero-points .icon { color: var(--green); stroke-width: 3; margin-right: 6px; }
.hero-btns { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.hero-card-title { font-weight: 700; color: var(--green); border-bottom: 2px solid var(--green); padding-bottom: 6px; margin-bottom: 10px; }
.hero-card li { padding: 6px 0 6px 20px; border-bottom: 1px dotted var(--border); position: relative; font-size: 14px; }
.hero-card li::before { content: "・"; position: absolute; left: 4px; color: var(--green); font-weight: 700; }
.hero-card li:last-child { border-bottom: 0; }

/* ジモティースポット案内 */
.spot-banner { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; background: var(--orange-pale); border: 1px solid var(--orange); border-radius: var(--radius); color: var(--text); }
.spot-badge { background: var(--orange); color: var(--white); font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: var(--radius); flex: none; }

/* ====== 2カラム ====== */
.section { padding-block: 28px 40px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; }
.side { position: sticky; top: 12px; }
.side-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; background: var(--white); }
.side-title { font-weight: 700; color: var(--white); background: var(--green); margin: -16px -16px 4px; padding: 8px 16px; border-radius: var(--radius) var(--radius) 0 0; }
.side-info { margin-top: 6px; border-top: 1px solid var(--border); padding-top: 10px; font-size: 13px; }
.side-info dt { font-weight: 700; display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.side-info dt .icon { width: 15px; height: 15px; color: var(--green); }
.side-info dd { color: var(--text-sub); padding-left: 19px; }

/* ====== 見出し・本文部品 ====== */
.sec-title { font-size: 20px; border-left: 5px solid var(--green); border-bottom: 1px solid var(--border); padding: 2px 0 6px 12px; margin: 36px 0 14px; }
.main-col > .sec-title:first-child { margin-top: 0; }
.sec-lead { color: var(--text-sub); margin-bottom: 14px; }
.more { text-align: right; margin-top: 8px; font-weight: 700; }
.note { font-size: 13px; color: var(--text-sub); margin-top: 10px; }
.list-plain li { padding: 6px 0 6px 18px; position: relative; border-bottom: 1px dotted var(--border); }
.list-plain li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 6px; height: 6px; background: var(--green); border-radius: 50%; }
.list-ng li { padding: 6px 0 6px 22px; position: relative; border-bottom: 1px dotted var(--border); }
.list-ng li::before { content: "×"; position: absolute; left: 2px; color: #d33; font-weight: 700; }
.info-table { display: grid; grid-template-columns: 110px 1fr; border-top: 1px solid var(--border); font-size: 14px; }
.info-table dt, .info-table dd { padding: 9px 10px; border-bottom: 1px solid var(--border); }
.info-table dt { background: var(--bg-sub); font-weight: 700; }
.map iframe { border: 1px solid var(--border); margin-top: 16px; }
.photo { margin-bottom: 16px; border: 1px solid var(--border); }

/* 品目グリッド（ジモティーの写真グリッド風） */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cat-card a { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none !important; height: 100%; background: var(--white); position: relative; }
.cat-card a:hover { border-color: var(--green); background: var(--green-pale); }
.cat-icon { width: 40px; height: 40px; color: var(--green); stroke-width: 1.5; }
.cat-name { font-weight: 700; margin-top: 6px; }
.cat-ex { font-size: 11px; color: var(--text-sub); line-height: 1.4; margin-top: 2px; }
.cat-tag { margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--orange); border: 1px solid var(--orange); border-radius: var(--radius); padding: 0 6px; }

/* 買取方法 */
.method-list { display: grid; gap: 12px; }
.method-list li { display: flex; gap: 14px; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.method-icon { width: 36px; height: 36px; color: var(--green); flex: none; }
.method-list h3 { font-size: 17px; }
.method-list p { font-size: 14px; margin: 4px 0; }

/* コツ */
.tips { counter-reset: tip; }
.tips li { counter-increment: tip; padding: 8px 0 8px 36px; position: relative; border-bottom: 1px dotted var(--border); font-size: 14px; }
.tips li::before { content: counter(tip); position: absolute; left: 0; top: 10px; width: 24px; height: 24px; background: var(--green); color: var(--white); border-radius: 50%; font-weight: 700; display: grid; place-items: center; font-size: 13px; }

/* 店舗・お知らせ */
.shop-brief { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.news li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dotted var(--border); font-size: 14px; }
.news time { color: var(--text-sub); flex: none; }

/* ページ上部 */
.page-head { background: var(--green-pale); border-bottom: 1px solid var(--border); padding-block: 16px 20px; }
.breadcrumb { font-size: 12px; color: var(--text-sub); }
.page-title { font-size: 26px; margin-top: 4px; }
.page-lead { margin-top: 8px; color: var(--text-sub); }

/* 品目一覧 */
.item-list li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 12px; }
.item-icon { width: 36px; height: 36px; color: var(--green); flex: none; stroke-width: 1.5; }
.item-list h2 { font-size: 17px; }
.item-tag { font-size: 11px; color: var(--orange); border: 1px solid var(--orange); border-radius: var(--radius); padding: 0 6px; margin-left: 6px; vertical-align: 2px; }
.item-list p { font-size: 14px; color: var(--text-sub); }

/* 出張 */
.area-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.area-table th, .area-table td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.area-table th { background: var(--bg-sub); width: 40%; font-weight: 700; }
.area-fee { font-weight: 700; color: var(--green); }
.steps { display: grid; gap: 10px; }
.steps li { display: flex; gap: 14px; border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.step-no { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 700; display: grid; place-items: center; }
.steps h3 { font-size: 16px; }
.steps p { font-size: 14px; margin-top: 2px; }
.faq dt { font-weight: 700; padding: 10px 0 2px 26px; position: relative; }
.faq dt::before { content: "Q"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.faq dd { padding: 0 0 10px 26px; border-bottom: 1px dotted var(--border); font-size: 14px; position: relative; }
.faq dd::before { content: "A"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }

/* フォーム */
.contact-ways { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.form { display: grid; gap: 14px; margin-top: 12px; }
.form-row label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.req { font-size: 11px; color: var(--white); background: #d33; padding: 0 5px; border-radius: 2px; margin-left: 6px; vertical-align: 2px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 9px 10px; border: 1px solid #bbb; border-radius: var(--radius); background: var(--white); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.form .is-invalid { border-color: #d33; background: #fff5f5; }
.form-help { display: block; color: var(--text-sub); margin-top: 2px; }
.form-hp { position: absolute; left: -9999px; }
.form-agree { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.form-agree input { width: auto; }
.form-error { color: #d33; font-weight: 700; }
.form-done { border: 1px solid var(--green); background: var(--green-pale); padding: 20px; border-radius: var(--radius); }
.form-done .sec-title { margin-top: 0; }

/* 文章ページ */
.prose { max-width: 760px; }
.prose h2 { font-size: 17px; margin: 24px 0 6px; }
.prose p, .prose li { font-size: 14px; }
.prose ul li { padding-left: 1em; text-indent: -1em; }
.prose ul li::before { content: "・"; }
.prose-date { margin-top: 24px; color: var(--text-sub); }
.notfound { text-align: center; padding-block: 40px; }
.notfound-code { font-family: var(--font-logo); font-size: 60px; color: var(--green); }
.notfound .btn { margin-top: 20px; }

/* ====== フッター ====== */
.footer { background: var(--bg-sub); border-top: 1px solid var(--border); margin-top: 20px; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; padding-block: 28px; flex-wrap: wrap; }
.logo-mark-footer { font-size: 24px; }
.footer-sub { font-weight: 700; margin: 4px 0 8px; }
.footer-small { color: var(--text-sub); }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.copyright { text-align: center; padding: 12px; border-top: 1px solid var(--border); color: var(--text-sub); font-size: 12px; }

/* スマホ固定バー */
.sp-bar { display: none; }

/* ====== スマホ ====== */
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .side { position: static; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; padding-block: 24px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-brief { grid-template-columns: 1fr; }
  .header-contact .btn { display: none; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .topbar-hours { display: none; }
  .header-inner { padding-block: 8px; }
  .logo-mark { font-size: 24px; }
  .header-tel-num { font-size: 17px; }
  .header-tel .icon { width: 20px; height: 20px; }
  .header-tel small { display: none; }
  .hamburger { display: block; width: 40px; height: 40px; border: 1px solid var(--border); background: var(--white); border-radius: var(--radius); position: relative; cursor: pointer; }
  .hamburger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--green); transition: 0.2s; }
  .hamburger span:nth-child(1) { top: 12px; } .hamburger span:nth-child(2) { top: 19px; } .hamburger span:nth-child(3) { top: 26px; }
  .hamburger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
  .hamburger.is-open span:nth-child(2) { opacity: 0; }
  .hamburger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
  .gnav .nav-list { display: none; flex-direction: column; padding: 0; }
  .gnav .nav-list.is-open { display: flex; }
  .nav-list a { border-bottom: 1px solid rgba(255,255,255,0.25); padding: 12px 18px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns .btn { width: 100%; }
  .info-table { grid-template-columns: 90px 1fr; font-size: 13px; }
  .sp-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--white); border-top: 1px solid var(--border); }
  .sp-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 10px; font-size: 12px; font-weight: 700; text-decoration: none !important; }
  .sp-bar .icon { width: 22px; height: 22px; }
  .sp-bar-tel { background: var(--green); color: var(--white); }
  .sp-bar-line { background: var(--line-green); color: var(--white); }
  .sp-bar-line.is-soon { background: var(--white); color: var(--green); }
  .sp-bar-form { color: var(--blue); }
}
