/*
 * Tailwind8 Pop — 会社・情報ページ（page-company / page-faq / page / news / radio / 404）
 *
 * pop.css の後に読まれる。クラスは .co- で始める。
 * - 16px 未満の font-size を書かない
 * - coral の面に白文字を載せない（文字は ink）
 */

/* ===== 共通 ===== */
.co-narrow { max-width: 920px; }
.co-center-lead { margin-left: auto; margin-right: auto; }
.co-note { margin: 20px 0 0; font-size: 16px; }
.co-cta-btns { margin-top: 28px; }
.co-hero-slim { padding: 36px 0 32px; }

.co-check {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--moss); border: 2px solid var(--ink); color: var(--ink);
}
.co-check svg { width: 16px; height: 16px; }

.co-icon {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  display: grid; place-items: center;
  border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); color: var(--ink);
  background: var(--white);
}
.co-icon svg { width: 28px; height: 28px; }
.co-icon--sm { width: 44px; height: 44px; border-radius: 12px; }
.co-icon--sm svg { width: 22px; height: 22px; }
.co-icon--sun { background: var(--sun); }
.co-icon--lagoon { background: var(--lagoon); }
.co-icon--coral { background: var(--coral); }

.co-plain { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.co-h4 { font-weight: 900; font-size: 19px; margin: 24px 0 8px; }

/* ===== 会社概要: 得意なこと ===== */
.co-strength { max-width: 880px; margin: 40px auto 0; }
.co-strength > p { margin: 0 0 18px; }
.co-strength-lead { font-weight: 900; font-size: 20px; line-height: 1.7; }
.co-voices { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 14px; }
.co-voices li {
  position: relative; justify-self: start; max-width: 100%;
  background: var(--foam); border: 3px solid var(--ink); border-radius: 18px 18px 18px 4px;
  padding: 12px 20px; font-weight: 900; box-shadow: 3px 3px 0 var(--ink);
}
.co-voices li:nth-child(even) { justify-self: end; background: var(--sand); border-radius: 18px 18px 4px 18px; }
.co-options { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .co-options { grid-template-columns: repeat(2, 1fr); } }
.co-options li {
  display: flex; align-items: center; gap: 12px;
  border: 3px solid var(--ink); border-radius: 14px; padding: 10px 14px; background: var(--white); font-weight: 700;
}
.co-options li:nth-child(n+5) { background: var(--sun); }
.co-strength-close { font-weight: 900; margin-bottom: 0 !important; }

/* ===== 会社概要: 体制 ===== */
.co-role { display: grid; gap: 10px; align-content: start; }
.co-role p { margin: 0; }
.co-role-no {
  font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1;
  color: var(--ocean); -webkit-text-stroke: 0;
}

/* ===== 会社概要: 登録・所属 ===== */
.co-creds { margin: 40px auto 0; max-width: 960px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.co-creds li {
  background: var(--white); border: 3px solid var(--ink); border-radius: 999px;
  padding: 10px 22px; font-weight: 700; box-shadow: 3px 3px 0 var(--ink);
}
.co-creds li:nth-child(3n+1) { background: var(--foam); }
.co-creds li:nth-child(3n+2) { background: var(--sand); }

/* ===== 会社概要: MVV ===== */
.co-mvv { display: grid; gap: 8px; align-content: start; }
.co-mvv > p { margin: 0; }
.co-mvv .co-icon { margin-bottom: 8px; }
.co-mvv-title { font-weight: 900; font-size: 22px; }
.co-mvv-statement { font-weight: 900; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.6; }
.co-values { margin-top: 28px; }
.co-values-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
@media (min-width: 768px) { .co-values-list { grid-template-columns: repeat(2, 1fr); gap: 20px 28px; } }
.co-values-list li { border-top: 3px dashed var(--ink); padding-top: 14px; }
.co-values-list p { margin: 0; }
.co-value-head { font-weight: 900; font-size: 19px; margin-bottom: 4px !important; }

/* ===== 会社概要: 代表メッセージ・プロフィール（濃い面の上の白い箱） ===== */
.co-message, .co-profile { color: var(--ink); margin-top: 40px; }
.sec--ink .co-message a:not(.btn), .sec--ink .co-profile a:not(.btn):not(.tag) { color: var(--ocean); }
.sec--ink .co-profile .tag, .sec--ink .co-message .co-interview { color: var(--ink); }
.on-dark .co-message, .on-dark .co-profile { box-shadow: 6px 6px 0 var(--lagoon); }
.co-message { display: grid; gap: 32px; }
@media (min-width: 960px) { .co-message { grid-template-columns: 280px 1fr; gap: 48px; } }
.co-portrait { text-align: center; }
.co-photo {
  margin: 0; aspect-ratio: 3 / 4; overflow: hidden;
  border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--sun);
  background: var(--foam); transform: rotate(-1.5deg);
}
.co-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.co-portrait-role { margin: 22px 0 0; font-weight: 700; }
.co-portrait-name { margin: 2px 0 0; font-weight: 900; font-size: 26px; }
.co-letter .h3 { margin-bottom: 20px; }
.co-letter-body { display: grid; gap: 14px; }
.co-letter-body p { margin: 0; }
.co-quote {
  margin: 0; padding: 12px 18px; font-weight: 900;
  border-left: 8px solid var(--lagoon); background: var(--sky); border-radius: 0 14px 14px 0;
}
.co-quote--strong { margin: 0 0 20px; font-size: 19px; border-left-color: var(--coral); }
.co-strong { font-weight: 900; font-size: 19px; }
.co-sign { margin: 28px 0 0; padding-top: 18px; border-top: 3px dashed var(--ink); text-align: right; }
.co-sign strong { font-size: 19px; }
.co-interview {
  margin-top: 28px; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none;
}
.co-interview svg { width: 24px; height: 24px; flex: none; }
.co-interview-title { display: block; font-weight: 900; }
.co-interview-sub { display: block; margin-top: 4px; font-weight: 500; }
.co-profile-name { margin: 8px 0 16px; }
.co-profile-name strong { font-size: 20px; }
.co-built { margin: 0; padding: 18px; list-style: none; display: grid; gap: 10px; background: var(--foam); border: 3px solid var(--ink); border-radius: 16px; }
.co-built li { display: flex; align-items: flex-start; gap: 12px; }
.co-profile-foot { margin-top: 28px; padding-top: 8px; border-top: 3px dashed var(--ink); display: grid; gap: 8px 32px; }
@media (min-width: 640px) { .co-profile-foot { grid-template-columns: repeat(2, 1fr); } }
.co-profile-foot .tag { text-decoration: none; }

/* ===== 会社概要: 会社情報・沿革・アクセス ===== */
.co-pdl { margin-top: 40px; }
.co-timeline { margin: 40px 0 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 18px; }
.co-timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; border-left: 3px dashed var(--ink); }
.co-timeline > div {
  position: relative; background: var(--white); border: 3px solid var(--ink); border-radius: 16px;
  padding: 14px 20px; box-shadow: 4px 4px 0 var(--ink); display: grid; gap: 2px 20px;
}
@media (min-width: 720px) { .co-timeline > div { grid-template-columns: 140px 1fr; } }
.co-timeline > div::before {
  content: ""; position: absolute; left: -29px; top: 20px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sun); border: 3px solid var(--ink);
}
.co-timeline dt { font-family: var(--display); font-weight: 800; color: var(--ocean); }
.co-timeline dd { margin: 0; }
.co-access { overflow: hidden; margin-top: 40px; }
.co-map { position: relative; aspect-ratio: 16 / 9; background: var(--foam); border-bottom: 3px solid var(--ink); }
.co-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.co-access-info { padding: 24px; display: grid; gap: 18px; }
@media (min-width: 720px) { .co-access-info { grid-template-columns: repeat(2, 1fr); padding: 28px 32px; } }
.co-access-row { display: flex; gap: 14px; align-items: flex-start; }
.co-access-row p { margin: 0; }
.co-access-label { font-weight: 900; }

/* ===== 会社概要: CTA ===== */
.co-cta .lead { margin-left: auto; margin-right: auto; }
.co-cta-tel { margin: 24px 0 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--foam); }
.co-cta-tel svg { width: 22px; height: 22px; }

/* ===== FAQ ===== */
.co-faq-intro { margin-bottom: 8px; }
.co-faq summary { display: flex; align-items: baseline; }
.co-faq-q { display: inline; margin: 0; font-size: 18px; font-weight: 900; line-height: 1.6; color: var(--ink); }
.co-faq .a > :first-child { margin-top: 0; }
.co-faq .a > :last-child { margin-bottom: 0; }
.co-faq details[open] { background: var(--sky); }

/* ===== 固定ページ（page.php） ===== */
.co-page-lead { margin: 0 0 28px; }
.co-page-links { margin-top: 32px; padding-top: 16px; border-top: 3px dashed var(--ink); font-weight: 700; }
.co-page-cta { margin-top: 48px; }
.co-page-cta p { margin: 12px 0 0; }
.co-page-cta .btns { margin-top: 22px; }

/* ===== 新着情報 ===== */
.co-news-layout { display: grid; gap: 40px; }
@media (min-width: 1040px) { .co-news-layout { grid-template-columns: 2fr 1fr; align-items: start; } }
.co-news-list { display: grid; gap: 28px; }
.co-news-side { display: grid; gap: 28px; }
@media (min-width: 1040px) { .co-news-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.co-side-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-weight: 900; font-size: 19px; }
.co-side-title svg { width: 22px; height: 22px; color: var(--ocean); }
.co-years, .co-recent { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.co-years a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 12px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white);
  color: var(--ink); text-decoration: none; font-weight: 700;
}
.co-years a:hover { background: var(--foam); }
.co-recent li + li { border-top: 2px dashed var(--ink); padding-top: 10px; }
.co-recent a { display: grid; gap: 2px; color: var(--ink); text-decoration: none; }
.co-recent a:hover .co-recent-title { text-decoration: underline; }
.co-recent-title { font-weight: 700; }
.co-recent-date { font-family: var(--display); font-weight: 700; color: var(--muted); font-size: 16px; }

/* ===== 記事下の関連（news / radio） ===== */
.co-related { margin-top: 64px; padding-top: 40px; border-top: 3px dashed var(--ink); }
.co-related-grid { margin-top: 24px; }
.co-related-grid .post-card { color: var(--ink); text-decoration: none; }
.co-mini-cta .lead { margin-left: auto; margin-right: auto; }

/* ===== ポッドキャスト ===== */
.co-episode-title { font-size: clamp(30px, 4.4vw, 48px); }
.co-player {
  aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: 36px;
  background: var(--ink); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--coral);
}
.co-player iframe { width: 100%; height: 100%; display: block; }
.co-play { position: relative; }
.co-play::after {
  content: "▶"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--coral); color: var(--ink); border: 3px solid var(--ink); font-size: 20px; padding-left: 4px;
}

/* ===== 404 ===== */
.co-404 { min-height: 60vh; display: grid; align-items: center; }
.co-404-num {
  margin: 0 0 8px; display: inline-flex; gap: 0.04em;
  font-family: var(--display); font-weight: 800; font-size: clamp(120px, 24vw, 240px); line-height: 1;
}
.co-404-num span {
  display: inline-block; color: var(--sun);
  -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
}
.co-404-num span:nth-child(1) { transform: rotate(-8deg); }
.co-404-num span:nth-child(2) { color: var(--lagoon); transform: translateY(-0.08em); }
.co-404-num span:nth-child(3) { color: var(--coral); transform: rotate(7deg); }
@media (prefers-reduced-motion: no-preference) {
  .co-404-num span { animation: co-bob 2.4s var(--ease) infinite; }
  .co-404-num span:nth-child(2) { animation-delay: 0.2s; }
  .co-404-num span:nth-child(3) { animation-delay: 0.4s; }
}
@keyframes co-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
