@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Raleway:wght@400;600;700&display=swap');

:root {
  --primary: #0d2345;
  --primary-2: #152f52;
  --primary-3: #07111f;
  --accent: #d71920;
  --gold: #c8a84b;
  --gold-light: #e8d49e;
  --gold-deep: #8a6a12;
  --bg: #f4f7fb;
  --white: #ffffff;
  --text: #1a1a2e;
  --mid: #2e3a51;
  --light: #718096;
  --border: #e2e8f0;
  --shadow: 0 18px 50px rgba(7, 17, 31, 0.18);
  --max: 1200px;
}

@property --lens-core-alpha {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 50%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

#header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(13, 35, 69, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
  box-shadow: 0 8px 30px rgba(7, 17, 31, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  height: 76px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo-panel {
  display: block;
  width: 260px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 3px solid var(--accent);
}

.logo-panel img {
  width: 100%;
}

.pc-nav {
  display: flex;
  align-items: center;
}

.pc-nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 76px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.pc-nav a::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.pc-nav a:hover,
.pc-nav a.active {
  color: var(--white);
}

.pc-nav a:hover::after,
.pc-nav a.active::after {
  transform: scaleX(1);
}

.pc-nav .nav-contact {
  height: auto;
  margin-left: 12px;
  padding: 10px 20px;
  color: var(--white);
  background: var(--accent);
  border-radius: 4px;
}

.pc-nav .nav-contact::after {
  display: none;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

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

.sp-nav {
  position: fixed;
  top: 76px;
  right: 0;
  left: 0;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  background: #0a1c3a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: max-height 0.35s ease;
}

.sp-nav.open {
  max-height: 360px;
}

.sp-nav a {
  display: block;
  padding: 15px 28px;
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-nav .sp-contact {
  color: var(--gold-light);
}

#hero {
  position: relative;
  min-height: 720px;
  height: 100vh;
  overflow: hidden;
  color: var(--white);
  background: var(--primary-3);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: none;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: none;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(110deg, rgba(7, 17, 31, 0.78) 0%, rgba(13, 35, 69, 0.68) 48%, rgba(13, 35, 69, 0.25) 100%),
    linear-gradient(0deg, rgba(7, 17, 31, 0.25), rgba(7, 17, 31, 0.25));
}

.slide-1 {
  background-image: url('../images/product-binoculars.jpg');
}

.slide-2 {
  background-image: url('../images/product-scope.jpg');
}

.slide-3 {
  background-image: url('../images/product-artscope-group.jpg');
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 76px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease 0.18s, transform 0.75s ease 0.18s;
}

.hero-slide.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-badge,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-family: 'Raleway', sans-serif;
  font-size: 0.875rem;
  /* font-weight: 700; */
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-badge {
  padding: 7px 16px;
  margin-bottom: 22px;
  background: rgba(200, 168, 75, 0.15);
  border: 1px solid rgba(200, 168, 75, 0.42);
  border-radius: 2px;
}

.hero-badge::before,
.section-label::before {
  width: 6px;
  height: 6px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.hero-badge::before {
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.72); }
}

.hero-catch {
  max-width: 765px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.26);
}

.hero-catch span {
  color: var(--gold-light);
}

.hero-sub {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.btn-accent {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #b9141c;
  border-color: #b9141c;
}

.btn-outline {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: none;
  box-shadow: none;
}

.hero-lens {
  position: absolute;
  top: 50%;
  right: 10%;
  z-index: 2;
  width: 48vmin;
  height: 48vmin;
  pointer-events: none;
  transform: translateY(-50%);
}

.hero-lens span {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(200, 168, 75, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-lens span:nth-child(1) { width: 100%; height: 100%; }
.hero-lens span:nth-child(2) { width: 76%; height: 76%; }
.hero-lens span:nth-child(3) { width: 52%; height: 52%; }
.hero-lens span:nth-child(4) {
  --lens-core-alpha: 50%;
  width: 28%;
  height: 28%;
  background: radial-gradient(circle, rgb(232 212 158 / var(--lens-core-alpha)) 0%, rgb(200 168 75 / 40%) 42%, transparent 68%);
  animation: lensCoreFade 3.6s ease-in-out infinite;
}

@keyframes lensCoreFade {
  0%, 100% {
    --lens-core-alpha: 50%;
  }
  50% {
    --lens-core-alpha: 100%;
  }
}

.hero-lens::before,
.hero-lens::after {
  position: absolute;
  content: "";
  background: rgba(200, 168, 75, 0.20);
}
.hero-lens::after {
  background: rgba(200, 168, 75, 0.35);
}

.hero-lens::before {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.hero-lens::after {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(215, 25, 32, 0.85);
}

.hero-prev { left: 28px; }
.hero-next { right: 28px; }

.hero-arrow::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  content: "";
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
}

.hero-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.hero-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.hero-dots {
  position: absolute;
  bottom: 38px;
  left: 50%;
  z-index: 5;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  border-radius: 50%;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hero-dot.active {
  background: var(--accent);
  box-shadow: 0 0 12px rgba(215, 25, 32, 0.55);
  transform: scale(1.45);
}

.hero-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.hero-progress.play span {
  animation: progressBar 5.6s linear forwards;
}

@keyframes progressBar {
  from { width: 0; }
  to { width: 100%; }
}

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 36px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-family: 'Raleway', sans-serif;
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-scroll span {
  width: 1px;
  height: 54px;
  background: linear-gradient(to bottom, var(--accent) 0 48%, rgba(255, 255, 255, 0.2) 48% 100%);
}

.section {
  padding: 88px 0;
}

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

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 168, 75, 0.12), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0d2345 58%, #152f52 100%);
}

.section-title {
  margin: 10px 0 0;
  color: var(--primary);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.38;
}

.section-dark .section-title,
.cta-section .section-title {
  color: var(--white);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--mid);
}

.section-dark .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.intro-section {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.78) 48%, rgba(255, 255, 255, 0.68) 100%),
    url('../images/intro-mountains.jpg');
  background-position: center center, center center;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

.intro-grid {
  display: block;
  max-width: 900px;
  text-align: center;
}

.intro-copy {
max-width: 500px;
  margin: 24px auto 0;
  padding-left: 0;
  border-left: 0;
}

.intro-copy p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 18px);
}

.founding-years {
  color: var(--accent);
}

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

#products-top > .section-heading,
#products-top > .product-card-grid {
  width: min(100% - 48px, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.prod-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: var(--primary);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.prod-card:hover {
  border-color: rgba(215, 25, 32, 0.7);
  transform: translateY(-8px);
}

.prod-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transform: scale(1.04);
  transition: opacity 0.35s ease, transform 0.45s ease, filter 0.35s ease;
}

.prod-card:hover img {
  opacity: 1;
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.09);
}

.prod-card::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.18), rgba(7, 17, 31, 0.82));
  transition: background 0.35s ease;
}

.prod-card:hover::before {
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.08), rgba(7, 17, 31, 0.58));
}

.prod-card::after {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 2;
  width: 46px;
  height: 46px;
  content: "";
  border: 1px solid rgba(200, 168, 75, 0.55);
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px rgba(200, 168, 75, 0.20);
}

.prod-card .prod-card-body::before {
  display: block;
  width: 42px;
  height: 2px;
  margin-bottom: 18px;
  content: "";
  background: var(--accent);
  transform: scaleX(0.6);
  transform-origin: left center;
  transition: transform 0.28s ease;
}

.prod-card:hover .prod-card-body::before {
  transform: scaleX(1.15);
}

.prod-num {
  position: absolute;
  top: 30px;
  right: 24px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
  font-family: 'Raleway', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.prod-num.new {
  color: var(--white);
  padding: 3px 9px;
  background: var(--accent);
  border-radius: 999px;
}

.prod-card-body {
  position: absolute;
  right: 24px;
  bottom: 26px;
  left: 24px;
  z-index: 2;
}

.prod-card h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.45;
}

.prod-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.news-list {
  margin-top: 24px;
}

.news-item {
  display: grid;
  grid-template-columns: 116px 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.news-item:first-child {
  border-top: 1px solid var(--border);
}

.news-list .news-item:nth-child(2) {
  transition-delay: 0.12s;
}

.news-list .news-item:nth-child(3) {
  transition-delay: 0.24s;
}

.news-list .news-item:nth-child(4) {
  transition-delay: 0.36s;
}

.news-date {
  color: var(--primary);
  font-family: 'Raleway', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
}

.news-tag {
  display: inline-flex;
  justify-content: center;
  padding: 4px 10px;
  color: var(--white);
  background: var(--accent);
  border-radius: 2px;
  font-size: 0.875rem;
  font-weight: 700;
}

.news-text {
  color: var(--mid);
  font-size: 0.94rem;
}

.cta-section {
  padding: 70px 0;
  color: var(--white);
  background: linear-gradient(135deg, #0d2345 0%, #1a4a7a 100%);
}

.cta-inner {
  width: min(100% - 48px, var(--max));
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.cta-inner h2 {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.45;
}

.cta-inner p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.tel-link {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  color: var(--white);
  font-size: 1.24rem;
  font-weight: 700;
}

.footer {
  color: rgba(255, 255, 255, 0.7);
  background: #07111f;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  width: min(100% - 48px, var(--max));
  margin-right: auto;
  margin-left: auto;
  padding: 46px 0;
}

.footer-name {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 700;
}

.footer p {
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.footer a:hover {
  color: var(--white);
}

.copyright {
  margin: 0;
  padding: 16px 24px;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding-top: 76px;
  color: var(--white);
  overflow: hidden;
  background: var(--primary);
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
   linear-gradient(110deg, rgba(7, 17, 31, 0.82), rgb(13 35 69 / 20%)), url(../images/product-monocular-lineup.jpg) center / cover no-repeat;
  }

.company-hero::before {
  background:
    linear-gradient(110deg, rgba(7, 17, 31, 0.82), rgb(13 35 69 / 20%)),
    url(../images/company-hero.jpg) center / cover no-repeat;
}

.contact-hero::before {
  background:
    linear-gradient(110deg, rgba(7, 17, 31, 0.82), rgb(13 35 69 / 20%)),
    url(../images/contact-hero.jpg) center / cover no-repeat;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.page-hero h1 {
  margin: 8px 0 0;
  font-size:clamp(24px, 5vw, 42px);
  line-height: 1.2;
}

.page-hero p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
  display: flex;
  gap: 12px;
  width: min(100% - 48px, var(--max));
  margin-right: auto;
  margin-left: auto;
  padding: 14px 0;
  color: var(--light);
  font-size: 0.875rem;
}

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

.breadcrumb span::before {
  content: "/";
  margin-right: 12px;
  color: var(--border);
}

.anchor-nav {
  display: none;
  position: sticky;
  top: 76px;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.anchor-nav-inner {
  display: flex;
  gap: 8px;
  width: min(100% - 48px, var(--max));
  margin-right: auto;
  margin-left: auto;
  overflow-x: auto;
  padding: 12px 0;
}

.anchor-nav a {
  flex: 0 0 auto;
  padding: 8px 16px;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.anchor-nav a:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.product-section {
  padding: 88px 0;
  scroll-margin-top: 136px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 58px;
  align-items: center;
  width: min(100% - 48px, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.product-layout.reverse {
  grid-template-columns: minmax(360px, 1.1fr) minmax(0, 0.9fr);
}

.product-layout.reverse .product-text {
  order: 2;
}

.product-text h2 {
  margin: 10px 0 0;
  color: var(--primary);
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.32;
}

.product-catch {
  margin: 22px 0 18px;
  color: var(--accent);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
}

.product-text p:not(.product-catch) {
  color: var(--mid);
}

.product-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--primary);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-image::before {
  position: absolute;
  inset: 16px;
  z-index: 1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
}

.product-image img {
  width: 100%;
  aspect-ratio: 4 / 2.7;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-image:hover img {
  transform: scale(1.04);
}

.product-new {
  background:
    radial-gradient(circle at 82% 18%, rgba(215, 25, 32, 0.12), transparent 30%),
    linear-gradient(135deg, #f7f8fb, #eef2f7);
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


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

  .hamburger {
    display: block;
  }

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

  .product-layout,
  .product-layout.reverse {
    grid-template-columns: 1fr;
  }

  .product-layout.reverse .product-text {
    order: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .header-inner {
    height: 68px;
    padding: 0 16px;
  }

  .logo-panel {
    width: 214px;
    padding: 7px 8px;
  }

  .sp-nav {
    top: 68px;
  }

  #hero {
    min-height: 650px;
    height: 100svh;
  }

  .hero-content {
    padding-top: 68px;
  }

  .hero-catch {
    max-width: 330px;
    font-size: clamp(1.78rem, 8.4vw, 2.4rem);
    line-height: 1.36;
    overflow-wrap: anywhere;
    word-break: keep-all;
  }

  .hero-sub {
    max-width: 340px;
    font-size: 0.95rem;
  }

  .hero-badge {
    max-width: 100%;
    align-items: flex-start;
    white-space: normal;
    line-height: 1.55;
  }

  .hero-lens,
  .hero-arrow,
  .hero-scroll {
    display: none;
  }

  .hero-dots {
    bottom: 24px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .tel-link {
    width: 100%;
  }

  .section,
  .product-section {
    padding: 64px 0;
  }

  .intro-grid {
    max-width: 100%;
  }

  .intro-copy {
    margin-top: 22px;
  }

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

  .prod-card {
    min-height: 310px;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .page-hero {
    min-height: 340px;
    padding-top: 68px;
  }

  .anchor-nav {
    top: 68px;
  }

  .product-section {
    scroll-margin-top: 128px;
  }
}

/* ===== 金色ラベルの視認性調整 ===== */
/* 明るい背景（About Us / News など）では濃い金にして可読性を確保 */
.section-label {
  color: var(--gold-deep);
}
/* 暗い背景（Products / Contact など）では従来の明るい金を維持 */
.section-dark .section-label,
.cta-section .section-label {
  color: var(--gold-light);
}

/* ===== TOPの企業情報セクション（左:会社情報 / 右:Googleマップ） ===== */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.company-map {
  order: 2;
  overflow: hidden;
  line-height: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.company-info {
  order: 1;
}
.company-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}
.company-info .section-label { margin-bottom: 8px; }
.company-info > p { margin: 12px 0 0; color: var(--mid); }
.company-table {
  width: 100%;
  margin-top: 22px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(13, 35, 69, 0.34);
  border-collapse: separate;
  border-spacing: 0;
}
.company-table th,
.company-table td {
  padding: 16px 20px;
  font-size: 0.95rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(13, 35, 69, 0.12);
}
.company-table th {
  position: relative;
  width: 140px;
  white-space: nowrap;
  color: var(--white);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.company-table td {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.96);
}
.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}
@media (max-width: 760px) {
  .company-table:not(.history-table),
  .company-table:not(.history-table) tbody,
  .company-table:not(.history-table) tr,
  .company-table:not(.history-table) th,
  .company-table:not(.history-table) td {
    display: block;
    width: 100%;
  }
  .company-table:not(.history-table) tr {
    border-bottom: 1px solid rgba(13, 35, 69, 0.12);
  }
  .company-table:not(.history-table) tr:last-child {
    border-bottom: 0;
  }
  .company-table:not(.history-table) th {
    padding: 10px 16px 10px 20px;
    border-bottom: 0;
  }
  .company-table:not(.history-table) td {
    padding: 13px 16px 17px 20px;
    border-bottom: 0;
  }
}
@media (max-width: 880px) {
  .company-grid { grid-template-columns: 1fr; gap: 28px; }
  .company-map { order: 2; }
  .company-info { order: 1; }
  .company-map iframe { min-height: 260px; }
}

/* ===== 企業情報ページ (company.html) 専用 ===== */
.company-h2 {
  margin: 8px 0 0;
  color: var(--primary);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
}
.company-heading { margin-bottom: 28px; }
.greeting-body {
  max-width: 820px;
  margin: 22px auto 0;
}
.greeting-body p {
  margin: 0 0 1.4em;
  color: var(--mid);
  font-size: 1.02rem;
}
.greeting-body p:last-child { margin-bottom: 0; }
.info-table {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.history-table {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.history-table tbody {
  position: relative;
  display: grid;
  gap: 18px;
}
.history-table tbody::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 174px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg, rgba(215, 25, 32, 0), rgba(215, 25, 32, 0.45), rgba(215, 25, 32, 0));
}
.history-table tr {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.history-table tr::before {
  position: absolute;
  top: 23px;
  left: 166px;
  z-index: 1;
  width: 17px;
  height: 17px;
  content: "";
  background: var(--accent);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(215, 25, 32, 0.35);
}
.history-table th,
.history-table td {
  border-bottom: 0;
}
.history-table th {
  width: auto;
  padding: 16px 0 0;
  color: var(--gold-deep);
  font-weight: 700;
  white-space: normal;
  background: transparent;
}
.history-table th::before {
  content: none;
}

@media (max-width: 760px) {
  .history-table tbody {
    gap: 16px;
  }
  .history-table tbody::before {
    left: 8px;
  }
  .history-table tr {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 28px;
  }
  .history-table tr::before {
    top: 8px;
    left: 0;
  }
  .history-table th {
    padding: 0;
  }
  .history-table td {
    padding: 15px 16px;
  }
}
.access-lead {
  margin: 0 0 14px;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
}
.access-grid { align-items: start; }
