@charset "utf-8";
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
    ファイル名: ir-top.css
    説明: IR TOP（/investor/index.html、pageTypeKey=investorIndex）用
    ※ #Contents に .ir-top が付いたページだけで読み込む（page.php）
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

/* ============ 1カラム化（PCはサイドメニューを出さない） ============ */
@media (min-width: 769px) {
  #Contents.ir-top #SubConts { display: none; }
}
#Contents.ir-top #MainConts { float: none; width: 100%; color: #333; line-height: 1.6; }
@media (max-width: 768px) {
  #Contents.ir-top #MainConts { width: calc(100% - 20px); }
}
#Contents.ir-top #MainConts a { text-decoration: none; }
#Contents.ir-top #MainConts ul { list-style: none; margin: 0; padding: 0; }
#Contents.ir-top #MainConts ul li { margin: 0; padding: 0; background: none; }
#Contents.ir-top #MainConts img { max-width: 100%; height: auto; }

/* ============ 見出し（IR情報） ============ */
.irt-hero { background: linear-gradient(135deg, #004384 0%, #0F66A9 100%); color: #fff; border-radius: 8px; padding: 14px 24px; margin: 10px 0 20px; }
#Contents.ir-top .irt-hero__title { display: flex; align-items: baseline; gap: 14px; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; color: #fff; font-size: 22px; font-weight: bold; line-height: 1.2; letter-spacing: normal; }
#Contents.ir-top .irt-hero__title::before,
#Contents.ir-top .irt-hero__title::after { display: none; }
#Contents.ir-top .irt-hero__title span { font-size: 12px; font-weight: normal; letter-spacing: .15em; opacity: .75; }

/* ============ バナー（固定ページ本文の .banner-area を2列に） ============ */
.irt-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 28px; }
.irt-banners .banner-area { margin: 0; border: 1px solid #dde3ea; border-radius: 6px; overflow: hidden; }
.irt-banners .banner-area a { display: block; transition: opacity .15s; }
.irt-banners .banner-area a:hover { opacity: .85; }
.irt-banners .banner-area img { display: block; width: 100%; }

/* ============ パネル（お知らせ・大分類共通） ============ */
.irt-panel { background: #fff; border: 1px solid #dde3ea; border-radius: 8px; overflow: hidden; margin-bottom: 28px; }
.irt-panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: #f2f6fa; padding: 14px 22px; border-bottom: 1px solid #e3e9ef; }
#Contents.ir-top .irt-panel__title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; color: #004384; font-size: 18px; font-weight: bold; line-height: 1.3; letter-spacing: normal; white-space: nowrap; }
#Contents.ir-top .irt-panel__title::before,
#Contents.ir-top .irt-panel__title::after { display: none; }
#Contents.ir-top .irt-panel__title > span:not(.irt-icon) { font-size: 11px; font-weight: normal; letter-spacing: .12em; color: #999; }
.irt-icon { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #004384; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.irt-panel__links { display: flex; gap: 8px; flex-wrap: wrap; }
#Contents.ir-top .irt-panel__links a { color: #004384; font-size: 12px; padding: 6px 14px; border: 1px solid #004384; border-radius: 999px; background: #fff; transition: background .15s, color .15s; }
#Contents.ir-top .irt-panel__links a:hover { background: #004384; color: #fff; }

/* お知らせの表示言語（日本語 / English）：.irt-newspanel に is-en が付いたら English 表示 */
.irt-newspanel .irt-t-en { display: none; }
.irt-newspanel.is-en .irt-t-en { display: block; }
#Contents.ir-top .irt-newspanel.is-en a.irt-t-en { display: inline-block; }
.irt-newspanel.is-en .irt-t-ja { display: none; }
/* English の日付（Sep 1, 2026）は月名で幅が変わるので、幅をそろえてラベルの位置をそろえる */
.irt-news-date { display: inline-block; min-width: 7.6em; }
/* English のお知らせの下の注記 */
.irt-news-note { margin: 4px 0 6px; padding-top: 12px; border-top: 1px solid #e5ecf3; font-size: 12px; color: #777; line-height: 1.6; }
.irt-lang { display: inline-flex; border: 1px solid #004384; border-radius: 999px; overflow: hidden; }
.irt-lang button { font: inherit; font-size: 12px; cursor: pointer; padding: 5px 14px; border: 0; background: #fff; color: #004384; transition: background .15s, color .15s; }
.irt-lang button + button { border-left: 1px solid #004384; }
.irt-lang button.is-active { background: #004384; color: #fff; font-weight: bold; }
/* お知らせ欄の見出し：リンクは「お知らせ」のすぐ右、切り替えボタンは言語を変えても動かないよう右端に置く */
/* （スマホ：切り替えボタンは見出しと同じ行の右端、リンクは下の行） */
.irt-newspanel .irt-panel__head { justify-content: flex-start; }
.irt-newspanel .irt-panel__title { margin-right: 8px; }
.irt-newspanel .irt-lang { margin-left: auto; }
@media (max-width: 768px) {
  .irt-newspanel .irt-lang { order: 1; }
  .irt-newspanel .irt-panel__links { order: 2; width: 100%; }
}

/* ============ お知らせ（IR_Release_Top.json から作る dl.info を1行ずつ並べる。JSONが読めないときは www2 のHTML） ============ */
.irt-news { padding: 6px 22px 10px; }
#Contents.ir-top .irt-news dl.info { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 16px; margin: 0; padding: 13px 0; background: none; border: 0; border-bottom: 1px solid #e5ecf3; }
#Contents.ir-top .irt-news dl.info:last-of-type { border-bottom: 0; }
.irt-news-error { margin: 12px 0; padding: 16px; background: #fdf1f2; border: 1px solid #f0c4cb; color: #a01028; font-size: 14px; text-align: center; }
#Contents.ir-top .irt-news dl.info dt { display: flex; align-items: center; gap: 12px; float: none; width: auto; margin: 0; padding: 0; background: none; color: #666; font-size: 13px; font-weight: normal; line-height: 1.3; white-space: nowrap; }
#Contents.ir-top .irt-news dl.info dt span { display: block; line-height: 0; }
#Contents.ir-top .irt-news dl.info dd { float: none; width: auto; margin: 0; padding: 0; background: none; border: 0; }
#Contents.ir-top .irt-news dl.info dd a { color: #333; font-size: 14px; }
#Contents.ir-top .irt-news dl.info dd a:hover { color: #0F66A9; text-decoration: underline; }
/* 種類ラベル（JSONから作るお知らせ。色はニュース一覧の .news-label と同じ） */
#Contents.ir-top .irt-news dl.info dt .irt-label { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 88px; padding: 2px 4px 1px; background: #004384; color: #fff; font-size: 10px; font-weight: bold; line-height: 1.4; letter-spacing: .2em; text-align: center; }
#Contents.ir-top .irt-news dl.info dt .irt-label--ir { background: #C90F30; }
#Contents.ir-top .irt-news dl.info dt .irt-label--press { background: #E85C00; letter-spacing: 0; }
#Contents.ir-top .irt-news dl.info dt .irt-label--news { background: #107FC9; }

/* ============ 4つの大分類 ============ */
.irt-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.irt-cat { margin-bottom: 0; }
#Contents.ir-top #MainConts ul.irt-links { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; padding: 10px 22px 12px; }
#Contents.ir-top .irt-links a,
#Contents.ir-top .irt-links__soon { display: block; position: relative; padding: 4px 0 4px 16px; color: #333; font-size: 14px; line-height: 1.5; }
#Contents.ir-top .irt-links a::before,
#Contents.ir-top .irt-links__soon::before { content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 10px; color: #0F66A9; position: absolute; left: 0; top: 8px; }
#Contents.ir-top .irt-links__soon { color: #999; }
#Contents.ir-top .irt-links__soon::before { color: #ccc; }
#Contents.ir-top .irt-links a:hover { color: #0F66A9; }
/* 項目名の途中で折り返さない（入りきらないときは「New!!」ごと次の行へ。New!! は www2 の <font>） */
#Contents.ir-top .irt-links a { word-break: keep-all; overflow-wrap: anywhere; }
#Contents.ir-top .irt-links a > font { display: inline-block; }
.irt-soon { white-space: nowrap; font-style: normal; font-size: 10px; background: #e5e5e5; color: #666; padding: 1px 6px; border-radius: 2px; margin-left: 6px; }

/* ============ 公式SNS ============ */
.irt-sns { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: #f2f6fa; border-radius: 8px; padding: 18px 24px; margin-bottom: 30px; }
#Contents.ir-top .irt-sns p { margin: 0; padding: 0; font-size: 14px; }
.irt-sns p i { color: #0F66A9; }
#Contents.ir-top #MainConts ul.irt-sns__links { display: flex; flex-wrap: wrap; gap: 10px; }
#Contents.ir-top .irt-sns__links a { display: inline-flex; align-items: center; gap: 8px; color: #004384; font-size: 13px; padding: 8px 16px; border: 1px solid #004384; border-radius: 999px; background: #fff; transition: background .15s, color .15s; }
#Contents.ir-top .irt-sns__links a:hover { background: #004384; color: #fff; }

/* ============ スマホ ============ */
@media (max-width: 768px) {
  .irt-hero { padding: 12px 16px; }
  .irt-banners { grid-template-columns: 1fr; gap: 10px; }
  .irt-cats { grid-template-columns: 1fr; }
  .irt-panel__head { padding: 12px 16px; }
  .irt-news { padding: 4px 16px 8px; }
  #Contents.ir-top .irt-news dl.info { grid-template-columns: 1fr; gap: 6px; }
  #Contents.ir-top #MainConts ul.irt-links { padding: 8px 16px 10px; }
  #Contents.ir-top .irt-cat .irt-panel__title > span:not(.irt-icon) { display: none; }
  .irt-sns { flex-direction: column; align-items: flex-start; }
}
