/*
Theme Name:  Fuji Corporate
Theme URI:   https://root-idesign.com/
Author:      ルートアイデザイン
Author URI:  https://root-idesign.com/
Description: FUJI株式会社 コーポレートサイト専用WordPressテーマ。会社案内（人生を豊かにする、不動の価値を）に準拠した和モダンの一枚構成＋プレスリリース機能（管理画面からデモ記事の一括投入が可能）を内蔵。Powered by VESPER SYSTEM.
Version:     0.005
License:     GNU General Public License v2 or later
Text Domain: fuji-corporate
*/

/* ============================================================
   1. デザイントークン
   和モダン：紺（不動の価値）の濃淡 × 苺の桜色 × 墨・白のエディトリアル（金・赤は装飾に使わない）
============================================================ */
:root {
  --c-navy:    #213a5a;   /* 見出し・基調（上品な紺青・ややミュート） */
  --c-navy-dk: #16283f;
  --c-navy-lt: #3a557d;
  --c-red:     #b8443a;   /* エラー表示専用の落ち着いた赤（装飾には使わない） */
  --c-pink:    #ef9bb6;   /* 苺の桜色 */
  --c-pink-dp: #d27a98;
  --c-pink-lt: #fbeaf0;   /* 淡い背景 */
  --c-gold:    #3a557d;   /* アクセント＝淡い紺（旧：金。金は全廃） */
  --c-gold-dp: #16283f;   /* 強調＝濃紺（旧：金） */
  --c-gold-lt: #c7d2e8;   /* ダーク背景の淡色ラベル（旧：淡い金） */
  --c-ink:     #2b2b2b;
  --c-sub:     #6d6a66;
  --c-faint:   #9b9892;
  --c-paper:   #fbf9f6;
  --c-paper-2: #f4efe8;
  --c-white:   #ffffff;
  --c-line:    #e8e3da;
  --c-line-2:  #f0ece4;

  --maxw: 1140px;
  --gut: clamp(20px, 5vw, 56px);

  --f-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-sans:  "Noto Sans JP", -apple-system, "Hiragino Kaku Gothic ProN", sans-serif;
  --f-en:    "Montserrat", "Noto Sans JP", sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ============================================================
   2. リセット / ベース
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-ink);
  background: var(--c-paper);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-navy); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--c-pink-dp); }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-weight: 700; line-height: 1.45; margin: 0; letter-spacing: .02em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--c-pink); color: #fff; }

/* ============================================================
   3. レイアウト・共通パーツ
============================================================ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 124px); position: relative; }
.section--paper  { background: var(--c-paper); }
.section--white  { background: var(--c-white); }
.section--pink   { background: linear-gradient(180deg, var(--c-pink-lt), #fff 78%); }
.section--navy   { background: var(--c-navy); color: #eaf0fb; }
.section--cream  { background: var(--c-paper-2); }

.sec-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.is-left { text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
  padding-left: .42em;
}
.section--navy .eyebrow { color: var(--c-gold-lt); }
.sec-title {
  font-family: var(--f-serif);
  font-size: clamp(26px, 4.4vw, 40px);
  color: var(--c-navy);
  letter-spacing: .12em;
  font-weight: 700;
}
.section--navy .sec-title { color: #fff; }
.sec-title .dot { color: var(--c-gold-dp); }
.sec-lead {
  margin-top: 22px;
  color: var(--c-sub);
  font-size: clamp(15px, 1.7vw, 16px);
  max-width: 46em;
  margin-inline: auto;
}
.sec-head.is-left .sec-lead { margin-inline: 0; }

/* 細い区切り線（淡い紺） */
.rule-gold { width: 54px; height: 2px; background: var(--c-gold); margin: 18px auto 0; border-radius: 2px; }
.sec-head.is-left .rule-gold { margin-inline: 0; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-sans); font-weight: 600; font-size: 15px;
  letter-spacing: .06em;
  padding: 15px 34px; border-radius: 999px;
  border: 1.5px solid var(--c-navy);
  background: var(--c-navy); color: #fff;
  transition: all .3s var(--ease);
  min-height: 48px;
}
.btn:hover { background: var(--c-navy-dk); border-color: var(--c-navy-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(22,51,107,.22); }
.btn--ghost { background: transparent; color: var(--c-navy); }
.btn--ghost:hover { background: var(--c-navy); color: #fff; }
.btn--red { background: var(--c-red); border-color: var(--c-red); }
.btn--red:hover { background: #b50010; border-color: #b50010; box-shadow: 0 10px 24px rgba(215,0,15,.25); }
.btn .arr { font-size: 1.1em; line-height: 1; }

/* 和柄：青海波（淡い紺）を薄く敷くユーティリティ */
.seigaiha {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='20' viewBox='0 0 60 20'%3E%3Cg fill='none' stroke='%23213a5a' stroke-opacity='.14' stroke-width='1.2'%3E%3Cpath d='M0 20a15 15 0 0 1 30 0 15 15 0 0 1 30 0M-30 20a15 15 0 0 1 30 0M30 20a15 15 0 0 1 30 0'/%3E%3Cpath d='M0 13a8 8 0 0 1 30 0 8 8 0 0 1 30 0M30 13a8 8 0 0 1 30 0'/%3E%3C/svg%3E");
  background-size: 60px 20px;
}

/* ============================================================
   4. ヘッダー / ナビ
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,249,246,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.header-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--gut);
  height: 76px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo { display: flex; align-items: center; }
.site-logo-img { height: 40px; width: auto; }
.header-right { display: flex; align-items: center; gap: 26px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a {
  font-size: 14px; font-weight: 500; color: var(--c-ink);
  letter-spacing: .04em; position: relative; padding: 6px 0; white-space: nowrap;
}
.site-nav > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--c-gold-dp); transition: width .3s var(--ease);
}
.site-nav > a:hover { color: var(--c-navy); }
.site-nav > a:hover::after { width: 100%; }
.nav-cta {
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  padding: 11px 22px; border-radius: 999px;
  background: var(--c-navy); color: #fff !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--c-navy-dk); color: #fff !important; }
.nav-sns { display: none; }

/* ハンバーガー */
.site-burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  position: relative; padding: 0;
}
.site-burger span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--c-navy);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.site-burger span:nth-child(1) { top: 15px; }
.site-burger span:nth-child(2) { top: 21px; }
.site-burger span:nth-child(3) { top: 27px; }
.site-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-backdrop {
  position: fixed; inset: 0; background: rgba(14,35,80,.36); z-index: 90;
  opacity: 0; transition: opacity .3s var(--ease);
}
.site-backdrop.is-open { opacity: 1; }

/* ============================================================
   5. ヒーロー
============================================================ */
.hero {
  position: relative; min-height: clamp(560px, 88vh, 860px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,0) 26%),
    linear-gradient(270deg, rgba(255,252,253,.50) 0%, rgba(255,252,253,.14) 40%, rgba(255,252,253,0) 64%);
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding: 0 var(--gut);
  display: flex; justify-content: flex-end;
}
.hero-copy { text-align: right; }
.hero-tagline {
  font-family: var(--f-serif); font-weight: 700;
  color: var(--c-navy);
  writing-mode: vertical-rl; text-orientation: upright;
  white-space: nowrap;                 /* 縦書きで1列に（改行させない） */
  font-size: clamp(22px, 3.05vw, 37px);
  letter-spacing: .08em; line-height: 1.5;
  height: auto; margin: 0 0 0 auto;    /* 右寄せ・縦はヒーロー中央（align-items:center） */
  text-shadow: 0 2px 18px rgba(255,255,255,.6);
}
.hero-tagline .em { color: var(--c-gold-dp); }
.hero-sub {
  writing-mode: vertical-rl;
  font-family: var(--f-serif); color: var(--c-navy-dk);
  font-size: 14px; letter-spacing: .3em; line-height: 2;
  height: 200px; margin-top: 24px;
  opacity: .9;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 3; font-family: var(--f-en); font-size: 10px; letter-spacing: .3em;
  color: var(--c-navy); text-transform: uppercase; writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: ""; display: block; width: 1px; height: 46px; margin: 10px auto 0;
  background: linear-gradient(var(--c-navy), transparent);
  animation: scrollline 1.9s var(--ease) infinite;
}
@keyframes scrollline { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }
@media (prefers-reduced-motion: reduce) { .hero-scroll::after { animation: none; } }

/* ============================================================
   6. 理念（フィロソフィ）
============================================================ */
.philosophy { position: relative; overflow: hidden; }
.philosophy .container { position: relative; z-index: 2; max-width: 880px; text-align: center; }
.philo-mark {
  font-family: var(--f-serif); color: var(--c-navy);
  font-size: clamp(24px, 3.8vw, 40px); letter-spacing: .1em; line-height: 1.6;
  white-space: nowrap;                 /* PCでは「価値を。」まで1行に */
  margin-bottom: 36px;
}
.philo-mark .em { color: var(--c-gold-dp); }
.philo-body { color: var(--c-sub); font-size: clamp(15px,1.8vw,17px); line-height: 2.2;
  text-align: justify; text-justify: inter-character; word-break: auto-phrase; line-break: strict; }
.philo-body p { margin-inline: auto; max-width: 40em; }
.philo-deco {
  position: absolute; z-index: 0; pointer-events: none; opacity: .5;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(239,155,182,.20), transparent 70%);
}
.philo-deco.a { top: -60px; left: -60px; }
.philo-deco.b { bottom: -80px; right: -40px; background: radial-gradient(circle, rgba(239,155,182,.14), transparent 70%); }

/* ============================================================
   7. 代表挨拶（メッセージ）
============================================================ */
.message-grid {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.message-aside { position: relative; }
.message-calli { width: min(100%, 360px); margin-bottom: 28px; }
.message-photo {
  border-radius: 4px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(22,51,107,.14);
  border: 6px solid #fff;
}
.message-photo img { width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: center 28%; }
.message-profile {
  margin-top: 22px; background: var(--c-paper-2); border-radius: 4px;
  padding: 20px 22px; border-left: 3px solid var(--c-gold);
}
.message-profile h4 { font-family: var(--f-serif); color: var(--c-navy); font-size: 15px; letter-spacing: .12em; margin-bottom: 10px; }
.message-profile p { font-size: 13px; line-height: 1.95; color: var(--c-sub); }
.message-body .greet {
  font-family: var(--f-serif); font-size: clamp(20px,2.8vw,28px); color: var(--c-navy);
  line-height: 1.7; letter-spacing: .06em; margin-bottom: 28px;
}
.message-body p { font-size: 16px; line-height: 2.1; color: var(--c-ink); }
.message-sign {
  margin-top: 30px; text-align: right; font-family: var(--f-serif);
  color: var(--c-navy); letter-spacing: .14em;
}
.message-sign .role { font-size: 13px; color: var(--c-sub); letter-spacing: .2em; margin-right: 12px; }
.message-sign .name { font-size: 24px; }

/* ============================================================
   8. 事業紹介
============================================================ */
.biz-headline {
  text-align: center; font-family: var(--f-serif);
  font-size: clamp(22px, 3.6vw, 34px); color: var(--c-navy); letter-spacing: .1em;
  line-height: 1.6; margin-bottom: clamp(40px,5vw,60px);
}
.biz-headline .em { color: var(--c-gold-dp); }
.biz-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(22px, 3vw, 36px);
}
.biz-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(22,51,107,.12); }
.biz-card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.biz-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.biz-card:hover .biz-card-img img { transform: scale(1.05); }
.biz-card-no {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--f-en); font-size: 11px; font-weight: 600; letter-spacing: .2em;
  color: #fff; background: rgba(22,51,107,.85); padding: 5px 12px; border-radius: 999px;
}
.biz-card-body { padding: 26px 28px 30px; flex: 1; }
.biz-card-body h3 {
  font-family: var(--f-serif); font-size: 21px; color: var(--c-navy);
  letter-spacing: .1em; margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.biz-card-body h3::before { content: ""; width: 22px; height: 2px; background: var(--c-gold-dp); flex: 0 0 auto; }
.biz-card-body p { font-size: 14.5px; line-height: 2; color: var(--c-sub); }

.biz-illust { margin-top: clamp(40px,6vw,72px); text-align: center; }
.biz-illust img { width: min(100%, 1100px); margin-inline: auto; }

/* ============================================================
   9. 商品紹介
============================================================ */
.prod-block { margin-bottom: clamp(56px, 7vw, 96px); }
.prod-block:last-child { margin-bottom: 0; }
.prod-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.prod-block:nth-child(even) .prod-row { direction: rtl; }
.prod-block:nth-child(even) .prod-row > * { direction: ltr; }
.prod-figure { border-radius: 6px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.10); }
.prod-figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.prod-info .eyebrow { color: var(--c-gold); }
.prod-info h3 {
  font-family: var(--f-serif); font-size: clamp(21px,2.8vw,28px); color: var(--c-navy);
  letter-spacing: .08em; margin-bottom: 18px;
}
.prod-info p { font-size: 15px; line-height: 2.05; color: var(--c-sub); }
.prod-lineup { margin-top: 22px; border-top: 1px dashed var(--c-line); padding-top: 20px; }
.prod-lineup img { width: 100%; border-radius: 4px; }
.prod-lineup figcaption {
  margin-top: 10px; font-size: 12px; letter-spacing: .1em; color: var(--c-faint);
  font-family: var(--f-en); text-transform: uppercase;
}

/* ============================================================
   10. プレスリリース / ニュース
============================================================ */
.news-wrap { max-width: 880px; margin-inline: auto; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { border-bottom: 1px solid var(--c-line); }
.news-item:first-child { border-top: 1px solid var(--c-line); }
.news-link {
  display: grid; grid-template-columns: 130px 132px 1fr auto; gap: 18px; align-items: center;
  padding: 22px 8px; color: var(--c-ink);
}
.news-link:hover { color: var(--c-navy); background: rgba(251,234,240,.4); }
.news-date { font-family: var(--f-en); font-size: 14px; color: var(--c-sub); letter-spacing: .06em; }
.news-cat {
  justify-self: start; font-size: 11.5px; letter-spacing: .12em; color: #fff;
  background: var(--c-navy); padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.news-cat[data-cat="プレスリリース"] { background: var(--c-navy-dk); }
.news-cat[data-cat="メディア掲載"]   { background: var(--c-navy-lt); }
.news-cat[data-cat="商品情報"]       { background: var(--c-pink-dp); }
.news-title { font-size: 15.5px; font-weight: 500; line-height: 1.7; }
.news-arr { color: var(--c-gold); font-size: 18px; transition: transform .25s var(--ease); }
.news-link:hover .news-arr { transform: translateX(4px); }
.news-more { text-align: center; margin-top: 44px; }
.news-empty { text-align: center; color: var(--c-faint); padding: 40px 0; }

/* 一覧/個別ページ */
.page-hero {
  background: var(--c-navy); color: #fff; text-align: center;
  padding: clamp(56px,8vw,90px) var(--gut) clamp(40px,5vw,56px);
  position: relative; overflow: hidden;
}
.page-hero .eyebrow { color: var(--c-gold-lt); }
.page-hero h1 { font-family: var(--f-serif); font-size: clamp(26px,4vw,40px); letter-spacing: .12em; }
.page-hero .crumbs { margin-top: 16px; font-size: 12px; color: #b9c4dd; letter-spacing: .08em; }
.page-hero .crumbs a { color: #d7e0f2; }

.single-news { max-width: 800px; margin: clamp(48px,7vw,80px) auto; padding-inline: var(--gut); }
.single-news .meta { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.single-news h1 { font-family: var(--f-serif); font-size: clamp(22px,3.2vw,32px); color: var(--c-navy); line-height: 1.6; letter-spacing: .04em; margin-bottom: 10px; }
.single-news .entry { margin-top: 36px; line-height: 2.1; }
.single-news .entry h2 { font-family: var(--f-serif); color: var(--c-navy); font-size: 22px; margin: 1.8em 0 .8em; padding-left: 14px; border-left: 4px solid var(--c-gold); }
.single-news .entry h3 { color: var(--c-navy); font-size: 18px; margin: 1.6em 0 .6em; }
.single-news .entry img { border-radius: 4px; margin: 1em 0; }
.single-news .entry a { text-decoration: underline; }
.single-news .back { margin-top: 48px; text-align: center; }

/* ============================================================
   11. 会社概要
============================================================ */
.company-wrap { max-width: 880px; margin-inline: auto; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td { text-align: left; vertical-align: top; padding: 20px 8px; border-bottom: 1px solid var(--c-line); font-size: 15px; }
.company-table th {
  width: 200px; font-family: var(--f-serif); color: var(--c-navy); font-weight: 700;
  letter-spacing: .16em; white-space: nowrap;
}
.company-table td { color: var(--c-ink); line-height: 1.9; }
.company-table td .muted { color: var(--c-sub); font-size: 14px; }

/* ============================================================
   12. お問い合わせ
============================================================ */
.contact-cta { text-align: center; }
.contact-cta .lead { color: var(--c-sub); margin: 18px auto 32px; max-width: 40em; }
.contact-tel { margin-top: 26px; font-family: var(--f-en); }
.contact-tel a { font-size: clamp(28px,4vw,40px); color: var(--c-navy); font-weight: 600; letter-spacing: .04em; }
.contact-tel small { display: block; font-family: var(--f-sans); font-size: 12px; color: var(--c-faint); letter-spacing: .16em; margin-top: 4px; }

.contact-form { max-width: 720px; margin: 0 auto; }
.form-row { margin-bottom: 24px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; color: var(--c-navy); margin-bottom: 8px; letter-spacing: .04em; }
.form-row .req { color: var(--c-gold-dp); font-size: 12px; margin-left: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--c-ink);
  padding: 14px 16px; border: 1.5px solid var(--c-line); border-radius: 4px; background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--c-navy); box-shadow: 0 0 0 3px rgba(22,51,107,.10);
}
.form-row textarea { min-height: 160px; resize: vertical; }
.form-row.has-error input, .form-row.has-error select, .form-row.has-error textarea { border-color: var(--c-red); }
.form-error { color: var(--c-red); font-size: 13px; margin-top: 6px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { text-align: center; margin-top: 12px; }
.form-note { font-size: 13px; color: var(--c-faint); text-align: center; margin-top: 18px; }
.form-notice { padding: 18px 22px; border-radius: 4px; margin-bottom: 30px; font-size: 14.5px; }
.form-notice.ok  { background: #eef7f0; border: 1px solid #bfe0c8; color: #1f7a3d; }
.form-notice.ng  { background: #fdeef0; border: 1px solid #f3c5cc; color: #b3232f; }
.contact-success { text-align: center; padding: 30px 0; }
.contact-success h3 { font-family: var(--f-serif); color: var(--c-navy); font-size: 24px; margin-bottom: 14px; }

/* ============================================================
   13. フッター（VESPER SYSTEM 署名）
============================================================ */
.site-footer { background: var(--c-navy-dk); color: #c7d2e8; }
.footer-main { padding: clamp(48px,6vw,72px) var(--gut) 40px; max-width: var(--maxw); margin-inline: auto; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.footer-brand .footer-logo { height: 44px; width: auto; margin-bottom: 18px; }
.footer-brand .f-addr { font-size: 13.5px; line-height: 1.95; color: #aebbd6; }
.footer-brand .f-addr strong { color: #fff; font-size: 15px; letter-spacing: .08em; display: inline-block; margin-bottom: 6px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.footer-nav a { font-size: 13.5px; color: #c7d2e8; padding: 5px 0; display: inline-block; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px var(--gut); max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: #8ea0c4; letter-spacing: .04em; font-family: var(--f-en); }

/* VESPER SYSTEM 署名帯 */
.vesper-bar {
  background: #0a1838; border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px var(--gut);
}
.vesper-inner { max-width: var(--maxw); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vesper-sign { display: flex; align-items: center; gap: 10px; }
.vesper-sign img { height: 22px; width: auto; opacity: .9; }
.vesper-sign span { font-family: var(--f-en); font-size: 11px; letter-spacing: .24em; color: #9fb0d4; text-transform: uppercase; }
.vesper-rid img { height: 26px; width: auto; opacity: .82; }

/* ============================================================
   14. リビールアニメーション
   prefers-reduced-motion 時は「移動なし・フェードのみ」
============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity .6s ease; }
}

/* ============================================================
   15. レスポンシブ
============================================================ */
@media (max-width: 980px) {
  .message-grid { grid-template-columns: 1fr; }
  .message-aside { max-width: 460px; margin-inline: auto; }
  .prod-row, .prod-block:nth-child(even) .prod-row { grid-template-columns: 1fr; direction: ltr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .header-inner { height: 64px; }
  .site-logo-img { height: 34px; }
  .site-burger { display: block; }
  .header-right { gap: 0; }

  /* ドロワー */
  .site-nav {
    position: fixed; top: 0; right: 0; z-index: 95;
    width: min(82vw, 340px); height: 100%; height: 100dvh;
    background: var(--c-paper);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 84px 28px calc(28px + env(safe-area-inset-bottom));
    box-shadow: -12px 0 36px rgba(0,0,0,.16);
    transform: translateX(100%); transition: transform .34s var(--ease);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav > a {
    font-size: clamp(15px, 4.4vw, 17px); padding: 17px 4px;
    border-bottom: 1px solid var(--c-line-2); min-height: 44px; display: flex; align-items: center;
  }
  .site-nav > a::after { display: none; }
  .nav-cta {
    margin-top: 22px; text-align: center; justify-content: center;
    padding: 15px 22px; border-bottom: 0 !important;
  }
  .nav-sns { display: flex; gap: 16px; margin-top: auto; padding-top: 24px; flex-shrink: 0; }
  .nav-sns a { color: var(--c-navy); }
  .nav-sns svg { width: 24px; height: 24px; }

  .hero { min-height: 78vh; }
  .hero-inner { justify-content: center; }
  .hero-copy { text-align: center; }
  .hero-tagline {
    writing-mode: horizontal-tb; text-orientation: mixed; white-space: normal;
    height: auto; font-size: clamp(26px, 7.2vw, 38px); letter-spacing: .06em; line-height: 1.5;
    text-align: center;
  }
  .philo-mark { white-space: normal; }   /* スマホ／タブレットは折り返し可 */
  .hero-sub { writing-mode: horizontal-tb; height: auto; margin: 18px auto 0; text-align: center; letter-spacing: .14em; font-size: 13px; line-height: 1.9; }

  .biz-grid { grid-template-columns: 1fr; }
  .news-link { grid-template-columns: 92px 1fr; grid-template-areas: "date cat" "title title"; gap: 6px 12px; row-gap: 8px; padding: 18px 4px; }
  .news-date { grid-area: date; }
  .news-cat { grid-area: cat; }
  .news-title { grid-area: title; }
  .news-arr { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .vesper-inner { flex-direction: column; gap: 14px; }
  .company-table th { width: 130px; letter-spacing: .08em; font-size: 14px; }
}

@media (max-width: 430px) {
  :root { --gut: 18px; }
  body { font-size: 15.5px; }
  .section { padding-block: 56px; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 8px 4px; border: 0; }
  .company-table th { padding-top: 18px; border-top: 1px solid var(--c-line); }
  .company-table tr:first-child th { border-top: 0; }
  .footer-nav { grid-template-columns: 1fr; }
}

/* WordPress コア */
.screen-reader-text { position: absolute; left: -9999px; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
img.alignright { float: right; margin: 0 0 1em 1.5em; }
img.alignleft { float: left; margin: 0 1.5em 1em 0; }
