/*
Theme Name: Fun it Corporate
Theme URI: https://www.fun-it.net/
Author: Fun it株式会社
Author URI: https://www.fun-it.net/
Description: Fun it コーポレートサイト カスタムテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: funit
*/

/* ============================================================
   Fun it コーポレートサイト - メインスタイル
   テーマカラー: Blue #1A78C2 / Orange #F5A500 / Gray #555
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ── リセット & 基本 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:       #1A78C2;
  --blue-dark:  #115a96;
  --blue-light: #e8f3fc;
  --orange:     #F5A500;
  --orange-dark:#d48c00;
  --gray-dark:  #3a3a3a;
  --gray:       #555555;
  --gray-mid:   #888888;
  --gray-light: #f5f7fa;
  --bg-light:   #f5f7fa;
  --white:      #ffffff;
  --border:     #e0e6ef;
  --shadow:     0 4px 24px rgba(26,120,194,0.10);
  --radius:     10px;
  --radius-lg:  18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  color: var(--gray-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
  line-height: 1.4;
  color: var(--gray-dark);
  margin-bottom: 16px;
}

.section-header {
  text-align: left;
  margin-bottom: 32px;
}

.section-sub {
  font-size: 15px;
  color: var(--gray-mid);
  max-width: 540px;
}

.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── ボタン ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(245,165,0,0.35);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,165,0,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ヒーロー写真背景上のアウトラインボタン */
.hero .btn-outline {
  background: rgba(255,255,255,0.7);
  color: var(--blue);
  border: 2px solid var(--blue);
  backdrop-filter: blur(8px);
}
.hero .btn-outline:hover {
  background: var(--blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── バッジ ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-orange { background: #fff4d6; color: var(--orange-dark); }
.badge-white { background: rgba(255,255,255,0.2); color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.header-logo img { height: 36px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.header-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  position: relative;
  transition: color .2s;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .2s;
}
.header-nav a:hover { color: var(--blue); }
.header-nav a:hover::after { width: 100%; }

.header-cta { display: flex; gap: 10px; align-items: center; }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-dark);
  border-radius: 2px;
  transition: all .3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  /* 背景画像は front-page.php のインラインスタイルで設定 */
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.28) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to top, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-tag::before {
  content: '📍';
  font-size: 14px;
}

.hero-title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.65), 0 1px 4px rgba(0,0,0,0.5);
}

.hero-title .highlight {
  color: #7dd3fc;
  position: relative;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 6px;
  background: rgba(245,185,0,0.38);
  z-index: -1;
}

.hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.90);
  margin-bottom: 36px;
  line-height: 1.8;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.4);
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-trust-item::before {
  content: '✓';
  color: #7dd3fc;
  font-weight: 700;
}

/* ── Hero centered layout (cards removed) ── */
.hero-center {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-center .hero-cta {
  justify-content: center;
}
.hero-center .hero-trust {
  justify-content: center;
  flex-wrap: wrap;
}

/* ヒーロービジュアル */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  position: relative;
}

.hero-illust {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, var(--blue-light) 0%, #daeeff 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.hero-illust svg {
  width: 100%;
  height: 100%;
}

.hero-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-stat-item {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 14px;
  text-align: center;
}
.hero-stat-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.2;
}
.hero-stat-label {
  font-size: 11px;
  color: var(--gray-mid);
  margin-top: 2px;
}

.hero-floating {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}
.hero-floating.top-right {
  top: -16px; right: -20px;
  animation-delay: 0s;
}
.hero-floating.bottom-left {
  bottom: 60px; left: -24px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ヒーロー バリューカードグリッド */
.hero-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 100%;
  align-content: center;
}

.hero-value-card {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius);
  padding: 24px 16px;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-top: 4px solid var(--blue);
  transition: transform 0.2s, background 0.2s;
}
.hero-value-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.96);
}
.hero-value-card:nth-child(even) { border-top-color: var(--orange); }

.hero-value-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 4px;
}
.hero-value-icon.blue   { background: var(--blue-light); color: var(--blue); }
.hero-value-icon.orange { background: #fff3d6;           color: var(--orange-dark); }

.hero-value-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-dark);
  line-height: 1.4;
}
.hero-value-sub {
  font-size: 11px;
  color: var(--gray-mid);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-value-grid { gap: 12px; }
  .hero-value-card { padding: 16px 12px; }
}

/* ============================================================
   PAIN POINTS（課題提起）
   ============================================================ */
.pain {
  background: var(--blue-light);
  color: var(--gray-dark);
}

.pain-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--gray-dark);
}

.pain-sub {
  font-size: 15px;
  color: var(--gray-mid);
  margin-bottom: 48px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.pain-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(26,120,194,0.06);
}

.pain-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.pain-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-dark);
}

.pain-cta {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.pain-cta-text {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 16px;
}
.pain-cta-text strong {
  color: var(--orange-dark);
  font-size: 18px;
}

/* ============================================================
   IT健康診断 CTA
   ============================================================ */
.shindan-cta {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.shindan-cta::before {
  content: '🩺';
  position: absolute;
  font-size: 160px;
  right: -20px; top: -20px;
  opacity: 0.08;
  transform: rotate(15deg);
}

.shindan-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.shindan-title {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  margin-bottom: 12px;
}

.shindan-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.8;
}

.shindan-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shindan-step {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.shindan-step-num {
  width: 36px; height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}

.shindan-step-text {
  font-size: 14px;
  font-weight: 600;
}
.shindan-step-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--gray-light); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto 1fr auto auto auto; /* icon / name / price / desc / features / btn / detail-link */
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid transparent;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 7;
  align-content: start;
}

.service-card .btn {
  align-self: end;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card.featured {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(26,120,194,0.18);
}

.service-featured-badge {
  position: absolute;
  top: -2px; right: -2px;
  background: var(--blue);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 0 var(--radius-lg) 0 var(--radius);
}

.service-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.service-card.featured .service-icon { background: var(--blue-light); }
.service-card:not(.featured) .service-icon { background: var(--gray-light); }

.service-name {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--gray-dark);
  text-align: center;
}

.service-price {
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}
.service-price strong {
  font-size: 16px;
}

.service-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.service-features li {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   IT利活用顧問 詳細
   ============================================================ */
.advisor-detail {
  background: var(--white);
}

.advisor-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.advisor-visual {
  position: relative;
}

.advisor-img {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #e8f3fc, #daeeff);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}

.advisor-targets {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.advisor-target {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.advisor-target::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
}

.advisor-content .section-title { margin-top: 12px; }

.advisor-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 32px;
}

.advisor-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray);
}

.advisor-list li .icon {
  width: 32px; height: 32px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* IT利活用顧問 4サービスカード */
.advisor-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.advisor-feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(26,120,194,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.advisor-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(26,120,194,0.13);
}

.advisor-feature-img {
  width: 100% !important;
  max-width: 280px !important;
  height: 200px !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: var(--radius);
  display: block;
}

.advisor-feature-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.advisor-feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

.advisor-feature-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   代表者プロフィール 写真カード
   ============================================================ */
.profile-photo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 28px rgba(26,120,194,0.12);
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.profile-photo-frame {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(26,120,194,0.18);
  border: 5px solid var(--blue);
  flex-shrink: 0;
}

.profile-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
}

.profile-photo-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.profile-photo-role {
  font-size: 12px;
  letter-spacing: 0.05em;
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 99px;
}

.profile-photo-name {
  font-size: 24px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: 0.06em;
}

.profile-photo-divider {
  width: 40px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 2px auto 0;
}

/* ============================================================
   VOICE（お客様の声）
   ============================================================ */
.voice { background: var(--gray-light); }

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.voice-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: all .3s;
}
.voice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.voice-quote {
  font-size: 48px;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.voice-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 20px;
}

.voice-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.voice-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.voice-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-dark);
}
.voice-company {
  font-size: 11px;
  color: var(--gray-mid);
  margin-top: 2px;
}

.voice-stars {
  color: var(--orange);
  font-size: 14px;
  margin-bottom: 8px;
}

/* ============================================================
   MID CTA
   ============================================================ */
.mid-cta {
  background: linear-gradient(135deg, #fff8e8 0%, #fff 50%, #e8f3fc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.mid-cta-text .title {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  margin-bottom: 8px;
}
.mid-cta-text .sub {
  font-size: 14px;
  color: var(--gray-mid);
}

.mid-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--white); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  height: 360px;
  background: linear-gradient(135deg, #e8f3fc, #fff8e8);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  position: relative;
}

.about-value {
  margin-top: 20px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
}

.about-value-text {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}
.about-value-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.about-content .section-title { margin-top: 12px; }

.about-desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 28px;
}

.about-company {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-company-row {
  display: flex;
  gap: 16px;
  font-size: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.about-company-row .label {
  width: 100px;
  font-weight: 700;
  color: var(--gray-dark);
  flex-shrink: 0;
}
.about-company-row .value { color: var(--gray); }

/* ============================================================
   NEWS
   ============================================================ */
.news { background: var(--gray-light); }

.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
  cursor: pointer;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--gray-light); }

.news-date {
  font-size: 13px;
  color: var(--gray-mid);
  white-space: nowrap;
  width: 90px;
  flex-shrink: 0;
}

.news-cat {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}
.news-cat.info { background: var(--blue-light); color: var(--blue); }
.news-cat.blog { background: #fff4d6; color: var(--orange-dark); }

.news-title-text {
  font-size: 14px;
  color: var(--gray-dark);
  font-weight: 500;
}

/* ============================================================
   FOOTER CTA
   ============================================================ */
.footer-cta {
  background: linear-gradient(135deg, #1A78C2 0%, #0ea5e9 50%, #38bdf8 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='28' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E") repeat;
  background-size: 60px 60px;
  pointer-events: none;
}

.footer-cta-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.footer-cta-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.90);
  margin-bottom: 36px;
}

.footer-cta-reassurance {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1e1e1e;
  color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo { margin-bottom: 14px; }
.footer-logo img { height: 28px; filter: brightness(0) invert(1); opacity: .7; }

.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-address {
  font-size: 12px;
  line-height: 1.9;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color .2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.4);
  transition: color .2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   にゃんいっと チャットボット
   ============================================================ */
.chatbot-widget {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
}

/* reCAPTCHA バッジをにゃんいっとと重ならないよう左下に移動＋縮小 */
.grecaptcha-badge {
  left: 14px !important;
  right: auto !important;
  transform: scale(0.8);
  transform-origin: bottom left;
}
@media (max-width: 600px) {
  .grecaptcha-badge { transform: scale(0.65); }
}

.chatbot-btn {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(26,120,194,0.40);
  transition: all .3s;
  position: relative;
}
.chatbot-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(26,120,194,0.50);
}

.nyanit-face {
  width: 52px; height: 52px;
}

.chatbot-bubble {
  position: absolute;
  bottom: 86px; right: 0;
  background: var(--white);
  border-radius: 16px 16px 0 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 12px 16px;
  width: 200px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-dark);
  animation: bubblePop .4s ease;
  line-height: 1.5;
  display: none;
}
.chatbot-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px; right: 16px;
  width: 0; height: 0;
  border: 8px solid transparent;
  border-top-color: var(--white);
  border-bottom: none;
}

@keyframes bubblePop {
  from { opacity: 0; transform: scale(.8) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.chatbot-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--orange);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.chatbot-window {
  position: absolute;
  bottom: 92px; right: 0;
  width: 320px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp .3s ease;
}
.chatbot-window.open { display: flex; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
  background: var(--blue);
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-header-avatar {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.chatbot-header-name {
  font-weight: 700;
  font-size: 14px;
}
.chatbot-header-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}

.chatbot-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  transition: color .2s;
}
.chatbot-close:hover { color: var(--white); }

.chatbot-body {
  padding: 16px;
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f9fbfe;
}

.chat-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.chat-msg-avatar {
  width: 30px; height: 30px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.chat-msg-bubble {
  background: var(--white);
  border-radius: 0 12px 12px 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  max-width: 220px;
}

.chatbot-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.chatbot-choice {
  background: var(--gray-light);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 9px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-dark);
  cursor: pointer;
  text-align: center;
  transition: all .2s;
}
.chatbot-choice:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  color: var(--blue);
}

.chatbot-input-row {
  display: flex;
  padding: 10px 12px 16px;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.chatbot-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  outline: none;
  font-family: inherit;
  color: var(--gray-dark);
}
.chatbot-input:focus { border-color: var(--blue); }
.chatbot-send-btn {
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 12px rgba(245,165,0,0.35);
  transition: background .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.chatbot-send-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245,165,0,0.45);
}

/* モバイル：チャットウィンドウを画面幅に収め、送信ボタンの見切れを防ぐ */
@media (max-width: 600px) {
  .chatbot-widget { bottom: 16px; right: 16px; }
  /* ウィンドウはビューポートに左右16pxで固定し、はみ出しを物理的に防ぐ */
  .chatbot-window {
    position: fixed;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    bottom: 100px;
  }
  .chatbot-bubble { width: auto; max-width: 240px; right: 0; }
  .chatbot-input { min-width: 0; }       /* flex子要素を縮小可能に */
  .chatbot-send-btn { flex-shrink: 0; padding: 8px 16px; }
}

/* ============================================================
   レスポンシブ3カラムグリッド（お客様の声・セミナー実績など）
   ============================================================ */
.grid-3-responsive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .grid-3-responsive { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3-responsive { grid-template-columns: 1fr; }
}

/* 採用セクションのCTAをモバイルで中央寄せ */
@media (max-width: 768px) {
  .recruit-cta {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

/* advisor：おすすめ対象＋CTA（モバイルでCTA中央寄せ） */
.advisor-target-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .advisor-target-cta { flex-direction: column; align-items: center; }
  .advisor-target-cta .advisor-targets { width: 100%; }
}

/* レスポンシブ2カラム（代表者プロフィール等） */
.grid-2-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) {
  .grid-2-responsive { grid-template-columns: 1fr; gap: 36px; }
}

.ny-typing-dots span {
  display: inline-block;
  width: 6px; height: 6px;
  background: #b0b8d0;
  border-radius: 50%;
  animation: ny-typing-dot 1s ease-in-out infinite;
  margin: 0 2px;
}
.ny-typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.ny-typing-dots span:nth-child(3) { animation-delay: 0.30s; }
@keyframes ny-typing-dot {
  0%,60%,100% { transform: translateY(0); }
  30% { transform: translateY(-4px); background: var(--blue); }
}

/* ============================================================
   IT健康診断ページ
   ============================================================ */
.shindan-page {
  min-height: 100vh;
  padding-top: 68px;
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.shindan-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 60px 0 80px;
  text-align: center;
}

.shindan-hero-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  margin-bottom: 12px;
}

.shindan-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.shindan-progress-area {
  max-width: 480px;
  margin: 0 auto;
}

.shindan-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.shindan-progress-bar {
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  overflow: hidden;
}

.shindan-progress-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 50px;
  transition: width .5s ease;
}

.shindan-main {
  max-width: 640px;
  margin: -32px auto 0;
  padding: 0 24px 80px;
  position: relative;
  z-index: 1;
}

.shindan-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  padding: 40px;
  margin-bottom: 20px;
}

.shindan-q-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}

.shindan-q-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-dark);
  line-height: 1.5;
  margin-bottom: 28px;
}

.shindan-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shindan-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all .2s;
  font-size: 15px;
  background: var(--white);
}
.shindan-option:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}
.shindan-option.selected {
  border-color: var(--blue);
  background: var(--blue-light);
  font-weight: 700;
}

.shindan-option-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.shindan-option.selected .shindan-option-radio {
  border-color: var(--blue);
  background: var(--blue);
}
.shindan-option.selected .shindan-option-radio::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
}

.shindan-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shindan-result {
  display: none;
}

.result-score-area {
  text-align: center;
  padding: 40px 0;
}

.result-score-circle {
  width: 160px; height: 160px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.result-score-num {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.result-score-label {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.result-score-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.result-score-desc {
  font-size: 15px;
  color: var(--gray);
  max-width: 400px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.result-issues {
  text-align: left;
  margin-bottom: 32px;
}

.result-issues-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--gray-dark);
}

.result-issue-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.result-issue-item.high { background: #fff0f0; color: #c00; }
.result-issue-item.mid  { background: #fff8e8; color: #a06000; }
.result-issue-item.low  { background: #f0faf0; color: #2a7a2a; }

/* ============================================================
   スクロールアニメーション
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (min-width: 901px) {
  .hero-title { white-space: nowrap; }
}

@media (max-width: 900px) {
  .hero-sub-br { display: none; }

  .hero-inner,
  .shindan-inner,
  .advisor-inner,
  .about-inner { grid-template-columns: 1fr; gap: 40px; }

  .pain-grid { grid-template-columns: 1fr 1fr; }

  .service-grid { grid-template-columns: 1fr; }

  .voice-grid { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: 1fr 1fr; }

  .advisor-features { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }

  .mid-cta-inner { flex-direction: column; text-align: center; align-items: center; }
  .mid-cta-btns { justify-content: center; width: 100%; }

  /* モバイル：ナビはハンバーガーで開閉するドロップダウンに */
  .header-nav { display: none; }
  .hamburger { display: flex; }

  /* ヘッダー右上のCTAボタンはモバイルでは隠す（メニュー内に集約） */
  .header-cta { display: none; }

  /* メニューを開いた状態 */
  .header.nav-open .header-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    padding: 8px 0;
  }
  .header.nav-open .header-nav li { width: 100%; }
  .header.nav-open .header-nav a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    border-bottom: 1px solid var(--bg-light);
  }
  .header.nav-open .header-nav a::after { display: none; }

  /* 最後のメニュー項目の下線は消す */
  .header.nav-open .header-nav li:last-child a { border-bottom: none; }

  /* ハンバーガー → ×アニメーション */
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .pain-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stat { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   固定ページ共通レイアウト
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 100px 0 60px;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  margin: 0 auto;
  max-width: 480px;
  line-height: 1.7;
}

.page-content-wrap {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  padding: 0 0 80px;
}

.page-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  padding: 48px;
  margin-top: -32px;
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .page-card { padding: 28px 20px; }
}

/* ============================================================
   サブページ共通フッター
   ============================================================ */
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-brand img {
  height: 32px !important;
  width: auto !important;
  max-width: 200px !important;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  object-fit: contain;
  flex-shrink: 0;
  align-self: flex-start;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.footer-nav a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover {
  color: #fff;
}
/* サブページフッターの2カラム上書き */
.footer .footer-inner:has(.footer-brand) {
  grid-template-columns: 2fr 1fr;
}
@media (max-width: 768px) {
  .footer .footer-inner:has(.footer-brand) {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   アクティブナビゲーション
   ============================================================ */
.header-nav li a.active {
  color: var(--blue);
  font-weight: 700;
}
.header-nav li a.active::after {
  width: 100%;
}

/* ============================================================
   Contact Form 7 スタイル
   ============================================================ */
.wpcf7-form dl {
  margin-bottom: 0;
}

.wpcf7-form dl + dl {
  margin-top: 4px;
}

.wpcf7-form dt,
.wpcf7-form dt label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 8px;
}

.wpcf7-form .pRed { color: #e00; margin-left: 4px; }

.wpcf7-form dd {
  margin: 0 0 20px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,120,194,0.12);
}

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

.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 36px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245,165,0,0.35);
  transition: all .2s;
  margin-top: 8px;
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,165,0,0.45);
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #e00;
  margin-top: 4px;
  display: block;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
  border-color: #e00;
}

.wpcf7-response-output {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: none !important;
}

.wpcf7-mail-sent-ok {
  background: #f0faf0;
  color: #2a7a2a;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
  background: #fff0f0;
  color: #c00;
}

/* ============================================================
   個別記事ページ
   ============================================================ */
.single-content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray);
  margin-bottom: 40px;
}

.single-content h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gray-dark);
  margin: 32px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--blue);
}

.single-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-dark);
  margin: 24px 0 8px;
}

.single-content p { margin-bottom: 16px; }

.single-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 16px 0;
}

.single-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.single-nav-prev a,
.single-nav-next a {
  color: var(--blue);
  font-weight: 600;
  transition: opacity .2s;
}
.single-nav-prev a:hover,
.single-nav-next a:hover { opacity: .7; }

.single-nav-prev { text-align: left; flex: 1; }
.single-nav-back { flex-shrink: 0; }
.single-nav-next { text-align: right; flex: 1; }

/* お問い合わせページ上部の説明 */
.contact-intro {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
}
.contact-intro strong { color: var(--blue); }

/* ============================================================
   チーム（メンバー紹介）
   ============================================================ */
.team-section { background: var(--bg); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 20px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(26,120,194,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(26,120,194,0.14);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  flex-shrink: 0;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.team-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 99px;
}
.team-role.coming {
  color: #888;
  background: #f0f0f0;
}

.team-bio {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  margin-top: 4px;
  text-align: left;
}

.team-message {
  font-size: 13px;
  color: var(--blue);
  font-style: italic;
  border-left: 3px solid var(--blue);
  padding-left: 10px;
  text-align: left;
  margin-top: 4px;
  line-height: 1.6;
}
.team-coming .team-message {
  color: #aaa;
  border-left-color: #ccc;
}

/* ============================================================
   新デザインシステム（コーポレートスタイル）
   ============================================================ */

/* セクションラベル・タイトル */
.sec-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.sec-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: var(--gray-dark);
  line-height: 1.3;
  padding-bottom: 20px;
  position: relative;
  margin-bottom: 48px;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Meiryo', sans-serif;
}

.sec-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 3px;
  background: var(--blue);
}

/* ナンバリングリスト */
.numbered-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.numbered-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.numbered-item-num {
  font-size: 42px;
  font-weight: 300;
  color: rgba(26,120,194,.18);
  line-height: 1;
  letter-spacing: -2px;
}

.numbered-item-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--gray-dark);
  margin-bottom: 10px;
}

.numbered-item-body {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.95;
}

/* ビジョングリッド */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.vision-card {
  background: #fff;
  padding: 40px 36px;
}

.vision-card-en {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.vision-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--gray-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.vision-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vision-list li {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
  padding-left: 14px;
  position: relative;
}

.vision-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .8em;
  width: 5px; height: 1px;
  background: var(--blue);
}

/* パーソンリスト */
.person-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.person-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.person-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.person-text {
  font-size: 15px;
  color: var(--gray-dark);
  font-weight: 500;
}

/* 応募ボックス */
.apply-box {
  border: 1px solid var(--border);
  padding: 56px 48px;
  text-align: center;
}

.apply-info {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.apply-info-item {
  border: 1px solid var(--border);
  padding: 14px 28px;
  text-align: center;
}

.apply-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 6px;
}

.apply-info-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--gray-dark);
}

/* 採用 チームカード 部署ラベル */
.team-dept {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 2px;
}

/* ジョブテーブル */
.job-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  margin-bottom: 64px;
}

.job-table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-mid);
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  width: 140px;
  vertical-align: top;
  white-space: nowrap;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.job-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--gray-dark);
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
}

.job-table tr:last-child th,
.job-table tr:last-child td {
  border-bottom: none;
}

/* sec-title をサブ見出しサイズで使う場合 */
h3.sec-title { font-size: clamp(18px, 2.5vw, 24px); margin-bottom: 32px; }

/* レスポンシブ */
@media (max-width: 768px) {
  .vision-grid { grid-template-columns: 1fr; }
  .vision-card { padding: 32px 24px; }
  .numbered-item { grid-template-columns: 48px 1fr; gap: 16px; }
  .numbered-item-num { font-size: 32px; }
  .apply-box { padding: 36px 24px; }
  .apply-info { flex-direction: column; align-items: center; }
  .job-table th { width: 100px; font-size: 10px; }
}

/* ============================================================
   ビジュアル向上 / Visual Enhancement
   ============================================================ */

/* ── bg-light セクション → 淡いブルーグラデーション ── */
section[style*="bg-light"],
div[style*="bg-light"] {
  background: linear-gradient(135deg, #eef5fd 0%, var(--bg-light) 100%) !important;
}

/* ── ページヒーロー ドットグリッドオーバーレイ ── */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }

/* ── Vision card カラートップボーダー ── */
.vision-card:nth-child(odd)  { border-top: 3px solid var(--blue); }
.vision-card:nth-child(even) { border-top: 3px solid var(--orange); }

/* ── Numbered item ホバー効果 ── */
.numbered-item {
  transition: background .2s;
  border-radius: 4px;
}
.numbered-item:hover {
  background: rgba(26,120,194,.03);
}
.numbered-item-num {
  transition: color .25s;
}
.numbered-item:hover .numbered-item-num {
  color: rgba(26,120,194,.30);
}

/* ── Apply box グラジエント + トップアクセント ── */
.apply-box {
  background: linear-gradient(160deg, #f4f9ff 0%, #fff 60%) !important;
  position: relative;
}
.apply-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, #38bdf8 100%);
}

/* ── Job table ホバー ── */
.job-table tr:hover td,
.job-table tr:hover th {
  background: #f4f9ff !important;
}

/* ── Person item ホバー ── */
.person-item { transition: background .15s, padding-left .2s; }
.person-item:hover {
  background: rgba(26,120,194,.04);
  padding-left: 8px;
  border-radius: 4px;
}

/* ── サービスカードの背景を微妙に変化 ── */
.service-card {
  background: linear-gradient(160deg, #fff 80%, #f8fbff 100%);
}

/* ── section 上部にカラーラインを引く装飾クラス ── */
.section-top-accent {
  border-top: 3px solid var(--blue);
}

/* ── team-card グラジエント ── */
.team-card {
  background: linear-gradient(160deg, #fff 60%, #f8fbff 100%);
}

/* ── page-card subtle gradient ── */
.page-card {
  background: linear-gradient(160deg, #fff 70%, #f8fbff 100%);
}

/* ── 写真プレースホルダー ── */
.photo-placeholder {
  background: linear-gradient(135deg, #e4e8ed 0%, #d0d5db 100%);
  width: 100%;
  min-height: 280px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #8a919c;
}
.photo-placeholder svg { opacity: .5; }
.photo-placeholder span { font-size: 12px; font-weight: 600; letter-spacing: 1px; }

/* ── 2カラム（写真＋テキスト）レイアウト ── */
.two-col-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.two-col-media:last-of-type { margin-bottom: 0; }

@media (max-width: 768px) {
  .two-col-media { grid-template-columns: 1fr; gap: 28px; }
}

/* ── 料金プラングリッド ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  margin-bottom: 20px;
}
.pricing-card {
  background: #fff;
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.pricing-card.recommended {
  background: var(--blue);
}
.pricing-plan-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 16px;
}
.pricing-card.recommended .pricing-plan-label { color: rgba(255,255,255,.65); }
.pricing-price {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
  color: var(--gray-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}
.pricing-card.recommended .pricing-price { color: #fff; }
.pricing-price-unit {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.pricing-card.recommended .pricing-price-unit {
  color: rgba(255,255,255,.65);
  border-bottom-color: rgba(255,255,255,.2);
}
.pricing-hours {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 8px;
}
.pricing-card.recommended .pricing-hours { color: #fff; }
.pricing-focus {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.8;
  margin-top: auto;
}
.pricing-card.recommended .pricing-focus { color: rgba(255,255,255,.82); }
.pricing-note {
  font-size: 12px;
  color: var(--gray-mid);
  margin-top: 12px;
  text-align: right;
}

/* ── ブレッドクラム ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,.4); }

/* ── サービス詳細リンク ── */
.service-detail-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}
.service-detail-link:hover { opacity: .75; }

@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── 全体的に sec-title のある白セクションに薄い上ボーダー ── */
section[style*="background:#fff"] .sec-label ~ .sec-title,
section[style*="background: #fff"] .sec-label ~ .sec-title {
  /* タイトル直前のセクションをわずかに区別 */
}

/* ── サブページフッターCTAグラジエント ── */
section[style*="linear-gradient(135deg,var(--blue)"] {
  position: relative;
  overflow: hidden;
}
section[style*="linear-gradient(135deg,var(--blue)"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
section[style*="linear-gradient(135deg,var(--blue)"] .container { position: relative; z-index: 1; }

/* ── vision-card: content padding refinement with left accent ── */
.vision-card {
  position: relative;
}
.vision-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 36px; right: 36px;
  height: 1px;
  background: transparent;
}
