/* =========================================
   補助金コンサルタント実務家養成講座 専用スタイル
   Theme: Green Base
========================================= */

:root {
  --primary-color: #006b3e;
  --accent-color: #008148;
  --bg-light: #f0fdf4;
  --text-main: #1e293b;
  --text-muted: #64748b;
}

/* =========================================
   ヘッダー・ロゴカスタマイズ
========================================= */
.header-logo .logo-text {
  color: var(--primary-color) !important;
}

.header-nav a.nav-link {
  color: var(--primary-color) !important;
}

.nav-link-home {
  color: var(--primary-color) !important;
}

.nav-link-home:hover {
  color: var(--accent-color) !important;
}

.header-sns a {
  background-color: var(--bg-light) !important;
  color: var(--primary-color) !important;
}

.header-sns a:hover {
  background-color: var(--accent-color) !important;
}

/* =========================================
   ヒーロー（FV）セクション
========================================= */
.yosei-hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url('./images/FV_GREEN.png') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #e8f5e9;
  padding: 0 !important;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 80px;
}

.yosei-hero::before {
  display: none !important;
}

/* 緑の帯（画面全幅） */
.hero-label-wrapper {
  width: 100%;
  background-color: transparent;
  padding: 50px 20px 10px ;
  text-align: center;
  margin-top: 0;
}

.yosei-hero .hero-label {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.05em;
  background-color: var(--accent-color);
  padding: 10px 60px 10px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.5);
}

.hero-label .fs-130 {
  font-size: 130% !important;
}

/* コンテンツエリア */
.yosei-hero-content {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: center;   /* ← 追加 */
  padding: 0px 20px 0 !important;
  max-width: 1100px;
  margin: 0 auto !important;
}

.yosei-hero .hero-text {
  flex: 0 0 460px;
  min-width: unset;
  padding-right: 60px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.yosei-hero .hero-mincho {
  color: var(--primary-color) !important;
  font-size: 3.5rem;
  line-height: 1.4;
  margin-bottom: 30px;
  margin-top: 0;
  font-family: "Hiragino Mincho ProN", "MS Mincho", serif;
  font-weight: bold;
  letter-spacing: -0.02em;
}

/* 「年商1,500万円」を強調 */
.yosei-hero .price-highlight {
  color: #d45f2d;
  display: inline;
  font-weight: bold;
}

.yosei-hero .hero-text > p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  flex-grow: 1;
  color: var(--text-main);
}

.yosei-hero .hero-text .btn {
  align-self: flex-start;
  margin-top: auto;
}

.yosei-hero .hero-img-cutout {
  flex: 0 0 auto;
  width: 500px;
  height: 600px;           /* 固定高さを戻す（下余白をカット） */
  overflow: hidden;        /* 枠からはみ出た部分を隠す */
  position: relative;
  z-index: 1;
  margin-bottom: -140px;
  margin-right: -20px;
  margin-top: 0px;
  /*border: 3px solid red;   ← 確認用 */
}

.yosei-hero .hero-img-cutout img {
  width: 135%;
  height: auto;
  display: block;
  margin-left: -52px;      /* ← マイナス値で左に移動（調整可） */
  position: absolute;   /* ← 追加 */
  bottom: 0;            /* ← 枠の下端に合わせる */
}

/* =========================================
   こんな考え方をセクション
========================================= */
.yosei-about {
  background-color: #ffffff;
  padding-top: 120px !important;
  position: relative;
  z-index: 3;
  margin-top: -40px;  /* ← この値を調整して隙間を埋める */
}

.yosei-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.yosei-section-sub-title {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: normal;
}

.yosei-section-main-title {
  font-size: 3rem;
  color: var(--primary-color);
  font-family: "Hiragino Mincho ProN", "MS Mincho", serif;
  font-weight: bold;
  line-height: 1.4;
}

.yosei-checklist {
  background-color: #ffffff;
  border: 2px solid #999;
  border-radius: 12px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto 50px;
}

.checklist-title {
  font-size: 1.4rem;
  color: #e60012;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}

.checklist-items {
  list-style: none;
  padding: 0;
}

.checklist-items li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
}

.checklist-items li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.yosei-achievement {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.yosei-achievement h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.yosei-achievement p {
  margin-bottom: 15px;
}

.achievement-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.achievement-list li {
  padding-left: 25px;
  margin-bottom: 10px;
  position: relative;
  color: var(--text-main);
}

.achievement-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* =========================================
   プロフィールセクション
========================================= */
.yosei-profile-section {
  background-color: #f5f5f5;
}

.profile-wrap {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.profile-img {
  border: none;
  flex: 0 0 280px;
  border-radius: 0;
}

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

.profile-info {
  flex: 1;
  min-width: 300px;
}

.profile-info h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.profile-info .title {
  display: inline-block;
  margin-bottom: 25px;
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.1rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
  width: 100%;
}

.profile-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-timeline li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-main);
}

.profile-timeline li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.8rem;
}

/* =========================================
   補助金申請業務をマスターセクション
   ========================================= */
.yosei-mastery {
  background-color: #ffffff;
  padding: 80px 0;
}

.mastery-content {
  max-width: 900px;
  margin: 0 auto;
}

.mastery-title-main {
  display: none;
}

.mastery-title-sub {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: bold;
  font-family: "Hiragino Mincho ProN", "MS Mincho", serif;
}

/*.mastery-content > h2 {
  display: none;
}*/

.mastery-content p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-main);
  text-align: justify;
  text-justify: inter-character;
}

.text-emphasis {
  font-weight: bold;
  font-size: 1.05rem;
  color: var(--accent-color);
}

.regulation-warning {
  background-color: #fff3cd;
  border: 2px solid #ffc107;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  text-align: center;
}

.regulation-warning p {
  margin: 0;
  color: #e60012;
  font-weight: bold;
}

.mastery-content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.mastery-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.reality-box {
  background-color: #e0f2ef;
  border-left: 5px solid var(--accent-color);
  padding: 30px;
  margin: 30px 0;
  border-radius: 8px;
}

.reality-box h3 {
  color: var(--accent-color);
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.reality-box p {
  color: var(--text-main);
  margin-bottom: 15px;
}

.reality-box p:last-child {
  margin-bottom: 0;
}

/* =========================================
   受講プラン
========================================= */
.bg-yosei-light {
  background-color: var(--bg-light);
}

.price-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  height: 100%;
}

.price-card h3 {
  color: var(--accent-color);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.price-card .desc {
  margin-bottom: 30px;
  color: var(--text-muted);
}

.price-card.featured {
  border-color: var(--accent-color) !important;
  border-width: 2px;
  box-shadow: 0 20px 50px rgba(0, 107, 62, 0.15);
  transform: scale(1.03);
}

.recommended-label {
  display: inline-block;
  color: var(--accent-color);
  font-weight: bold;
  border: 1px solid var(--accent-color);
  padding: 2px 12px;
  font-size: 0.85rem;
  border-radius: 2px;
  margin-bottom: 10px;
}

.price-display-flex {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 15px;
  line-height: 1;
}

.price-card .notes {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
  background: var(--bg-light);
  padding: 20px;
  border-radius: 8px;
}

.special-price-tag {
  display: inline-block;
  color: #e60012;
  font-weight: bold;
  border: 1px solid #e60012;
  padding: 2px 12px;
  font-size: 0.85rem;
  border-radius: 2px;
  margin-bottom: 10px;
}

.p-red-big {
  color: #e60012 !important;
  font-size: 3.5rem;
  font-weight: bold;
}

.p-red-small {
  color: #e60012 !important;
  font-size: 1.2rem;
  font-weight: bold;
  margin-left: 2px;
}

.p-accent-big {
  color: var(--accent-color) !important;
  font-size: 3.5rem;
  font-weight: bold;
}

.p-accent-small {
  color: var(--accent-color) !important;
  font-size: 1.2rem;
  font-weight: bold;
  margin-left: 2px;
}

.p-gray-small {
  color: var(--text-muted) !important;
  font-size: 1rem;
  font-weight: normal;
  margin-left: 5px;
}

/* =========================================
   書式集プレゼント & Zoom講義
========================================= */
.yosei-presentation {
  background-color: var(--bg-light);
}

.yosei-presentation h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 50px;
  line-height: 1.5;
}

.presentation-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.presentation-text {
  flex: 1;
  min-width: 300px;
}

.presentation-text p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-main);
}

.presentation-text h3 {
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: bold;
}

.presentation-image {
  flex: 0 0 300px;
  text-align: center;
}

.presentation-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================
   その他セクション
========================================= */
.terms-title {
  color: var(--accent-color);
}

.terms-inner {
  background-color: #ffffff;
}

.terms-lead {
  color: var(--accent-color);
}

/* =========================================
   フッター
========================================= */
.footer {
  background-color: var(--primary-color);
}

.footer-contact-title {
  border-bottom-color: var(--accent-color);
}

.footer-legal a {
  color: #cbd5e1;
}

.footer-legal a:hover {
  color: var(--accent-color);
}

.footer-address a {
  color: #cbd5e1;
}

.footer-address a:hover {
  color: var(--accent-color);
}

/* =========================================
   モバイル対応
========================================= */
@media (max-width: 768px) {
  .header-logo .logo-text {
    font-size: 1.5rem;
  }

  .yosei-hero {
    margin-top: 60px;
  }

.yosei-hero .hero-label {
    font-size: 1.4rem;
    padding: 30px 20px;
  }

  .yosei-hero-content {
    flex-direction: column;
    padding: 40px 20px 0 !important;
  }

  .yosei-hero .hero-text {
    padding-right: 0;
    padding-bottom: 60px;
    min-width: 100%;
  }

  .yosei-hero .hero-mincho {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

.yosei-hero .hero-img-cutout {
  width: 100%;
  height: auto;
  overflow: visible;
  margin: 00px auto 0;
  flex: 0 0 auto;
}

.yosei-hero .hero-img-cutout img {
  position: static;
  bottom: unset;
  width: 100%;
  height: auto;
  margin-left: 0;
}

  .yosei-about {
    padding-top: 100px !important;
  }

  .yosei-section-main-title {
    font-size: 2rem;
  }

  .profile-wrap {
    flex-direction: column;
    align-items: center;
  }

  .profile-img {
    width: 80% !important;
    flex: 0 0 auto;
  }

  .presentation-content {
    flex-direction: column;
  }

  .presentation-image {
    flex: 0 0 auto;
    width: 100%;
  }

  .yosei-hero .hero-text .btn {
    align-self: center;
  }
}
