/* ==========================================
   IR Page — Mobile first (page-hero は共通のまま)
   ========================================== */

.tai-ir-page {
  overflow: hidden;
  background: #fff;
  color: var(--text-primary);
  font-family: var(--font-ja);
}

.tai-ir-page * {
  box-sizing: border-box;
}

.tai-ir-page .page-hero-bg img {
  height: 200%;
}

.tai-ir-page a {
  color: inherit;
}

/* ----- 左レッドライン（SP） ----- */
.ir-main {
  position: relative;
  border-left: 4px solid var(--primary-red);
  padding-left: 12px;
  padding-bottom: 56px;
}

.ir-breadcrumb-label--pc {
  display: none;
}

.ir-breadcrumb-label--sp {
  display: inline;
}

.ir-main-inner {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.ir-toolbar {
  margin-top: 61px;
  margin-bottom: 18px;
}

.ir-sr-only,
.ir-year-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ir-year-field {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.ir-year-field::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -5px;
  border-right: 1px solid #222;
  border-bottom: 1px solid #222;
  transform: rotate(45deg);
  pointer-events: none;
}

.ir-year-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  padding: 6px 40px 6px 14px;
  min-width: 112px;
  max-width: 100%;
  border-radius: 2px;
  border: none;
  background-color: #F8F2F2;
  cursor: pointer;
}

.ir-year-select:focus {
  outline: 2px solid rgba(197, 0, 24, 0.35);
  outline-offset: 1px;
}

/* ----- Tabs ----- */
.ir-tabs {
  display: grid;
  grid-template-columns: 0.86fr 1.24fr 0.95fr 0.95fr;
  width: 100%;
  margin: 0 0 0;
  padding: 0;
  box-sizing: border-box;
  border: 1px solid var(--primary-red);
  overflow: hidden;
  border-radius: 0;
  gap: 0;
}

.ir-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 3px 4px;
  border: none;
  border-right: 1px solid var(--primary-red);
  background: #fff;
  color: var(--primary-red);
  font-family: var(--font-ja);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ir-tab:last-child {
  border-right: none;
}

.ir-tab--active {
  background: var(--primary-red);
  color: #fff;
}

.ir-tab-txt--pc {
  display: none;
}

.ir-tab-txt--sp {
  display: block;
}

.ir-tab:not(.ir-tab--active):hover {
  background: rgba(197, 0, 24, 0.06);
}

/* ----- Document list ----- */
.ir-doc-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  border-top: 1px solid var(--text-secondary);
}

.ir-doc-item[hidden] {
  display: none !important;
}

.ir-doc-row {
  display: grid;
  grid-template-columns: max-content 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 18px;
  row-gap: 22px;
  padding: 24px 0 23px;
  border-bottom: 1px solid var(--text-secondary);
  align-items: start;
}

.ir-doc-item:last-child .ir-doc-row {
  border-bottom: none;
}

.ir-doc-date {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: normal;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.ir-doc-cat {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-red);
  white-space: nowrap;
}

.tai-ir-page .ir-doc-title-area {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  line-height: 1.55;
}

.tai-ir-page .ir-doc-title {
  display: inline;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.tai-ir-page .ir-doc-title:hover {
  text-decoration: underline;
}

.tai-ir-page .ir-doc-pdf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 0 0 10px;
  padding: 0;
  vertical-align: middle;
  background: transparent;
  color: var(--text-primary) !important;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  line-height: 1.2;
}

.ir-doc-pdf-icon {
  display: block;
  width: 24px;
  height: auto;
}

.tai-ir-page .ir-doc-pdf:hover {
  opacity: 0.92;
}

.ir-doc-pdf-label {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  background: #E5051E;
  color: #fff;
  line-height: 1;
}

.ir-doc-pdf-kb {
  display: none;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0;
}

.ir-doc-pdf--empty {
  display: none;
}
