/*
 * miszero.com のトップ（コーポレート側）。メディア（/ja/media）とは別系統。
 * 閲覧者がダークモードでも白背景を保つため、ダークテーマの定義は置かない。
 */

:root { color-scheme: light; }

body.corp {
  margin: 0;
  background: #fff;
  color: #14213d;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

body.corp * { box-sizing: border-box; }
body.corp img { max-width: 100%; height: auto; }

.corp-wrap { width: min(1080px, calc(100% - 40px)); margin-inline: auto; }

/* ヘッダー */
.corp-header { border-bottom: 1px solid #e3e8ef; background: #fff; }
.corp-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; min-height: 72px; padding-block: 12px;
}
.corp-logo { font-size: 21px; font-weight: 700; letter-spacing: 0.08em; color: #14213d; text-decoration: none; }
.corp-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.corp-nav a { font-size: 14px; color: #33415c; text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.corp-nav a:hover { color: #1b4d89; border-bottom-color: #1b4d89; }

/* ヒーロー */
.corp-hero { padding: 88px 0 72px; background: linear-gradient(180deg, #eef4fb, #fff); border-bottom: 1px solid #e3e8ef; }
.corp-hero__title { margin: 0 0 22px; font-size: clamp(30px, 5.4vw, 46px); line-height: 1.45; letter-spacing: 0.02em; }
.corp-hero__lead { margin: 0 0 30px; max-width: 40em; color: #33415c; }

.corp-button {
  display: inline-block; background: #1b4d89; color: #fff; text-decoration: none;
  padding: 14px 32px; border-radius: 999px; font-size: 15px;
}
.corp-button:hover { background: #143a68; }
.corp-button--ghost { background: #fff; color: #1b4d89; border: 1px solid #1b4d89; }
.corp-button--ghost:hover { background: #eef4fb; color: #143a68; }

/* セクション */
.corp-section { padding: 68px 0; }
.corp-section--alt { background: #f7f9fc; border-block: 1px solid #e3e8ef; }
.corp-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.corp-section__title { margin: 0 0 18px; font-size: 24px; padding-left: 14px; border-left: 5px solid #1b4d89; line-height: 1.5; }
.corp-section__lead { margin: 0 0 28px; max-width: 46em; color: #33415c; }
.corp-more { font-size: 14px; color: #1b4d89; text-decoration: none; }
.corp-more:hover { text-decoration: underline; }

/* 扱うテーマ */
.corp-topics { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.corp-topics a {
  display: inline-block; font-size: 14px; color: #33415c; text-decoration: none;
  background: #fff; border: 1px solid #e3e8ef; border-radius: 999px; padding: 8px 18px;
}
.corp-topics a:hover { border-color: #1b4d89; color: #1b4d89; }

/* 最新記事 */
.corp-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; margin-top: 22px; }
.corp-post { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.corp-post:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,33,61,.08); }
.corp-post a { display: block; padding: 20px; color: inherit; text-decoration: none; height: 100%; }
.corp-post__cat { display: inline-block; font-size: 11px; color: #1b4d89; background: #eef4fb; border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }
.corp-post__title { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.corp-post__excerpt { margin: 0 0 12px; font-size: 13px; color: #6b7280; line-height: 1.8; }
.corp-post__date { font-size: 12px; color: #6b7280; }

/* お問い合わせ */
.corp-contact p { max-width: 42em; color: #33415c; margin: 0 0 24px; }

/* フッター */
.corp-footer { background: #f7f9fc; border-top: 1px solid #e3e8ef; padding: 36px 0 20px; }
.corp-footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.corp-footer__name { margin: 0; font-weight: 700; letter-spacing: 0.06em; }
.corp-footer__nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.corp-footer__nav a { color: #33415c; text-decoration: none; }
.corp-footer__nav a:hover { color: #1b4d89; text-decoration: underline; }
.corp-footer__copy { margin: 26px 0 0; text-align: center; font-size: 12px; color: #6b7280; }

@media (max-width: 640px) {
  .corp-hero { padding: 56px 0 44px; }
  .corp-section { padding: 48px 0; }
}
/*
 * メディア（/ja/media）の補正。見た目の本体は public/ja/media/theme 配下に置いた
 * WordPress 由来の CSS（wp-blocks.css + xeory_base + rtoc）で、ここは最小限の補いだけ。
 * 閲覧者がダークモードでも白背景を保つため、ダークテーマの定義は置かない。
 */

:root { color-scheme: light; }

body { background: #fff; }

/* 関連記事（本文に手書きの「関連記事」を持たない記事だけテンプレートが描く）。 */
.post-related { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid #e5e5e5; }
.post-related h2 { font-size: 18px; margin: 0 0 14px; }
.post-related ul { margin: 0; padding-left: 1.2em; }
.post-related li { margin-bottom: 10px; line-height: 1.7; }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
