/* ================================================
   Sakuway Mockup v2 — Sharp Edition
   Modern corporate with crisp edges
================================================ */

:root {
  --primary: #3d8b9c;
  --primary-light: #5eaabb;
  --primary-pale: #e8f4f7;
  --primary-deep: #2d6b78;
  --black: #111111;
  --dark: #1d1d1d;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #dddddd;
  --border-light: #ececec;
  --bg: #ffffff;
  --bg-light: #fafafa;
  --bg-section: #f4f5f7;
  --font-display: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --radius: 4px;
  --radius-sm: 2px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --header-height: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ================================================ Scroll animation ================================================ */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate.delay-1 { transition-delay: 0.08s; }
.animate.delay-2 { transition-delay: 0.16s; }
.animate.delay-3 { transition-delay: 0.24s; }
.animate.delay-4 { transition-delay: 0.32s; }
.animate.delay-5 { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  .animate { opacity: 1; transform: none; transition: none; }
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

.sp-hide { }
.sp-show { display: none; }
@media (max-width: 768px) {
  .sp-hide { display: none; }
  .sp-show { display: inline; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--primary);
}

.section-header {
  margin-bottom: 72px;
}
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--primary);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin: 0;
}
.section-desc {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.95;
  margin-top: 20px;
  max-width: 620px;
}

/* ================================================ Buttons ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-sm { padding: 10px 22px; font-size: 13px; }
.btn-large { padding: 20px 44px; font-size: 15px; }
.btn-primary {
  background: var(--black);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 0;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }
.btn-ghost {
  background: transparent;
  color: var(--black);
  padding: 15px 20px;
}
.btn-ghost:hover { color: var(--primary); gap: 14px; }
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 14px 28px;
}
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-text {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.btn-text:hover { gap: 12px; color: var(--primary-deep); }

/* ================================================ Header ================================================ */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--black);
}
.logo-mark {
  color: var(--primary);
  font-size: 13px;
}
/* カスタムロゴ画像 */
.logo-image img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 240px;
  transition: opacity var(--transition);
}
.logo-image:hover img { opacity: 0.8; }
.logo-footer img {
  height: 36px;
  /* フィルターを外して本来の色（黄アイコン+グレーテキスト）で表示 */
}
@media (max-width: 768px) {
  .logo-image img { height: 30px; }
}
.global-nav ul {
  display: flex;
  gap: 36px;
}
.global-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition);
  letter-spacing: 0.03em;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--transition);
}
.global-nav a:hover { color: var(--black); }
.global-nav a:hover::after { width: 100%; }
@media (max-width: 900px) {
  .global-nav { display: none; }
}

/* ================================================ Hero ================================================ */
.hero {
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
}
.hero-side-mark {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text-light);
  text-transform: uppercase;
  z-index: 2;
  white-space: nowrap;
}
.hero-side-year {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.hero-side-line {
  width: 60px;
  height: 1px;
  background: currentColor;
}
@media (max-width: 1100px) { .hero-side-mark { display: none; } }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  filter: grayscale(30%);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.9) 100%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,17,17,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 560px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: -0.04em;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-line {
  display: flex;
  align-items: baseline;
  gap: 24px;
}
.hero-line-num {
  font-family: var(--font-display);
  font-size: 0.28em;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--primary);
  padding: 6px 10px;
  border: 1px solid var(--primary);
  line-height: 1;
  flex-shrink: 0;
  transform: translateY(-0.25em);
}
.hero-line-text { display: inline; }
.hero-title .accent {
  color: var(--primary);
  font-weight: 800;
}
.hero-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 44px;
}
.hero-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero visual - offer cards */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-offer {
  display: flex;
  flex-direction: column;
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--black);
  position: relative;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--black);
  overflow: hidden;
}
.hero-offer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}
.hero-offer:hover { box-shadow: 8px 8px 0 var(--black); transform: translate(-4px, -4px); }
.hero-offer:hover::before { transform: scaleY(1); }
.hero-offer-1 { margin-right: 40px; }
.hero-offer-2 { margin-left: 40px; }
.hero-offer-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.hero-offer-big-num {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  line-height: 0.9;
  color: var(--primary);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}
.hero-offer-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-offer-label {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.hero-offer-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.hero-offer-price .currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
}
.hero-offer-price .num {
  font-size: 42px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-offer-price .suffix {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  margin-left: 6px;
}
.hero-offer-note {
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  line-height: 1.6;
}
.hero-offer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  transition: all var(--transition);
}
.hero-offer:hover .hero-offer-link {
  color: var(--primary);
  gap: 14px;
}
@media (max-width: 900px) {
  .hero { padding: 60px 0 0; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 80px; }
  .hero-visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .hero-offer-1, .hero-offer-2 { margin: 0; }
  .hero-offer { padding: 24px 28px; }
  .hero-offer-price .num { font-size: 34px; }
  .hero-offer-big-num { font-size: 44px; }
  .hero-line { gap: 14px; }
}

/* Hero marquee (seamless infinite loop) */
.hero-marquee {
  margin-top: auto;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.hero-marquee-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  width: max-content;
  animation: hero-marquee 30s linear infinite;
}
.hero-marquee-inner span {
  padding: 0 20px;
}
.hero-marquee-inner span:nth-child(even) { color: var(--primary); font-size: 18px; }
@keyframes hero-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ================================================ Services ================================================ */
.services {
  padding: 140px 0;
  background: var(--bg-section);
  position: relative;
}
.services .section-header { text-align: center; margin-bottom: 80px; }
.services .section-header .section-label { margin-left: auto; margin-right: auto; justify-content: center; }
.services .section-header .section-label::before { display: none; }
.services .section-desc { margin-left: auto; margin-right: auto; text-align: center; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: #fff;
  padding: 56px 40px 48px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  background: var(--black);
  color: #fff;
}
.service-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.service-card:hover .service-num { color: var(--primary-light); }
.service-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border: 1px solid var(--black);
  color: var(--black);
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  transition: all var(--transition);
}
.service-icon svg { width: 32px; height: 32px; }
.service-card:hover .service-icon {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--black);
  transition: color var(--transition);
}
.service-card:hover h3 { color: #fff; }
.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.95;
  margin-bottom: 32px;
  flex: 1;
  transition: color var(--transition);
}
.service-card:hover p { color: rgba(255,255,255,0.7); }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  transition: all var(--transition);
}
.service-link svg { transition: transform var(--transition); }
.service-card:hover .service-link { color: #fff; }
.service-card:hover .service-link svg { transform: translateX(6px); }
@media (max-width: 900px) {
  .services { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ================================================ About ================================================ */
.about {
  padding: 140px 0;
  background: var(--bg);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 440px;
}
.about-photo {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(17,17,17,0.30) 0%, rgba(17,17,17,0.50) 100%),
    url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=800&q=80');
  background-size: cover;
  background-position: center;
  position: relative;
}
.about-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.about-photo::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary);
  z-index: -1;
}
.about-badge {
  position: absolute;
  top: 32px;
  right: -32px;
  background: #fff;
  padding: 20px 28px;
  border: 1px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.03em;
}
.badge-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.about-content p {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 20px;
  margin-top: 20px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.about-content .btn-outline { margin-top: 20px; }
@media (max-width: 900px) {
  .about { padding: 80px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { margin: 0 auto; }
  .about-badge { right: 0; }
}

/* ================================================ Journal ================================================ */
.journal {
  padding: 140px 0;
  background: var(--bg-section);
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.journal-card {
  background: #fff;
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  position: relative;
}
.journal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 1;
}
.journal-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.journal-card:hover::before { transform: scaleX(1); }
.journal-card:hover .journal-thumb {
  filter: brightness(0.95);
}
.journal-thumb {
  transition: filter var(--transition);
}
.journal-thumb {
  aspect-ratio: 3/2;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.journal-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 50%);
}
.journal-thumb-1 {
  background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=800&q=80') center/cover;
}
.journal-thumb-2 {
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=800&q=80') center/cover;
}
.journal-thumb-3 {
  background: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=800&q=80') center/cover;
}
/* アイキャッチ未設定時のクリーンなフォールバック */
.journal-thumb-default {
  background: linear-gradient(135deg, var(--primary-pale) 0%, #fff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.journal-thumb-default::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61,139,156,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,139,156,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.journal-thumb-default::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
}
.journal-thumb-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.journal-thumb-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--primary);
}
.journal-thumb-date {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.02em;
  line-height: 1;
}
.journal-body {
  padding: 24px 28px 28px;
}
.journal-body time {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 12px;
}
.journal-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--black);
  margin: 0;
  letter-spacing: -0.01em;
}
.journal-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 12px;
}
@media (max-width: 900px) {
  .journal { padding: 80px 0; }
  .journal-grid { grid-template-columns: 1fr; }
}

/* ---- Company page (page-company.php) ---- */
.section-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary);
  margin-bottom: 8px;
  position: relative;
  padding-right: 18px;
}
.section-num::after {
  content: "/";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--border);
  font-weight: 400;
}

/* Mission section */
.company-mission {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.company-mission::before {
  content: "MISSION";
  position: absolute;
  top: 60px;
  right: -30px;
  font-family: var(--font-display);
  font-size: clamp(120px, 16vw, 220px);
  font-weight: 800;
  color: var(--primary);
  opacity: 0.04;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.company-mission .section-header { margin-bottom: 56px; }
.mission-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.mission-lead {
  margin: 0;
  padding: 0;
  border-left: 4px solid var(--primary);
  padding-left: 32px;
}
.mission-lead p {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.5;
  color: var(--black);
  letter-spacing: -0.02em;
  margin: 0;
}
.mission-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 20px;
}
.mission-text p:last-child { margin-bottom: 0; }
.mission-text strong {
  color: var(--black);
  font-weight: 700;
  background: linear-gradient(transparent 60%, var(--primary-pale) 60%);
  padding: 0 2px;
}
@media (max-width: 900px) {
  .company-mission { padding: 80px 0; }
  .mission-body { grid-template-columns: 1fr; gap: 40px; }
  .mission-lead { padding-left: 24px; border-left-width: 3px; }
}

/* Company info table */
.company-info {
  padding: 120px 0;
  background: var(--bg-section);
}
.company-info .section-header { margin-bottom: 56px; }
.info-table {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  padding: 0;
}
.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
}
.info-row:last-child { border-bottom: none; }
.info-row dt {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  padding-top: 4px;
  position: relative;
  padding-left: 14px;
}
.info-row dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--primary);
}
.info-row dd {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  margin: 0;
}
.info-business {
  list-style: decimal;
  padding-left: 1.4em;
  margin: 0;
}
.info-business li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.info-business li::marker {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
}
@media (max-width: 768px) {
  .company-info { padding: 80px 0; }
  .info-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 24px; }
  .info-row dt { padding-top: 0; }
}

/* CEO profile */
.company-ceo {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.company-ceo::before {
  content: "CEO";
  position: absolute;
  bottom: 40px;
  left: -30px;
  font-family: var(--font-display);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 800;
  color: var(--black);
  opacity: 0.03;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.company-ceo .section-header { margin-bottom: 56px; }
.ceo-card {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
}
.ceo-card-header {
  padding: 48px 56px;
  background: var(--black);
  color: #fff;
  border-bottom: 4px solid var(--primary);
}
.ceo-role {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 14px;
}
.ceo-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.ceo-name-en {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
  margin-bottom: 32px;
}
.ceo-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
}
.ceo-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ceo-stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ceo-stat-num small {
  font-size: 0.5em;
  color: var(--primary);
  margin-left: 2px;
}
.ceo-stat-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.ceo-body {
  padding: 48px 56px;
}
.ceo-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  line-height: 1.4;
}
.ceo-body p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 20px;
}
.ceo-body p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .company-ceo { padding: 80px 0; }
  .ceo-card-header { padding: 32px 28px; }
  .ceo-body { padding: 32px 28px; }
  .ceo-stats { grid-template-columns: 1fr; gap: 20px; }
}

/* ---- Thanks page (page-thanks.php) ---- */
.thanks-page {
  padding: 120px 0;
  background: var(--bg);
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.thanks-container {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.thanks-title {
  word-break: keep-all;
  overflow-wrap: break-word;
}
.thanks-icon-wrap { margin-bottom: 32px; }
.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
}
.thanks-icon svg { width: 40px; height: 40px; }
.thanks-page .eyebrow { justify-content: center; }
.thanks-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
  margin: 16px 0 28px;
  line-height: 1.4;
}
.thanks-desc {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 28px;
}
.thanks-notice {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-light);
  background: var(--bg-section);
  padding: 16px 24px;
  margin-bottom: 40px;
  border-left: 3px solid var(--primary);
  text-align: left;
}
.thanks-actions { margin-top: 40px; }
@media (max-width: 768px) {
  .thanks-page { padding: 80px 0; }
}

/* ---- Article (single-*.php) ---- */
.article { background: var(--bg); }

/* 記事系の共通 .container 幅。hero / image / body すべて同じ列幅で揃える */
.article > section > .container {
  max-width: 880px;
}

.article-hero {
  padding: 64px 0 32px;
  background: var(--bg);
}
.article-hero .breadcrumb {
  margin-bottom: 20px;
}
.article-hero .breadcrumb a:hover { color: var(--primary); }
.article-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--black);
  letter-spacing: -0.015em;
  margin: 12px 0 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.article-meta time {
  font-weight: 600;
  color: var(--primary);
}
.article-category {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 3px 9px;
  border: 1px solid var(--primary);
  transition: all var(--transition);
}
.article-category:hover {
  background: var(--primary);
  color: #fff;
}

/* ---- Featured image section ---- */
.article-thumb-section {
  padding: 24px 0 0;
  background: var(--bg);
}
.article-thumb {
  margin: 0;
  background: var(--bg-section);
  overflow: hidden;
}
.article-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Article body ---- */
.article-body {
  padding: 48px 0 96px;
  background: var(--bg);
}
.entry-content {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--text);
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child  { margin-bottom: 0; }
.entry-content p {
  margin: 0 0 28px;
}
.entry-content h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 3px solid var(--primary);
  line-height: 1.5;
}
.entry-content h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  margin: 32px 0 14px;
  line-height: 1.5;
}
.entry-content h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin: 32px 0 12px;
  line-height: 1.5;
}
.entry-content ul,
.entry-content ol {
  margin: 0 0 28px;
  padding-left: 1.4em;
}
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 10px;
}
.entry-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 8px;
  background: var(--primary);
  transform: rotate(45deg);
}
.entry-content ol {
  list-style: decimal;
}
.entry-content ol li {
  margin-bottom: 10px;
  padding-left: 0.4em;
}
.entry-content ol li::marker {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
}
.entry-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition);
}
.entry-content a:hover {
  color: var(--primary-deep);
}
.entry-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--bg-section);
  border-left: 4px solid var(--primary);
  font-style: normal;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-light);
  font-style: normal;
}
.entry-content code {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  font-family: 'SFMono-Regular', Menlo, monospace;
  font-size: 0.9em;
  color: var(--primary-deep);
}
.entry-content pre {
  margin: 32px 0;
  padding: 20px 24px;
  background: var(--black);
  color: #f5f5f5;
  font-family: 'SFMono-Regular', Menlo, monospace;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: auto;
}
.entry-content pre code {
  display: block;
  background: transparent;
  border: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 32px auto;
  display: block;
}
.entry-content figure {
  margin: 32px 0;
}
.entry-content figcaption {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
  margin-top: 8px;
}
.entry-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.entry-content table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  font-size: 14px;
}
.entry-content th,
.entry-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.entry-content th {
  background: var(--bg-section);
  font-weight: 700;
}
.entry-content strong { color: var(--black); }

.article-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

@media (max-width: 768px) {
  .article-hero { padding: 56px 0 32px; }
  .article-thumb-section { padding: 32px 0 0; }
  .article-body { padding: 48px 0 80px; }
}

/* アーカイブ用のコンパクトHero（subpage-heroの上下パディングを縮小） */
.subpage-hero.subpage-hero-compact {
  padding: 72px 0 48px;
}

/* ---- News archive (archive-information.php / /information/) ---- */
.news-archive {
  padding: 32px 0 100px;
  background: var(--bg);
}
.news-list {
  max-width: 960px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  border-top: 1px solid var(--border);
}
.news-list-item {
  border-bottom: 1px solid var(--border);
}
.news-list-link {
  display: grid;
  grid-template-columns: 110px 160px 1fr 24px;
  gap: 28px;
  align-items: center;
  padding: 22px 4px;
  transition: all var(--transition);
  position: relative;
}
.news-list-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--primary-pale);
  transition: width var(--transition);
  z-index: -1;
}
.news-list-link:hover::before { width: 100%; }
.news-list-link:hover .news-list-arrow {
  color: var(--primary);
  transform: translateX(4px);
}
.news-list-link:hover .news-list-title { color: var(--primary-deep); }

.news-list-date {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--primary);
}
.news-list-thumb {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--bg-section);
  position: relative;
}
.news-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-list-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary-pale), #fff);
}
.news-list-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.6;
  letter-spacing: -0.005em;
  margin: 0;
  transition: color var(--transition);
}
.news-list-arrow {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.news-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 80px 0;
}

@media (max-width: 768px) {
  .news-archive { padding: 48px 0 80px; }
  .news-list-link {
    grid-template-columns: 90px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 16px;
    padding: 18px 4px;
  }
  .news-list-date {
    grid-column: 1;
    grid-row: 1;
    font-size: 12px;
  }
  .news-list-thumb {
    grid-column: 1;
    grid-row: 2;
    width: 90px;
    align-self: start;
  }
  .news-list-title {
    grid-column: 2;
    grid-row: 1 / 3;
    font-size: 14.5px;
    align-self: center;
  }
  .news-list-arrow { display: none; }
}

/* ---- Blog archive (home.php / /blog/) ---- */
.journal-archive {
  padding: 32px 0 100px;
  background: var(--bg-section);
}
.journal-archive .journal-grid {
  margin-bottom: 56px;
}
/* ブログ画像は 1024x538 (≈16:9) で生成されているので比率を合わせる */
.journal-archive .journal-thumb {
  aspect-ratio: 16/9;
}
.journal-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.journal-meta time {
  margin-bottom: 0;
}
.journal-meta .journal-category {
  margin-bottom: 0;
  margin-top: 0;
}
.journal-category {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px;
  border: 1px solid var(--primary);
  margin-bottom: 12px;
  margin-top: 6px;
}
.journal-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.journal-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.journal-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.journal-pagination .page-numbers:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.journal-pagination .page-numbers.current {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.journal-pagination .page-numbers.dots {
  border: none;
  background: transparent;
}
@media (max-width: 768px) {
  .journal-archive { padding: 60px 0 80px; }
}

/* ================================================ Access ================================================ */
.access {
  padding: 140px 0;
  background: var(--bg);
}
.access-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.access-content .section-title { margin-bottom: 28px; }
.access-address {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 32px;
  padding-left: 20px;
  border-left: 2px solid var(--primary);
}
.access-list {
  margin-bottom: 32px;
}
.access-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  color: var(--text);
  display: flex;
  gap: 16px;
}
.access-list li:first-child { border-top: 1px solid var(--border-light); }
.access-list strong {
  color: var(--black);
  font-weight: 700;
  min-width: 140px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.access-map {
  aspect-ratio: 5/4;
  background: var(--bg-section);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.access-map > #sakuway-map {
  width: 100%;
  height: 100%;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--primary);
  font-size: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  background: #fff;
  padding: 32px 40px;
  border: 1px solid var(--black);
}
.map-placeholder svg { width: 36px; height: 36px; }
@media (max-width: 900px) {
  .access { padding: 80px 0; }
  .access-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ================================================ CTA ================================================ */
.cta {
  padding: 140px 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.cta::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: var(--primary);
  opacity: 0.15;
  filter: blur(100px);
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  max-width: 820px;
  margin: 0 auto;
}
.cta .eyebrow {
  color: var(--primary-light);
  margin-bottom: 20px;
  justify-content: center;
}
.cta .eyebrow::before { background: var(--primary-light); }
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 28px;
}
@media (min-width: 769px) {
  .cta h2 { white-space: nowrap; }
}
.cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 2;
  margin-bottom: 48px;
}
.cta .btn-primary {
  background: #fff;
  color: var(--black);
}
.cta .btn-primary::before { background: var(--primary); }
.cta .btn-primary:hover { color: #fff; }
@media (max-width: 768px) {
  .cta { padding: 80px 0; }
}

/* ================================================ Footer ================================================ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-col-brand .logo {
  color: #fff;
  margin-bottom: 20px;
}
.footer-col-brand p {
  font-size: 13px;
  line-height: 1.8;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.footer-bottom small {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
  font-family: var(--font-display);
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-col-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ================================================
   Subpage components (shared by system / web / school)
================================================ */

/* ---- Subpage hero ---- */
.subpage-hero {
  position: relative;
  padding: 120px 0 140px;
  background: var(--bg);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}
.subpage-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.subpage-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17,17,17,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,17,17,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 90%);
}
.subpage-hero-mark {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 280px);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--primary);
  opacity: 0.06;
  line-height: 0.85;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.subpage-hero-side {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text-light);
  text-transform: uppercase;
  z-index: 2;
  white-space: nowrap;
}
.subpage-hero-side-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}
.subpage-hero-side-line {
  width: 60px;
  height: 1px;
  background: currentColor;
}
@media (max-width: 1100px) {
  .subpage-hero-side { display: none; }
}
.subpage-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); }
/* キッカー: H1の前後に置く小さな引用文 */
.subpage-hero-kicker {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.55vw, 17px);
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* H1: ページの主題（サービス名）— 抑え気味でも十分目立つ */
.subpage-hero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.subpage-hero-title .accent { color: var(--primary); }

/* リード: キャッチコピー — H1より小さくしつつ、accentで存在感 */
.subpage-hero-lead {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.subpage-hero-lead .accent {
  color: var(--primary);
  font-weight: 800;
}

/* hero-phrase: 1つの「文」を span でくくると、折り返した2行目以降が自動的にインデントされる
   .subpage-hero-title / .subpage-hero-lead いずれの中でも動作する */
.subpage-hero-title .hero-phrase,
.subpage-hero-lead  .hero-phrase {
  display: block;
  padding-left: 1.2em;
  text-indent: -1.2em;
}
.subpage-hero-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 44px;
  max-width: 720px;
}
.subpage-hero-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .subpage-hero { padding: 72px 0 88px; }
  .subpage-hero-mark { font-size: 120px; right: 16px; }
}

/* ---- Problems ---- */
.problems {
  padding: 120px 0;
  background: var(--bg-section);
}
.problems .section-header {
  text-align: center;
  margin-bottom: 64px;
}
.problems .section-label {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.problems .section-label::before { display: none; }
.problems-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.problem-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.problem-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--primary);
  flex-shrink: 0;
  line-height: 1;
}
.problem-item p {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.7;
  margin: 6px 0;
}
.problems-close {
  margin-top: 48px;
  text-align: center;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.8;
}
@media (max-width: 768px) {
  .problems { padding: 80px 0; }
  .problems-list { grid-template-columns: 1fr; }
}

/* ---- Features list (対応範囲 / 選ばれる理由 on school) ---- */
.features {
  padding: 140px 0;
  background: var(--bg);
}
.features .section-header {
  text-align: center;
  margin-bottom: 80px;
}
.features .section-label {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.features .section-label::before { display: none; }
.features .section-desc {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.feature-item {
  display: flex;
  gap: 24px;
  padding: 44px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: all var(--transition);
  position: relative;
}
.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.feature-item:hover { background: var(--bg-light); }
.feature-item:hover::before { transform: scaleX(1); }
.feature-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
}
.feature-content h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feature-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
}
@media (max-width: 768px) {
  .features { padding: 80px 0; }
  .features-list { grid-template-columns: 1fr; }
  .feature-item { padding: 28px 22px; gap: 16px; }
  .feature-num { font-size: 28px; }
}

/* ---- Reasons ---- */
.reasons {
  padding: 140px 0;
  background: var(--bg-section);
}
.reasons-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 100px;
  align-items: center;
}
.reasons-content .section-title { margin-bottom: 28px; margin-top: 8px; }
.reasons-content .section-title .accent {
  color: var(--primary);
  position: relative;
  display: inline-block;
}
.reasons-content > p {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 28px;
}
.reasons-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reasons-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}
.check-icon svg { width: 14px; height: 14px; }
.reasons-visual {
  position: relative;
  aspect-ratio: 1/1.15;
  max-width: 380px;
  margin-left: auto;
}
.reasons-badge {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: var(--black);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  overflow: hidden;
}
.reasons-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.reasons-badge::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -40%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  opacity: 0.3;
  filter: blur(80px);
  pointer-events: none;
}
.reasons-badge > * { position: relative; z-index: 1; }
.reasons-badge-num {
  font-family: var(--font-display);
  font-size: clamp(90px, 12vw, 150px);
  font-weight: 800;
  line-height: 0.9;
  color: #fff;
  letter-spacing: -0.06em;
}
.reasons-badge-num small {
  font-size: 0.5em;
  color: var(--primary-light);
  font-weight: 700;
  margin-left: 4px;
}
.reasons-badge-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
}
.reasons-badge-note {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}
.reasons-badge-frame {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--primary);
  z-index: 0;
}
@media (max-width: 900px) {
  .reasons { padding: 80px 0; }
  .reasons-inner { grid-template-columns: 1fr; gap: 64px; }
  .reasons-visual { margin: 0 auto; max-width: 320px; }
}

/* ---- Flow ---- */
.flow {
  padding: 140px 0;
  background: var(--bg);
}
.flow .section-header {
  text-align: center;
  margin-bottom: 72px;
}
.flow .section-label {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.flow .section-label::before { display: none; }
.flow-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}
.flow-list.flow-list-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 880px;
  margin: 0 auto;
}
.flow-list::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 8%;
  right: 8%;
  height: 1px;
  border-top: 1px dashed var(--border);
  z-index: 0;
}
.flow-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}
.flow-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--black);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all var(--transition);
  letter-spacing: -0.02em;
}
.flow-item:hover .flow-num {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.flow-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.flow-content p {
  font-size: 12.5px;
  color: var(--text-light);
  line-height: 1.7;
}
@media (max-width: 900px) {
  .flow { padding: 80px 0; }
  .flow-list { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .flow-list::before { display: none; }
}
@media (max-width: 480px) {
  .flow-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Pricing text (system page simple version) ---- */
.pricing-text {
  padding: 140px 0;
  background: var(--bg-section);
}
.pricing-text .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.pricing-text .section-label {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.pricing-text .section-label::before { display: none; }
.pricing-note-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 56px;
  background: #fff;
  border: 1px solid var(--black);
  position: relative;
}
.pricing-note-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}
.pricing-note-box p {
  font-size: 15px;
  color: var(--text);
  line-height: 2;
  margin-bottom: 14px;
}
.pricing-note-box p:last-child { margin-bottom: 0; }
.pricing-note-strong {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--black) !important;
  padding-top: 14px;
  margin-top: 8px !important;
  border-top: 1px solid var(--border-light);
}
@media (max-width: 768px) {
  .pricing-text { padding: 80px 0; }
  .pricing-note-box { padding: 32px 28px; }
}

/* ---- Pricing plans (3-card version for web / school) ---- */
.pricing-plans {
  padding: 140px 0;
  background: var(--bg);
}
.pricing-plans .section-header {
  text-align: center;
  margin-bottom: 64px;
}
.pricing-plans .section-label {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.pricing-plans .section-label::before { display: none; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--border);
  border: 1px solid var(--border);
}
.plan-card {
  background: #fff;
  padding: 48px 36px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  background: var(--black);
  color: #fff;
}
.plan-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
}
.plan-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.plan-card.featured .plan-label { color: var(--primary-light); }
.plan-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.plan-card.featured h3 { color: #fff; }
.plan-desc {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
  line-height: 1.7;
}
.plan-card.featured .plan-desc { color: rgba(255,255,255,0.6); }
.plan-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}
.plan-card.featured .plan-amount { border-bottom-color: rgba(255,255,255,0.15); }
.plan-yen {
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
}
.plan-card.featured .plan-yen { color: #fff; }
.plan-number {
  font-size: 40px;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-card.featured .plan-number { color: #fff; }
.plan-suffix {
  font-size: 13px;
  color: var(--text-light);
  margin-left: 4px;
}
.plan-card.featured .plan-suffix { color: rgba(255,255,255,0.6); }
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
}
.plan-card.featured .plan-features li { color: rgba(255,255,255,0.85); }
.plan-features li::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
  flex-shrink: 0;
  margin-top: 8px;
}
.price-note {
  max-width: 960px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}
.pricing-actions {
  margin-top: 36px;
  text-align: center;
}
.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: #fff;
  color: var(--black);
  border: 1px solid var(--black);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: all var(--transition);
}
.btn-pdf:hover { background: var(--black); color: #fff; }
@media (max-width: 900px) {
  .pricing-plans { padding: 80px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---- Works (web page) ---- */
.works {
  padding: 140px 0;
  background: var(--bg-section);
}
.works .section-header {
  text-align: center;
  margin-bottom: 64px;
}
.works .section-label {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.works .section-label::before { display: none; }
.works .section-desc {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.work-card {
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.work-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.work-image {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
  display: block;
  overflow: hidden;
}
.work-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17,17,17,0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.work-card:hover .work-image::after { opacity: 1; }
.work-image-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 1;
  padding: 8px 14px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.work-card:hover .work-image-overlay {
  opacity: 1;
  transform: translateY(0);
}
.work-image-1 { background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=900&q=80'); }
.work-image-2 { background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=900&q=80'); }
.work-image-3 { background-image: url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=900&q=80'); }
.work-body {
  padding: 28px 30px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.work-tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 10px;
  border: 1px solid var(--primary);
  margin-bottom: 14px;
}
.work-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.4;
}
.work-desc {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 0;
}
.work-voice {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
  position: relative;
}
.work-voice::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: -4px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--primary-pale);
  line-height: 1;
  pointer-events: none;
}
.work-voice blockquote {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  padding-left: 20px;
}
.work-voice blockquote p {
  font-size: 13px;
  line-height: 1.95;
  color: var(--text);
  font-style: normal;
}
.work-voice-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 20px;
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-section);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.testimonial-avatar-1 { background-image: url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=200&q=80'); }
.testimonial-avatar-2 { background-image: url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=200&q=80'); }
.testimonial-avatar-3 { background-image: url('https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=200&q=80'); }
.work-voice-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
}
.testimonial-role {
  font-size: 11.5px;
  color: var(--text-light);
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .works { padding: 80px 0; }
  .works-grid { grid-template-columns: 1fr; }
}

/* ---- FAQ ---- */
.faq {
  padding: 140px 0;
  background: var(--bg-section);
}
.faq .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.faq .section-label {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.faq .section-label::before { display: none; }
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  list-style: none;
  padding: 22px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--primary);
  transition: transform var(--transition);
}
.faq-toggle::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
.faq-toggle::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}
.faq-item[open] .faq-toggle::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer {
  padding: 0 28px 26px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 2;
  border-top: 1px solid var(--border-light);
  padding-top: 22px;
  margin-top: -2px;
}
@media (max-width: 768px) {
  .faq { padding: 80px 0; }
  .faq-item summary { padding: 18px 20px; font-size: 14px; }
  .faq-answer { padding: 18px 20px 22px; }
}

/* ---- Contact form ---- */
.contact {
  padding: 140px 0;
  background: var(--bg);
}
.contact .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.contact .section-label {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.contact .section-label::before { display: none; }
.contact .section-desc {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.contact-form {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px;
  background: #fff;
  border: 1px solid var(--border);
}
.form-row {
  margin-bottom: 24px;
}
.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 10px;
}
.form-required {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--primary);
  color: #fff;
  letter-spacing: 0.1em;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: all var(--transition);
  border-radius: var(--radius-sm);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(61,139,156,0.12);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.8;
}
.form-actions {
  margin-top: 36px;
  text-align: center;
}
.form-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
@media (max-width: 768px) {
  .contact { padding: 80px 0; }
  .contact-form { padding: 32px 24px; }
}

/* ---- External CTA (school page) ---- */
.cta-ext {
  padding: 120px 0;
  background: var(--black);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-ext::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.cta-ext-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.cta-ext h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
}
.cta-ext p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 36px;
}
.btn-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}
.btn-ext-link:hover {
  background: #fff;
  color: var(--black);
}
.cta-ext-note {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ---- WordPress pitch (web page) ---- */
.wordpress-pitch {
  padding: 140px 0;
  background: var(--bg-section);
}
.wordpress-pitch-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}
.wordpress-pitch-content .section-title { margin-bottom: 24px; }
.wordpress-pitch-content .section-title span { color: var(--primary); }
.wordpress-pitch-content > p {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 28px;
}
.wordpress-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wordpress-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}
.wordpress-pitch-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wordpress-badge {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.wordpress-badge::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1px solid var(--primary);
  border-radius: 50%;
}
.wordpress-badge svg {
  width: 120px;
  height: 120px;
  fill: #fff;
}
@media (max-width: 900px) {
  .wordpress-pitch { padding: 80px 0; }
  .wordpress-pitch-inner { grid-template-columns: 1fr; gap: 56px; }
  .wordpress-badge { width: 180px; height: 180px; margin: 0 auto; }
  .wordpress-badge svg { width: 90px; height: 90px; }
}

/* ---- Samples grid (web page) ---- */
.samples {
  padding: 140px 0;
  background: var(--bg);
}
.samples .section-header {
  text-align: center;
  margin-bottom: 64px;
}
.samples .section-label {
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}
.samples .section-label::before { display: none; }
.samples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sample-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.sample-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.sample-image {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.sample-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(17,17,17,0.5) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.sample-card:hover .sample-image::after { opacity: 1; }
.sample-image-1 { background-image: url('/wp-content/uploads/2026/02/sample-salon.avif'); }
.sample-image-2 { background-image: url('/wp-content/uploads/2026/02/feature-speed.avif'); }
.sample-image-3 { background-image: url('/wp-content/uploads/2026/02/sample-construction.avif'); }
.sample-image-4 { background-image: url('/wp-content/uploads/2026/02/mockup-sp.avif'); }
.sample-info {
  padding: 28px 32px;
}
.sample-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 4px 10px;
  border: 1px solid var(--primary);
}
.sample-info h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.5;
}
.sample-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}
@media (max-width: 768px) {
  .samples { padding: 80px 0; }
  .samples-grid { grid-template-columns: 1fr; }
}
