/* ============================================================
   鈴花　DXの取り組み　共通スタイルシート
   ------------------------------------------------------------
   対象ページ:
     index.html            … 一覧（トップ）
     dx-declaration.html   … 01 DX推進の宣言
     dx-organization.html  … 02 推進体制
     dx-efforts.html       … 03 具体的な取り組み内容
     dx-kpi.html           … 04 目標・指標
     dx-news.html          … 05 お知らせ
   ============================================================ */

/* ---- 変数・ベース ---- */
:root {
  --navy: #12213f;
  --navy-deep: #0b1730;
  --gold: #b79a5b;
  --gold-text: #8a6d33;     /* 白背景上でも読めるコントラストの濃ゴールド */
  --text-light: #f5f4f0;
  --text-muted: #c9cede;
  --card-bg: #182a4d;
  --max-width: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "游明朝", serif;
  background: #fdfcfa;
  color: #22242b;
  line-height: 1.85;
}

a { color: inherit; text-decoration: none; }

/* ---- ヒーロー ---- */
header.hero {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: var(--text-light);
  padding: 56px 24px 40px;
  text-align: center;
  position: relative;
}

header.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
}

.eyebrow {
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 18px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

header.hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* トップページ用の大きめヒーロー */
header.hero--home {
  padding: 72px 24px 88px;
}

header.hero--home h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 14px;
}

header.hero--home p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ---- ナビゲーション ---- */
nav.breadcrumb {
  max-width: var(--max-width);
  margin: 20px auto 0;
  padding: 0 24px;
  font-size: 0.8rem;
  color: #5b6270;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

nav.subnav {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

nav.subnav a {
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #d8d3c6;
  color: #55585f;
  letter-spacing: 0.03em;
}

nav.subnav a.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--text-light);
}

/* ---- レイアウト共通 ---- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 100px;
}

section.block {
  margin-top: 40px;
}

.block-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e1ddd3;
  padding-bottom: 16px;
}

.block-heading .num {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--gold-text);
  letter-spacing: 0.1em;
}

.block-heading h2 {
  font-size: 1.35rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.placeholder {
  background: #fbf3e8;
  border-left: 3px solid var(--gold);
  padding: 12px 18px;
  font-size: 0.85rem;
  color: #7a6438;
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 14px 0 28px;
}

.page-nav {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.page-nav a {
  font-size: 0.85rem;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 10px 28px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* ---- 一覧（トップ）: カードグリッド ---- */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.hub-card {
  display: block;
  background: var(--card-bg);
  color: var(--text-light);
  border-radius: 6px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.15s ease;
}

.hub-card:hover {
  transform: translateY(-4px);
}

.hub-card .num {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.hub-card h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 600;
}

.hub-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hub-card .arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  color: var(--gold);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1rem;
}

/* ---- 01 DX推進の宣言 ---- */
.message-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin: 0 0 20px;
}

.statement-card {
  background: var(--navy);
  color: var(--text-light);
  border-radius: 6px;
  padding: 40px;
}

.statement-card p {
  color: var(--text-muted);
  margin: 0 0 16px;
}

.statement-card p:last-child { margin-bottom: 0; }

.statement-card p.vision-title {
  font-size: 1.25rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(245, 244, 240, 0.2);
}

.signature {
  margin-top: 24px;
  text-align: right;
  font-size: 0.9rem;
  color: var(--gold);
}

.strategy-heading {
  margin-top: 48px;
}

.strategy-lead {
  font-size: 0.98rem;
  color: #33363d;
  margin: 0 0 24px;
}

.strategy-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.strategy-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #e6e2d8;
  border-radius: 6px;
  padding: 24px 28px;
}

.strategy-item .strategy-no {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.strategy-item h3 {
  margin: 4px 0 8px;
  font-size: 1.08rem;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.strategy-item p {
  margin: 0;
  font-size: 0.92rem;
  color: #55585f;
}

/* ---- 02 推進体制 ---- */
.org-lead {
  font-size: 0.98rem;
  color: #44474e;
  margin: 0 0 44px;
}

.org-lead strong {
  color: var(--navy);
}

.section-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin: 56px 0 20px;
  letter-spacing: 0.03em;
}

.hr-list {
  margin: 0;
  padding-left: 1.2em;
}

.hr-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #33363d;
}

.hr-list li:last-child {
  margin-bottom: 0;
}

.hr-list li::marker {
  color: var(--gold);
}

.section-text {
  font-size: 0.95rem;
  color: #33363d;
  margin: 0;
}

.section-text a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.org-figure {
  margin: 0;
}

.org-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ---- 03 具体的な取り組み内容 ---- */
.theme-lead {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f6f3ec;
  border-radius: 6px;
  padding: 28px 32px;
  margin-bottom: 32px;
}

.theme-lead--next {
  margin-top: 56px;
}

.theme-lead .theme-no {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.theme-lead h3 {
  margin: 4px 0 10px;
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: 0.03em;
}

.theme-lead p {
  margin: 0;
  font-size: 0.9rem;
  color: #55585f;
}

.initiative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.initiative-card {
  background: var(--card-bg);
  color: var(--text-light);
  border-radius: 6px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.initiative-card .tag {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.initiative-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.initiative-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.initiative-card ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.initiative-card li {
  margin-bottom: 8px;
}

.initiative-card li:last-child {
  margin-bottom: 0;
}

.initiative-card li::marker {
  color: var(--gold);
}

/* ---- 04 目標・指標 ---- */
.kpi-lead {
  font-size: 0.95rem;
  color: #44474e;
  margin: 0 0 28px;
}

table.kpi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table.kpi-table th,
table.kpi-table td {
  border: 1px solid #e1ddd3;
  padding: 14px 16px;
  text-align: left;
}

table.kpi-table th {
  background: var(--navy);
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.85rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.03em;
}

table.kpi-table tr:nth-child(even) td {
  background: #faf8f4;
}

/* ---- 05 お知らせ ---- */
.news-article {
  background: #fff;
  border: 1px solid #e6e2d8;
  border-radius: 8px;
  padding: 32px 36px;
  margin-bottom: 40px;
}

.news-article .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.news-article .date {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: #5b6270;
  letter-spacing: 0.04em;
}

.news-article .cat {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 3px 12px;
  border-radius: 999px;
}

.news-article h3 {
  margin: 0 0 20px;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.news-article p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: #33363d;
}

.news-article p:last-child { margin-bottom: 0; }

.sec-logo {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #eceae2;
  text-align: center;
}

.sec-logo img {
  width: 150px;
  max-width: 100%;
  height: auto;
}

.sub-heading {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
  margin: 0 0 20px;
}

.news-list {
  border-top: 1px solid #e1ddd3;
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 22px 4px;
  border-bottom: 1px solid #e1ddd3;
}

.news-item .date {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: #5b6270;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.news-item .cat {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--navy-deep);
  background: var(--gold);
  padding: 3px 12px;
  border-radius: 999px;
  flex-shrink: 0;
}

.news-item .title {
  font-size: 0.98rem;
  color: #22242b;
  flex: 1 1 260px;
}

/* ---- アクセシビリティ ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: var(--text-light);
  padding: 10px 20px;
  z-index: 100;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
}

.skip-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

a {
  transition: background-color 0.15s ease, color 0.15s ease;
}

nav.breadcrumb a:hover,
nav.breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

nav.subnav a:hover {
  background: #edeae1;
}

.page-nav a:hover,
.back-link a:hover {
  background: var(--navy);
  color: var(--text-light);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  .hub-card:hover {
    transform: none;
  }
}

/* ---- レスポンシブ ---- */
@media (max-width: 600px) {
  header.hero { padding: 44px 20px 32px; }
  header.hero--home { padding: 56px 20px 64px; }
  .statement-card { padding: 28px; }
  .strategy-item { padding: 20px; }
}
