:root {
  --ys-red: #c9142f;
  --ys-red-dark: #a70f25;
  --ys-ink: #1f2933;
  --ys-muted: #5b6673;
  --ys-line: #d9dee6;
  --ys-bg: #f6f7f9;
  --ys-soft: #fff5f6;
  --ys-white: #ffffff;
  --ys-focus: rgba(201, 20, 47, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ys-ink);
  background: var(--ys-white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

a {
  color: var(--ys-red-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ys-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-header {
  border-top: 5px solid var(--ys-red);
  border-bottom: 1px solid var(--ys-line);
  background: var(--ys-white);
}

.header-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: block;
  color: var(--ys-ink);
  text-decoration: none;
}

.brand-main {
  display: block;
  font-size: clamp(1.16rem, 2.2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  color: var(--ys-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.92rem;
}

.nav a {
  color: var(--ys-ink);
  text-decoration: none;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ys-red-dark);
  border-bottom-color: var(--ys-red);
}

.main {
  background: var(--ys-white);
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: clamp(48px, 8vw, 82px) 0 clamp(34px, 6vw, 54px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ys-red-dark);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--ys-red);
}

.hero h1 {
  margin: 16px 0 18px;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1.22;
  letter-spacing: 0.03em;
}

.hero-lead {
  max-width: 780px;
  margin: 0;
  color: var(--ys-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid var(--ys-red);
  background: var(--ys-red);
  color: var(--ys-white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
}

.button.secondary {
  background: var(--ys-white);
  color: var(--ys-red-dark);
}

.section {
  padding: clamp(34px, 6vw, 58px) 0;
}

.panel {
  background: var(--ys-white);
  border: 1px solid var(--ys-line);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(31, 41, 51, 0.06);
  overflow: hidden;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--ys-muted);
}

h2 {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.4;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.24em;
  width: 5px;
  height: 1.35em;
  background: var(--ys-red);
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
}

.overview-table th,
.overview-table td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--ys-line);
  vertical-align: top;
  text-align: left;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
  border-bottom: 0;
}

.overview-table th {
  width: 220px;
  background: #fafbfc;
  font-weight: 700;
  color: #333b45;
}

.business-list {
  margin: 0;
  padding: 6px 24px 24px 48px;
}

.business-list li {
  padding: 9px 0;
  border-bottom: 1px solid var(--ys-line);
}

.business-list li:last-child {
  border-bottom: 0;
}

.notice {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--ys-red);
  background: var(--ys-soft);
  color: #5d1722;
}

.ir-list {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.ir-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--ys-line);
  border-radius: 8px;
  background: var(--ys-white);
}

.ir-title {
  margin: 0;
  font-weight: 700;
}

.ir-meta {
  margin: 3px 0 0;
  color: var(--ys-muted);
  font-size: 0.92rem;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--ys-red);
  border-radius: 4px;
  color: var(--ys-red-dark);
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ys-line);
}

.contact-card {
  padding: 22px;
  border-right: 1px solid var(--ys-line);
}

.contact-card:last-child {
  border-right: 0;
}

.contact-label {
  margin: 0 0 6px;
  color: var(--ys-muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-value {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
}

.contact-value small {
  display: block;
  margin-top: 3px;
  color: var(--ys-muted);
  font-size: 0.86rem;
  font-weight: 400;
}

.footer {
  padding: 28px 0;
  border-top: 1px solid var(--ys-line);
  background: #2b3036;
  color: #e8edf2;
}

.footer-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.footer a {
  color: #ffffff;
}

@media (max-width: 760px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0 14px;
  }

  .nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .overview-table,
  .overview-table tbody,
  .overview-table tr,
  .overview-table th,
  .overview-table td {
    display: block;
    width: 100%;
  }

  .overview-table th {
    padding-bottom: 6px;
    border-bottom: 0;
  }

  .overview-table td {
    padding-top: 0;
  }

  .business-list {
    padding-left: 36px;
  }

  .ir-item {
    grid-template-columns: 1fr;
  }

  .pdf-link {
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    border-right: 0;
    border-bottom: 1px solid var(--ys-line);
  }

  .contact-card:last-child {
    border-bottom: 0;
  }
}

.footer-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-nav a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  border-bottom-color: #ffffff;
}

.news-panel {
  padding: 0;
}

.news-item {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.4rem;
}

.news-item time {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.news-item p {
  margin: 0;
}

/* batch-fix: heading line alignment */
.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 0 !important;
  padding-left: 0 !important;
}

.section-heading h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 1.15em;
  background: var(--accent, #c8102e);
  flex: 0 0 auto;
}

/* hotfix: safe section heading red line */
.section-heading h2 {
  display: block !important;
  position: relative;
  border-left: 6px solid var(--accent, #c8102e) !important;
  padding-left: 0.75rem !important;
  line-height: 1.25;
}

.section-heading h2::before {
  content: none !important;
  display: none !important;
}

/* hotfix: compact news section */
.news-panel {
  padding: 0 !important;
}

.news-item {
  display: grid !important;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.05rem 1.25rem !important;
}

.news-item time {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.news-body {
  display: grid;
  gap: 0.25rem;
}

.news-title {
  margin: 0 !important;
  font-weight: 700;
  color: var(--text);
}

.news-body p {
  margin: 0;
}

@media (max-width: 640px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* hotfix: balanced news card spacing */
.news-panel {
  padding: 0 !important;
}

.news-item {
  display: grid !important;
  grid-template-columns: 8.5rem minmax(0, 1fr) !important;
  gap: 1.25rem !important;
  align-items: start !important;
  padding: 1rem 1.6rem 1rem 1.6rem !important;
  min-height: 0 !important;
}

.news-item time {
  line-height: 1.55 !important;
  font-weight: 700 !important;
  color: var(--muted) !important;
}

.news-body {
  display: grid !important;
  gap: 0.25rem !important;
}

.news-title {
  margin: 0 !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
  color: var(--text) !important;
}

.news-body p {
  margin: 0 !important;
  line-height: 1.6 !important;
}

@media (max-width: 640px) {
  .news-item {
    grid-template-columns: 1fr !important;
    gap: 0.35rem !important;
    padding: 0.95rem 1.1rem !important;
  }
}
