/* =============================================
   Project: KOSODATE-Orange-01
   Design Rule: Pop, Friendly, Warm
   ============================================= */

:root {
  /* Colors */
  --primary: #FF8C00;        /* メインオレンジ */
  --primary-light: #FFF9B0;  /* 背景用ライトイエロー */
  --secondary: #4CAF50;      /* アクセントグリーン */
  --text-main: #4A4A4A;      /* 文字色 */
  --white: #FFFFFF;
  
  /* Shared Rules */
  --section-space: 80px;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --font-main: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Meiryo", sans-serif;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-main); line-height: 1.6; }

/* ---------------------------------------------
   Global Header (.l-header)
   --------------------------------------------- */
.l-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 12px 0;
}

.l-header__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.l-header__logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
}

.l-header__logo-icon { font-size: 1.8rem; }
.l-header__logo-main {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary);
}
.l-header__logo-sub { font-size: 0.65rem; color: var(--text-main); }

.l-header__menu { display: flex; list-style: none; gap: 20px; }
.l-header__menu-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
}
.l-header__menu-link:hover { color: var(--primary); }

.l-header__cta-btn {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.85rem;
  transition: var(--transition);
}

.l-header__cta-btn:hover { opacity: 0.8; }


  /* ---------------------------------------------
   Hero Section (.l-hero)
   --------------------------------------------- */
.l-hero {
  background-color: #FFF9B0; /* 背景の明るい黄色 */
  padding: 40px 20px 80px;
  position: relative;
}

/* 雲のような白い背景 */
.l-hero__cloud-bg {
  background: var(--white);
  border-radius: 60px;
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 10px 0 rgba(0,0,0,0.05);
}

.l-hero__header {
  text-align: center;
  margin-bottom: 40px;
}

.l-hero__title-deco {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}

.l-hero__main-title {
  color: #E67E22;
  font-size: 3.2rem; /* ヒーロー用にサイズアップ */
  margin-top: 10px;
  font-family: var(--font-main);
}

.l-hero__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.l-hero__item {
  text-align: center;
}

/* 手書き風フレームの再現 */
.l-hero__frame {
  padding: 10px;
  background: var(--white);
  border: 5px solid var(--primary); /* 枠を少し太く */
  border-radius: 8px;
  position: relative;
  transform: rotate(-1.5deg); /* 少し傾ける */
  transition: var(--transition);
  overflow: hidden;
}

.l-hero__item:nth-child(even) .l-hero__frame {
  transform: rotate(2deg);
}

.l-hero__image {
  width: 100%;
  aspect-ratio: 3 / 2; /* 写真の比率を一定に */
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

.l-hero__label {
  display: inline-block;
  margin-top: 15px;
  background: var(--secondary);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .l-hero__main-title {
    font-size: 2.2rem;
  }
  .l-hero__grid {
    grid-template-columns: 1fr; /* スマホでは縦並び */
    gap: 30px;
  }
}
.c-features {
  position: relative;
  padding: var(--section-space) 20px;
  background-color: var(--white);
  overflow: hidden;
}

/* 下部のモコモコした境界線（画像のような雲デザイン） */
.c-features__bg-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--primary-light);
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  z-index: 1;
}

.c-features__container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 2;
}

.c-features__header {
  text-align: center;
  margin-bottom: 60px;
}

.c-features__sub-title {
  display: block;
  font-weight: bold;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 10px;
  transform: rotate(-2deg); /* 少し傾けて手書き感を演出 */
}

.c-features__main-title {
  font-size: 2.2rem;
  color: var(--text-main);
  line-height: 1.3;
}

.u-highlight {
  color: var(--primary);
  background: linear-gradient(transparent 60%, #ffe4bc 60%); /* マーカー風 */
}

.c-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.c-features__item {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  border: 3px solid var(--primary-light); /* 太めの枠線でポップに */
  text-align: center;
  transition: var(--transition);
}

.c-features__item:hover {
  transform: translateY(-10px) rotate(2deg); /* ホバー時に動く楽しさ */
  border-color: var(--primary);
}

.c-features__icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.c-features__icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-features__item-title {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.c-features__item-text {
  font-size: 1rem;
  color: var(--text-main);
  text-align: left;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .c-features__main-title {
    font-size: 1.6rem;
  }
}