/* ==========================================================
   Design tokens
========================================================== */
:root{
  --cream:      #FBF3D8;
  --white:      #FFFFFF;
  --red:        #C8354F;
  --red-deep:   #8E2140;
  --green:      #159A54;
  --orange:     #E87511;
  --pink-bg:    #F6DFD2;
  --brown:      #5B4A32;
  --yellow-hl:  #FFF34D;
  --font-round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --w-content:  1024px;
}

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

html{ scroll-behavior:smooth; }

body{
  font-family: var(--font-round);
  color: var(--brown);
  background: var(--cream);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; }

.site-main{
  position: relative;
  top: -4rem;
  z-index: 0;
}
.inner{
  max-width: var(--w-content);
  margin: 0 auto;
  padding: 0 20px;
}

/* 画像見出し共通 */
.h2-img{
  margin: 0 auto 36px;
  width: 100%;
  max-width: 100%;
}
.h2-img img{
  width: 100%;
  height: auto;
}

/* ==========================================================
   Header
========================================================== */
.site-header{
  padding: 1rem 0;
  position: relative;
  z-index: 2;
}
.site-header .inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.logo-babygreen{ width:170px; flex:0 0 auto; }

/* グリーンコープ ロゴ（シンボル＋テキストで組成） */
.logo-greencoop{
  display:flex;
  align-items:center;
  gap: 8px;
  flex:0 0 auto;
  text-decoration:none;
}
.logo-greencoop img{ width: 125px; }
.logo-greencoop span{
  color: #00803E;
  font-weight:800;
  font-size: 19px;
  letter-spacing:.02em;
}

/* リボン帯（tapestry.webp） */
.ribbon{
  max-width: 483px;
  margin: 0 auto;
}

/* ==========================================================
   Hero（bg.webp = 万国旗・紙吹雪の背景）
========================================================== */
.hero{
  text-align:center;
  background: url("../img/bg.webp") center top / contain no-repeat, var(--cream);
}
.hero-title-img{
  max-width: 635px;
  margin: 0 auto;
}
.hero-badge{
  max-width: 353px;
  margin: -1.5rem auto 15px;
}

/* 対象期間（period.webp） */
.period{
  max-width: 760px;
  margin: 0 auto;
}
.period img{ width:75%; object-fit:contain; }

/* リード文ボックス（げんきくんが上から覗く） */
.lead-wrap{
  position:relative;
  max-width: 760px;
  margin: 0 auto;
}
.genkikun{
  position:absolute;
  top: -57px;
  right: 25px;
  width: 110px;
  z-index: 2;
}
.lead-box{
  position:relative;
  z-index: 1;
  background:#fff;
  border:1px solid var(--brown);
  padding: 10px 15px 10px;
  text-align:center;
  font-size: clamp(15px, 1.8vw, 15px);
}
.lead-box .strong{
  color: var(--red);
  font-weight:800;
  border-bottom: 3px double var(--red);
}
.lead-box .note{
  display:block;
  margin-top:10px;
  font-size:.85em;
  color:#8a7a60;
}

/* ==========================================================
   プレゼント商品（吹き出し込み画像）
========================================================== */
.presents{
  padding: 25px 0 0;
}
.presents-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
}
.presents-head .gift{
  width: clamp(60px, 9vw, 96px);
  flex: 0 0 auto;
}
.presents-head .h2-img{
  margin: 0;
  max-width: 700px;
}
.presents-head .h2-img img{
  width: 100%;
  height: auto;
}

.present-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 30px;
  align-items:center;
  margin: 0 auto;
}
.present-grid div:nth-child(1){ 
  position: relative;
  transform: rotate(11deg);
  left: -25px;
  top: -30px;
}
.present-grid div:nth-child(2){ 
  position: relative;
  transform: rotate(0deg);
}
.present-grid div:nth-child(3){ 
  position: relative;
  transform: rotate(-11deg);
  right: -25px;
  top: -20px;
}
.present-grid .row2{
  grid-column: span 3;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
  width:100%;
}
.present-grid .row2 > div:nth-child(1){ 
  position: relative;
  transform: rotate(5deg);
  min-width: 450px;
  left: -110px;
  top: -70px;
}
.present-grid .row2 > div:nth-child(2){ 
  position: relative;
  transform: rotate(20deg);
  min-width: 250px;
  left: -75px;
  top: -65px;
}
.present-item img{
  width:100%;
  object-fit:contain;
}

/* ==========================================================
   さらに、こんな特典も！（水玉背景セクション）
========================================================== */
.benefits{
  background:
    radial-gradient(circle, rgba(0,0,0,.045) 3px, transparent 3.5px) 0 0 / 26px 26px,
    #fff;
  padding: 60px 0 70px;
}
.benefits .h2-img{ max-width: 560px; margin-bottom:44px; }

.benefit-cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.benefit-col{ padding: 0 34px; }
.benefit-col + .benefit-col{ border-left: 1px solid var(--brown); }

/* 左：赤ちゃんすくすく個配（akasuku.webp 一体画像） */
.akasuku-img{
  max-width: 400px;
  margin: 0 auto 20px;
}
.benefit-body{ font-size: 14.5px; }
.benefit-note{
  font-size: 12.5px;
  color:#8a7a60;
  margin-top: 12px;
}

.benefit-h2{
  text-align:center;
  font-weight:800;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height:1.7;
  margin-bottom: 14px;
}
.toy-row{
  display:flex;
  gap: 18px;
  align-items:center;
  margin-top: 18px;
}
.toy-row .toy-logo{ min-width: 240px;}
.toy-row .toy-photo{ min-width: 175px; }
.korokoro-det{
  flex: 1;
}
.korokoro-conditions{
  background: #fff;
  border: 2px solid var(--brown);
  border-radius: 8px;
  padding: 5px 10px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
}
.condition-item{
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
  flex-flow: column;
}
.condition-item:last-child{
  margin-bottom: 0;
}
.condition-item dt{
  font-weight: 700;
  color: var(--brown);
  flex-shrink: 0;
}
.condition-item dd{
  margin: 0;
  color: var(--brown);
}
.condition-item .note-small{
  font-size: 13px;
  color: #8a7a60;
}

/* ==========================================================
   おためしセット（bg4.webp = 紙吹雪背景）
========================================================== */
.trial{
  background: url("../img/bg4.webp") center top / cover no-repeat, var(--cream);
  padding: 60px 0 70px;
}
.trial .h2-img{ max-width: 620px; margin-bottom: 30px; }

/* 商品タイトル＋価格のラッパー（左右50%並び） */
.trial-wrapper{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 44px;
}

/* 商品タイトル一式（rinyushoku-title.webp） */
.trial-title{
  display: flex;
  align-items: center;
  justify-content: center;
}

/* OFFバッジ＋価格（45-46off.webp / 1000yen.webp） */
.trial-pricing{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 16px;
}
.trial-pricing .off{
  width: 158px;
  flex: 0 0 auto;
}
.trial-pricing .price{
  width: clamp(240px, 36vw, 360px);
}
.trial-price-note{
  font-size:14px;
  line-height:1.7;
  margin-top: 5px;
}

.trial-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 26px;
  margin: 0 auto;
}
.trial-grid .row2{
  grid-column: span 3;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 680px;
  margin: 0 auto;
  width:100%;
}
.trial-item .photo{
  width:100%;
  object-fit: contain;
}
/* 手描き線（pinkline＝離乳食3品／blueline＝おとなごはん2品） */
.trial-item .line{
  width:100%;
  height:5px;
  object-fit: fill;
  margin: 12px 0 8px;
}
.trial-item .name{
  font-size:15px;
  font-weight:700;
  display:inline-block;
  align-items: center;
}
.trial-item .name::before{
  content:"";
  display: inline-block;
  width: 15px;
  height: 13px;
  background: url("../img/gc-mark.png") center / contain no-repeat;
  margin-right: 5px;
  position: relative;
  top:2px;
}
/* 調理・保存チップ（画像） */
.chips{ display: inline-block; vertical-align: middle; height: 30px; }
.chips img{ height: 25px; width:auto; display: inline-block;}

/* ==========================================================
   選べる！おためしセット（bg2.webp = ピンクテクスチャ）
========================================================== */
.sets{
  background: url("../img/bg2.webp") center top / cover no-repeat, var(--pink-bg);
  padding: 56px 0 60px;
}
.sets .h2-img{ max-width: 560px; margin-bottom: 44px; }

.set-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.set-card{ text-align:left; }

/* セットタイトル画像 */
.set-title-img{
  max-width: 320px;
  margin: 0 auto 14px;
}
.set-photo{
  width:100%;
  object-fit: contain;
  margin-bottom: 14px;
}
/* 価格画像（OFFバッジ込み） */
.set-kakaku{
  max-width: 300px;
  margin: 0 auto 10px;
}
.set-note{
  font-size:13px;
  line-height:1.6;
  margin-bottom: 10px;
}
.set-items{
  list-style:none;
  font-size: 13.5px;
  font-weight:500;
}
.set-items li{
  display:flex;
  gap:5px;
}
.set-items li::before{
  content:"";
  flex: 0 0 14px;
  height: 12px;
  margin-top: 7px;
  background: url("../img/gc-mark.png") center / contain no-repeat;
}
.sets-foot-note{
  text-align:right;
  font-size:12.5px;
  color:#8a7a60;
  margin-top: 20px;
}

/* ==========================================================
   申込方法（h2-4） / CTA / 電話
========================================================== */
.apply{
  background: url("../img/bg2.webp") center bottom / cover no-repeat, var(--pink-bg);
  padding: 10px 0 70px;
  text-align:center;
}
.apply .h2-img{
  max-width: 640px;
  margin-bottom: 36px;
}
.btn-cta{
  display:inline-block;
  background: var(--red-deep);
  color:#fff;
  font-weight:800;
  font-size: clamp(16px, 2.4vw, 21px);
  text-decoration:none;
  padding: 20px 60px;
  border-radius: 6px;
  box-shadow: 0 4px 0 rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-cta::before{ content:"▶ "; font-size:.8em; }
.btn-cta:hover{
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0,0,0,.18);
}

.tel-block{
  margin-top: 44px;
}
.freedial-img{
  max-width: 440px;
  margin: 0 auto 6px;
}
.freedial-img a{ 
  display:block;
  pointer-events: none;
  cursor: default;
}
@media (max-width: 520px){
  .freedial-img a{ 
    pointer-events: auto;
    cursor: pointer;
  }
}
.tel-hours{ font-size: 14px; font-weight:700; }
.cta-notes{
  margin-top: 26px;
  font-size: 15px;
  line-height:1.9;
}

/* ==========================================================
   Web加入バナー
========================================================== */
.webjoin{
  background: url("../img/bg3.webp") center bottom / cover no-repeat, var(--cream);
  text-align:center;
  padding: 60px 0 80px;
}
.webjoin .h2-img{
  max-width: 520px;
  margin-bottom: 34px;
}
.webjoin-banner{
  max-width: 560px;
  margin: 0 auto 40px;
}
.webjoin-banner img{
  margin:0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

/* ==========================================================
   Footer
========================================================== */
.site-footer{
  background: url("../img/bg2.webp") center top / cover no-repeat, var(--cream);
  text-align:center;
  padding: 35px 0;
}
.site-footer .logo-greencoop{
  justify-content:center;
  margin-bottom: 8px;
}
/* ==========================================================
   Responsive
========================================================== */
@media (max-width: 1024px){
  /* プレゼント商品 - 2:1:2レイアウト */
  .present-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
    padding: 5%;
  }
  .present-grid > div:nth-child(1){ 
    left: auto;
    right: auto;
    top: auto;
    width: 75%;
  }
  .present-grid > div:nth-child(2){ 
    left: auto;
    right: auto;
    top: auto;
    width: 85%;
  }
  .present-grid > div:nth-child(3){ 
    grid-column: 1 / -1;
    margin: 0 auto;
    left: auto;
    right: auto;
    top: auto;
    width: 41%;
  }
  .present-grid .row2{
    grid-column: 1 / -1;
    gap: 24px;
    max-width: 100%;
  }
  .present-grid .row2 > div:nth-child(1){ 
    left: auto;
    top: auto;
  }
  .present-grid .row2 > div:nth-child(2){ 
    left: auto;
    top: auto;
    width: 70%;
    transform: rotate(-10deg);
  }
}

@media (max-width: 820px){
  .inner{ padding: 0 18px; }
  
  /* 見出し画像 */
  .h2-img{ max-width: 100%; }
  .presents-head .h2-img,
  .benefits .h2-img,
  .trial .h2-img,
  .sets .h2-img{ max-width: 100%; }
  
  /* プレゼント商品 */
  .present-grid{ 
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
  .present-grid div:nth-child(1){ 
    transform: rotate(6deg);
    left: -15px;
    top: -15px;
    width: 100%;
  }
    .present-grid div:nth-child(2){ 
    width: 100%;
  }
  .present-grid div:nth-child(3){ 
    transform: rotate(-6deg);
    right: -15px;
    top: -10px;
  }
  .present-grid .row2{ 
    grid-column: span 2; 
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .present-grid .row2 > div:nth-child(1){ 
    transform: rotate(3deg);
    min-width: auto;
    width: 120%;
  }
  .present-grid .row2 > div:nth-child(2){ 
    transform: rotate(12deg);
    min-width: auto;
    left: 22%;
  }
  
  /* 特典セクション */
  .benefit-cols{ grid-template-columns: 1fr; }
  .benefit-col{ padding: 0 20px; }
  .benefit-col + .benefit-col{
    border-left:none;
    border-top:1px solid #d8cdb8;
    margin-top: 36px;
    padding-top: 36px;
  }
  .toy-row{ gap: 16px; }
  .toy-row .toy-logo{ min-width: 200px; }
  .toy-row .toy-photo{ min-width: 150px; }
  .korokoro-conditions{ font-size: 12px; }
  
  /* おためしセット */
  .trial-wrapper{ grid-template-columns: 1fr; gap: 24px; }
  .trial-title{ margin-bottom: 10px; }
  .trial-grid{ grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .trial-grid .row2{ grid-column: span 2; grid-template-columns: 1fr 1fr; }
  
  /* 選べるセット */
  .set-grid{ 
    grid-template-columns: 1fr; 
    max-width: 460px; 
    margin: 0 auto;
    gap: 36px;
  }
}

@media (max-width: 680px){
  body{ font-size: 15px; }
  
  /* Header */
  .site-header{ padding: 0.85rem 0; }
  .logo-babygreen{ width: 140px; }
  .logo-greencoop img{ width: 110px; }
  
  /* Hero */
  .site-main{ top: -3rem; }
  .genkikun{ width: 85px; top: -48px; right: 18px; }
  .lead-box{ font-size: 14px; padding: 9px 14px; }
  
  /* 見出し画像 */
  .h2-img{ max-width: 100%; }
  .presents-head .h2-img{ max-width: 100%; }
  .benefits .h2-img,
  .trial .h2-img,
  .sets .h2-img,
  .apply .h2-img,
  .webjoin .h2-img{ max-width: 100%; }
  
  /* プレゼント商品 */
  .present-grid{ 
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  
  /* 特典 */
  .benefit-col{ padding: 0 12px; }
  .toy-row{ flex-direction: column; gap: 14px; }
  .toy-row .toy-logo{ min-width: auto; max-width: 260px; margin: 0 auto; }
  .toy-row .toy-photo{ min-width: auto; max-width: 190px; }
  
  /* おためしセット */
  .trial-grid{ grid-template-columns: 1fr; gap: 26px; }
  .trial-grid .row2{ grid-column: span 1; grid-template-columns: 1fr; }
  
  /* 申込 */
  .btn-cta{ 
    padding: 18px 48px;
    max-width: 360px;
    width: 100%;
  }
}
@media (max-width: 520px){
  body{ font-size: 14px; }
  .inner{ padding: 0 16px; }
  
  /* Header */
  .site-header{ padding: 0.75rem 0; }
  .site-header .inner{ flex-wrap: wrap; justify-content: space-between; gap: 8px; }
  .logo-babygreen{ width: 120px; }
  .logo-greencoop img{ width: 100px; }
  .ribbon{ order: 3; width:100%; max-width:none; margin-top: 8px; }
  
  /* Hero */
  .site-main{ top: 0; }
  .hero-title-img{ margin-bottom: 1rem; }
  .hero-badge{ max-width: 280px; margin: -1rem auto 10px; }
  .period{ margin: 1rem auto; }
  .period img{ width: 90%; }
  
  /* リード文 */
  .genkikun{ width: 70px; top: -38px; right: 12px; }
  .lead-box{ 
    padding: 8px 12px;
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
  }
  .lead-box .note{ font-size: 11px; margin-top: 8px; }
  
  /* プレゼント商品 */
  .presents{ padding: 20px 0 0; }
  .presents-head{ flex-direction: column; gap: 8px; margin-bottom: 24px; }
  .presents-head .h2-img{ max-width: 100%; }
  .present-grid{ 
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 0 5%;
  }
  .present-grid > div:nth-child(1){ 
    left: auto;
    right: auto;
    top: auto;
  }
  .present-grid > div:nth-child(2){ 
    left: -30px;
    width: 122%;
  }
  .present-grid > div:nth-child(3){ 
    grid-column: 1 / -1;
    width: 50%;
    left: -68px;
  }
  .present-grid .row2{ 
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .present-grid .row2 > div:nth-child(1){ 
    width: 158%;
    transform: rotate(0deg);
    top: -30px;
    left: 37px;
  }
  .present-grid .row2 > div:nth-child(2){ 
    width: 88%;
    transform: rotate(4deg);
    top: -200px;
    left: 34px;
  }
  
  /* 特典セクション */
  .benefits{ padding: 40px 0 50px; }
  .benefits .h2-img{ margin-bottom: 30px; max-width: 100%; }
  .benefit-col{ padding: 0 8px; }
  .benefit-col + .benefit-col{ margin-top: 30px; padding-top: 30px; }
  .benefit-body{ font-size: 15px; line-height: 1.75; }
  .benefit-note{ font-size: 13px; }
  .benefit-note br{ display: none; }
  .benefit-h2{ 
    font-size: 16px;
    margin-bottom: 12px;
  }
  .akasuku-img{ margin-bottom: 16px; }
  .toy-row{ flex-direction: column; gap: 12px; }
  .toy-row .toy-logo{ min-width: auto; max-width: 280px; margin: 0 auto; }
  .toy-row .toy-photo{ min-width: auto; width: 100%; max-width: 180px; margin: 0 auto; }
  .korokoro-conditions{ font-size: 15px; padding: 8px 10px; }
  .condition-item{ flex-direction: column; gap: 2px; margin-bottom: 8px; }
  .condition-item dt{ margin-bottom: 2px; }
  
  /* おためしセット */
  .trial{ padding: 40px 0 50px; }
  .trial .h2-img{ margin-bottom: 24px; max-width: 100%; }
  .trial-wrapper{ grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .trial-pricing{ flex-direction: column; gap: 12px; }
  .trial-pricing .off{ width: 130px; }
  .trial-pricing .price{ width: 100%; max-width: 280px; }
  .trial-price-note{ font-size: 13px; text-align: center; }
  .trial-grid{ grid-template-columns: 1fr; gap: 24px; }
  .trial-grid .row2{ grid-column: span 1; grid-template-columns: 1fr; gap: 24px; }
  .trial-item .line{ margin: 8px 0 6px; }
  .trial-item .name{ font-size: 15px;}
  .chips{ height: 26px; }
  .chips img{ height: 22px; }
  
  /* 選べるセット */
  .sets{ padding: 40px 0 50px; }
  .sets .h2-img{ margin-bottom: 30px; max-width: 100%; }
  .set-grid{ gap: 40px; }
  .set-note{ font-size: 13px; display: table; margin: 0 auto 5px;}
  .set-items{ font-size: 15px; margin: auto; display: table;}
  .sets-foot-note{ font-size: 13px; margin-top: 16px; text-align: center;}
  
  /* 申込方法 */
  .apply{ padding: 10px 0 50px; }
  .apply .h2-img{ margin-bottom: 28px; max-width: 100%; }
  .btn-cta{ 
    font-size: 16px;
    padding: 16px 25px;
    width: 100%;
    max-width: 340px;
  }
  .tel-block{ margin-top: 32px; }
  .freedial-img{ max-width: 340px; }
  .tel-hours{ font-size: 15px; }
  .cta-notes{ 
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.8;
    text-align: left;
  }
  
  /* Web加入 */
  .webjoin{ padding: 40px 0 60px; }
  .webjoin .h2-img{ margin-bottom: 24px; max-width: 100%; }
  .webjoin-banner{ margin-bottom: 28px; }
  
  /* Footer */
  .site-footer{ padding: 28px 0; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn-cta, .float-btn{ transition:none; }
}