@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* ==========================================================================
   1. リセットCSS & ベース設定
   ========================================================================== */
html {
  color: #333333;
  scroll-behavior: auto;
}

div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, 
pre, code, form, fieldset, legend, input, textarea, p, 
blockquote, th, td, section, a, img {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li, ul {
  list-style: none;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==========================================================================
   2. ファーストビュー（ヒーローセクション）
   ========================================================================== */
.hero-section {
  width: 100%;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  /* 【修正】上下の余白をさらに広げました */
  padding: 140px 20px; 
  display: flex;
  align-items: center;
  position: relative;
  /* 【修正】FVの最低限の高さを 680px → 850px に大幅に拡大 */
  min-height: 800px; 
}

/* --- 左側：コンテンツエリア --- */
.content-text {
  position: relative;
  z-index: 10;
}

/* タイトルの左背後に回り込むペイント画像 */
.sample-map {
  position: absolute;
  top: -40px;
  left: -120px;
  width: 300px;
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}

.sample-map img {
  width: 100%;
  height: auto;
  display: block;
}

.sub-title {
  color: #0056b3;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 25px;
  padding: 0 10%;
}

.hero-main-title {
  font-size:  70px;
  font-weight: 800;
  color: #333;
  line-height: 1.35;
  margin-bottom: 40px;
}

.description-text {
  font-size: 20px;
  color: #333;
  margin-bottom: 50px;
  line-height: 1.85;
}

/* --- CTAボタン --- */
.cta-section {
  width: 100%;
  text-align: left;
}

.download-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #333;
  font-weight: bold;
  font-size: 17px;
  text-align: center;
  text-decoration: none;
  padding: 18px 45px;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background-color 0.3s, transform 0.3s;
  max-width: 500px;
}

.download-button:hover {
  background-color: #e6b800;
}

/* --- 右側：女性画像エリア --- */
.hero-image-area {
  position: absolute;
  top: 0;
  right: 0;
  width: 60vw; 
  min-width: 850px; /* FV拡大に合わせて画像の最小幅もアップ */
  height: 100%;
  z-index: 1; 
  overflow: hidden;
}

/* 左側を白背景に自然に溶け込ませるグラデーションマスク層 */
.hero-image-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(255, 255, 255, 0.95) 15%, 
    rgba(255, 255, 255, 0) 40% /* フェードの終わりをさらに滑らかに */
  );
  z-index: 2;
  pointer-events: none;
}

.person-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: right center; /* 高さ固定のためのセンター維持 */
  z-index: 1;
}

/* ==========================================================================
   3. Responsive Design（max-width表記・重複なし）
   ========================================================================== */

/* タブレット・ノートPCサイズ */
@media (max-width: 1600px) {
  .hero-container {
    min-height: 700px;
    padding: 100px 50px;
  }
  .content-text {
    width: 60%; 
  }
  .hero-main-title {
    font-size: clamp(25px, 5.0vw, 60px);
  }
  .description-text,.sub-title {
    font-size: clamp(15px, 1.8vw, 18px);
  }
  .hero-image-area {
    width: 55%;
    min-width: 700px; 
  }
  .hero-image-area::before {
    background: linear-gradient(to right, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(255, 255, 255, 0.95) 10%, 
    rgba(255, 255, 255, 0) 30% /* フェードの終わりをさらに滑らかに */
  );
}

/* 標準スマホサイズ (768px以下) */
@media (max-width: 1250px) {
  /* 親要素をFlex縦並びにし、内部の並び順（order）をコントロールできるようにします */
  .hero-section {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 1. 文章エリア：一番上に表示（order: 1） */
  .hero-container {
    padding: 0 20px;
    min-height: auto;
    width: 100%;
    order: 1; 
  }

  .content-text {
    width: 100%;
    text-align: center;
  }

  /* スマホ用のペイント画像位置調整 */
  .sample-map {
    display:none;
  }

  .sub-title {
    margin-bottom: 15px;
    padding: 0; /* スマホ時の余白をリセット */
  }

  /* 【修正】クラス名を .hero-main-title に統一 */
  .hero-main-title {
    line-height: 1.35;
    margin-bottom: 25px;
  }

  .description-text {
    line-height: 1.75;
    margin-bottom: 40px;
  }

  /* ボタンを中央寄せ・横幅いっぱいに広げる */
  .cta-section {
    text-align: center;
    margin-bottom: 0; /* 下の画像エリアとの余白はgapやmargin-topで制御するため0に */
  }

  .download-button {
    width: 100%;
    max-width: 400px;
    font-size: 16px;
    padding: 18px 10px;
  }

  /* 2. 右側だった女性画像エリア：絶対配置を解除し、文章の下に配置（order: 2） */
  .hero-image-area {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100%;
    min-width: 100%;
    height: auto;
    margin-top: 40px; /* 文章（ボタン）との間の余白 */
    justify-content: center;
    order: 2; /* これで確実に文章の下に回ります */
  }
  
  .hero-image-area::before {
    background: linear-gradient(to bottom, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(255, 255, 255, 0.95) 2%, 
    rgba(255, 255, 255, 0) 25% /* フェードの終わりをさらに滑らかに */
  );
  }

  .person-img {
    height: auto;
    max-width: 100%; 
    object-position: center; 
  }
}