/**
 * 2カラムセクションのスタイル
 */

 .two-column-section {
    display: flex;
    margin: 100px 120px;
    justify-content: space-between;
    align-items: center;
}

/* 左側の画像エリア */
.two-column-section__image {
    width: 58.3%; /* 7:5の比率で左側は7/12 */
}

.two-column-section__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* 右側のコンテンツエリア */
.two-column-section__content {
    width: 41.7%; /* 7:5の比率で右側は5/12 */
    padding-left: 60px;
}

/* 見出し */
.two-column-section__title {
    font-size: 32px;
    font-weight: bold;
    color: var(--color-dark-blue);
    line-height: 1.5;
    letter-spacing: 0.05em;
    margin: 0 0 30px 0;
}

/* テキスト */
.two-column-section__text {
    font-size: 14px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* タブレット対応 */
@media screen and (max-width: 1024px) {
    .two-column-section {
        margin: 80px 60px;
    }
    
    .two-column-section__content {
        padding-left: 40px;
    }
    
    .two-column-section__title {
        font-size: 28px;
        margin: 0 0 20px 0;
    }
}

/* モバイル対応 */
@media screen and (max-width: 767px) {
    .two-column-section {
        flex-direction: column;
        margin: 60px 10px;
    }
    
    .two-column-section__image {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .two-column-section__content {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .two-column-section__title {
        font-size: 28px;
        line-height: 1.5;
    }

}






/**
 * 理事長ご挨拶セクションのスタイル
 */

/* セクション全体のスタイル */
.greeting-section {
    margin: 100px 120px;
    position: relative;
    font-family: "BIZ UDPGothic", sans-serif;
}

/* アンダーラインのある見出し */
.under {
    margin-bottom: 40px;
    position: relative;
}

/* コンテンツエリア - flexboxを使用 */
.greeting-section__content {
    display: flex;
    gap: 5%; /* 左右のカラム間の間隔 */
}

/* 画像エリア */
.greeting-section__image {
    flex: 0 0 25%; 
}

.greeting-section__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px; /* 丸みを帯びた角 */
}

/* テキスト+署名コンテナ */
.greeting-section__text-container {
    flex: 0 0 70%; /* 幅50%で固定 */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* テキストと署名を縦方向に分散配置 */
}

/* テキストエリア */
.greeting-section__text {
    font-weight: 400;
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.05em;
    color: #333;
}

.greeting-section__text p:last-child {
    margin-bottom: 30px; /* 署名との間隔 */
}

/* 署名エリア */
.greeting-section__signature {
    text-align: right;
}

.greeting-section__organization {
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.greeting-section__position-name {
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.05em;
}

.greeting-section__name {
    font-weight: 500;
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0.05em;
    margin-left: 10px;
}

/**
 * 理事長ご挨拶セクションのレスポンシブスタイル
 */

/* 標準スタイル（PC向け）はそのまま維持 */

/* タブレット・スマホ対応（768px以下） */
@media screen and (max-width: 768px) {
    .section-label, .section-title {
        text-align: left !important;
    }

    /* セクション全体の余白調整 */
    .greeting-section {
        margin: 60px 20px; /* 上下・左右の余白を縮小 */
    }

    .under {
        margin-bottom: 20px;
    }

    .greeting-section__image img {
        width: 60%;
    }
    
    /* コンテンツエリアを縦並びに変更 */
    .greeting-section__content {
        flex-direction: column;
        gap: 30px; /* 縦方向の間隔 */
    }
    
    /* 画像エリアの幅調整 */
    .greeting-section__image {
        flex: 0 0 100%; /* 幅100%に調整 */
    }
    
    /* テキスト+署名コンテナの幅調整 */
    .greeting-section__text-container {
        flex: 0 0 100%; /* 幅100%に調整 */
    }
    
    /* テキストエリアのフォントサイズと行間調整 */
    .greeting-section__text {
        font-size: 14px;
        line-height: 1.8;
    }
    
    /* 署名エリアのフォントサイズ調整 */
    .greeting-section__organization {
        font-size: 14px;
        letter-spacing: 0.05em;
    }
    
    .greeting-section__position-name {
        font-size: 14px;
        letter-spacing: 0.05em;
    }
    
    .greeting-section__name {
        font-size: 24px;
        letter-spacing: 0.05em;
    }
}

















/**
 * 財団概要セクションのスタイル
 */

 .foundation-overview {
    display: flex;
    margin: 100px 120px;
    padding: 0;
    gap: 40px;
}

/* 左側のヘッダーエリア */
.foundation-overview__header {
    margin-bottom: 30px;
    flex: 0 0 25%;
}


.overview-section:last-child {
    margin-bottom: 0;
}

.overview-heading {
    background-color: #dddddd;
    padding: 0 5px;
    font-weight: bold;
}

.overview-content-wrapper {
    width: 100%;
}

.overview-content {
    padding: 10px 5px;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 400;
}

.overview-content2 {
    padding: 0 5px !important;
}

/* 役員リスト用のスタイル - 修正版 */
.officer-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 100%;
}

.officer-item {
    display: flex;
    border-bottom: 1px solid #dddddd;
    padding: 10px 0;
    width: 100%;
}

.officer-item:last-child {
    margin-bottom: 0;
}

.officer-position {
    font-weight: bold;
    min-width: 80px;
    margin-right: 20px;
    flex-shrink: 0;
}

.officer-name {
    flex: 1;  /* 追加: 名前部分が最大幅まで広がるように */
}

/* 評議員のメンバー表示用 */
.committee-member {
    display: block;
    width: 100%;
    position: relative;  /* 五十音順を絶対配置するための基準点 */
    padding-bottom: 20px; /* 五十音順のスペース確保 */
}

/* 五十音順表記 */
.alphabet-order {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: right;
    font-size: 12px;
}

.officer-item:last-child {
    margin-bottom: 0;
    border-bottom: none; /* 最後の項目の下線を削除 */
}


@media screen and (max-width: 767px) {
    /* 全体の配置を縦に変更、余白調整 */
    .foundation-overview {
        flex-direction: column;
        margin: 60px 20px;
        gap: 20px;
    }
    
    /* ヘッダー部分の調整 */
    .foundation-overview__header {
        flex: none;
        margin-bottom: 0;
        width: 100%;
    }

    .officer-item {
        display: block;  /* flex ではなく block に */
    }
    
    /* 文字サイズの調整 - 役職者の名前部分を14px */
    .officer-name {
        font-size: 14px;
        display: block;   /* 同じくブロック表示 */
        margin-top: 4px;  /* 少し上の役職と余白をとる */
    }
    
    /* 役員リストのレイアウト調整 */
    .officer-position {
        min-width: 70px;
        margin-right: 10px;
        min-width: auto;  /* 幅指定を解除して可変に */
        display: block;   /* 縦に並べたいのでブロック表示 */
    }
    
    /* 評議員メンバーのレイアウト調整 */
    .committee-member {
        padding-bottom: 25px; /* 五十音順テキストのために少し余白を増やす */
    }
    
    /* 評議員の改行調整 */
    .committee-member br {
        display: none; /* モバイルで不自然な改行を防止 */
    }
}











/**
 * これまでの歩みセクション
 */
 /**
 * これまでの歩みセクション (修正後)
 */
.history-section {
  padding: 100px 120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 50px;
}

.timeline-description sub {
    font-size: 100%; /* サイズ調整 */
    vertical-align: sub; /* 位置調整 */
    line-height: 0; /* ライン高さ調整 */
  }

/* タイムライン基本構造 */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background-color: #dddddd;
}

/* タイムラインアイテム */
.timeline-item {
  position: relative;
  margin-bottom: 60px;
  display: block; /* 初期状態は表示 */
}

/* ドット */
.timeline-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-dark-blue);
  left: -35px;
  top: 25px;
  z-index: 1;
}

/* 年表示 */
.timeline-year {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 700;
  font-size: 40px;
  color: var(--color-dark-blue);
  margin-bottom: 5px;
  display: inline-block;
  margin-right: 10px;
  letter-spacing: -0.05em;
}

/* 元号表示 */
.timeline-era {
  font-weight: 500;
  font-size: 16px;
  color: #002C6C;
  display: inline-block;
  margin-bottom: 15px;
}

.timeline-event {
  display: flex;
  margin-bottom: 20px;
}

.timeline-event:last-child {
  margin-bottom: 0;
}

/* 月表示 */
.timeline-month {
  font-weight: 500;
  font-size: 16px;
  color: #002C6C;
  width: 50px;
  flex-shrink: 0;
}

/* 説明文 */
.timeline-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* 区切り線 */
.timeline-divider {
  height: 1px;
  background-color: #dddddd;
  margin: 0 0 20px;
}

/* さらに詳しく見るボタン */
.see-more-container {
  text-align: right;
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.see-more-button {
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark-blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.see-more-icon {
  font-size: 12px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}


/* .show クラスは単に display:block を適用 */
.timeline-item.show {
  display: block !important;
}

/* 以下はレスポンシブ設定 */

@media screen and (min-width: 768px) {
  .section-header {
      flex: 0 0 25%;
  }
  .timeline-container {
      position: relative;
      width: 60%;
  }
  .timeline-item:nth-child(n+4) {
      display: none;
  }
  /* 3番目のタイムラインアイテムを薄く表示 */
  .timeline-item:nth-child(3) {
      opacity: 0.5;
  }
  /* 展開時には通常の不透明度に戻す */
  .timeline-item:nth-child(3).restore-opacity {
      opacity: 1;
  }

  .see-more-button:hover .close-about-icon {
    transform: translateY(-5px);
}


.see-more-button:hover .see-more-icon {
    transform: translateY(5px);
}
}

@media screen and (max-width: 767px) {
  .section-header {
      flex: 0 0 100%;
  }
  .timeline-container {
      width: 100%;
  }
  .history-section {
      padding: 40px 20px;
      gap: 30px;
  }
  .section-title {
      font-size: 28px;
  }
  .timeline-item {
      margin-bottom: 20px;
  }
  .timeline-year {
      font-size: 28px;
  }
  .timeline-era {
      font-size: 12px;
  }
  .timeline-month {
      font-size: 12px;
  }
  .timeline-description {
      font-size: 12px;
  }
  .timeline-item:nth-child(n+5) {
      display: none;
  }
  /* 4番目のタイムラインアイテムを薄く表示 */
  .timeline-item:nth-child(4) {
      opacity: 0.5;
  }
  /* 展開時には通常の不透明度に戻す */
  .timeline-item:nth-child(4).restore-opacity {
      opacity: 1;
  }
  .see-more-button {
      font-size: 14px;
  }
}












/* 私たちの主な活動 */
/* activities.css - ソニーミュージック財団 */

/*******************************
 * 私たちの活動セクション
 *******************************/

/* セクション全体 */
.activities {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px 100px;
}

.activities_{
    width: 100%;
    background-color: var(--color-dark-blue);
    border-radius: 20px;
    padding-bottom: 120px;
    color: #ffffff;
}

/* コンテナ */
.activities__container {
    display: flex;
    overflow: hidden;
    align-items: center;
}

/* 左側：テキストエリア */
.activities__text {
    width: 35%; /* 約280pxになるように調整（1200pxコンテナ基準） */
    padding: 100px 40px 60px 120px; /* 右側の余白を少し調整 */
}


/* オレンジドット */
.activities__dot {
    display: block;
    width: 8px;
    height: 8px;
    background-color: #FF6600;
    border-radius: 50%;
    margin-bottom: 16px;
}

/* 英語タイトル */
.activities__subtitle {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

/* 日本語タイトル */
.activities__title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
}

/* 活動メニューリスト */
.activities__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
}

/* 活動項目 */
.activities__item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
    background-color:  #002458;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* アクティブな活動項目 */
.activities__item--active {
    background-color: rgba(51, 91, 143, 0.8); /* 明るめの青 */
}

/* 活動項目の番号 */
.activities__item-number {
    font-size: 20px;
    font-weight: 700;
    margin-right: 16px;
    min-width: 30px;
    opacity: 0.5;
}

/* 活動項目のテキスト */
.activities__item-text {
    font-size: 16px;
    flex-grow: 1;
    opacity: 0.5; /* 非アクティブ時は50%の透明度 */
    transition: opacity 0.3s; /* 滑らかな切り替え */
    padding-right: 15px;
}
/* ホバー時のスタイル - アクティブと同じに */
.activities__item:hover {
    background-color: rgba(51, 91, 143, 0.8); /* アクティブ時と同じ背景色 */
}

/* ホバー時のテキスト - 不透明に */
.activities__item:hover .activities__item-text {
    opacity: 1;
}

.activities__item:hover .activities__item-number {
    opacity: 1;
}

/* アクティブな活動項目 */
.activities__item--active {
    background-color: rgba(51, 91, 143, 0.8); /* 明るめの青 */
}

/* アクティブな活動項目のテキスト - 不透明に */
.activities__item--active .activities__item-text {
    opacity: 1;
}

.activities__item--active .activities__item-number {
    opacity: 1;
}

/* 活動項目のドット */
.activities__item-dot {
    min-width: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5); /* 薄い白色 */
    flex-shrink: 0;
    transition: background-color 0.3s; 
}

/* アクティブな項目のドット */
.activities__item--active .activities__item-dot {
    background-color: #FF6600; /* オレンジ色 */
}

.activities__item:hover .activities__item-dot {
    background-color: #FF6600; /* オレンジ色 */
}

/* 詳しく見るボタン */
.activities__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
}

.activities__button:hover {
    background-color: #eaeaea;
    transform: translateY(-2px);
}

/* ボタン内の矢印 */
.activities__button-arrow {
    margin-left: 10px;
    font-weight: normal;
}

/* 右側：画像エリア */
.activities__content {
    width: 50%;
    overflow: hidden;
}

.activities__content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* その他の活動を見るボタン */
.activities__more-button-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.activities__more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 16px 60px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
    background-color: #002458;
}

.activities__more-button:hover {
    background-color: #eaeaea;
    transform: translateY(-2px);
}

/* ボタン内の矢印 */
.activities__more-button-arrow {
    margin-left: 10px;
}


/* 右側：コンテンツ表示エリア */
.activities__content {
    margin-top: 60px;
    width: 60%; /* 左側に合わせて調整 */
    background-color: rgba(51, 91, 143, 0.8);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* コンテンツヘッダー - 矢印位置調整 */
.activities__content-header {
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.activities__content-title-header {
    margin-left: 8px;
    margin-right: 8px; /* 矢印との間隔を追加 */
    white-space: nowrap; /* タイトルが長い場合も改行せずに表示 */
}

/* コンテンツ番号 */
.activities__content-number {
    margin-right: 8px;
}

/* 矢印アイコン */
.activities__content-arrow {
    margin-left: 0; /* autoを削除して隣接させる */
}

/* コンテンツ本体 */
.activities__content-body {
    display: flex;
    padding: 30px;
    align-items: flex-start; /* 上部揃え */
}

/* コンテンツ画像 */
.activities__content-image {
    width: 100%;
    max-width: 360px; 
    aspect-ratio: 1 / 1;
    flex-shrink: 0; /* サイズ固定 */
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2); /* 薄い白枠を追加 */
}

.activities__content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* コンテンツテキスト */
.activities__content-text {
    flex: 1; /* 残りの幅を全て使用 */
    padding-left: 30px;
    display: flex;
    flex-direction: column;
}
/* コンテンツタイトル */
.activities__content-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* コンテンツ説明 */
.activities__content-description {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 500;
}

/* 詳しく見るボタン */
.activities__content-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: var(--secondary);
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    align-self: flex-start;
    margin-top: auto;
    transition: background-color 0.3s, transform 0.3s;
}

.activities__content-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ボタン内の矢印 */
.activities__content-button-arrow {
    margin-left: 10px;
}

/* 区切り線 */
.activities__divider {
    width: 90%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto ;
}

/* その他の活動を見るボタン */
.activities__more-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.activities__more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 16px 60px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s;
}

.activities__more-button:hover {
    background-color: #eaeaea;
    transform: translateY(-2px);
}

/* ボタン内の矢印 */
.activities__more-button-arrow {
    margin-left: 10px;
}

@media (max-width: 1100px) {
    .activities__item-text {
        font-size: 12px;
    }

    .activities__content-image {
        max-width: 240px; 
    }
}

@media (max-width: 900px) {
    .activities__content-image {
        max-width: 170px; 
    }
}


/* デスクトップ表示設定 */
@media screen and (min-width: 769px) {
    /* リスト内のモバイル用コンテンツを非表示 */
    .activities__list .activities__content {
        display: none !important;
    }
    
    /* デスクトップ用コンテンツを表示 */
    .activities__content.desktop-only {
        display: block;
    }
}




/* レスポンシブ対応 - 768px以下 */
@media screen and (max-width: 768px) {

    /* デスクトップ用コンテンツを非表示 */
    .activities__content.desktop-only {
        display: none !important;
    }
    
    /* リスト内のモバイル用コンテンツを表示（アコーディオンで制御） */
    .activities__list .activities__content {
        display: block;
    }

    .activities_{
        padding-bottom: 40px;
    }

    /* コンテナの調整 */
    .activities__container {
      flex-direction: column;
      align-items: stretch;
    }

    .activities__title{
        font-size: 28px;
    }
  
    /* 左側テキストエリアの調整 */
    .activities__text {
      width: 100%;
      padding: 40px 20px 0;
    }
  
    /* 活動リストの調整 */
    .activities__item {
      width: 100%;
      margin-bottom: 5px;
    }
  
    /* コンテンツエリアの基本スタイル */
    .activities__content {
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.4s ease-in-out, opacity 0.3s ease;
        opacity: 0;
        margin-top: 0;
        background-color: rgba(51, 91, 143, 0.8);
        will-change: height, opacity;
    }
  
    /* アコーディオン表示用のクラス */
    .activities__content--visible {
        height: auto; /* CSSが高さを自動計算 */
        opacity: 1;
        border-radius: 5px;
        overflow: visible;
        padding-bottom: 20px; /* 内容に余裕を持たせる */
    }

    .activities__item {
        -webkit-tap-highlight-color: transparent;
        transform: translateZ(0);
    }

    /* アニメーション中のガタつき防止 */
    .activities__content-body {
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    
    /* アコーディオン開閉時の視覚的フィードバック強化 */
    .activities__content-image {
        transition: transform 0.3s ease;
    }
    
    .activities__content--visible .activities__content-image {
        transform: translateY(0);
    }

    .activities__content--visible .activities__content-body {
        opacity: 1;
        transition-delay: 0.2s; /* 開いた後に内容を表示 */
    }
  
    /* アクティブ項目の下の角を丸くしない */
    .activities__item--active {
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }
  
    /* コンテンツヘッダーは不要なので非表示 */
    .activities__content-header {
      display: none;
    }
  
    /* コンテンツ本体のレイアウト調整 */
    .activities__content-body {
      flex-direction: column;
      padding: 20px;
      border-radius: 5px;
    }
  
    /* 画像エリアのサイズ調整 */
    .activities__content-image {
      width: 100%;
      height: auto;
      max-width: none;
      margin-bottom: 20px;
    }
  
    /* テキストエリアの余白調整 */
    .activities__content-text {
      padding-left: 0;
    }
  
    /* ドットの位置を右側に移動 */
    .activities__item {
      justify-content: space-between;
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;
    }
    
    .activities__item-number {
      order: 1;
      font-size: 15px;
    }
    
    .activities__item-text {
      order: 2;
      font-size: 15px;
    }
    
    .activities__item-dot {
      order: 3;
    }

    .activities__list {
        gap: 0;
    }

    .activities {
        padding: 0 10px 20px;
    }

    .activities_ {
        border-radius: 8px;
    }
  }






