/* 基本設定 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Noto sans", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif; color: #333; line-height: 1.6; background-color: #fff; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
li { list-style: none; }

/* レイアウト共通 */
.section-title { text-align: center; color: #000; margin-bottom: 40px; font-size: 3rem; font-weight: bold; }
.sub-title { text-align: center; color: #666; font-size: 0.9rem; margin-bottom: 10px; }
.features .section-title{
    color: #2C7436 ;
}
#trial .sub-title {
  color: #123401;
}
/* 左の「＼」 */
#trial .sub-title::before {
  content: "＼";
  margin-right: 6px;
}
/* 右の「／」 */
#trial .sub-title::after {
  content: "／";
  margin-left: 6px;
}

#trial .section-title {
  color: #2C7436;
}
/* ヘッダー */
.header { height: 108px; background: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; padding: 0 20px; max-width: 1200px; margin: 0 auto; }
.logo { height: 70px; max-width: 240px; }
.logo img { height: 100%; width: auto; }
.nav ul { color: #123401; display: flex; gap: 84px; }
.nav a { transition: 0.3s; font-weight: 500; }
.nav a:hover { opacity: 0.7; }
.menu-btn { display: none; }

/* メインビジュアル */
.mv { max-width: 100%; margin: 0 auto; }
.mv img { width: 100%; display: block; }

/* ボタン共通 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 50px; font-weight: bold; transition: 0.3s; padding: 15px 40px; cursor: pointer; border: none; }
.btn:hover { opacity: 0.8; transform: translateY(-2px); }
.btn-main { background: #e65c2e; color: #fff; }
.btn-cart { background: #e65c2e; color: #fff; width: 100%; max-width: 400px; font-size: 1.2rem; }
.btn-area { text-align: center; margin-top: 80px; }
.btn-icon { width: 50px; height: 50px; }

/* リード */
.lead { background: #fff; padding: 120px 20px; }
.lead-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: 0 200px; text-align: center; }
.lead-inner p { position: relative; z-index: 10; margin-bottom: 30px; line-height: 2; padding: 20px; border-radius: 10px; }
.cta-btn { position: relative; z-index: 10; padding: 20px 48px; font-size: 1.2rem; }
.veg { position: absolute; z-index: 1; pointer-events: none; }
.veg-left { left: 130px; top: 60%; transform: translateY(-40%); width: 180px; }
.veg-top-right { right: 150px; top: -20px; width: 90px; }
.veg-bottom-right { right: 150px; bottom: 0px; width: 150px; }

/* ③選ばれる理由 */


.features {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/riyuu.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.features .section-title,
.features-grid {
    position: relative;
    z-index: 1;
}
#features .section-title {
  margin-top: 0px;
}
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    max-width: 1220px;
    margin: 0 auto;
    padding: 60px 20px;
}
.feature-item { background: transparent; padding: 0px; position: relative; }
.num-img { 
    width: fit-content; 
    position: relative;
    top: 24px; width: 130px; 
    left: -30px;
}
#features .feature-item h3 span {
  font-size: 0.53em;
  line-height: 1.2;
  margin-left: -20px;
}
#features .feature-item:first-of-type h3 span {
  margin-left: -40px;
}

.feature-item h3 { 
    font-size: 2.25rem; 
    margin-bottom: 15px; 
    color: #000; 
    text-align: center; 
    position: relative;
}
.feature-item .small-text {
    font-size: 1.3rem;
    display: block;
}
.feature-item p { font-size: 0.9rem; line-height: 1.8; }

/* ④商品カード  */
#trial { 
    background: rgba(214, 191, 139, 0.4); 
    max-width: 100%;
    overflow: hidden;
}
.trial-bottom { 
    background: rgba(214, 191, 139, 0.4); 
    border-radius: 0 50px 0 0;
    padding: 0;
    max-width: 100%;
}
.trial-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px;
}
#trial .product-card {
  background: #fff;
  border: 2px solid #fff; /* 白い外枠 */
  border-radius: 0 50px 0 0; /* 右上だけカーブ */
  padding: 24px 24px;
}

/* 商品タイトル */
.product-title {
  line-height: 1.4;
  margin: 15px 0;
}

.title-main {
  font-size: 28px;
  font-weight: bold;
}

.title-sub {
  font-size: 16px;
  margin-top: 4px;
}

.producer {
  display: block;
  font-size: 16px;
  font-weight: normal;
  margin-top: 6px;
  color: #555;
}

/* 金額 */
.price {
  margin-top: 10px;
  color: #e65c2e; 
  font-size: 1.4rem; 
  font-weight: bold; 
  margin: 0; 
  text-align: right;
}

.price-num {
  font-size: 60px;
  font-weight: bold;
  line-height: 1;
}

.price-yen {
  font-size: 20px;
  margin-left: 4px;
}

.price-note {
  display: inline-block;
  font-size: 12px;
  margin-top: 4px;
  color: #666;
}

#trial {
  padding: 60px 0;
}

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


.farmer { font-size: 0.85rem; color: #666; margin: 0; }

.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 30px; }
.product-img { width: 100%; border-radius: 0 35px 0 0; overflow: hidden; }
.product-img img { width: 100%; height: auto; display: block; }

/* ⑦生産者 - 変更箇所 */
.farmers {
  background: #fff;
  padding: 0;    
  width: 100%;
  margin-top: 30px;
}
.farmers-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;  
}

.box {
    padding: 2em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: black;
    background: #FFF;
    border: solid 1px #000;
    border-radius: 10px;
    max-width: 1286px;
    margin: 0 auto;
}
.farmer-grid { display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;}
.farmer-content { background: #fff; border-radius: 20px; overflow: hidden; max-width: 400px; }
.farmer-img { width: 100%; display: block; }
.farmer-img img { width: 100%; height: auto; display: block; }
.farmer-text-content { padding: 20px 0px 20px 0; }
.farmer-content h4 { font-size: 1.1rem; margin-bottom: 10px; color: #000; }
.farmer-content .name { font-size: 0.9rem; font-weight: bold; margin-bottom: 10px; }
.farmer-content .text { font-size: 0.85rem; line-height: 1.8; }
.farmer-content .highlight { color: #F0461A; }

/* ②お客様の声 */
.voice { background: #fff; padding: 60px 0; }
.voice-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}
.voice-header-img { display: block; text-align: center; margin-bottom: 40px; }
.voice-header-img img { max-width: 380px; width: 100%; max-height: 115px; }
.voice-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
    justify-content: center;
}
.voice-item { background: transparent; padding: 0 40px; }
.voice-icon { width: 100%; margin-bottom: 15px; }
.voice-icon img { border-radius: 10px; }
.voice-item h4 { font-size: 1rem; margin-bottom: 10px; color: #000; font-weight: bold; }
.voice-name { font-size: 0.85rem; color: #666; margin-bottom: 10px; }
.voice-text { font-size: 0.85rem; line-height: 1.8; }

/* ①Q&A - 変更箇所 */
.faq { 
  background: #fff;
  position: relative;
  max-width: 100%;
}

.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/situmon.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.faq-inner {
  max-width: 1138px;
  margin: 0 auto;
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}


.a-main p {
  font-weight: bold;
}

/* 区切り線 */
.qa-divider {
  height: 1px;
  background: #000;
  margin: 15px 0;
}

/* A（dd） */
dd.a {
  font-size: 0.9rem;
  line-height: 1.8;
}

/* Aの「画像 + 最初の文章」 */
.a-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* A画像 */
.qa-icon {
  flex-shrink: 0;
}

/* dt自体はブロックのまま */
dt.q {
  font-weight: bold;
  line-height: 1.6;
}

/* 中身だけをflex */
.q-inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* 罫線はdt直下に出す */
dt.q::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #000;
  margin: 12px 0 15px;
}



/* フッター */
.footer { background: #fff; padding: 40px 20px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; }
.footer-logo { height: 70px; max-width: 240px; }
.footer-logo img { height: 100%; }
.footer small { font-size: 0.8rem; color: #666; }

/* フェードインアニメーション用 */
.fade-in { opacity: 0; transform: translateY(30px); transition: 1s; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* 固定ボタン */
.top-btn { position: fixed; right: 20px; bottom: 100px; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; z-index: 90; opacity: 0; transition: 0.3s; }
.top-btn img { width: 100%; height: auto; }
.top-btn:hover { transform: translateY(-3px); }

.side-buy-btn { position: fixed; right: 0; top: 40%; background: #e65c2e; color: #fff; padding: 20px 10px; border-radius: 10px 0 0 10px; z-index: 90; text-align: center; font-size: 0.8rem; font-weight: bold; writing-mode: vertical-rl; line-height: 1.5; box-shadow: -2px 2px 10px rgba(0,0,0,0.2); }
.side-cart-icon { width: 24px; height: 24px; margin-top: 10px; }
.side-buy-btn:hover { background: #d54a1a; }

.sp-bottom-buy { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(255,255,255,0.95); padding: 10px; z-index: 100; display: none; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); }
/* スマホ下部購入ボタン調整 */
.sp-bottom-buy .btn-cart {
  background: #CE8B00;
  font-size: 1rem;
  padding: 10px 24px;
  max-width: 320px;
}

.sp-bottom-buy .btn-icon {
  width: 32px;
  height: 32px;
}

.pc-only { display: block; }
.sp-only { display: none; }

/* スマホ対応（メディアクエリ） */
@media (max-width: 768px) {
    .pc-only { display: none; }
    .sp-only { display: block; }

    /* ⑧ヘッダー - 変更箇所 */
    .header { height: 70px; }
    .logo { height: 50px; }
    .nav { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    .nav.active { display: block; }
    .nav ul { flex-direction: column; padding: 16px; } /* ⑧変更:padding: 16px */
    .nav li { padding: 15px 0; border-bottom: 1px solid #eee; }
    
    .menu-btn { display: block; background: none; border: none; cursor: pointer; width: 30px; height: 30px; position: relative; }
    .menu-btn span { position: absolute; left: 0; width: 100%; height: 2px; background: #333; transition: 0.3s; }
    .menu-btn span:nth-child(1) { top: 5px; }
    .menu-btn span:nth-child(2) { top: 14px; }
    .menu-btn span:nth-child(3) { top: 23px; }
    
    /* レイアウト */
  section:not(.features) {
    padding: 40px 15px;
  }

    .section-title { font-size: 1.3rem; }
    
    /* リード */
  .cta-btn { position: relative; z-index: 10; padding: 15px 40px; font-size: 1rem; }
    .lead { padding: 60px 20px; }
    .lead-inner { padding: 0 20px; }
    .lead-inner p { font-size: 0.9rem; padding: 15px; }
    .veg-left { width: 60px; left: -10px; }
    .veg-top-right { width: 50px; right: 0; }
    .veg-bottom-right { right: 0px; bottom: 120px; width: 70px;}
    
    /* グリッド */
    .features-grid, .product-grid, .farmer-grid, .voice-grid { grid-template-columns: 1fr; }
    
    /* 選ばれる理由 */
    .features-grid { gap: 30px; padding: 40px 15px; }
    
    /* 生産者 */
    .farmer-grid { gap: 30px; }
    
    /* お客様の声 */
    .voice-header-img img { max-width: 100%; }
    .voice-grid { gap: 30px; }
    .voice-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0px;
}
    
    /* Q&A */
    .qa-icon img { width: 30px; }
    .faq-inner { padding: 40px 15px; }

    
    /* フッター */
    .footer-logo { max-width: 143px;
    max-height: 42px; }
    .footer-inner {
      flex-direction: column; 
   
    }

    
    /* 固定ボタン */
    .sp-bottom-buy { display: block; }
    .top-btn { bottom: 30px; width: 50px; height: 50px;  transform: translateX(-30px);}

    /* ===== SP下固定ボタン（新） ===== */

.sp-bottom-buy {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;      
  box-shadow: none;
  z-index: 100;
}

/* おためしボタン */
.sp-cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #CE8B00; 
  color: #fff;
  padding: 18px 80px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
   white-space: nowrap;
}

.sp-cart-btn .btn-icon {
  width: 24px;
  height: 24px;
}
  }

