@charset "utf-8";
/* lpfoods_common.css — 食品LP（greentea / sake）共通スタイル */

:root {
  --lp-text-dark: #203127;
  --lp-text-light: #637465;
  --lp-text-sub: #5a4a35;
  --lp-border-color: #d7e4d5;
  --lp-navy: #1a2a4a;
  --lp-white: #ffffff;
  --lp-shadow: 0 4px 20px rgba(80, 60, 60, 0.08);
  --lp-section-alt-bg: #edf6ec;

  /* 各LPファイル（lpfoods_gtea.css / lpfoods_ponshu.css）で上書き */
  --lp-accent: #2f6b3f;
  --lp-accent-gradient: #2f6b3f;
  --lp-accent-light-bg: #f7fbf5;
  --lp-channel-border: var(--lp-accent);
  --lp-channel-title: var(--lp-accent);
  --lp-channel-desc: var(--lp-text-light);
  --lp-process-border: var(--lp-accent);
  --lp-process-number-bg: var(--lp-accent);
  --lp-pntiming-border: var(--lp-accent);
  --lp-pntiming-icon-bg: var(--lp-accent);
  --lp-pntiming-strong: var(--lp-accent);
  --lp-consult-icon: #a9d38d;
  --lp-cta-bg: #a9d38d;
  --lp-cta-color: #143728;
  --lp-cta-border: transparent;
  --lp-cta-hover-bg: var(--lp-cta-bg);
  --lp-cta-hover-color: var(--lp-cta-color);
  --lp-cta-hover-border: var(--lp-cta-border);
  --lp-cta-hover-transform: translateY(-3px);
  --lp-header-bg: var(--lp-accent-gradient);
  --lp-header-shadow: 0 8px 24px rgba(15, 77, 55, 0.22);
  --lp-hero-overlay: rgba(30, 41, 59, 0.85);
  --lp-hero-image: none;
  --lp-hero-subtitle: #e2e8f0;
  --lp-cta-section-bg: linear-gradient(rgba(30, 41, 59, 0.85), rgba(30, 41, 59, 0.85));
  --lp-table-scrollbar-thumb: rgba(86, 171, 47, 0.85);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: var(--lp-text-dark);
  background-color: #ffffff;
}

h1, h2, h3 {
  font-family: 'Noto Sans JP', serif;
  font-weight: 700;
  line-height: 1.3;
}

.h1w,
.h2w,
.h4w,
.h5w {
  color: #ffffff !important;
}

.sp-only {
  display: none;
}

.exc-sp {
  display: inline;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .exc-sp {
    display: none;
  }
}

/* Header（背景色は各LPで指定） */
.header.lpfoods-header,
.header.lpfoods-header.sticky {
  background: var(--lp-header-bg) !important;
  box-shadow: var(--lp-header-shadow);
}

.lpfoods-header .container {
  min-height: 78px;
}

.lpfoods-header .header-logo h3 {
  margin-bottom: 0;
}

.lpfoods-header .header-logo img {
  max-height: 46px;
  width: auto;
}

.lpfoods-header .header-menu .nav {
  align-items: center;
  gap: 0.2rem;
}

.lpfoods-header .header-menu .nav-link {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
  padding: 0.7rem 0.85rem;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.lpfoods-header .header-menu .nav-link:hover,
.lpfoods-header .header-menu .nav-link.active {
  color: #ffffff;
  opacity: 1;
}

.lpfoods-header .header-menu-extra .button {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.lpfoods-header .header-toggle span,
.lpfoods-header .header-toggle span::before,
.lpfoods-header .header-toggle span::after {
  background: #ffffff;
}

/* ボタン — 影なし（全画面幅・theme.css の box-shadow を上書き） */
a[class*='button'],
button[class*='button'],
.hero-cta,
.big-cta,
.fda-chart-btn {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

a[class*='button']:hover,
a[class*='button']:focus,
button[class*='button']:hover,
button[class*='button']:focus,
.hero-cta:hover,
.big-cta:hover,
.fda-chart-btn:hover,
.fda-chart-btn:focus {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

/* Layout */
.section {
  padding: 5rem 2rem;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--lp-text-dark);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--lp-accent-gradient);
  margin: 1rem auto 0;
}

.section-lead {
  text-align: center;
  font-size: 1.3rem;
  color: var(--lp-text-light);
  margin-bottom: 3rem;
}

.section-lead-w {
  text-align: center;
  font-size: 1.3rem;
  color: var(--lp-white);
  margin-bottom: 3rem;
}

.first-contact {
  margin-top: 1rem;
}

.button-content {
  text-align: center;
  margin-top: 4rem;
}

/* Hero */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(var(--lp-hero-overlay), var(--lp-hero-overlay)), var(--lp-hero-image) center/cover;
}

.hero-content {
  max-width: 900px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #ffffff !important;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  color: var(--lp-hero-subtitle);
}

.hero-cta,
.big-cta {
  display: inline-block;
  background: var(--lp-cta-bg);
  color: var(--lp-cta-color);
  padding: 1.2rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid var(--lp-cta-border);
  transition: all 0.3s;
}

.big-cta {
  padding: 1.5rem 4rem;
  font-size: 1.3rem;
  margin-top: 2rem;
}

.hero-cta:hover,
.big-cta:hover {
  background: var(--lp-cta-hover-bg);
  color: var(--lp-cta-hover-color);
  border-color: var(--lp-cta-hover-border);
  transform: var(--lp-cta-hover-transform);
}

/* Registration */
.regi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.regi-card {
  background: #fff;
  border: 1px solid var(--lp-border-color);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--lp-shadow);
}

.regi-label {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.65rem;
  color: var(--lp-text-sub);
  padding-top: 0.6rem;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
}

.regi-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lp-navy);
}

/* Process */
.process {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.process-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--lp-process-border);
  background: var(--lp-accent-light-bg);
  border-radius: 8px;
}

.process-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--lp-process-number-bg);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.process-content p {
  color: var(--lp-text-dark);
  line-height: 1.7;
}

/* Alert / Information */
.alert-box {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.alert-box p {
  color: #92400e;
  font-weight: 500;
}

.information-box {
  background: #d5dae6;
  border-left: 4px solid #1a2a4a;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.information-box p {
  color: #1a2a4a;
  font-weight: 500;
}

/* Prior Notice timing */
.pntiming {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.pntiming-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--lp-pntiming-border);
  background: var(--lp-accent-light-bg);
  border-radius: 8px;
}

.pntiming-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--lp-pntiming-icon-bg);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.pntiming-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.pntiming-content p {
  color: var(--lp-text-dark);
  line-height: 1.7;
}

.pntiming-content strong {
  color: var(--lp-pntiming-strong);
}

/* Channel */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.channel-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--lp-channel-border);
}

.channel-card h3 {
  font-size: 1.5rem;
  color: var(--lp-channel-title);
  margin-bottom: 1rem;
}

.channel-card ul {
  list-style: none;
  padding: 0;
}

.channel-description {
  color: var(--lp-channel-desc);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.channel-card li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--lp-text-dark);
}

.channel-list li {
  padding: 0.5rem 0;
}

.channel-card li::before {
  content: '';
  position: absolute;
  left: 0;
  color: var(--lp-channel-border);
  font-weight: 700;
}

/* Label grid（共通レイアウト） */
.label-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.label-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.label-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--lp-channel-title);
}

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

/* Company */
.company {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 3rem;
  margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
  background: var(--lp-cta-section-bg);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
}

.cta-section h2 {
  color: #ffffff !important;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.consult-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.consult-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.consult-item i {
  font-size: 2rem;
  color: var(--lp-consult-icon);
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 991px) {
  .lpfoods-header .container {
    min-height: 74px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .lpfoods-header .header-menu-extra {
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .lpfoods-header .header-menu .nav-link {
    color: var(--lp-text-dark);
    padding: 0.7rem 0;
  }

  .lpfoods-header .header-menu .nav {
    gap: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-top: 7px;
    min-height: 560px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* 「海外で商品を販売する場合」：SPで5文字・［ターゲット］が1行に収まるよう調整 */
  #registration .regi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  #registration .regi-card {
    padding: 1.125rem 0.5rem;
  }

  #registration .regi-label {
    font-size: 1.0625rem !important;
    padding-top: 0.25rem;
    letter-spacing: 0.02em;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    font-weight: 800 !important;
  }

  #registration .regi-value {
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    line-height: 1.35;
  }

  /* Prior Notice：アイコン横にh3、pは左端から全幅で下段に表示 */
  .pntiming-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0 0.65rem;
    padding: 1rem 0.85rem;
  }

  .pntiming-item::after {
    content: none;
  }

  .pntiming-icon {
    flex: 0 0 36px;
    float: none;
    width: 36px;
    height: 36px;
    margin: 0;
  }

  .pntiming-content {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
  }

  .pntiming-content h3 {
    margin: 0 0 0.35rem;
    line-height: 1.45;
  }

  .pntiming-content p {
    margin: 0;
    line-height: 1.65;
  }

  .channel-grid,
  .label-grid {
    grid-template-columns: 1fr;
  }

  .consult-item {
    padding: 0.5rem;
  }

  .lpfoods-header .header-logo img {
    max-height: 40px;
  }

  .lpfoods-header .header-menu-extra {
    display: none;
  }

  .big-cta {
    width: 100%;
    max-width: 100%;
    padding-inline: 1.5rem;
  }
}

/* 横スクロール表：共通（greentea / dashi / sake） */
.lp-table-scroll-hint,
.fda-table-scroll-hint {
  display: none;
}

.lp-table-scrollbar,
.fda-table-scrollbar {
  display: none;
}

@media (max-width: 991.98px) {
  .lp-table-scroll-hint,
  .fda-table-scroll-hint {
    display: block;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.25;
    color: var(--lp-text-light);
    margin: 0.75rem 0 0.375rem;
    padding-left: 20px;
  }

  .lp-table-scroll-hint + .ds-table-wrap,
  .lp-table-scroll-hint + .hs-table-wrap,
  .fda-table-scroll-hint + .fda-table-wrapper {
    margin-top: 0.25rem;
  }

  .lp-table-scroll-wrapper,
  .fda-table-wrapper {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .lp-table-scroll-wrapper::-webkit-scrollbar,
  .fda-table-wrapper::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .lp-table-scrollbar,
  .fda-table-scrollbar {
    display: block;
    height: 8px;
    margin: 0 0 30px;
    background-color: #e9ecef;
    border-radius: 0 0 8px 8px;
    position: relative;
    overflow: hidden;
  }

  .lp-table-scrollbar.is-hidden,
  .fda-table-scrollbar.is-hidden {
    display: none;
  }

  .lp-table-scrollbar-thumb,
  .fda-table-scrollbar-thumb {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    min-width: 48px;
    background-color: var(--lp-table-scrollbar-thumb);
    border-radius: 999px;
    will-change: transform;
  }

  .lp-table-scroll-wrapper .ds-table,
  .lp-table-scroll-wrapper .hs-table,
  .fda-table-wrapper .fda-table {
    box-shadow: none;
  }

  .fda-table-wrapper .fda-table {
    width: max-content;
    min-width: 800px;
  }
}
