/* 法人用紹介セクション */
.corporate-intro {
    padding: 60px 20px;
    background-color: #fff;
  }
  
  .corporate-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  .corporate-image {
    flex: 1;
    min-width: 300px;
  }
  
  .corporate-image img {
    width: 100%;
    border-radius: 10px;
  }
  
  .corporate-text {
    flex: 1;
    min-width: 300px;
  }
  
  .corporate-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .corporate-text p {
    font-size: 1rem;
    line-height: 2;
    color: #333;
    border-top: 1px solid #000;
    padding-top: 20px;
  }
  
  /* スマホ対応 */
  @media (max-width: 768px) {
    .corporate-container {
      flex-direction: column;
    }
  
    .corporate-text h2 {
      font-size: 1.4rem;
      text-align: left;
    }
  
    .corporate-text p {
      font-size: 0.95rem;
      text-align: left;
    }
  }
  
  /* 全体共通 */
.hero-corporate {
    position: relative;
    text-align: center;
    width: 100%;
  }
  
  .hero-corporate .hero-image {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* PC：画像の上にテキストを重ねる */
  .hero-content-pc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
  }
  
  /* スマホでは非表示に */
  @media (max-width: 767px) {
    .hero-content-pc {
      display: none;
    }
  
    .hero-content-sp {
      display: block;
      padding: 30px 20px;
      background-color: #fff;
    }
  }
  
  /* PCではスマホ用テキスト非表示 */
  @media (min-width: 768px) {
    .hero-content-sp {
      display: none;
    }
  }
  
  /* 共通ボタンスタイル */
  .hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #C3B866;;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
  }

  /* パソコン表示：左寄せテキスト + 右側に画像表示 */
@media (min-width: 768px) {
    .hero-corporate {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }
  
    .hero-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: right center;
    }
  
    .hero-content-pc {
      position: absolute;
      top: 35%;
      left: 5%;
      transform: translateY(-50%);
      color: #000;
      background: rgba(255, 255, 255, 0.9);
      padding: 40px;
      border-radius: 10px;
      max-width: 500px;
      text-align: left;
    }
  
    .hero-content-pc h2 {
      font-size: 4.3rem;
      margin-bottom: 10px;
    }
  
    .hero-content-pc h1 {
      font-size: 6.5rem;
      margin-bottom: 20px;
    }
  
    .hero-content-pc p {
      font-size: 2.9rem;
      line-height: 1.8;
    }
  
    .hero-btn {
      margin-top: 20px;
    }
  }
  
  
  html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  body {
    margin-top: 80px; /* ヘッダーの高さ分のマージンを追加 */
    padding: 0;
    overflow-x: hidden;
  }
  
  img, picture, video {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
  }
  
  .container, .hero, section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .consult-image-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
  }
  
  .consult-image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  