
/* ========================================
   ヒーローセクション
======================================== */
/* index.html専用のヒーローセクション */
.index-page .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0; /* index.html専用：余白を0に */
    margin-top: -80px; /* ヘッダーの高さ分を上にずらす */
}

/* メイントップセクションのスタイル */
.main-top-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    width: 100%;
}

.main-top-bg img {
    display: block;
    max-width: 1200px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 50px;
}

.hero-bg {
    background-image: url(../image/マスクグループ\ 13.png);
    background-color: #f70404;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
}

/* index.html専用のhero-container */
.index-page .hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 80px; /* ヘッダーの高さ分のパディングを追加 */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.hero-line {
    display: block;
    margin-bottom: 5px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    letter-spacing: 2px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-photo {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    background: #f8f9fa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.photo-placeholder {
    display: flex;                  /* フレックスボックスにする */
    flex-direction: column;         /* 子要素を縦方向に並べる */
    align-items: center;            /* 子要素を中央寄せ（横方向） */
    gap: 15px;                      /* 子要素同士の間隔を15pxにする */
    color: #666;                    /* テキストやアイコンの色を#666（グレー）にする */
}


.photo-placeholder i {
    font-size: 3rem;
}

.photo-placeholder span {
    font-size: 16em;      /* 超特大の文字サイズ。親のフォントサイズの16倍 */
    font-weight: 500;     /* 中くらいの太さ（標準より少し太い） */
}


/* =========================================
   MESSAGEセクション
======================================== */
.message {
    padding-bottom: 0;
    margin-bottom: 0;
  }

.message-bg {
    background: white;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.message-text {
    margin-bottom: 30px;
}

.message-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.message-highlight-text1 {
    font-size: 28px;
    font-weight: 800;
    color: #FF0035;
    line-height: 1.6;
    margin-bottom: 30px;
}

.message-highlight-text2 {
    font-size: 36px;
    font-weight: 900;
    color: #FF0035;
    line-height: 1.6;
    margin-bottom: 10px;
}

.message-highlight-text3 {
    font-size: 36px;
    font-weight: 900;
    color: #FF0035;
    line-height: 1.6;
    margin-bottom: 10px;
}

.message-cta {
    text-align: center;
}

.btn-viewmore {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-viewmore img {
    display: block;
    max-width: 100%;
    width: 200px; /* サイズを小さくする */
    height: auto;
    transition: all 0.3s ease;
}

.btn-viewmore:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.btn-outline {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #e74c3c;
    color: white;
}

/* =========================================
   About SENBIセクション
======================================== */
.about {
    padding: 0;
}

.about-bg {
    background: #E83532;
}

.about-container {
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    color: #000;
}

.about-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    opacity: 0.9;
}

.about-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.about-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0.9;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.about-image {
    display: flex;
    justify-content: center;
}

.building-photo {
    width: 600px;
    max-width: 100%;  /* もっと広げたい数値に変更 */
    aspect-ratio: auto; /* 必要なら消す */
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder {
    display: flex;                  /* フレックスボックスにする */
    flex-direction: column;         /* 子要素を縦並びにする */
    align-items: center;            /* 子要素を横方向の中央に配置 */
    gap: 15px;                      /* 子要素同士の間隔を15pxにする */
    color: #666;                    /* テキストの色をグレー（#666）にする */

    width: 100%;                    /* 親の幅に対していっぱいに広がる */
    max-width: 600px;               /* ただし最大600pxまでに制限する */
}

.photo-placeholder i {
    font-size: 3rem;
}

.photo-placeholder span {
    font-size: 16em;
    font-weight: 500;
}

/* =========================================
   Our Visionセクション
======================================== */
.vision {
    padding: 0;
}

.vision-bg {
    background: #E83532;
}

.vision-container {
    margin: 0 auto;
}

.vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.vision-left {
    color: white;
}

.vision-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #333;
}

.vision-image {
    width: 100%;
    aspect-ratio: 4/3;
    /* background: #f8f9fa; */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
}

.vision-right {
    color: white;
}

.vision-description {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* =========================================
   メンバーセクション
======================================== */
.members {
    padding: 0;
    position: relative;
    overflow: hidden; /* セクション全体のはみ出しを防ぐ */
}

.members-bg {
    background: white;
}

/* メンバーセクションの左右レイアウト */
.members-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.members-left {
    flex: 0 0 40%;
}

.members-right {
    flex: 1;
    overflow: hidden; /* はみ出し部分を非表示 */
}

.members-header {
    text-align: left;
    margin-bottom: 40px;
}

.members-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.title-line {
    width: 60px;
    height: 4px;
    background: #e74c3c;
}

.members-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.members-subtitle {
    font-size: 120px;
    font-weight: 900;
    color: #f8f9fa;
    position: absolute;
    top: 20%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.3;
    letter-spacing: 10px;
    font-style: italic;
}

.members-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 0 30px 0;
    position: relative;
    z-index: 2;
}

.members-cta {
    text-align: left;
}

/* members-left内のcarousel-navの特別スタイル */
.members-left .carousel-nav {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.members-left .nav-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 25px; /* content-buttonと同様に角丸を適用 */
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* content-buttonと同じシャドウ */
}

.members-left .nav-btn:hover {
    background: #e74c3c; /* content-buttonと同じ赤色 */
    color: white;
    transform: translateY(-3px); /* content-buttonと同じホバーエフェクト */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* content-buttonと同じシャドウ */
}

.members-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
}

.members-carousel .carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
}

.member-card {
    flex: 1 1 calc(33.333% - 2rem); /* 横3列、隙間2rem確保 */
    max-width: 17.5rem;              /* 280px相当をremに変換 */
    min-width: 9.375rem;             /* 150px相当をremに変換 */
    display: flex;
    flex-direction: column;
    height: auto;                     /* 高さは内容に応じる */
    overflow: hidden;
    margin: 1rem;                     /* 16px相当の余白 */
}

.member-photo {
    width: 100%;
    height: 11.25rem;                 /* 180px → rem */
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;                   /* 縮小防止 */
}

.member-photo img {
    width: 70%;
    height: auto;
    object-fit: cover;
}

.member-info {
    padding: 1.25rem;                 /* 20px → rem */
    color: #000;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.member-name {
    font-size: 1rem;                  /* 16px → rem */
    font-weight: 700;
    margin-bottom: 0.5rem;            /* 8px → rem */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.member-position,
.member-year {
    font-size: 0.8125rem;             /* 13px → rem */
    line-height: 1.4;
    margin-bottom: 0.3125rem;         /* 5px → rem */
}

.member-position { opacity: 0.9; }
.member-year { opacity: 0.8; }


.member-photo .photo-placeholder a {
    display: flex;              /* aタグをフレックスに */
    justify-content: center;    /* 中の要素を中央寄せ */
    width: 100%;                /* 横幅いっぱい */
}


.photo-placeholder img {
    width: 70%;             /* 枠の70%の大きさにする */
    height: auto;           /* 縦横比を保って高さを自動調整 */
    object-fit: cover;      /* はみ出したら切り取りつつ、枠に収める */
    margin: 0 auto;         /* 画像自体も中央寄せ */
}

.member-info {
    padding: 20px;                 /* 内側余白を20px */
    color: #000;                   /* 文字色を黒に */
    text-align: center;            /* 中央揃え */
    flex: 1;                       /* 横並び時に残りの幅をここに割り当てる */
    display: flex;                 /* 中の要素をフレックス化 */
    flex-direction: column;        /* 縦並びにする */
    justify-content: center;       /* 中央寄せ（上下方向） */
    overflow: hidden;              /* 枠からはみ出さないようにする */
}

.member-info h3 {
    border-bottom: 1px solid #000; /* 見出しの下に黒い罫線 */
}

.member-name {
    font-size: 1rem;            /* htmlタグに設定された基準フォントサイズに依存して文字サイズを決定 */
    font-weight: 700;           /* 太字（数値700はboldと同じ意味） */
    margin-bottom: 0.5em;       /* 要素の下にフォントサイズの0.5倍の余白を取る */
    white-space: nowrap;        /* テキストを折り返さず1行で表示する */
    overflow: hidden;           /* 枠からはみ出した部分は非表示にする */
    text-overflow: ellipsis;    /* はみ出した場合「…」で省略して表示する */
}



.member-position {
    font-size: 0.8125rem;     /* 約13px → 16px × 0.8125 */
    opacity: 0.9;             /* 少し薄めの色 */
    margin-bottom: 0.3em;     /* フォントサイズに対して相対的な余白 */
    line-height: 1.4;         /* 行間を広めに */
}

.member-year {
    font-size: 0.8125rem;     /* 約13px → remで相対指定 */
    opacity: 0.8;             /* positionよりさらに薄め */
    line-height: 1.4;         /* 行間を広めに */
}

/* スマホ画面など幅が狭い場合は文字を少し小さく */
@media (max-width: 480px) {
  .member-position,
  .member-year {
    font-size: 0.75rem;   /* 約12px */
  }

  .member-card {
    /* flex: 0 0 100%;
    max-width: 100%; */
    flex: 0 0 80vw; /* ← 画面幅の80%だけ使う（横に少しズレる） */
    max-width: 300px; /* 安全な最大幅指定 */
    margin-right: 10px; /* スライドの隙間 */
  }

  .member-photo {
    width: 100%;
    height: auto;
    display: block;        /* ← flexをやめるとトリミング防止に効果大 */
    overflow: visible;     /* ← 切れを防ぐ */
    text-align: center;    /* 中央寄せ */
  }

  .member-photo img {
    display: block;
    max-width: 100%;       /* 横幅に収まる */
    height: auto;          /* 縦比率維持 */
    object-fit: contain;   /* 切らずに収める */
    margin: 0 auto;        /* 中央寄せ */
  }
  
}

/* タブレット以上では少し余裕があるので文字を大きめに */
@media (min-width: 768px) {
  .member-position,
  .member-year {
    font-size: 0.875rem;  /* 約14px */
  }
}



.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.nav-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 25px; /* content-buttonと同様に角丸を適用 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background: #e74c3c; /* content-buttonと同じ赤色 */
    color: white; /* ホバー時の文字色を白に */
    transform: translateY(-3px); /* content-buttonと同じホバーエフェクト */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* content-buttonと同じシャドウ */
}

.prev-btn {
    margin-left: -25px;
}

.next-btn {
    margin-right: -25px;
}

.members-cta {
    text-align: center;
}

.members-cta .btn-outline {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none; /* 枠線を無効化 */
    padding: 0; /* パディングを無効化 */
    border-radius: 0; /* 角丸を無効化 */
    background: transparent; /* 背景を透明に */
    color: inherit; /* 文字色を親から継承（または任意のデフォルト色） */
    font-weight: normal; /* フォントウェイトをデフォルトに */
}

/* 画像のホバーエフェクトはimgタグで直接制御するため、親のhoverは不要
.members-cta .btn-outline:hover {
    
}
*/

.members-cta .btn-outline img {
    width: 200px; /* btn-viewmoreと同じサイズに */
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto; /* 中央寄せ */
    transition: all 0.3s ease;
}

.members-cta .btn-outline:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* 単体の画像用スタイル（.members-cta .btn-outline imgと同じ） */
.viewmore-img {
    width: 200px;
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.viewmore-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* =========================================
   Cross Talkセクション
======================================== */
.crosstalk {
    padding: 20px 0;
}

.crosstalk-bg {
    background: #f8f9fa;
}

.crosstalk-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.crosstalk-left {
    display: flex;
    justify-content: center;
}

.crosstalk-box {
    background-image: url(../image/btn_cross_talk.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    display: block;
  
    /* ↓ PCのときは画像を小さく見せる */
    max-width: 350px;     /* ← お好みで調整（例：500px, 600pxなど） */
    margin: 0 auto;       /* ← 中央寄せ */
  }
  
  /* テキストを背景画像の中の空白にピンポイントで配置 */
  .crosstalk-text {
    position: absolute;
    top: 70%;              /* ← この%で下寄りに */
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    width: 90%;
  }

  .crosstalk-subtitle {
    display: block;
    margin-top: -30px; /* 位置調整 */
    text-align: center;
  }

  /* タブレット（〜1024px） */
  @media (max-width: 1024px) {
    .crosstalk-subtitle {
      margin-top: -20px;
    }
  }
  
  /* ========================================
   共通スタイル（PCベース）
======================================== */
.crosstalk-subtitle img {
    display: block;
    margin: 0 auto;
    width: 100%;   /* ← PC用 固定幅 */
    height: auto;
  }

  /* ========================================
   レスポンシブ対応（スマホのみ）
======================================== */
@media (max-width: 768px) {
    .crosstalk-subtitle {
      margin-top: -10px;
      margin-bottom: 0;
      text-align: center;
    }
  
    .crosstalk-subtitle img {
      width: 60vw;
      height: auto;
      display: inline-block;
      margin: 0 auto;
      padding: 0;
    }

    .crosstalk-right {
        aspect-ratio: 16 / 9;
        width: 100%;
      }
  }
  
  /* スマホ対応 */
  @media (max-width: 768px) {
    .crosstalk-box {
      max-width: 90vw;
      aspect-ratio: 1 / 1;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      position: relative;
      margin: 0 auto;
    }
  
    .crosstalk-text {
      font-size: 12px; /* ← フォント小さく */
      top: 75%;         /* ← Xの下に配置（必要なら微調整） */
    }
  }


.crosstalk-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.crosstalk-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.crosstalk-icon {
    margin-bottom: 20px;
}

.cross-line {
    width: 40px;
    height: 40px;
    position: relative;
}

.cross-line::before,
.cross-line::after {
    content: '';
    position: absolute;
    background: white;
}

.cross-line::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
}

.cross-line::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
}

.crosstalk-description {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
}

.crosstalk-right {
    background-image: url(../image/クロストーク１-アイキャッチ\ \(ホバーステート\)-image.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
  
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 3 / 2; /* ← PC時のみ */
  }

.crosstalk-image {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   FAQセクション
======================================== */
.faq {
    padding: 20px 0;
}

.faq-bg {
    width: 80%;
    background: #fff5f5;
    border-radius: 30px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-size: 48px;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.faq-subtitle {
    font-size: 18px;
    color: #f40909ee;
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    margin-bottom: 40px;
}

/* FAQ項目の新しいスタイル */
.faq-item {
    display: block !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto 60px auto !important;
    background-color: #fff;
    overflow: hidden;
    height: auto !important;
    min-height: auto !important;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question-text {
    flex: 1;
    text-align: left;
}

.faq-question .q {
    color: #E83532;
    font-weight: 800;
    margin-right: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

.faq-toggle {
    background: none;
    color: #ADADAD;
    border: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 24px;
    font-weight: normal;
}

.faq-toggle:hover {
    color: #ADADAD;
}

.faq-toggle.active {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 15px 20px 20px 20px;
    border-top: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.faq-answer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #636770;
    text-align: left;
    padding: 0;
    max-width: none;
}

.faq-answer .a {
    color: #636770;
    font-weight: 800;
    margin-right: 10px;
    font-size: 16px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
        padding-top: 15px;
        padding-bottom: 20px;
    }
}

.faq-cta {
    text-align: center;
}

.faq-cta .btn-outline {
    border-color: #e74c3c;
    color: #e74c3c;
}

.faq-cta .btn-outline:hover {
    background: #e74c3c;
    color: white;
}


.faq-cta-btn {
    margin-top: 320px;
}

/* FAQレスポンシブ対応 */
@media (max-width: 768px) {
    .faq-item {
        max-width: 95% !important;
    }
    
    .faq-question {
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .faq-toggle {
        width: 18px;
        height: 18px;
        font-size: 20px;
    }
    
    .faq-answer {
        padding: 12px 15px 15px 15px;
    }
    
    .faq-answer p {
        font-size: 12px;
    }
}

/* =========================================
   Newsセクション
======================================== */
.news {
    padding: 20px 0;
}

.news-bg {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-title {
    font-size: 48px;
    font-weight: 800;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.news-subtitle {
    font-size: 18px;
    color: #f70404;
    text-align: center;
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background: white;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    /* background: #333; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.news-image .photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-content {
    padding: 20px;
    text-align: center;
}

.news-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.news-date {
    font-size: 14px;
    color: #666;
}

.news-cta {
    text-align: right;
}

.view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e74c3c;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.view-all:hover {
    color: #c0392b;
}

.view-all i {
    font-size: 12px;
}

/* =========================================
   TikTokプロモーションセクション（旧）
======================================== */
.tiktok {
    /* background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%), 
                linear-gradient(-45deg, #f8f9fa 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f8f9fa 75%), 
                linear-gradient(-45deg, transparent 75%, #f8f9fa 75%); */
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    padding: 80px 0;
    position: relative;
}

.tiktok-carousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.tiktok .carousel-container {
    overflow: hidden;
    border-radius: 20px;
}

.tiktok .carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.tiktok-banner {
    min-width: 100%;
    background: #000;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.tiktok-logo {
    font-size: 40px;
}

.tiktok-text {
    text-align: center;
}

.follow-text {
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
}

.qr-code {
    width: 80px;
    height: 80px;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
}

.tiktok .carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.tiktok .nav-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 25px; /* content-buttonと同様に角丸を適用 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tiktok .nav-btn:hover {
    background: #e74c3c; /* content-buttonと同じ赤色 */
    color: white; /* ホバー時の文字色を白に */
    transform: translateY(-3px); /* content-buttonと同じホバーエフェクト */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* content-buttonと同じシャドウ */
}

.tiktok .prev-btn {
    margin-left: -25px;
}

.tiktok .next-btn {
    margin-right: -25px;
}

/* =========================================
   Instagramプロモーションセクション（新）
======================================== */
.instagram {
    padding: 80px 0;
    position: relative;
}

.instagram-carousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.instagram .carousel-container {
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    position: relative;
    height: auto;
}

.instagram .carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 400%; /* 4つのバナー分の幅を明示的に指定 */
}

.instagram-banner {
    width: 25%; /* trackの25%（4分の1） */
    flex: 0 0 25%; /* 縮小しない、拡張しない、基本幅25% */
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.instagram-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.instagram .carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.instagram .nav-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.instagram .nav-btn:hover {
    background: #e74c3c;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instagram .prev-btn {
    margin-left: -25px;
}

.instagram .next-btn {
    margin-right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #e74c3c;
}



/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 1024px) {
    .hero-container,
    .about-content,
    .vision-content,
    .crosstalk-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .index-page .hero-container {
        padding: 80px 20px 60px; /* ヘッダーの高さ分のパディング */
    }
    
    .hero-container {
        padding: 120px 20px 60px;
    }

    .section-title,
    .about-title,
    .vision-title,
    .faq-title,
    .news-title,
    .other-title {
        font-size: 36px;
    }

    .members-content {
        flex-direction: column;
        gap: 40px;
    }

    .members-left {
        flex: none;
        width: 100%;
    }

    .members-right {
        flex: none;
        width: 100%;
    }

    .members-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .members-title {
        justify-content: center;
    }

    .members-cta {
        text-align: center;
    }

    /* メンバーカルーセルのレスポンシブ対応 */

    .members-carousel .carousel-track {
        gap: 20px;
    }

    .members-subtitle {
        font-size: 80px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        opacity: 0.3;
        letter-spacing: 10px;
        font-style: italic;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .index-page .hero-container {
        padding: 80px 15px 40px; /* ヘッダーの高さ分のパディング */
        gap: 30px;
    }
    
    .hero-container {
        padding: 100px 15px 40px;
        gap: 30px;
    }

    .section-title,
    .about-title,
    .vision-title,
    .faq-title,
    .news-title,
    .other-title {
        font-size: 28px;
    }

    .members-content {
        gap: 30px;
    }

    .members-subtitle {
        font-size: 60px;
    }

    .faq-container {
        padding: 40px 30px;
    }

    .members-carousel .carousel-track {
        gap: 15px; /* モバイルでは間隔を狭く */
    }

    .members-carousel .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* .instagram-banner {
        border-radius: 10px;
    } */

/* Instagram カルーセル専用設定（レスポンシブ内） */
    .instagram .carousel-track {
        display: flex;
        transition: transform 0.3s ease;
        width: 100%; /* ← track自体は100%でOK */
    }
    
    .instagram-banner {
        flex: 0 0 100%; /* ← 各スライド100% */
        width: 100%;
    }
    
    .instagram .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .instagram .prev-btn {
        margin-left: -20px;
    }
    
    .instagram .next-btn {
        margin-right: -20px;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 固定画像 */
.fixed-image {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.fixed-image-content {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fixed-image-content:hover {
    transform: scale(1.1);
}

.fixed-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
    transition: box-shadow 0.3s ease;
}

.fixed-image-content:hover img {
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.5);
}

/* 固定画像のアニメーション */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

/* スクロールバー */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #e74c3c;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c0392b;
}


.members-carousel .carousel-nav {
    position: absolute;
    top: 50%;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.members-carousel .nav-btn {
    pointer-events: all;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 25px; /* content-buttonと同様に角丸を適用 */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.members-carousel .nav-btn:hover {
    background: #e74c3c; /* content-buttonと同じ赤色 */
    color: white; /* ホバー時の文字色を白に */
    transform: translateY(-3px); /* content-buttonと同じホバーエフェクト */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* content-buttonと同じシャドウ */
}

.member-card {
    flex: 0 0 calc(33.333% - 2rem);
    max-width: 17.5rem;
    min-width: 9.375rem;
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: hidden;
    margin: 1rem;
    transition: transform 0.4s ease;
  }
  
  /* 📱スマホで1枚ずつスライドさせる設定 */
  @media (max-width: 768px) {
    .member-card {
      flex: 0 0 100%;      /* 1枚ずつ表示 */
      max-width: 100%;     /* 幅いっぱい */
      margin: 0;           /* マージンを削除してズレ防止 */
    }
  
    .members-carousel .carousel-track {
      gap: 0;              /* ギャップも消して隙間ゼロ */
    }
  }
  
/* ========================================
   Other Contents セクション
======================================== */
.other-contents-section {
    padding: 0;
}

.other-contents-section-bg {
    background: #E83532; /* CTAと同じ背景色 */
    color: white; /* 文字色を白に */
}

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

.contents-header h2 {
    font-size: 22px;
    font-weight: 900;
    color: white; /* 文字色を白に */
    letter-spacing: 2px;
}

.contents-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.content-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 200px;
}

.content-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #E83532;
    color: white;
}

.content-button .arrow {
    font-size: 20px;
    font-weight: bold;
    margin-left: 15px;
}

/* レスポンシブ: Other Contents */
@media (max-width: 768px) {
    .contents-header h2 {
        font-size: 18px;
    }
    
    .contents-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .content-button {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .other-contents-section {
        padding: 0;
    }
    
    .contents-header h2 {
        font-size: 18px;
    }
    
    .content-button {
        padding: 15px 20px;
        font-size: 16px;
        min-width: 200px;
    }
}

/* ========================================
   CTAセクション
======================================== */
.cta {
    padding: 0;
}

.cta-bg {
    background: #e74c3c;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-title {
    background-image: url(../image/マスクグループ\ 20.png);
    width: 100%; /* 幅を100%に */
    height: 100%; /* 高さを100%に */
    max-width: 1200px; /* 最大幅を制限 */
    margin: 0 auto 30px auto; /* 中央寄せと下マージン */
    padding: 20px; /* 余白を追加 */
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-title img {
    display: block;
    max-width: 100%;
    height: auto;
    text-align: center;
    margin: 30 0 30 0;
}

.cta-line {
    display: block;
    margin-bottom: 5px;
}

.cta-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.cta-message {
    margin-bottom: 30px;
}

.cta-message p {
    font-size: 18px;
    opacity: 0.9;
}

.cta-highlight {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-button .btn-outline {
    border-color: white;
    color: white;
}

.cta-button .btn-outline:hover {
    background: white;
    color: #E83532;
}

/* レスポンシブ: CTA */
@media (max-width: 768px) {
    .cta {
        padding: 0;
    }
    
    .cta-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .cta-subtitle {
        font-size: 20px;
    }
    
    .cta-highlight {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .cta-message p {
        font-size: 16px;
    }
    
    .cta-highlight {
        font-size: 18px;
    }
    
    .cta-subtitle {
        font-size: 18px;
    }
}


/* ========================================
   Aboutセクション ベーススタイル（PC）
======================================== */
.about {
    width: 100%;
    background-color: #f8f9fa; /* 背景色は適宜変更 */
}

.about-container {
    max-width: 1200px;  /* コンテンツ幅制限 */
    margin: 0 auto;
    padding: 60px 20px; /* 上下左右の余白 */
}

.about-content {
    display: flex;
    align-items: center;        /* 垂直中央揃え */
    gap: 40px;                  /* テキストと画像の間隔 */
    flex-wrap: nowrap;          /* PCでは横並び固定 */
}

.about-text {
    flex: 1;
}

.about-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 10px;
}

.about-title {
    font-size: 3rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 20px;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.btn-viewmore img {
    max-width: 250px;
    width: 100%;
    display: block;
}

/* 画像 */
.about-image {
    flex: 1;
    display: flex;
    justify-content: center; /* 横中央揃え */
    align-items: center;     /* 縦中央揃え */
}

.building-photo {
    width: 100%;
    max-width: 600px;        /* 最大幅を親要素内で制限 */
    overflow: hidden;
}

.head-office {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.head-office img {
    width: 100%;      /* 親要素にフィット */
    height: auto;     /* アスペクト比保持 */
    object-fit: cover; /* はみ出す場合は切り取り */
    display: block;
}

/* 画像 */
.vision-image {
    flex: 1;
    display: flex;
    justify-content: center; /* 横中央揃え */
    align-items: center;     /* 縦中央揃え */
}

.representatives-photo {
    width: 100%;
    max-width: 600px;        /* 最大幅を親要素内で制限 */
    overflow: hidden;
}

.representatives-people {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.representatives-people img {
    width: 100%;      /* 親要素にフィット */
    height: auto;     /* アスペクト比保持 */
    object-fit: cover; /* はみ出す場合は切り取り */
    display: block;
}

/* ========================================
   レスポンシブ（タブレット・スマホ）
======================================== */
@media (max-width: 1024px) {
    .about-content {
        flex-wrap: wrap;          /* 横並び→折り返し */
    }

    .about-text,
    .about-image {
        flex: 1 1 100%;           /* 幅100%で縦並び */
        text-align: center;       /* 中央揃え */
    }

    .about-title {
        font-size: 2.5rem;
    }

    .about-subtitle {
        font-size: 1.2rem;
    }

    .about-description {
        font-size: 0.95rem;
    }

    .btn-viewmore img {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 40px 15px;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-subtitle {
        font-size: 1rem;
    }

    .about-description {
        font-size: 0.9rem;
    }

    .btn-viewmore img {
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.8rem;
    }

    .about-subtitle {
        font-size: 0.9rem;
    }

    .about-description {
        font-size: 0.85rem;
    }

    .btn-viewmore img {
        max-width: 150px;
    }

    .message-highlight-text1,
    .message-highlight-text2,
    .message-highlight-text3 {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        white-space: nowrap;   /* ←自動改行を禁止 */
    }
}

@media (max-width: 768px) {
    .carousel-nav {
      position: static;       /* 絶対配置を解除して通常フローへ */
      display: flex;
      justify-content: center; /* 中央寄せ */
      gap: 20px;              /* 矢印間の余白 */
      margin-top: 15px;       /* カード群との間隔 */
    }
    .viewmore {
      margin-top: 20px;       /* 矢印の下に余白を確保 */
    }
  }

  /* ========================================
   横スクロール防止（グローバル対応）
======================================== */
html, body {
    overflow-x: hidden; /* 横スクロール無効化 */
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  /* スマホでの微調整 */
  @media (max-width: 768px) {
    .main-top-bg img {
      width: 100%;
      max-width: 100%;
    }
  
    .hero,
    .index-page .hero,
    .hero-bg {
      width: 100%;
      overflow-x: hidden;
    }
  
    .crosstalk,
    .crosstalk-content,
    .crosstalk-right {
      width: 100%;
      margin: 0;
      overflow-x: hidden;
      background-size: cover;
      background-position: center;
    }
  }
