/* ================================================
   株式会社キャリアート — メインスタイルシート
   ベースカラー: 現行サイト踏襲の青系統一（#1d2088 → #2254b3）
   ================================================ */

/* ----------------------------------------
   カスタムプロパティ
   ---------------------------------------- */
:root {
  --brand-primary: #2254b3;  /* プライマリ青（ボタン・強調） */
  --brand-mid: #1d2088;      /* 濃紺（グラデ開始・ダーク基調） */
  --brand-accent: #0068b7;   /* 見出し青（.section-title 等） */
  --brand-dark: #1d2088;     /* 濃紺（ヒーロー背景・フッター想定色） */
  --brand-light: #b1d9f6;    /* ライト水色（MV 背景） */
  --brand-gradient: linear-gradient(135deg, #1d2088 0%, #2254b3 100%);
  --brand-gradient-subtle: linear-gradient(135deg, #1d2088 0%, #2254b3 100%);
  --heading: #121212;
  --text: #121212;
  --text-light: #6B6B6B;
  --bg-white: #FFFFFF;
  --bg-alt: #f0f9ff;
  --border: #e4e4e4;
  --color-bg-MV: #b1d9f6;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  --font-serif: 'Noto Serif JP', 'Yu Mincho', serif;
  --container: 1000px;
  --header-h: 60px;
}

/* ----------------------------------------
   リセット・ベース
   ---------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.6s ease;
}

body.scrolled { background-color: var(--bg-alt); }

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

/* ----------------------------------------
   共通レイアウト
   ---------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 5rem 0; position: relative; }

.section-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--brand-accent);
  text-align: center;
  margin-bottom: 0.3rem;
  letter-spacing: 0.08em;
}

.section-subtitle {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 3rem;
  font-weight: 500;
}

/* ----------------------------------------
   ヘッダー・グローバルナビ
   ---------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  transition: background 0.4s, box-shadow 0.4s;
}

/* ヘッダーは常に白背景（現行サイト踏襲）。
   `.is-top` クラスは JS が付与するが、透過スタイルは適用しない方針。 */

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.header-brand {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brand-primary);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: color 0.3s;
}

.gnav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.gnav a {
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  white-space: nowrap;
}

.gnav a:hover { color: var(--brand-primary); }

.gnav .gnav-cta {
  padding: 0.45rem 1.2rem;
  background: var(--brand-gradient-subtle);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gnav .gnav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(34,84,179,0.3);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------
   1. ヒーローセクション（グラデーション背景）
   ---------------------------------------- */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
  background: var(--brand-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,32,136,0.80) 0%, rgba(34,84,179,0.60) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 700px;
  padding: 0 2rem;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.hero-content p {
  font-size: clamp(0.85rem, 2vw, 1rem);
  line-height: 2;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* ----------------------------------------
   ボタン
   ---------------------------------------- */
.btn-white {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: #fff;
  color: var(--brand-primary);
  text-decoration: none;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
}

.btn-gradient {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--brand-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-cta {
  display: inline-block;
  padding: 1rem 3rem;
  background: #fff;
  color: var(--brand-primary);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
}

.btn-modal {
  display: block;
  width: fit-content;
  margin: 1.5rem auto 0;
  padding: 0.6rem 1.5rem;
  background: var(--brand-gradient);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.btn-modal:hover { opacity: 0.85; }

/* ----------------------------------------
   2. 理念セクション
   ---------------------------------------- */
.philosophy {
  text-align: center;
  padding: 6rem 0;
  background: var(--bg-white);
}

.philosophy-text {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 2.2;
}

.philosophy-text p + p { margin-top: 1.2rem; }

/* ----------------------------------------
   3. 事業紹介セクション
   ---------------------------------------- */
.services {
  background: var(--bg-alt);
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.services-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 660px;
  margin: 1.5rem auto 0;
}

.service-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(34,84,179,0.12);
}

.service-card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f1fb, #d4e4f5);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-body h3 {
  font-size: 1.05rem;
  color: var(--heading);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.service-card-body p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.card-more {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--brand-primary);
  font-weight: 600;
}

/* ----------------------------------------
   モーダル（事業詳細）
   ---------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active { display: flex; }

.modal {
  background: #fff;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}

.modal-close:hover { color: #333; }

.modal-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.modal h2 {
  font-size: 1.3rem;
  color: var(--heading);
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

.modal p { margin-bottom: 1rem; line-height: 2; }

/* ----------------------------------------
   4. プロジェクト紹介セクション
   ---------------------------------------- */
.projects {
  background: var(--bg-white);
  padding: 5rem 0;
}

.project-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.project-image {
  margin-bottom: 2rem;
  background: var(--brand-gradient);
  border-radius: 12px;
  padding: 2rem;
}

.project-image img {
  border-radius: 8px;
}

.project-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--heading);
  margin-bottom: 0.8rem;
}

.project-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

/* ----------------------------------------
   5. 会社概要セクション
   ---------------------------------------- */
.company {
  background: var(--bg-alt);
  padding: 5rem 0;
}

.company-table {
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: 0.9rem;
}

.company-table th {
  width: 28%;
  font-weight: 500;
  color: #fff;
  background: var(--brand-gradient);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.company-table td {
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.company-table td a {
  color: var(--brand-primary);
  text-decoration: none;
}

.company-table td a:hover { text-decoration: underline; }

/* ----------------------------------------
   6. CTA セクション
   ---------------------------------------- */
.cta {
  background: var(--brand-gradient);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.cta > .container { position: relative; }

.cta h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}

.cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

/* ----------------------------------------
   フッター
   ---------------------------------------- */
.footer {
  background: var(--bg-alt);
  color: var(--text-light);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--heading);
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
}

.footer-brand-en {
  font-size: 0.7rem;
  color: #aaa;
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

.footer-message {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.footer-links { margin-bottom: 1.5rem; }

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.8rem;
  margin: 0 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--brand-primary); }

.footer-copy {
  font-size: 0.7rem;
  color: #aaa;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
  margin-top: 0.8rem;
}

/* ----------------------------------------
   スクロールフェードインアニメーション
   ---------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------
   プレースホルダー画像
   ---------------------------------------- */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f1fb, #d4e4f5);
  color: #999;
  font-size: 0.8rem;
  text-align: center;
  border-radius: 8px;
}

/* ----------------------------------------
   contact.php — 小型ヒーロー
   ---------------------------------------- */
.hero-small {
  position: relative;
  height: 40vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--brand-gradient);
}

.hero-small h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #fff;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 2;
}

/* ----------------------------------------
   contact.php — フォーム
   ---------------------------------------- */
.contact-section {
  padding: 4rem 0;
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--heading);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}

.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.required { color: var(--brand-primary); }

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(34,84,179,0.12);
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233D3D3D' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 160px;
}

.form-note {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.form-actions { text-align: center; }

.form-submit-btn {
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  width: 100%;
  max-width: 300px;
}

.has-error .form-input {
  border-color: #e05252;
  box-shadow: 0 0 0 3px rgba(224,82,82,0.1);
}

.error-message {
  font-size: 0.8rem;
  color: #e05252;
  margin-top: 0.4rem;
}

.alert {
  padding: 1.5rem 2rem;
  border-radius: 8px;
  line-height: 1.8;
}

.alert p + p { margin-top: 0.3rem; }

.alert-success {
  background: #f0f9ff;
  border: 1px solid rgba(34,84,179,0.2);
  color: var(--text);
}

.alert-error {
  background: #fef2f2;
  border: 1px solid rgba(224,82,82,0.3);
  color: #e05252;
}

.info-card {
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-card h3 {
  font-size: 1rem;
  color: var(--heading);
  margin-bottom: 1rem;
  font-weight: 600;
}

.info-list { margin: 0; }

.info-list dt {
  font-size: 0.8rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-top: 0.8rem;
}

.info-list dt:first-child { margin-top: 0; }

.info-list dd {
  font-size: 0.9rem;
  margin: 0.2rem 0 0 0;
  line-height: 1.7;
}

/* ----------------------------------------
   parachannel ページ専用
   ---------------------------------------- */
.pillars {
  background: var(--bg-white);
  padding: 5rem 0;
}

.pillar-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.pillar-card {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.pillar-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--heading);
  margin: 1rem 0 0.8rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: left;
}

.pillar-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.column-feature {
  background: var(--brand-gradient);
  padding: 4rem 0;
  color: #fff;
  text-align: center;
}

.column-feature h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.05em;
}

.column-feature p {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  line-height: 2;
}

/* ----------------------------------------
   レスポンシブ
   ---------------------------------------- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .section-title { font-size: 1.4rem; }

  .hero { min-height: 420px; height: 70vh; }
  .hero-content h1 { font-size: 1.5rem; }

  /* ハンバーガー表示 */
  .hamburger { display: flex; }

  /* backdrop-filter は fixed 子孫の包含ブロックを作り .gnav の inset:0 をヘッダー帯に閉じ込めるため SP では解除 */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .gnav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 55;
  }

  .gnav.is-open { display: flex; }

  .gnav a {
    font-size: 1.1rem;
    color: var(--heading);
  }

  .site-header.is-top .hamburger.is-active span { background: var(--heading); }

  /* 事業紹介 */
  .services-grid,
  .services-grid-2 {
    grid-template-columns: 1fr;
    max-width: none;
  }

  /* 会社概要 */
  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
  }
  .company-table th {
    border-bottom: none;
    padding-bottom: 0.2rem;
    font-size: 0.75rem;
  }

  /* モーダル */
  .modal { padding: 2rem 1.5rem; }

  /* フォーム */
  .contact-grid { grid-template-columns: 1fr; }

  /* パラちゃんねる 3ピラー */
  .pillar-list { grid-template-columns: 1fr; }

  /* フッター */
  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }
}

/* =================================================
   ユーティリティ: SP 専用改行
   ================================================= */
.br-sp { display: none; }
@media (max-width: 768px) {
  .br-sp { display: inline; }
}

/* =================================================
   追加: 現行サイトの視覚要素移植（Phase 8）
   ================================================= */

/* ロゴ（header / footer 画像） */
.header-brand {
  display: block;
  line-height: 0;
}
.header-brand-img {
  display: block;
  height: 28px;
  width: auto;
}

.footer-logo {
  display: block;
  margin: 0 auto 0.8rem;
  height: 56px;
  width: auto;
}

/* =================================================
   .project-visual — MV構図（TOP用圧縮版 + parachannel用フル版）
   ================================================= */
.project-visual {
  position: relative;
  width: 100%;
  height: 90vw;
  margin: 0 auto;
  background-color: var(--color-bg-MV);
  overflow: hidden;
}
@media (min-width: 980px) {
  .project-visual { max-width: 1000px; height: 420px; border-radius: 12px; }
}

.project-visual--hero {
  max-width: none;
  height: 126vw;
  margin-top: 60px;
  border-radius: 0;
}
@media (min-width: 980px) {
  .project-visual--hero { height: 590px; }
}

.project-visual-catch {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 90vw;
  max-width: 475px;
  margin: 0 auto;
  transform: translateY(-50%);
  z-index: 3;
}
@media (min-width: 980px) {
  .project-visual-catch { width: 475px; }
}
.project-visual-catch img { width: 100%; height: auto; display: block; }

.project-visual-icons { position: absolute; inset: 0; pointer-events: none; }
.project-visual-icons .mv_icon {
  position: absolute;
  display: block;
  width: 18vw;
  height: 18vw;
  opacity: 0;
}
@media (min-width: 980px) {
  .project-visual-icons .mv_icon { width: 110px; height: 110px; }
}
.project-visual-icons .mv_icon img { width: 100%; height: auto; display: block; }

/* アイコン位置（TOP圧縮版、catch を囲む分布） */
.project-visual-icons .mv_icon_group-1-01 { top: 2%;  left: 5%; }
.project-visual-icons .mv_icon_group-1-02 { top: 32%; left: -3%; }
.project-visual-icons .mv_icon_group-1-03 { top: 68%; left: 4%; }
.project-visual-icons .mv_icon_group-2-01 { top: 3%;  left: 26%; }
.project-visual-icons .mv_icon_group-2-02 { top: 72%; left: 22%; }
.project-visual-icons .mv_icon_group-2-03 { top: 84%; left: 42%; }
.project-visual-icons .mv_icon_group-3-01 { top: 3%;  right: 26%; }
.project-visual-icons .mv_icon_group-3-02 { top: 84%; right: 42%; }
.project-visual-icons .mv_icon_group-3-03 { top: 72%; right: 22%; }
.project-visual-icons .mv_icon_group-4-01 { top: 2%;  right: 5%; }
.project-visual-icons .mv_icon_group-4-02 { top: 32%; right: -3%; }
.project-visual-icons .mv_icon_group-4-03 { top: 68%; right: 4%; }

/* ヒーロー用（フル版）アイコン位置 — entry.html 風 */
.project-visual--hero .project-visual-icons .mv_icon_group-1-01 { top: 2%;  left: 16%; }
.project-visual--hero .project-visual-icons .mv_icon_group-1-02 { top: 44%; left: -2%; }
.project-visual--hero .project-visual-icons .mv_icon_group-1-03 { top: 78%; left: 14%; }
.project-visual--hero .project-visual-icons .mv_icon_group-2-01 { top: 2%;  left: 38%; }
.project-visual--hero .project-visual-icons .mv_icon_group-2-02 { top: 80%; left: 40%; }
.project-visual--hero .project-visual-icons .mv_icon_group-2-03 { top: 88%; left: 60%; }
.project-visual--hero .project-visual-icons .mv_icon_group-3-01 { top: 2%;  right: 38%; }
.project-visual--hero .project-visual-icons .mv_icon_group-3-02 { top: 86%; right: 56%; }
.project-visual--hero .project-visual-icons .mv_icon_group-3-03 { top: 78%; right: 42%; }
.project-visual--hero .project-visual-icons .mv_icon_group-4-01 { top: 2%;  right: 16%; }
.project-visual--hero .project-visual-icons .mv_icon_group-4-02 { top: 44%; right: -2%; }
.project-visual--hero .project-visual-icons .mv_icon_group-4-03 { top: 78%; right: 14%; }

.project-visual--hero .project-visual-icons .mv_icon { width: 18vw; height: 18vw; }
@media (min-width: 980px) {
  .project-visual--hero .project-visual-icons .mv_icon { width: 130px; height: 130px; }
}

/* アニメ起動（.animated 付与時） */
.project-visual.animated .mv_icon_group-1 .mv_icon {
  animation: fade-1 2s 1.1s forwards, pop-1 2s 1.1s forwards, float-1 1.5s 3.2s infinite alternate ease-in-out;
}
.project-visual.animated .mv_icon_group-2 .mv_icon {
  animation: fade-1 2s 0.8s forwards, pop-2 2s 0.8s forwards, float-2 2s 2.9s infinite alternate ease-in-out;
}
.project-visual.animated .mv_icon_group-3 .mv_icon {
  animation: fade-1 2.1s 0.3s forwards, pop-2 2.1s 0.3s forwards, float-3 2s 2.5s infinite alternate ease-in-out;
}
.project-visual.animated .mv_icon_group-4 .mv_icon {
  animation: fade-1 2s 0.2s forwards, pop-1 2s 0.2s forwards, float-4 1.5s 2.3s infinite alternate ease-in-out;
}

/* =================================================
   キーフレーム（現行踏襲）
   ================================================= */
@keyframes float-1 { 0% { transform: translate(0,0); } 100% { transform: translate(0,-12px); } }
@keyframes float-2 { 0% { transform: translate(0,0); } 100% { transform: translate(0, 10px); } }
@keyframes float-3 { 0% { transform: translate(0,0); } 100% { transform: translate(0,-8px); } }
@keyframes float-4 { 0% { transform: translate(0,0); } 100% { transform: translate(0, 6px); } }
@keyframes pop-1 { 0% { transform: translate(0, 15px); } 40% { transform: translate(0,-15px); } 100% { transform: translate(0,0); } }
@keyframes pop-2 { 0% { transform: translate(0,-15px); } 40% { transform: translate(0, 15px); } 100% { transform: translate(0,0); } }
@keyframes fade-1 { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes clip-1 { 0% { clip-path: inset(0 0 100% 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes slide-2 { 0% { transform: translateY(30px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

/* =================================================
   3ピラー交互レイアウト（parachannel page 主要プロジェクト）
   ================================================= */
.pillars-rebuilt {
  background: var(--bg-white);
  padding: 5rem 0;
}
.pillars-subject {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  text-align: center;
  color: var(--heading);
  margin-bottom: 3rem;
  letter-spacing: 0.04em;
}
.pillar-item {
  margin: 3.5rem 0;
  opacity: 0;
}
.pillar-item.animated { animation: fade-1 1.2s 0.2s forwards; }
@media (min-width: 980px) {
  .pillar-item { display: flex; align-items: center; gap: 3rem; }
  .pillar-item > * { flex: 1; }
  .pillar-item--reverse { flex-direction: row-reverse; }
}
.pillar-image {
  position: relative;
  background: #f0f0f0;
  margin-bottom: 2.5rem;
}
@media (min-width: 980px) { .pillar-image { margin-bottom: 0; } }
.pillar-image > img {
  width: 100%;
  height: auto;
  display: block;
}
.pillar-item:nth-child(1).animated .pillar-image > img {
  animation: fade-1 1.2s 0.8s forwards, float-1 1.5s 1.6s infinite alternate ease-in-out;
}
.pillar-item:nth-child(2).animated .pillar-image > img {
  animation: fade-1 1.2s 0.8s forwards, float-2 1.5s 1.6s infinite alternate ease-in-out;
}
.pillar-item:nth-child(3).animated .pillar-image > img {
  animation: fade-1 1.2s 0.8s forwards, float-3 1.5s 1.6s infinite alternate ease-in-out;
}
.pillar-title-img {
  position: absolute;
  left: 16px;
  bottom: 0;
  transform: translateY(50%);
  height: 38px;
  width: auto;
  opacity: 0;
}
@media (min-width: 980px) { .pillar-title-img { height: 45px; } }
.pillar-item.animated .pillar-title-img {
  animation: fade-1 0.6s 1.2s forwards;
}
.pillar-text { font-size: 0.95rem; line-height: 2; color: var(--text); }

/* =================================================
   Mission / Vision / Value（slogan）
   ================================================= */
.slogan {
  background: var(--bg-alt);
  padding: 5rem 0;
}
.slogan-list {
  max-width: 900px;
  margin: 0 auto;
}
.slogan-item {
  padding: 2rem 0;
  opacity: 0;
}
.slogan-item.animated {
  animation: fade-1 1.1s forwards, slide-2 1s forwards ease-in-out;
}
.slogan-item:nth-child(1).animated { animation-delay: 0.3s, 0.2s; }
.slogan-item:nth-child(2).animated { animation-delay: 0.6s, 0.5s; }
.slogan-item:nth-child(3).animated { animation-delay: 0.9s, 0.8s; }
@media (min-width: 980px) {
  .slogan-item { display: flex; align-items: center; gap: 3rem; }
}
.slogan-circle {
  flex: none;
  width: 120px; height: 120px;
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.125em;
  font-size: 1rem;
}
@media (min-width: 980px) {
  .slogan-circle { width: 180px; height: 180px; margin: 0; font-size: 1.3rem; }
}
.slogan-text ul { list-style: none; padding: 0; margin: 0; }
.slogan-text li {
  position: relative;
  padding-left: 1em;
  margin: 0.5em 0;
  text-align: center;
  line-height: 1.8;
  font-size: 0.95rem;
}
@media (min-width: 980px) { .slogan-text li { text-align: left; } }
.slogan-text li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--brand-primary);
}

/* =================================================
   メッセージセクション
   ================================================= */
.message {
  background-image:
    repeating-linear-gradient(90deg, #e8e8e8 0 1px, transparent 1px 14px),
    repeating-linear-gradient(180deg, #e8e8e8 0 1px, transparent 1px 14px);
  padding: 5rem 0;
  position: relative;
}
@media (min-width: 980px) {
  .message {
    background-image:
      repeating-linear-gradient(90deg, #e8e8e8 0 2px, transparent 2px 26px),
      repeating-linear-gradient(180deg, #e8e8e8 0 2px, transparent 2px 26px);
  }
}
.message-title {
  writing-mode: vertical-rl;
  letter-spacing: 0.075em;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--heading);
  line-height: 1em;
  position: absolute;
  top: 70px;
  left: 20px;
  z-index: 2;
  opacity: 0;
}
.message-title.animated { animation: fade-1 0.6s 0.2s forwards; }
.message-title::before {
  content: '';
  display: block;
  width: 1px;
  height: 30px;
  background: var(--brand-primary);
  margin: 0 auto 0.8em;
}
.message-img {
  margin: 0 auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}
.message-img.animated {
  opacity: 1;
  transform: translateY(0);
}
.message-img img { width: 100%; height: auto; display: block; }
.message-body-wrap {
  position: relative;
  margin-top: -30px;
  padding: 2rem 1.5rem;
  background: linear-gradient(-65deg, rgba(125, 187, 234, 0.75) 0%, rgba(27, 116, 183, 0.75) 75%, rgba(44, 123, 183, 0.75) 100%);
  color: #fff;
  opacity: 0;
}
.message-body-wrap.animated { animation: fade-1 0.6s 0.5s forwards ease-in-out; }
@media (min-width: 980px) {
  .message-body-wrap { margin-top: -120px; padding: 80px 90px; }
}
.message-body-paragraph {
  margin-bottom: 1.5rem;
  line-height: 2;
  font-size: 0.95rem;
}
.message-body-paragraph:last-child { margin-bottom: 0; }
.message-sign {
  display: block;
  text-align: right;
  margin-top: 1.5rem;
}
.message-sign .job { font-size: 0.85rem; margin-right: 0.6em; }
.message-sign .name { font-size: 1.15em; font-weight: 700; }

/* =================================================
   project-teaser（軽量プロジェクト導線）
   ================================================= */
.project-teaser {
  background: var(--bg-alt);
  padding: 4rem 0;
}
.project-teaser .container { max-width: 900px; }
.project-teaser-head {
  text-align: center;
  margin-bottom: 2rem;
}
.project-teaser-head h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--heading);
  margin-bottom: 0.6rem;
  letter-spacing: 0.05em;
}
.project-teaser-head p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.9;
}
.project-teaser-cta {
  text-align: center;
  margin-top: 2rem;
}

/* =================================================
   privacy.php 読み物レイアウト
   ================================================= */
.privacy-section {
  padding: 4rem 0;
  background: var(--bg-white);
}
.privacy-section .container { max-width: 800px; }
.privacy-lead {
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 2rem;
  color: var(--text);
}
.privacy-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
.privacy-item:first-of-type { border-top: none; padding-top: 0; }
.privacy-item h2 {
  font-size: 1.1rem;
  color: var(--heading);
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.privacy-item p { font-size: 0.9rem; line-height: 2; margin-bottom: 1rem; }
.privacy-item ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.privacy-item li { font-size: 0.9rem; line-height: 1.9; margin: 0.3em 0; }
.privacy-note {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.9;
  text-align: right;
}

/* =================================================
   レスポンシブ追加ルール
   ================================================= */
@media (max-width: 767px) {
  .pillars-rebuilt { padding: 3.5rem 0; }
  .slogan { padding: 3.5rem 0; }
  .message { padding: 3.5rem 0; }
  .message-title { font-size: 1.3rem; top: 40px; left: 12px; }
  .project-teaser { padding: 3rem 0; }
  .privacy-section { padding: 3rem 0; }
}

