/* =========================
   株式会社 大桐貿易 网站样式
   说明：整体参考日本“買取/リサイクル”网站常见的强CTA、黄红强调、可信赖卡片风格
========================= */

:root {
  --green: #009844;
  --green-dark: #006c33;
  --yellow: #ffe600;
  --red: #e9232f;
  --orange: #ff6b00;
  --ink: #1b1b1b;
  --muted: #6b6b6b;
  --cream: #fff8d8;
  --white: #ffffff;
  --line: #06c755;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* 顶部绿色提示条 */
.topbar {
  background: var(--green);
  color: var(--white);
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.topbar p {
  margin: 0;
  font-weight: 700;
}

.topbar a {
  background: var(--yellow);
  color: var(--green-dark);
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
}

/* 头部导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand__logo {
  width: 220px;
  max-height: 70px;
  object-fit: contain;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 800;
}

.global-nav a {
  position: relative;
  padding: 10px 0;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 3px;
  background: var(--green);
  transition: width 0.25s ease;
}

.global-nav a:hover::after,
.global-nav a.is-current::after {
  width: 100%;
}

.global-nav .nav-cta {
  color: var(--white);
  background: var(--red);
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(233, 35, 47, 0.25);
}

.global-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 主视觉 */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 230, 0, 0.7), transparent 34%),
    linear-gradient(135deg, #fffdf0 0%, #fff0a8 42%, #ffffff 100%);
  padding: 76px 0 46px;
}

.hero::before {
  content: "高価買取";
  position: absolute;
  right: -20px;
  top: 40px;
  color: rgba(233, 35, 47, 0.08);
  font-size: clamp(72px, 13vw, 180px);
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 28px;
  height: 4px;
  background: currentColor;
  border-radius: 999px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.hero h1 span {
  display: inline-block;
  color: var(--red);
  text-shadow: 3px 3px 0 var(--yellow), 5px 5px 0 rgba(0, 0, 0, 0.12);
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0;
  font-size: 18px;
  font-weight: 700;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.hero__badges span {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--yellow);
}

.hero__actions,
.access-text .btn {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: var(--line);
  box-shadow: 0 12px 24px rgba(6, 199, 85, 0.28);
}

.btn--secondary {
  color: var(--ink);
  background: var(--yellow);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

/* 电话按钮：醒目的红色，方便用户直接拨号 */
.btn--phone {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 24px rgba(233, 35, 47, 0.28);
}

.btn--dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
}

.hero-card {
  position: relative;
  padding: 26px;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 26px;
  box-shadow: 12px 12px 0 var(--green), var(--shadow);
}

.hero-card__logo {
  width: min(280px, 70%);
  margin: 0 auto 16px;
}

.hero-card__flyer {
  width: 100%;
  border-radius: 12px;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.14));
}

.hero__divider-logo {
  width: min(720px, 78vw);
  margin: 48px auto 0;
  opacity: 0.08;
}

/* LINE咨询横条 */
.line-strip {
  background: var(--green);
  color: var(--white);
  padding: 28px 0;
}

.line-strip__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: center;
  gap: 24px;
}

.line-strip h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 46px);
  color: var(--yellow);
}

.line-strip p {
  margin: 0;
  font-weight: 700;
}

.line-strip .section-kicker {
  color: var(--yellow);
}

.line-strip__qr {
  width: 320px;
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

/* 联系方式卡片：替代表单，不连接后端 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.contact-card {
  display: block;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--white);
  border: 3px solid var(--yellow);
  border-radius: 16px;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.18);
}

.contact-card--wide {
  grid-column: 1 / -1;
}

.contact-card span {
  display: block;
  margin-bottom: 3px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.contact-card strong {
  display: block;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.25;
}

/* 通用区块 */
.section {
  padding: 86px 0;
}

.section--cream {
  background: var(--cream);
}


.section-title {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title h2,
.license-box h2,
.company-info h2,
.access-text h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 900;
}

.section-title p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

/* 品目标签 */
.item-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.tab-btn {
  border: 3px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  padding: 10px 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.16);
}

.tab-btn.is-active {
  color: var(--white);
  background: var(--red);
}

.tab-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tab-panel.is-active {
  display: grid;
}

.item-card {
  min-height: 126px;
  padding: 24px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--yellow);
}

.item-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 900;
}

.item-card span {
  color: var(--muted);
  font-weight: 700;
}

/* 选择理由 */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strength-card {
  min-height: 320px;
  padding: 28px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.strength-card img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.strength-card h3,
.flow-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 900;
}

.strength-card p,
.flow-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.icon-circle {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  color: var(--white);
  background: var(--red);
  border: 6px solid var(--yellow);
  border-radius: 50%;
  font-size: 62px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(233, 35, 47, 0.24);
}

/* 许可/保险 */
.license-section {
  padding-top: 64px;
}

.license-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 28px;
  padding: 34px;
  background: var(--white);
  border: 4px solid var(--green);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.license-box p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.license-box__images {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #f8f8f8;
  border-radius: 18px;
}

.license-box__images img {
  width: 100%;
  padding: 10px;
  background: var(--white);
  border-radius: 10px;
  object-fit: contain;
}

/* 流程 */
.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: flow;
}

.flow-card {
  position: relative;
  padding: 30px;
  background: var(--white);
  border: 3px solid var(--green);
  border-radius: 24px;
  box-shadow: 8px 8px 0 rgba(0, 152, 68, 0.15);
}

.flow-card span {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--green);
  border-radius: 18px;
  font-size: 22px;
  font-weight: 900;
}

/* 公司信息 */
.section--green {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 108, 51, 0.97), rgba(0, 152, 68, 0.94)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 12px, transparent 12px 24px);
}

.company-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 42px;
}

.company-logo {
  padding: 28px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.company-info table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
}

.company-info th,
.company-info td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  text-align: left;
  vertical-align: top;
}

.company-info th {
  width: 120px;
  color: var(--yellow);
}

.section-kicker--light {
  color: var(--yellow);
}

/* 地图 */
.access-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 36px;
}

.access-text p {
  color: var(--muted);
  font-weight: 700;
}

/* 地图旁边的地址与电话列表 */
.access-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.access-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 14px;
  background: #fff8d8;
  border-left: 6px solid var(--green);
  border-radius: 12px;
}

.access-list dt {
  color: var(--green-dark);
  font-weight: 900;
}

.access-list dd {
  margin: 0;
  font-weight: 800;
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.map-card {
  padding: 18px;
  background: var(--white);
  border: 4px solid var(--red);
  border-radius: 24px;
  box-shadow: 10px 10px 0 var(--yellow), var(--shadow);
}

.map-card img {
  width: 100%;
  border-radius: 14px;
}


/* 底部 */
.footer {
  background: #111;
  color: var(--white);
  padding: 42px 0 18px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__logo {
  width: 220px;
  padding: 12px;
  background: var(--white);
  border-radius: 14px;
}

.back-to-top {
  color: var(--yellow);
  font-weight: 900;
}

.footer__contact {
  margin: 6px 0 0;
  color: #e8e8e8;
  font-weight: 700;
}

.footer__contact a {
  color: var(--yellow);
}

.copyright {
  margin: 28px 0 0;
  color: #bdbdbd;
  text-align: center;
  font-size: 13px;
}

/* 手机固定LINE按钮 */
.floating-line {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  height: 48px;
  padding: 0 18px;
  color: var(--white);
  background: var(--line);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(6, 199, 85, 0.3);
}

/* 滚动出现动画 */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 平板适配 */
@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 14px;
    border-bottom: 1px solid #eee;
  }

  .global-nav .nav-cta {
    margin-top: 10px;
    text-align: center;
  }

  .hero__grid,
  .line-strip__inner,
  .license-box,
  .company-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .line-strip__qr {
    width: min(280px, 100%);
    justify-self: center;
  }

  .contact-cards {
    grid-template-columns: 1fr 1fr;
  }

  .tab-panel,
  .strength-grid,
  .flow-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* 手机适配 */
@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .brand__logo {
    width: 168px;
  }

  .header__inner {
    min-height: 68px;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-card {
    padding: 16px;
    box-shadow: 7px 7px 0 var(--green), var(--shadow);
  }

  .section {
    padding: 64px 0;
  }

  .tab-panel,
  .strength-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .line-strip__qr {
    width: min(260px, 100%);
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .access-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .license-box {
    padding: 20px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
