/* ベースリセット */
*,
*::before,
*::after {
  box-sizing: border-box;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url('./fonts/NotoSansJP-ExtraBold.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #79CE2F;
}

/* メインビジュアル */
.main-visual {
  position: relative;
  width: 100%;        /* 画面幅いっぱいを確保 */
  height: 870px;      /* 高さは固定 */
  overflow: hidden;   /* はみ出しを隠す */
  display: flex;
  justify-content: center; /* 中央に揃える */
  align-items: center;     /* 縦も中央 */
}

/* 背景画像 */
.main-visual .bg {
  width: 1140px;   /* 背景画像の実サイズ */
  height: 870px;
  object-fit: cover; /* 念のため */
}

/* ロゴを真ん中に配置 */
.main-visual .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 167px;
  height: 140px;
  opacity: 0;         /* 初期状態は非表示 */
  animation: fadeIn 2s ease-in-out forwards; /* 2秒かけて表示 */
  transform: translate(-50%, -50%);
}

/* スペース用のDiv */
.space300 {
  height: 300px;
  margin: 0 auto;          /* 中央寄せ */
}

.space200 {
  height: 200px;
  margin: 0 auto;          /* 中央寄せ */
}

.space100 {
  height: 100px;
  margin: 0 auto;          /* 中央寄せ */
}

.inner-space {
  height: 25px;
  margin: 0 auto;          /* 中央寄せ */
}

.feature-text-space {
  height: 35px;
  margin: 0 auto;          /* 中央寄せ */
}

/* キャッチコピー */
.catchcopy {
  margin: 0 auto;
  text-align: center;    /* 中央寄せ */
  padding: 0px 20px 0px 20px;
  font-size: 35px;
  opacity: 0;         /* 初期状態は非表示 */
  animation: fadeIn 2s ease-in-out forwards; /* 2秒かけて表示 */
}

.catchcopy p {
  font-weight: bold;     /* 太字 */
  color: #fff;           /* 白色 */
  margin: 0;
}

/* 左画像・右テキストのボックス */
.feature-box {
  display: flex;
  align-items: center;   /* 縦中央揃え */
  margin: 60px auto;     /* 上下の余白 */
  color: #fff;           /* 白文字 */
  gap: 30px;
  padding: 0px 20px 0px 20px;
}

/* 左側の画像コンテナ */
.feature-image {
  flex: 1;                      /* 横幅を均等にする */
  height: 280px;                /* 高さは固定 */
  display: flex;
  align-items: center;          /* 縦中央 */
  justify-content: center;      /* 横中央 */
}

/* 画像 */
.feature-image img {
  width: 330px;
  height: 280px;
  object-fit: contain;
  display: block;
}

/* 右側のテキスト */
.feature-text {
  flex: 1;                      /* 横幅を均等にする */
}
.small-text {
  font-size: 16px;
  font-family: sans-serif;
}

/* 大見出し */
.feature-title {
  font-size: 35px;
  font-weight: bold;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

/* サブテキスト */
.feature-sub {
  font-size: 20px;
  line-height: 1.6;
}

/* 詳細説明 */
.feature-desc {
  font-size: 19px;
  line-height: 1.8;
  margin: 0;
}

/* セクションタイトル */
.section-title {
  margin: 0px auto 40px auto;  /* 上下の余白を調整 */
  text-align: center;
  font-size: 35px;
  color: #fff;
  padding: 0px 20px 0px 20px;
  opacity: 0;         /* 初期状態は非表示 */
  animation: fadeIn 0.5s ease-in-out forwards; /* 2秒かけて表示 */
}

.section-title h2 {
  font-size: 35px;   /* 見出しの大きさ */
  font-weight: bold;
  color: #fff;       /* 白文字 */
  margin: 0;
  line-height: 1.4;
}


/* ========== Pricing ========== */
.pricing {
  width: 100%;
  padding: 30px 0 30px; /* 上少し余白、下多め */
}

.pricing-inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列配置 */
  gap: 25px;                        /* 行/列の間隔 */
  padding: 0px 20px 0px 20px;
}

.plan-card {
  background: #fff;
  color: #333;
  border-radius: 10px; /* ← 指定の角丸に変更 */
  padding: 50px 30px; /* ← 上下50px / 左右30px */
  box-shadow: 0px 15px 10px 0px rgba(0, 0, 0, 0.11);
  display: flex;              /* ← 指定反映 */
  flex-direction: column;     /* 中身は縦並び */
  gap: 0;                     /* gap指定 */
}

/* 見出しや価格 */
.plan-name {
  font-size: 18px;
  margin: 0 0 25px;
  color: #7a7a7a;
  font-weight: 700;
}

.plan-price {
  margin: 0 0 15px;
  font-size: 18px;
  color: #79CE2F;                 /* 税別表記の色 */
  font-weight: 700;
}
.plan-price span {
  font-size: 30px;                /* 金額を大きく */
  line-height: 1.2;
  color: #79CE2F;                 /* 背景の緑より少し濃い */
}

.plan-capacity {
  margin: 0 0 18px;
  color: #7a7a7a;                 /* グレー */
  font-size: 16px;
  letter-spacing: .02em;
}

/* セパレータ */
.plan-sep {
  border: none;
  border-top: 1px solid #cdcdcd;
  margin: 18px 0 27px;
}

/* 箇条書き */
.plan-features {
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: disc;
  color: #7a7a7a;
  font-size: 14px;
  line-height: 1.9;
  font-family: sans-serif;
}
.plan-features li {
  margin-bottom: 12px;  /* ← 各項目の間隔を広げる */
  line-height: 1.6;     /* ← 読みやすくするため行間も少し広げる */
}

/* 注意書き */
.pricing-note {
  text-align: center;
  color: #fff;
  height: 35px;
  line-height: 35px;   /* ← 高さと同じにして縦中央 */
  font-size: 14px;
  margin: 20px 0;
  letter-spacing: .02em;
}

/* ===== Apps 料金プラン（カード1枚） ===== */
.pricing.apps { padding: 30px 0 30px; }

/* カード本体 */
.apps-card {
  width: 356px;
  margin: 0 auto 16px;
  background: #fff;
  color: #333;
  border-radius: 10px;       /* --border-radius を適用 */
  padding: 65px 30px;        /* 上下65px、左右30px */
  box-shadow: 0px 15px 10px 0px rgba(0, 0, 0, 0.11);
  display: flex;             /* --display: flex を反映 */
  flex-direction: column;
  gap: 0;                    /* --gap / --row-gap / --column-gap → 0 */
}

/* 見出し相当（価格） */
.apps-price {
  margin: 0 0 8px;
  color: #79CE2F;
  font-weight: 700;
  font-size: 18px;
}
.apps-price span {
  font-size: 30px;
  line-height: 1.2;
  color: #79CE2F;
}

/* 容量表記 */
.apps-capacity {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 14px;
  letter-spacing: .02em;
}

/* 区切り線 */
.apps-sep {
  border: none;
  border-top: 1px solid #e6e6e6;
  margin: 18px 0 27px;;
}

/* 箇条書き（行間＆項目間隔を広めに） */
.apps-features {
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: disc;
  color: #7a7a7a;
  font-size: 14px;
  line-height: 1.9;
  font-family: sans-serif;
  font-weight: bold;
}
.apps-features li { margin-bottom: 12px; }
.apps-features li:last-child { margin-bottom: 0; }

/* 注意書き：2つ並び、高さ35pxで縦中央 */
.pricing-notes {
  width: 1140px;
  max-width: 92%;
  margin: 20px auto 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; /* 幅が狭いとき折り返し */
}
.pricing-notes .note {
  height: 35px;
  line-height: 35px;     /* 縦中央 */
  font-size: 14px;
  color: #fff;
  margin: 0;
  letter-spacing: .02em;
  text-align: center;
}

/* CTA セクション */
.cta {
  background: #fff;            /* 背景白 */
  padding: 80px 20px;          /* 上下余白 */
  text-align: center;          /* 中央寄せ */
}

/* 中身を縦に並べる */
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;                   /* ロゴとボタンの間隔 */
}

/* ロゴ */
.cta-logo {
  width: 167px;
  height: 140px;
}

/* ボタン */
.cta-button {
  display: inline-block;
  padding: 18px 50px;
  background-color: #79CE2F;   /* 緑ボタン */
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  text-decoration: none;
  border-radius: 50px;         /* 丸み */
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #67b628;   /* ホバー時濃いめの緑 */
}

/* ===== 特長グリッド ===== */
.features {
  padding: 30px 0 60px;              /* セクション余白 */
}

.features-grid {
  width: 1140px;
  max-width: 92%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  gap: 40px 46px;                          /* 行/列の間隔 */
}

.feature-card {
  background: #fff;
  color: #7a7a7a;
  border-radius: 10px;                  /* --border-radius */
  padding: 70px 60px;                   /* --padding-top/bottom/left/right */
  box-shadow: 0px 15px 10px 0px rgba(0,0,0,.11);

  display: flex;                        /* --display: flex */
  flex-direction: column;               /* 中身を縦並び */
  gap: 0;                               /* --gap, --row-gap, --column-gap */
}

/* ピル（Docs / Apps） */
.pills { display: flex; gap: 10px; margin-bottom: 14px; }
.pill {
  display: inline-block;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  color: #fff;
}

/* タイトル／本文 */
.feature-title2 {
  font-size: 20px;
  font-weight: 700;
  color: #7a7a7a;
  margin: 6px 0 10px;
}
.feature-text2 {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  font-family: sans-serif;
}

/* スマホで1列に */
@media (max-width: 767px) {

  .catchcopy{ font-size: 30px; }

  .section-title{ font-size: 30px;}

  .feature-image { display: none;}

  .feature-title{ font-size: 28px; }

  .pricing-inner { grid-template-columns: 1fr;}

  .features-grid { grid-template-columns: 1fr; }

  .apps-card { width: 92%; }
  
  .cta-button{ font-size: 20px; }

  .section-title h2 { font-size: 30px; }
}

/* フェードインのキーフレーム */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* フェードインのキーフレーム */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}