/* ===== Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{
  font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic","Meiryo",sans-serif;
  color:#313131;
  background:#fafafa;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul{list-style:none}

/* ===== Container ===== */
.container{
  max-width:960px;
  margin:0 auto;
  padding:0 20px;
}

/* ===== Global Nav ===== */
.global-nav{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  box-shadow:0 1px 4px rgba(0,0,0,.08);
}
.global-nav .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:56px;
}
.nav-logo{
  font-size:1.1rem;
  font-weight:900;
  color:#43a047;
  letter-spacing:.04em;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:24px;
}
.nav-links a{
  font-size:.85rem;
  font-weight:500;
  color:#555;
  transition:color .2s;
  position:relative;
}
.nav-links a:hover{
  color:#43a047;
}
.nav-links a.active{
  color:#43a047;
  font-weight:700;
}
.hamburger{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  width:32px;
  height:32px;
  position:relative;
  flex-shrink:0;
}
.hamburger span{
  display:block;
  width:22px;
  height:2px;
  background:#313131;
  position:absolute;
  left:5px;
  transition:transform .3s,opacity .3s;
}
.hamburger span:nth-child(1){top:8px}
.hamburger span:nth-child(2){top:15px}
.hamburger span:nth-child(3){top:22px}
.hamburger.is-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2){
  opacity:0;
}
.hamburger.is-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* ===== Breadcrumb ===== */
.breadcrumb{
  max-width:960px;
  margin:0 auto;
  padding:12px 20px;
  font-size:.78rem;
  color:#999;
}
.breadcrumb a{
  color:#795548;
  transition:color .2s;
}
.breadcrumb a:hover{
  color:#43a047;
}
.breadcrumb span{
  margin:0 6px;
  color:#ccc;
}

/* ===== Banner ===== */
.hero-banner{
  width:100%;
  max-width:960px;
  margin:0 auto;
  display:block;
}
.hero-banner img{
  width:100%;
  height:auto;
  border-radius:0 0 12px 12px;
}

/* ===== Header ===== */
.site-header{
  background:#43a047;
  color:#fff;
  padding:40px 0 32px;
  text-align:center;
}
.site-header h1{
  font-size:2rem;
  font-weight:900;
  letter-spacing:.06em;
  margin-bottom:8px;
}
.subtitle{
  font-size:.95rem;
  opacity:.92;
  max-width:600px;
  margin:0 auto 20px;
  line-height:1.9;
}
.notice{
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.3);
  border-radius:8px;
  padding:14px 20px;
  max-width:600px;
  margin:0 auto;
}
.notice p{
  font-size:.78rem;
  line-height:1.7;
  opacity:.85;
}

/* ===== Section Title ===== */
.section-title{
  text-align:center;
  font-size:1.3rem;
  font-weight:700;
  color:#313131;
  margin:48px 0 8px;
  padding-bottom:12px;
  position:relative;
}
.section-title::after{
  content:"";
  display:block;
  width:60px;
  height:3px;
  background:#795548;
  margin:10px auto 0;
  border-radius:2px;
}
.section-subtitle{
  text-align:center;
  font-size:.88rem;
  color:#888;
  margin-bottom:32px;
}

/* ===== Site Intro (Portal) ===== */
.site-intro{
  background:#fff;
  border-radius:10px;
  padding:36px 32px;
  margin:32px auto;
  max-width:960px;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
  text-align:center;
}
.site-intro h2{
  font-size:1.2rem;
  font-weight:700;
  color:#795548;
  margin-bottom:16px;
}
.site-intro p{
  font-size:.92rem;
  color:#555;
  line-height:1.9;
  max-width:640px;
  margin:0 auto;
}

/* ===== Category Cards ===== */
.category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  max-width:960px;
  margin:0 auto;
  padding:0 20px 48px;
}
.category-card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
  transition:box-shadow .25s,transform .25s;
  display:flex;
  flex-direction:column;
}
.category-card:hover{
  box-shadow:0 6px 24px rgba(0,0,0,.1);
  transform:translateY(-3px);
}
.category-card-header{
  padding:24px 20px;
  color:#fff;
  text-align:center;
}
.category-card-header.diet{background:#43a047}
.category-card-header.supplement{background:#795548}
.category-card-header.life{background:#5d4037}
.category-card-header h3{
  font-size:1.15rem;
  font-weight:700;
  margin-bottom:4px;
}
.category-card-header p{
  font-size:.78rem;
  opacity:.85;
}
.category-card-body{
  padding:20px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.category-card-body p{
  font-size:.85rem;
  color:#555;
  line-height:1.7;
  margin-bottom:16px;
  flex:1;
}
.category-card-body .btn-card{
  display:inline-block;
  text-align:center;
  background:#f5f5f5;
  color:#555;
  font-size:.85rem;
  font-weight:600;
  padding:10px 20px;
  border-radius:8px;
  transition:background .2s,color .2s;
}
.category-card-body .btn-card:hover{
  background:#43a047;
  color:#fff;
}

/* ===== Supplement List ===== */
.supplement-list{
  max-width:960px;
  margin:0 auto;
  padding:0 20px 48px;
}
.supplement-list-table{
  width:100%;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
  border-collapse:collapse;
}
.supplement-list-table thead{
  background:#795548;
  color:#fff;
}
.supplement-list-table th{
  padding:12px 16px;
  font-size:.82rem;
  font-weight:600;
  text-align:left;
  white-space:nowrap;
}
.supplement-list-table td{
  padding:12px 16px;
  font-size:.85rem;
  color:#555;
  border-bottom:1px solid #f0f0f0;
  vertical-align:middle;
}
.supplement-list-table tr:last-child td{
  border-bottom:none;
}
.supplement-list-table tr:hover{
  background:#fdf6f3;
}
.supplement-list-table .suppl-name{
  font-weight:700;
  color:#313131;
}
.supplement-list-table .suppl-brand{
  font-size:.78rem;
  color:#999;
  display:block;
}
.supplement-list-table .badge{
  display:inline-block;
  font-size:.7rem;
  font-weight:700;
  padding:2px 8px;
  border-radius:4px;
  color:#fff;
  white-space:nowrap;
}
.badge.essential{background:#43a047}
.badge.important{background:#795548}
.badge.conditional{background:#abb8c3}
.supplement-list-table .btn-sm{
  display:inline-block;
  background:#43a047;
  color:#fff;
  font-size:.75rem;
  font-weight:600;
  padding:6px 14px;
  border-radius:6px;
  transition:background .2s;
  white-space:nowrap;
}
.supplement-list-table .btn-sm:hover{
  background:#388e3c;
}
.supplement-list-note{
  font-size:.75rem;
  color:#999;
  margin-top:12px;
  text-align:center;
}
@media(max-width:700px){
  .supplement-list-table th:nth-child(3),
  .supplement-list-table td:nth-child(3){
    display:none;
  }
  .supplement-list-table th,
  .supplement-list-table td{
    padding:10px 10px;
    font-size:.8rem;
  }
}

/* ===== Latest Articles Section ===== */
.latest-articles{
  max-width:960px;
  margin:0 auto;
  padding:0 20px 48px;
}
.coming-soon{
  text-align:center;
  padding:40px 20px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
}
.coming-soon p{
  font-size:.92rem;
  color:#999;
}

/* ===== Profile Box ===== */
.profile-box{
  background:#fff;
  border-left:4px solid #795548;
  border-radius:0 10px 10px 0;
  padding:28px 32px;
  margin:0 auto 48px;
  max-width:960px;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
  display:flex;
  align-items:flex-start;
  gap:24px;
}
.profile-icon{
  width:72px;
  height:72px;
  background:#e8d5cc;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.8rem;
  flex-shrink:0;
  color:#795548;
}
.profile-info h3{
  font-size:1rem;
  font-weight:700;
  color:#313131;
  margin-bottom:8px;
}
.profile-info p{
  font-size:.85rem;
  color:#555;
  line-height:1.7;
  margin-bottom:12px;
}
.profile-info .btn-profile{
  display:inline-block;
  font-size:.82rem;
  color:#795548;
  font-weight:600;
  border-bottom:1px solid #795548;
  transition:color .2s;
}
.profile-info .btn-profile:hover{
  color:#43a047;
  border-color:#43a047;
}

/* ===== Concept Section ===== */
.concept{
  background:#fff;
  border-radius:10px;
  padding:32px 28px;
  margin:32px auto;
  max-width:960px;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
}
.concept h2{
  font-size:1.15rem;
  font-weight:700;
  color:#795548;
  margin-bottom:16px;
  padding-bottom:10px;
  border-bottom:2px solid #e8d5cc;
}
.concept-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 24px;
}
.concept-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.88rem;
  line-height:1.6;
}
.concept-item .icon{
  flex-shrink:0;
  width:28px;
  height:28px;
  background:#e8f5e9;
  color:#43a047;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.82rem;
  font-weight:700;
}
.concept-note{
  margin-top:18px;
  padding:12px 16px;
  background:#fdf6f3;
  border-left:3px solid #795548;
  border-radius:0 6px 6px 0;
  font-size:.82rem;
  color:#5d4037;
  line-height:1.7;
}

/* ===== Priority Legend ===== */
.priority-legend{
  display:flex;
  justify-content:center;
  gap:20px;
  margin:28px auto 8px;
  flex-wrap:wrap;
}
.legend-item{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:.8rem;
  color:#555;
}
.legend-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  flex-shrink:0;
}
.legend-dot.essential{background:#43a047}
.legend-dot.important{background:#795548}
.legend-dot.conditional{background:#abb8c3}

/* ===== Card Grid ===== */
.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  padding:32px 0 48px;
}

/* ===== Card ===== */
.card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  display:grid;
  grid-template-columns:200px 1fr;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
  transition:box-shadow .25s,transform .25s;
  position:relative;
}
.card:hover{
  box-shadow:0 6px 24px rgba(0,0,0,.1);
  transform:translateY(-2px);
}

/* Priority badge */
.card::before{
  content:attr(data-priority-label);
  position:absolute;
  top:14px;
  left:14px;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.04em;
  padding:3px 10px;
  border-radius:4px;
  z-index:1;
}
.card[data-priority="essential"]::before{
  background:#43a047;color:#fff;
}
.card[data-priority="important"]::before{
  background:#795548;color:#fff;
}
.card[data-priority="conditional"]::before{
  background:#abb8c3;color:#fff;
}

.card-thumb{
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  min-height:200px;
}
.card-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
  max-height:200px;
}

.card-body{
  padding:24px 28px;
  display:flex;
  flex-direction:column;
}
.card-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:6px;
}
.num{
  font-size:.82rem;
  font-weight:700;
  color:#43a047;
  background:#e8f5e9;
  width:30px;
  height:30px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.title{
  font-size:1.08rem;
  font-weight:700;
  color:#313131;
  line-height:1.4;
}
.brand{
  font-size:.78rem;
  color:#999;
  margin-bottom:8px;
  padding-left:40px;
}
.meta{
  font-size:.82rem;
  color:#43a047;
  font-weight:600;
  margin-bottom:12px;
}

/* Dose box */
.dose{
  background:#f5faf5;
  border-radius:8px;
  padding:10px 14px;
  margin-bottom:12px;
  display:flex;
  align-items:baseline;
  gap:10px;
}
.dose .label{
  font-size:.72rem;
  font-weight:700;
  color:#abb8c3;
  text-transform:uppercase;
  letter-spacing:.06em;
  flex-shrink:0;
}
.dose .value{
  font-size:.88rem;
  color:#313131;
  font-weight:500;
}

/* Points */
.points{
  margin-bottom:16px;
}
.points li{
  font-size:.84rem;
  color:#555;
  padding:3px 0 3px 18px;
  position:relative;
  line-height:1.6;
}
.points li::before{
  content:"";
  position:absolute;
  left:0;
  top:10px;
  width:8px;
  height:8px;
  background:#a5d6a7;
  border-radius:50%;
}

/* Button */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  background:#43a047;
  color:#fff;
  font-size:.9rem;
  font-weight:600;
  padding:12px 28px;
  border-radius:8px;
  transition:background .2s,transform .1s;
  margin-top:auto;
  text-align:center;
}
.btn:hover{
  background:#388e3c;
  transform:translateY(-1px);
}
.btn:active{transform:translateY(0)}

.small{
  font-size:.72rem;
  color:#aaa;
  margin-top:8px;
}

/* ===== X Timeline Section ===== */
.x-section{
  max-width:960px;
  margin:0 auto;
  padding:0 20px 48px;
}
.x-section h2{
  font-size:1.2rem;
  font-weight:700;
  color:#795548;
  text-align:center;
  margin-bottom:20px;
  padding-bottom:10px;
  border-bottom:2px solid #e8d5cc;
}
.x-timeline-wrap{
  max-width:550px;
  margin:0 auto;
  border-radius:10px;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
  min-height:200px;
}

/* ===== Ad Disclosure ===== */
.ad-disclosure{
  font-size:.75rem;
  opacity:.7;
  margin-top:12px;
}

/* ===== Category Page Header ===== */
.category-header{
  color:#fff;
  padding:40px 0 32px;
  text-align:center;
}
.category-header.diet{background:#43a047}
.category-header.supplement{background:#795548}
.category-header.life{background:#5d4037}
.category-header h1{
  font-size:1.8rem;
  font-weight:900;
  letter-spacing:.04em;
  margin-bottom:8px;
}
.category-header p{
  font-size:.9rem;
  opacity:.9;
  max-width:600px;
  margin:0 auto;
}

/* ===== Category Intro ===== */
.category-intro{
  background:#fff;
  border-radius:10px;
  padding:32px 28px;
  margin:32px auto;
  max-width:960px;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
}
.category-intro p{
  font-size:.92rem;
  color:#555;
  line-height:1.8;
}

/* ===== Article List ===== */
.article-list{
  max-width:960px;
  margin:0 auto;
  padding:0 20px 48px;
}
.article-item{
  background:#fff;
  border-radius:10px;
  padding:20px 24px;
  margin-bottom:16px;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
  transition:box-shadow .2s;
}
.article-item:hover{
  box-shadow:0 4px 16px rgba(0,0,0,.1);
}
.article-item h3{
  font-size:1rem;
  font-weight:700;
  margin-bottom:6px;
}
.article-item h3 a{
  color:#313131;
  transition:color .2s;
}
.article-item h3 a:hover{
  color:#43a047;
}
.article-item .article-meta{
  font-size:.78rem;
  color:#999;
}

/* ===== Article Page ===== */
.article-header{
  background:#43a047;
  color:#fff;
  padding:40px 0 32px;
  text-align:center;
}
.article-header h1{
  font-size:1.6rem;
  font-weight:700;
  max-width:720px;
  margin:0 auto 8px;
  line-height:1.5;
}
.article-header .article-date{
  font-size:.82rem;
  opacity:.8;
}
.article-body{
  max-width:720px;
  margin:0 auto;
  padding:40px 20px 60px;
}
.article-body h2{
  font-size:1.2rem;
  font-weight:700;
  color:#313131;
  margin:36px 0 14px;
  padding-bottom:8px;
  border-bottom:2px solid #e8f5e9;
}
.article-body h2:first-child{margin-top:0}
.article-body h3{
  font-size:1.05rem;
  font-weight:700;
  color:#555;
  margin:24px 0 10px;
}
.article-body p{
  font-size:.92rem;
  color:#555;
  margin-bottom:16px;
  line-height:1.9;
}
.article-body ul,
.article-body ol{
  margin:0 0 16px 20px;
  list-style:disc;
}
.article-body ol{list-style:decimal}
.article-body li{
  font-size:.9rem;
  color:#555;
  line-height:1.8;
  margin-bottom:4px;
}
.article-body blockquote{
  border-left:3px solid #795548;
  background:#fdf6f3;
  padding:16px 20px;
  margin:16px 0;
  border-radius:0 6px 6px 0;
  font-size:.88rem;
  color:#5d4037;
  line-height:1.8;
}
.article-body img{
  border-radius:8px;
  margin:16px 0;
}

/* ===== Footer ===== */
.site-footer{
  background:#313131;
  color:rgba(255,255,255,.55);
  padding:32px 0 24px;
  text-align:center;
}
.footer-nav{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-bottom:16px;
  flex-wrap:wrap;
}
.footer-nav a{
  font-size:.8rem;
  color:rgba(255,255,255,.7);
  transition:color .2s;
}
.footer-nav a:hover{
  color:#fff;
}
.site-footer p{
  font-size:.72rem;
  line-height:1.8;
}

/* ===== Sub Pages ===== */
.page-header{
  background:#43a047;
  color:#fff;
  padding:32px 0;
  text-align:center;
}
.page-header h1{
  font-size:1.4rem;
  font-weight:700;
}
.page-content{
  max-width:720px;
  margin:0 auto;
  padding:40px 20px 60px;
}
.page-content h2{
  font-size:1.1rem;
  font-weight:700;
  color:#313131;
  margin:32px 0 12px;
  padding-bottom:8px;
  border-bottom:2px solid #e8f5e9;
}
.page-content h2:first-child{margin-top:0}
.page-content p{
  font-size:.9rem;
  color:#555;
  margin-bottom:12px;
  line-height:1.8;
}
.page-content ul{
  margin:0 0 16px 20px;
  list-style:disc;
}
.page-content ul li{
  font-size:.88rem;
  color:#555;
  line-height:1.7;
  margin-bottom:4px;
}
.page-content .update-date{
  font-size:.78rem;
  color:#999;
  margin-bottom:24px;
}

/* ===== Responsive: Tablet (900px) ===== */
@media(max-width:900px){
  .category-grid{
    grid-template-columns:repeat(2,1fr);
  }
  .profile-box{
    margin-left:20px;
    margin-right:20px;
  }
}

/* ===== Responsive: Mobile (700px) ===== */
@media(max-width:700px){
  .site-header{padding:32px 0 24px}
  .site-header h1{font-size:1.6rem}
  .card{
    grid-template-columns:1fr;
  }
  .card-thumb{
    min-height:160px;
    padding:20px 40px;
  }
  .card-body{padding:20px}
  .concept-grid{
    grid-template-columns:1fr;
  }
  .priority-legend{
    gap:12px;
  }
  .hero-banner img{
    border-radius:0;
  }

  /* Nav mobile */
  .hamburger{display:block}
  .nav-links{
    display:none;
    position:absolute;
    top:56px;
    left:0;
    right:0;
    background:#fff;
    flex-direction:column;
    padding:16px 20px;
    gap:0;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
  }
  .nav-links.is-open{
    display:flex;
  }
  .nav-links a{
    padding:12px 0;
    border-bottom:1px solid #f0f0f0;
    width:100%;
  }
  .nav-links a:last-child{
    border-bottom:none;
  }

  /* Category cards */
  .category-grid{
    grid-template-columns:1fr;
    padding:0 20px 32px;
  }

  /* Profile box */
  .profile-box{
    flex-direction:column;
    align-items:center;
    text-align:center;
    margin-left:20px;
    margin-right:20px;
    padding:24px 20px;
  }

  /* Section title */
  .section-title{
    font-size:1.15rem;
    margin:32px 0 6px;
  }

  /* Category header */
  .category-header h1{
    font-size:1.4rem;
  }

  /* Site intro */
  .site-intro{
    padding:24px 20px;
    margin:20px;
  }
}
