/* ============================================
   株式会社イクザス コーポレートサイト
   style.css
   ============================================ */

/* ============================================
   PAGE BANNER（内部ページ共通ヘッダー）
   ============================================ */
.page-banner {
  padding: 7.5rem 0 3.5rem;
  background: linear-gradient(135deg, #eaf2e4 0%, #f8f5f0 100%);
  text-align: center;
  margin-top: 70px;
}
.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--green); }
.breadcrumb span { margin: 0 0.4rem; color: var(--border); }
.page-banner-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.page-banner h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--bg-dark);
}

/* ============================================
   COMPANY INFO TABLE
   ============================================ */
.company-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 800px;
  margin: 0 auto;
}
.company-table th,
.company-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}
.company-table th {
  width: 200px;
  background: var(--bg-alt);
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   HISTORY TIMELINE
   ============================================ */
.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}
.timeline-year {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.timeline-text { font-size: 0.9rem; line-height: 1.7; }

/* ============================================
   CERTIFICATION CARDS
   ============================================ */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.cert-card {
  flex: 1 1 calc(50% - 1rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.cert-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}
.cert-icon svg { width: 26px; height: 26px; }
.cert-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.cert-card p  { font-size: 0.83rem; color: var(--text-light); line-height: 1.75; }

/* ============================================
   RECRUIT
   ============================================ */
.positions-list {
  border-top: 1px solid var(--border);
}
.position-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.position-badge {
  font-size: 0.75rem;
  padding: 0.3rem 1rem;
  background: var(--green);
  color: var(--white);
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.position-body { flex: 1; }
.position-title { font-size: 1rem; font-weight: 500; }
.position-dept  { font-size: 0.8rem; color: var(--text-light); margin-top: 0.2rem; }
.position-desc  { font-size: 0.82rem; color: var(--text-light); margin-top: 0.5rem; line-height: 1.7; }

/* ============================================
   CONTACT INFO CARDS
   ============================================ */
.contact-cards {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
}
.contact-card {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-alt);
  border-radius: 8px;
}
.contact-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--green);
}
.contact-card-icon svg { width: 100%; height: 100%; }
.contact-card h3 { font-size: 0.88rem; margin-bottom: 0.5rem; }
.contact-card p, .contact-card a { font-size: 0.83rem; color: var(--text-light); }
.contact-card a:hover { color: var(--green); }

/* ============================================
   NEWS LIST
   ============================================ */
.news-list { border-top: 1px solid var(--border); }
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--tr);
}
.news-item:hover { padding-left: 0.75rem; }
.news-meta { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.news-date { font-size: 0.8rem; color: var(--text-light); white-space: nowrap; }
.news-cat  {
  font-size: 0.7rem;
  padding: 0.2rem 0.75rem;
  border: 1px solid var(--green);
  color: var(--green);
  border-radius: 2px;
  white-space: nowrap;
}
.news-title a { font-size: 0.9rem; line-height: 1.6; }
.news-title a:hover { color: var(--green); }

/* ============================================
   RESPONSIVE 追加分
   ============================================ */
@media (max-width: 768px) {
  .page-banner { padding: 6rem 0 2.5rem; }
  .cert-card { flex: 1 1 100%; }
  .contact-cards { flex-direction: column; }
  .position-item { flex-wrap: wrap; gap: 0.75rem; }
}
@media (max-width: 480px) {
  .company-table th { width: 100px; }
  .cert-card { flex-direction: column; }
}

/* ===== CSS Variables ===== */
:root {
  --green:        #4A7A4A;
  --green-light:  #6B9E5E;
  --green-dark:   #2D5A2D;
  --gold:         #B8935A;
  --bg:           #FFFFFF;
  --bg-alt:       #F5F2EC;
  --bg-dark:      #1E2A1E;
  --text:         #2A2A2A;
  --text-light:   #777777;
  --border:       #E8E2D8;
  --white:        #FFFFFF;
  --font-ja:      'Noto Sans JP', sans-serif;
  --font-en:      'Cormorant Garamond', serif;
  --font-mincho:  '游明朝', YuMincho, 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', 'HG明朝E', 'MS P明朝', serif;
  --max-w:        1140px;
  --radius:       4px;
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --tr:           0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--green); }
ul { list-style: none; }
em { font-style: normal; }

/* ===== Utility ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.pc-only { display: inline; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-ja);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--tr);
  text-align: center;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
}
.btn-sm  { padding: 0.55rem 1.5rem; font-size: 0.82rem; }
.btn-lg  { padding: 1rem 3rem; font-size: 0.95rem; }

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}
.title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.title-ja {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.title-ja::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.title-sub {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ===== Section Label (左寄せ) ===== */
.section-label { margin-bottom: 1.5rem; }
.label-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.label-ja {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* ===== Image Placeholder ===== */
.img-placeholder {
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 260px;
  border-radius: 6px;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--border);
  border: 1px solid var(--border);
}
.img-rect  { height: 420px; }
.img-map   { height: 380px; border-radius: 6px; }

/* ===== Fade-in ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--tr);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
}
.header__logo a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
}
.header-logo-mark {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header-logo-text .logo-ja {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.06em;
}
.logo-en {
  font-family: var(--font-en);
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  color: var(--green-dark);
}
.logo-ja {
  font-size: 0.62rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-list li a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  position: relative;
}
.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width var(--tr);
}
.nav-list li a:hover::after { width: 60%; }
.nav-cta { margin-left: 0.75rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--tr);
}
.hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-dark);
  padding-top: 70px;
  overflow: hidden;
}
.hero-photos {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-photo.is-active { opacity: 1; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20,26,20,0.35);
  z-index: 0;
}
.hero-text-inner {
  transition: opacity 0.4s ease;
}
.hero-text-inner.is-fading { opacity: 0; }

/* スライド切り替えドット */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s ease, width 0.3s ease;
}
.hero-dot.is-active {
  background: var(--white);
  width: 22px;
  border-radius: 4px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 1;
}

/* テキスト側 */
.hero-text {
  max-width: 1040px;
  text-align: center;
}
.hero-tag {
  font-family: var(--font-ja);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: #f3e2c9;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.75);
}
.hero-tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #f3e2c9;
}
.hero-tag--below {
  margin-top: 1.4rem;
  margin-bottom: 0;
  font-family: var(--font-mincho);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: none;
}
.hero-tag--below::before { content: none; }
.hero-title {
  font-family: var(--font-mincho);
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
}
.hero-title em {
  display: block;
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  color: #f3e2c9;
  font-style: normal;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.7);
}
.hero-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.65);
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.hero-btns .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-dark);
  font-weight: 600;
}
.hero-btns .btn-primary:hover {
  background: #d4ac78;
  border-color: #d4ac78;
}
.hero-btns .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.hero-btns .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}
.hero-certbadge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.06);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  margin: 0 auto;
}
.hero-certbadge svg { color: var(--gold); }

/* ============================================
   ABOUT
   ============================================ */
.about-inner {
  display: flex;
  align-items: center;
  gap: 5rem;
  margin-bottom: 4rem;
}
.about-image { flex: 1; }
.about-content { flex: 1; }
.about-lead {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--green-dark);
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
  font-style: normal;
}
.about-text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2.1;
  margin-bottom: 2rem;
}

/* Stats */
.stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.stat-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 300;
  color: var(--green-dark);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.stat-num small { font-size: 0.9rem; }
.stat-label { font-size: 0.78rem; color: var(--text-light); letter-spacing: 0.05em; }

/* ============================================
   PRODUCTS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--tr), box-shadow var(--tr);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.11);
}
.product-card-image {
  overflow: hidden;
  height: 260px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  padding: 1.25rem;
}
.product-card-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.product-card-image .img-placeholder {
  height: 260px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--border);
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-image .img-placeholder,
.product-card:hover .product-card-image img {
  transform: scale(1.04);
}
.product-card-body { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.product-cat {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--green);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.product-title { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.85rem; }
.product-text  { font-size: 0.86rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1.4rem; flex: 1; }
.product-link  { font-size: 0.82rem; color: var(--green); margin-top: auto; }
.product-link:hover { color: var(--green-dark); }
.product-caution {
  font-size: 0.72rem;
  color: #b5471f;
  background: #fdf1ea;
  border: 1px solid #f1d4c2;
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.product-caution strong { display: block; margin-bottom: 0.2rem; }

/* About mosaic photo grid */
.about-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  height: 420px;
}
.about-mosaic .mosaic-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
}
.about-mosaic img { max-width: 100%; max-height: 100%; object-fit: contain; }


.section-cta { text-align: center; margin-top: 3rem; }

/* ============================================
   QUALITY
   ============================================ */
.quality-grid {
  display: flex;
  gap: 2rem;
}
.quality-item {
  flex: 1;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: 8px;
  border-top: 3px solid var(--green);
  box-shadow: var(--shadow);
}
.quality-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.quality-icon svg { width: 28px; height: 28px; }
.quality-item h3 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.75rem; }
.quality-item p  { font-size: 0.82rem; color: var(--text-light); line-height: 1.8; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--green-dark);
  padding: 5rem 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.cta-banner-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
}
.cta-banner-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-banner-text p { font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.8; }

/* ============================================
   ACCESS
   ============================================ */
.access-inner {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}
.access-map { flex: 1; }
.access-info { flex: 0 0 340px; }
.access-list { display: grid; grid-template-columns: 100px 1fr; gap: 0; }
.access-list dt, .access-list dd {
  padding: 0.9rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  vertical-align: top;
}
.access-list dt { color: var(--text-light); font-weight: 500; background: var(--bg-alt); }
.access-list dd { }
.access-list a { color: var(--green); }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-wrap {
  max-width: 740px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: flex;
  gap: 1.5rem;
}
.form-row .form-group { flex: 1; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.required {
  font-size: 0.7rem;
  color: #c0392b;
  margin-left: 0.3rem;
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-ja);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color var(--tr), background var(--tr);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
}
.form-group textarea { resize: vertical; }
.form-check label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
}
.form-check input[type="checkbox"] { width: auto; accent-color: var(--green); }
.form-check a { color: var(--green); text-decoration: underline; }
.form-submit { text-align: center; margin-top: 2rem; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.65); }
.footer-top {
  display: flex;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}
.footer-brand { flex: 0 0 260px; }
.footer-brand .logo-en { color: var(--white); font-size: 1.3rem; display: block; margin-bottom: 0.25rem; }
.footer-brand .logo-ja { color: rgba(255,255,255,0.45); font-size: 0.62rem; display: block; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.8rem; line-height: 1.9; color: rgba(255,255,255,0.5); }
.footer-nav {
  flex: 1;
  display: flex;
  gap: 3rem;
}
.footer-col h3 {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* ============================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .about-inner { gap: 3rem; }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .access-inner { flex-direction: column; }
  .access-info { flex: 1; width: 100%; }
  .footer-top { flex-direction: column; gap: 2.5rem; }
  .footer-brand { flex: none; }
  .quality-grid { flex-wrap: wrap; }
  .quality-item { flex: 1 1 calc(50% - 1rem); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .about-mosaic { height: 340px; }
}

/* ============================================
   RESPONSIVE — Smartphone (max 768px)
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .pc-only { display: none; }

  /* Hero */
  .hero { padding-top: 70px; }
  .hero-inner {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  /* Header */
  .hamburger { display: flex; }
  .header__nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem 0 2.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .header__nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li a { padding: 0.9rem 2rem; font-size: 0.95rem; }
  .nav-list li a::after { display: none; }
  .nav-cta { margin: 0.75rem 1.5rem 0; }
  .nav-cta .btn { display: block; text-align: center; }

  /* Hero */
  .hero-btns { justify-content: center; }
  .hero-title { font-size: 0.8rem; letter-spacing: 0.06em; }
  .hero-title em { font-size: clamp(1.8rem, 8vw, 2.6rem); }

  /* About */
  .about-inner { flex-direction: column; gap: 2rem; }
  .stats { flex-wrap: wrap; }
  .stat { flex: 1 1 calc(50% - 0px); }

  /* Products */
  .products-grid { grid-template-columns: 1fr; }
  .about-mosaic { height: 300px; }

  /* Quality */
  .quality-grid { flex-direction: column; }
  .quality-item { flex: none; }

  /* CTA Banner */
  .cta-banner { padding: 3.5rem 0; }

  /* Contact */
  .form-row { flex-direction: column; gap: 0; }
  .contact-wrap { padding: 2rem 1.25rem; }

  /* Footer */
  .footer-nav { flex-direction: column; gap: 2rem; }
}

/* ============================================
   RESPONSIVE — Small Smartphone (max 480px)
   ============================================ */
@media (max-width: 480px) {
  .stat { flex: 1 1 100%; }
  .access-list { grid-template-columns: 88px 1fr; }
}
