/* =====================================================
   iceco IR サイト - スタイルシート
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --site-navy:      #003366;
  --site-blue:      #0066cc;
  --site-link:      #0066cc;
  --site-nav-bg:    #f5f5f5;
  --site-nav-border:#cccccc;
  --site-text:      #333333;
  --content-max:    900px;
}

body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--site-text);
  background: #f0f0f0;
}

a { color: var(--site-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Header ===== */
#site-header { background: var(--site-navy); padding: 0; }
#site-header .header-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 10px 20px; position: relative;
}
#site-header .logo {
  font-size: 22px; font-weight: 900; color: #fff;
  letter-spacing: -1px; text-decoration: none; white-space: nowrap;
}
#site-header .logo .sub {
  font-size: 13px; font-weight: 400; color: rgba(255,255,255,.7); margin-left: 4px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  margin-left: auto; padding: 4px; gap: 5px; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Global nav */
#gnav {
  margin-left: auto; display: flex; flex-wrap: wrap; gap: 2px; list-style: none;
}
#gnav li a {
  display: block; padding: 6px 10px; color: rgba(255,255,255,.85);
  font-size: 12px; border-radius: 2px; text-decoration: none; white-space: nowrap;
}
#gnav li a:hover { background: rgba(255,255,255,.15); }
#gnav li a.active { background: rgba(255,255,255,.25); font-weight: bold; }

/* ===== Hero ===== */
.ir-hero { background: #fff; border-bottom: 1px solid #ddd; }
.ir-hero .ir-en {
  font-size: 28px; font-weight: 900; color: var(--site-navy);
  letter-spacing: 3px; text-align: center; padding: 20px 20px 0; font-style: italic;
}
.ir-hero .ir-ja {
  text-align: center; font-size: 13px; color: #888;
  padding-bottom: 14px; border-bottom: 1px solid #eee;
}
.ir-hero .hero-img {
  background: linear-gradient(to right, #003366 0%, #1a6699 40%, #5599cc 100%);
  height: 120px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: 13px;
}
.ir-hero .hero-img.short { height: 120px; }

/* ===== Page nav ===== */
.ir-pagenav {
  background:#fff ; border-bottom: 1px solid var(--site-nav-border);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.ir-pagenav ul {
  list-style: none; display: flex; flex-wrap: nowrap;
  max-width: var(--content-max); margin: 0 auto; padding: 0 20px;
}
.ir-pagenav ul li a {
  display: block; padding: 10px 14px; font-size: 13px;
  color:#003366; text-decoration: none;
  border-bottom: 3px solid transparent; white-space: nowrap;font-weight: 600;
}
.ir-pagenav ul li a:hover { color: var(--site-blue); }
.ir-pagenav ul li a.active {
  color:#003366; font-weight: bold; border-bottom-color: #003366;
}

/* ===== Sub nav ===== */
.ir-subnav {
  background: #f5f5f5; border-bottom: 1px solid #ccc;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.ir-subnav ul {
  list-style: none; display: flex; flex-wrap: nowrap;
  max-width: var(--content-max); margin: 0 auto; padding: 0 20px;
}
.ir-subnav ul li a {
  display: block; padding: 8px 12px; font-size: 12px; color: #555;
  text-decoration: none; white-space: nowrap;
}
.ir-subnav ul li a:hover { color: var(--site-blue); }
.ir-subnav ul li a.active { color: var(--site-blue); font-weight: bold; }

/* ===== Content area ===== */
.ir-content {
  max-width: var(--content-max); margin: 0 auto;
  padding: 32px 20px 48px; background: #fff;
}
.ir-content h3.page-title {
  font-size: 16px; font-weight: bold; color: var(--site-navy);
  border-left: 4px solid var(--site-navy);
  padding: 6px 12px; margin-bottom: 24px; background: #f0f4f8;
}
.ir-content h4 {
  font-size: 14px; font-weight: bold; color: var(--site-navy);
  border-bottom: 2px solid var(--site-navy);
  padding-bottom: 6px; margin: 64px 0 14px;
}
.ir-content h4:first-child { margin-top: 0; }
.ir-content p { margin-bottom: 14px; font-size: 14px; line-height: 1.8; }

/* ===== Definition-style table ===== */
.dl-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 13px; }
.dl-table th {
  background: #e8eef5; width: 38%; font-weight: bold; color: var(--site-navy);
  padding: 9px 14px; border: 1px solid #ccc; text-align: left;
}
.dl-table td { background: #fff; padding: 9px 14px; border: 1px solid #ccc; }
.dl-table tr:nth-child(even) th { background: #dce6f0; }
.dl-table tr:nth-child(even) td { background: #f9f9f9; }

/* ===== IR List ===== */
.ir-list { list-style: none; margin-bottom: 20px; }
.ir-list li {
  border-bottom: 1px solid #e0e0e0; padding: 10px 0;
  display: flex; align-items: center; gap: 10px; font-size: 13px;
}
.ir-list .list-link { min-width: 0; }
.ir-list li:first-child { border-top: 1px solid #e0e0e0; }
.ir-list .list-date { color: #888; font-size: 12px; white-space: nowrap; min-width: 80px; }
.ir-list .list-cat {
  background: var(--site-navy); color: #fff;
  font-size: 10px; padding: 2px 4px; border-radius: 2px; white-space: nowrap;
  width: 60px; text-align: center; flex-shrink: 0; display: inline-block; box-sizing: border-box;
}
.ir-list .list-cat.orange { background: #c0392b; }
.ir-list .list-cat.green  { background: #27ae60; }
.ir-list .list-link a { color: var(--site-blue); font-size: 13px; }
.ir-list .list-pdf { margin-left: auto; color: #888; font-size: 11px; white-space: nowrap; }

/* ===== Tabs ===== */
.tab-wrap { margin-bottom: 20px; }
.tab-nav { display: flex; border-bottom: 2px solid var(--site-navy); }
.tab-btn {
  padding: 8px 24px; font-size: 13px; cursor: pointer;
  border: 1px solid #ccc; border-bottom: none; margin-right:0;
  background: #f5f5f5; color: #555; border-radius: 4px 4px 0 0;
  user-select: none;
}
.tab-btn.active { background: var(--site-navy); color: #fff; font-weight: bold; border-color: var(--site-navy); }
.tab-body { border: 1px solid #ccc; border-top: none; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== Grid layouts ===== */
.two-col   { display: grid; grid-template-columns: 1fr 1fr;     gap: 24px; margin-bottom: 24px; }
.ir-main-content .two-col { margin-bottom: 20px; }
.three-col { display: flex; flex-direction: row; gap: 16px; margin-bottom: 24px; }
.three-col .more-btn { flex: 1; text-align: center;}

/* ===== Box ===== */
.box { border: 1px solid #ccc; background: #fff; padding: 16px 18px; border-radius: 2px; }
.box .box-title {
  font-size: 13px; font-weight: bold; color: var(--site-navy);
  border-bottom: 1px solid #ddd; padding-bottom: 8px; margin-bottom: 12px;
}
.box ul { list-style: none; }
.box ul li { padding: 3px 0; /* border-bottom: 1px solid #eee */; font-size: 13px; }
.box ul li:last-child { border-bottom: none; }
.box ul li::before { content: "・"; color: var(--site-blue); }

/* ===== Buttons ===== */
.more-btn {
  display: inline-block; padding: 6px 20px;
  border: 1px solid var(--site-navy); color: var(--site-navy);
  font-size: 12px; border-radius: 2px; text-decoration: none; background: #fff;position: relative;
}
.more-btn:hover { background: var(--site-navy); color: #fff; text-decoration: none; }
.more-btn.primary { background: var(--site-navy); color: #fff; }
.more-btn.cur { background: var(--site-navy); color: #fff; }

/* ===== 一覧を見るボタン ===== */
.btn-list {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 0 6% 0 6%; height: 48px;
  background: #003366; color:#fff;
  font-size: 13px; font-weight: bold;
  text-decoration: none; white-space: nowrap;
  border: none; border-bottom: 3px solid var(--site-navy);
  box-sizing: border-box; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-list::after {
  content: ""; display: block; flex-shrink: 0;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}
.btn-list:hover { background: var(--site-navy); color: #fff; text-decoration: none; }
div:has(> .btn-list) { margin-bottom: 64px !important; }
.center { text-align: center; }

/* ===== Tables ===== */
.ir-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 20px; }
.ir-table th {
  background: #e8eef5; color: var(--site-navy);
  padding: 8px 12px; border: 1px solid #ccc; text-align: left; font-size: 12px;
}
.ir-table td { padding: 8px 12px; border: 1px solid #ccc; vertical-align: top; }
.ir-table tr:nth-child(even) td { background: #f9f9f9; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 20px; }
.table-wrap .ir-table { margin-bottom: 0; }

/* ===== PDF / Link icons ===== */
.icon-pdf, .icon-link {
  width: 20px; height: 20px; vertical-align: middle; flex-shrink: 0;
}
.pdf-icon { display: inline-flex; align-items: center; flex-shrink: 0; }

/* ===== Bar charts ===== */
.chart-6col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.chart-section { margin-bottom: 0; }
.chart-label { font-size: 13px; font-weight: bold; color: var(--site-navy); margin-bottom: 2px; }
.chart-unit  { font-size: 11px; color: #888; margin-bottom: 10px; }
.bar-group {
  display: flex; align-items: flex-end; gap: 8px;
  height: 120px; border-bottom: 2px solid #aaa; border-left: 2px solid #aaa;
  padding: 0 4px; background: #fafafa;
}
.bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; }
.bar-fill {
  width: 100%; background: var(--site-navy); border-radius: 2px 2px 0 0;
  position: relative; min-height: 4px;
}
.bar-fill.latest { background: #0066cc; }
.bar-fill .bar-val {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: 9px; color: #333; white-space: nowrap;
}
.bar-yr { font-size: 9px; color: #888; margin-top: 3px; white-space: nowrap; }

/* Negative bar chart (bars hang downward from zero line at top) */
.bar-group-neg {
  display: flex; align-items: flex-start; gap: 8px;
  height: 120px; border-top: 2px solid #aaa; border-left: 2px solid #aaa;
  padding: 0 4px; background: #fafafa; position: relative;
}
.bar-group-neg::before {
  content: '0'; position: absolute; top: -16px; left: -18px;
  font-size: 9px; color: #888;
}
.bar-group-neg .bar-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%;
}
.bar-group-neg .bar-fill {
  width: 100%; background: #888; border-radius: 0 0 2px 2px;
  position: relative; min-height: 4px; flex-shrink: 0;
}
.bar-group-neg .bar-fill.latest { background: #555; }
.bar-group-neg .bar-fill .bar-val {
  position: absolute; top: auto; bottom: -18px;
  left: 50%; transform: translateX(-50%);
  font-size: 9px; color: #333; white-space: nowrap;
}
.bar-group-neg .bar-yr {
  font-size: 9px; color: #888; margin-top: auto; white-space: nowrap;
}

/* Mixed positive/negative bar chart */
.bar-group-mix {
  display: flex; gap: 8px;
  padding: 0 4px 0 6px; background: #fafafa;
  border-left: 2px solid #aaa; position: relative;
}
.bar-group-mix::after {
  content: ''; position: absolute;
  left: 0; right: 0; top: 70px;
  height: 2px; background: #aaa; pointer-events: none; z-index: 1;
}
.bar-group-mix::before {
  content: '0'; position: absolute;
  top: 62px; left: -18px;
  font-size: 9px; color: #888;
}
.mix-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
}
.mix-pos {
  height: 70px; width: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
}
.mix-neg {
  height: 70px; width: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
}
.mix-pos .bar-fill {
  width: 100%; background: var(--site-navy);
  border-radius: 2px 2px 0 0; position: relative; min-height: 0;
}
.mix-pos .bar-fill.latest { background: #0066cc; }
.mix-pos .bar-fill .bar-val {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font-size: 9px; color: #333; white-space: nowrap;
}
.mix-neg .bar-fill {
  width: 100%; background: #888;
  border-radius: 0 0 2px 2px; position: relative; min-height: 0;
}
.mix-neg .bar-fill.latest { background: #555; }
.mix-neg .bar-fill .bar-val {
  position: absolute; top: auto; bottom: -18px;
  left: 50%; transform: translateX(-50%);
  font-size: 9px; color: #333; white-space: nowrap;
}
.mix-yr { font-size: 9px; color: #888; margin-top: 4px; white-space: nowrap; }

/* ===== Anchor nav ===== */
.anchor-nav { display: flex; gap: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.anchor-nav a {
  padding: 6px 16px; border: 1px solid #ccc; border-radius: 20px;
  font-size: 12px; color: #555; text-decoration: none; background: #fff;
}
.anchor-nav a:hover, .anchor-nav a.active {
  background: var(--site-navy); color: #fff; border-color: var(--site-navy); text-decoration: none;
}

/* ===== Calendar ===== */
.cal-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 28px; }
.cal-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 700px; }
.cal-table th { background: var(--site-navy); color: #fff; padding: 7px; text-align: center; border: 1px solid #335; }
.cal-table td { padding: 6px 8px; border: 1px solid #ddd; vertical-align: top; min-height: 40px; }
.cal-event { background: var(--site-blue); color: #fff; border-radius: 2px; padding: 2px 5px; font-size: 10px; margin: 1px 0; display: block; }
.cal-event.green  { background: #27ae60; }
.cal-event.orange { background: #c0392b; }

/* ===== IR Fiscal Calendar (year-at-a-glance) ===== */
.ifc-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 28px; }
.ifc-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(58px, 1fr));
  min-width: 700px;
}
.ifc-qhead {
  border: 2px solid #003366;
  text-align: center;
  padding: 6px 4px;
  font-size: 11px;
  font-weight: bold;
  color: #003366;
  line-height: 1.6;
}
.ifc-qhead + .ifc-qhead { border-left: none; }
.ifc-month {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 11px 0;
  font-size: 14px;
  font-weight: bold;
  margin: 3px 2px 0;
}
.ifc-ev {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
  min-height: 80px;
}
.ifc-arr {
  width: 1px;
  height: 30px;
  background: #333;
  position: relative;
  flex-shrink: 0;
  margin-bottom: 5px;
}
.ifc-arr::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid #333;
}
/* .ifc-arr::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #333;
} */
.ifc-lbl { font-size: 10px; text-align: center; line-height: 1.4 !important; color: #333; margin: 0; }
.ifc-ev-labels { display: flex; flex-direction: column; align-items: center; gap: 4px; }

/* IR Fiscal Calendar — SP (vertical) */
.ifc-sp { display: none; margin-bottom: 28px; width: 330px; max-width: 100%; margin-left: auto; margin-right: auto; }
.ifc-spq { display: flex; margin-bottom: 6px; }
.ifc-spq-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  border: 2px solid #003366;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: bold;
  color: #003366;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  flex-shrink: 0;
  line-height: 1.4;
}
.ifc-spq-months { flex: 1; }
.ifc-spm-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid rgba(0,51,102,.12);
}
.ifc-spm-row:last-child { border-bottom: none; }
.ifc-spm-row .ifc-month {
  width: 72px;
  flex-shrink: 0;
  margin: 2px 2px 2px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ifc-spev {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 6px 8px;
  gap: 8px;
  min-height: 48px;
}
.ifc-harr {
  width: 26px;
  height: 1px;
  background: #333;
  position: relative;
  flex-shrink: 0;
}
.ifc-harr::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 6px solid #333;
}
.ifc-harr::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #333;
}
.ifc-spev .ifc-lbl { text-align: left; font-size: 11px; margin: 0; }
.ifc-spev .ifc-lbl br { display: none; }
.ifc-spev .ifc-ev-labels { align-items: flex-start; }

/* ===== Video grid (TOP page thumbnails) ===== */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ===== Quarterly performance table ===== */
.ir-table--quarterly { min-width: 520px; white-space: nowrap; }
.ir-table--quarterly caption { text-align: right; font-size: 12px; color: #666; padding-bottom: 4px; }
.ir-table--quarterly th:first-child { width: 160px; }
.ir-table--quarterly th:not(:first-child),
.ir-table--quarterly td:not(:first-child) { text-align: right; }

/* ===== Gallery grid (video-gallery page) ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.video-embed {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #111;
}
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-card--empty .video-embed { background: none; }
.video-card .video-title { font-size: 13px; line-height: 1.5; margin-top: 8px; color: #333; }
.video-item .thumb {
  background: #c8d8e8; border: 1px solid #bcd;
  height: 120px; display: flex; align-items: center; justify-content: center;
  color: #6699bb; font-size: 20px; position: relative;
}
.video-item .thumb .duration {
  position: absolute; bottom: 6px; right: 8px;
  background: rgba(0,0,0,.65); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 2px;
}
.video-item .v-title { font-size: 12px; color: #333; margin-top: 5px; }

/* ===== Placeholder ===== */
.ph {
  background: #dce8f0; border: 1px dashed #aac; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  color: #6688aa; font-size: 13px; font-weight: bold; text-align: center; line-height: 1.6;
}

/* ===== Note/Disclaimer ===== */
.note { font-size: 11.5px; color: #666; background: #fffde7; border: 1px solid #e0d070; padding: 8px 12px; margin-bottom: 14px; }

/* ===== Adobe Reader notice ===== */
.adobe-note {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid #ccc; padding: 12px; background: #f9f9f9;
  font-size: 12px; color: #555; margin-top: 24px;
}
.adobe-note a { flex-shrink: 0; }
.adobe-note img { display: block; }

/* ===== Footer ===== */
#site-footer { background: var(--site-navy); color: rgba(255,255,255,.7); padding: 28px 20px; font-size: 12px; }
#site-footer .footer-grid {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px;
}
#site-footer .fc h4 { color: #fff; font-size: 12px; margin-bottom: 8px; }
#site-footer .fc a  { display: block; color: rgba(255,255,255,.65); font-size: 11px; margin-bottom: 4px; text-decoration: none; }
#site-footer .footer-bottom {
  max-width: 1000px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; font-size: 11px;
}

/* ===== SP Collapsibles ===== */
.sp-coll-btn {
  background: none; border: none; border-radius: 0;
  cursor: pointer; font: inherit; color: inherit;
  padding: 0; text-align: left; width: 100%;
  display: block; position: relative;
}

@media (min-width: 769px) {
  .sp-coll-btn { pointer-events: none; cursor: default; }
  .sp-coll-body { display: block !important; }
}

/* ===== IR TOP: side menu + main layout ===== */
.ir-top-layout { display: flex; gap: 28px; align-items: flex-start; }
.ir-side-menu { width: 160px; flex-shrink: 0; font-size: 12px; }
.ir-side-menu ul { list-style: none; border: 1px solid #ccc; }
.ir-side-menu ul li { border-bottom: 1px solid #eee; }
.ir-side-menu ul li:last-child { border-bottom: none; }
.ir-side-menu ul li a { display: block; padding: 6px 10px; color: var(--site-link); }
.ir-side-menu ul li a:hover { text-decoration: underline; }
.menu-heading { display: block; background: #003366; padding: 6px 10px; font-weight: bold; color: #fff; }
.menu-parent  { display: block; padding: 6px 10px; font-weight: bold; color: var(--site-text); }
.menu-toggle-btn {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 6px 10px;
  background: none; border: none; cursor: pointer;
  font: inherit; font-weight: bold; color: var(--site-text);
  text-align: left;
}
.menu-toggle-btn .toggle-icon { font-size: 12px; transition: transform 0.2s; }
.menu-toggle-btn[aria-expanded="true"] .toggle-icon { transform: rotate(45deg); }
.menu-toggle-body { display: none; padding-left: 8px; }
.menu-toggle-body.open { display: block; border: 0px; }
.menu-toggle-body li { border: none; }
.menu-toggle-body li a { font-size: 12px; padding: 4px 10px; }
.menu-toggle-nolink { display: block; font-size: 12px; padding: 4px 10px; color: var(--site-text); }
.ir-main-content { flex: 1; min-width: 0; }

/* ===== IR News filter ===== */
.irnews-filter { margin-bottom: 16px; }
.irnews-select { font-size: 12px; padding: 6px 10px; border: 1px solid #ccc; border-radius: 2px; }
.irnews-cat-btns { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 24px; }
.irnews-cat-btn {
  padding: 8px 20px; font-size: 13px; cursor: pointer;
  background: #fff; border: 1px solid #ccc; border-right: none;
  font-family: inherit; transition: background 0.15s, color 0.15s;
}
.irnews-cat-btns .irnews-cat-btn:last-child { border-right: 1px solid #ccc; }
.irnews-cat-btn.active { background: #555; color: #fff; border-color: #555; }
.irnews-cat-btn.cat-tekiji  { color: #0097a7; border-color: #0097a7; }
.irnews-cat-btn.cat-tekiji.active  { background: #0097a7; color: #fff; }
.irnews-cat-btn.cat-kessan  { color: #e64a19; border-color: #e64a19; }
.irnews-cat-btn.cat-kessan.active  { background: #e64a19; color: #fff; }
.irnews-cat-btn.cat-houtei  { color: #388e3c; border-color: #388e3c; }
.irnews-cat-btn.cat-houtei.active  { background: #388e3c; color: #fff; }
.irnews-cat-btn.cat-ir      { color: #f57c00; border-color: #f57c00; }
.irnews-cat-btn.cat-ir.active      { background: #f57c00; color: #fff; }
.irnews-cat-btn.cat-oshirase { color: #f9a825; border-color: #f9a825; }
.irnews-cat-btn.cat-oshirase.active { background: #f9a825; color: #fff; }
@media (max-width: 480px) {
  .irnews-cat-btn { padding: 7px 12px; font-size: 12px; }
}

/* ===== FAQ ===== */
.faq-list { margin: 0; }
.faq-list dt {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: #f0f4f8;
  font-weight: bold;
  font-size: 14px;
  color: var(--site-navy);
  margin-bottom: 1px;
  cursor: default;
}
.faq-list dt::before {
  content: "Q";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  font-weight: 900;
  color: var(--site-blue);
}
.faq-list dd {
  padding: 14px 16px 14px 44px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 14px;
  line-height: 1.8;
  margin: 0 0 16px;
  position: relative;
}
.faq-list dd::before {
  content: "A";
  position: absolute;
  left: 14px;
  top: 14px;
  font-size: 16px;
  font-weight: 900;
  color: #c0392b;
}

/* ===== Executive profiles ===== */
.exec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 8px; }
.exec-card { border: 1px solid #dde4ee; border-radius: 4px; padding: 16px 20px; }
.exec-title { font-size: 12px; color: #555; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.exec-outside { background: var(--site-navy); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 2px; white-space: nowrap; }
.exec-name { font-size: 18px; font-weight: bold; color: var(--site-navy); margin-bottom: 12px; }
.exec-career { list-style: none; font-size: 12px; }
.exec-career li { display: flex; gap: 12px; padding: 4px 0; border-bottom: 1px solid #f0f0f0; line-height: 1.5; }
.exec-career li:last-child { border-bottom: none; }
.exec-career li span { white-space: nowrap; color: #666; flex-shrink: 0; }
@media (max-width: 768px) {
  .exec-grid { grid-template-columns: 1fr; }
}

/* ===== Top message ===== */
.message-hero { margin-bottom: 40px; }
.message-hero-img { width: 100%; height: auto; display: block; }
.message-signature { margin-top: 32px; text-align: right; }
.message-date { font-size: 13px; color: #555; margin-bottom: 6px; }
.message-name-line { font-size: 24px; font-weight: bold; color: var(--site-navy); }
.message-position { font-size: 12px; color: #555; vertical-align: middle; margin-right: 8px; }

/* ===== Shareholders section ===== */
.stock-chart-wrap { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 24px; }
.stock-chart-wrap .stock-table-area { flex: 1; min-width: 0; overflow-x: auto; }
.stock-chart-wrap .pie-area { width: 220px; flex-shrink: 0; }

.shareholders-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.shareholders-table th {
  background: #e8eef5; color: var(--site-navy);
  padding: 6px 10px; border: 1px solid #ccc; text-align: left; font-size: 11px;
}
.shareholders-table td { padding: 6px 10px; border: 1px solid #ccc; }
.shareholders-table tr:nth-child(even) td { background: #f9f9f9; }
.shareholders-table .total-row td { font-weight: bold; background: #e8eef5; }
.shareholders-note { font-size: 11px; color: #666; margin-top: 6px; }

/* Pie chart (conic-gradient) */
.pie-chart-wrap { text-align: center; }
.pie-donut {
  width: 160px; height: 160px; border-radius: 50%;
  margin: 0 auto 12px;
  background: conic-gradient(
    #003366 0%      28.5%,
    #0066cc 28.5%   52.8%,
    #5599cc 52.8%   84.0%,
    #27ae60 84.0%   94.8%,
    #e67e22 94.8%   100%
  );
}
.pie-legend { list-style: none; font-size: 11px; text-align: left; display: inline-block; }
#ownership-pie {
  width: 220px;
  max-width: 100%;
  text-align: center;
}
#ownership-pie p { text-align: center !important; }
.pie-legend li { display: flex; align-items: center; gap: 6px; margin-bottom: 5px; }
.pie-legend .l-color { width: 12px; height: 12px; border-radius: 2px; flex-shrink: 0; }

/* ===== Responsive: Tablet (≤1024px) ===== */
@media (max-width: 1024px) {
  .chart-6col { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Responsive: Mobile (≤768px) ===== */
@media (max-width: 768px) {
  .ifc-scroll { display: none; }
  .ifc-sp { display: block; }
  /* Hamburger */
  .hamburger { display: flex; }
  #gnav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--site-navy); flex-direction: column; gap: 0;
    padding: 8px 0; z-index: 200; box-shadow: 0 4px 12px rgba(0,0,0,.4);
  }
  #gnav.is-open { display: flex; }
  #gnav li a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
  #site-header .header-inner { flex-wrap: nowrap; }

  /* Content */
  .ir-content { padding: 20px 16px 40px; }
  .ir-hero .ir-en { font-size: 22px; }

  /* Grids */
  .ir-top-layout { flex-direction: column; gap: 20px; }
  .ir-side-menu  { width: 100%; }
  .ir-main-content { width: 100%; }
  .two-col   { grid-template-columns: 1fr; gap: 16px; }

  /* SP Collapsibles */
  .sp-coll-btn::after {
    content: ""; position: absolute; right: 8px; top: 50%;
    width: 6px; height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s;
  }
  .sp-coll-btn[aria-expanded="true"]::after {
    transform: translateY(-35%) rotate(225deg);
  }
  .sp-coll-body { display: none; }
  .sp-coll-body.open { display: block; }
  .box .sp-coll-btn.box-title { margin-bottom: 0; }
  .box .sp-coll-body.open { margin-top: 12px; }
  .chart-6col { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  /* Stock */
  .stock-chart-wrap { flex-direction: column; }
  .stock-chart-wrap .pie-area { width: 100%; }

  /* Download-list tables: card layout */
  .ir-table--dl thead { display: none; }
  .ir-table--dl,
  .ir-table--dl tbody { display: block; }
  .ir-table--dl tr {
    display: block;
    position: relative;
    border: 1px solid #dde4ee;
    border-radius: 4px;
    margin-bottom: 8px;
    padding: 10px 48px 10px 12px;
  }
  .ir-table--dl tr:last-child { margin-bottom: 0; }
  .ir-table--dl td {
    display: block;
    border: none !important;
    padding: 2px 0;
    text-align: left !important;
  }
  .ir-table--dl td:first-child { font-size: 11px; color: #666; }
  .ir-table--dl td:last-child {
    position: absolute;
    top: 50%; right: 12px;
    transform: translateY(-50%);
    width: auto; padding: 0;
  }
  /* 4-col (notice): date & category on same line */
  .ir-table--4col.ir-table--dl td:nth-child(1),
  .ir-table--4col.ir-table--dl td:nth-child(2) {
    display: inline;
    font-size: 11px; color: #666;
  }
  .ir-table--4col.ir-table--dl td:nth-child(2)::before { content: "\00a0\00a0"; }
  .ir-table--4col.ir-table--dl td:nth-child(3) {
    display: block;
    font-size: 13px;
    margin-top: 4px;
  }
  .ir-table--4col.ir-table--dl td:nth-child(4) {
    top: 50%; transform: translateY(-50%);
  }

  /* Footer */
  #site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Responsive: Small mobile (≤480px) ===== */
@media (max-width: 480px) {
  .ir-hero .ir-en { font-size: 18px; }
  .chart-6col { grid-template-columns: 1fr; }
  #site-footer .footer-grid { grid-template-columns: 1fr; }
  .tab-btn { padding: 8px 14px; font-size: 12px; }
  .anchor-nav a { font-size: 11px; padding: 5px 12px; }
  .three-col { flex-direction: column; gap: 12px; }
  .three-col .more-btn { flex: none; width: 100%; }
  .ir-hero .hero-img {height: 200px !important;}
}


/*260708-14 mp追記*/
#site-header .logo {background-image: url(../../assets/img/logo.png);background-size: cover;font-size: 0;width:160px;height: 32px;}
#site-header .logo span.sub {font-size: 0;}
.ir-hero .hero-img {background-image: url(../../assets/img/ir_background.png);background-size: cover;font-size: 0;background-repeat: no-repeat;height:400px;    background-position-y: bottom;}
@media (min-width: 769px) {
  .ir-side-menu {position: sticky;top: 20px;align-self: flex-start;}
}
.video-item {position: relative;width: 100%;height: auto;aspect-ratio: 16 / 9;padding: 0;overflow: hidden;}
.video-item iframe {width: 100%;height: 120px;;border: 0;display: block;}
.video-item .v-title {font-size: 12px;color: #333;margin-top: 8px;}
.libraryTopBox ul {display: flex;flex-wrap: wrap;justify-content: space-between;}
.libraryTopBox li {width:48%}
.libraryTopBox .box ul li:last-child {border-bottom: 1px solid #eee;}

@media (min-width: 769px) {
  .ir-side-menu > .sp-coll-body > li {transition: background-color 0.2s ease;}
  .ir-side-menu > .sp-coll-body > li.is-current {background-color: #e8eef5;}
  .ir-side-menu > .sp-coll-body > li.is-current > a,
  .ir-side-menu > .sp-coll-body > li.is-current > .menu-toggle-btn {color: #003366;}
  .ir-side-menu > .sp-coll-body > li.is-current > .menu-toggle-btn {background-color: #e8eef5;}
}

#indexBox01 .box:first-child button.sp-coll-btn.box-title:before {content: "";background-color: #ECF1F6;width: 40px;height: 40px;display: inline-block;border-radius: 63%;vertical-align: middle;margin-right: 15px;    background-image: url(../../assets/img/topicon01.svg);background-size: 83%;background-repeat: no-repeat;background-position: center center;}
#indexBox01 .box:nth-child(2) button.sp-coll-btn.box-title:before {content: "";background-color: #ECF1F6;width: 40px;height: 40px;display: inline-block;border-radius: 63%;vertical-align: middle;margin-right: 15px;    background-image: url(../../assets/img/topicon02.svg);background-size: 83%;background-repeat: no-repeat;background-position: center center;}
#indexBox03 .box:nth-child(1) .box-title:before {content: "";background-color: #ECF1F6;width: 40px;height: 40px;display: inline-block;border-radius: 63%;vertical-align: middle;margin-right: 15px;    background-image: url(../../assets/img/topicon03.svg);background-size: 83%;background-repeat: no-repeat;background-position: center center;}
#indexBox03 .box:nth-child(2) .box-title:before {content: "";background-color: #ECF1F6;width: 40px;height: 40px;display: inline-block;border-radius: 63%;vertical-align: middle;margin-right: 15px;    background-image: url(../../assets/img/topicon04.svg);background-size: 83%;background-repeat: no-repeat;background-position: center center;}

.more-btn::after {content: "";display: inline-block;flex-shrink: 0;width: 7px;height: 7px;border-right: 2px solid;border-top: 2px solid;transform: rotate(45deg) translateY(-1px);position:absolute;top:13px;right: 10px;}
.two-col .more-btn::after {border-right: 1px solid;border-top: 1px solid;top:12px;right: 10px;}
.more-btn.btn-list::after {top:20px;right: 10px;}


.irp-library-quarter-category .ir-table th, .irp-library-quarter-category .ir-table th {background:#003366;color: #fff;border: 1px solid #003366;}


/*260723 mp追記　株主優待*/

/* 既存サイトの .products / .product-card 等との競合を避けるため、
   すべて sb- プレフィックスで統一しています。 */

.sb-page,
.sb-page * {
  box-sizing: border-box;
}

.sb-page {
  --sb-wine: #850027;
  --sb-wine-dark: #650019;
  --sb-gold: #c9a64b;
  --sb-line: #ded3bb;
  --sb-text: #3f3434;
  color: var(--sb-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

.sb-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sb-page figure,
.sb-page h1,
.sb-page h2,
.sb-page p {
  margin: 0;
}

.sb-page__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  background: #fff;
  border: 1px solid #c8c8c8;
}

.sb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.sb-title {
  color: var(--sb-wine);
  font-family: serif;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.25;
  letter-spacing: .06em;
}

.sb-title__line {
  display: block;
  width: 78px;
  height: 4px;
  margin: 24px 0 22px;
  background: var(--sb-wine);
}

.sb-hero__copy p + p {
  margin-top: 12px;
}

.sb-hero__image {
  overflow: hidden;
  /* aspect-ratio: 1.72 / 1; */
  background: #f4ece8;
}

.sb-hero__image img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.sb-gift {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(38px, 6vw, 68px);
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--sb-line);
  border-radius: 14px;
  background: #fffdf9;
}

.sb-gift__badge {
  display: grid;
  place-content: center;
  width: 150px;
  aspect-ratio: 1;
  color: #f5d98b;
  text-align: center;
  border: 3px solid #f1d77f;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #9f2347 0, var(--sb-wine) 46%, var(--sb-wine-dark) 100%);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.12), 0 6px 14px rgba(65,0,18,.18);
}

.sb-gift__badge > span {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.sb-gift__badge strong {
  color: #fff5d5;
  font-family: serif;
  font-size: 68px;
  font-style: normal;
  line-height: 1;
}

.sb-gift__badge em {
  font-size: .45em;
  font-style: normal;
}

.sb-gift__content {
  min-width: 0;
}

.sb-gift__copy h2 {
  color: var(--sb-wine);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.45;
  overflow-wrap: normal;
  word-break: keep-all;
}

.sb-gift__copy p {
  margin-top: 14px;
}

.sb-products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: end;
  gap: 20px;
  width: 100%;
  margin-top: 28px;
}

.sb-product {
  display: block !important;
  min-width: 0;
  width: auto !important;
  text-align: center;
}

.sb-product__image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 180px;
}

.sb-product__image img {
  width: auto !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: contain;
}

.sb-product figcaption {
  display: block !important;
  width: 100% !important;
  margin-top: 12px;
}

.sb-product figcaption > span {
  display: block;
  width: 100%;
  padding: 4px 6px;
  color: #fff;
  background: var(--sb-wine);
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.sb-product figcaption small {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

.sb-details {
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--sb-line);
  border-radius: 14px;
  background: #fff;
}

.sb-section {
  padding: clamp(22px, 4vw, 34px);
}

.sb-section + .sb-section {
  border-top: 1px solid var(--sb-line);
}

.sb-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--sb-wine);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.5;
}

.sb-heading__icon {
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--sb-wine);
  border-radius: 50%;
  font-size: 10px;
}

.sb-section__text,
.sb-usage,
.sb-note {
  margin-left: 62px !important;
}

.sb-section__text {
  margin-top: 18px !important;
}

.sb-gift-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  margin-top: 22px;
}

/* PCではテーブルを横スクロールさせない */
.sb-table-wrap {
  overflow-x: visible;
}

.sb-table {
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
}

.sb-table th,
.sb-table td {
  padding: 16px 14px;
  border: 1px solid var(--sb-line);
}

.sb-table thead th {
  color: #fff;
  background: var(--sb-wine);
}

.sb-table strong {
  color: var(--sb-wine);
}

.sb-total {
  display: grid;
  place-content: center;
  min-height: 220px;
  padding: 22px;
  color: var(--sb-wine);
  text-align: center;
  border: 1px solid var(--sb-line);
  border-radius: 12px;
}

.sb-total > span {
  font-size: 20px;
  font-weight: 700;
}

.sb-total strong {
  font-family: serif;
  font-size: 78px;
  line-height: 1.05;
}

.sb-total em {
  font-size: .42em;
  font-style: normal;
}

.sb-total b {
  font-size: 18px;
}

.sb-usage {
  margin-top: 18px !important;
  padding-left: 1.2em;
}

.sb-note {
  margin-top: 4px !important;
}

.sb-footnote {
  margin-top: 14px !important;
  font-size: 13px;
}

/* 960px以下では、優待説明を縦積みにして横幅不足を回避 */
@media (max-width: 960px) {
  .sb-hero {
    grid-template-columns: 1fr;
  }

  .sb-hero__image {
    width: min(680px, 100%);
  }

  .sb-gift {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .sb-gift__content {
    width: 100%;
  }

  .sb-gift__copy {
    text-align: center;
  }

  .sb-products {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
  }

  .sb-gift-detail {
    grid-template-columns: 1fr;
  }

  .sb-total {
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .sb-page__inner {
    padding: 28px 18px 34px;
    border: 0;
  }

  .sb-products {
    gap: 8px;
  }

  .sb-product__image {
    height: 130px;
  }

  .sb-product figcaption > span {
    font-size: 13px;
  }

  .sb-product figcaption small {
    font-size: 10px;
    white-space: normal;
  }

  .sb-section {
    padding: 22px 16px;
  }

  .sb-heading {
    align-items: flex-start;
  }

  .sb-heading__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .sb-section__text,
  .sb-usage,
  .sb-note {
    margin-left: 0 !important;
  }
}

@media (max-width: 420px) {
  .sb-products {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .sb-product {
    display: grid !important;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    text-align: left;
  }

  .sb-product__image {
    height: 110px;
  }

  .sb-product figcaption {
    margin-top: 0;
  }
}

/*ヘッダ　スクロール制御*/
.ir-pagenav {
  width: 100%;
}

.ir-pagenav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  transform: translateY(-100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.6s cubic-bezier(.16, 1, .3, 1),
    box-shadow 0.3s ease;
}

.ir-pagenav.is-fixed.is-show {
  transform: translateY(0);
}

/*トップへ戻る*/
#page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: 52px;
  height: 52px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #003b7a;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;

  box-shadow: 0 4px 12px rgba(0,0,0,.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  transition: all .3s ease;

  z-index: 9998;
}

#page-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#page-top:hover {
  transform: translateY(-3px);
}