html {
  font-size: 20px;
}


h2{
 color:#926C15; 
}

:root {
--primary:       #FFFF6A;
--primary-dark:  #FFFBDE;
--secondary:     #7fb8ff;
--neutral-1:     #ffe6f0;
--neutral-2:     #ffffff;
--neutral-3:     #2a2a2a;
--text-muted:    #6e6e6e;
--border:        #FFB915; 
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text-main);
  background: #FFF;
  line-height: 1.6;
}

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

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

/* Header */
header {
  border-bottom: 1px solid var(--border);
  background: #F9FCBB;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* ===========================
   NAVIGATION BAR (PC + MOBILE)
   =========================== */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  position: relative;
}

/* Desktop Menu */
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

/* Hamburger (hidden on PC) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ===========================
   SMARTPHONE VIEW
   =========================== */
@media (max-width: 768px) {

  /* Hide menu by default */
  .nav-links {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: absolute;
    top: 56px;
    right: 0;
    width: 200px;
    padding: 16px;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 999;
  }

  /* Show menu AFTER clicking hamburger */
  .nav-links.show {
    display: flex;
  }

  /* Show hamburger on mobile */
  .nav-toggle {
    display: block;
  }
}



/* Hero */
.hero {
  background: #FEFBEF;
  padding: 40px 0;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge {
  background: #fff;
  border: 1px solid #f0d8e0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.btn-primary {
  background: #EDC001;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-ghost {
  border: 1px solid var(--border);
  background: none;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
}

/* Cards */
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  text-align: center;
}



.hero-logo-img {
  display: block;
  margin: 0 auto 12px;    /* center + spacing below logo */
  max-width: 120px;       /* adjust size */
  height: auto;
}


.hero-card-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-card-metric {
  font-size: 1.6rem;
  font-weight: bold;
  color: #EDC001;
  margin-bottom: 12px;
}

.hero-card-bar {
  background: linear-gradient(90deg, var(--primary), #ffd5e5);
  height: 6px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.hero-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}



/* Sections */
section {
  padding: 40px 0;
}

section h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}


/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature {
  border: 1px solid var(--border);
  background: #fff;
  padding: 16px;
  border-radius: 12px;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 4px;
}

/* Demo */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.demo-card {
  border: 1px solid var(--border);
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  color: var(--text-muted);
}

.benefits-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 2枚の画像 */
.benefits-images {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;              /* スマホでは折り返し */
}

.benefit-img {
  max-width: 260px;
  width: 45%;
  min-width: 160px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 中央の長方形ボックス */
.benefits-highlight {
  background-color: var(--neutral-2, #f5f5e5);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  border: 1px solid var(--border);
}

.benefits-highlight-text {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

/* 詳細説明（★リスト + メインポイント） */
.benefits-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ★付きリスト */
.star-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.star-list li {
  position: relative;
  padding-left: 1.4em;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.star-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  top: 0;
  color: #FFB915;
  font-size: 0.9rem;
}

/* メインポイント枠 */
.benefits-mainpoint {
  border-radius: 12px;
  border: 1px dashed var(--border);
  background-color: #ffffff;
  padding: 14px 16px;
}

.benefits-mainpoint-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.benefits-mainpoint-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}


.benefit-img {
  width: 48%;               /* PCでは2枚横並びで大きく */
  max-width: 400px;         /* ↑ ここで最大幅を大きく設定 */
  min-width: 200px;         /* スマホで小さすぎないように */
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}


.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;      /* PC size limit */
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .video-wrapper {
    max-width: 100%;
  }
}


/* スマホ対応 */
@media (max-width: 768px) {
  .benefit-img {
    width: 100%;
    max-width: 320px;
  }

  .benefits-highlight-text {
    font-size: 0.95rem;
  }

  .star-list li {
    font-size: 0.9rem;
  }
}


.process-highlight {
  margin-top: 24px;
  padding: 12px 16px;
  background-color: #FBC4BF;
  border-left: 6px solid var(--primary-dark, #72752f);
  border-radius: 12px;
  white-space: nowrap;         /* ★ Never wrap to multiple lines */
  overflow-x: auto;            /* ★ Allows scroll on small screens */
  text-align: center;
}

.process-highlight-text {
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
}


.patent-highlight {
  margin-top: 16px;
  padding: 12px 16px;
  background-color: #FB928E;
  border-left: 6px solid var(--primary-dark, #72752f);
  border-radius: 12px;
  white-space: normal;   /* allow wrapping */
  text-align: center;
}

/* ★ Important: override global img { display:block } */
.flag-icon {
  display: inline-block;  /* or inline */
  width: 22px;
  height: 16px;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 4px;
}



.black-highlight {
  margin-top: 24px;
  padding: 12px 16px;
  background-color: #A2A569;
  border-left: 6px solid var(--primary-dark, #72752f);
  border-radius: 12px;
  white-space: nowrap;         /* ★ Never wrap to multiple lines */
  overflow-x: auto;            /* ★ Allows scroll on small screens */
  text-align: center;
}

.black-highlight-text {
  font-size: 1rem;
  font-weight: 600;
  display: inline-block;
  color: #FFFDDF
}



/* Two images in a row */
.pig-images-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;                   /* space between images */
  margin-top: 16px;
}

.pig-img {
  width: 48%;              /* bigger width */
  max-width: 450px;        /* larger max size */
  height: 300px;           /* taller image */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}


/* Smartphone layout */
@media (max-width: 768px) {
  .pig-images-row {
    flex-direction: column;    /* stack vertically */
  }

  .pig-img {
    width: 100%;
    max-width: 350px;
    height: 220px;
  }
}





.logo {
  display: flex;
  align-items: center;
  gap: 8px; /* space between logo and text */
  font-size: 1.4rem;
  font-weight: bold;
}

/* Adjust the logo image size */
.logo-img {
  width: 32px;   
  height: 32px;
  object-fit: contain;
}


#results a {
  text-decoration: none;    /* no underline */
  color: #FF4F00;              /* normal link color */
  transition: color 0.2s ease;
　font-size:30px;
}

/* Change color when user hovers or taps */
#results a:hover,
#results a:active {
  color: #C0362C;           /* choose any color you like */
}


/* Remove underline from all links inside 成果 section */
#media a {
  text-decoration: none;    /* no underline */
  color: #333;              /* normal link color */
  transition: color 0.2s ease;
}

/* Change color when user hovers or taps */
#media a:hover,
#media a:active {
  color: #6BC4E9;           /* choose any color you like */
}


.youtube-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border-radius: 12px;
  padding: 20px 0;   /* smaller spacing */
}


.youtube-link-btn {
  background-color: #cc0000;
  color: white;
  padding: 24px 24px;
  border-radius: 8px;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}

.youtube-link-btn:hover {
  background-color: #ff4444;
}



