
/* ======================================================
 organization.css
====================================================== */

/* ==============================
▼ タイムラインテーブル全体
============================== */
.timeline-table {
width: 100%;
margin-top: 24px;
padding-bottom: 20px;
}

/* ==============================
▼ 1行（row）
============================== */
.timeline-row {
display: flex;
justify-content: flex-start;
align-items: center;
padding: 12px 0;
border-bottom: 1px solid #B5BEC7;
}

/* ==============================
▼ 左列（日付）
============================== */
.timeline-col.date {
width: 200px;
font-weight: 700;
color: #003357;
}

/* ==============================
▼ 右列（タイトル）
============================== */
.timeline-col.title {
flex: 1;
color: #003357;
}


/* ==============================
代表理事セクション専用
============================== */
/* 代表理事あいさつ：横並びレイアウト */
#greeting-message .contents-wrap {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

/* 文章側 */
#greeting-message .contents-text {
  flex: 4;
}

#greeting-message .president-sign {
  margin-top: 24px;
  font-weight: 700;
  color: #003357;
}

#greeting-message .president-sign .title {
  display: inline-block;
  margin-right: 12px;
  font-weight: 700;
}

#greeting-message .president-sign .name {
  font-weight: 700;
  font-size: 1.1em;
}

#greeting-message .contents-photo {
  flex: 2;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

#greeting-message .contents-photo img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

/* ==============================
   ▼ 会社リスト（テーブル風）
============================== */
.company-table {
  width: 100%;
  margin-top: 24px;
}

/* 1行 */
.company-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #B5BEC7;
}

/* 各カラム */
.company-col {
  padding-right: 16px;
  color: #003357;
  font-size: 16px;
}

/* 会社名（幅広め） */
.company-col.name {
  width: 40%;
  font-weight: 700;
}

/* URL（残り全部） */
.company-col.url {
  width: 60%;
  font-size:0.95em;
}

.company-col.url a {
  color: #0074D9;
  text-decoration: underline;
  word-break: break-all;
}



/* ==============================
▼ スマホ・タブレット対応
============================== */
@media screen and (max-width: 768px) {
.timeline-row {
flex-direction: column;
align-items: flex-start;
}

.timeline-col.date {
width: 100%;
margin-bottom: 4px;
}

.timeline-col.title {
width: 100%;
}

  .company-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .company-col {
    width: 100%;
    padding-right: 0;
  }

  .company-col.name {
    width: 100% !important;
    font-weight: 700;
    word-break: break-word;
  }

  .company-col.rep {
    width: 100% !important;
  }

  .company-col.url {
    width: 100% !important;
    word-break: break-all;
  }

  #greeting-message .contents-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #greeting-message .contents-text {
    width: 100%;
  }

  #greeting-message .contents-photo {
    order: -1;
    width: 250px;
    margin: 0 auto 16px;
  }

  #greeting-message .contents-photo img {
  width: 250px;      /* ここで画像サイズを指定 */
  display: block;
  height: auto;
}

}



