/*
Theme Name: Aoi Inc. Theme
Theme URI: https://aoi-it.co.jp
Author: Aoi Inc.
Description: Aoi Inc. カスタムテーマ
Version: 1.0.0
License: Private
Text Domain: aoi-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Noto+Serif+JP:wght@300;400;500&family=Noto+Sans+JP:wght@300;400;500&display=swap');

/* ===== VARIABLES ===== */
:root {
  --navy:       #5c6d8a;
  --navy-mid:   #8896b3;
  --navy-dark:  #3a4d6b;
  --gold:       #8a7a50;
  --gold-light: #a8966a;
  --light-gray: #f8f8f6;
  --mid-gray:   #9aa0ac;
  --text:       #4a4a4a;
  --white:      #ffffff;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== DESKTOP HEADER NAV ===== */
.header-nav {
  display: none;
  flex: 1;
  justify-content: flex-end;
  margin: 0;
}
.header-nav-list {
  display: flex;
  align-items: stretch;
  list-style: none;
  height: 60px;
  gap: 0;
}
.header-nav-list > li {
  position: relative;
  display: flex;
  align-items: stretch;
}
.header-nav-list > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  text-decoration: none;
  color: var(--text);
  background: transparent;
  transition: color 0.25s;
  white-space: nowrap;
  gap: 2px;
  border-bottom: 2px solid transparent;
  position: relative;
}
.header-nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  transition: left 0.25s, right 0.25s;
}
.header-nav-list > li > a:hover { color: var(--navy); }
.header-nav-list > li > a:hover::after { left: 0; right: 0; }

.nav-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: inherit;
}
.nav-en {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--mid-gray);
  transition: color 0.25s;
}
.header-nav-list > li > a:hover .nav-en { color: var(--gold); }

/* ドロップダウンサブメニュー */
.header-nav-has-sub { position: relative; }
.header-nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: var(--white);
  border-top: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(26,39,68,0.10);
  list-style: none;
  z-index: 999;
}
.header-nav-has-sub:hover .header-nav-sub { display: block; }
.header-nav-sub li a {
  display: block;
  padding: 12px 18px;
  font-size: 12px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.1em;
  border-bottom: 1px solid #f0f0ee;
  transition: all 0.2s;
}
.header-nav-sub li a:hover {
  color: var(--gold);
  padding-left: 22px;
  background: var(--light-gray);
}

/* デスクトップ（768px以上）：テキストナビ表示・MENU/TEL非表示 */
@media (min-width: 768px) {
  .header-nav  { display: flex; }
  .header-left { display: none !important; }
}

/* モバイル（767px以下）：MENU/TELのみ・テキストナビ非表示 */
@media (max-width: 767px) {
  .header-nav  { display: none !important; }
  .header-left { display: flex; }
}

/* ===== HEADER LOGO ===== */
.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0 12px 0 0;
  border-right: 1px solid #e8e8e6;
  margin-right: 4px;
}
.header-logo-img {
  height: 52px;
  width: auto;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid #e8e8e6;
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0 0 0 16px; /* ナビ右端はCTAボタンが担う */
  gap: 8px;
  overflow: hidden;
}

.header-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px 12px;
  background: none;
  border: none;
}
.menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: 0.3s;
}
.menu-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--mid-gray);
  display: block;
  text-align: center;
  margin-top: 2px;
}

.header-divider {
  width: 1px;
  height: 30px;
  background: #ddd;
  margin: 0 4px;
}

.tel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text);
}
.tel-btn svg { width: 18px; height: 18px; }
.tel-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--mid-gray);
  margin-top: 2px;
}

.header-cta { display: flex; }
.cta-btn {
  padding: 0 14px;
  height: 60px;
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.cta-btn:hover { opacity: 0.88; color: var(--white); }
.cta-btn.gold-accent { background: #7a2235; }
.cta-btn.navy-dark   { background: var(--navy); }

/* ===== NAV OVERLAY ===== */
.nav-overlay {
  position: fixed;
  top: 0; left: -100%;
  width: 80%; max-width: 320px;
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  transition: left 0.4s cubic-bezier(0.77,0,0.175,1);
  padding: 80px 40px 40px;
  box-shadow: 4px 0 20px rgba(0,0,0,0.08);
}
.nav-overlay.open { left: 0; }
.nav-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none; border: none;
  font-size: 24px; cursor: pointer;
  color: var(--text);
}
.nav-overlay ul { list-style: none; }
.nav-overlay ul li { border-bottom: 1px solid #eee; }
.nav-overlay ul li a {
  display: block;
  padding: 18px 0;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.nav-overlay ul li a:hover { color: var(--gold); }
.nav-overlay ul li a .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: var(--mid-gray);
  display: block;
  letter-spacing: 0.15em;
}

/* サブメニュー */
.nav-overlay .has-submenu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.nav-overlay .has-submenu > a .nav-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nav-overlay .has-submenu > a .nav-inner .en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: var(--mid-gray);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 2px;
}
.nav-overlay .has-submenu > a .nav-inner .ja {
  font-size: 14px;
  color: var(--text);
  display: block;
}
.nav-overlay .has-submenu > a::after {
  content: '›';
  flex-shrink: 0;
  font-size: 20px;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.3s;
  margin-left: 8px;
}
.nav-overlay .has-submenu.open > a::after {
  transform: rotate(90deg);
}
.nav-overlay .submenu {
  display: none;
  padding: 4px 0 8px 16px;
  border-left: 2px solid var(--gold);
  margin: 0 0 8px 8px;
}
.nav-overlay .submenu.open { display: block; }
.nav-overlay .submenu li {
  border-bottom: none;
}
.nav-overlay .submenu li a {
  padding: 10px 0;
  font-size: 13px;
  color: var(--mid-gray);
  letter-spacing: 0.1em;
}
.nav-overlay .submenu li a:hover { color: var(--gold); }
.overlay-bg {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
}
.overlay-bg.open { opacity: 1; pointer-events: all; }

/* ===== PAGE WRAPPER ===== */
.site-content { margin-top: 60px; }

/* ===== PAGE HERO (下層ページ用) ===== */
.page-hero {
  background: linear-gradient(160deg, #e8ecf0 0%, #dde3ec 50%, #e5e8e0 100%);
  padding: 64px 24px 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,200,230,0.4), transparent 70%);
  filter: blur(30px);
}
.page-hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);

  margin-bottom: 8px;
}
.page-hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 12px 24px;
  background: var(--white);
  border-bottom: 1px solid #eeeeec;
  font-size: 11px;
  color: var(--mid-gray);
  letter-spacing: 0.08em;
}
.breadcrumb a {
  color: var(--mid-gray);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ===== SECTIONS ===== */
.section { padding: 56px 24px; }
.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--mid-gray);

  margin-bottom: 8px;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.section-body {
  font-size: 14px;
  line-height: 2.2;
  color: #4a4a4a;
  font-weight: 300;
}

/* ===== TABLE ===== */
.aoi-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 13px;
}
.aoi-table th, .aoi-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8e8e6;
  text-align: left;
  line-height: 1.8;
  vertical-align: top;
}
.aoi-table th {
  width: 36%;
  color: var(--mid-gray);
  font-weight: 400;
  letter-spacing: 0.08em;
  background: var(--light-gray);
}
.aoi-table td { color: var(--text); font-weight: 300; }

/* ===== STEP LIST ===== */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  counter-reset: step;
}
.step-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e6;
  align-items: flex-start;
}
.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  min-width: 36px;
}
.step-content {}
.step-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--navy);
  letter-spacing: 0.05em;
}
.step-desc {
  font-size: 13px;
  line-height: 2;
  color: #6a6a6a;
  font-weight: 300;
}

/* ===== CASE CARDS (一覧) ===== */
.case-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}
.case-card {
  background: var(--white);
  border: 1px solid #e8e8e6;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: box-shadow 0.3s;
}
.case-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.case-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.case-card-body { padding: 20px; }
.case-card-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 3px 10px;
  background: var(--navy);
  color: var(--white);
  margin-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}
.case-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 8px;
}
.case-card-excerpt {
  font-size: 12px;
  color: var(--mid-gray);
  line-height: 1.8;
  font-weight: 300;
}
.case-card-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: var(--mid-gray);
  letter-spacing: 0.1em;
  margin-top: 10px;
}

/* ===== SINGLE POST ===== */
.post-content {
  padding: 40px 24px;
  font-size: 14px;
  line-height: 2.2;
  color: #4a4a4a;
}
.post-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px;
  font-weight: 500;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
  letter-spacing: 0.05em;
}
.post-content h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin: 28px 0 12px;
}
.post-content p { margin-bottom: 20px; }
.post-content img {
  margin: 24px 0;
  border: 1px solid #e8e8e6;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 13px;
}
.post-content table th,
.post-content table td {
  padding: 12px 14px;
  border: 1px solid #e8e8e6;
  line-height: 1.8;
  vertical-align: top;
}
.post-content table th {
  background: var(--light-gray);
  font-weight: 500;
  color: var(--navy);
}

/* 投稿メタ情報 */
.post-meta {
  font-size: 12px;
  color: var(--mid-gray);
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e6;
  letter-spacing: 0.05em;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: linear-gradient(160deg, #edf0f5 0%, #e8edf5 50%, #eceef4 100%);
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,215,235,0.3), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.contact-section .section-label { color: var(--gold); }
.contact-section .section-title { color: var(--navy-dark); }
.contact-section .section-body  { color: rgba(30,45,71,0.7); }
.contact-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 48px;
  background: var(--gold);
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s;
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.contact-btn:hover {
  background: transparent;
  color: var(--navy-dark);
  border-color: var(--navy-dark);
}

/* ===== ABOUT GRID ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.about-card {
  background: var(--light-gray);
  padding: 24px 16px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid #e8e8e6;
  transition: all 0.3s;
  display: block;
}
.about-card:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.about-card:hover .about-card-en { color: var(--gold-light); }
.about-card-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;

}
.about-card-ja { font-size: 13px; font-weight: 400; letter-spacing: 0.1em; }

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(160deg, #e8ecf4 0%, #e2e8f2 60%, #dde4f0 100%);
  padding: 56px 24px 36px;
  color: rgba(30,45,71,0.7);
  text-align: center;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 8px;
  text-decoration: none;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  filter: none;
  opacity: 0.9;
}
.footer-tagline {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 32px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 32px;
  justify-content: center;
}
.footer-links a {
  font-size: 12px;
  color: rgba(30,45,71,0.6);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(30,45,71,0.12);
  padding-top: 24px;
  font-size: 11px;
  color: rgba(30,45,71,0.45);
  letter-spacing: 0.1em;
}

/* ===== FADE IN ===== */
.fade-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-section.visible { opacity: 1; transform: translateY(0); }

/* ===== BG VARIANTS ===== */
.bg-light { background: var(--light-gray); }
.bg-navy  {
  background: linear-gradient(160deg, #f0f2f5 0%, #e8ecf2 40%, #eef0f4 100%);
}
.bg-light { background: #f8f8f6; }
.bg-white { background: var(--white); }

/* ===== HERO (トップページのみ) ===== */
.hero {
  position: relative;
  height: calc(100svh - 60px);
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(180,190,215,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 30% 60%, rgba(190,200,225,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 55% 25%, rgba(210,215,230,0.3) 0%, transparent 55%),
    linear-gradient(160deg, #f0f2f8 0%, #eaecf4 40%, #f2f3f8 100%);
}
.hero-blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: float 8s ease-in-out infinite;
}
.orb1 { width:300px;height:300px;background:radial-gradient(circle,rgba(170,185,220,0.5),transparent 70%);top:20%;left:55%; }
.orb2 { width:200px;height:200px;background:radial-gradient(circle,rgba(190,200,230,0.4),transparent 70%);top:50%;left:20%;animation-delay:-3s; }
.orb3 { width:150px;height:150px;background:radial-gradient(circle,rgba(200,195,225,0.35),transparent 70%);top:10%;left:30%;animation-delay:-5s; }
@keyframes float {
  0%,100% { transform:translate(0,0) scale(1); }
  33%      { transform:translate(15px,-20px) scale(1.05); }
  66%      { transform:translate(-10px,15px) scale(0.95); }
}
.hero-text {
  position:relative; z-index:10;
  text-align:left; padding:0 32px; width:100%;
  animation: fadeUp 1.2s ease both;
}

/* 2カラムレイアウト */
.hero-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}






/* 右側キャッチコピー */









/* 右側テキストアニメーション */
.hero-anim-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

















@keyframes lineIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-catch-line {
  width: 0;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
  animation: lineExpand 0.8s 2s ease forwards;
}
@keyframes lineExpand {
  from { width: 0; opacity: 0; }
  to   { width: 48px; opacity: 0.7; }
}

/* モバイルでは右側を非表示 */
@media (max-width: 767px) {
  .hero-inner { display: block; }
  .hero-inner .hero-text { width: 100%; padding: 0 24px; }
  .hero-right { display: none; }
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}
.hero-sub { font-family:'Cormorant Garamond',serif;font-size:12px;letter-spacing:0.08em;color:rgba(50,60,80,0.7);margin-bottom:16px; }
.hero-main { font-family:'Noto Serif JP',serif;font-size:28px;font-weight:300;line-height:1.6;color:rgba(30,40,60,0.85);letter-spacing:0.05em;margin-bottom:12px; }
.hero-tagline { font-size:13px;color:rgba(50,60,80,0.6);letter-spacing:0.12em;line-height:2; }
.hero-scroll { position:absolute;bottom:30px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;z-index:10;animation:fadeIn 2s 1s ease both; }
@keyframes fadeIn { from{opacity:0}to{opacity:1} }
.scroll-line { width:1px;height:40px;background:linear-gradient(to bottom,transparent,rgba(50,60,80,0.5));animation:scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine {
  0%,100% { transform:scaleY(0);transform-origin:top; }
  50%      { transform:scaleY(1);transform-origin:top; }
}
.scroll-text { font-size:9px;letter-spacing:0.25em;color:rgba(50,60,80,0.5); }

/* ===== INTRO ===== */
.intro-lead { font-family:'Noto Serif JP',serif;font-size:19px;font-weight:400;line-height:1.8;color:var(--text);letter-spacing:0.06em;margin-bottom:24px; }

/* ===== PROBLEMS ===== */
.problem-list { display:flex;flex-direction:column;gap:24px;margin-top:32px; }
.problem-card { border:1px solid #e0e0de;border-left:3px solid var(--navy-mid);padding:24px 20px;background:var(--white);transition:box-shadow 0.3s; }
.problem-card:hover { box-shadow:0 4px 24px rgba(0,0,0,0.06); }
.problem-num { font-family:'Cormorant Garamond',serif;font-size:13px;color:var(--gold);letter-spacing:0.2em;margin-bottom:8px; }
.problem-title { font-family:'Noto Serif JP',serif;font-size:15px;font-weight:500;line-height:1.6;margin-bottom:10px;color:var(--text); }
.problem-desc { font-size:13px;line-height:2;color:#6a6a6a;font-weight:300; }

/* ===== SERVICES ===== */
.service-grid { display:flex;flex-direction:column;gap:2px;margin-top:32px; }
.service-item { background:rgba(255,255,255,0.45);border:1px solid rgba(255,255,255,0.7);padding:24px 20px;cursor:pointer;transition:background 0.3s, box-shadow 0.3s;position:relative;text-decoration:none;display:block; }
.service-item:hover { background:rgba(255,255,255,0.7); box-shadow: 0 4px 20px rgba(44,62,94,0.08); }
.service-item::after { content:'→';position:absolute;right:20px;top:50%;transform:translateY(-50%);color:var(--gold);font-size:16px; }
.service-en { font-family:'Cormorant Garamond',serif;font-size:11px;letter-spacing:0.25em;color:var(--gold);margin-bottom:6px; }
.service-ja { font-size:15px;font-weight:400;color:var(--navy);letter-spacing:0.08em; }

/* ===== ABOUT LOGO ===== */
.about-logo { font-family:'Cormorant Garamond',serif;font-size:48px;font-weight:300;color:var(--navy);letter-spacing:0.1em;margin-bottom:8px; }
.about-tagline-txt { font-size:12px;letter-spacing:0.15em;color:var(--mid-gray);margin-bottom:32px; }

/* ===== CASE FILTER ===== */
.case-filter { display:flex;flex-wrap:wrap;gap:8px;padding-bottom:24px; }
.filter-btn { padding:8px 16px;border:1px solid #ddd;font-size:12px;letter-spacing:0.1em;color:var(--text);text-decoration:none;transition:all 0.2s; }
.filter-btn:hover,.filter-btn.active { background:var(--navy);color:var(--white);border-color:var(--navy); }

/* ===== PAGINATION ===== */
.page-numbers { display:inline-block;padding:8px 14px;margin:4px;border:1px solid #ddd;font-size:13px;color:var(--text);text-decoration:none;transition:all 0.2s; }
.page-numbers:hover,.page-numbers.current { background:var(--navy);color:var(--white);border-color:var(--navy); }

/* ===== SINGLE POST PAGE ===== */

/* ヒーロー */
.single-hero { padding-bottom: 32px; }
.single-title {
  font-size: clamp(18px, 3vw, 32px);
  line-height: 1.5;
  max-width: 800px;
}
.single-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  color: var(--mid-gray);
  margin-top: 12px;
  letter-spacing: 0.08em;
}

/* アイキャッチ */
.single-thumbnail {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 40px;
}
.single-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e8e8e6;
}

/* 2カラムレイアウト */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
  .single-sidebar { order: -1; }
}

/* メインコンテンツ */
.single-main {}

/* カテゴリーバッジ */
.single-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e8e8e6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.single-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.single-cat-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}
.single-cat-badge:hover { opacity: 0.8; color: var(--white); }

/* 前後記事ナビ */
.single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.post-nav-btn {
  display: block;
  padding: 16px;
  border: 1px solid #e8e8e6;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  background: var(--white);
}
.post-nav-btn:hover {
  border-color: var(--gold);
  background: var(--light-gray);
}
.post-nav-btn.next { text-align: right; }
.nav-direction {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.nav-title {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text);
}

/* サイドバー */
.single-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-block {
  background: var(--light-gray);
  padding: 20px;
  border: 1px solid #e8e8e6;
}
.sidebar-back {
  display: block;
  font-size: 13px;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.sidebar-back:hover { color: var(--gold); }
.sidebar-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 12px;
}
.sidebar-cat-list { list-style: none; }
.sidebar-cat-list li { border-bottom: 1px solid #e0e0de; }
.sidebar-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  font-size: 13px;
  color: var(--text);
  transition: color 0.2s;
}
.sidebar-cat-link:hover,
.sidebar-cat-link.active { color: var(--gold); font-weight: 500; }
.sidebar-cat-count {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: var(--mid-gray);
}
.sidebar-recent { list-style: none; }
.sidebar-recent li { border-bottom: 1px solid #e0e0de; }
.sidebar-recent li:last-child { border-bottom: none; }
.sidebar-recent-item {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s;
}
.sidebar-recent-item:hover { opacity: 0.75; }
.sidebar-thumb {
  width: 56px;
  height: 42px;
  flex-shrink: 0;
  overflow: hidden;
}
.sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sidebar-recent-title {
  font-size: 12px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 4px;
}
.sidebar-recent-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  color: var(--mid-gray);
  letter-spacing: 0.08em;
}

/* post-contentの微調整（記事内） */
.post-content { font-size: 15px; }
.post-content h2 {
  margin-top: 48px;
}
.post-content img {
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ===== HERO 2カラム 再定義 ===== */
.hero-inner .hero-text {
  width: 55%;
  padding: 0 24px 0 48px;
  animation: fadeUp 1.2s ease both;
}
.hero-right {
  width: 45%;
  padding: 0 48px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeUp 1.4s 0.2s ease both;
  opacity: 0;
}
.hero-anim-line {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: rgba(30,45,71,0.35);
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(16px);
  white-space: nowrap;
}
.line1 {
  font-size: clamp(26px, 3.8vw, 56px);
  animation: lineIn 1s 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
}
.line2 {
  font-size: clamp(18px, 2.6vw, 38px);
  animation: lineIn 1s 1.4s cubic-bezier(0.22,1,0.36,1) forwards;
}

/* ===== バッジ上部表示 ===== */
.badge-top {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 32px;
}
.badge-top img {
  height: 48px;
  width: auto;
  opacity: 0.85;
}

/* ===== 事例：横並びテキストカード ===== */
.case-text-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid #e0e0de;
}
.case-text-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #e0e0de;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
}
.case-text-item:hover { background: rgba(0,0,0,0.015); }
.case-text-thumb {
  width: 100px;
  height: 70px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #e8e8e6;
}
.case-text-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-text-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--light-gray);
}
.case-text-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-text-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  transition: color 0.2s;
}
.case-text-item:hover .case-text-title { color: var(--navy); }
.case-text-excerpt {
  font-size: 12px;
  color: var(--mid-gray);
  line-height: 1.8;
  font-weight: 300;
}

/* ===== 事例：アイコン+タイトル+テキスト ===== */
.case-icon-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.case-icon-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 20px;
  border: 1px solid #e0e0de;
  border-left: 3px solid var(--navy-mid);
  background: var(--white);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.3s;
}
.case-icon-item:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.case-icon-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.case-icon-svg {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  max-width: 48px;
  flex-shrink: 0;
  color: var(--navy);
  opacity: 0.55;
}
.case-icon-svg svg {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px;
  display: block;
}
.case-icon-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.case-icon-body { flex: 1; }
.case-icon-excerpt {
  font-size: 13px;
  color: #5a5a5a;
  line-height: 2;
  font-weight: 300;
}
.case-icon-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  color: var(--mid-gray);
  margin-top: 10px;
  letter-spacing: 0.08em;
}

/* ===== 2カラム 分割レイアウト ===== */
.split-layout {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: start;
}
.split-left { min-width: 0; }
.split-right {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
}
.split-right > * {
  width: 100%;
}

/* 見出しの下のコンテンツだけ2カラム */
.split-content {
  margin-top: 24px;
  align-items: stretch !important;
  grid-auto-rows: 1fr;
}
.split-content .split-left,
.split-content .split-right {
  align-self: stretch;
}
.split-content .split-right {
  align-self: stretch;
}
.split-content .split-right > * {
  height: 100%;
  width: 100%;
}
/* 左側のリストもmarginをゼロにして上端を揃える */
.split-content .problem-list,
.split-content .service-grid {
  margin-top: 0;
}
@media (max-width: 900px) {
  .split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-right { order: -1; }
}

/* ===== SVGアニメーション（お悩み） ===== */
.anim-svg-wrap {
  width: 100%;
  height: 100%;
  padding: 16px;
  background: var(--light-gray);
  border-radius: 8px;
  border: 1px solid #e0e0de;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.anim-svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: visible;
  display: block;
  margin: 0 auto;
}

/* ===== SVG アニメーション - 完全JS制御 ===== */

/* 初期状態：全要素を非表示 */
[class^="sf-line"],
[class^="sf-rect"],
[class^="sf-path"],
.sf-circle-main {
  stroke-dashoffset: 999;
  opacity: 0;
}

/* svg-animateクラスが付いたら順番に描画 */
.svg-animate .sf-circle-main {
  animation: sfDraw 1s 0s cubic-bezier(0.4,0,0.2,1) forwards;
}
.svg-animate .sf-line-1 { animation: sfDraw 0.6s 0.6s ease forwards; }
.svg-animate .sf-line-2 { animation: sfDraw 0.6s 0.9s ease forwards; }
.svg-animate .sf-line-3 { animation: sfDraw 0.6s 1.2s ease forwards; }
.svg-animate .sf-line-4 { animation: sfDraw 0.6s 1.5s ease forwards; }
.svg-animate .sf-line-5 { animation: sfDraw 0.6s 1.8s ease forwards; }
.svg-animate .sf-line-6 { animation: sfDraw 0.6s 2.1s ease forwards; }
.svg-animate .sf-rect-1 { animation: sfDraw 0.8s 0.7s ease forwards; }
.svg-animate .sf-rect-2 { animation: sfDraw 0.8s 1.0s ease forwards; }
.svg-animate .sf-rect-3 { animation: sfDraw 0.8s 1.3s ease forwards; }
.svg-animate .sf-rect-4 { animation: sfDraw 0.8s 1.6s ease forwards; }
.svg-animate .sf-rect-5 { animation: sfDraw 0.8s 1.9s ease forwards; }
.svg-animate .sf-rect-6 { animation: sfDraw 0.8s 2.2s ease forwards; }
.svg-animate .sf-path-1 { animation: sfFade 0.5s 0.8s ease forwards; }
.svg-animate .sf-path-2 { animation: sfFade 0.5s 1.1s ease forwards; }
.svg-animate .sf-path-3 { animation: sfFade 0.5s 1.4s ease forwards; }
.svg-animate .sf-path-4 { animation: sfFade 0.5s 1.7s ease forwards; }
.svg-animate .sf-path-5 { animation: sfFade 0.5s 2.0s ease forwards; }
.svg-animate .sf-path-6 { animation: sfFade 0.5s 2.3s ease forwards; }
.svg-animate .sf-text   { animation: sfFade 0.8s 0.3s ease forwards; }

@keyframes sfDraw {
  from { stroke-dashoffset: 999; opacity: 0; }
  to   { stroke-dashoffset: 0;   opacity: 1; }
}
@keyframes sfFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 常時アニメーション */
.sf-dash-ring { animation: sfRotate 12s linear infinite; }
.sf-pulse     { animation: sfPulse 3s ease-in-out infinite; }
@keyframes sfRotate { to { transform: rotate(360deg); transform-origin: 200px 210px; } }
@keyframes sfPulse  { 0%,100% { opacity:0.05; r:90; } 50% { opacity:0.02; r:100; } }

/* ===== カウントアップ（サービス）改善 ===== */
.stats-wrap {
  width: 100%;
  height: 100%;
  padding: 0 0 0 32px;
  background: transparent;
  border: none;
  border-left: 2px solid var(--navy-mid);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.stats-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--navy-mid);
  margin-bottom: 28px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.stat-item {
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 20px;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-unit {
  font-size: 13px;
  color: var(--gold);
  margin-top: 4px;
  letter-spacing: 0.06em;
}
.stat-desc {
  font-size: 12px;
  color: var(--text);
  margin-top: 8px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.stat-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.stats-note {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  margin-top: 20px;
  text-align: right;
  letter-spacing: 0.08em;
}

/* sf-path・sf-textの初期状態 */
.sf-path-1,.sf-path-2,.sf-path-3,.sf-path-4,.sf-path-5,.sf-path-6,
.sf-text {
  opacity: 0;
}

/* ===== SF DIAGRAM CANVAS ===== */
.sf-diagram-wrap {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
  border: none;
  box-sizing: border-box;
  position: relative;
}
.sf-diagram-wrap canvas {
  display: block;
  max-width: 100%;
}
/* 古いanim-svg-wrapとanim-svgは非表示 */
.anim-svg-wrap { display: none !important; }

/* ============================================
   GOODPATCH STYLE - front-page
   ============================================ */

/* HERO */
.gp-hero {
  height: 100vh; min-height: 600px;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 6vw 8vh;
  position: relative; overflow: hidden;
  background: #f8f9fc;
}
#gp-hero-canvas {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.gp-cursor-glow {
  position: absolute; width: 340px; height: 340px;
  border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(92,109,138,0.08) 0%, transparent 70%);
  transform: translate(-50%,-50%); opacity: 0;
  transition: opacity .4s; will-change: transform;
}
.gp-hero-badge {
  position: absolute; top: 32px; right: 6vw;
  font-size: 10px; letter-spacing: .15em; color: #8896b3;
  border: 1px solid rgba(136,150,179,0.35); padding: 6px 14px;
  z-index: 2; opacity: 0;
  animation: gpFadeUp .8s .2s ease forwards;
}
.gp-hero-content { position: relative; z-index: 2; }
.gp-hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; letter-spacing: .3em; color: #999;
  text-transform: uppercase; margin-bottom: 28px;
  opacity: 0; animation: gpFadeUp .8s .3s ease forwards;
}
.gp-hero-title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -.02em; color: #1a1a1a;
  margin-bottom: 36px;
}
.gp-line {
  display: block; opacity: 0; transform: translateY(32px);
}
.gp-line:nth-child(1) { animation: gpSlideUp .9s .4s cubic-bezier(.16,1,.3,1) forwards; }
.gp-line:nth-child(2) { animation: gpSlideUp .9s .55s cubic-bezier(.16,1,.3,1) forwards; }
.gp-line:nth-child(3) { animation: gpSlideUp .9s .7s cubic-bezier(.16,1,.3,1) forwards; }
.gp-hero-title em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  color: #5c6d8a;
}
.gp-hero-sub {
  font-size: 13px; line-height: 2; color: #888;
  max-width: 360px; font-weight: 300;
  opacity: 0; animation: gpFadeUp .8s .9s ease forwards;
}
.gp-hero-scroll {
  position: absolute; right: 6vw; bottom: 8vh;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px; z-index: 2;
  opacity: 0; animation: gpFadeUp .8s 1.1s ease forwards;
}
.gp-hero-scroll span {
  font-size: 9px; letter-spacing: .2em; color: #bbb;
  text-transform: uppercase; writing-mode: vertical-rl;
}
.gp-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, #bbb);
  animation: gpScrollPulse 2s 1.5s ease-in-out infinite;
}

/* SECTIONS */
.gp-section {
  padding: 96px 6vw;
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
}
.gp-section--gray { background: #f8f9fc; }

.gp-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px; letter-spacing: .25em;
  color: #aaa; text-transform: uppercase; margin-bottom: 14px;
}
.gp-divider { width: 36px; height: 1px; background: #1a1a1a; margin-bottom: 20px; }
.gp-title {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 300; letter-spacing: -.01em;
  line-height: 1.2; margin-bottom: 48px; color: #1a1a1a;
}
.gp-body-text { font-size: 14px; line-height: 2.2; color: #666; font-weight: 300; }

/* REVEAL */
.gp-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.gp-reveal.visible { opacity: 1; transform: none; }

/* ABOUT */
.gp-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.gp-nums { display: flex; flex-direction: column; gap: 28px; }
.gp-num-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5.5vw, 68px);
  font-weight: 300; color: #1a1a1a; line-height: 1;
}
.gp-num-label { font-size: 10px; letter-spacing: .15em; color: #bbb; margin-top: 4px; text-transform: uppercase; }

/* SERVICES */
.gp-svc-list { border-top: 1px solid #eee; }
.gp-svc-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; border-bottom: 1px solid #eee;
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
  transition: all .25s;
}
.gp-svc-item::before {
  content: ''; position: absolute; left: 0; top: 0;
  height: 100%; width: 0;
  background: rgba(92,109,138,0.04);
  transition: width .3s ease;
}
.gp-svc-item:hover::before { width: 100%; }
.gp-svc-item:hover .gp-svc-name { color: #5c6d8a; transform: translateX(8px); }
.gp-svc-item:hover .gp-svc-arrow { transform: translateX(6px); color: #5c6d8a; }
.gp-svc-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px; letter-spacing: .2em; color: #bbb; width: 160px;
}
.gp-svc-name {
  font-size: 16px; font-weight: 300; color: #1a1a1a;
  letter-spacing: -.01em; transition: all .25s;
}
.gp-svc-arrow { font-size: 16px; color: #ccc; transition: all .25s; }

/* PROBLEMS */
.gp-prob-list { border-top: 1px solid #eee; }
.gp-prob-item {
  display: grid; grid-template-columns: 52px 1fr;
  gap: 24px; padding: 36px 0; border-bottom: 1px solid #eee; align-items: start;
}
.gp-prob-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px; color: #ccc; letter-spacing: .1em;
}
.gp-prob-title { font-size: 15px; font-weight: 400; margin-bottom: 8px; letter-spacing: -.01em; color: #1a1a1a; }
.gp-prob-desc { font-size: 13px; line-height: 1.9; color: #888; font-weight: 300; }

/* CASES */
.gp-case-list { border-top: 1px solid #e8e8e8; }
.gp-case-item {
  padding: 36px 0; border-bottom: 1px solid #e8e8e8;
  transition: opacity .2s;
}
.gp-case-item:hover { opacity: .7; }
.gp-case-tag {
  font-size: 9px; letter-spacing: .25em; color: #8896b3;
  text-transform: uppercase; margin-bottom: 10px;
}
.gp-case-title {
  font-size: 16px; font-weight: 300; color: #1a1a1a;
  margin-bottom: 10px; letter-spacing: -.01em;
}
.gp-case-desc { font-size: 12px; line-height: 1.9; color: #888; font-weight: 300; }

/* CTA */
.gp-cta {
  padding: 96px 6vw; text-align: center;
  background: #ffffff; border-top: 1px solid #f0f0f0;
}
.gp-cta-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300; letter-spacing: -.02em;
  margin-bottom: 40px; line-height: 1.15; color: #1a1a1a;
}
.gp-cta-title em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  color: #5c6d8a;
}
.gp-cta-btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: #1a1a1a; border: 1px solid #1a1a1a;
  padding: 14px 36px; text-decoration: none;
  transition: all .25s;
}
.gp-cta-btn:hover { background: #1a1a1a; color: #fafafa; }

/* ANIMATIONS */
@keyframes gpFadeUp   { to { opacity: 1; transform: none; } }
@keyframes gpSlideUp  { to { opacity: 1; transform: none; } }
@keyframes gpScrollPulse {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(.3); opacity: .4; }
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .gp-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .gp-svc-en { display: none; }
}

/* ===== HERO 追加スタイル ===== */

/* レイアウト：左テキスト＋右グラフィック */
.gp-hero {
  flex-direction: row !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  padding: 0 6vw 8vh !important;
  gap: 40px;
}
.gp-hero-content {
  flex: 0 0 auto;
  max-width: 52%;
  padding-bottom: 0;
}

/* ② AIスライドイン */
.gp-hero-ai {
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 24px;
  margin-top: -8px;
  opacity: 0;
  transform: translateX(48px);
  animation: gpSlideFromRight 1s 1.1s cubic-bezier(.16,1,.3,1) forwards;
}
.gp-hero-ai em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  color: #8a7a50;
}

/* ===== HERO INNER LAYOUT ===== */
.gp-hero {
  height: 100vh !important;
  min-height: 700px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  background: #f8f9fc;
}
.gp-hero-inner {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  gap: 0;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}
.gp-hero-content {
  padding: 0 6vw;
  position: relative;
  z-index: 2;
}

/* AI文言：右からスライドイン */
.gp-hero-ai {
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 300;
  color: #5c6d8a;
  letter-spacing: -.01em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateX(40px);
  animation: gpSlideFromRight .9s 1.1s cubic-bezier(.16,1,.3,1) forwards;
}
.gp-hero-ai em {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15em;
}

/* 右グラフィックエリア：高さいっぱいに */
.gp-hero-graphic {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  opacity: 0;
  animation: gpFadeUp 1s 1.3s ease forwards;
}
#gp-sphere-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@keyframes gpSlideFromRight {
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 900px) {
  .gp-hero-inner { grid-template-columns: 1fr; }
  .gp-hero-graphic { display: none; }
  .gp-hero-content { padding: 0 6vw; }
}

/* ===== HERO BADGE (画像版) ===== */
.gp-hero-badge {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}
.gp-hero-badge img {
  height: 32px;
  width: auto;
}

/* ===== HERO TITLE 4行対応 ===== */
.gp-line:nth-child(4) {
  animation: gpSlideUp .9s .85s cubic-bezier(.16,1,.3,1) forwards;
}

/* ===== 数字サフィックス ===== */
.gp-num-suffix {
  font-size: .32em;
  color: #888;
  font-weight: 300;
  margin-left: 4px;
  letter-spacing: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ===== サービスリスト ピルボタン風 ===== */
.gp-svc-pill {
  background: #ffffff !important;
  border: 1px solid #e8ecf0 !important;
  border-radius: 48px !important;
  padding: 18px 32px !important;
  margin-bottom: 10px;
  display: flex !important;
  align-items: center;
  transition: all .3s ease !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gp-svc-pill:hover {
  background: #5c6d8a !important;
  border-color: #5c6d8a !important;
  box-shadow: 0 4px 16px rgba(92,109,138,0.18);
}
.gp-svc-pill:hover .gp-svc-en,
.gp-svc-pill:hover .gp-svc-name,
.gp-svc-pill:hover .gp-svc-arrow {
  color: #fff !important;
  transform: none !important;
}
.gp-svc-pill .gp-svc-en {
  font-size: 13px !important;
  color: #8896b3 !important;
  width: auto !important;
  margin-right: 24px;
}
.gp-svc-pill .gp-svc-name {
  font-size: 15px !important;
  flex: 1;
}
.gp-svc-pill .gp-svc-arrow {
  font-size: 16px;
}
.gp-svc-list {
  border-top: none !important;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gp-svc-pill + .gp-svc-pill {
  border-top: none;
}

/* カウントアップ対応（data-targetがspan内に移動） */
.gp-num-big span[data-target] {
  font-family: 'Cormorant Garamond', serif;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* ===== キャッチコピー アニメーション ===== */
/* ITで〜：左からフェードイン */
.gp-line-left {
  display: block;
  opacity: 0;
  transform: translateX(-48px);
  animation: gpFadeLeft 1s .4s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes gpFadeLeft {
  to { opacity: 1; transform: translateX(0); }
}

/* AIで〜：下からフェードイン */
.gp-line-up {
  opacity: 0;
  transform: translateY(32px);
  animation: gpFadeUp .9s .9s cubic-bezier(.16,1,.3,1) forwards;
}

/* ===== キャッチコピー修正 ===== */
/* ① AIフェードイン遅延を1秒に */
.gp-line-up {
  animation-delay: 1s !important;
}

/* ② タイトルを1行に（折り返しなし） */
.gp-hero-title {
  font-size: clamp(28px, 4vw, 64px) !important;
  white-space: nowrap;
}
.gp-line-left {
  white-space: nowrap;
}
.gp-hero-ai {
  font-size: clamp(14px, 1.8vw, 22px) !important;
  white-space: nowrap;
}

/* ===== ヒーロー調整 ===== */
/* ① タイトルを上に2cm（約57px）移動 */
.gp-hero-title {
  margin-top: -57px !important;
}
/* ② Aoi Inc.ラベル非表示（PHP側で削除済みだが念のため） */
.gp-hero-label { display: none !important; }

/* ③ AIコピーのフォントサイズをタイトルと同じに */
.gp-hero-ai {
  font-size: clamp(28px, 4vw, 64px) !important;
  white-space: nowrap;
}

/* ④ hero-subを2行・1行ずつ表示 */
.gp-hero-sub {
  white-space: nowrap;
}

/* ① ② IT・AI 青文字 */
.gp-blue { color: #1589EE; }

/* ③ Partnerロゴ縦2cm（約57px）*/
.gp-hero-badge img { height: 57px !important; }

/* hero-sub フォントサイズ大きく */
.gp-hero-sub {
  font-size: 16px !important;
  line-height: 2 !important;
}

/* ④⑤⑥ prob-title・prob-desc フォント拡大 */
.gp-prob-title {
  font-size: 18px !important;
  margin-bottom: 10px !important;
}
.gp-prob-desc {
  font-size: 15px !important;
  line-height: 2 !important;
}
.gp-prob-num {
  font-size: 18px !important;
}

/* ⑦ セクションラベル：青・サイズ2倍 */
.gp-label {
  color: #1589EE !important;
  font-size: 22px !important;
  letter-spacing: .15em !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 500 !important;
}

/* ①②③ タイトル折り返し防止 */
.gp-title {
  white-space: nowrap;
}

/* ===== SERVICE CARDS ===== */
.gp-svc-cards {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-top: 48px;
}
.gp-svc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.gp-svc-card--reverse {
  direction: rtl;
}
.gp-svc-card--reverse > * {
  direction: ltr;
}

/* 左：円グラフィック */
.gp-svc-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.gp-svc-card-circles {
  position: relative;
  width: 260px;
  height: 260px;
}
.gp-svc-circle {
  position: absolute;
  border-radius: 50%;
}
.gp-svc-circle--a {
  width: 180px;
  height: 180px;
  top: 20px;
  left: 20px;
}
.gp-svc-circle--b {
  width: 160px;
  height: 160px;
  top: 60px;
  left: 80px;
}
.gp-svc-circle-label {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: .2em;
  color: #aaa;
  white-space: nowrap;
}

/* 右：テキスト */
.gp-svc-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.gp-svc-card-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: .1em;
  color: #1589EE;
  font-weight: 400;
}
.gp-svc-card-name {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -.01em;
  color: #1a1a1a;
  line-height: 1.2;
}
.gp-svc-card-desc {
  font-size: 15px;
  line-height: 2;
  color: #666;
  font-weight: 300;
}
.gp-svc-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1589EE;
  color: #fff;
  font-size: 14px;
  letter-spacing: .08em;
  padding: 14px 32px;
  border-radius: 48px;
  text-decoration: none;
  width: fit-content;
  transition: opacity .2s;
}
.gp-svc-card-btn:hover { opacity: .82; }

@media (max-width: 768px) {
  .gp-svc-card { grid-template-columns: 1fr; gap: 32px; }
  .gp-svc-card--reverse { direction: ltr; }
}

/* サービスカード Canvas */
.gp-svc-canvas {
  display: block;
  width: 100%;
  height: 220px;
  max-width: 320px;
  margin: 0 auto;
}

/* ===== PAIN POINTS BIG LIST ===== */
.gp-prob-biglist {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #eee;
  max-width: 900px;
  margin: 0 auto;
}
.gp-prob-bigitem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid #eee;
}
.gp-prob-bignum {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #1a1a1a;
  font-family: 'Noto Sans JP', sans-serif;
}
.gp-prob-bigsub {
  font-size: 15px;
  line-height: 2;
  color: #666;
  font-weight: 300;
}

@media (max-width: 768px) {
  .gp-prob-bigitem { grid-template-columns: 1fr; gap: 16px; }
}

/* Pain Points サブテキスト拡大 */
.gp-prob-bigsub { font-size: 17px !important; }

/* ① Pain Points 見出しを小さく */
.gp-prob-bignum {
  font-size: clamp(24px, 3vw, 42px) !important;
}

/* ② 左側にアクセント（青い角丸三角形） */
.gp-prob-bigitem {
  grid-template-columns: 80px 1fr 1fr !important;
  gap: 32px !important;
}
.gp-prob-bigitem::before {
  content: '';
  display: block;
  width: 52px;
  height: 52px;
  background: #1589EE;
  clip-path: polygon(50% 0%, 100% 85%, 0% 85%);
  border-radius: 8px;
  align-self: center;
  flex-shrink: 0;
}

/* Pain Points グリッドを3列に（アイコン・見出し・説明） */
.gp-prob-bigitem {
  grid-template-columns: 64px 1fr 1fr !important;
  align-items: center !important;
}
.gp-prob-bigitem::before { display: none !important; } /* 疑似要素を無効化 */
.gp-prob-accent {
  width: 52px;
  flex-shrink: 0;
}
.gp-prob-accent svg {
  width: 52px;
  height: 46px;
  display: block;
}

/* ===== CASES LAYOUT ===== */
.gp-cases-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.gp-cases-left { display: flex; flex-direction: column; align-items: flex-start; }
.gp-cases-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1a1a;
  color: #fff;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 16px 36px;
  text-decoration: none;
  transition: opacity .2s;
  margin-top: 8px;
}
.gp-cases-btn:hover { opacity: .78; }

/* 右：クライアントグリッド */
.gp-cases-right {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: #e0e4ec;
  border: 1px solid #e0e4ec;
  border-radius: 4px;
  overflow: hidden;
}
.gp-client-item {
  background: #fff;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 110px;
  transition: background .2s;
}
.gp-client-item:hover { background: #f4f7fc; }
.gp-client-name {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: .02em;
  margin-bottom: 6px;
}
.gp-client-tag {
  font-size: 10px;
  color: #1589EE;
  letter-spacing: .05em;
  font-weight: 300;
}

@media (max-width: 768px) {
  .gp-cases-layout { grid-template-columns: 1fr; gap: 40px; }
  .gp-cases-right { grid-template-columns: 1fr 1fr; }
}

/* クライアントタイル：業種のみ・フォント大きめ */
.gp-client-name {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  letter-spacing: .05em !important;
}

/* ===== MARQUEE (無限スクロール) ===== */
.gp-cases-right {
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 24px 0;
  /* マスクで両端をフェード */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.gp-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gp-marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: gpMarquee 28s linear infinite;
}
.gp-marquee-track--rev {
  animation: gpMarqueeRev 32s linear infinite;
}

.gp-marquee-tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: #1589EE;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .06em;
  border-radius: 48px;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
}
.gp-marquee-tag--outline {
  background: transparent;
  color: #1589EE;
  border: 1.5px solid #1589EE;
}

@keyframes gpMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes gpMarqueeRev {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ホバーで一時停止 */
.gp-cases-right:hover .gp-marquee-track {
  animation-play-state: paused;
}

/* ① 3行目マーキーをずらす */
.gp-marquee-track--offset {
  animation: gpMarqueeOffset 24s linear infinite !important;
}
@keyframes gpMarqueeOffset {
  0%   { transform: translateX(-15%); }
  100% { transform: translateX(-65%); }
}

/* ② 事例説明文を大きく */
.gp-cases-desc {
  font-size: 22px !important;
  line-height: 1.8 !important;
  color: #333 !important;
}

/* KPI 4項目対応：2列グリッドに */
.gp-nums {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 32px 24px !important;
}

/* ① サブテキスト（num-label）フォント倍に */
.gp-num-label {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #555 !important;
}

/* ② About本文フォント倍に */
.gp-about-grid .gp-body-text {
  font-size: 18px !important;
  line-height: 2.2 !important;
}

/* ④ 数字の色を#1589EEに */
.gp-num-big {
  color: #1589EE !important;
}
.gp-num-big span[data-target] {
  color: #1589EE !important;
}

/* ① 事例サブテキストをAboutに合わせる */
.gp-cases-desc {
  font-size: 18px !important;
  line-height: 2.2 !important;
  color: #333 !important;
}

/* ③ Contact Goodpatch風 */
.gp-contact-section {
  background: #1589EE;
  padding: 80px 6vw;
}
.gp-contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.gp-contact-card {
  background: #fff;
  border-radius: 8px;
  padding: 56px 40px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: transform .2s, box-shadow .2s;
}
.gp-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.gp-contact-card-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  color: #1589EE;
  letter-spacing: .02em;
  margin-bottom: 12px;
}
.gp-contact-card-sub {
  font-size: 14px;
  color: #1589EE;
  letter-spacing: .05em;
  font-weight: 300;
}

@media (max-width: 640px) {
  .gp-contact-cards { grid-template-columns: 1fr; }
}

/* ===== グローバル調整 ===== */

/* ① 全体フォントを2サイズ大きく（html root 16px→18px） */
html { font-size: 18px; }

/* ② ナビゲーションメニューを2サイズ大きく */
.nav-ja { font-size: 16px !important; }
.nav-en { font-size: 12px !important; }

/* ③ お問い合わせボタンを#1589EEに */
.cta-btn.gold-accent { background: #1589EE !important; }

/* ===== 本文テキスト一括拡大 ===== */
.gp-hero-sub,
.gp-body-text,
.gp-about-grid .gp-body-text,
.gp-svc-card-desc,
.gp-prob-bigsub,
.gp-cases-desc,
.footer-tagline,
.footer-links a,
.footer-bottom {
  font-size: 20px !important;
  line-height: 2.2 !important;
}

/* フッターはやや小さめに */
.footer-links a { font-size: 16px !important; }
.footer-bottom  { font-size: 14px !important; }
.footer-tagline { font-size: 16px !important; }

/* ① KPIラベル文字拡大 */
.gp-num-label { font-size: 18px !important; }

/* ===== CONTACT PAGE ===== */
.gp-contact-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 6vw 120px;
}

.gp-cp-hero {
  text-align: center;
  margin-bottom: 64px;
}
.gp-cp-hero .gp-divider {
  margin: 0 auto 20px;
}
.gp-cp-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -.02em;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.15;
}
.gp-cp-lead {
  font-size: 18px;
  line-height: 2;
  color: #666;
  font-weight: 300;
}

/* フォームコンテンツを中央に */
.gp-cp-form-wrap {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 56px 48px;
}
.gp-cp-form-wrap input,
.gp-cp-form-wrap textarea,
.gp-cp-form-wrap select {
  width: 100%;
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 20px;
  transition: border-color .2s;
}
.gp-cp-form-wrap input:focus,
.gp-cp-form-wrap textarea:focus,
.gp-cp-form-wrap select:focus {
  border-color: #1589EE;
  outline: none;
}
.gp-cp-form-wrap label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  letter-spacing: .04em;
}
/* 送信ボタン */
.gp-cp-form-wrap input[type="submit"],
.gp-cp-form-wrap button[type="submit"] {
  background: #1589EE;
  color: #fff;
  border: none;
  border-radius: 48px;
  font-size: 16px;
  letter-spacing: .1em;
  padding: 16px 56px;
  cursor: pointer;
  display: block;
  margin: 32px auto 0;
  width: auto;
  transition: opacity .2s;
}
.gp-cp-form-wrap input[type="submit"]:hover,
.gp-cp-form-wrap button[type="submit"]:hover {
  opacity: .82;
}

/* ===== CONTACT PAGE REDESIGN ===== */

/* ダークヒーロー */
.gp-cp-dark-hero {
  background: linear-gradient(135deg, #0d1a2a 0%, #1a2b4a 100%);
  padding: 100px 6vw 80px;
  position: relative;
  overflow: hidden;
}
.gp-cp-dark-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(21,137,238,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.gp-cp-dark-hero::after {
  content: 'CONTACT';
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  font-family: 'Cormorant Garamond', serif;
}
.gp-cp-dark-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.gp-cp-dark-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 400;
  color: #1589EE;
  letter-spacing: .25em;
  line-height: 1;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.gp-cp-dark-sub {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  color: #fff;
  letter-spacing: .04em;
  line-height: 1.2;
  font-family: 'Noto Sans JP', sans-serif;
}

/* リード文 */
.gp-contact-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 6vw 96px;
}
.gp-cp-lead-wrap {
  margin-bottom: 56px;
  text-align: center;
}
.gp-cp-lead-text {
  font-size: 16px;
  line-height: 2;
  color: #555;
  font-weight: 300;
  white-space: nowrap;
}
.gp-cp-lead-line1 {
  margin-bottom: 4px;
  white-space: nowrap;
}
.gp-cp-lead-line2 {
  margin-bottom: 28px;
}
.gp-cp-accent-line {
  display: flex;
  justify-content: center;
}

/* フォームラップ */
.gp-cp-form-wrap {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 56px 48px;
}
.gp-cp-form-wrap input,
.gp-cp-form-wrap textarea,
.gp-cp-form-wrap select {
  width: 100%;
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 20px;
  transition: border-color .2s;
  box-sizing: border-box;
}
.gp-cp-form-wrap input:focus,
.gp-cp-form-wrap textarea:focus,
.gp-cp-form-wrap select:focus {
  border-color: #1589EE;
  outline: none;
}
.gp-cp-form-wrap label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.gp-cp-form-wrap input[type="submit"],
.gp-cp-form-wrap button[type="submit"] {
  background: #1589EE;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  letter-spacing: .1em;
  padding: 18px 64px;
  cursor: pointer;
  display: block;
  margin: 32px auto 0;
  width: auto;
  font-family: 'Noto Sans JP', sans-serif;
  transition: opacity .2s;
}
.gp-cp-form-wrap input[type="submit"]:hover,
.gp-cp-form-wrap button[type="submit"]:hover { opacity: .82; }

/* 下部リンクカード */
.gp-cp-bottom-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #eee;
}
.gp-cp-bottom-card {
  padding: 48px 6vw;
  text-decoration: none;
  border-right: 1px solid #eee;
  transition: background .2s;
  display: block;
}
.gp-cp-bottom-card:last-child { border-right: none; }
.gp-cp-bottom-card:hover { background: #f8f9fc; }
.gp-cp-bottom-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: .2em;
  color: #1589EE;
  margin-bottom: 8px;
}
.gp-cp-bottom-title {
  font-size: 22px;
  font-weight: 300;
  color: #1a1a1a;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.gp-cp-bottom-arrow {
  font-size: 18px;
  color: #bbb;
}
.gp-cp-bottom-card:hover .gp-cp-bottom-arrow { color: #1589EE; }

@media (max-width: 640px) {
  .gp-cp-form-wrap { padding: 32px 20px; }
  .gp-cp-bottom-links { grid-template-columns: 1fr; }
  .gp-cp-lead-text { white-space: normal !important; font-size: 14px; }
}

/* ===== CONTACT CTA 案B ===== */
.gp-contact-section-b {
  background: #f8f9fc;
  border-top: 2.5px solid #1589EE;
  padding: 72px 6vw;
}
.gp-contact-b-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.gp-contact-b-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: .25em;
  color: #1589EE;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.gp-contact-b-title {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 300;
  color: #1a1a1a;
  letter-spacing: -.01em;
  line-height: 1.6;
  white-space: nowrap;
}
.gp-contact-b-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #1589EE;
  color: #fff;
  font-size: 15px;
  letter-spacing: .12em;
  padding: 22px 52px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Noto Sans JP', sans-serif;
  transition: opacity .2s;
}
.gp-contact-b-btn:hover { opacity: .82; color: #fff; }

@media (max-width: 768px) {
  .gp-contact-b-inner { flex-direction: column; align-items: flex-start; }
  .gp-contact-b-title { white-space: normal; }
}

/* ② Contact B セクションを中央寄せ */
.gp-contact-section-b { text-align: center; }
.gp-contact-b-inner {
  flex-direction: column !important;
  align-items: center !important;
  gap: 32px !important;
}
.gp-contact-b-title { white-space: normal !important; text-align: center; }

/* ⑤ KPIラベル2行に収める */
.gp-num-label {
  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 767px) {
  /* ヒーロー：1カラムに */
  .gp-hero-inner {
    grid-template-columns: 1fr !important;
    padding: 0 5vw !important;
  }
  .gp-hero-graphic { display: none !important; }
  .gp-hero-title { font-size: clamp(32px, 8vw, 52px) !important; }
  .gp-hero-ai    { font-size: clamp(18px, 5vw, 26px) !important; }
  .gp-hero-sub   { font-size: 14px !important; white-space: normal !important; }

  /* About */
  .gp-about-grid { grid-template-columns: 1fr !important; }
  .gp-nums { grid-template-columns: 1fr 1fr !important; }

  /* Services */
  .gp-svc-card { grid-template-columns: 1fr !important; }
  .gp-svc-card--reverse { direction: ltr !important; }
  .gp-svc-card-name { font-size: 20px !important; }

  /* Pain Points */
  .gp-prob-bigitem { grid-template-columns: 48px 1fr !important; gap: 16px !important; }
  .gp-prob-bignum  { font-size: clamp(20px, 5vw, 28px) !important; }
  .gp-prob-bigsub  { font-size: 14px !important; }

  /* Cases */
  .gp-cases-layout { grid-template-columns: 1fr !important; }
  .gp-cases-right  { display: none !important; }

  /* Contact B */
  .gp-contact-b-inner { flex-direction: column !important; align-items: center !important; gap: 24px !important; }
  .gp-contact-b-title { font-size: clamp(20px, 5vw, 28px) !important; white-space: normal !important; text-align: center; }

  /* Section共通 */
  .gp-section { padding: 64px 5vw !important; }
  .gp-title { font-size: clamp(22px, 5vw, 32px) !important; white-space: normal !important; }
}

/* ===== モバイル追加修正 ===== */

/* ⑤ モバイル用MENUボタン（お問い合わせの右） */
.menu-btn--mobile {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 8px;
  flex-shrink: 0;
}
.menu-btn--mobile span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #1a1a1a;
  transition: all .3s;
}

@media (max-width: 767px) {
  /* ④ TEL非表示・左のMENUボタンも非表示 */
  .header-left { display: none !important; }

  /* ⑤ 右のMENUボタンを表示 */
  .menu-btn--mobile { display: flex !important; }

  /* ① Pain Points：コンテンツを全幅に */
  .gp-prob-bigitem {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .gp-prob-accent { display: flex; align-items: center; }
  .gp-prob-accent svg { width: 36px !important; height: 32px !important; }
  .gp-prob-bignum { font-size: clamp(22px, 6vw, 32px) !important; white-space: normal !important; }
  .gp-prob-bigsub { font-size: 15px !important; }

  /* ② ボタンを中央寄せ */
  .gp-svc-card-btn,
  .gp-cases-btn { display: block !important; text-align: center !important; margin: 0 auto !important; }

  /* ③ ヒーロータイトルを1行で収まるサイズに */
  .gp-hero-title { font-size: clamp(24px, 6.5vw, 40px) !important; white-space: normal !important; }
  .gp-hero-ai    { font-size: clamp(16px, 4.5vw, 24px) !important; white-space: normal !important; }
}

/* ===== モバイル追加修正 v3 ===== */

/* ===== HERO SUB テキスト制御（PC・モバイル共通） ===== */

/* ① 導入・開発・定着化まで：常に1行 */
.gp-hero-sub--line1 {
  white-space: nowrap !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  margin-bottom: 2px !important;
  animation-delay: .85s !important;
}

/* ② Salesforceの専門家〜：折り返しあり・1行分の高さ確保 */
.gp-hero-sub--line2 {
  white-space: normal !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  max-width: 460px !important;
  animation-delay: .95s !important;
}

@media (max-width: 767px) {
  /* ① サービスカードのグラフィック部分を非表示にして余白を削除 */
  .gp-svc-card-visual { display: none !important; }
  .gp-svc-canvas { display: none !important; }

  /* ② AIでビジネスを加速させる：1行表示 */
  .gp-hero-ai {
    white-space: nowrap !important;
    font-size: clamp(13px, 3.8vw, 20px) !important;
  }

  /* ③ 導入・開発・定着化まで：モバイルでも1行 */
  .gp-hero-sub--line1 {
    white-space: nowrap !important;
    font-size: clamp(11px, 3vw, 14px) !important;
  }

  /* ④ 説明文：モバイルでも折り返し自然に */
  .gp-hero-sub--line2 {
    white-space: normal !important;
    font-size: clamp(11px, 3vw, 14px) !important;
    max-width: 100% !important;
  }
}

/* ===== モバイル追加修正 v2 ===== */

/* ① 3点リーダーMENUボタン */
.menu-btn--dots {
  display: none;
  font-size: 28px;
  letter-spacing: .05em;
  color: #1a1a1a;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  margin-left: 8px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  /* ① モバイル：お問い合わせ非表示・3点リーダー表示 */
  .cta-btn.gold-accent { display: none !important; }
  .menu-btn--dots { display: inline-flex !important; align-items: center; }
  .header-left { display: none !important; }
  .header-cta { display: flex !important; align-items: center; margin-left: auto; }

  /* ② サービスカードのCanvasの余白を詰める */
  .gp-svc-canvas { height: 140px !important; }
  .gp-svc-card-visual { min-height: 140px !important; }
  .gp-svc-cards { gap: 40px !important; }

  /* ③ Pain Pointsアイコン＋見出しを1行に */
  .gp-prob-bigitem {
    display: grid !important;
    grid-template-columns: 44px 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 8px 12px !important;
  }
  .gp-prob-accent {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .gp-prob-bignum {
    grid-column: 2;
    grid-row: 1;
    font-size: clamp(18px, 5vw, 26px) !important;
    white-space: normal !important;
    align-self: center;
  }
  .gp-prob-bigsub {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 14px !important;
  }

  /* ④ 導入事例：モバイルでもマーキー表示 */
  .gp-cases-layout { grid-template-columns: 1fr !important; }
  .gp-cases-right {
    display: flex !important;
    overflow: hidden !important;
  }
}

/* ===== CONTACT PAGE デザイン強化 v2 ===== */

/* heroキャンバスアニメーション背景を追加 */
.gp-cp-dark-hero {
  background: linear-gradient(135deg, #0d1a2a 0%, #1a2b4a 100%) !important;
  padding: 120px 6vw 100px !important;
  min-height: 280px !important;
}

/* リード文エリア：トップと同じ余白感・フォントサイズ */
.gp-cp-lead-wrap {
  text-align: center;
  margin-bottom: 64px;
  padding-top: 16px;
}
.gp-cp-lead-text {
  font-size: 15px !important;
  line-height: 2.2 !important;
  color: #555 !important;
  font-weight: 300 !important;
}

/* フォームラップ：トップのカードスタイルに統一 */
.gp-cp-form-wrap {
  background: #fff !important;
  border: 1px solid #e8ecf0 !important;
  border-radius: 4px !important;
  padding: 64px 56px !important;
  box-shadow: 0 2px 24px rgba(21,137,238,.04) !important;
}

/* フォーム入力 */
.gp-cp-form-wrap input,
.gp-cp-form-wrap textarea,
.gp-cp-form-wrap select {
  border: none !important;
  border-bottom: 1px solid #ddd !important;
  border-radius: 0 !important;
  padding: 12px 4px !important;
  font-size: 15px !important;
  background: transparent !important;
  transition: border-color .2s !important;
}
.gp-cp-form-wrap input:focus,
.gp-cp-form-wrap textarea:focus,
.gp-cp-form-wrap select:focus {
  border-bottom-color: #1589EE !important;
  outline: none !important;
}
.gp-cp-form-wrap label {
  font-size: 11px !important;
  letter-spacing: .15em !important;
  color: #999 !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
}

/* 送信ボタン：トップのCTAスタイルに統一 */
.gp-cp-form-wrap input[type="submit"],
.gp-cp-form-wrap button[type="submit"] {
  background: #1589EE !important;
  border-radius: 40px !important;
  padding: 18px 72px !important;
  font-size: 15px !important;
  letter-spacing: .12em !important;
  transition: opacity .2s, transform .2s !important;
}
.gp-cp-form-wrap input[type="submit"]:hover,
.gp-cp-form-wrap button[type="submit"]:hover {
  opacity: .85 !important;
  transform: translateY(-1px) !important;
}

/* アイコン（メール）の余白調整 */
.gp-cp-accent-line {
  margin-top: 8px;
  opacity: 0.7;
}

/* モバイル対応 */
@media (max-width: 640px) {
  .gp-cp-form-wrap { padding: 40px 24px !important; }
  .gp-cp-lead-text { white-space: normal !important; font-size: 14px !important; }
  .gp-cp-dark-hero { padding: 80px 6vw 64px !important; }
}

/* ===== CONTACT PAGE 修正 v3 ===== */

/* ② heroをトップ基調に（左寄せ・余白・フォント） */
.gp-cp-dark-hero {
  padding: 140px 8vw 100px !important;
  min-height: 320px !important;
}
.gp-cp-dark-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.gp-cp-dark-label {
  font-size: clamp(11px, 1.2vw, 13px) !important;
  letter-spacing: .3em !important;
  margin-bottom: 20px !important;
}
.gp-cp-dark-sub {
  font-size: clamp(40px, 6vw, 72px) !important;
  font-weight: 300 !important;
  letter-spacing: .06em !important;
}
/* heroの背景グロー強化 */
.gp-cp-dark-hero::before {
  background: radial-gradient(ellipse at 70% 40%, rgba(21,137,238,0.12) 0%, transparent 65%) !important;
}

/* ③ フォーム内テキストを2倍に */
.gp-cp-form-wrap {
  font-size: 18px !important;
}
.gp-cp-form-wrap p,
.gp-cp-form-wrap .wpcf7-list-item-label,
.gp-cp-form-wrap .wpcf7-form > p,
.gp-cp-form-wrap br + br {
  font-size: 18px !important;
  line-height: 2 !important;
}
.gp-cp-form-wrap input,
.gp-cp-form-wrap textarea,
.gp-cp-form-wrap select {
  font-size: 18px !important;
}
.gp-cp-form-wrap label {
  font-size: 14px !important;
}
.gp-cp-form-wrap input[type="submit"],
.gp-cp-form-wrap button[type="submit"] {
  font-size: 17px !important;
}

/* ④ チェックボックスをカード型ボタンに */
.wpcf7-checkbox {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
  margin: 16px 0 24px !important;
}
.wpcf7-list-item {
  margin: 0 !important;
}
.wpcf7-list-item label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 1px solid #dde3ec !important;
  border-radius: 40px !important;
  padding: 10px 22px !important;
  cursor: pointer !important;
  font-size: 15px !important;
  color: #444 !important;
  font-weight: 400 !important;
  letter-spacing: .04em !important;
  transition: border-color .2s, background .2s !important;
  white-space: nowrap !important;
}
.wpcf7-list-item label:hover {
  border-color: #1589EE !important;
  background: #f0f7ff !important;
}
.wpcf7-list-item input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: #1589EE !important;
  margin: 0 !important;
  border: none !important;
  border-bottom: none !important;
  flex-shrink: 0 !important;
}
/* チェック時のカード強調 */
.wpcf7-list-item input[type="checkbox"]:checked + span,
.wpcf7-list-item input[type="checkbox"]:checked ~ span {
  color: #1589EE !important;
}


/* ===== CONTACT PAGE 修正 v4 ===== */

/* ② ヒーローを白・ライトグレー基調に（トップと同じ明るい基調） */
.gp-cp-dark-hero {
  background: linear-gradient(160deg, #f8f9fc 0%, #eef2f8 100%) !important;
  padding: 140px 8vw 100px !important;
  min-height: 320px !important;
  border-bottom: 1px solid #e4e8ef !important;
}
.gp-cp-dark-hero::before {
  background: radial-gradient(ellipse at 70% 50%, rgba(21,137,238,0.06) 0%, transparent 65%) !important;
}
.gp-cp-dark-hero::after {
  color: rgba(21,137,238,0.04) !important;
}
.gp-cp-dark-label {
  color: #1589EE !important;
}
.gp-cp-dark-sub {
  color: #10192a !important;
  font-weight: 300 !important;
  font-size: clamp(40px, 6vw, 72px) !important;
}

/* ① チェックボックスを1行に強制（wrap禁止） */
.wpcf7-checkbox {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  margin: 16px 0 24px !important;
}
.wpcf7-list-item label {
  white-space: nowrap !important;
  padding: 10px 20px !important;
}

@media (max-width: 640px) {
  .wpcf7-checkbox { flex-wrap: wrap !important; }
}

/* ===== CONTACT PAGE 修正 v5 ===== */

/* ① 「お問い合わせは、以下フォームより〜」を非表示（チェックボックスを含まない行のみ） */
.wpcf7 form.wpcf7-form > p:nth-child(1):not(:has(.wpcf7-checkbox)):not(:has(input)):not(:has(select)):not(:has(textarea)) {
  display: none !important;
}

/* ② リードテキストを+2px（16px→18px） */
.gp-cp-lead-text {
  font-size: 18px !important;
  line-height: 2.2 !important;
}

/* ③ お問い合わせ分類のラベル・テキストをフォーム項目と統一 */
.wpcf7-form p > label:not(.wpcf7-list-item label),
.wpcf7-form > p > label {
  font-size: 15px !important;
  color: #333 !important;
  font-weight: 400 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
}
.wpcf7-list-item label {
  font-size: 15px !important;
  color: #333 !important;
}


/* ===== CONTACT PAGE 修正 v6 ===== */

/* ① 「お問い合わせは、以下フォームより〜 / 1営業日以内に〜」を非表示（テキストのみのpに限定） */
.wpcf7 form.wpcf7-form > p:nth-child(1):not(:has(.wpcf7-checkbox)):not(:has(input)):not(:has(select)):not(:has(textarea)) {
  display: none !important;
}


/* ===== 各ページ Hero 透かし文字・メインコンテンツ v2 ===== */

/* ① 透かし文字をページごとに上書き */
.page-casestudy::after    { content: 'SOLUTION'  !important; }
.page-company::after      { content: 'COMPANY'   !important; }
.page-service-hero::after { content: 'SERVICE'   !important; }

/* ② メインコンテンツ：Homeと同じ白・青ベースに統一 */

/* セクション共通 */
.section {
  padding: 80px 8vw !important;
  max-width: 100% !important;
}
.bg-white { background: #ffffff !important; }
.bg-light  { background: #f4f7fb !important; }

/* セクションラベル（小見出し） */
.section-label {
  font-size: 11px !important;
  letter-spacing: .3em !important;
  color: #1589EE !important;
  font-weight: 400 !important;
  margin-bottom: 12px !important;
  font-family: 'Cormorant Garamond', serif !important;
}

/* セクションタイトル */
.section-title {
  font-size: clamp(24px, 3.5vw, 40px) !important;
  font-weight: 300 !important;
  color: #10192a !important;
  letter-spacing: .06em !important;
  margin-bottom: 40px !important;
  line-height: 1.4 !important;
}

/* 本文テキスト */
.section-body {
  font-size: 15px !important;
  line-height: 2.1 !important;
  color: #555 !important;
  font-weight: 300 !important;
  max-width: 800px !important;
}

/* 会社概要テーブル */
.aoi-table {
  width: 100% !important;
  max-width: 760px !important;
  border-collapse: collapse !important;
}
.aoi-table th, .aoi-table td {
  padding: 18px 24px !important;
  font-size: 15px !important;
  border-bottom: 1px solid #e8ecf2 !important;
  vertical-align: top !important;
  line-height: 1.9 !important;
}
.aoi-table th {
  width: 160px !important;
  color: #1589EE !important;
  font-weight: 400 !important;
  font-size: 13px !important;
  letter-spacing: .08em !important;
  white-space: nowrap !important;
  background: #f8faff !important;
}
.aoi-table td {
  color: #333 !important;
  font-weight: 300 !important;
}

/* 事例カード */
.case-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
  gap: 28px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.case-card {
  background: white !important;
  border: 1px solid #e8ecf2 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  transition: box-shadow .25s, transform .25s !important;
}
.case-card:hover {
  box-shadow: 0 8px 32px rgba(21,137,238,.10) !important;
  transform: translateY(-3px) !important;
}
.case-card-tag {
  display: inline-block !important;
  font-size: 10px !important;
  letter-spacing: .15em !important;
  color: #1589EE !important;
  border: 1px solid #1589EE !important;
  padding: 3px 10px !important;
  border-radius: 20px !important;
  margin-bottom: 10px !important;
}
.case-card-title {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #10192a !important;
  line-height: 1.6 !important;
  margin-bottom: 8px !important;
}
.case-card-excerpt {
  font-size: 13px !important;
  color: #888 !important;
  line-height: 1.8 !important;
  font-weight: 300 !important;
}
.case-card-date {
  font-size: 11px !important;
  color: #bbb !important;
  margin-top: 12px !important;
  letter-spacing: .08em !important;
}

/* カテゴリフィルター */
.case-filter {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding-bottom: 32px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}
.filter-btn {
  padding: 8px 22px !important;
  border: 1px solid #dde3ec !important;
  border-radius: 40px !important;
  font-size: 13px !important;
  letter-spacing: .08em !important;
  color: #555 !important;
  text-decoration: none !important;
  transition: all .2s !important;
  background: white !important;
}
.filter-btn:hover, .filter-btn.active {
  background: #1589EE !important;
  color: white !important;
  border-color: #1589EE !important;
}

/* 事例なし表示 */
.case-grid p {
  color: #aaa !important;
  font-size: 14px !important;
  font-weight: 300 !important;
}

@media (max-width: 767px) {
  .section { padding: 56px 6vw !important; }
  .case-grid { grid-template-columns: 1fr !important; }
  .aoi-table th { width: 100px !important; }
}


/* ===== サービスページ フォント統一 v1 ===== */

/* ④ page-service の section-title を Noto Sans JP（ホームと同じ）に */
.page-template-page-service .section-title,
body.page-id-service .section-title {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 300 !important;
  font-size: clamp(24px, 3.5vw, 40px) !important;
  letter-spacing: .04em !important;
}

/* section-body も合わせてNoto Sans JPに */
.page-template-page-service .section-body {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 300 !important;
}


/* ④ page-service-content クラスでフォント確実に上書き */
.page-service-content .section-title {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 300 !important;
}
.page-service-content .section-body {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 300 !important;
}


/* ===== サービスページ v2 ===== */

/* ② セクションラベルをホームのgp-svc-card-en風に大きく */
.svc-en-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(13px, 1.8vw, 18px);
  font-style: italic;
  letter-spacing: .2em;
  color: #1589EE;
  font-weight: 300;
  margin-bottom: 16px;
  display: block;
}

/* ③ プロセスリスト：アコーディオン型 */
.svc-process-list {
  max-width: 860px;
  border-top: 1px solid #e4e8ef;
}

.svc-process-item {
  border-bottom: 1px solid #e4e8ef;
  cursor: pointer;
  transition: background .2s;
}
.svc-process-item:hover {
  background: #fafbff;
}

.svc-process-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 16px;
}

.svc-process-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: #1589EE;
  background: #eef5ff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .02em;
  transition: background .2s, color .2s;
}
.svc-process-item.open .svc-process-num {
  background: #1589EE;
  color: white;
}

.svc-process-meta {
  flex: 1;
}
.svc-process-phase {
  font-size: 11px;
  letter-spacing: .2em;
  color: #1589EE;
  margin-bottom: 4px;
  font-weight: 400;
}
.svc-process-title {
  font-size: 22px;
  font-weight: 300;
  color: #10192a;
  letter-spacing: .04em;
  font-family: 'Noto Sans JP', sans-serif;
}

.svc-process-toggle {
  font-size: 24px;
  color: #bbb;
  font-weight: 300;
  transition: transform .25s, color .25s;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.svc-process-item.open .svc-process-toggle {
  transform: rotate(45deg);
  color: #1589EE;
}

.svc-process-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
  padding: 0 16px 0 100px;
}
.svc-process-item.open .svc-process-body {
  max-height: 300px;
  padding: 0 16px 32px 100px;
}
.svc-process-body p {
  font-size: 15px;
  line-height: 2;
  color: #555;
  font-weight: 300;
  margin-bottom: 20px;
}
.svc-process-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-process-tags span {
  font-size: 12px;
  color: #1589EE;
  border: 1px solid #c8dff8;
  border-radius: 20px;
  padding: 4px 14px;
  background: #f0f7ff;
  letter-spacing: .04em;
}

@media (max-width: 767px) {
  .svc-process-body,
  .svc-process-item.open .svc-process-body {
    padding-left: 20px;
    padding-right: 20px;
  }
  .svc-process-title { font-size: 17px; }
  .svc-process-header { gap: 16px; padding: 24px 12px; }
}


/* ===== フロー図 ===== */
.svc-flow-wrap {
  overflow-x: auto;
  margin-bottom: 56px;
}
.svc-flow-svg {
  width: 100%;
  max-width: 800px;
  display: block;
  margin: 0 auto;
}

/* ===== フロー図 CSS版 レスポンシブ ===== */

/* 時間軸（PC） */
.svc-timeline {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.svc-timeline-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 2px;
  color: #b8ccde;
  white-space: nowrap;
}
.svc-timeline-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #c8dff0, #c8dff0);
  margin: 0 16px;
  position: relative;
}
.svc-timeline-line::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -5px;
  border: 6px solid transparent;
  border-left-color: #c8dff0;
}

/* PC横並び */
.svc-flow-pc {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 56px;
}
.svc-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.svc-flow-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
}
.svc-flow-circle::before {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  opacity: .3;
}
.svc-n1 { border-color: #1589EE; } .svc-n1::before { background: #1589EE; }
.svc-n2 { border-color: #1b94e8; } .svc-n2::before { background: #1b94e8; }
.svc-n3 { border-color: #1fa3e2; } .svc-n3::before { background: #1fa3e2; }
.svc-n4 { border-color: #22b3dc; } .svc-n4::before { background: #22b3dc; }
.svc-n5 { border-color: #26c4d6; } .svc-n5::before { background: #26c4d6; }

.svc-flow-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 1px;
  color: #1589EE;
  position: relative;
  z-index: 1;
}
.svc-n5 .svc-flow-num { color: #26c4d6; }
.svc-flow-name {
  font-size: 15px;
  font-weight: 400;
  color: #10192a;
  position: relative;
  z-index: 1;
}
.svc-flow-sub {
  font-size: 11px;
  color: #bbb;
  margin-top: 14px;
  white-space: nowrap;
}

/* 矢印 */
.svc-flow-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 16px;
  position: relative;
  margin-bottom: 40px;
}
.svc-flow-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 8px;
  height: 1.5px;
  background: linear-gradient(90deg, #1589EE, #3ab8c8);
  transform: translateY(-50%);
}
.svc-flow-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #3ab8c8;
}

/* モバイル縦並び（非表示） */
.svc-flow-mobile { display: none; }

.svc-flow-mobile-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #f0f4f8;
}
.svc-flow-mobile-step:last-child { border-bottom: none; }
.svc-flow-mobile-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.svc-flow-mobile-circle::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  opacity: .25;
}
.svc-flow-mobile-circle .svc-flow-num { font-size: 12px; }
.svc-flow-mobile-name {
  font-size: 17px;
  font-weight: 400;
  color: #10192a;
  margin-bottom: 4px;
}
.svc-flow-mobile-sub { font-size: 13px; color: #bbb; }
.svc-flow-mobile-connector {
  width: 1.5px;
  height: 24px;
  background: linear-gradient(#c8dff0, #b8d8ee);
  margin: 0 31px;
}

@media (max-width: 767px) {
  .svc-timeline { display: none; }
  .svc-flow-pc   { display: none; }
  .svc-flow-mobile { display: block; }
}


/* ===== フロー図 追加修正 ===== */

/* ② PCの外側の丸を削除 */
.svc-flow-circle {
  border: none !important;
}

/* ③ Start/Ongoing を大きく */
.svc-timeline-label {
  font-size: 20px !important;
  letter-spacing: 3px !important;
}

/* ④ アニメーション用：初期状態は非表示 */
.svc-timeline-line {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(.4,0,.2,1);
}
.svc-timeline-line.animated { transform: scaleX(1); }

.svc-flow-node {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.svc-flow-node.animated { opacity: 1; transform: translateY(0); }

/* ① モバイル：矢印コネクターを下向き矢印に */
.svc-flow-mobile-connector {
  width: 2px;
  height: 32px;
  background: linear-gradient(#1589EE, #3ab8c8);
  margin: 0 31px;
  position: relative;
}
.svc-flow-mobile-connector::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #3ab8c8;
}


/* ===== フロー図アニメーション 3秒版 ===== */
.svc-timeline-line {
  transition: transform 1.8s cubic-bezier(.4,0,.2,1) !important;
}
.svc-flow-node {
  transition: opacity .6s ease, transform .6s ease !important;
}

/* ===== Why Aoi グリッド ===== */
.svc-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  max-width: 900px;
}
.svc-why-card {
  background: white;
  border: 1px solid #e4ecf5;
  border-radius: 4px;
  padding: 36px 32px;
  transition: box-shadow .25s, transform .25s;
}
.svc-why-card:hover {
  box-shadow: 0 6px 28px rgba(21,137,238,.08);
  transform: translateY(-3px);
}
.svc-why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: #1589EE;
  opacity: .4;
  margin-bottom: 12px;
  letter-spacing: .05em;
}
.svc-why-title {
  font-size: 16px;
  font-weight: 400;
  color: #10192a;
  margin-bottom: 12px;
  letter-spacing: .04em;
  line-height: 1.5;
}
.svc-why-desc {
  font-size: 14px;
  color: #666;
  font-weight: 300;
  line-height: 2;
}

@media (max-width: 767px) {
  .svc-why-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-why-card { padding: 28px 24px; }
}


/* ① フロー図の丸内テキスト中央寄せ */
.svc-flow-circle {
  text-align: center !important;
}
.svc-flow-name {
  text-align: center !important;
}

/* ① フロー図の丸内テキスト完全中央寄せ */
.svc-flow-circle {
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}
.svc-flow-num,
.svc-flow-name {
  text-align: center !important;
  width: 100% !important;
}

/* KPI 6点：3列×2行グリッドに */
.gp-nums {
  grid-template-columns: 1fr 1fr 1fr !important;
}
@media (max-width: 767px) {
  .gp-nums { grid-template-columns: 1fr 1fr !important; }
}

/* ① KPI PC：3列×2行、モバイル：2列×3行 */
.gp-nums {
  grid-template-columns: 1fr 1fr 1fr !important;
}
@media (max-width: 767px) {
  .gp-nums { grid-template-columns: 1fr 1fr !important; }
}

/* ④ フロー図の丸内テキスト縦中央揃え */
.svc-flow-circle {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 4px !important;
}
.svc-flow-num {
  line-height: 1 !important;
  margin: 0 !important;
}
.svc-flow-name {
  line-height: 1.2 !important;
  margin: 0 !important;
}


/* ① フロー図：丸内テキストの縦中央を完全修正 */
.svc-flow-circle {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  padding: 0 12px !important;
}
.svc-flow-num {
  display: block !important;
  text-align: center !important;
  margin-bottom: 5px !important;
  line-height: 1 !important;
}
.svc-flow-name {
  display: block !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

/* ② gp-num-labelが長い場合に折り返し・小さめに */
.gp-num-label {
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
}


/* ② gp-num-label の大文字強制を解除 */
.gp-num-label {
  text-transform: none !important;
}

/* ③ フロー図：::before を z-index 0 に下げてflexレイアウトを正常化 */
.svc-flow-circle::before {
  z-index: 0 !important;
  pointer-events: none !important;
}
.svc-flow-num,
.svc-flow-name {
  position: relative !important;
  z-index: 1 !important;
}

/* ===== 事例詳細ページ ===== */
.gp-cp-dark-hero--case .gp-cp-dark-sub {
  font-size: clamp(24px, 4vw, 52px) !important;
  line-height: 1.4 !important;
}

.case-article-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.case-article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.case-article-tag {
  font-size: 11px;
  letter-spacing: .15em;
  color: #1589EE;
  border: 1px solid #c8dff8;
  padding: 4px 14px;
  border-radius: 20px;
  background: #f0f7ff;
}
.case-article-date {
  font-size: 12px;
  color: #bbb;
  letter-spacing: .08em;
}
.case-article-thumb {
  margin-bottom: 48px;
  border-radius: 4px;
  overflow: hidden;
}
.case-article-thumb img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
}
.case-article-body {
  font-size: 16px;
  line-height: 2.2;
  color: #333;
  font-weight: 300;
  margin-bottom: 64px;
}
.case-article-body h2 {
  font-size: 22px;
  font-weight: 400;
  color: #10192a;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4edf5;
}
.case-article-body h3 {
  font-size: 18px;
  font-weight: 400;
  color: #10192a;
  margin: 32px 0 12px;
}
.case-article-body p { margin-bottom: 20px; }
.case-article-body img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 24px 0;
}

/* 記事内CTA */
.case-article-cta {
  background: #f4f7fb;
  border-left: 3px solid #1589EE;
  border-radius: 0 4px 4px 0;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.case-article-cta-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  font-weight: 300;
}
.case-article-cta-btn {
  display: inline-block;
  background: #1589EE;
  color: white;
  font-size: 14px;
  padding: 14px 36px;
  border-radius: 40px;
  text-decoration: none;
  letter-spacing: .08em;
  white-space: nowrap;
  transition: opacity .2s, transform .2s;
}
.case-article-cta-btn:hover {
  opacity: .85;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .case-article-cta { flex-direction: column; padding: 24px; }
  .case-article-body { font-size: 15px; }
}


/* ===== 事例一覧 新カードデザイン（v2） ===== */
.case-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
}
.case-card-v2 {
  display: flex;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e4ecf2;
  transition: box-shadow .25s;
  background: white;
}
.case-card-v2:hover {
  box-shadow: 0 6px 28px rgba(21,137,238,.10);
}
/* 奇数：左画像・右テキスト / 偶数：右画像・左テキスト */
.case-card-v2:nth-child(odd) { flex-direction: row; }
.case-card-v2:nth-child(even) { flex-direction: row-reverse; }

.case-card-v2-img {
  position: relative;
  width: 50%;
  flex-shrink: 0;
  overflow: hidden;
  min-height: 280px;
}
.case-card-v2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-card-v2-noimg {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, #eef5ff 0%, #e0f0ff 100%);
}
.case-card-v2-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  letter-spacing: .15em;
  color: #1589EE;
  border: 1px solid #c8dff8;
  padding: 3px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.9);
}

.case-card-v2-body {
  flex: 1;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.case-card-v2-title {
  font-size: 20px;
  font-weight: 400;
  color: #10192a;
  line-height: 1.5;
  letter-spacing: .03em;
}
.case-card-v2-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 2;
  font-weight: 300;
}
.case-card-v2-arrow {
  font-size: 18px;
  color: #1589EE;
  display: block;
  transition: transform .2s;
}
.case-card-v2:hover .case-card-v2-arrow {
  transform: translateX(6px);
}

@media (max-width: 767px) {
  .case-grid-v2 { grid-template-columns: 1fr; }
  .case-card-v2,
  .case-card-v2:nth-child(odd),
  .case-card-v2:nth-child(even) { flex-direction: column; }
  .case-card-v2-img { width: 100%; min-height: 200px; }
  .case-card-v2-body { padding: 28px 24px; }
  .case-card-v2-title { font-size: 17px; }
}


/* ① リードテキスト中央寄せ強化 */
.gp-cp-lead-wrap { text-align: center !important; }
.gp-cp-lead-line1,
.gp-cp-lead-line2 {
  display: block !important;
  text-align: center !important;
}

/* ===== 事例一覧 カード v3（横並び・交互） ===== */
.case-grid-v2 {
  display: block !important;
  max-width: 1100px;
  margin: 0 auto;
}
.case-card-v2 {
  display: flex !important;
  flex-direction: row !important;
  border: none !important;
  border-bottom: 1px solid #e8ecf2 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 64px 0 !important;
  gap: 64px !important;
  align-items: center !important;
  box-shadow: none !important;
  transition: none !important;
}
.case-card-v2:hover {
  box-shadow: none !important;
  transform: none !important;
}
.case-card-v2:first-child { border-top: 1px solid #e8ecf2 !important; }

/* 偶数を右画像・左テキストに */
.case-card-v2:nth-child(even) {
  flex-direction: row-reverse !important;
}

.case-card-v2-img {
  width: 52% !important;
  flex-shrink: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 4px !important;
  min-height: 320px !important;
  aspect-ratio: 16/10 !important;
}
.case-card-v2-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .5s ease !important;
}
.case-card-v2:hover .case-card-v2-img img {
  transform: scale(1.03) !important;
}
.case-card-v2-noimg {
  width: 100% !important;
  height: 100% !important;
  min-height: 320px !important;
  background: linear-gradient(135deg, #daeeff 0%, #c4dff5 100%) !important;
}
.case-card-v2-tag {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  background: rgba(255,255,255,.95) !important;
}

.case-card-v2-body {
  flex: 1 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  justify-content: center !important;
}
.case-card-v2-title {
  font-size: 22px !important;
  font-weight: 400 !important;
  color: #10192a !important;
  line-height: 1.6 !important;
  letter-spacing: .03em !important;
}
.case-card-v2-excerpt {
  font-size: 14px !important;
  color: #666 !important;
  line-height: 2 !important;
  font-weight: 300 !important;
}
.case-card-v2-arrow {
  font-size: 18px !important;
  color: #1589EE !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  letter-spacing: .08em !important;
  transition: gap .2s !important;
}
.case-card-v2-arrow::before {
  content: '実績をみる' !important;
  font-size: 13px !important;
  color: #1589EE !important;
}
.case-card-v2:hover .case-card-v2-arrow {
  gap: 14px !important;
}

@media (max-width: 767px) {
  .case-card-v2,
  .case-card-v2:nth-child(even) {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 40px 0 !important;
  }
  .case-card-v2-img { width: 100% !important; min-height: 220px !important; }
  .case-card-v2-title { font-size: 18px !important; }
}


/* 事例カード：SVGアイコン付きプレースホルダー */
.case-card-v2-noimg--icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #e8f4ff 0%, #d4eaf8 50%, #c8e4f5 100%) !important;
}

/* ===== 投稿ページ（single.php）テンプレート ===== */

/* heroのタイトルサイズを調整（長いタイトルでも崩れないように） */
.gp-cp-dark-hero--single .gp-cp-dark-sub.single-hero-title {
  font-size: clamp(22px, 4vw, 52px) !important;
  line-height: 1.4 !important;
}
.single-hero-date {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  letter-spacing: .1em;
  margin-top: 16px;
  font-weight: 300;
}

/* メインラップ */
.single-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 8vw;
}

/* アイキャッチ */
.single-eyecatch {
  margin-bottom: 56px;
  border-radius: 4px;
  overflow: hidden;
}
.single-eyecatch img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* 本文スタイル */
.single-body {
  font-size: 16px;
  line-height: 2.2;
  color: #333;
  font-weight: 300;
  margin-bottom: 64px;
}
.single-body h2 {
  font-size: 22px;
  font-weight: 400;
  color: #10192a;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4edf5;
}
.single-body h3 {
  font-size: 18px;
  font-weight: 400;
  color: #10192a;
  margin: 32px 0 12px;
}
.single-body p { margin-bottom: 20px; }
.single-body img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 24px 0;
}
.single-body ul, .single-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.single-body li { margin-bottom: 8px; line-height: 2; }
.single-body a { color: #1589EE; text-decoration: underline; }
.single-body blockquote {
  border-left: 3px solid #1589EE;
  padding: 16px 24px;
  margin: 24px 0;
  background: #f4f7fb;
  color: #555;
  font-style: italic;
}
.single-body code {
  background: #f0f4f8;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 14px;
  color: #1589EE;
}
.single-body pre {
  background: #10192a;
  color: #e0e8f4;
  padding: 24px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.8;
}

/* 前後ナビ */
.single-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 40px;
  border-top: 1px solid #e8ecf2;
  margin-bottom: 0;
}
.post-nav-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  max-width: 45%;
  padding: 16px 0;
  transition: opacity .2s;
}
.post-nav-btn:hover { opacity: .7; }
.post-nav-btn.next { align-items: flex-end; text-align: right; }
.nav-direction {
  font-size: 11px;
  letter-spacing: .15em;
  color: #1589EE;
  font-weight: 400;
}
.nav-title {
  font-size: 13px;
  color: #444;
  font-weight: 300;
  line-height: 1.6;
}

/* 関連記事グリッド */
.single-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.single-related-card {
  text-decoration: none;
  color: inherit;
  background: white;
  border: 1px solid #e8ecf2;
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.single-related-card:hover {
  box-shadow: 0 6px 24px rgba(21,137,238,.1);
  transform: translateY(-2px);
}
.single-related-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.single-related-noimg {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #e8f4ff, #d4eaf8);
}
.single-related-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.single-related-title {
  font-size: 14px;
  font-weight: 400;
  color: #10192a;
  line-height: 1.6;
}
.single-related-date {
  font-size: 11px;
  color: #bbb;
  letter-spacing: .08em;
}

@media (max-width: 767px) {
  .single-wrap { padding: 40px 6vw; }
  .single-related-grid { grid-template-columns: 1fr; }
  .single-body { font-size: 15px; }
}


/* ===== 投稿ページ 1:3:1 レイアウト ===== */

.gp-cp-dark-hero--single .single-hero-title {
  font-size: clamp(20px, 3.5vw, 46px) !important;
  line-height: 1.45 !important;
}
.single-hero-date {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  letter-spacing: .1em;
  margin-top: 16px;
  font-weight: 300;
}

.single-page-outer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 32px;
}
.single-page-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr minmax(180px, 1fr);
  gap: 48px;
  align-items: start;
}

/* 左カラム */
.single-back-link {
  display: block;
  font-size: 12px;
  color: #1589EE;
  text-decoration: none;
  letter-spacing: .1em;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eef2f8;
  transition: opacity .2s;
}
.single-back-link:hover { opacity: .7; }
.single-toc-label {
  font-size: 10px;
  letter-spacing: .25em;
  color: #bbb;
  margin-bottom: 14px;
  font-weight: 400;
}
.single-toc {
  list-style: none;
  position: sticky;
  top: 96px;
}
.single-toc li { margin-bottom: 10px; }
.single-toc a {
  font-size: 12px;
  color: #888;
  text-decoration: none;
  line-height: 1.6;
  font-weight: 300;
  display: block;
  padding-left: 12px;
  border-left: 2px solid #e4edf5;
  transition: color .2s, border-color .2s;
}
.single-toc a:hover,
.single-toc a.active {
  color: #1589EE;
  border-color: #1589EE;
}

/* 中央カラム */
.single-eyecatch {
  margin-bottom: 40px;
  border-radius: 4px;
  overflow: hidden;
}
.single-eyecatch img {
  width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: cover;
  display: block;
}
.single-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.single-body {
  font-size: 16px;
  line-height: 2.2;
  color: #333;
  font-weight: 300;
  margin-bottom: 56px;
}
.single-body h2 {
  font-size: 22px;
  font-weight: 400;
  color: #10192a;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e4edf5;
}
.single-body h3 {
  font-size: 18px;
  font-weight: 400;
  color: #10192a;
  margin: 32px 0 12px;
}
.single-body p { margin-bottom: 20px; }
.single-body ul, .single-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.single-body li { margin-bottom: 8px; line-height: 2; }
.single-body a { color: #1589EE; }
.single-body blockquote {
  border-left: 3px solid #1589EE;
  padding: 16px 24px;
  margin: 24px 0;
  background: #f4f7fb;
  color: #555;
  font-style: italic;
}
.single-body code {
  background: #f0f4f8;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 14px;
  color: #1589EE;
}
.single-body pre {
  background: #10192a;
  color: #e0e8f4;
  padding: 24px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.8;
}
.single-body img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 24px 0;
}

/* 右カラム */
.single-col-right { position: sticky; top: 96px; }
.single-right-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eef2f8;
}
.single-right-block:last-child { border-bottom: none; }
.single-right-label {
  font-size: 10px;
  letter-spacing: .25em;
  color: #bbb;
  margin-bottom: 14px;
  font-weight: 400;
}
.single-share-btns { display: flex; flex-direction: column; gap: 8px; }
.single-share-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #e4ecf2;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
  color: #555;
  font-weight: 300;
  transition: background .2s;
}
.single-share-btn:hover { background: #f4f8ff; }
.single-share-icon {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.si-x  { background: #10192a; color: white; }
.si-li { background: #0077b5; color: white; }
.si-ln { background: #06c755; color: white; }

.single-recent-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}
.single-recent-thumb { width: 52px; height: 52px; border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.single-recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-recent-noimg { width: 52px; height: 52px; background: linear-gradient(135deg, #e8f4ff, #d4eaf8); border-radius: 3px; }
.single-recent-title { font-size: 12px; color: #333; line-height: 1.6; font-weight: 300; }
.single-recent-date  { font-size: 10px; color: #bbb; margin-top: 3px; letter-spacing: .05em; }

.single-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.single-tag-cloud a {
  font-size: 10px;
  color: #888;
  border: 1px solid #e4ecf2;
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.single-tag-cloud a:hover { color: #1589EE; border-color: #c8dff8; }

@media (max-width: 900px) {
  .single-page-grid {
    grid-template-columns: 1fr !important;
  }
  .single-col-left  { display: none; }
  .single-col-right { position: static; }
  .single-page-outer { padding: 40px 24px; }
}


/* ===== 投稿ページ 1:3:1 比率強制上書き ===== */
.single-page-grid {
  display: grid !important;
  grid-template-columns: minmax(180px, 1fr) 3fr minmax(180px, 1fr) !important;
  gap: 48px !important;
}

/* ① 投稿ページ見出しフォントをNoto Sans JPに統一 */
.single-body h1,
.single-body h2,
.single-body h3,
.single-body h4,
.single-body h5,
.single-body h6 {
  font-family: 'Noto Sans JP', sans-serif !important;
  font-weight: 400 !important;
}

/* ① お問い合わせボタン：ナビと同じ縦2段スタイル */
.cta-btn {
  flex-direction: column !important;
  gap: 2px !important;
  height: 60px !important;
  padding: 0 20px !important;
  justify-content: center !important;
}
.cta-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .06em;
  color: white;
  line-height: 1;
}
.cta-en {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: .08em;
  color: rgba(255,255,255,.75);
  line-height: 1;
}

