/*
 * =============================================
 * 株式会社プレスト LP スタイルシート
 * =============================================
 *
 * 【命名規則】BEM (Block__Element--Modifier)
 *
 * p-[name]            ページ固有セクション（Block）
 * p-[name]__[el]      セクション内の要素（Element）
 * p-[name]__[el]-[el] 要素のさらに内側（ダブル__ を避けハイフンで繋ぐ）
 * c-[name]            再利用コンポーネント
 * c-[name]__[el]      コンポーネントの要素
 * u-[name]            ユーティリティ（単機能スタイル）
 *
 * 【セクション一覧】
 *   p-hero      ヒーロー
 *   p-cta       上部CTA
 *   p-about     画像説明
 *   p-steps     ステップ説明
 *   p-merit     メリット
 *   p-clt       CLTセルユニット
 *   p-support   運営サポート
 *   p-final     最終CTA
 *
 * 【コンポーネント一覧】
 *   c-merit-card  メリットカード
 *   c-merit-list  メリットリスト
 *   c-image-grid  画像グリッド
 */


/* ===========================
   リセット & ベース
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color: #333;
  line-height: 1.5;
  margin: 0 !important;
  padding: 0 !important;
}

/* 既存テーマのヘッダーや余白を強制的に消去 */
.site-header,
#masthead {
  display: none !important;
}

.site-main,
.lp-container,
.lp-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.small_font{
	font-size:13px;
	color:#666666;
	margin-top:15px;
}


/* ===========================
   p-hero: ヒーローセクション
=========================== */
.p-hero {
  width: 100%;
  overflow: hidden;
}

.p-hero__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}


/* ===========================
   p-cta: CTAセクション（上部）
=========================== */
.p-cta {
  background-image: url("../images/cta_background.jpg");
  background-size: cover;
  background-position: center;
  background-color: #2d5a3d;
  /* フォールバック */
  padding: 60px 20px 80px;
}

.p-cta__btn-wrapper {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.p-cta__btn-img {
  width: 100%;
  height: auto;
  display: block;
}

.p-cta__note {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}


/* ===========================
   p-about: 画像説明セクション
=========================== */
.p-about {
  background-color: #1a3c26;
  /* フォールバック */
  background-image: url("../images/section02_back.jpg");
  background-size: cover;
  background-position: bottom;
  padding: 80px 20px 0;
}

/* 2つ目以降は上パディングを詰める */
.p-about+.p-about {
  padding-top: 0;
}

.p-about__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.p-about__item {
  width: 100%;
  overflow: hidden;
}

.p-about__img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
}


/* ===========================
   p-steps: ステップ説明セクション
=========================== */
.p-steps {
  padding-bottom: 100px;
  background-image: url("../images/section03_back.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.p-steps__top {
  width: 100%;
  margin-bottom: 20px;
}

.p-steps__inner {
  padding: 0 20px;
}

.p-steps__img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
}


/* ===========================
   c-image-grid: 画像グリッド（共通コンポーネント）
=========================== */
.c-image-grid {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.c-image-grid__row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.c-image-grid__item {
  width: 100%;
}


/* ===========================
   p-merit: メリットセクション
=========================== */
.p-merit {
  background-color: #52982d;
  /* フォールバック */
  background-image: url("../images/section04_back.jpg");
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  padding: 80px 20px 70px;
}

.p-merit__top {
  width: 100%;
  max-width: 650px;
  margin: 0 auto 40px;
}

.p-merit__top-img {
  width: 100%;
  height: auto;
  display: block;
}

.p-merit__cards {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}


/* ===========================
   c-merit-card: メリットカード（コンポーネント）
=========================== */
.c-merit-card {
  position: relative;
  background-color: #fff;
  overflow: visible;
}

.c-merit-card__header {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #276E40;
  color: #fff;
  width: 520px;
  min-width: 320px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
}

.c-merit-card__number {
  font-size: 2.5rem;
}

.c-merit-card__title {
  font-size: 2.1875rem;
}

.c-merit-card__content {
  padding: 110px 50px 50px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.c-merit-card__text {
  flex: 1;
}

.c-merit-card__image {
  flex-shrink: 0;
  width: 380px;
}

.c-merit-card__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}


/* ===========================
   c-merit-list: メリットリスト（コンポーネント）
=========================== */
.c-merit-list {
  list-style: none;
}

.c-merit-list__item {
  position: relative;
  padding-left: 28px;
  margin-bottom: 24px;
}

.c-merit-list__item:last-child {
  margin-bottom: 0;
}

.c-merit-list__item::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 2px;
  color: #52982d;
  font-size: 1rem;
}

.c-merit-list__headline {
  display: block;
  font-size: 1.5625rem;
  font-weight: 700;
  color: #107433;
  line-height: 1.4;
  margin-bottom: 6px;
}

.c-merit-list__desc {
  font-size: 1.0625rem;
  color: #333;
  line-height: 1.5;
  font-weight: 500;
}


/* ===========================
   p-clt: CLTセルユニット構造セクション
=========================== */
.p-clt {
  background-color: #2E593E;
  padding: 80px 20px 100px;
}

.p-clt__inner {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
  padding: 60px 80px 80px;
}

/* ヘッダー */
.p-clt__header {
  text-align: center;
  position: relative;
  margin-bottom: 35px;
}

.p-clt__header-label {
  display: inline-block;
  margin-bottom: 5px;
}

.p-clt__header-label-img {
  height: 50px;
  width: auto;
}

.p-clt__header-title {
  color: #258447;
  font-size: 2.8rem;
  margin-bottom: 0;
}

.p-clt__header-img {
  position: absolute;
  top: -40px;
  right: 0;
  width: 140px;
}

.p-clt__header-sub-img {
  width: 100%;
  height: auto;
}

/* グリッド */
.p-clt__grid {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
}

.p-clt__grid-item {
  flex: 1;
}

.p-clt__grid-img-wrap {
  margin-bottom: 20px;
}

.p-clt__grid-img {
  width: 100%;
  height: auto;
  display: block;
}

.p-clt__grid-title {
  color: #52982d;
  font-size: 1.56rem;
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  margin-bottom: 5px;
  text-align: center;
}

.p-clt__grid-desc {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
}

/* 中央テキスト画像 */
.p-clt__middle {
  margin-bottom: 10px;
  text-align: center;
}

.p-clt__mid-img {
  width: 100%;
  max-width: 550px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 万博紹介 */
.p-clt__expo {
  text-align: center;
}

.p-clt__expo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 30px;
}

.p-clt__expo-images {
  display: flex;
  gap: 20px;
  margin: 0 auto 15px;
  width: 80%;
}

.p-clt__expo-img-item {
  flex: 1;
}

.p-clt__expo-img {
  width: 100%;
  height: auto;
  display: block;
}

.p-clt__expo-ref {
  text-align: right;
  font-size: 0.8rem;
  color: #666;
}


/* ===========================
   p-support: 運営サポートセクション
=========================== */
.p-support {
  background-color: #EEF2EF;
  /* フォールバック */
  background-image: url("../images/section06_back.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 30%;
  padding: 100px 20px;
  overflow: hidden;
}

.p-support__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.p-support__header {
  text-align: center;
  margin-bottom: 40px;
}

.p-support__header-title {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.p-support__header-desc {
  font-size: 1.25rem;
  color: #555;
}

.p-support__grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.p-support__grid-item {
  flex: 1;
  text-align: center;
}

.p-support__grid-icon {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.p-support__grid-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.p-support__grid-title {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 10px;
}

.p-support__grid-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}


/* ===========================
   p-final: 最終CTAセクション
=========================== */
.p-final {
  background-image: url("../images/section07_back.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-color: #fff;
  /* フォールバック */
  padding: 90px 20px;
  position: relative;
}

.p-final__inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.p-final__title {
  font-size: 3.2rem;
  color: #107433;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 40px;
}

/* 課題→解決フロー */
.p-final__benefits {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin-bottom: 100px;
}

.p-final__benefit-item {
  flex: 1;
  text-align: center;
}

.p-final__benefit-label {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.p-final__benefit-arrow {
  margin-bottom: 10px;
}

.p-final__benefit-arrow-img {
  width: 60px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.p-final__benefit-result {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}

/* CTAボタンエリア */
.p-final__btn-wrapper {
  text-align: center;
  margin-bottom: 100px;
}

.p-final__btn-img {
  width: 100%;
  max-width: 580px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.p-final__btn-img:hover {
  transform: translateY(-5px);
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.3));
}

.p-final__note {
  color: #333;
  font-weight: 700;
  font-size: 1.1rem;
}

/* まとめボックス */
.p-final__summary {
  max-width: 1080px;
  margin: 0 auto;
}

.p-final__summary-box {
  background-color: #fff;
  border: 2px solid #107433;
  border-radius: 4px;
  position: relative;
}

.p-final__summary-img-wrap {
  position: absolute;
  right: 0;
  top: -60px;
  z-index: 10;
  width: 250px;
}

.p-final__summary-img {
  width: 100%;
  height: auto;
}

.p-final__summary-header {
  background-color: #258447;
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 20px 30px;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.p-final__summary-title {
  font-size: 1.8rem;
  line-height: 1.6;
  font-weight: 700;
}

.p-final__summary-body {
  padding: 20px;
  text-align: center;
}

.p-final__summary-text {
  font-size: 1.6rem;
  color: #333;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 10px;
}

.p-final__summary-highlight {
  font-size: 2.2rem;
  font-weight: 900;
  color: #333;
  display: inline-block;
  border-bottom: 3px solid #BEB8B8;
  margin-bottom: 20px;
}

.p-final__summary-footer {
  font-size: 1.4rem;
  color: #333;
  font-weight: 700;
}


/* ===========================
   ユーティリティ
=========================== */
.mincho {
  font-family: "Shippori Mincho", serif;
}

.u-color-green {
  color: #107433;
}

.u-color-yellow {
  color: #FFCD27;
}

.u-text-bold {
  font-weight: 800;
}

.u-pc-only {
  display: inline;
}

.u-sp-only {
  display: none;
}

.u-br-sp {
  display: none;
}


/* ===========================
   Fluid Typography
=========================== */
h2,
.p-clt__header-title,
.p-support__header-title,
.p-final__title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  word-break: keep-all;
  overflow-wrap: anywhere;
}


/* ===========================
   レスポンシブ: タブレット (max-width: 1024px)
=========================== */
@media (max-width: 1024px) {
  .u-pc-only {
    display: none;
  }

  .u-sp-only {
    display: block;
  }

  .u-br-sp {
    display: block;
  }

  .c-merit-card__header {
    width: 90%;
    max-width: 480px;
    padding: 0 20px;
  }

  .c-merit-card__number {
    font-size: 1.875rem;
  }

  .c-merit-card__title {
    font-size: 1.75rem;
  }

  .p-clt__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .p-support__grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .p-support__grid-item {
    flex: 0 0 45%;
  }

  .p-final__summary-img-wrap {
    width: 200px;
    top: -40px;
  }
}


/* ===========================
   レスポンシブ: SP (max-width: 767px)
=========================== */
@media (max-width: 767px) {
	
.small_font{
	margin-top:5px;
}

  /* セクション間余白を40pxに統一 */
  section,
  .p-cta,
  .p-about,
  .p-about+.p-about,
  .p-steps,
  .p-merit,
  .p-clt,
  .p-support,
  .p-final {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .mincho {
    line-height: 1.4;
  }

  .p-merit__top {
    margin-bottom: 30px;
  }

  section,
  .p-hero {
    padding-top: 0;
    padding-bottom: 0;
  }


  /* c-merit-card */
  .c-merit-card__header {
    position: relative;
    width: 100%;
    max-width: none;
    top: 0;
    padding: 10px 15px;
    gap: 12px;
  }

  .c-merit-card__number {
    font-size: 2.2rem;
  }

  .c-merit-card__content {
    flex-direction: column;
    padding: 24px 10px;
    gap: 20px;
  }

  .c-merit-list__headline {
    font-size: 1.4rem;
  }

  .c-merit-list__desc {
    font-size: 1rem;
  }

  .c-merit-card__image {
    width: 85%;
    margin: auto;
  }

  section,
  .p-about {
    padding: 70px 0 0;
  }

  section,
  .p-steps {
    padding-top: 0px;
  }

  section,
  .p-cta {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  /* p-clt */
  .p-clt__inner {
    padding: 50px 10px;
  }

  .p-clt__header-img {
    width: 90px;
    margin: 15px auto 0;
    right: -5px;
  }

  .p-clt__header-label-img {
    height: 40px;
  }

  .p-clt__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }

  .p-clt__grid-item {
    text-align: center;
  }

  .p-clt__grid-img-wrap {
    margin-bottom: 10px;
  }

  .p-clt__grid-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }

  .p-clt__grid-desc {
    font-size: 1rem;
    text-align: left;
  }

  .p-clt__expo-images {
    flex-direction: column;
    gap: 15px;
  }
	
	.p-merit__cards{
		gap: 20px;
	}

  /* p-support */
  .p-support__header-title {
    font-size: 1.8rem;
  }

  .p-support__header-desc {
    font-size: 1.1rem;
    margin-top: 10px;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .p-support__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .p-support__grid-item {
    flex: none;
    width: 100%;
  }

  .p-support__grid-item:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
  }

  /* p-final */
  .p-final__title {
    margin-bottom: 25px;
  }

  .p-final__benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-bottom: 50px;
    margin-left: -10px;
    margin-right: -10px;
  }

  .p-final__benefit-item {
    padding: 12px 0;
    border-bottom: 1px dashed #ccc;
  }

  .p-final__benefit-item:nth-last-child(-n+2):nth-child(odd),
  .p-final__benefit-item:nth-last-child(-n+2):nth-child(odd)~.p-final__benefit-item {
    border-bottom: none;
  }

  .p-final__benefit-label {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }

  .p-final__benefit-result {
    font-size: 1rem;
  }

  .p-final__benefit-arrow-img {
    width: 24px;
    margin: 4px auto;
  }

  .p-final__summary-box {
    overflow: visible;
  }

  .p-final__summary-header {
    padding: 40px 10px 20px;
  }

  .p-final__summary-title {
    font-size: 1.4rem;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .p-final__summary-img-wrap {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    margin: 0;
    z-index: 10;
  }

  .p-final__summary-body {
    padding: 20px 10px;
  }

  .p-final__summary-text {
    font-size: 1.1rem;
    text-align: center;
  }

  .p-final__summary-highlight {
    font-size: 1.3rem;
    margin: 20px 0;
    display: block;
    text-align: center;
  }

  .p-final__summary-footer {
    font-size: 1.1rem;
    text-align: center;
  }
}