:root {
  --bg: #f5f6f4;
  --ink: #070B22;
  --muted: #393C4E;
  --line: #dfe3de;
  --dark: #111514;
  --dark-2: #1c211f;
  --accent: #0064C8;
  --accent-dark: #005AC8;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  color: #fff;
  background: rgba(17, 21, 20, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  display: grid;
  gap: 2px;
  min-width: 190px;
  font-weight: 800;
}

.logo small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.desktop-nav a {
  white-space: nowrap;
}

.desktop-nav a:hover,
.footer a:hover {
  color: #fff;
}

.header-phone {
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.page-hero {
  position: relative;
  min-height: 38dvh;
  overflow: hidden;
  background: var(--dark);
  display: flex;align-items: center;justify-content: center;
  color: #fff;
}

.hero img,
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
}

.hero-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:hsl(215.45deg 61.11% 7.06% / 34%);
    padding:0 42px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1280px;

}

.page-hero-inner {
  position: relative;
  z-index: 3;
  width: min(1280px, calc(100% - 64px));
  min-height: 118px;
  margin: 0 auto;
  text-align: center;
}

.page-hero-inner span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  text-stroke: 1px rgba(0, 47, 102, 0.24);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: clamp(88px, 9.4vw, 132px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  transform: translate(-50% ,-50%);
}

.label,
.section-title span,
.contact span,
.footer-contact__copy span {
  color: var(--accent);
  font-size:clamp(16px, 4vw, 22px);
  font-weight: 800;text-transform: uppercase;
}

.page-hero-inner h1 {
  position: absolute;
  top: 50%;
  left:0;
  right: 0;
  z-index: 1;transform: translateY(-50%);
  margin: 0;
  font-size: clamp(40px, 4.7vw, 56px);
  font-weight: 900;
  line-height: 1.08;
}

.page-hero-inner p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.8;
}

.label,
.section-title span,
.contact span {
  display: inline-block;
}

.hero h1 {
  max-width: 780px;
  margin: 18px 0 22px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.02;
}

.hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
}

.section {
  padding: 96px 32px;
}

.section.light {
  background: #fff;
}

.section.dark {
  color: #fff;
}

.section-title {
  max-width: 1280px;
  margin: 0 auto 38px;
}

.section-title.local {
  margin-left: 0;
}

.section-title h2,
.contact h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
}

.section-title p {
  color: var(--muted);
  line-height: 1.9;
}

.dark .section-title p {
  color: rgba(255, 255, 255, 0.66);
}

.line-heading {
  max-width: 1280px;
  margin: 0 auto 34px;
}

.line-heading--feature {
  position: relative;
  max-width: none;
  min-height: 150px;
  margin-bottom: 30px;
  color: var(--ink);
}

.line-heading--feature span {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 47, 102, 0.24);
  text-stroke: 1px rgba(0, 47, 102, 0.24);
  font-size: clamp(84px, 12.4vw, 156px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  pointer-events: none;
  white-space: nowrap;
}

.line-heading--feature span::after {
  display: none;
}

.line-heading--feature h2 {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 54px;
  margin: 0;
  color: var(--accent-dark);
  font-size: clamp(36px, 5.2vw, 62px);
  font-weight: 900;
  line-height: 1.1;
}

.line-heading span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--accent-dark);
  font-size: clamp(16px, 4vw, 22px);
  font-weight: 800;
}

.line-heading span::after {
  content: "";
  width: 72px;
  height: 1px;
  background: currentColor;
}

.line-heading h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.1;
}

.outline-heading {
  position: relative;
  max-width: 1280px;
  margin: 0 auto 42px;
  min-height: 126px;
  display: grid;
  align-content: center;
}

.outline-heading > span {
  position: absolute;
  right: 0;
  top: 50%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 47, 102, 0.28);
  text-stroke: 1px rgba(0, 47, 102, 0.28);
  font-size: clamp(58px, 11vw, 132px);
  font-weight: 900;
  line-height: 0.9;
  transform: translateY(-50%);
  pointer-events: none;
  word-break: break-all;
}

.outline-heading h2 {
  position: relative;
  z-index: 1;
  margin:0;
  color: var(--accent-dark);
  font-size:clamp(32px, 4.7vw, 56px);
  line-height: 1.2;
}

.outline-heading p {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.7;
}

.outline-heading--center {
  justify-items: center;
  text-align: center;
}

.outline-heading--center > span {
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
}

.outline-heading--dark > span {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.32);
  text-stroke-color: rgba(255, 255, 255, 0.32);
}

.outline-heading--dark h2 {
  color: #fff;
}

.price-grid,
.materials-grid,
.why-grid,
.yard-grid,
.summary-grid,
.equipment-grid,
.business-list,
.faq-list,
.process,
.company-table,
.news-list {
  max-width: 1280px;
  margin: 0 auto;
}

.price-grid,
.materials-grid,
.yard-grid,
.equipment-grid,
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card,
.material-card,
.yard-card,
.equipment-card,
.summary-card {
  border: 1px solid var(--line);
  background: #fff;
}

.summary-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 28px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.summary-card:hover {
  transform: translateY(-3px);
  border-color: rgba(208, 100, 42, 0.55);
}

.summary-card strong {
  font-size: 24px;
}

.summary-card span {
  color: var(--muted);
  line-height: 1.8;
}

.price-card {
  padding: 26px;
}

.price-card span,
.price-card small {
  display: block;
  color: var(--muted);
}

.price-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: clamp(34px, 4vw, 58px);
  color: var(--accent-dark);
}

.greeting {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 56px;
  max-width: 1280px;
  margin: 0 auto;
}

.greeting-image {
  margin: 0;
  overflow: hidden;
}

.greeting-image img {
  width: 100%;
  aspect-ratio: 5 / 3.7;
  object-fit: cover;
}

.greeting-heading {
  position: relative;
  min-height: 118px;
  margin-bottom: 22px;
}

.greeting-heading span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  max-width: 100%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 47, 102, 0.24);
  text-stroke: 1px rgba(0, 47, 102, 0.24);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size:clamp(58px, 7.9vw, 110px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
word-wrap: break-word;
  pointer-events: none;
}

.greeting-heading h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding-top: 44px;
  color: var(--accent-dark);
  font-size:clamp(32px, 4.7vw, 56px);
  font-weight: 900;
  line-height: 1.08;
}

.news-heading {
  max-width: 1280px;
  margin: 0 auto 34px;
}

.greeting-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
}

.greeting-copy p:last-child {
  margin-bottom: 0;
}

.home-recommend-section {
  background: #f7f8fa;
}

.home-recommend-heading {
  text-align: center;
}

.home-recommend-heading span ,{
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.greeting-heading span{right:0;text-align:center;}
.home-recommend-date {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  max-width: 1280px;
  margin: -10px auto 34px;
  color: var(--ink);
  font-weight: 800;
}

.home-recommend-date span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  font-size: 14px;
  line-height: 1;
}

.home-recommend-date time {
  color: #31364a;
  font-size: 15px;
  letter-spacing: 0;
}

.home-recommend-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 52px;
  max-width: 1280px;
  margin: 0 auto;
}

.home-recommend-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 24px;
  min-height: 120px;
  padding: 18px 18px 18px 32px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.home-recommend-card h3 {
  margin: 0 0 8px;
  color: #303448;
  font-size: 21px;
  line-height: 1.4;
}

.home-recommend-card p {
  margin: 0;
  color: #ff0646;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.home-recommend-card p small {
  margin-left: 4px;
  font-size: 15px;
  font-weight: 700;
}

.home-recommend-card p .price-text {
  font-size: 18px;
  font-weight: 700;
}

.home-recommend-card img {
  width: 160px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-material-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 1280px;
  margin: 0 auto;
}

.home-material-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  color: #fff;
  background: #07101d;
}

.home-material-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 420ms ease, opacity 420ms ease;
}

.home-material-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.22));
  transition: background 260ms ease;
}

.home-material-card__arrow {
  position: absolute;
  z-index: 1;
  left: 30px;
  bottom: 28px;
  width: 28px;
  height: 18px;
  color: #fff;
  transition: transform 260ms ease;
}

.home-material-card__arrow::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 1px;
  width: 26px;
  height: 2px;
  background: currentColor;
}

.home-material-card__arrow::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.home-material-card__text {
  position: absolute;
  z-index: 1;
  left: 30px;
  right: 30px;
  top: 64px;
  display: grid;
  gap: 12px;
  color: #fff;
  transform: translateY(0);
  transition: transform 260ms ease;
}

.home-material-card__text strong {
  font-size: clamp(20px, 2.2vw, 22px);
  font-weight: 900;
  line-height: 1.35;
}

.home-material-card__text small {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.7;
}

.home-material-card:hover img {
  transform: scale(1.08);
  opacity: 0.9;
}

.home-material-card:hover::after {
  background: linear-gradient(90deg, rgba(0, 100, 200, 0.72), rgba(0, 0, 0, 0.24));
}

.home-material-card:hover .home-material-card__arrow {
  transform: translateX(8px);
}

.home-material-card:hover .home-material-card__text {
  transform: translateY(-6px);
}

.split {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.business-list {
  display: grid;
  gap: 16px;
}

.business-list article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.business-list strong {
  color: var(--accent-dark);
}

.business-list h3,
.material-card h3,
.yard-card h3 {
  margin: 8px 0;
  font-size: 22px;
}

.business-list p,
.yard-card p,
.material-card p,
.contact p,
.news-list time {
  color: var(--muted);
  line-height: 1.8;
}

.image-panel {
  position: sticky;
  top: 104px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.material-card {
  padding: 24px;
}

.purchase-section {
  position: relative;
  padding-top: 70px;
  overflow: visible;
}

.purchase-tab-band {
  background: #07101d;
}

.purchase-tabs {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.purchase-tabs > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.purchase-tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  background: #11151d;max-width: 1280px;
}

.purchase-tab-list label {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: 14px 22px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  border-right: 1px solid #313641;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.purchase-tab-list label:last-child {
  border-right: 0;
}

.purchase-tab-list label:hover {
  background: #17375b;
  box-shadow: inset 0 -4px 0 rgba(255, 255, 255, 0.18);
}

body:has(#tab-metal:checked) .purchase-tab-list label[for="tab-metal"],
body:has(#tab-rare:checked) .purchase-tab-list label[for="tab-rare"],
body:has(#tab-board:checked) .purchase-tab-list label[for="tab-board"],
body:has(#tab-nonmetal:checked) .purchase-tab-list label[for="tab-nonmetal"] {
  background: var(--accent-dark);
  color: #fff;
}

.purchase-panel {
  display: none;
}

#tab-metal:checked ~ .purchase-panels .purchase-panel--metal,
#tab-rare:checked ~ .purchase-panels .purchase-panel--rare,
#tab-board:checked ~ .purchase-panels .purchase-panel--board,
#tab-nonmetal:checked ~ .purchase-panels .purchase-panel--nonmetal {
  display: grid;
  gap: 54px;
}

.purchase-category h3 {
  position: sticky;
  z-index: 12;
  top: 90px;
  width: 100%;
  margin: 0 0 28px;
  padding: 10px 42px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 6px),#07101d;
  color: #fff;
  font-size:clamp(16px, 3vw, 18px);
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 38, 84, 0.16);
}

.purchase-category {
  scroll-margin-top: 120px;
}

.purchase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.purchase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.purchase-thumb {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #eef2f7;
}

.purchase-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f7;
  transition: transform 420ms ease;
}

.purchase-card:hover img {
  transform: scale(1.08);
}

.purchase-card div {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 18px;
}

.purchase-card h4 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.45;
}

.purchase-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
}

.purchase-price {
  margin: 4px 0 0;
  color: #ff0050;
  font-size: 28px;
  font-weight:700;
  line-height: 1.2;
  letter-spacing: 0;
}

.purchase-price small {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 700;vertical-align: middle;
}

.purchase-price .price-text {
  font-size: 18px;
  font-weight: 700;
}

.equipment-card {
  padding: 24px;
}

.equipment-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

.equipment-groups {
  display: grid;
  gap: 58px;
  max-width: 1280px;
  margin: 0 auto;
}

.equipment-group h2 {
  margin: 0 0 24px;
  padding: 12px 18px;
  border-left: 5px solid var(--accent-dark);
  color: var(--accent-dark);background: #eef2f7;
    line-height: 1;
  font-size: clamp(26px, 3vw, 28px);
}

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

.equipment-photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.equipment-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef2f7;
}

.equipment-photo-card div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  background: var(--accent-dark);
  color: #fff;
}

.equipment-photo-card h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
}

.equipment-photo-card p {
  flex: 0 0 auto;
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.equipment-card ul,
.faq-list {
  padding: 0;
  list-style: none;
}

.equipment-card li {
  padding: 13px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  line-height: 1.7;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-list details {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 24px;
  gap: 18px;
  align-items: start;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 800;
  line-height: 1.65;
  list-style: none;
  font-size: clamp(16px, 4.7vw, 18px);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "Q";
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.faq-list summary::after {
  content: "";
  justify-self: end;
  width: 18px;
  height: 18px;
  margin-top: 6px;
  background:
    linear-gradient(var(--accent-dark), var(--accent-dark)) center / 100% 1px no-repeat,
    linear-gradient(var(--accent-dark), var(--accent-dark)) center / 1px 100% no-repeat;
  opacity: 0.7;
  transition: transform 220ms ease;
}

.faq-list details[open] summary {
  border-bottom: 1px dashed #9aa8ba;
}

.faq-list details[open] summary::after {
  background:
    linear-gradient(var(--accent-dark), var(--accent-dark)) center / 100% 1px no-repeat,
    linear-gradient(var(--accent-dark), var(--accent-dark)) center / 1px 100% no-repeat;
  transform: rotate(45deg);
}


.faq-answer {
  overflow: hidden;
  transition: height 280ms ease, opacity 220ms ease;
  will-change: height, opacity;
}

.faq-list details.is-closing summary {
  border-bottom: 1px dashed #9aa8ba;
}

.faq-list details.is-closing summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  position: relative;
  margin: 0;
  padding: 24px 0 28px 60px;
  color: var(--muted);
  line-height: 1.85;
  overflow: hidden;
}

.faq-list p::before {
  content: "A";
  position: absolute;
  top: 24px;
  left: 0;
  color: rgba(0, 100, 200, 0.42);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.notice-detail {
  max-width:1280px;
  margin: 0 auto;
}

.notice-list {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.notice-list__item {
  display: grid;
  grid-template-columns: 170px 1fr 32px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.notice-list__item time,
.notice-detail time,
.notice-card time {
  color: var(--accent-dark);
  font-weight: 800;
}

.notice-list__item span {
  font-size: 18px;
  font-weight: 800;
}

.notice-list__item svg {
  width: 22px;
  height: 22px;
  justify-self: end;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--accent-dark);
  transition: transform 180ms ease;
}

.notice-list__item:hover span {
  color: var(--accent-dark);
}

.notice-list__item:hover svg {
  transform: translateX(4px);
}

.notice-detail h2,
.notice-card h2 {
  margin: 12px 0;
  font-size: 30px;line-height: 1.2;
}

.notice-detail p,
.notice-card p {
  color: var(--muted);
  line-height: 1.9;
}

.back-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 800;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.why-grid article {
  min-height: 220px;
  padding: 28px;
  background: var(--dark-2);
}

.why-grid strong {
  display: block;
  color: #fff;
  font-size: 36px;
}

.why-grid span {
  color: var(--accent);
  font-weight: 800;
}

.why-grid p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.reason-section {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.9), rgba(5, 8, 13, 0.8)),
    url("../image/home-reason-bg.webp") center / cover;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.14);
}

.reason-card {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  padding-top: 130px;
  color: #fff;
  transition: background 220ms ease, transform 220ms ease;
}

.reason-card::before {
  display: none;
}

.reason-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14), #07101d);
}

.reason-card span {
  position: absolute;
  top: 24px;
  left: 28px;
  color: var(--accent-dark);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
}

.reason-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.45;
}

.reason-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.reason-card:hover {
  background: rgba(0, 100, 200, 0.42);
  transform: translateY(-4px);
}

.news-more {
  display: flex;
  justify-content: center;
  max-width: 1280px;
  margin: 34px auto 0;
}

.news-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  padding: 15px 28px;
  border: 1px solid var(--accent-dark);
  color: var(--accent-dark);
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease;
}

.news-more a:hover {
  background: var(--accent-dark);
  color: #fff;
}

.yard-card {
  padding: 24px;
}

.yard-list {
  grid-template-columns: 1fr;
  gap: 28px;
}

.yard-list .yard-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.yard-card__info {
  padding: 34px;
}

.yard-card dl,
.company-table {
  display: grid;
  gap: 0;margin:0;
}

.company-page {
  display: grid;
  gap: 58px;
}

.company-section {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.company-heading {
  margin-bottom: 22px;
}

.company-heading span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.company-heading span::after {
  content: "";
  width: 64px;
  height: 1px;
  background: currentColor;
}

.company-heading h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
}

.company-message__body,
.company-text {
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}
.company-message__body {
  display: grid;font-size: 18px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

.company-message__image {
  margin: 0;
  overflow: hidden;
}

.company-message__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.company-message__body p,
.company-text p {
  margin: 0 0 18px;
}

.company-sign {
  text-align: right;
  color: var(--ink);
  font-weight: 800;
}

.yard-card dl div,
.company-table div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.company-table div {
  grid-template-columns: 180px 1fr;
  padding: 18px 0;
}

.company-table dd {
  color: var(--ink);
  line-height: 1.85;
}

.company-table dd p {
  margin: 0;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.company-table dd p:first-child {
  padding-top: 0;
  border-top: 0;
}

.company-table strong {
  color: var(--accent-dark);
}

.company-table--license dt {
  color: var(--ink);
}

.company-text h3 {
  margin: 30px 0 12px;
  color: var(--accent-dark);
  font-size: 22px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
}

.map-link {
  display: inline-flex;
  margin-top: 18px;
  padding: 11px 14px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  font-weight: 700;
}

.yard-map {
  min-height: 360px;
  background: #eef3f8;
}

.yard-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.process article {
  padding: 34px;
  border-right: 1px solid var(--line);
}

.process article:last-child {
  border-right: 0;
}

.process span {
  color: var(--accent-dark);
  font-weight: 800;
}

.process strong {
  display: block;
  margin-top: 16px;
  font-size: 28px;
}

.flow-section {
  display: grid;
  gap: 34px;
}

.flow-lead {
  max-width: 1280px;
  margin: 0 auto;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.flow-lead a,
.flow-step__body a {
  color: var(--accent-dark);
  font-weight: 800;
}

.flow-ribbon {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1280px;
  margin: 0 auto 18px;
  overflow: hidden;
  background: #0b8fc5;
}

.flow-ribbon span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 12px 28px 12px 22px;
  background: var(--accent-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.flow-ribbon span:nth-child(even) {
  background: #1683c5;
}

.flow-ribbon span::after {
  content: "";
  position: absolute;
  top: 0;
  right: -28px;
  z-index: 2;
  width: 0;
  height: 0;
  border-top: 35px solid transparent;
  border-bottom: 35px solid transparent;
  border-left: 28px solid currentColor;
  color: inherit;
}

.flow-ribbon span:nth-child(odd)::after {
  border-left-color: var(--accent-dark);
}

.flow-ribbon span:nth-child(even)::after {
  border-left-color: #1683c5;
}

.flow-ribbon span:last-child::after {
  display: none;
}

.flow-steps {
  display: grid;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 300px 260px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--accent-dark);
  background: #fff;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 34px;
  height: 34px;
  border-right: 1px solid var(--accent-dark);
  border-bottom: 1px solid var(--accent-dark);
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.flow-step__head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.flow-step__head span {
  display: inline-block;
  color: var(--accent-dark);
  font-size: clamp(42px, 5vw, 58px);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  border-bottom: 3px solid currentColor;
}

.flow-step__head h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.45;
}

.flow-step figure {
  margin: 0;
  overflow: hidden;
}

.flow-step img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.flow-step__body {
  color: var(--ink);
  line-height: 1.9;
}

.flow-step__body p {
  margin: 0 0 10px;
}

.flow-step__body p:last-child {
  margin-bottom: 0;
}

.company-table {
  border-top: 1px solid var(--line);
}

.news-list article {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.news-list h3 {
  margin: 0;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 88px 32px;
  background: var(--dark);
  color: #fff;
}

.contact > div {
  max-width: 780px;
  margin: 0 auto;
}

.contact p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-actions {
  flex-direction: column;
  margin-top: 0;
}

.contact-list {
  max-width: 900px;
  margin: 0 auto;
}

.contact-page {
  display: grid;
  gap: 42px;
}

.contact-note {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}

.contact-note p,
.contact-note small {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.contact-note > p:first-child {
  color: var(--ink);
  font-weight: 800;
}

.contact-form-lead {
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.contact-phone-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.contact-phone-list a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 118px;
  padding: 20px;
  background: #f7faff;
  color: var(--ink);
}

.contact-phone-list strong {
  font-size: 15px;
}

.contact-phone-list span {
  color: var(--accent-dark);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0;
}

.contact-form {
  display: grid;
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.form-row:has(textarea) {
  align-items: start;
}

.form-row label,
.form-row legend {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}


.form-required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: #d9363e;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: middle;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #d9e0ea;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.form-row input,
.form-row select {
  min-height: 46px;
  padding: 10px 12px;
}

.form-row select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent-dark) 50%),
    linear-gradient(135deg, var(--accent-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 15px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.form-row textarea {
  min-height: 190px;
  padding: 12px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid rgba(0, 100, 200, 0.24);
  border-color: var(--accent-dark);
}

.form-row--fieldset {
  border-right: 0;
  border-left: 0;
  border-top: 0;
}

.radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.radio-group input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent-dark);
}

.form-cautions {
  display: grid;
  gap: 14px;
  padding: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.form-cautions ul,
.privacy-summary ol {
  margin: 0;
  padding-left: 1.3em;
}

.form-cautions p {
  margin: 0;
}

.form-submit {
  justify-self: center;
  min-width: 220px;
  margin-top: 30px;
  padding: 16px 32px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-privacy {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.9;
}

.contact-privacy h2,
.contact-privacy h3,
.contact-privacy p {
  margin: 0;
}

.contact-privacy h2 {
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
}

.contact-privacy h3 {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 18px;
}

.privacy-summary {
  max-width: 980px;
  margin: 18px auto 0;
  padding: 32px;
  background: #f6f9fd;
  color: var(--muted);
  line-height: 1.9;
}

.privacy-summary h2 {
  margin-top: 0;
  color: var(--ink);
}

.footer-contact {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 78px 42px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 13, 26, 0.82), rgba(5, 20, 36, 0.66)),
    url("../image/industrial-yard.webp") center / cover;
}

.footer-contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.footer-contact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  gap: 58px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-contact__copy {
  padding-right: 52px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-contact__copy span {
  display: block;
  margin-bottom: 14px;
}

.footer-contact__copy h2 {
  margin: 0 0 34px;
  font-size: clamp(32px, 4.7vw, 56px);
  line-height: 1.1;
}

.footer-contact__copy p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
}

.footer-contact__actions {
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.footer-contact__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
}

.footer-contact__phone svg,
.footer-contact__button svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact__hours {
  margin: -10px 0 4px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.footer-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: min(350px, 100%);
  padding: 22px 34px;
  background:var(--accent-dark);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.footer {
  background: #0b0e0d;
  color: #fff;
  padding: 0 42px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, 1.4fr) 180px;
  align-items: start;
  gap: 42px;align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 0 34px;
}

.footer p,
.footer small {
  color: rgba(255, 255, 255, 0.58);margin: 0;
}

.footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 14px 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer small {
  grid-column: 1 / -1;
  padding-top: 26px;text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: grid;
  gap:8px;
}

.footer-logo img {
  width: 256px;
  max-width: 100%;
}

.footer-menu a {
  position: relative;
  padding-left: 14px;
}

.footer-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent-dark);
}

.footer-qr {
  display: grid;
  justify-items: center;
}

.footer-qr img {
  width:110px;
  aspect-ratio: 1;
  object-fit: contain;
}

@media (max-width: 1060px) {
  .header-phone {
    display: none;
  }

  .site-header {
    height: auto;
    min-height: 76px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .desktop-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .split,
  .greeting,
  .contact {
    grid-template-columns: 1fr;
  }

  .price-grid,
  .materials-grid,
  .purchase-grid,
  .home-material-grid,
  .equipment-photo-grid,
  .reason-grid,
  .why-grid,
  .yard-grid,
  .equipment-grid,
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-panel {
    position: static;
  }

  .greeting {
    gap: 34px;
  }

  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yard-list {
    grid-template-columns: 1fr;
  }

  .yard-list .yard-card {
    grid-template-columns: 1fr;
  }

  .footer-contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-contact__copy {
    padding-right: 0;
    padding-bottom: 36px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  }

  .flow-ribbon {
    grid-template-columns: 1fr;
  }

  .flow-ribbon span {
    min-height: 54px;
    padding: 12px;
  }

  .flow-ribbon span::after {
    display: none;
  }

  .flow-step {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-qr {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0 18px;
  }

  .logo {
    min-width: 0;
    font-size: 14px;
  }

  .hero-inner,
  .page-hero-inner,
  .section,
  .contact,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;padding-top: 54px;
        padding-bottom: 54px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero p {
    font-size: 16px;
  }

  .page-hero-inner {
    width: calc(100% - 36px);
    min-height: 86px;
    padding-left: 0;
    padding-right: 0;
  }

  .page-hero-inner span {
    font-size: clamp(58px, 18vw, 84px);
  }

  .page-hero-inner h1 {
    font-size: 34px;
  }

  .greeting-heading {
    min-height: 86px;
    margin-bottom: 18px;
  }

  .greeting-heading span {
    left: 0;
  }
  .home-recommend-section .greeting-heading span {
    left:50%;
  }
  .greeting-heading h2 {
    padding-top: 28px;
  }

  .outline-heading {
    min-height: 100px;
  }

  .outline-heading > span {
    max-width: 100%;
    overflow: hidden;
  }

  .button,
  .actions {
    width: 100%;display: none;
  }

  .price-grid,
  .materials-grid,
  .purchase-grid,
  .why-grid,
  .yard-grid,
  .equipment-grid,
  .summary-grid,
  .process,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .equipment-photo-grid {
    grid-template-columns: 1fr;
  }

  .equipment-photo-card div {
    min-height: 0;
  }

  .yard-card__info {
    padding: 24px;
  }

  .yard-map,
  .yard-map iframe {
    min-height: 240px;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }
.reason-card span{font-size: 38px;}
  .reason-card {
    min-height: auto;padding-top: 78px;
  }
.reason-card h3{font-size: 20px;}
.reason-card p{font-size: 14px;}
  .home-material-card,
  .home-material-card img {
    min-height: 230px;
  }

  .home-material-card__arrow {
    left: 22px;
    bottom: 24px;
  }

  .home-material-card__text {
    left: 22px;
    right: 22px;
    top:38px;
    gap: 12px;
  }

  .home-material-card__text strong {
    font-size:18px;
  }

  .home-material-card__text small {
    font-size: 14px;
  }

  .process article,
  .process article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .news-list article,
  .yard-card dl div,
  .company-table div,
  .notice-list__item {
    gap: 4px;
  }

  .notice-list__item {
    position: relative;
    grid-template-columns: 1fr 24px;
    grid-template-areas:
      "date arrow"
      "title arrow";
    gap: 6px 14px;
    padding-right: 0;
  }

  .notice-list__item time {
    grid-area: date;
  }

  .notice-list__item span {
    grid-area: title;
  }

  .notice-list__item svg {
    position: static;
    grid-area: arrow;
    align-self: center;
  }

  .contact-actions a {
    display: grid;
  }

  .purchase-tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    border-right: 0;
    border-left: 0;
  }

  .purchase-section {
    padding-top: 48px;
  }

  .purchase-tab-list label {
    min-height: 58px;
    padding: 12px;
    font-size: 14px;
    text-align: center;
  }

  #tab-metal:checked ~ .purchase-panels .purchase-panel--metal,
  #tab-nonmetal:checked ~ .purchase-panels .purchase-panel--nonmetal {
    gap: 40px;
  }

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

  .purchase-category h3 {
    top: 74px;
    padding:12px 18px;
  }

  .purchase-card {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    align-items: stretch;
  }

  .purchase-thumb {
    height: 100%;
  }

  .purchase-card img {
    height: 100%;
    min-height: 142px;
    aspect-ratio: auto;
  }

  .purchase-card div {
    min-height: 0;
    padding: 14px;
  }

  .purchase-card h4 {
    font-size: 16px;
  }

  .purchase-desc {
    font-size: 12px;
    line-height: 1.55;
  }

  .purchase-price {
    font-size: 24px;
  }

  .purchase-price small {
    font-size: 13px;
  }

  .purchase-price .price-text {
    font-size: 16px;
  }

  .flow-section {
    gap: 28px;
  }

  .flow-lead {
    text-align: left;
  }

  .flow-step {
    padding: 22px 18px;
  }

  .flow-step:not(:last-child)::after {
    width: 28px;
    height: 28px;
    bottom: -15px;
  }

  .flow-step__head {
    gap: 16px;
  }

  .contact-note,
  .privacy-summary {
    padding: 22px 18px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .company-page {
    gap: 42px;
  }

  .company-message__body {
    grid-template-columns: 1fr;
    gap: 24px; font-size: 16px;
  }

  .company-table div {
    grid-template-columns: 96px 1fr;
    gap: 8px;
  }

  .company-sign {
    text-align: left;
  }

  .radio-group {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
  }

  .faq-list summary {
    grid-template-columns: 36px 1fr 20px;
    gap: 12px;
    padding: 18px 0;
  }

  .faq-list summary::before,
  .faq-list p::before {
    font-size: 24px;
  }

  

.faq-list p {
    padding: 20px 0 24px 48px;
  }

  .footer-contact {
    min-height: 0;
    padding: 54px 18px;
  }

  .footer-contact__inner {
    gap: 32px;
  }

  .footer-contact__copy {
    padding-bottom: 30px;
    text-align: left;
  }

  .footer-contact__copy h2 {
    margin-bottom: 24px;
  }

  .footer-contact__copy p {
    font-size: 14px;
    line-height: 1.9;
  }

  .footer-contact__phone {
    font-size: 31px;
  }

  .footer-contact__button {
    width: 100%;
    min-width: 0;
    padding: 22px 18px;
    font-size: 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 18px 30px;
  }

  .footer-brand {
    justify-items: center;
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }

  .footer nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer-qr {
    justify-self: stretch;
  }

}


.site-header {
  height: 90px;
  padding: 0 0 0 42px;
  gap: 18px;
  align-items: center;
  background: #fff;
  color: #070b22;
  border-bottom: 1px solid #edf1f8;
  backdrop-filter: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  color: var(--accent-dark);
}

.logo img {
  width: 266px;
  height: auto;
}

.desktop-nav {
  align-self: stretch;
  gap: 0;
  color: #070b22;
  font-size: 16px;
  font-weight: 700;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
}

.desktop-nav a:hover {
  color: var(--accent-dark);
}

.header-phone {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
  border-radius: 0;
  background: var(--accent-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.menu-toggle,
.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  min-height: calc(100dvh - 90px);
  margin-top: 90px;
  background: #e8f4ff;
  color: var(--accent-dark);
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 12s infinite;
}

.hero-slider img:first-child {
  animation-delay: 0s;
}

.hero-slider img:nth-child(2) {
  animation-delay: 6s;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.30) 0 2px, transparent 2px 6px),
    linear-gradient(90deg, rgba(229, 244, 255, 0.95), rgba(229, 244, 255, 0.58), rgba(229, 244, 255, 0.18), transparent);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.84), transparent);
}

.hero-inner {
  min-height: calc(100dvh - 90px);
  padding: 76px 32px 150px;margin:auto;
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--accent-dark);
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.45;
  font-weight: 900;
}

.hero p {
  color: var(--accent-dark);
}

.hero-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-weight: 800;
}

.hero-copy span {
  width: 14px;
  height: 14px;
  background: var(--accent-dark);
  transform: rotate(45deg);
}

.hero-news {
  position: absolute;
  z-index: 2;
  right: 42px;
  bottom: 28px;
  width: min(450px, calc(100% - 84px));
  padding: 28px 44px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
  text-align: center;
}

.hero-news time,
.hero-news a {
  display: block;
}


.hero-news a {
  margin-top: 12px;
  padding: 12px;
  background: var(--accent-dark);
  color: #fff;
  text-align: center;
  font-weight: 900;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 90px;
  bottom: 0;
  height: 170px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 900;
  writing-mode: vertical-rl;
  border-left: 1px solid var(--accent-dark);
  padding-left: 10px;
}

.button.primary {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.page-hero {
  margin-top: 90px;
}

@keyframes heroFade {
  0%,
  45% {
    opacity: 1;
    transform: scale(1);
  }
  50%,
  95% {
    opacity: 0;
    transform: scale(1.035);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider img {
    animation: none;
  }

  .hero-slider img:first-child {
    opacity: 1;
  }
}

@media (max-width: 1320px) {
  .desktop-nav a {
    padding: 0 12px;
  }

  .logo {
    min-width: 230px;
  }

  .logo img {
    width: 230px;
  }
}

@media (max-width: 1060px) {
  .site-header {
    height: 74px;
    min-height: 74px;
    padding: 0 0 0 18px;
  }

  .desktop-nav {
    display: none;
  }

  .header-phone {
    display: none;
    margin-left: auto;
    padding: 0 18px;
    font-size: 13px;
  }

  .menu-button {
    position: relative;
    z-index: 32;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 74px;
    height: 74px;
    margin-left: auto;
    background: var(--accent-dark);
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transform-origin: center;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .menu-toggle:checked + .menu-button span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle:checked + .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-button span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav {
    position: fixed;
    z-index: 30;
    inset: 74px 0 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 16px 22px 34px;
    background: rgba(255, 255, 255, 0.98);
    transform: translateX(100%);
    transition: transform 260ms ease;
  }

  .menu-toggle:checked ~ .mobile-nav {
    transform: translateX(0);
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 0 0 0 16px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.04em;
  }

  .mobile-nav a svg {
    width: 23px;
    height: 23px;
    margin-right: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-menu-info {
    padding-top: 26px;
    text-align: center;
  }

  .mobile-nav .mobile-phone {
    display: inline-flex;
    min-height: auto;
    padding: 0;
    border-bottom: 0;
    color: var(--accent-dark);
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 0.02em;
  }

  .mobile-nav .mobile-phone svg {
    display: none;
  }

  .mobile-menu-info p {
    margin: 6px 0 28px;
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .mobile-nav .mobile-contact {
    justify-content: center;
    gap: 10px;
    min-height: 62px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--accent-dark);
    color: #fff;
    border-bottom: 0;
    font-weight: 800;
  }

  .mobile-nav .mobile-contact svg {
    width: 21px;
    height: 21px;
    margin: 0;
  }

  .hero,
  .page-hero {
    margin-top: 74px;
  }

  .page-hero {
    min-height: 28dvh;
  }

  .hero {
    min-height: calc(100dvh - 74px);
  }
}

@media (max-width: 680px) {
  .logo {
    min-width: 0;
  }

  .logo img {
    width:210px;
  }

  .hero::before {
    width: 100%;
  }

  .hero-inner {
    padding-top: 56px;
    padding-bottom: 230px;justify-content: flex-start;
  }

  .hero-news {
    left: 18px;
    right: 18px;
    bottom: 22px;
    width: auto;
    padding: 20px;
  }

  .scroll-cue {
    display: none;
  }
}

.js-scroll-reveal .scroll-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

@media (prefers-reduced-motion: reduce) {
  .js-scroll-reveal .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


@media (max-width: 680px) {
  .home-recommend-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-recommend-date {
    margin-top: -4px;
    margin-bottom: 24px;
  }

  .home-recommend-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 14px;
    min-height: 98px;
    padding: 14px 12px 14px 16px;
  }

  .home-recommend-card h3 {
    font-size: 16px;
  }

  .home-recommend-card p {
    font-size: 20px;
  }

  .home-recommend-card p small {
    font-size: 12px;
  }

  .home-recommend-card p .price-text {
    font-size: 15px;
  }

  .home-recommend-card img {
    width: 112px;
  }
}

html.cms-loading .notice-list,
html.cms-loading .notice-detail,
html.cms-loading .hero-news {
  visibility: hidden;
}

html.cms-loading .purchase-panels {
  visibility: hidden;
}

html.cms-loading .home-recommend-list,
html.cms-loading .home-material-grid {
  visibility: hidden;
}

.contact-toast {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 16, 29, 0.42);
  animation: contact-toast-fade 180ms ease both;
}

.contact-toast.is-closing {
  animation: contact-toast-fade 180ms ease reverse both;
}

.contact-toast__panel {
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 16, 29, 0.28);
  color: #07101d;
  text-align: center;
}

.contact-toast__panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.4;
}

.contact-toast__panel p {
  margin: 0 0 22px;
  color: #4c5563;
  line-height: 1.8;
}

.contact-toast__panel button {
  min-width: 120px;
  border: 0;
  border-radius: 4px;
  padding: 12px 18px;
  background: #07101d;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@keyframes contact-toast-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}


.remote-guide-section {
  background: #f5f7fa;
  padding-top: 86px;
}

.remote-guide-title {
  margin-bottom: 34px;
}

.remote-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 24px;
  max-width: 1120px;
}

.remote-feature-grid article {
  min-height: 132px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #e7ebf0;
  border-left: 5px solid var(--accent);
}

.remote-feature-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.2;
}

.remote-feature-grid span {
  color: var(--muted);
  line-height: 1.8;
}

.remote-reserve-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto 34px;
  padding: 18px 24px;
  background: #07111f;
  color: #fff;
}

.remote-reserve-bar span {
  display: inline-block;
  margin-right: 12px;
  padding: 5px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.remote-reserve-bar strong {
  font-size: 18px;
  letter-spacing: 0;
}

.remote-reserve-bar a {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
}

.remote-reserve-bar small {
  color: #cdd5df;
  font-weight: 700;
}

.remote-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.remote-info-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid #e7ebf0;
}

.remote-info-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(320px, 42%) minmax(0, 1fr);
  grid-template-rows: none;
}

.remote-info-card figure {
  margin: 0;
  overflow: hidden;
  background: #e8ebef;
}

.remote-info-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.remote-info-card div {
  padding: 26px 28px 30px;
}

.remote-info-card h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.35;
}

.remote-info-card ol {
  margin: 0;
  padding-left: 1.3em;
  color: var(--muted);
  line-height: 1.9;
}

.remote-info-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.remote-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.remote-chip-list li {
  padding: 7px 10px;
  background: #edf3f8;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.remote-caution-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 !important;
}

.remote-caution-list p {
  margin: 0;
  padding: 15px 16px;
  background: #f8fafc;
  border-left: 4px solid #e23b3b;
}

.remote-caution-list strong,
.remote-caution-list span {
  display: block;
}

.remote-caution-list strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 16px;
}

.remote-caution-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .remote-feature-grid,
  .remote-info-grid,
  .remote-caution-list {
    grid-template-columns: 1fr;
  }

  .remote-info-card--wide {
    grid-template-columns: 1fr;
  }

  .remote-reserve-bar {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .remote-guide-section {
    padding-top: 58px;
  }

  .remote-feature-grid strong,
  .remote-reserve-bar a {
    font-size: 22px;
  }

  .remote-info-card div {
    padding: 22px 18px 24px;
  }
}

.remote-flow-link-wrap {
  display: flex;
  justify-content: center;
  margin: 32px auto 0;
  max-width: 1120px;
}

.remote-flow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.remote-flow-link:hover {
  background: #fff;
  color: var(--accent);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .remote-flow-link-wrap {
    margin-top: 24px;
  }

  .remote-flow-link {
    width: 100%;
    min-width: 0;
  }
}

/* Remote purchase layout adjustments */
.remote-guide-section {
  background: transparent;
}

.remote-guide-section > .section-title,
.remote-guide-section > .remote-feature-grid,
.remote-guide-section > .remote-reserve-bar,
.remote-guide-section > .remote-info-grid,
.remote-guide-section > .remote-flow-link-wrap {
  width: min(1280px, calc(100% - 48px));
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.remote-guide-title {
  text-align: center;
}

@media (min-width: 901px) {
  .remote-info-card--wide {
    align-items: stretch;
  }

  .remote-info-card--wide figure {
    height: auto;
    min-height: 100%;
  }

  .remote-info-card--wide img {
    height: 100%;
    min-height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 640px) {
  .remote-guide-section > .section-title,
  .remote-guide-section > .remote-feature-grid,
  .remote-guide-section > .remote-reserve-bar,
  .remote-guide-section > .remote-info-grid,
  .remote-guide-section > .remote-flow-link-wrap {
    width: min(100% - 32px, 1280px);
  }
}

body.material-tab-nonmetal .purchase-tab-list label[for="tab-nonmetal"],
body.material-tab-rare .purchase-tab-list label[for="tab-rare"],
body.material-tab-board .purchase-tab-list label[for="tab-board"],
body.material-tab-metal .purchase-tab-list label[for="tab-metal"] {
  background: var(--accent-dark);
  color: #fff;
}

body.material-tab-nonmetal .purchase-tabs .purchase-panel:not(.purchase-panel--nonmetal),
body.material-tab-rare .purchase-tabs .purchase-panel:not(.purchase-panel--rare),
body.material-tab-board .purchase-tabs .purchase-panel:not(.purchase-panel--board),
body.material-tab-metal .purchase-tabs .purchase-panel:not(.purchase-panel--metal) {
  display: none;
}

body.material-tab-nonmetal .purchase-tabs .purchase-panel--nonmetal,
body.material-tab-rare .purchase-tabs .purchase-panel--rare,
body.material-tab-board .purchase-tabs .purchase-panel--board,
body.material-tab-metal .purchase-tabs .purchase-panel--metal {
  display: grid;
  gap: 54px;
}

.purchase-thumb {
  position: relative;
}

.product-up-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: clamp(54px, 6vw, 86px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
}

.product-up-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-up-badge.is-hidden {
  display: none;
}

.home-recommend-card {
  position: relative;
}

.home-recommend-card .product-up-badge {
  top: 6px;
  right: 6px;
  width: 52px;
}

@media (max-width: 640px) {
  .product-up-badge {
    width: 54px;
  }
}

/* Keep UP badge independent from product image rules. */
.purchase-thumb .product-up-badge {
  width: 78px;
  height: auto;
  aspect-ratio: 1305 / 1205;
  background: transparent;
}

.purchase-card .product-up-badge img,
.purchase-card:hover .product-up-badge img,
.home-recommend-card .product-up-badge img,
.home-recommend-card:hover .product-up-badge img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  transition: none;
  transform: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .purchase-thumb .product-up-badge {
    top: 6px;
    right: 6px;
    width: 42px;
  }
}

.material-category-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 14px;
}

.material-category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 10px 14px;
  background: #1e426f;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.material-category-nav a span {
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.material-category-nav a:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .material-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .material-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .material-category-nav a {
    min-height: 40px;
    font-size: 14px;
  }
}

/* Materials category quick navigation */
.purchase-category h3 {
  position: static;
  top: auto;
  scroll-margin-top: 0;
}

.purchase-category {
  scroll-margin-top: 158px;
}


.material-category-nav-wrap {
  position: relative;
  z-index: 18;
  display: block;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.material-category-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 14px;
  overflow: visible;
}

.material-category-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  background: #1e426f;
  color: #fff;
  border: 1px solid #1e426f;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.material-category-nav a img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  filter: brightness(0) invert(1);
}

.material-category-nav a:hover,
.material-category-nav a.is-active {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.material-nav-button {
  display: none;
}

.material-category-nav-wrap.is-stuck {
  position: fixed;
  top: var(--material-nav-top, 76px);
  left: 50%;
  width: min(1280px, calc(100% - 48px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: stretch;
  padding: 10px 0;
  background: #f5f7fa;
  box-shadow: 0 12px 20px rgba(7, 16, 29, 0.08);
}

.material-category-nav-wrap.is-stuck .material-category-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.material-category-nav-wrap.is-stuck .material-category-nav::-webkit-scrollbar {
  display: none;
}

.material-category-nav-wrap.is-stuck .material-category-nav a {
  flex: 0 0 auto;
  min-width: 178px;
}

.material-category-nav-wrap.is-stuck .material-nav-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 0;
  border: 1px solid #1e426f;
  background: #fff;
  color: #1e426f;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.material-category-nav-wrap.is-stuck .material-nav-button svg {
  width: 100%;
  height: 100%;
  padding: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.material-category-nav-wrap.is-stuck .material-nav-button:hover {
  background: #1e426f;
  color: #fff;
}

body.material-tab-nonmetal .purchase-tab-list label:not([for="tab-nonmetal"]),
body.material-tab-rare .purchase-tab-list label:not([for="tab-rare"]),
body.material-tab-board .purchase-tab-list label:not([for="tab-board"]),
body.material-tab-metal .purchase-tab-list label:not([for="tab-metal"]) {
  background: #11151d;
}

@media (max-width: 960px) {
  .material-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .purchase-category {
    scroll-margin-top: 134px;
  }


  .material-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .material-category-nav a {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 12px;
    gap: 0;
  }

  .material-category-nav a img {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .material-category-nav-wrap.is-stuck {
    top: var(--material-nav-top, 64px);
    width: min(100% - 28px, 1280px);
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 6px;
    padding: 8px 0;
  }

  .material-category-nav-wrap.is-stuck .material-category-nav {
    display: flex;
  }

  .material-category-nav-wrap.is-stuck .material-category-nav a {
    min-width: 148px;
    min-height: 38px;
  }

  .material-category-nav-wrap.is-stuck .material-nav-button {
    width: 36px;
    height: 38px;
    min-width: 36px;
  }

  .material-category-nav-wrap.is-stuck .material-nav-button svg {
    padding: 8px;
  }
}

/* Mobile bottom fixed menu */
.mobile-bottom-menu {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-menu {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: calc(58px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(0, 100, 200, 0.16);
    box-shadow: 0 -8px 24px rgba(7, 16, 29, 0.12);
    backdrop-filter: blur(12px);
  }

  .mobile-bottom-menu a {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    min-width: 0;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    border-right: 1px solid rgba(0, 100, 200, 0.18);
    transition: background 180ms ease, color 180ms ease;
  }

  .mobile-bottom-menu a:last-child {
    border-right: 0;
  }

  .mobile-bottom-menu a:hover,
  .mobile-bottom-menu a:focus-visible {
    background: rgba(0, 100, 200, 0.08);
    color: var(--accent);
  }

  .mobile-bottom-menu svg {
    width: 22px;
    height: 22px;
    fill: none;
    color: var(--accent);
    stroke: var(--accent);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-bottom-menu span {
    display: block;
    white-space: nowrap;
  }
}

/* Mobile bottom menu color alignment */
@media (max-width: 768px) {
  .mobile-bottom-menu a {
    color: var(--accent);
    border-right-color: rgba(0, 100, 200, 0.18);
  }

  .mobile-bottom-menu a:hover,
  .mobile-bottom-menu a:focus-visible {
    background: rgba(0, 100, 200, 0.08);
    color: var(--accent);
  }

  .mobile-bottom-menu svg {
    color: var(--accent);
    stroke: var(--accent);
  }
}

.material-detail-main {
  padding-top: 76px;
  background: #fff;
}
.breadcrumb-box{padding-top:0;padding-bottom:0;}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 700;
}

.material-detail-section {
  padding-top: 24px;
}

.material-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.material-detail-main-image {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background: #f3f6fa;
  overflow: hidden;
}

.material-detail-main-image > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.material-detail-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}

.material-detail-thumb {
  flex: 0 0 92px;
  padding: 0;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
}

.material-detail-thumb.is-active {
  border-color: var(--accent);
}

.material-detail-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.material-detail-info h1 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.25;
}

.material-detail-date,
.material-detail-category,
.material-detail-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.material-detail-category {
  font-weight: 700;
  color: var(--accent-dark);
}

.material-detail-price {
  margin: 22px 0;
  color: #ff0050;
  font-size:clamp(28px, 6vw,48px);
  font-weight: 800;
  line-height: 1.1;
}

.material-detail-price small {
  margin-left: 6px;
  font-size: 18px;
  vertical-align: middle;
}

.material-detail-price .price-text {
  font-size: 26px;
}

.material-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.material-detail-content {
  width: min(1280px, calc(100% - 48px));
  margin: 42px auto 0;
  color: var(--ink);
  line-height: 1.9;
}

.material-detail-empty,
.material-detail-loading {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

@media (max-width: 768px) {
  .material-detail-main {
    padding-top: 64px;
  }

  .breadcrumb,
  .material-detail-layout,
  .material-detail-content,
  .material-detail-empty,
  .material-detail-loading {
    width: min(100% - 32px, 1280px);
  }

  .material-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }


  .material-detail-actions .button {
    width: 100%;
  }
}

.material-detail-phone {
  width: min(980px, calc(100% - 48px));
  margin: 42px auto 0;
  padding: 20px 24px 18px;
  background: #f7fbff;
}

.material-detail-phone > p {
  margin: 0 0 14px;
  color: #e6002d;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.material-detail-yard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.material-detail-yard {
  display: grid;
  gap: 4px;
  padding: 12px;
  min-height: 92px;
  background: #fff;
  border: 1px solid rgba(0, 100, 200, 0.22);
  color: var(--ink);
  text-align: center;
}

.material-detail-yard span {
  color: var(--muted);
  font-size: 13px;
}

.material-detail-yard strong {
  color: var(--accent);
  font-size: 20px;
  line-height: 1.2;
}

.material-detail-yard small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.material-detail-content h2 {
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-size:clamp(18px, 3vw, 22px);
  line-height: 1.35;
}

.material-detail-content img {
  height: auto;
  margin: 16px 0;
}

@media (max-width: 768px) {
  .material-detail-phone {
    width: min(100% - 32px, 980px);
    margin-top: 28px;
    padding: 16px;
  }
  .material-detail-content {
    margin-top: 28px;
  }
  .material-detail-yard-grid {
    grid-template-columns: 1fr;
  }

  .material-detail-yard strong {
    font-size: 18px;
  }
}

/* Material detail layout refinements */
.material-detail-main {
  padding-top: var(--header-height, 76px);
}

.material-detail-section {
  padding-top: 0;
}

.material-detail-layout {
  max-width: none;
}

.material-detail-info h1 {
  margin: 0 0 18px;
}

.material-detail-price {
  margin: 0 0 20px;
}

.material-detail-specs {
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.material-detail-specs div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.material-detail-specs dt {
  color: var(--muted);
  font-size: 14px;
}

.material-detail-specs dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.material-detail-phone,
.material-detail-content {
  width: min(1280px, calc(100% - 48px));
  max-width: 1280px;
}

.material-detail-content h2 {
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  background: #eaf5ff;
}

@media (max-width: 768px) {
  .material-detail-main {
    padding-top: var(--header-height, 64px);
  }
.material-detail-info h1 {
    margin: 0 0 8px;
}
  .material-detail-phone,
  .material-detail-content {
    width: min(100% - 32px, 1280px);
  }

  .material-detail-specs div {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
  }
}

/* Material detail width normalization */
.material-detail-main .breadcrumb,
.material-detail-layout,
.material-detail-phone,
.material-detail-content,
.material-detail-empty,
.material-detail-loading {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.material-detail-phone {
  max-width: 1280px;
}

@media (max-width: 768px) {
  .material-detail-main .breadcrumb,
  .material-detail-layout,
  .material-detail-phone,
  .material-detail-content,
  .material-detail-empty,
  .material-detail-loading {
    width: 100%;
    max-width: 1280px;
  }
}

/* Material detail mobile action buttons */
@media (max-width: 768px) {
  .material-detail-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 24px;
  }

  .material-detail-actions .button {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
  }
}

.material-detail-phone > p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.material-detail-phone > p svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.material-detail-phone > p span {
  display: inline-block;
}

/* Material detail mobile gallery overflow fix */
.material-detail-gallery,
.material-detail-info {
  min-width: 0;
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .material-detail-gallery,
  .material-detail-info,
  .material-detail-main-image,
  .material-detail-thumbs {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .material-detail-main-image > img {
    display: block;
    width: 100%;
    height: auto;
  }

  .material-detail-thumb {
    flex: 0 0 74px;
  }
}

/* Materials mobile list keeps card layout */
@media (max-width: 768px) {
  .purchase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .purchase-card {
    display: block;
  }

  .purchase-thumb {
    height: auto;
  }

  .purchase-card img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .purchase-card div {
    min-height: auto;
    padding: 14px 12px 16px;
  }

  .purchase-price {
    font-size: 22px;
  }

  .purchase-price small {
    font-size: 11px;
  }

  .purchase-price .price-text {
    font-size: 16px;
  }
}

/* Material detail gallery controls */
.material-detail-thumbs-wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.material-detail-thumbs-wrap .material-detail-thumbs {
  margin-top: 0;
}

.material-detail-gallery-btn {
  display: none;
  width: 34px;
  height: 70px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--accent);
  cursor: pointer;
}

.material-detail-thumbs-wrap.has-overflow .material-detail-gallery-btn {
  display: inline-grid;
  place-items: center;
}

.material-detail-gallery-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.material-detail-main-image {
  touch-action: pan-y;
}

@media (max-width: 768px) {
  .material-detail-thumbs-wrap {
    gap: 6px;
  }

  .material-detail-gallery-btn {
    width: 30px;
    height: 56px;
  }
}

/* Home link banners */
.home-link-banners {
  padding-top: 0;
}

.home-link-banners__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
}

.home-link-banner {
  display: block;
  aspect-ratio: 1964 / 444;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0, 44, 105, 0.12);
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-link-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(0, 44, 105, 0.18);
}

.home-link-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .home-link-banners__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-link-banner {
    border-radius: 10px;
  }
}

/* Home new purchase carousel */
.home-new-purchase-section {
  padding-bottom: 40px;
}

.home-new-purchase-heading {
  margin: 0 auto 26px;
  text-align: center;
}

.home-new-purchase-shell {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.home-new-purchase-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) #dbe8f7;
  scrollbar-width: thin;
  padding: 4px 58px 16px;
}

.home-new-purchase-track::-webkit-scrollbar {
  height: 8px;
}

.home-new-purchase-track::-webkit-scrollbar-track {
  background: #dbe8f7;
}

.home-new-purchase-track::-webkit-scrollbar-thumb {
  background: var(--accent);
}

.home-new-purchase-card {
  flex: 0 0 min(282px, 74vw);
  scroll-snap-align: start;
  display: block;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}

.home-new-purchase-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #f3f6fa;
}

.home-new-purchase-card figure > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .25s ease;
}

.home-new-purchase-card:hover figure > img {
  transform: scale(1.04);
}

.home-new-purchase-card div {
  padding: 16px 18px 18px;
}

.home-new-purchase-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
}

.home-new-purchase-card p {
  margin: 0;
  color: #ff0050;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
}

.home-new-purchase-card p small {
  margin-left: 4px;
  font-size: 12px;
}

.home-new-purchase-card p .price-text {
  font-size: 17px;
}

.home-new-purchase-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: none;
  width: 42px;
  height: 74px;
  padding: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--accent);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 44, 105, 0.14);
  transform: translateY(-50%);
}

.home-new-purchase-arrow--prev {
  left: 8px;
}

.home-new-purchase-arrow--next {
  right: 8px;
}

.home-new-purchase-section.has-scroll .home-new-purchase-arrow {
  display: inline-grid;
  place-items: center;
}

.home-new-purchase-arrow:disabled {
  opacity: .35;
  cursor: default;
}

.home-new-purchase-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .home-new-purchase-section {
    padding-bottom: 32px;
  }

  .home-new-purchase-shell {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .home-new-purchase-track {
    gap: 10px;
    padding: 4px 38px 12px;
  }

  .home-new-purchase-card {
    flex-basis: min(160px, 52vw);
  }

  .home-new-purchase-card div {
    padding: 9px 10px 10px;
  }

  .home-new-purchase-card h3 {
    font-size: 12px;
  }

  .home-new-purchase-card p {
    font-size: 16px;
  }

  .home-new-purchase-arrow {
    width: 30px;
    height: 50px;
  }

  .home-new-purchase-arrow--prev {
    left: 8px;
  }

  .home-new-purchase-arrow--next {
    right: 8px;
  }
}


/* Material detail related items */
.material-detail-related {
  width: 100%;
  max-width: 1280px;
  margin: 42px auto 0;
}

.material-detail-related h2 {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 4px solid var(--accent);
  background: #eaf5ff;
  color: var(--ink);
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.35;
}

.material-detail-related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .material-detail-related {
    width: 100%;
    max-width: 1280px;
    margin-top: 30px;
  }

  .material-detail-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
  }

  .material-detail-related-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    min-height: 0;
  }

  .material-detail-related-card .purchase-thumb {
    height: auto;
  }

  .material-detail-related-card .purchase-thumb > img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .material-detail-related-card > div {
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    padding: 12px 14px;
  }

  .material-detail-related-card h4 {
    font-size: 14px;
    line-height: 1.35;
  }

  .material-detail-related-card .purchase-price {
    margin-top: 8px;
    font-size: 22px;
  }

  .material-detail-related-card .purchase-price small {
    font-size: 11px;
  }

  .material-detail-related-card .purchase-price .price-text {
    font-size: 15px;
  }

  .material-detail-related-card .product-up-badge {
    width: 42px;
    max-width: 42px;
  }
}
