/*
Theme Name: Myaira LP
Theme URI: https://www.myaira.pro
Author: 株式会社Revorise
Author URI: https://revorise.jp
Description: 転職エージェント向けAIネイティブCRM「Myaira」のランディングページ専用テーマ。front-page.php に全セクションを実装。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myaira-lp
*/

/* ==========================================================
   Tokens
   ========================================================== */
:root {
  --navy-900: #0d1e3d;
  --navy-800: #14264b;
  --navy-700: #23375f;
  --accent: #f2681f;
  --accent-deep: #e05a12;
  --accent-warm: #f7a01f;
  --accent-tint: #fdf1e7;
  --paper: #f6f7f9;
  --white: #ffffff;
  --ink: #14264b;
  --muted: #5c6880;
  --line: #e3e6ee;

  --font-display: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-num: "Roboto Mono", ui-monospace, monospace;

  --wrap: 1080px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.mr-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.mr-section { padding-block: 96px; }
.mr-section--tight { padding-block: 72px; }
.mr-section--paper { background: var(--paper); }
.mr-section--navy { background: var(--navy-900); color: #e9e8f4; }

/* ==========================================================
   Typography
   ========================================================== */
.mr-eyebrow {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 14px;
}
.mr-section--navy .mr-eyebrow { color: var(--accent); }

.mr-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.5;
  letter-spacing: .01em;
  margin: 0 0 20px;
}
.mr-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.mr-lead {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 48px;
  max-width: 46em;
}
.mr-section--navy .mr-lead { color: #b8bcd4; }

/* ==========================================================
   Buttons
   ========================================================== */
.mr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 18px 32px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.mr-btn:hover { transform: translateY(-2px); }
.mr-btn--primary { background: var(--accent-deep); color: #fff; }
.mr-btn--primary:hover { background: #c94d0a; }
.mr-btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.mr-btn--ghost:hover { background: rgba(255,255,255,.1); }
.mr-btn--outline { border-color: var(--accent-deep); color: var(--accent-deep); }
.mr-btn--outline:hover { background: var(--accent-deep); color: #fff; }

/* ==========================================================
   Header
   ========================================================== */
.mr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,21,51,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mr-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.mr-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .04em;
  color: #fff;
  text-decoration: none;
}
.mr-logo__mark { width: 30px; height: auto; flex: none; }
.mr-logo img { max-height: 32px; width: auto; }

.mr-footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mr-footer__logo svg { width: 26px; height: auto; }
.mr-footer__logo span {
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
  letter-spacing: .04em;
}
.mr-nav { display: flex; align-items: center; gap: 26px; }
.mr-nav a {
  font-size: 13.5px;
  color: #cfd2e6;
  text-decoration: none;
}
.mr-nav a:hover { color: #fff; }
.mr-header .mr-btn { padding: 12px 22px; font-size: 13.5px; }
@media (max-width: 880px) {
  .mr-nav { display: none; }
}

/* ==========================================================
   Hero
   ========================================================== */
.mr-hero {
  background:
    radial-gradient(900px 460px at 82% -8%, rgba(242,104,31,.24), transparent 62%),
    var(--navy-900);
  color: #fff;
  padding-block: 108px 96px;
  overflow: hidden;
}
.mr-hero__tag {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--accent);
  border: 1px solid rgba(247,160,31,.55);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 28px;
}
.mr-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 6.2vw, 60px);
  line-height: 1.35;
  letter-spacing: .01em;
  margin: 0 0 26px;
}
.mr-hero__title em {
  font-style: normal;
  color: var(--accent);
}
.mr-hero__sub {
  font-size: 16.5px;
  line-height: 2.05;
  color: #c3c7de;
  max-width: 40em;
  margin: 0 0 40px;
}
.mr-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.mr-hero__note { font-size: 13px; color: #8b91b0; margin: 0; }

/* ---- Signature: 1日の時間の使われ方 ---- */
.mr-clock { margin-top: 72px; }
.mr-clock__label {
  font-family: var(--font-num);
  font-size: 11.5px;
  letter-spacing: .16em;
  color: #8b91b0;
  margin-bottom: 22px;
}
.mr-clock__row { margin-bottom: 26px; }
.mr-clock__name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: #c3c7de;
  margin-bottom: 9px;
}
.mr-clock__name b { font-family: var(--font-num); font-weight: 500; color: #fff; }
.mr-clock__bar {
  display: flex;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}
.mr-clock__seg {
  display: flex;
  align-items: center;
  padding-inline: 14px;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
}
.mr-clock__seg--admin { background: rgba(255,255,255,.14); color: #aab0cc; }
.mr-clock__seg--human { background: var(--accent-deep); color: #fff; font-weight: 700; }
.mr-clock__caption { font-size: 13px; color: #8b91b0; margin: 0; }

/* ==========================================================
   Grids / Cards
   ========================================================== */
.mr-grid { display: grid; gap: 22px; }
.mr-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mr-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .mr-grid--2, .mr-grid--3 { grid-template-columns: 1fr; }
}

.mr-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.mr-card p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.95; }
.mr-card__mark {
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--accent-deep);
  margin-bottom: 14px;
}

/* 課題カード（現場の声） */
.mr-pain {
  border-left: 3px solid var(--accent);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 28px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mr-pain h3 { font-family: var(--font-display); font-size: 16.5px; margin: 0 0 8px; }
.mr-pain p { margin: 0; font-size: 14px; color: var(--muted); }

/* 機能 */
.mr-feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.mr-feature__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.mr-feature__head h3 { font-family: var(--font-display); font-size: 17.5px; margin: 0; }
.mr-badge {
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: .1em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(242,104,31,.14);
  color: var(--accent-deep);
  border: 1px solid rgba(242,104,31,.35);
}
.mr-feature p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* 差別化（navy上） */
.mr-diff {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: rgba(255,255,255,.03);
}
.mr-diff h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 12px; color: #fff; }
.mr-diff p { margin: 0; font-size: 14.5px; color: #b8bcd4; }
.mr-diff__mark {
  font-family: var(--font-num);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .12em;
  margin-bottom: 14px;
}

/* ==========================================================
   ROI
   ========================================================== */
.mr-roi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.mr-roi__cell { padding: 34px 28px; border-right: 1px solid var(--line); }
.mr-roi__cell:last-child { border-right: 0; }
.mr-roi__num {
  font-family: var(--font-num);
  font-size: clamp(30px, 4.6vw, 42px);
  font-weight: 500;
  color: var(--navy-800);
  line-height: 1.2;
  margin-bottom: 8px;
}
.mr-roi__num span { font-size: 16px; color: var(--muted); margin-left: 4px; }
.mr-roi__cap { font-size: 13.5px; color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .mr-roi { grid-template-columns: 1fr; }
  .mr-roi__cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .mr-roi__cell:last-child { border-bottom: 0; }
}
.mr-note { font-size: 12.5px; color: var(--muted); margin-top: 18px; line-height: 1.85; }

/* ==========================================================
   料金
   ========================================================== */
.mr-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 860px) { .mr-plans { grid-template-columns: 1fr; } }
.mr-plan {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: var(--white);
}
.mr-plan--accent { border-color: var(--accent); box-shadow: 0 10px 40px rgba(242,104,31,.16); }
.mr-plan__name { font-family: var(--font-display); font-size: 19px; margin: 0 0 6px; }
.mr-plan__for { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.mr-plan__price { font-family: var(--font-num); font-size: 34px; color: var(--navy-800); line-height: 1.2; }
.mr-plan__price span { font-size: 14px; color: var(--muted); margin-left: 4px; font-family: var(--font-body); }
.mr-plan__list { list-style: none; margin: 22px 0 0; padding: 0; }
.mr-plan__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}
.mr-plan__list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.mr-pricetable {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.mr-pricetable table { width: 100%; border-collapse: collapse; }
.mr-pricetable th, .mr-pricetable td {
  padding: 14px 18px;
  font-size: 14.5px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.mr-pricetable thead th {
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
}
.mr-pricetable tbody th, .mr-pricetable tbody td:first-child {
  font-weight: 700;
  color: var(--ink);
}
.mr-pricetable tbody td { font-family: var(--font-num); color: var(--navy-800); }
.mr-pricetable tbody tr:last-child td { border-bottom: 0; }

/* ==========================================================
   代表挨拶
   ========================================================== */
.mr-message { max-width: 760px; }
.mr-message p { font-size: 15.5px; line-height: 2.15; color: #dfe0ee; margin: 0 0 22px; }
.mr-message__pull {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.75;
  color: #fff;
  border-left: 3px solid var(--accent);
  padding-left: 22px;
  margin: 0 0 34px;
}
.mr-message__sign { font-size: 14px; color: #9aa0be; margin-top: 32px; }
.mr-message__sign b { font-family: var(--font-display); color: #fff; font-size: 16px; }

/* ==========================================================
   パートナー募集
   ========================================================== */
.mr-partner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 40px 36px;
}
.mr-partner ol { margin: 0; padding-left: 1.3em; }
.mr-partner li { font-size: 14.5px; color: var(--muted); margin-bottom: 12px; }
.mr-partner li b { color: var(--ink); }

/* ==========================================================
   FAQ
   ========================================================== */
.mr-faq { border-top: 1px solid var(--line); }
.mr-faq details { border-bottom: 1px solid var(--line); }
.mr-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 40px 24px 0;
  font-family: var(--font-display);
  font-size: 16px;
  position: relative;
}
.mr-faq summary::-webkit-details-marker { display: none; }
.mr-faq summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-num);
  font-size: 20px;
  color: var(--accent-deep);
}
.mr-faq details[open] summary::after { content: "−"; }
.mr-faq__a { padding: 0 40px 26px 0; font-size: 14.5px; color: var(--muted); margin: 0; }

/* ==========================================================
   CTA / Footer
   ========================================================== */
.mr-cta { text-align: center; }
.mr-cta .mr-h2 { margin-bottom: 16px; }
.mr-cta__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.mr-form { max-width: 640px; margin: 40px auto 0; text-align: left; }

.mr-footer {
  background: var(--navy-900);
  color: #8b91b0;
  padding-block: 46px;
  font-size: 13px;
}
.mr-footer__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.mr-footer a { color: #b8bcd4; text-decoration: none; margin-right: 18px; }
.mr-footer a:hover { color: #fff; }

/* ==========================================================
   Reveal on scroll
   ========================================================== */
.mr-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.mr-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .mr-reveal { opacity: 1; transform: none; }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px);
}
