/* ============================================================
   BASE & RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:  #1e3d0f;
  --green-main:  #2d5a1b;
  --green-mid:   #4a7c28;
  --green-light: #7ab648;
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --cream:       #f7f4ee;
  --white:       #ffffff;
  --text-dark:   #1a1a1a;
  --text-mid:    #444444;
  --text-light:  #777777;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.16);
  --radius:      8px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; object-fit: cover; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.4); }

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-main);
}
.btn-outline:hover { background: var(--green-main); color: var(--white); transform: translateY(-2px); }

.btn-green {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}
.btn-green:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(30,61,15,0.4); }

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

.btn-full { width: 100%; display: block; }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ============================================================
   HEADER
============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: rgba(30,61,15,0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  flex-direction: column;
  color: var(--white);
  line-height: 1.2;
}
.logo-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-top: 2px;
}
#nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
#nav ul li a {
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}
#nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
#nav ul li a:hover::after { width: 100%; }
#nav ul li a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   LANG SWITCHER
============================================================ */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-left: 16px;
}
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lang-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
}

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,30,5,0.72) 0%, rgba(10,30,5,0.45) 60%, rgba(10,30,5,0.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 820px;
  padding: 0 24px;
}
.hero-tag {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-content h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  line-height: 2;
  color: rgba(255,255,255,0.88);
  margin-bottom: 40px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar {
  background: var(--green-dark);
  padding: 18px 0;
  overflow: hidden;
}
.trust-items {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.trust-item:last-child { border-right: none; }
.trust-icon-text {
  font-size: 1.1rem;
}
.trust-icon-img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.85;
}

/* ============================================================
   SECTIONS (common)
============================================================ */
.section { padding: 96px 0; }
.section-light { background: var(--cream); }
.section-dark { background: var(--green-dark); }
.section-green { background: var(--green-main); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header.light .section-tag,
.section-header.light .section-title,
.section-header.light .section-sub { color: var(--white); }
.section-header.light .section-title { color: rgba(255,255,255,0.95); }

.section-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green-mid);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.35;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-mid);
  font-size: 1rem;
}

/* ============================================================
   ABOUT KISSA
============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.about-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img {
  width: 100%;
  height: 460px;
  transition: transform 0.6s ease;
}
.about-img-wrap:hover img { transform: scale(1.04); }
.about-img-badge {
  position: absolute;
  bottom: 24px; right: 24px;
  background: var(--gold);
  color: var(--green-dark);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.about-text h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
  line-height: 1.4;
}
.about-text p {
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.kissa-stats {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--green-main);
  line-height: 1;
}
.stat-num small { font-size: 1.2rem; }
.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 6px;
  font-weight: 500;
}

.kissa-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.kissa-feature {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.kissa-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.kf-img img {
  width: 100%;
  height: 200px;
  transition: transform 0.5s ease;
}
.kissa-feature:hover .kf-img img { transform: scale(1.06); }
.kf-img { overflow: hidden; }
.kissa-feature h4 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--green-dark);
  padding: 20px 20px 8px;
}
.kissa-feature p {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding: 0 20px 20px;
  line-height: 1.7;
}

/* ============================================================
   CERTIFICATIONS
============================================================ */
#certifications.section-dark {
  background: var(--green-dark);
  background-image:
    radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 26px 26px;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 48px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  overflow: hidden;
}
.cert-card {
  background: rgba(255,255,255,0.03);
  border: none;
  border-right: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  padding: 40px 32px;
  text-align: left;
  transition: background var(--transition);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cert-card:nth-child(3n) { border-right: none; }
.cert-card:nth-child(n+4) { border-bottom: none; }
.cert-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.cert-card:hover { background: rgba(255,255,255,0.07); }
.cert-card:hover::before { transform: scaleX(1); }
.cert-icon {
  font-size: 1.9rem;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  min-height: 50px;
  background: rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 6px;
  line-height: 1;
}
.cert-card h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gold-light);
}
.cert-card p { font-size: 0.83rem; color: rgba(255,255,255,0.78); line-height: 1.75; }
.cert-note {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 40px;
}
.cert-note p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 20px; }

/* ============================================================
   COMPETITIVE COMPARISON
============================================================ */
.comparison-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--text-mid);
  font-size: 1rem;
}
.comparison-intro strong { color: var(--green-dark); }

.comparison-table-wrap {
  overflow-x: auto;
  margin-bottom: 64px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  white-space: nowrap;
  background: var(--white);
}
.comparison-table thead th {
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1.4;
}
.comparison-table thead th.highlight {
  background: var(--gold);
  color: var(--green-dark);
}
.comparison-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.03); }
.comparison-table tbody td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.comparison-table tbody td.highlight {
  background: rgba(201,168,76,0.12);
  font-weight: 700;
}
.comparison-table tbody td.row-label {
  text-align: left;
  font-weight: 600;
  color: var(--green-dark);
  background: rgba(45,90,27,0.05);
  white-space: normal;
}
.check { color: var(--green-mid); font-size: 1.2rem; font-weight: 900; }
.cross { color: #bbb; font-size: 1rem; }
.table-note { font-size: 0.75rem; color: var(--text-light); margin-top: 12px; padding: 0 8px; }

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green-main);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.why-card h4 { font-size: 1.05rem; font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.why-card p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   QUALITY
============================================================ */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.quality-img img {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.quality-item {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.quality-item:last-child { border-bottom: none; }
.qi-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 52px;
  text-align: center;
}
.quality-item h4 { font-size: 1rem; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.quality-item p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   GALLERY
============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 6px;
  margin-bottom: 40px;
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item img {
  width: 100%; height: 100%;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-more { text-align: center; }

/* extra gallery items hidden by default */
.gallery-item.hidden { display: none; }

/* ============================================================
   APPLICATIONS
============================================================ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.app-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  color: var(--white);
  transition: all var(--transition);
}
.app-card:hover { background: rgba(255,255,255,0.18); transform: translateY(-4px); }
.app-icon { font-size: 2.6rem; margin-bottom: 16px; display: block; }
.app-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--gold-light); }
.app-card p { font-size: 0.85rem; color: rgba(255,255,255,0.82); line-height: 1.7; }

/* ============================================================
   FAQ
============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.09);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--green-mid); }
.faq-arrow {
  flex-shrink: 0;
  font-size: 0.75rem;
  transition: transform var(--transition);
  color: var(--green-mid);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding: 0 0 22px;
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ============================================================
   COMPANY
============================================================ */
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid rgba(0,0,0,0.08); }
.company-table th {
  text-align: left;
  padding: 14px 16px 14px 0;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  width: 140px;
  white-space: nowrap;
  vertical-align: top;
}
.company-table td {
  padding: 14px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
}
.company-table a { color: var(--green-mid); text-decoration: underline; }
.company-img img {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   CONTACT
============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.contact-info p { color: rgba(255,255,255,0.82); font-size: 0.9rem; line-height: 1.8; margin-bottom: 24px; }
.contact-details { margin-bottom: 28px; }
.contact-detail-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.cd-icon { color: var(--gold); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail-item a { color: var(--gold-light); }
.contact-img img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  margin-top: 20px;
}

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 7px;
}
.required { color: #e05252; }
.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(74,124,40,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.checkbox-group { display: flex; align-items: flex-start; }
.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green-mid);
  appearance: checkbox;
  -webkit-appearance: checkbox;
  cursor: pointer;
}
.link { color: var(--green-mid); text-decoration: underline; }
.form-note { text-align: center; font-size: 0.78rem; color: var(--text-light); margin-top: 12px; }

/* Form success state */
.form-success {
  text-align: center;
  padding: 60px 20px;
}
.form-success h3 { font-size: 1.4rem; color: var(--green-dark); margin-bottom: 12px; }
.form-success p { color: var(--text-mid); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #0d1f07;
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}
.footer-tagline {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.8; }
.footer-links h5,
.footer-contact h5 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--gold-light); }
.footer-contact p { font-size: 0.82rem; line-height: 1.8; margin-bottom: 12px; }
.footer-email {
  display: block;
  color: var(--gold-light);
  font-size: 0.85rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ============================================================
   LIGHTBOX
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img-wrap { max-width: 90vw; max-height: 88vh; }
.lightbox-img-wrap img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 4px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition);
  padding: 12px;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 20px; right: 24px; font-size: 1.6rem; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); font-size: 3rem; }

/* ============================================================
   FLOATING CTA
============================================================ */
.floating-cta {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 50px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 6px 24px rgba(201,168,76,0.45);
  z-index: 500;
  transition: all var(--transition);
}
.floating-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(201,168,76,0.55); background: var(--gold-light); }

/* ============================================================
   ANIMATIONS
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE — タブレット（〜1024px）
============================================================ */
@media (max-width: 1024px) {
  .kissa-features { grid-template-columns: repeat(2, 1fr); }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-radius: 16px;
  }
  .cert-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.1); }
  .cert-card:nth-child(2n) { border-right: none; }
  .cert-card:nth-child(n+4) { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .cert-card:nth-child(5), .cert-card:nth-child(6) { border-bottom: none; }
  .about-grid { gap: 36px; }
  .contact-wrap { grid-template-columns: 1fr 1.3fr; gap: 36px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   YAMANAKA TEA SERVICES
============================================================ */
#services.section-light {
  background: linear-gradient(145deg, #f6f3ec 0%, var(--cream) 45%, #ebe7de 100%);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: svc-num;
}
.svc-card {
  background: var(--white);
  border-radius: 18px;
  padding: 36px 28px 30px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 6px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.055);
  border-top: 3px solid var(--green-main);
  transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
  position: relative;
  overflow: hidden;
  counter-increment: svc-num;
}
.svc-card::after {
  content: "0" counter(svc-num);
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(0,0,0,0.04);
  line-height: 1;
  letter-spacing: -3px;
  pointer-events: none;
  font-family: 'Noto Sans JP', sans-serif;
}
.svc-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.11);
  border-top-color: var(--gold);
}
.svc-icon {
  font-size: 1.55rem;
  margin-bottom: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(45,106,79,0.09);
  border-radius: 12px;
}
.svc-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.svc-card p {
  font-size: 0.865rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.svc-card--highlight {
  border-top-color: var(--gold);
  background: linear-gradient(160deg, #fffef7 0%, var(--white) 55%);
}
.svc-card--highlight::after { color: rgba(201,162,39,0.08); }
.svc-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 11px 22px;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.svc-cta:hover {
  background: #c9a227;
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE — スマートフォン（〜768px）
============================================================ */
@media (max-width: 768px) {

  /* --- 共通 --- */
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }

  .section-tag { font-size: 0.65rem; }
  .section-title { font-size: 1.5rem; }
  .section-sub { font-size: 0.9rem; }
  .section-header { margin-bottom: 40px; }

  /* ボタンのタップ領域を確保 */
  .btn { padding: 15px 28px; font-size: 0.9rem; min-height: 48px; }
  .btn-sm { padding: 12px 18px; }

  /* --- ヘッダー --- */
  .hamburger { display: flex; }
  .header-inner { padding: 14px 16px; }
  .lang-switcher { margin-left: 8px; gap: 3px; }
  .lang-btn { font-size: 0.68rem; padding: 3px 6px; }

  /* --- サービス --- */
  .svc-grid { grid-template-columns: 1fr; }

  /* フルスクリーンのドロワーメニュー */
  #nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--green-dark);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #nav.open { display: flex; }
  #nav ul {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    padding: 0 24px;
  }
  #nav ul li a {
    font-size: 1.25rem;
    color: var(--white);
    display: block;
    padding: 8px 0;
  }
  .nav-cta {
    background: var(--gold) !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-size: 1.1rem !important;
  }

  /* --- ヒーロー --- */
  #hero { min-height: 100svh; }
  .hero-tag { font-size: 0.72rem; letter-spacing: 0.1em; }
  .hero-content h1 { font-size: 1.8rem; line-height: 1.4; }
  .hero-sub {
    font-size: 0.82rem;
    line-height: 1.8;
    margin-bottom: 32px;
  }
  .hero-btns { flex-direction: column; align-items: center; gap: 12px; }
  .hero-btns .btn { width: 100%; max-width: 300px; }
  .hero-scroll-hint { display: none; }

  /* --- トラストバー --- */
  .trust-bar { padding: 12px 0; }
  .trust-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .trust-item {
    padding: 8px 6px;
    font-size: 0.68rem;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    flex-direction: column;
    gap: 4px;
    text-align: center;
    justify-content: center;
  }
  .trust-item:nth-child(n+4) { border-bottom: none; }

  /* --- 貴茶について --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-img-wrap img { height: 260px; }
  .about-text h3 { font-size: 1.3rem; }
  .kissa-stats {
    justify-content: space-around;
    gap: 8px;
    flex-wrap: wrap;
  }
  .stat-num { font-size: 2rem; }

  .kissa-features { grid-template-columns: 1fr; gap: 20px; }
  .kf-img img { height: 180px; }

  /* --- 認証 --- */
  .cert-grid { grid-template-columns: 1fr; border-radius: 14px; }
  .cert-card {
    padding: 28px 22px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .cert-card:nth-child(3n) { border-right: none; }
  .cert-card:nth-child(2n) { border-right: none; }
  .cert-card:last-child { border-bottom: none; }

  /* --- 比較表 --- */
  .comparison-table-wrap {
    border-radius: 8px;
    /* 横スクロール可能にする */
    -webkit-overflow-scrolling: touch;
  }
  .comparison-table { font-size: 0.72rem; white-space: normal; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 10px 10px; }
  /* 最初の列（比較項目）を固定 */
  .comparison-table .row-label {
    position: sticky;
    left: 0;
    background: rgba(245,244,240,0.97);
    z-index: 1;
    min-width: 90px;
    font-size: 0.7rem;
    white-space: normal;
    word-break: keep-all;
  }
  .comparison-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: var(--green-dark);
  }
  .table-note { font-size: 0.68rem; }

  /* --- なぜ選ばれるか --- */
  .why-cards { grid-template-columns: 1fr; gap: 16px; }
  .why-card { padding: 24px 20px; }
  .why-num { font-size: 2.4rem; }

  /* --- 衛生管理 --- */
  .quality-grid { grid-template-columns: 1fr; gap: 28px; }
  .quality-img img { height: 240px; }
  .quality-item { gap: 14px; padding: 18px 0; }
  .qi-icon { font-size: 1.6rem; width: 40px; }

  /* --- ギャラリー --- */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery-item.large { grid-column: span 1; grid-row: span 1; }

  /* --- 用途 --- */
  .app-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .app-card { padding: 24px 16px; }
  .app-icon { font-size: 2rem; margin-bottom: 10px; }

  /* --- 会社概要 --- */
  .company-grid { grid-template-columns: 1fr; gap: 28px; }
  .company-img img { height: 260px; }
  .company-table th { width: 100px; font-size: 0.8rem; }
  .company-table td { font-size: 0.88rem; }

  /* --- お問い合わせ --- */
  .contact-wrap { grid-template-columns: 1fr; gap: 28px; }
  .contact-info h3 { font-size: 1.2rem; }
  .contact-img { display: none; }
  .contact-form { padding: 28px 20px; border-radius: 12px; }
  /* iOS でフォームの自動ズームを防ぐため font-size: 16px 以上に */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; padding: 13px 14px; }
  .form-group label { font-size: 0.82rem; }

  /* --- フッター --- */
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* --- フローティングCTA --- */
  .floating-cta {
    bottom: 16px;
    right: 16px;
    font-size: 0.72rem;
    padding: 12px 16px;
    border-radius: 40px;
  }
}

/* ============================================================
   RESPONSIVE — 小型スマートフォン（〜480px）
============================================================ */
@media (max-width: 480px) {
  .section { padding: 48px 0; }

  /* ヒーロー */
  .hero-content h1 { font-size: 1.55rem; }
  .hero-sub { font-size: 0.78rem; }

  /* トラストバー: 2列に */
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(n+4) { border-bottom: 1px solid rgba(255,255,255,0.15); }
  .trust-item:nth-child(n+5) { border-bottom: none; }

  /* 貴茶について */
  .about-img-wrap img { height: 220px; }
  .kissa-stats { gap: 12px; }
  .stat-num { font-size: 1.8rem; }

  /* ギャラリー */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  /* 用途 */
  .app-grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-q { font-size: 0.9rem; }

  /* ライトボックスのPrev/Next を小さく */
  .lightbox-prev { left: 8px; font-size: 2rem; }
  .lightbox-next { right: 8px; font-size: 2rem; }
}
