/* ==========================================================================
   about.php 固有スタイル（about-custom.css）
   ========================================================================== */

/* --------------------------------------------------------------------------
   ページヒーロー：写真背景オーバーライド
   -------------------------------------------------------------------------- */
[data-page="about"] .haneji-page-hero {
  background:
    linear-gradient(135deg, rgba(47,69,40,.8) 0%, rgba(30,50,25,.7) 100%),
    url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/27945/3.jpg') center/cover;
  padding: 140px 24px 100px;
}
[data-page="about"] .haneji-page-hero::before { display: none; }
[data-page="about"] .haneji-page-hero__en { color: var(--sub); }
[data-page="about"] .haneji-page-hero__ja { font-size: clamp(3rem, 5vw, 4.8rem); }

@media (max-width: 639px) {
  [data-page="about"] .haneji-page-hero { padding: 100px 24px 70px; }
}

/* --------------------------------------------------------------------------
   共通：セクション見出し（aboutページスコープ）
   -------------------------------------------------------------------------- */
[data-page="about"] .section-head {
  text-align: center; margin-bottom: 50px;
}
[data-page="about"] .section-head .en {
  font-family: var(--font-en); color: var(--accent-deep);
  letter-spacing: .3em; font-size: 1.2rem; font-weight: 600;
  display: block; margin-bottom: 12px;
}
[data-page="about"] .section-head h2 {
  font-size: 3.2rem; font-weight: 700;
  letter-spacing: .06em; color: var(--ink); margin: 0;
}
[data-page="about"] .section-head h2::after {
  content: ""; display: block; width: 40px; height: 3px;
  background: var(--sub); border-radius: 2px; margin: 16px auto 0;
}
[data-page="about"] .section-head .sub {
  font-size: 1.45rem; color: var(--ink-soft); margin-top: 16px;
}

/* --------------------------------------------------------------------------
   組織概要
   -------------------------------------------------------------------------- */
.about-overview { padding: 100px 24px; }

.about-overview__table {
  width: 100%; max-width: 800px; margin: 0 auto;
  border-collapse: collapse; font-size: 1.5rem;
  background: #fff;
  box-shadow: 0 4px 20px rgba(30,60,30,.06);
  border-radius: 12px; overflow: hidden;
}
.about-overview__table tr {
  border-bottom: 1px solid var(--line);
}
.about-overview__table tr:last-child { border-bottom: none; }
.about-overview__table th {
  width: 160px; padding: 18px 24px;
  background: var(--bg-soft); font-weight: 600;
  color: var(--ink); vertical-align: top;
  white-space: nowrap; border-right: 1px solid var(--line);
}
.about-overview__table td {
  padding: 18px 24px; color: var(--ink-soft); line-height: 1.8;
}

@media (max-width: 600px) {
  .about-overview { padding: 70px 16px; }
  .about-overview__table th { width: 90px; padding: 12px 14px; font-size: 1.3rem; }
  .about-overview__table td { padding: 12px 14px; font-size: 1.3rem; }
}

/* --------------------------------------------------------------------------
   決算関連書類
   -------------------------------------------------------------------------- */
.about-docs { padding: 100px 24px; background: var(--bg-soft); }

.about-docs__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 960px; margin: 0 auto;
}
.about-docs__item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; background: #fff; border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.about-docs__item:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(79,176,212,.15);
  transform: translateX(3px); opacity: 1;
}
.about-docs__icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-soft); display: grid; place-items: center;
  color: var(--accent-deep); flex-shrink: 0;
}
.about-docs__icon svg { width: 22px; height: 22px; }
.about-docs__meta { flex: 1; }
.about-docs__name { font-weight: 600; font-size: 1.5rem; margin-bottom: 2px; }
.about-docs__sub  { font-size: 1.2rem; color: var(--ink-mute); }
.about-docs__dl   {
  font-size: 1.2rem; color: var(--accent-deep);
  font-family: var(--font-en); letter-spacing: .1em; white-space: nowrap;
}

@media (max-width: 700px) {
  .about-docs { padding: 70px 16px; }
  .about-docs__grid { grid-template-columns: 1fr; }
  .about-docs__item { flex-wrap: wrap; }
  .about-docs__dl { width: 100%; text-align: right; padding-top: 8px; border-top: 1px dashed var(--line); }
}

/* --------------------------------------------------------------------------
   組織図
   -------------------------------------------------------------------------- */
.about-org { padding: 100px 24px; }
.about-org__inner { max-width: 800px; }

.about-org__chart {
  background: #fff; border-radius: 16px; padding: 48px 40px 60px;
  box-shadow: 0 4px 20px rgba(30,60,30,.08);
  display: flex; flex-direction: column; align-items: center;
}

/* ノード共通 */
.org-node {
  border-radius: 6px; padding: 14px 28px;
  font-weight: 700; font-size: 1.8rem;
  text-align: center; min-width: 130px; white-space: nowrap;
}
.org-node--green { background: #3da53d; color: #fff; }

.org-node-wrap { position: relative; display: inline-block; }
.org-badge {
  position: absolute; top: 100%; right: 0; margin-top: 2px;
  background: #1a1a1a; color: #fff;
  font-size: 1.1rem; padding: 2px 8px;
  font-weight: 400; letter-spacing: .02em; white-space: nowrap;
}

/* 縦行（組合員・総代会） */
.org-row { display: flex; justify-content: center; }

/* 縦線コネクタ */
.org-vconn { width: 2px; height: 32px; background: #888; }
.org-vconn--long { height: 130px; }

/* 横列（事務局 / 理事会 / 監事会） */
.org-hrow {
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 28px; /* バッジ分の下余白 */
}
.org-hconn { width: 40px; height: 2px; background: #888; flex-shrink: 0; }

/* 事務局（ポップアップ付き） */
.org-jimusho-wrap { position: relative; display: inline-block; }
.org-popup {
  position: absolute;
  bottom: 100%; left: 0;
  margin-bottom: 10px;
  border: 1.5px solid #444; border-radius: 4px;
  padding: 10px 16px;
  font-size: 1.3rem; line-height: 2.1; text-align: left;
  background: #fff; white-space: nowrap;
}
.org-popup p { margin: 0; }

@media (max-width: 600px) {
  .about-org { padding: 70px 16px; }
  .about-org__chart { padding: 36px 16px 48px; }
  .org-node { font-size: 1.3rem; padding: 10px 14px; min-width: 0; }
  .org-badge { font-size: 1rem; padding: 1px 6px; }
  .org-hconn { width: 16px; }
  .org-vconn--long { height: 100px; }
  .org-popup { font-size: 1.1rem; padding: 8px 12px; line-height: 1.9; }
}

/* --------------------------------------------------------------------------
   歴史
   -------------------------------------------------------------------------- */
.about-history { padding: 100px 24px; background: var(--bg-soft); }
.about-history__body {
  max-width: 760px; margin: 0 auto;
  font-size: 1.6rem; line-height: 2.1;
  color: var(--ink-soft); text-align: left;
}
.about-history__block { margin-bottom: 36px; }
.about-history__block:last-child { margin-bottom: 0; }
.about-history__block p { margin: 0; }
.about-history__sub {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.8rem; font-weight: 700; color: var(--ink);
  margin: 0 0 14px;
}
.about-history__sub::before {
  content: ""; display: block; width: 4px; height: 1.1em;
  background: var(--accent-deep); border-radius: 2px; flex-shrink: 0;
}

@media (max-width: 600px) {
  .about-history { padding: 70px 16px; }
  .about-history__body { font-size: 1.5rem; text-align: left; }
  .about-history__sub { font-size: 1.6rem; }
}

/* --------------------------------------------------------------------------
   理事長挨拶
   -------------------------------------------------------------------------- */
.about-message { padding: 100px 24px; }
.about-message__grid {
  display: grid; grid-template-columns: 1fr 2fr; gap: 50px;
  align-items: start; max-width: 1000px; margin: 0 auto;
}
.about-message__portrait {
  aspect-ratio: 3/4; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(30,60,30,.12);
}
.about-message__portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.about-message__body p {
  font-size: 1.55rem; line-height: 2;
  color: var(--ink-soft); margin-bottom: 18px;
}
.about-message__sign {
  text-align: right; margin-top: 20px;
  font-size: 1.5rem; color: var(--ink-soft);
}
.about-message__sign strong {
  font-size: 2rem; display: block;
  margin-top: 4px; letter-spacing: .1em; color: var(--ink);
}

@media (max-width: 800px) {
  .about-message { padding: 70px 16px; }
  .about-message__grid { grid-template-columns: 1fr; gap: 30px; }
  .about-message__portrait { aspect-ratio: 4/3; }
}

/* --------------------------------------------------------------------------
   沿革
   -------------------------------------------------------------------------- */
.about-chronology { padding: 100px 24px; background: var(--bg-soft); }
.about-chronology__timeline {
  max-width: 760px; margin: 0 auto;
  position: relative; padding-left: 30px;
}
.about-chronology__timeline::before {
  content: ""; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--line);
}
.about-chronology__item {
  position: relative; padding: 0 0 36px 30px;
}
.about-chronology__item::before {
  content: ""; position: absolute; left: -30px; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent);
}
.about-chronology__year {
  font-family: var(--font-en); font-size: 1.6rem;
  font-weight: 700; color: var(--accent-deep); letter-spacing: .06em;
}
.about-chronology__text {
  font-size: 1.5rem; margin-top: 4px;
  color: var(--ink-soft); line-height: 1.9;
}

@media (max-width: 600px) {
  .about-chronology { padding: 70px 16px; }
}

/* --------------------------------------------------------------------------
   お問い合わせ
   -------------------------------------------------------------------------- */
.about-contact { padding: 100px 24px; }
.about-contact__tiles {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 760px; margin: 0 auto 30px;
}
.about-contact__tile {
  background: #fff; border-radius: 14px; padding: 24px 28px;
  box-shadow: 0 4px 20px rgba(30,60,30,.08);
  display: flex; align-items: center; gap: 20px;
}
.about-contact__tile-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--sub) 100%); color: #fff;
}
.about-contact__tile-icon svg { width: 26px; height: 26px; }
.about-contact__tile-lbl  { font-size: 1.2rem; color: var(--ink-mute); letter-spacing: .12em; }
.about-contact__tile-val  {
  font-family: var(--font-en); font-size: 2.2rem; font-weight: 700; letter-spacing: .04em;
}
.about-contact__tile-val a {
  color: inherit; text-decoration: none;
}
.about-contact__tile-val a:hover { opacity: .75; }
.about-contact__tile-sub  { font-size: 1.2rem; color: var(--ink-mute); }

.about-contact__form {
  max-width: 760px; margin: 0 auto;
  background: #fff; border-radius: 16px; padding: 40px;
  box-shadow: 0 4px 20px rgba(30,60,30,.08);
  min-height: 100px;
}

@media (max-width: 700px) {
  .about-contact { padding: 70px 16px; }
  .about-contact__tiles { grid-template-columns: 1fr; }
  .about-contact__form { padding: 24px; }
}

/* --------------------------------------------------------------------------
   お問い合わせフォーム：必須ラベル
   -------------------------------------------------------------------------- */
.form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before {
  background: #2f4528 !important;
}
