/* ===========================
   YASAI Website - Main Stylesheet
   FTP Upload Ready - Static Site
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: #2d3436;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: 'Noto Serif JP', serif; line-height: 1.4; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Colors --- */
:root {
  --green-dark: #1a5c2a;
  --green-main: #2d8a4e;
  --green-light: #4caf50;
  --green-pale: #e8f5e9;
  --gold: #c8a951;
  --gold-light: #f5ecd3;
  --dark: #1a1a2e;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --white: #ffffff;
}

/* --- Header --- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: background .3s;
}
.header-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.logo-icon { font-size: 1.6rem; }
.logo-text strong { color: var(--green-main); }
.main-nav ul { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  padding: 8px 14px; font-size: .85rem; font-weight: 500;
  border-radius: 6px; transition: all .3s;
}
.main-nav a:hover { background: var(--green-pale); color: var(--green-main); }
.nav-cta {
  background: var(--green-main) !important; color: #fff !important;
  border-radius: 24px !important; padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--green-dark) !important; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); transition: all .3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* --- Hero --- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0a3d0c 0%, #1a5c2a 30%, #2d8a4e 60%, #4caf50 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,.3) 100%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  padding: 120px 24px 80px;
  max-width: 900px;
}
.hero-sub {
  font-size: .95rem; letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 20px; opacity: .85;
}
.hero h1 { font-size: 2.8rem; margin-bottom: 24px; font-weight: 900; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero-accent { color: #a5d6a7; }
.hero-desc { font-size: 1.05rem; line-height: 1.9; margin-bottom: 32px; opacity: .9; }
.hero-badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.badge {
  padding: 6px 18px; border: 1px solid rgba(255,255,255,.5);
  border-radius: 20px; font-size: .8rem; font-weight: 500;
  background: rgba(255,255,255,.1); backdrop-filter: blur(4px);
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 30px;
  font-size: .95rem; font-weight: 600; transition: all .3s; cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-primary:hover { background: #b8993e; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,169,81,.4); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* --- Stats --- */
.stats-section { background: var(--dark); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; }
.stat-card { text-align: center; color: #fff; }
.stat-number { font-size: 2.2rem; font-weight: 900; color: var(--gold); font-family: 'Noto Serif JP', serif; }
.stat-unit { font-size: 1rem; }
.stat-label { font-size: .8rem; opacity: .7; margin-top: 4px; }

/* --- Sections --- */
.section { padding: 100px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--dark); color: #fff; }
.section-contact { background: linear-gradient(135deg, var(--green-dark), var(--green-main)); color: #fff; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header.light h2, .section-header.light p { color: #fff; }
.section-tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green-main); margin-bottom: 12px;
  padding: 4px 16px; background: var(--green-pale); border-radius: 20px;
}
.section-header.light .section-tag { background: rgba(255,255,255,.15); color: #a5d6a7; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 16px; }
.section-desc { font-size: 1rem; color: var(--gray-600); max-width: 700px; margin: 0 auto; line-height: 1.8; }
.section-header.light .section-desc { color: rgba(255,255,255,.8); }
.section-desc a { color: var(--green-main); text-decoration: underline; }

/* --- Two Column --- */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.col-text p { margin-bottom: 16px; font-size: 1rem; }
.company-info-grid { margin-top: 32px; display: grid; gap: 12px; }
.info-item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gray-200); }
.info-label { font-weight: 700; font-size: .85rem; color: var(--green-main); }
.info-value { font-size: .9rem; }
.visual-card {
  padding: 32px; border-radius: 16px; margin-bottom: 20px;
  text-align: center;
}
.green-bg { background: var(--green-pale); }
.gold-bg { background: var(--gold-light); }
.visual-icon { font-size: 2.5rem; margin-bottom: 12px; }
.visual-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.visual-card p { font-size: .9rem; color: var(--gray-600); }

/* --- Patent --- */
.patent-notice {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--gold-light); border-left: 4px solid var(--gold);
  padding: 20px 24px; border-radius: 0 12px 12px 0; margin-bottom: 48px;
}
.notice-icon { font-size: 1.5rem; flex-shrink: 0; }
.notice-text { font-size: .9rem; line-height: 1.7; }
.patent-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-bottom: 60px; }
.patent-card {
  background: #fff; border-radius: 16px; padding: 36px 28px;
  box-shadow: 0 4px 30px rgba(0,0,0,.06); position: relative;
  border-top: 4px solid var(--green-main); transition: transform .3s, box-shadow .3s;
}
.patent-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.patent-number {
  position: absolute; top: -14px; right: 20px;
  background: var(--green-main); color: #fff; padding: 4px 16px;
  border-radius: 20px; font-size: .75rem; font-weight: 700;
}
.patent-icon { font-size: 2.5rem; margin-bottom: 16px; }
.patent-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--green-dark); }
.patent-highlight {
  background: var(--green-pale); padding: 10px 16px; border-radius: 8px;
  margin-bottom: 16px; font-size: .9rem;
}
.patent-card > p { font-size: .88rem; color: #555; margin-bottom: 16px; }
.patent-benefits { padding-left: 20px; list-style: disc; }
.patent-benefits li { font-size: .85rem; margin-bottom: 6px; color: #555; }

/* Professor */
.professor-profile {
  background: #fff; border-radius: 16px; padding: 40px;
  box-shadow: 0 4px 30px rgba(0,0,0,.06);
}
.professor-info h3 { font-size: 1.4rem; color: var(--green-dark); margin-bottom: 8px; }
.professor-title { font-size: .95rem; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.professor-career p { font-size: .9rem; line-height: 1.8; color: #555; margin-bottom: 16px; }
.professor-quote {
  border-left: 4px solid var(--green-main); padding: 16px 24px;
  background: var(--green-pale); border-radius: 0 8px 8px 0;
  font-style: italic; font-size: .95rem; color: var(--green-dark);
}

/* --- Cultivation --- */
.cultivation-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.cultivation-card {
  background: #fff; border-radius: 16px; padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05); transition: transform .3s;
  position: relative; overflow: hidden;
}
.cultivation-card:hover { transform: translateY(-4px); }
.cult-icon { font-size: 2.5rem; margin-bottom: 16px; }
.cultivation-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--green-dark); }
.cultivation-card p { font-size: .88rem; color: #555; }
.cult-tag {
  display: inline-block; margin-top: 16px; padding: 4px 12px;
  background: var(--green-pale); color: var(--green-main);
  border-radius: 12px; font-size: .75rem; font-weight: 600;
}

/* --- Pulse --- */
.pulse-content { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; }
.pulse-step { display: flex; gap: 20px; margin-bottom: 36px; }
.step-num {
  flex-shrink: 0; width: 48px; height: 48px;
  background: rgba(255,255,255,.1); border: 2px solid var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: var(--gold); font-size: 1rem;
}
.step-content h3 { font-size: 1.1rem; margin-bottom: 8px; color: #fff; }
.step-content p { font-size: .9rem; color: rgba(255,255,255,.75); }
.pulse-highlight {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; padding: 28px; margin-bottom: 28px;
}
.pulse-highlight h4 { color: var(--gold); margin-bottom: 12px; font-size: 1rem; }
.pulse-highlight p { font-size: .88rem; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.pulse-comparison { background: rgba(255,255,255,.05); border-radius: 16px; padding: 28px; }
.pulse-comparison h4 { color: var(--gold); margin-bottom: 16px; font-size: 1rem; }
.pulse-comparison table { width: 100%; border-collapse: collapse; }
.pulse-comparison th, .pulse-comparison td {
  padding: 10px 12px; text-align: center; font-size: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pulse-comparison th { color: rgba(255,255,255,.6); font-weight: 600; }
.pulse-comparison td { color: rgba(255,255,255,.85); }
.pulse-comparison td strong { color: var(--gold); }

/* --- School --- */
.school-showcase {
  background: var(--green-pale); border-radius: 16px; padding: 40px;
  margin-bottom: 48px;
}
.school-main h3 { font-size: 1.3rem; color: var(--green-dark); margin-bottom: 16px; }
.school-main p { font-size: .95rem; line-height: 1.9; }

.timeline { position: relative; padding-left: 40px; margin-bottom: 60px; }
.timeline::before {
  content: ''; position: absolute; left: 16px; top: 0; bottom: 0;
  width: 2px; background: var(--green-light);
}
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 6px;
  width: 12px; height: 12px; background: var(--green-main);
  border-radius: 50%; border: 3px solid var(--green-pale);
}
.timeline-date { font-size: .8rem; font-weight: 700; color: var(--green-main); margin-bottom: 4px; }
.timeline-content { font-size: .9rem; }

.benefits-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; margin-top: 24px; }
.benefit-item {
  background: #fff; border-radius: 12px; padding: 24px;
  box-shadow: 0 2px 15px rgba(0,0,0,.04);
}
.benefit-num { font-size: 1.8rem; font-weight: 900; color: var(--green-light); opacity: .4; margin-bottom: 8px; }
.benefit-item h4 { font-size: .95rem; margin-bottom: 8px; color: var(--green-dark); }
.benefit-item p { font-size: .82rem; color: #666; }

.school-cta {
  text-align: center; background: var(--green-pale); border-radius: 16px; padding: 48px;
}
.school-cta h3 { font-size: 1.3rem; color: var(--green-dark); margin-bottom: 12px; }
.school-cta p { font-size: .95rem; color: #555; margin-bottom: 24px; }
.school-cta .btn-primary { background: var(--green-main); color: #fff; border-color: var(--green-main); }
.school-cta .btn-primary:hover { background: var(--green-dark); }

/* --- Products --- */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.product-card {
  background: #fff; border-radius: 16px; padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05); transition: transform .3s;
  text-align: center;
}
.product-card:hover { transform: translateY(-4px); }
.product-icon { font-size: 3rem; margin-bottom: 16px; }
.product-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--green-dark); }
.product-card p { font-size: .88rem; color: #555; text-align: left; }

/* --- Column --- */
.column-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.column-category h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--green-dark); }
.column-list { display: flex; flex-direction: column; gap: 8px; }
.column-item {
  display: flex; align-items: center; gap: 16px; padding: 14px 20px;
  background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: all .3s;
}
.column-item:hover { background: var(--green-pale); transform: translateX(4px); }
.column-date { font-size: .75rem; color: var(--gray-600); flex-shrink: 0; min-width: 60px; }
.column-title { font-size: .88rem; font-weight: 500; }
.column-more { text-align: center; margin-top: 40px; }
.column-more .btn-outline { color: var(--green-main); border-color: var(--green-main); }
.column-more .btn-outline:hover { background: var(--green-pale); }

/* --- Media --- */
.media-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.media-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px; background: #fff; border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,.05); transition: all .3s;
  border-left: 4px solid var(--green-main);
}
.media-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.media-source { font-size: .75rem; font-weight: 700; color: var(--green-main); }
.media-title { font-size: .9rem; font-weight: 500; }

/* --- License --- */
.license-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.license-card {
  text-align: center; padding: 36px 24px; background: #fff;
  border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.05);
  transition: transform .3s;
}
.license-card:hover { transform: translateY(-4px); }
.license-icon { font-size: 2.5rem; margin-bottom: 16px; }
.license-card h3 { font-size: 1.05rem; margin-bottom: 12px; color: var(--green-dark); }
.license-card p { font-size: .85rem; color: #555; }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: 12px; margin-bottom: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04); overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px; font-size: .95rem; font-weight: 600; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '+'; font-size: 1.2rem; color: var(--green-main); font-weight: 700; flex-shrink: 0; }
.faq-item[open] summary::before { content: '\2212'; }
.faq-item p { padding: 0 24px 20px; font-size: .9rem; color: #555; line-height: 1.8; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.contact-card {
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 16px;
  padding: 40px; text-align: center;
}
.contact-icon { font-size: 2.5rem; margin-bottom: 16px; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: 16px; }
.contact-phone { font-size: 2rem; font-weight: 900; color: var(--gold); }
.contact-email a { font-size: 1.3rem; font-weight: 700; color: var(--gold); text-decoration: underline; }
.contact-sub { font-size: .9rem; opacity: .8; margin-top: 8px; }
.contact-hours { font-size: .85rem; opacity: .7; margin-top: 4px; }
.contact-free { font-size: .95rem; margin-top: 12px; }
.contact-free strong { color: var(--gold); }
.contact-types { text-align: center; }
.contact-types h3 { font-size: 1.2rem; margin-bottom: 24px; }
.contact-types-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
  max-width: 800px; margin: 0 auto;
}
.contact-type {
  padding: 16px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15); border-radius: 10px;
  font-size: .88rem;
}

/* --- Footer --- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-logo .logo-text { color: #fff; font-size: 1.1rem; }
.footer-logo .logo-text strong { color: var(--green-light); }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: .85rem; transition: color .3s; }
.footer-col ul a:hover { color: var(--green-light); }
.footer-col p { font-size: .85rem; margin-bottom: 6px; }
.footer-col a { color: var(--green-light); }
.footer-address { font-size: .8rem; margin-top: 12px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center;
}
.footer-bottom p { font-size: .8rem; }
.footer-note { font-size: .75rem; opacity: .5; margin-top: 8px; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3,1fr); }
  .patent-grid { grid-template-columns: 1fr; }
  .cultivation-grid { grid-template-columns: repeat(2,1fr); }
  .pulse-content { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(3,1fr); }
  .license-grid { grid-template-columns: repeat(2,1fr); }
  .media-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: fixed; top: 72px; left: 0; width: 100%;
    background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.1);
    transform: translateY(-120%); transition: transform .4s;
    padding: 20px;
  }
  .main-nav.active { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 8px; }
  .main-nav a { display: block; padding: 12px 16px; }

  .hero h1 { font-size: 1.8rem; }
  .hero-desc { font-size: .9rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .section-header h2 { font-size: 1.6rem; }
  .cultivation-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .column-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-types-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .license-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .6s ease forwards; }
