/*
Theme Name: jnova（采配版）
Template: jnova
Description: 親テーマ「jnova」の子テーマ。サイト全体で采配を主役にし、KATANAページを采配への移行案内に差し替えます。有効化をやめれば元の表示に戻ります。
Author: 株式会社J.NOVA
Version: 1.0.0
*/

/* =========================
   采配 共通パーツ（sh-）
========================= */
:root {
  --sh-navy: #162B54;
  --sh-navy2: #0E1D3B;
  --sh-red: #C23B22;
  --sh-red-soft: #FFB9A8;
  --sh-cream: #FBF8F3;
  --sh-line: #06C755;
}

.sh-logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.sh-logo-mark { width: 54px; height: 33px; flex-shrink: 0; }
.sh-logo-name { font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", serif; font-weight: 800; font-size: 34px; letter-spacing: .18em; }
.sh-logo-light { color: var(--sh-navy); }
.sh-logo-dark { color: #fff; }
.sh-logo-sm .sh-logo-mark { width: 38px; height: 23px; }
.sh-logo-sm .sh-logo-name { font-size: 22px; }

.sh-mincho { font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", serif; font-weight: 800; }
.sh-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--sh-red); margin-bottom: 14px; }
.sh-eyebrow-light { color: var(--sh-red-soft); }

.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 34px; border-radius: 999px; font-size: 15px; font-weight: 700; line-height: 1.3; transition: transform .2s, box-shadow .2s, background .2s; text-align: center; }
.sh-btn:hover { transform: translateY(-2px); }
.sh-btn .arr { transition: transform .2s; }
.sh-btn:hover .arr { transform: translateX(4px); }
.sh-btn-red { background: var(--sh-red); color: #fff; box-shadow: 0 10px 24px -10px rgba(194,59,34,.7); }
.sh-btn-red:hover { background: #A8301A; }
.sh-btn-white { background: #fff; color: var(--sh-navy); }
.sh-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.sh-btn-ghost:hover { background: rgba(255,255,255,.1); }
.sh-btn-navy-ghost { background: transparent; color: var(--sh-navy); border: 1.5px solid var(--sh-navy); }
.sh-btn-line { background: var(--sh-line); color: #fff; }
.sh-btn-sm { padding: 11px 22px; font-size: 13px; }
.sh-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.sh-btns-center { justify-content: center; }
.sh-note { font-size: 12px; color: inherit; opacity: .8; margin-top: 14px; }

/* 先着100社の帯 */
.sh-campaign { background: var(--sh-red); color: #fff; padding: 56px 0; }
.sh-campaign-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.sh-campaign-badge { display: inline-block; background: #fff; color: var(--sh-red); font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: .08em; margin-bottom: 14px; }
.sh-campaign-title { font-size: clamp(22px, 3vw, 32px); line-height: 1.5; margin-bottom: 10px; }
.sh-campaign-title strong { font-size: 1.35em; border-bottom: 3px solid #fff; }
.sh-campaign-desc { font-size: 14px; line-height: 1.9; opacity: .95; }
.sh-campaign-code { display: inline-block; margin-top: 12px; font-size: 13px; background: rgba(0,0,0,.18); padding: 6px 14px; border-radius: 6px; letter-spacing: .06em; }
.sh-campaign-code b { font-family: monospace; font-size: 16px; letter-spacing: .12em; }
@media (max-width: 860px) { .sh-campaign-inner { grid-template-columns: 1fr; } }

/* 共通の下部CTA（cta-katana.php を采配に差し替え） */
#sh-cta { background: var(--sh-navy); color: #fff; padding: 100px 0; text-align: center; position: relative; overflow: hidden; }
#sh-cta::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(194,59,34,.35), transparent); pointer-events: none; }
#sh-cta .container { position: relative; }
.sh-cta-logo { margin-bottom: 26px; }
.sh-cta-catch { font-size: clamp(26px, 4vw, 42px); line-height: 1.5; margin-bottom: 18px; }
.sh-cta-sub { font-size: 15px; line-height: 2; opacity: .9; margin-bottom: 14px; }
.sh-cta-offer { display: inline-block; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 8px 20px; font-size: 13px; margin-bottom: 34px; }
.sh-cta-offer b { color: var(--sh-red-soft); }

/* 采配の事業ブロック（トップ・事業内容） */
.sh-biz { display: grid; grid-template-columns: 340px 1fr; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(22,43,84,.45); margin-bottom: 80px; background: #fff; }
.sh-biz-head { background: var(--sh-navy); color: #fff; padding: 48px 40px; display: flex; flex-direction: column; gap: 22px; }
.sh-biz-tagline { font-size: 22px; line-height: 1.6; }
.sh-biz-links { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.sh-biz-body { padding: 48px 48px; }
.sh-biz-body > p { font-size: 15px; line-height: 2; color: var(--gray700); margin-bottom: 26px; }
.sh-biz-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 26px; }
.sh-biz-feat { background: var(--sh-cream); border-radius: 12px; padding: 18px 12px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--sh-navy); }
.sh-biz-feat b { display: block; font-family: "Shippori Mincho B1", serif; font-size: 30px; color: var(--sh-red); line-height: 1.2; }
.sh-biz-katana { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--gray500); border-top: 1px dashed var(--gray300); padding-top: 18px; }
.sh-biz-katana a { color: var(--sh-navy); font-weight: 700; border-bottom: 1px solid currentColor; }
@media (max-width: 960px) { .sh-biz { grid-template-columns: 1fr; } .sh-biz-feats { grid-template-columns: repeat(2, 1fr); } .sh-biz-body, .sh-biz-head { padding: 36px 24px; } }

/* トップ：KATANAから采配へ／采配でできること */
.sh-story { background: var(--sh-cream); padding: 110px 0; }
.sh-story-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.sh-story-title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.55; color: var(--sh-navy); margin-bottom: 24px; }
.sh-story-title em { font-style: normal; color: var(--sh-red); }
.sh-story-body { font-size: 15px; line-height: 2.1; color: var(--gray700); margin-bottom: 28px; }
.sh-story-flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.sh-story-card { border-radius: 16px; padding: 26px 22px; text-align: center; }
.sh-story-card-old { background: #fff; border: 1px solid var(--gray300); color: var(--gray500); }
.sh-story-card-new { background: var(--sh-navy); color: #fff; box-shadow: 0 18px 40px -20px rgba(22,43,84,.7); }
.sh-story-card-label { font-size: 11px; letter-spacing: .2em; font-weight: 700; margin-bottom: 8px; }
.sh-story-card-name { font-size: 26px; margin-bottom: 12px; }
.sh-story-card ul { font-size: 13px; line-height: 2; text-align: left; display: inline-block; }
.sh-story-arrow { align-self: center; color: var(--sh-red); font-size: 26px; font-weight: 800; }
.sh-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.sh-stat { background: #fff; border-radius: 12px; padding: 16px 10px; text-align: center; font-size: 12px; color: var(--gray500); font-weight: 700; }
.sh-stat b { display: block; font-family: "Shippori Mincho B1", serif; font-size: 30px; color: var(--sh-navy); line-height: 1.3; }
@media (max-width: 960px) { .sh-story-grid { grid-template-columns: 1fr; gap: 40px; } .sh-story { padding: 80px 0; } }

.sh-features { padding: 110px 0; background: #fff; }
.sh-sec-head { text-align: center; margin-bottom: 56px; }
.sh-sec-title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.55; color: var(--sh-navy); }
.sh-sec-desc { font-size: 15px; line-height: 2; color: var(--gray500); margin-top: 16px; }
.sh-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sh-feature { border: 1px solid var(--gray100); border-radius: 18px; padding: 32px 28px; background: #fff; box-shadow: 0 12px 30px -24px rgba(22,43,84,.5); }
.sh-feature-num { font-family: "Shippori Mincho B1", serif; font-size: 14px; color: var(--sh-red); letter-spacing: .15em; margin-bottom: 10px; }
.sh-feature-title { font-size: 18px; font-weight: 800; color: var(--sh-navy); line-height: 1.6; margin-bottom: 10px; }
.sh-feature-text { font-size: 14px; line-height: 1.95; color: var(--gray700); }
.sh-chat { background: #8CABD9; border-radius: 18px; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.sh-chat-row { display: flex; gap: 8px; align-items: flex-end; }
.sh-chat-row.me { justify-content: flex-end; }
.sh-chat-bubble { background: #fff; border-radius: 16px; padding: 10px 14px; font-size: 13px; line-height: 1.7; max-width: 85%; color: #111; }
.sh-chat-row.me .sh-chat-bubble { background: #A6E07B; }
.sh-chat-time { font-size: 10px; color: rgba(0,0,0,.45); }
.sh-chat-head { font-size: 12px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 4px; }
.sh-chat-btn { display: inline-block; margin-top: 6px; background: var(--sh-navy); color: #fff; border-radius: 8px; padding: 4px 10px; font-size: 12px; }
.sh-integrations { margin-top: 40px; text-align: center; font-size: 14px; color: var(--gray500); line-height: 2; }
.sh-integrations b { color: var(--sh-navy); }
@media (max-width: 960px) { .sh-feature-grid { grid-template-columns: 1fr; } .sh-features { padding: 80px 0; } }

/* KATANA → 采配 移行案内ページ（mig-） */
#mig-hero { position: relative; background: var(--sh-navy2); color: #fff; padding: 170px 0 110px; overflow: hidden; }
#mig-hero .mig-hero-bg { position: absolute; inset: 0; opacity: .18; }
#mig-hero .mig-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
#mig-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(14,29,59,.96) 30%, rgba(14,29,59,.6)); }
#mig-hero .container { position: relative; z-index: 1; }
.mig-target { display: inline-block; border: 1px solid var(--sh-red-soft); color: var(--sh-red-soft); font-size: 13px; font-weight: 700; padding: 7px 18px; letter-spacing: .1em; margin-bottom: 30px; }
.mig-evolve { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 30px; }
.mig-evolve-katana { height: 46px; width: auto; opacity: .75; filter: grayscale(1) brightness(2); }
.mig-evolve-arrow { color: var(--sh-red-soft); font-size: 28px; font-weight: 800; }
.mig-catch { font-size: clamp(32px, 5.2vw, 60px); line-height: 1.4; margin-bottom: 26px; }
.mig-catch em { font-style: normal; color: var(--sh-red-soft); }
.mig-lead { font-size: 16px; line-height: 2.1; opacity: .92; max-width: 720px; margin-bottom: 38px; }

.mig-section { padding: 110px 0; }
.mig-section-cream { background: var(--sh-cream); }
.mig-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.mig-pillar { background: #fff; border-radius: 20px; padding: 40px 36px; box-shadow: 0 18px 44px -30px rgba(22,43,84,.55); border-top: 5px solid var(--sh-navy); }
.mig-pillar:nth-child(4) { border-top-color: var(--sh-red); }
.mig-pillar-num { font-family: "Shippori Mincho B1", serif; font-size: 44px; color: var(--sh-red); line-height: 1; margin-bottom: 14px; }
.mig-pillar-title { font-size: 22px; font-weight: 800; color: var(--sh-navy); line-height: 1.55; margin-bottom: 14px; }
.mig-pillar-text { font-size: 14.5px; line-height: 2; color: var(--gray700); }
.mig-pillar ul { margin-top: 14px; display: grid; gap: 8px; }
.mig-pillar li { font-size: 14px; line-height: 1.7; color: var(--gray700); padding-left: 24px; position: relative; }
.mig-pillar li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sh-red); font-weight: 800; }
@media (max-width: 860px) { .mig-pillars { grid-template-columns: 1fr; } .mig-pillar { padding: 32px 24px; } }

.mig-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mig-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 44px -30px rgba(22,43,84,.55); }
.mig-table th, .mig-table td { padding: 18px 22px; font-size: 14px; line-height: 1.7; border-bottom: 1px solid var(--gray100); text-align: left; vertical-align: top; }
.mig-table thead th { font-size: 15px; }
.mig-table thead th:nth-child(2) { background: var(--gray100); color: var(--gray500); }
.mig-table thead th:nth-child(3) { background: var(--sh-navy); color: #fff; }
.mig-table tbody th { width: 22%; color: var(--sh-navy); font-weight: 800; background: #FCFCFD; }
.mig-table tbody td:nth-child(2) { color: var(--gray500); width: 34%; }
.mig-table tbody td:nth-child(3) { color: var(--sh-navy); font-weight: 700; background: rgba(194,59,34,.04); }
.mig-table tbody tr:last-child th, .mig-table tbody tr:last-child td { border-bottom: 0; }

.mig-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.mig-step { background: #fff; border-radius: 18px; padding: 34px 28px; position: relative; border: 1px solid var(--gray100); }
.mig-step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--sh-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-family: "Shippori Mincho B1", serif; font-size: 20px; margin-bottom: 18px; }
.mig-step-title { font-size: 17px; font-weight: 800; color: var(--sh-navy); margin-bottom: 10px; line-height: 1.6; }
.mig-step-text { font-size: 14px; line-height: 1.9; color: var(--gray700); }
@media (max-width: 860px) { .mig-steps { grid-template-columns: 1fr; } }

.mig-offer { background: var(--sh-navy); color: #fff; border-radius: 24px; padding: 54px 48px; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.mig-offer-title { font-size: clamp(22px, 3vw, 30px); line-height: 1.6; margin-bottom: 14px; }
.mig-offer-title b { color: var(--sh-red-soft); }
.mig-offer ul { display: grid; gap: 8px; font-size: 14.5px; line-height: 1.8; }
.mig-offer li::before { content: "● "; color: var(--sh-red-soft); }
.mig-offer-price { text-align: center; background: #fff; color: var(--sh-navy); border-radius: 18px; padding: 26px 30px; min-width: 240px; }
.mig-offer-price span, .mig-offer-price s { display: block; }
.mig-offer-price span { font-weight: 700; margin-bottom: 4px; }
.mig-offer-price s { font-size: 14px; color: var(--gray400); }
.mig-offer-price b { display: block; font-family: "Shippori Mincho B1", serif; font-size: 46px; color: var(--sh-red); line-height: 1.2; }
.mig-offer-price small { font-size: 12px; color: var(--gray500); display: block; }
@media (max-width: 860px) { .mig-offer { grid-template-columns: 1fr; padding: 40px 24px; } }

.mig-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.mig-faq details { background: #fff; border-radius: 14px; border: 1px solid var(--gray100); padding: 0 24px; }
.mig-faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 800; color: var(--sh-navy); font-size: 15px; display: flex; gap: 12px; align-items: flex-start; }
.mig-faq summary::-webkit-details-marker { display: none; }
.mig-faq summary::before { content: "Q"; color: var(--sh-red); font-family: "Shippori Mincho B1", serif; }
.mig-faq details p { padding: 0 0 20px 26px; font-size: 14px; line-height: 1.95; color: var(--gray700); }

/* KATANAご利用中の方への小さな案内（FAQ・各所） */
.sh-katana-note { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--sh-cream); border: 1px solid #EADFCC; border-radius: 14px; padding: 18px 24px; margin-bottom: 40px; font-size: 14px; color: var(--gray700); line-height: 1.8; }
.sh-katana-note strong { color: var(--sh-navy); }
.sh-katana-note-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* フッターの采配ブロック */
.footer-saihai-cta { margin-top: 26px; }
.footer-saihai-eyebrow { display: block; font-size: 11px; letter-spacing: .2em; color: var(--sh-red-soft); font-weight: 700; margin-bottom: 10px; }
.footer-saihai-desc { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.75); margin: 14px 0 18px; }
.footer-saihai-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }


/* トップのメイン画像（采配版） */
.sh-hero .hero-main-logo.sh-hero-jnova { height: clamp(34px, 4vw, 48px); margin-bottom: 26px; opacity: .9; }
.sh-hero-product { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sh-hero-product > span:last-child { font-size: 13px; font-weight: 700; letter-spacing: .15em; color: var(--sh-red-soft); border-left: 1px solid rgba(255,255,255,.35); padding-left: 14px; }
.sh-hero .hero-catch.sh-hero-catch { font-size: clamp(38px, 6vw, 80px); letter-spacing: .02em; line-height: 1.35; }
.sh-hero .hero-sub { max-width: 700px; }
.sh-hero .sh-hero-note { color: rgba(255,255,255,.8); }
.sh-hero-katana { margin-top: 26px; font-size: 13px; }
.sh-hero-katana a { color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.4); margin-right: 18px; }
.sh-hero-katana a:hover { color: #fff; }
