@charset "utf-8";
/* ============================================================
   社長図鑑（一覧・詳細）
   style.css → pages.css → zukan.css の順で読み込む
   ============================================================ */

:root {
  --purple: #8b5fc4;
}

/* ------------------------------------------------------------
   ページ見出し
   ------------------------------------------------------------ */
.page-hero--zukan .page-hero__inner {
  display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  gap: 30px; align-items: center;
}
.zukan__title { display: flex; align-items: center; gap: 14px; }
.ph--zukan-icon { width: 58px; height: 58px; border: none; background: none; flex: none; }
.ph--zukan-hero { width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); }
.zukan-hero__visual { position: relative; }

/* 吹き出し（questions.css と同じ見た目。単独でも動くよう再定義） */
.zukan-hero__visual .bubble-list { position: absolute; inset: 0; pointer-events: none; }
.zukan-hero__visual .bubble {
  position: absolute; max-width: 44%;
  padding: 10px 14px; border-radius: 20px;
  background: var(--white); border: 3px solid currentColor;
  font-size: 12px; font-weight: 800; line-height: 1.5; text-align: center;
}
.zukan-hero__visual .bubble::after {
  content: ""; position: absolute; bottom: -12px; left: 24px;
  border: 7px solid transparent; border-top-color: currentColor;
}
.zukan-hero__visual .bubble--green  { color: var(--green);  top: 4%;  left: 0; }
.zukan-hero__visual .bubble--pink   { color: #e4699a;       top: 0;   left: 38%; }
.zukan-hero__visual .bubble--blue   { color: var(--blue);   top: 34%; right: 0; }

/* ------------------------------------------------------------
   絞り込み
   ------------------------------------------------------------ */
.filter { padding: 8px 0 26px; }
.filter__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--white); border: 2px solid var(--sky-deep);
  font-size: 13px; font-weight: 800; color: var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.ph--chip-icon { width: 18px; height: 18px; border: none; background: none; }

.search {
  margin-left: auto; position: relative;
  display: flex; align-items: center;
}
.search__input {
  width: 240px; padding: 10px 42px 10px 18px;
  border-radius: 999px; border: 2px solid var(--sky-deep);
  font: inherit; font-size: 13px; background: var(--white);
}
.search__input:focus { outline: none; border-color: var(--blue); }
.search__btn {
  position: absolute; right: 6px;
  width: 32px; height: 32px; border: none; border-radius: 50%;
  background: none; color: var(--blue); font-size: 16px;
  display: grid; place-items: center;
}

/* ------------------------------------------------------------
   一覧カード
   ------------------------------------------------------------ */
.zukan-list { padding: 0 0 44px; }
.zukan-list__inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.zukan-list__result { font-size: 13px; margin-bottom: 16px; }
.zukan-list__result strong { color: var(--blue); font-size: 17px; }

.pr-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pr-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
}
.pr-card__thumb { position: relative; }
.ph--pr-photo { width: 100%; aspect-ratio: 1 / 1; border-radius: 0; }

.ind-badge {
  position: absolute; top: 0; left: 0; z-index: 2;
  padding: 4px 14px; border-radius: 0 0 12px 0;
  color: #fff; font-size: 11px; font-weight: 800;
}
.ind-badge--plain { position: static; border-radius: 999px; display: inline-block; }
.ind--green  { background: var(--green); }
.ind--blue   { background: var(--blue); }
.ind--pink   { background: #e4699a; }
.ind--orange { background: var(--orange); }
.ind--purple { background: var(--purple); }

.pr-card__body { padding: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pr-card__name { font-size: 19px; font-weight: 900; color: var(--blue); }
.pr-card__name span { font-size: 12px; font-weight: 700; margin-left: 5px; color: var(--ink); }
.pr-card__company { font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }

.pr-profile { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.pr-profile__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px; font-size: 11px; line-height: 1.5; }
.pr-profile dt { display: flex; align-items: center; gap: 5px; font-weight: 700; }
.pr-profile dd { margin: 0; }
.ph--prof-icon { width: 17px; height: 17px; border: none; background: none; flex: none; }

.pr-card__btn {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  border: 2px solid var(--sky-deep);
  font-size: 13px; font-weight: 800; color: var(--blue);
  transition: background-color .15s ease, border-color .15s ease;
}
.pr-card__btn:hover { background: var(--sky); border-color: var(--blue); }
.pr-card__arrow { font-weight: 900; }

.more-wrap { text-align: center; margin-top: 30px; }
.more-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 44px; border-radius: 999px;
  background: var(--white); border: 2px solid var(--sky-deep);
  font-size: 14px; font-weight: 800; color: var(--blue);
}
.more-btn:hover { background: var(--sky); border-color: var(--blue); }

/* ------------------------------------------------------------
   一覧の下部CTA
   ------------------------------------------------------------ */
.zukan-cta { padding: 0 0 60px; }
.zukan-cta__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 22px var(--gutter);
  background: var(--cream); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: 110px minmax(0, 1fr) auto 110px;
  gap: 20px; align-items: center;
}
.zukan-cta__title { color: var(--blue); font-size: clamp(19px, 2.4vw, 26px); font-weight: 900; margin-bottom: 8px; }
.zukan-cta__text  { font-size: 13px; line-height: 1.8; }
.cta-btn--yellow {
  background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 #d8a300;
}
.cta-btn--yellow:hover { box-shadow: 0 2px 0 #d8a300; }
.cta-btn--yellow .cta-btn__arrow { background: rgba(0, 0, 0, .12); }

/* ============================================================
   詳細
   ============================================================ */
.pr-hero { padding: 10px 0 40px; }
.pr-hero__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  gap: 34px; align-items: start;
}
.pr-hero__visual { position: relative; padding-bottom: 46px; }
.ph--pr-hero { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); }
.pr-hero__handwrite {
  position: absolute; top: 14%; left: 6%;
  color: var(--blue); font-weight: 800; font-size: 15px;
  transform: rotate(-8deg); line-height: 1.5;
}
.pr-hero__card {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 14px 22px;
  min-width: 62%;
}
.pr-hero__company { font-size: 14px; font-weight: 800; }
.pr-hero__title   { font-size: 11px; color: var(--ink-soft); }
.pr-hero__name    { font-size: 28px; font-weight: 900; line-height: 1.2; }
.pr-hero__name span { font-size: 14px; margin-left: 6px; }
.pr-hero__kana {
  display: block; font-size: 10px; font-weight: 500;
  color: var(--ink-soft); margin: 2px 0 6px;
}
.pr-hero__card .ind-badge--plain { font-size: 10px; padding: 3px 12px; }

.pr-hero__catch {
  font-size: clamp(22px, 3vw, 32px); font-weight: 900; color: var(--blue);
  line-height: 1.4; margin-bottom: 14px;
  background: linear-gradient(transparent 86%, var(--yellow) 86%);
  display: inline;
}
.pr-hero__intro { font-size: 13px; line-height: 2; margin: 18px 0 20px; }

/* プロフィール表 */
.pr-spec {
  background: var(--sky); border-radius: var(--radius);
  padding: 18px 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 26px;
}
.pr-spec__row {
  display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center;
  padding: 9px 0; border-bottom: 1px solid rgba(20, 98, 190, .12);
}
.ph--spec-icon { width: 34px; height: 34px; border: none; background: none; }
.pr-spec dt { font-size: 12px; font-weight: 800; color: var(--blue); }
.pr-spec dd { margin: 0; font-size: 13px; font-weight: 700; }

/* シェア */
.pr-share {
  max-width: var(--container); margin: 14px auto 0; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 12px;
}
.pr-share__label { font-size: 12px; font-weight: 700; }
.pr-share__list { display: flex; gap: 8px; }
.pr-share__list button { background: none; border: none; padding: 0; }
.copy-link.is-copied .ph--sns { border-color: var(--green); color: var(--green); }

/* ------------------------------------------------------------
   子どもたちへメッセージ
   ------------------------------------------------------------ */
.pr-message { padding: 0 0 44px; }
.pr-message__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 26px var(--gutter);
  background: var(--cream); border-radius: var(--radius-lg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34%);
  gap: 26px; align-items: center;
}
.pr-message__title {
  display: flex; align-items: center; gap: 10px;
  color: var(--blue); font-size: clamp(19px, 2.4vw, 24px); font-weight: 900;
  margin-bottom: 14px;
}
.pr-message__title .num-badge { width: 30px; height: 30px; }
.pr-message__text { font-size: 13px; line-height: 2; }
.pr-message__visual { position: relative; }
.ph--pr-msg { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.pr-message__bubble {
  position: absolute; top: -14px; left: -26%; z-index: 2;
  background: var(--white); border: 3px solid var(--blue-light);
  border-radius: 18px; padding: 10px 14px;
  font-size: 12px; font-weight: 800; color: var(--blue); text-align: center;
}
.pr-message__bubble::after {
  content: ""; position: absolute; bottom: -11px; right: 22px;
  border: 6px solid transparent; border-top-color: var(--blue-light);
}

/* ------------------------------------------------------------
   会社について ／ 道のり
   ------------------------------------------------------------ */
.pr-detail { padding: 0 0 50px; }
.pr-detail__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  gap: 22px; align-items: start;
}
.pr-panel {
  background: var(--white); border-radius: var(--radius-lg);
  border: 2px solid var(--sky-deep);
  padding: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 14px;
}
.pr-panel--road { border-color: #c6e9cd; }
.pr-panel__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 900; color: var(--blue);
}
.pr-panel__title--green { color: var(--green); }
.ph--panel-icon { width: 30px; height: 30px; border: none; background: none; }
.ph--company-photo { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); }
.pr-panel__text { font-size: 13px; line-height: 1.9; }

.company-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.company-table th,
.company-table td { padding: 9px 12px; text-align: left; vertical-align: top; }
.company-table th {
  width: 34%; background: var(--sky); color: var(--blue); font-weight: 800;
  border-bottom: 2px solid var(--white);
}
.company-table td { border-bottom: 1px solid var(--sky-deep); }

.ghost-btn {
  margin-top: auto; align-self: center;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 220px; padding: 11px 24px; border-radius: 999px;
  border: 2px solid var(--blue); color: var(--blue);
  font-size: 13px; font-weight: 800;
  transition: background-color .15s ease;
}
.ghost-btn:hover { background: var(--sky); }
.ghost-btn--green { border-color: var(--green); color: var(--green); }
.ghost-btn--green:hover { background: #eef9f0; }

/* 道のり */
.road { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 20px; }
.road-list { position: relative; padding-left: 4px; }
.road-list::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 9px;
  border-left: 2px solid var(--green);
}
.road-item {
  position: relative; display: grid; grid-template-columns: 74px 1fr;
  gap: 10px; align-items: baseline;
  padding: 0 0 18px 26px; font-size: 13px;
}
.road-item:last-child { padding-bottom: 0; }
.road-item__dot {
  position: absolute; left: 4px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--green);
}
.road-item__year { font-weight: 800; color: var(--green); }
.road-item__body { font-size: 12px; line-height: 1.6; }

.road-photos { display: flex; flex-direction: column; gap: 12px; }
.ph--road-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); }

.back-wrap { text-align: center; margin-top: 30px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 34px; border-radius: 999px;
  border: 2px solid var(--blue); color: var(--blue);
  font-size: 13px; font-weight: 800;
}
.back-btn:hover { background: var(--sky); }

/* ------------------------------------------------------------
   レスポンシブ
   ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .page-hero--zukan .page-hero__inner { grid-template-columns: 1fr; }
  .pr-list { grid-template-columns: repeat(3, 1fr); }

  .pr-hero__inner { grid-template-columns: 1fr; }
  .pr-detail__inner { grid-template-columns: 1fr; }

  .zukan-cta__inner { grid-template-columns: 90px minmax(0, 1fr) 90px; }
  .zukan-cta .cta-btn { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .search { margin-left: 0; width: 100%; }
  .search__input { width: 100%; }

  .pr-list { grid-template-columns: repeat(2, 1fr); }

  .pr-spec { grid-template-columns: 1fr; gap: 0; }
  .pr-message__inner { grid-template-columns: 1fr; }
  .pr-message__bubble { left: 0; }

  .road { grid-template-columns: 1fr; }
  .road-photos { flex-direction: row; }
}

@media (max-width: 560px) {
  .pr-list { grid-template-columns: 1fr; }
  .ph--pr-photo { aspect-ratio: 16 / 10; }

  .zukan-hero__visual .bubble-list {
    position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px;
  }
  .zukan-hero__visual .bubble { position: static; max-width: none; }
  .zukan-hero__visual .bubble::after { display: none; }

  .pr-hero__card { position: static; margin-top: -30px; min-width: 0; }
  .pr-hero__visual { padding-bottom: 0; }

  .zukan-cta__inner { grid-template-columns: 1fr; text-align: center; }
  .zukan-cta .ph--cta-illust { display: none; }

  .company-table th { width: 40%; }
}
