@charset "utf-8";

/* =========================
   Carefood page only
   ========================= */

/* 固定ヘッダー分押し下げ（アンカーずれ防止） */
.is-page #carefood-main{
  padding-top: var(--header-h);
}

/* service-top をこのページでも使う場合の微調整 */
.is-page #service-top .top-lead{
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* hero 基本 */
.hero-carefood{
  padding: 70px 20px;
}

.hero-inner{
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-title{
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.25;
  margin: 0 0 14px;
  color: #af1f24;
}

.hero-lead{
  margin: 0 auto 26px;
  max-width: 46em;
  font-size: 1.05rem;
}

.hero-buttons{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn{
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.btn-primary{
  background: #af1f24;
  color: #fff;
  border: 2px solid #af1f24;
}

.btn-outline{
  background: transparent;
  color: #af1f24;
  border: 2px solid #af1f24;
}

.btn-primary:hover,
.btn-outline:hover{
  opacity: .85;
}

/* section */
.section{
  padding: 70px 20px;
}

.section-gray{
  background: #ebeaf2;
}

.section-inner{
  max-width: 1000px;
  margin: 0 auto;
}

.section-title{
  margin: 0 0 18px;
  color: #0b4d69;
  font-size: clamp(22px, 3vw, 34px);
}

.section-text{
  margin: 0 0 18px;
}

.feature-list,
.support-list{
  margin: 18px 0 0;
  padding-left: 1.2em;
}

.feature-list li,
.support-list li{
  margin: 8px 0;
}

/* images */
.image-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 768px){
  .image-grid{
    grid-template-columns: 1fr;
  }
}

.image-item{
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.image-item img{
  display: block;
  width: 100%;
  height: auto;
}

.image-item figcaption{
  padding: 10px 12px;
  font-weight: 700;
  color: #0b4d69;
}

.image-center{
  max-width: 900px;
  margin: 24px auto 0;
}

.image-center img{
  display: block;
  width: 100%;
  height: auto;
}

.section-note{
  font-size: .9rem;
  opacity: .8;
  margin-top: 14px;
}

/* CTA */
.cta{
  padding: 80px 20px;
}

.cta-inner{
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-carefood{
  background: url("../img/carefood-top.jpg") no-repeat center / cover;
  color: #fff;
  position: relative;
}

.hero-carefood::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.35);
}

.hero-carefood .hero-inner{
  position: relative;
  z-index: 1;
}

.hero-title{ color: #fff; }
.btn-outline{ color:#fff; border-color:#fff; }

.hero-carefood{
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 60px 20px;
}

/* =========================
   carefood page design refresh
   ========================= */

#carefood-main{
  padding-top: var(--header-h);
  color: #555;
  font-weight: 500;
  line-height: 1.9;
}

/* hero */
.hero-carefood{
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 90px;
  background: url("../img/carefood-hero.jpg") no-repeat center center;
  background-size: cover;
  position: relative;
}

.hero-carefood::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.58);
  z-index: 0;
}

.hero-inner{
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-kicker{
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #af1f24;
}

.hero-title{
  color: #af1f24;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: 0.03em;
}

.hero-lead{
  margin: 0 auto 36px;
  max-width: 38em;
  font-size: 1.08rem;
  font-weight: 500;
  color: #555;
  line-height: 1.95;
}

.hero-buttons{
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  transition: 0.3s;
  min-width: 260px;
  text-align: center;
}

.btn-primary{
  background: #af1f24;
  color: #fff;
  border: 2px solid #af1f24;
}

.btn-primary:hover{
  background: #fff;
  color: #af1f24;
}

.btn-outline{
  background: #fff;
  color: #af1f24;
  border: 2px solid #af1f24;
}

.btn-outline:hover{
  background: #af1f24;
  color: #fff;
}

/* section base */
.section{
  padding: 95px 20px;
}

.section-gray{
  background: #f7f7f7;
}

.section-inner{
  max-width: 1100px;
  margin: 0 auto;
}

.section-title{
  text-align: center;
  color: #af1f24;
  margin: 0 0 32px;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-title::after{
  content: "";
  display: block;
  width: 180px;
  height: 3px;
  margin: 28px auto 0;
  background: #af1f24;
}

.section-text,
.section-lead{
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 500;
  color: #666;
  line-height: 2;
}

.section-note{
  margin-top: 16px;
  font-size: 0.92rem;
  color: #777;
  text-align: center;
  line-height: 1.8;
}

.image-center{
  max-width: 1100px;
  margin: 0 auto;
}

.image-center img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 食事例4枚 */
.meal-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.image-item{
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.image-item img{
  display: block;
  width: 100%;
  height: auto;
}

.image-item figcaption{
  padding: 14px 16px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  color: #0b4d69;
}

/* detail image spacing */
.detail-block + .detail-block{
  margin-top: 56px;
}

/* CTA */
.cta{
  padding: 100px 20px;
  text-align: center;
}

.cta-mid{
  background: #fff;
}

.cta-last{
  background: #ebeaf2;
}

.cta-inner{
  max-width: 900px;
  margin: 0 auto;
}

.cta-inner h2{
  color: #af1f24;
  margin: 0 0 20px;
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cta-inner p{
  margin: 0 0 30px;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  line-height: 2;
}

/* 既存の btn_04 を carefood 内だけ少し調整 */
#carefood-main .btn_04{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 18px 34px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

/* responsive */
@media screen and (max-width: 768px){
  .hero-carefood{
    min-height: auto;
    padding: 110px 16px 80px;
  }

  .hero-kicker{
    font-size: 0.9rem;
  }

  .hero-title{
    font-size: 1.8rem;
    line-height: 1.45;
  }

  .hero-lead{
    font-size: 0.98rem;
    margin-bottom: 28px;
  }

  .hero-buttons{
    flex-direction: column;
    gap: 14px;
  }

  .btn{
    width: 100%;
    min-width: 0;
  }

  .section{
    padding: 72px 16px;
  }

  .section-title{
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .section-title::after{
    width: 120px;
    margin-top: 20px;
  }

  .section-text,
  .section-lead{
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .meal-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cta{
    padding: 72px 16px;
  }

  .cta-inner h2{
    font-size: 1.8rem;
  }

  #carefood-main .btn_04{
    width: 100%;
    min-width: 0;
  }
}