/*
Theme Name: For Next
Theme URI: https://for-next.jp
Author: for next株式会社
Author URI: https://for-next.jp
Description: ソーシャルスタートアップ・for next株式会社の公式コーポレートサイトテーマ。教育・キャリア支援・地域社会貢献を軸にしたモダンなデザイン。
Version: 1.0.0
License: Proprietary
Text Domain: for-next
Tags: social-startup, corporate, one-page, responsive
*/

/* ============================
   CSS VARIABLES
==============================*/
:root {
  --teal:        #27AE7A;
  --teal-dark:   #1D8F62;
  --teal-light:  #E6F8F0;
  --sky:         #3BB4D4;
  --orange:      #F07820;
  --red-acc:     #E8344E;
  --navy:        #0D2137;
  --navy-mid:    #1A3A56;
  --text:        #1E2D3D;
  --text-sub:    #607080;
  --white:       #FFFFFF;
  --bg-light:    #F4FAF7;
  --border:      #D0E8DC;
  --impact:      #F9F3E8;
}

/* ============================
   RESET & BASE
==============================*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
h1,h2,h3,h4,h5 { word-break: break-word; overflow-wrap: break-word; line-height: 1.35; }
p, li, td { word-break: break-word; overflow-wrap: break-word; }

/* ============================
   UTILITY
==============================*/
.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.section-tag {
  display: inline-block;
  font-family: 'Lato', 'Arial', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  position: relative;
  padding-left: 20px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 2px;
  background: var(--teal);
}
.section-title {
  font-family: 'Noto Serif JP', 'Georgia', serif;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--navy);
}
.section-title em { font-style: normal; color: var(--teal); }
.section-lead { font-size: 16px; color: var(--text-sub); line-height: 2; margin-top: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 38px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(39,174,122,0.35); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }
.tag-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  background: var(--teal-light);
  color: var(--teal-dark);
}

/* ============================
   HEADER / NAV
==============================*/
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
#header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.site-logo .logo-mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.site-logo .logo-mark svg { width: 18px; height: 18px; fill: white; }
.site-logo span { color: var(--teal); }
#primary-nav ul { display: flex; align-items: center; gap: 28px; list-style: none; }
#primary-nav a { font-size: 13.5px; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
#primary-nav a:hover { color: var(--teal); }
.nav-cta-btn {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 700 !important;
}
.nav-cta-btn:hover { background: var(--teal-dark) !important; }
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
#hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.3s; }
#mobile-nav {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: white;
  z-index: 199;
  padding: 40px 28px;
  flex-direction: column;
  overflow-y: auto;
}
#mobile-nav.open { display: flex; }
#mobile-nav a { font-size: 18px; font-weight: 600; color: var(--navy); padding: 16px 0; border-bottom: 1px solid var(--border); }

/* ============================
   HERO
==============================*/
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
  background: var(--navy);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
}
.hero-blob-1 { width: 800px; height: 800px; background: radial-gradient(circle, rgba(39,174,122,0.18) 0%, transparent 70%); top: -300px; right: -200px; }
.hero-blob-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(59,180,212,0.12) 0%, transparent 70%); bottom: -100px; left: -100px; }
.hero-grid-lines {
  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;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-label {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.35em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-label::before { content: ''; display: block; width: 32px; height: 2px; background: var(--teal); }
.hero-headline {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 28px;
}
.hero-headline .line-accent { color: var(--teal); }
.hero-headline .line-sub { font-size: 0.65em; color: rgba(255,255,255,0.75); display: block; margin-top: 8px; font-weight: 400; font-family: 'Noto Sans JP', sans-serif; }
.hero-desc { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 2; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-right { display: flex; flex-direction: column; gap: 20px; }

/* Impact Cards */
.impact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 24px 28px;
  backdrop-filter: blur(4px);
  transition: background 0.3s;
}
.impact-card:hover { background: rgba(255,255,255,0.1); }
.impact-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.impact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.impact-icon svg { width: 20px; height: 20px; fill: none; stroke-width: 2; }
.impact-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; }
.impact-value { font-family: 'Lato', sans-serif; font-size: 36px; font-weight: 900; color: white; line-height: 1; }
.impact-value sup { font-size: 16px; }
.impact-note { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 6px; }
.impact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}
.scroll-hint span { font-size: 9px; letter-spacing: 0.3em; color: white; text-transform: uppercase; }
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, white, transparent); }

/* ============================
   STATEMENT BAND
==============================*/
#statement-band {
  background: var(--teal);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}
.marquee-track span {
  font-family: 'Lato', 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.1em;
  padding: 0 48px;
  white-space: nowrap;
}
.marquee-track span.highlight { color: white; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================
   STATEMENT / OUR PURPOSE
==============================*/
#our-purpose {
  padding: 100px 0;
  background: var(--white);
}
.purpose-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.purpose-visual {
  position: relative;
}
.purpose-bigtext {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.8;
}
.purpose-bigtext mark {
  background: linear-gradient(120deg, rgba(39,174,122,0.2) 0%, rgba(39,174,122,0.2) 100%);
  color: var(--teal-dark);
  padding: 0 4px;
  border-radius: 3px;
}
.purpose-pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
}
.purpose-pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  transition: border-color 0.2s, transform 0.2s;
}
.purpose-pillar:hover { border-color: var(--teal); transform: translateX(4px); }
.pillar-num {
  font-family: 'Lato', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--teal);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.pillar-body {}
.pillar-en { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--teal); text-transform: uppercase; margin-bottom: 4px; }
.pillar-ja { font-size: 15px; font-weight: 700; color: var(--navy); }
.pillar-desc { font-size: 13px; color: var(--text-sub); margin-top: 4px; line-height: 1.7; }

/* ============================
   SERVICES
==============================*/
#services {
  padding: 100px 0;
  background: var(--bg-light);
}
.services-header {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}
.service-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.service-tab {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.service-tab:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,0.09); }
.service-tab-hero {
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.service-tab-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
}
.st-seigakukan .service-tab-hero { background: linear-gradient(150deg, #1D8F62 0%, #27AE7A 60%, #3BB4D4 100%); }
.st-zunow .service-tab-hero      { background: linear-gradient(150deg, #0E6FA8 0%, #3BB4D4 60%, #27AE7A 100%); }
.st-career .service-tab-hero     { background: linear-gradient(150deg, #B84C10 0%, #F07820 60%, #F5C842 100%); }
.st-badge {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  position: relative; z-index: 1;
  margin-bottom: 6px;
}
.st-name {
  font-family: 'Lato', 'Noto Sans JP', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: white;
  position: relative; z-index: 1;
  letter-spacing: 0.02em;
}
.st-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-top: 8px;
  position: relative; z-index: 1;
}
.service-tab-body { padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.st-desc { font-size: 14px; color: var(--text-sub); line-height: 1.85; margin-bottom: 20px; }
.st-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
}
.st-link svg { width: 14px; height: 14px; stroke: var(--teal); fill: none; stroke-width: 2; transition: transform 0.2s; }
.st-link:hover svg { transform: translateX(4px); }

/* Consulting wide card */
.service-consulting {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 2fr 3fr;
  overflow: hidden;
}
.sc-left {
  background: var(--navy);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sc-left::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  bottom: -80px; right: -80px;
}
.sc-label { font-size: 10px; font-weight: 700; letter-spacing: 0.25em; color: var(--teal); text-transform: uppercase; margin-bottom: 14px; }
.sc-title { font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 700; color: white; line-height: 1.5; margin-bottom: 16px; }
.sc-desc { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.8; }
.sc-right { padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-content: center; }
.sc-item-label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.sc-item-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.sc-item-desc { font-size: 13px; color: var(--text-sub); line-height: 1.7; }

/* ============================
   IMPACT NUMBERS
==============================*/
#impact {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#impact::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,174,122,0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative; z-index: 1;
}
.impact-stat {
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.impact-stat:last-child { border-right: none; }
.impact-stat-num {
  font-family: 'Lato', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: white;
  line-height: 1;
  letter-spacing: -0.02em;
}
.impact-stat-num sup { font-size: 20px; }
.impact-stat-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 12px; line-height: 1.5; }
.impact-stat-acc { display: block; font-size: 11px; color: var(--teal); margin-top: 4px; }

/* ============================
   BTOB SERVICES
==============================*/
#btob {
  padding: 100px 0;
  background: var(--white);
}
.btob-header { margin-bottom: 60px; }
.btob-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.btob-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.btob-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.07); }
.btob-card-top { padding: 28px 28px 20px; border-bottom: 1px solid var(--border); background: var(--bg-light); }
.btob-service-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.btob-service-icon svg { width: 24px; height: 24px; fill: none; stroke-width: 1.8; }
.btob-icon-ma { background: #E8F0FF; }
.btob-icon-ma svg { stroke: #2563EB; }
.btob-icon-ai { background: var(--teal-light); }
.btob-icon-ai svg { stroke: var(--teal-dark); }
.btob-icon-dx { background: #FFF3E8; }
.btob-icon-dx svg { stroke: var(--orange); }
.btob-en { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: var(--text-sub); text-transform: uppercase; margin-bottom: 5px; }
.btob-title { font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 700; color: var(--navy); }
.btob-card-body { padding: 22px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.btob-desc { font-size: 14px; color: var(--text-sub); line-height: 1.85; margin-bottom: 18px; flex: 1; }
.btob-features { display: flex; flex-direction: column; gap: 9px; }
.btob-feat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}
.feat-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feat-check svg { width: 9px; height: 9px; stroke: var(--teal-dark); fill: none; stroke-width: 2.5; }

/* CTA Banner */
.btob-cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 20px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.btob-cta-title { font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 700; color: white; margin-bottom: 8px; }
.btob-cta-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.8; }

/* ============================
   VALUES
==============================*/
#values {
  padding: 100px 0;
  background: var(--bg-light);
}
.values-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.value-list { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.value-item {
  display: flex;
  gap: 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.value-item:hover { border-color: var(--teal); box-shadow: 0 4px 20px rgba(39,174,122,0.1); }
.val-num { font-family: 'Lato', sans-serif; font-size: 14px; font-weight: 900; color: var(--teal); flex-shrink: 0; padding-top: 2px; }
.val-text { font-size: 14px; color: var(--text); line-height: 1.75; }
.philosophy-box {
  background: var(--navy);
  border-radius: 20px;
  padding: 40px;
  margin-top: 36px;
  position: sticky;
  top: 88px;
}
.philo-label { font-size: 10px; font-weight: 700; letter-spacing: 0.25em; color: var(--teal); text-transform: uppercase; margin-bottom: 20px; }
.philo-block { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.philo-block:last-child { border-bottom: none; padding-bottom: 0; }
.philo-en { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); text-transform: uppercase; margin-bottom: 6px; }
.philo-ja { font-size: 15px; font-weight: 700; color: white; line-height: 1.6; }
.philo-sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; line-height: 1.6; }

/* ============================
   NEWS / BLOG
==============================*/
#news {
  padding: 100px 0;
  background: var(--white);
}
.news-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 48px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.07); }
.news-thumb {
  height: 200px;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal-light) 0%, #d8f0e6 100%);
}
.news-thumb-placeholder svg { width: 40px; height: 40px; stroke: var(--teal); fill: none; opacity: 0.5; }
.news-body { padding: 22px 24px 26px; }
.news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.news-date { font-size: 12px; color: var(--text-sub); font-family: 'Lato', sans-serif; }
.news-cat { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; background: var(--teal-light); color: var(--teal-dark); }
.news-title { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 10px; }
.news-title a:hover { color: var(--teal); }
.news-excerpt { font-size: 13px; color: var(--text-sub); line-height: 1.75; }
/* No posts message */
.no-posts { text-align: center; padding: 60px 20px; color: var(--text-sub); font-size: 15px; }

/* ============================
   ABOUT / CEO
==============================*/
#about {
  padding: 100px 0;
  background: var(--bg-light);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.ceo-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 40px;
}
.ceo-head { display: flex; gap: 20px; align-items: center; margin-bottom: 28px; }
.ceo-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ceo-avatar svg { width: 38px; height: 38px; stroke: white; fill: none; stroke-width: 1.5; }
.ceo-name { font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 700; color: var(--navy); }
.ceo-role { font-size: 12px; color: var(--text-sub); margin-top: 5px; line-height: 1.6; }
.ceo-bio { font-size: 14px; color: var(--text-sub); line-height: 1.9; margin-bottom: 24px; }
.ceo-awards { display: flex; flex-direction: column; gap: 10px; }
.award { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text); background: var(--bg-light); border-radius: 10px; padding: 12px 14px; }
.award-icon { font-size: 16px; flex-shrink: 0; }

.company-info-box { background: white; border-radius: 20px; border: 1px solid var(--border); padding: 36px 40px; }
.company-info-title { font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table th { text-align: left; padding: 14px 0; font-size: 12px; font-weight: 700; color: var(--text-sub); width: 110px; vertical-align: top; }
.info-table td { padding: 14px 0; font-size: 14px; color: var(--text); line-height: 1.7; }
.info-table-wrap { overflow-x: auto; }
.group-links { display: flex; flex-direction: column; gap: 6px; }
.group-links a { font-size: 13px; color: var(--teal); display: flex; align-items: center; gap: 4px; }
.group-links a:hover { text-decoration: underline; }
.group-links a svg { width: 12px; height: 12px; stroke: var(--teal); fill: none; stroke-width: 2; }

/* ============================
   CONTACT
==============================*/
#contact {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,174,122,0.08) 0%, transparent 70%);
  top: -300px; right: -200px;
  pointer-events: none;
}
.contact-inner { position: relative; z-index: 1; }
.contact-header { text-align: center; margin-bottom: 56px; }
.contact-header .section-tag { color: var(--teal); }
.contact-header .section-tag::before { background: var(--teal); }
.contact-header .section-title { color: white; }
.contact-header .section-lead { color: rgba(255,255,255,0.6); }
.contact-form-wrap { max-width: 680px; margin: 0 auto; }
.cf-group { margin-bottom: 22px; }
.cf-group label { display: block; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.cf-group input,
.cf-group textarea,
.cf-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: white;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.cf-group input:focus,
.cf-group textarea:focus,
.cf-group select:focus { border-color: var(--teal); background: rgba(255,255,255,0.1); }
.cf-group input::placeholder, .cf-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.cf-group select option { background: var(--navy); color: white; }
.cf-group textarea { height: 150px; resize: vertical; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-submit { text-align: center; margin-top: 32px; }
.cf-submit .btn { min-width: 260px; justify-content: center; }
.cf-note { text-align: center; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.4); }

/* ============================
   FOOTER
==============================*/
#site-footer {
  background: #060F18;
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.55);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 36px;
}
.footer-brand {}
.footer-brand .site-logo { margin-bottom: 18px; }
.footer-brand .logo-mark { background: var(--teal); }
.footer-brand p { font-size: 13px; line-height: 1.9; }
.footer-nav h4 { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 18px; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-nav a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom small { font-size: 12px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-legal a:hover { color: var(--teal); }

/* ============================
   RESPONSIVE
==============================*/
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .service-consulting { grid-template-columns: 1fr; }
  .sc-right { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  #primary-nav { display: none; }
  #hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .purpose-layout { grid-template-columns: 1fr; }
  .service-tabs { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-stat:nth-child(2) { border-right: none; }
  .btob-cards { grid-template-columns: 1fr 1fr; }
  .values-layout { grid-template-columns: 1fr; }
  .philosophy-box { position: static; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .btob-cta-banner { flex-direction: column; text-align: center; padding: 36px 28px; }
}
@media (max-width: 640px) {
  .service-tabs { grid-template-columns: 1fr; }
  .btob-cards { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-stat { padding: 28px 16px; }
  .impact-stat-num { font-size: 36px; }
  .cf-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .service-consulting { border-radius: 16px; }
  .sc-left { padding: 32px; }
  .sc-right { grid-template-columns: 1fr; padding: 28px; }
}
