/* ✅ ヒーローセクション（背景画像） */
/* ヒーローセクション（背景画像） */
.hero-section {
    position: relative;  /* ✅ 背景を正しく表示 */
    width: 100%;
    height: 100vh;  /* ✅ 背景画像の高さを画面全体に */
    background: url('/wp-content/themes/kubio-child/images/kizuna-header.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;  /* ✅ ヘッダーの背面に配置 */
}
  
  /* ヘッダー */
  .site-header {
    position: absolute; /* ✅ 画像の上に重ねる */
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent !important; /* ✅ 背景を完全に透明に */
    z-index: 10;  /* ✅ 背景画像より前に配置 */
}
  
  .hero-content {
    position: absolute;
    left: 66px;      /* 左から66px */
    top: 324px;      /* 上から324px */
    text-align: left; /* 左寄せ */
    color: #dadfe8;
    z-index: 5;  /* ✅ ヘッダーの影響を受けないように */
  }
  
  .hero-title {
    font-size: 118px;
    margin: 0;
    padding: 0;
  }
  
  .hero-subtitle {
    font-size: 18px;
    margin: 10px 0; /* 必要に応じて調整 */
  }
  
  .hero-button {
    display: inline-block;
    margin-top: 10px;
    background-color: #373e5a;
    color: #dadfe8;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .hero-button:hover {
    background-color: #2b304a;
  }

  /* KIZUNA App セクション全体 */
.kizuna-app-section {
    width: 100%;
    height: 670px; /* 画像の高さと同じに設定 */
    background-color: #162040;
    position: relative;
    margin-top: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible; /* 画像のはみ出しを許可 */
  }
  
  .kizuna-app-inner {
    width: 1200px;
    max-width: 95%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  
  /* 右側（画像） */
  .kizuna-app-right {
    position: relative;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: visible; /* 画像をはみ出せるように */
  }
  
  .kizuna-app-image {
    position: relative;
    width: 302px;
    height: 670px;
    object-fit: contain;
    top: -40px; /* 画像を上に20pxはみ出させる */
  }
  
  /* 左側（見出し・文章・ボタン） */
  .kizuna-app-left {
    color: #fff;
    width: 50%;
    box-sizing: border-box;
    padding-right: 20px;
  }
  
  .kizuna-app-heading {
    font-size: 48px;
    color: #fff;
    text-align: left;
    margin: 0 0 20px;
    line-height: 1.2;
  }
  
  .kizuna-app-text {
    font-size: 14px;
    color: #fff;
    text-align: left;
    line-height: 1.6;
    margin: 0 0 20px;
  }
  
  /* ボタン */
  .kizuna-app-button {
    display: inline-block;
    background-color: #dadfe8;
    color: #162040;
    font-size: 18px;
    height: 49px;
    line-height: 49px;
    padding: 0 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .kizuna-app-button:hover {
    background-color: #c8d0d8;
  }

  /* Inspiration セクション */
/* 見出しとテキストの中央揃え */
.inspiration-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    width: 100%;
    margin-top: 250px;
  }
  
  /* 見出しを1行にする */
  .inspiration-heading {
    font-size: 29px;
    color: #162040;
    font-weight: bold;
    text-align: center;
    white-space: nowrap; /* 1行にする */
  }
  
  /* 文章を1行にする */
  .inspiration-text {
    font-size: 20px;
    color: #162040;
    margin-top: 40px;
    font-weight: normal;
    text-align: center;
    white-space: nowrap; /* 1行にする */
  }

  /* Contact セクション全体 */
.contact-section {
    text-align: center; /* 中央揃え */
    margin-top: 200px; /* 上のセクションから150px下に配置 */
    width: 100%;
  }
  
  .contact-heading {
    font-size: 36px; /* 見出しサイズ */
    color: #333333;  /* テキストカラー */
    font-weight: bold;
    margin-bottom: 40px; /* 下に余白 */
  }
  
  /* フォーム */
  .contact-form {
    width: 400px; /* フォームの幅 */
    max-width: 90%;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* 入力フィールドの共通スタイル */
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 18px;
    border: 1px solid #333333;
    border-radius: 15px;
    box-sizing: border-box;
  }
  
  /* テキストエリアの高さ */
  .contact-form textarea {
    height: 150px;
    resize: none;
  }
  
  /* 送信ボタン */
  .contact-form button {
    background-color: #dadfe8;
    color: white;
    font-size: 18px;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #373e5a;
  }
  