/* ================================================
   株式会社ニュースマート - style.css
   共通スタイル + 各ページ固有スタイル
   ================================================ */

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy: #1a2744;
  --navy-deep: #0f1a2e;
  --navy-light: #2a3d5e;
  --blue: #3a6ea5;
  --blue-light: #5a8ec5;
  --blue-pale: #e8f0f8;
  --slate: #4a5568;
  --slate-light: #718096;
  --gray-100: #f7f8fa;
  --gray-200: #edf0f4;
  --gray-300: #d8dde6;
  --white: #ffffff;
  --accent: #2c7a7b;
  --text: #2d3748;
  --text-light: #606878;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.9;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(26,39,68,0.08); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--navy); }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.1rem;
}
.logo-text {
  font-family: 'Noto Serif JP', serif;
  font-weight: 600; font-size: 1.15rem; letter-spacing: 0.04em;
}
.logo-sub {
  font-size: 0.6rem; color: var(--slate-light);
  letter-spacing: 0.12em; font-weight: 400; display: block; margin-top: -2px;
}
.logo-img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-brand .logo-img {
  height: 32px;
  filter: brightness(0) invert(1);
}

/* Desktop nav */
.nav-desktop { display: flex; align-items: center; }
.nav-desktop a {
  text-decoration: none; color: var(--slate);
  font-size: 0.82rem; font-weight: 500; padding: 0.5rem 1.1rem;
  letter-spacing: 0.03em; transition: color 0.2s; position: relative;
}
.nav-desktop a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--blue); transition: left 0.25s, right 0.25s;
}
.nav-desktop a:hover { color: var(--navy); }
.nav-desktop a:hover::after { left: 1.1rem; right: 1.1rem; }
.nav-desktop a.current { color: var(--navy); font-weight: 600; }
.nav-desktop a.current::after { left: 1.1rem; right: 1.1rem; }
.nav-contact {
  background: var(--navy); color: #fff !important; border-radius: 6px;
  padding: 0.55rem 1.4rem !important; font-size: 0.8rem !important;
  transition: background 0.2s !important;
}
.nav-contact:hover { background: var(--navy-light) !important; }
.nav-contact::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: none; border: none;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--navy);
  transition: all 0.3s; border-radius: 1px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  flex-direction: column; padding: 1.5rem 2rem; z-index: 999;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  text-decoration: none; color: rgba(255,255,255,0.9); font-size: 1rem;
  font-weight: 500; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s, padding-left 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: #fff; padding-left: 0.5rem; }

/* ===== SECTION COMMON ===== */
.section { padding: 6rem 2rem; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-wide { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.68rem; font-weight: 600; color: var(--blue);
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600;
  color: var(--navy); letter-spacing: 0.04em; margin-bottom: 1rem; line-height: 1.5;
}
.section-desc {
  font-size: 0.95rem; color: var(--text-light);
  line-height: 2; max-width: 700px;
}
.section-divider {
  width: 40px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  border-radius: 2px; margin: 1.5rem 0 0;
}
.text-center { text-align: center; }
.mt-3 { margin-top: 2.5rem; }

/* ===== PAGE HERO (sub pages) ===== */
.page-hero {
  margin-top: 72px; padding: 5rem 2rem;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(58,110,165,0.12) 0%, transparent 70%);
}
.page-hero-inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600;
  color: #fff; letter-spacing: 0.04em; margin-bottom: 0.8rem;
}
.page-hero p { font-size: 0.9rem; color: rgba(255,255,255,0.6); max-width: 650px; line-height: 1.9; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 5rem 2rem; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(58,110,165,0.12) 0%, transparent 70%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 600;
  color: #fff; letter-spacing: 0.04em; margin-bottom: 1rem;
}
.cta-section p { font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 2.5rem; line-height: 1.9; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--navy); text-decoration: none;
  padding: 1rem 2.5rem; border-radius: 6px;
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }

/* ===== BUTTONS (shared) ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue); color: #fff; text-decoration: none;
  padding: 0.9rem 2rem; border-radius: 6px;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85);
  text-decoration: none; padding: 0.9rem 2rem; border-radius: 6px;
  font-size: 0.88rem; font-weight: 500; transition: all 0.2s;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 0.85rem 2.2rem; border-radius: 6px;
  font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.btn-secondary:hover { background: var(--navy-light); transform: translateY(-1px); }
.btn-more {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--blue); text-decoration: none;
  font-size: 0.88rem; font-weight: 500; margin-top: 0.5rem; transition: gap 0.2s;
}
.btn-more:hover { gap: 0.8rem; }
.btn-p {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 0.85rem 2rem; border-radius: 6px;
  font-size: 0.88rem; font-weight: 500; transition: background 0.2s, transform 0.2s; margin-top: 1rem;
}
.btn-p:hover { background: var(--navy-light); transform: translateY(-1px); }

/* ===== FOOTER ===== */
.site-footer { background: var(--navy-deep); padding: 3.5rem 2rem 2rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-brand p {
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  line-height: 1.9; margin-top: 1rem; max-width: 300px;
}
.footer-nav h4 {
  font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em; margin-bottom: 1.2rem;
}
.footer-nav a {
  display: block; text-decoration: none; font-size: 0.82rem;
  color: rgba(255,255,255,0.6); padding: 0.35rem 0; transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { font-size: 0.72rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ===== ANIMATION ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }


/* ================================================
   INDEX PAGE - トップページ
   ================================================ */

/* Hero */
.hero {
  margin-top: 72px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 40%, var(--navy-light) 100%);
  min-height: 620px; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(58,110,165,0.15) 0%, transparent 70%),
              radial-gradient(ellipse 40% 50% at 20% 80%, rgba(44,122,123,0.1) 0%, transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding: 5rem 2rem;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-label {
  display: inline-block; font-size: 0.72rem; font-weight: 500; color: rgba(255,255,255,0.6);
  letter-spacing: 0.2em; margin-bottom: 1.5rem; padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 4px;
  animation: fadeUp 0.8s ease both;
}
.hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600;
  color: #fff; line-height: 1.6; letter-spacing: 0.04em; margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease 0.15s both;
}
.hero p { font-size: 0.95rem; color: rgba(255,255,255,0.7); line-height: 2; animation: fadeUp 0.8s ease 0.3s both; }
.hero-cta { margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.8s ease 0.45s both; }
.hero-image { animation: fadeUp 0.8s ease 0.3s both; }
.hero-image img { width: 100%; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

/* Strengths */
.strengths { background: var(--gray-100); }
.strengths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.strength-card {
  background: #fff; border-radius: 12px; padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200); transition: transform 0.3s, box-shadow 0.3s; text-align: center;
}
.strength-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,39,68,0.08); }
.strength-icon {
  width: 80px; height: 80px; margin: 0 auto 1.5rem;
  border-radius: 50%; overflow: hidden; background: var(--blue-pale);
}
.strength-icon img { width: 100%; height: 100%; object-fit: cover; }
.strength-card h3 {
  font-family: 'Noto Serif JP', serif; font-size: 1.05rem;
  font-weight: 600; color: var(--navy); margin-bottom: 0.8rem;
}
.strength-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.9; text-align: left; }

/* About intro */
.about-intro { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.about-image { border-radius: 12px; overflow: hidden; }
.about-image img { width: 100%; height: 320px; object-fit: cover; display: block; }
.about-text p { font-size: 0.92rem; color: var(--text); line-height: 2.1; margin-bottom: 1rem; }

/* Service preview */
.service-preview { background: var(--gray-100); }
.service-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.sp-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gray-200); transition: transform 0.3s, box-shadow 0.3s;
}
.sp-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(26,39,68,0.06); }
.sp-card-img { height: 180px; overflow: hidden; background: var(--blue-pale); }
.sp-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sp-card-body { padding: 1.5rem; }
.sp-card-body h3 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.sp-card-body p { font-size: 0.82rem; color: var(--text-light); line-height: 1.8; }

/* Company intro */
.company-intro { background: #fff; }
.company-intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.company-intro-image { border-radius: 12px; overflow: hidden; }
.company-intro-image img { width: 100%; height: 300px; object-fit: cover; display: block; }
.company-table-mini { width: 100%; border-collapse: collapse; }
.company-table-mini tr { border-bottom: 1px solid var(--gray-200); }
.company-table-mini tr:last-child { border-bottom: none; }
.company-table-mini th {
  text-align: left; padding: 0.8rem 1rem 0.8rem 0;
  font-size: 0.82rem; font-weight: 600; color: var(--navy); width: 100px; vertical-align: top;
}
.company-table-mini td { padding: 0.8rem 0; font-size: 0.85rem; color: var(--text); }


/* ================================================
   PHILOSOPHY PAGE - 企業理念
   ================================================ */
.mission-section { background: #fff; }
.mission-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  margin-top: 3rem; padding-bottom: 4rem; border-bottom: 1px solid var(--gray-200);
}
.mission-block:last-child { border-bottom: none; padding-bottom: 0; }
.mission-block.reverse { direction: rtl; }
.mission-block.reverse > * { direction: ltr; }
.mission-image { border-radius: 12px; overflow: hidden; }
.mission-image img { width: 100%; height: 300px; object-fit: cover; display: block; }
.mission-text .tag {
  font-size: 0.7rem; font-weight: 600; color: var(--blue);
  letter-spacing: 0.15em; margin-bottom: 0.5rem; display: block;
}
.mission-text h2 {
  font-family: 'Noto Serif JP', serif; font-size: 1.4rem;
  font-weight: 600; color: var(--navy); margin-bottom: 1.2rem;
}
.mission-text p { font-size: 0.92rem; color: var(--text); line-height: 2.1; }

.values-section { background: var(--gray-100); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.value-card {
  background: #fff; border-radius: 12px; padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200); transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,39,68,0.08); }
.value-card-img { width: 100%; height: 160px; border-radius: 8px; overflow: hidden; margin-bottom: 1.5rem; }
.value-card-img img { width: 100%; height: 100%; object-fit: cover; }
.value-card .tag {
  font-size: 0.65rem; font-weight: 600; color: var(--blue);
  letter-spacing: 0.15em; margin-bottom: 0.4rem; display: block;
}
.value-card h3 {
  font-family: 'Noto Serif JP', serif; font-size: 1.1rem;
  font-weight: 600; color: var(--navy); margin-bottom: 0.8rem;
}
.value-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.9; }


/* ================================================
   BUSINESS PAGE - 事業内容
   ================================================ */
.business-main { background: #fff; }
.business-hero-img { margin-top: 3rem; border-radius: 16px; overflow: hidden; height: 360px; }
.business-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.business-content { margin-top: 3rem; }
.business-content p { font-size: 0.95rem; color: var(--text); line-height: 2.2; margin-bottom: 1.5rem; }

.business-areas { background: var(--gray-100); }
.areas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.area-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gray-200); transition: transform 0.3s, box-shadow 0.3s;
}
.area-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,39,68,0.08); }
.area-card-img { height: 200px; overflow: hidden; }
.area-card-img img { width: 100%; height: 100%; object-fit: cover; }
.area-card-body { padding: 2rem; }
.area-card-body .tag {
  font-size: 0.65rem; font-weight: 600; color: var(--blue);
  letter-spacing: 0.15em; margin-bottom: 0.5rem; display: block;
}
.area-card-body h3 {
  font-family: 'Noto Serif JP', serif; font-size: 1.1rem;
  font-weight: 600; color: var(--navy); margin-bottom: 0.8rem;
}
.area-card-body p { font-size: 0.85rem; color: var(--text-light); line-height: 1.9; }

.revenue-section { background: #fff; }
.revenue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.revenue-image { border-radius: 12px; overflow: hidden; }
.revenue-image img { width: 100%; height: 280px; object-fit: cover; display: block; }
.revenue-text h3 {
  font-family: 'Noto Serif JP', serif; font-size: 1.15rem;
  font-weight: 600; color: var(--navy); margin-bottom: 1rem;
}
.revenue-text p { font-size: 0.9rem; color: var(--text); line-height: 2.1; margin-bottom: 1rem; }
.revenue-list { list-style: none; margin-top: 1rem; }
.revenue-list li {
  font-size: 0.88rem; color: var(--text); padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; gap: 0.8rem;
}
.revenue-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}


/* ================================================
   SERVICE PAGE - サービス
   ================================================ */
.service-overview { background: #fff; }
.svc-hero-img { margin-top: 3rem; border-radius: 16px; overflow: hidden; height: 360px; }
.svc-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-text { margin-top: 2.5rem; font-size: 0.95rem; color: var(--text); line-height: 2.2; }

.features { background: var(--gray-100); }
.feature-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 2rem; }
.feature-item {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center;
  background: #fff; border-radius: 12px; padding: 2.5rem;
  border: 1px solid var(--gray-200); transition: box-shadow 0.3s;
}
.feature-item:hover { box-shadow: 0 8px 30px rgba(26,39,68,0.06); }
.feature-item:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
.feature-item:nth-child(even) .feature-img { order: 2; }
.feature-img { border-radius: 8px; overflow: hidden; height: 220px; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-num { font-size: 0.65rem; font-weight: 700; color: var(--blue); letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.feature-text h3 {
  font-family: 'Noto Serif JP', serif; font-size: 1.15rem;
  font-weight: 600; color: var(--navy); margin-bottom: 1rem;
}
.feature-text p { font-size: 0.88rem; color: var(--text-light); line-height: 2; }

.pricing { background: #fff; }
.pricing-box { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.pricing-image { border-radius: 12px; overflow: hidden; height: 280px; }
.pricing-image img { width: 100%; height: 100%; object-fit: cover; }
.pricing-text h3 {
  font-family: 'Noto Serif JP', serif; font-size: 1.15rem;
  font-weight: 600; color: var(--navy); margin-bottom: 1rem;
}
.pricing-text p { font-size: 0.9rem; color: var(--text); line-height: 2.1; margin-bottom: 1rem; }

.flow { background: var(--gray-100); }
.flow-steps { margin-top: 3rem; display: flex; flex-direction: column; }
.flow-step { display: grid; grid-template-columns: 80px 1fr; gap: 2rem; padding: 2rem 0; }
.flow-step:not(:last-child) { border-bottom: 1px solid var(--gray-300); }
.flow-left { text-align: center; }
.flow-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; margin: 0 auto;
}
.flow-right h4 {
  font-family: 'Noto Serif JP', serif; font-size: 1.05rem;
  font-weight: 600; color: var(--navy); margin-bottom: 0.5rem;
}
.flow-right p { font-size: 0.88rem; color: var(--text-light); line-height: 1.9; }


/* ================================================
   COMPANY PAGE - 会社概要
   ================================================ */
.company-info { background: #fff; }
.company-img { margin-top: 3rem; border-radius: 16px; overflow: hidden; height: 340px; }
.company-img img { width: 100%; height: 100%; object-fit: cover; }
.company-table-wrap { margin-top: 3rem; border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-200); }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--gray-200); }
.company-table tr:last-child { border-bottom: none; }
.company-table th {
  text-align: left; padding: 1.2rem 1.8rem; font-size: 0.85rem;
  font-weight: 600; color: var(--navy); background: var(--gray-100); width: 180px; vertical-align: top;
}
.company-table td { padding: 1.2rem 1.8rem; font-size: 0.9rem; color: var(--text); line-height: 1.8; }

.map-section { background: var(--gray-100); }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-top: 3rem; }
.map-placeholder { border-radius: 12px; overflow: hidden; height: 300px; background: var(--gray-200); }
.map-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.map-text h3 {
  font-family: 'Noto Serif JP', serif; font-size: 1.1rem;
  font-weight: 600; color: var(--navy); margin-bottom: 1rem;
}
.map-text p { font-size: 0.9rem; color: var(--text); line-height: 2; }

.ceo { background: #fff; }
.ceo-grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; margin-top: 3rem; }
.ceo-photo { border-radius: 12px; overflow: hidden; height: 380px; }
.ceo-photo img { width: 100%; height: 100%; object-fit: cover; }
.ceo-text p { font-size: 0.92rem; color: var(--text); line-height: 2.2; margin-bottom: 1.2rem; }
.ceo-sign {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--gray-300);
  font-size: 0.9rem; color: var(--navy); font-weight: 500;
}


/* ================================================
   ORGANIZATION PAGE - 組織体制
   ================================================ */
.org-chart { background: #fff; }
.org-chart-img {
  margin-top: 3rem; border-radius: 16px; overflow: hidden;
  background: var(--gray-100); padding: 3rem; text-align: center;
}
.org-chart-img img { max-width: 100%; height: auto; border-radius: 8px; }

.departments { background: var(--gray-100); }
.dept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 3rem; }
.dept-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gray-200); transition: transform 0.3s, box-shadow 0.3s;
}
.dept-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(26,39,68,0.08); }
.dept-card-img { height: 200px; overflow: hidden; }
.dept-card-img img { width: 100%; height: 100%; object-fit: cover; }
.dept-card-body { padding: 2rem; }
.dept-card-body .tag {
  font-size: 0.65rem; font-weight: 600; color: var(--blue);
  letter-spacing: 0.15em; margin-bottom: 0.5rem; display: block;
}
.dept-card-body h3 {
  font-family: 'Noto Serif JP', serif; font-size: 1.05rem;
  font-weight: 600; color: var(--navy); margin-bottom: 0.8rem;
}
.dept-card-body p { font-size: 0.85rem; color: var(--text-light); line-height: 1.9; }

.info-mgmt { background: #fff; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 3rem; }
.info-image { border-radius: 12px; overflow: hidden; height: 280px; }
.info-image img { width: 100%; height: 100%; object-fit: cover; }
.info-text h3 {
  font-family: 'Noto Serif JP', serif; font-size: 1.15rem;
  font-weight: 600; color: var(--navy); margin-bottom: 1rem;
}
.info-text p { font-size: 0.9rem; color: var(--text); line-height: 2.1; }


/* ================================================
   CONTACT PAGE - お問い合わせ
   ================================================ */
.contact-main { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 4rem; margin-top: 3rem; }
.form-group { margin-bottom: 1.8rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; }
.form-group label .req { font-size: 0.7rem; color: #c53030; margin-left: 0.5rem; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--gray-300); border-radius: 8px;
  font-size: 0.9rem; font-family: inherit; color: var(--text); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,110,165,0.1); }
.form-group textarea { resize: vertical; min-height: 160px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.privacy-check { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 2rem; }
.privacy-check input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); }
.privacy-check label { font-size: 0.82rem; color: var(--text-light); line-height: 1.6; }
.privacy-check a { color: var(--blue); text-decoration: none; }
.btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--navy); color: #fff; border: none;
  padding: 1rem 3rem; border-radius: 6px;
  font-size: 0.9rem; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: background 0.2s, transform 0.2s; width: 100%; letter-spacing: 0.04em;
}
.btn-submit:hover { background: var(--navy-light); transform: translateY(-1px); }

.contact-sidebar { padding-top: 0.5rem; }
.sidebar-card {
  background: var(--gray-100); border-radius: 12px; padding: 2rem;
  border: 1px solid var(--gray-200); margin-bottom: 1.5rem;
}
.sidebar-card h3 {
  font-family: 'Noto Serif JP', serif; font-size: 0.95rem;
  font-weight: 600; color: var(--navy); margin-bottom: 1rem;
}
.sidebar-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.9; margin-bottom: 0.5rem; }
.sidebar-card .info-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.8rem; }
.sidebar-card .info-icon {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem;
}


/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .strengths-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .service-preview-grid { grid-template-columns: 1fr; }
  .company-intro-inner { grid-template-columns: 1fr; }
  .mission-block { grid-template-columns: 1fr; gap: 2rem; }
  .mission-block.reverse { direction: ltr; }
  .values-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .revenue-grid { grid-template-columns: 1fr; }
  .feature-item,
  .feature-item:nth-child(even) { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-item:nth-child(even) .feature-img { order: 0; }
  .pricing-box { grid-template-columns: 1fr; }
  .flow-step { grid-template-columns: 60px 1fr; gap: 1.5rem; }
  .ceo-grid { grid-template-columns: 1fr; }
  .ceo-photo { height: 300px; }
  .map-grid { grid-template-columns: 1fr; }
  .dept-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 500px; }
  .hero-inner { padding: 3.5rem 1.5rem; }
  .hero h1 { font-size: 1.5rem; }
  .section { padding: 4rem 1.5rem; }
  .page-hero { padding: 3.5rem 1.5rem; }
  .company-table th { width: 120px; padding: 1rem; }
  .company-table td { padding: 1rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}


/* ================================================
   LEGAL PAGES - プラポリ・利用規約・特商法
   ================================================ */
.legal-page { background: #fff; }
.legal-content { max-width: 800px; }
.legal-intro {
  font-size: 0.92rem; color: var(--text); line-height: 2.2;
  margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200);
}
.legal-section {
  margin-bottom: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--gray-200);
}
.legal-section:last-of-type { border-bottom: none; }
.legal-section h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem; font-weight: 600; color: var(--navy);
  margin-bottom: 1rem; padding-left: 1rem;
  border-left: 3px solid var(--blue);
}
.legal-section p {
  font-size: 0.88rem; color: var(--text); line-height: 2.1;
  margin-bottom: 0.8rem;
}
.legal-section ol {
  padding-left: 1.5rem; margin-top: 0.8rem; margin-bottom: 0.8rem;
}
.legal-section ol li {
  font-size: 0.88rem; color: var(--text); line-height: 2.1;
  margin-bottom: 0.4rem;
}
.legal-section ol ol {
  margin-top: 0.4rem; list-style-type: lower-alpha;
}
.legal-contact-box {
  margin-top: 1.5rem; padding: 1.5rem 2rem;
  background: var(--gray-100); border-radius: 8px;
  border: 1px solid var(--gray-200);
}
.legal-contact-box p {
  font-size: 0.85rem; color: var(--text); line-height: 1.9;
  margin-bottom: 0.3rem;
}
.legal-date {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}
.legal-date p {
  font-size: 0.82rem; color: var(--slate-light); margin-bottom: 0.3rem;
}

/* Legal table (tokushoho) */
.legal-table-wrap {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--gray-200);
}
.legal-table { width: 100%; border-collapse: collapse; }
.legal-table tr { border-bottom: 1px solid var(--gray-200); }
.legal-table tr:last-child { border-bottom: none; }
.legal-table th {
  text-align: left; padding: 1.2rem 1.5rem;
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
  background: var(--gray-100); width: 200px; vertical-align: top;
  line-height: 1.8;
}
.legal-table td {
  padding: 1.2rem 1.5rem;
  font-size: 0.88rem; color: var(--text); line-height: 1.9;
}
.legal-note {
  font-size: 0.78rem; color: var(--slate-light); display: block; margin-top: 0.3rem;
}

@media (max-width: 768px) {
  .legal-table th { width: 130px; padding: 0.8rem; font-size: 0.8rem; }
  .legal-table td { padding: 0.8rem; font-size: 0.82rem; }
  .legal-section h2 { font-size: 0.95rem; }
}


/* ================================================
   FORM ERROR & THANKS PAGE
   ================================================ */

/* Error box */
.error-box {
  background: #fff5f5; border: 1px solid #feb2b2; border-radius: 10px;
  padding: 1.5rem 2rem; border-left: 4px solid #c53030;
}
.error-box .error-title {
  font-size: 0.92rem; font-weight: 600; color: #c53030; margin-bottom: 0.8rem;
}
.error-box ul {
  padding-left: 1.2rem; margin: 0;
}
.error-box ul li {
  font-size: 0.85rem; color: #742a2a; line-height: 1.9; margin-bottom: 0.2rem;
}
.error-box p {
  font-size: 0.85rem; color: #742a2a; line-height: 1.9;
}

/* Thanks page */
.thanks-page { background: #fff; }
.thanks-content {
  text-align: center; max-width: 640px; margin: 0 auto;
}
.thanks-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  color: #fff; font-size: 2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem;
}
.thanks-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem; font-weight: 600; color: var(--navy);
  margin-bottom: 2rem;
}
.thanks-content p {
  font-size: 0.92rem; color: var(--text); line-height: 2.1;
  margin-bottom: 1rem; text-align: left;
}
.thanks-contact-info {
  margin-top: 2.5rem; padding: 2rem;
  background: var(--gray-100); border-radius: 12px;
  border: 1px solid var(--gray-200); text-align: center;
}
.thanks-contact-info p { text-align: center; margin-bottom: 0.5rem; }
.thanks-phone {
  font-size: 1.3rem !important; font-weight: 700; color: var(--navy) !important;
}
.thanks-hours {
  font-size: 0.8rem !important; color: var(--slate-light) !important;
}
.thanks-actions { margin-top: 3rem; }


/* ================================================
   THANKS PAGE & FORM ERRORS
   ================================================ */
.thanks-page { background: #fff; }
.thanks-content { text-align: center; max-width: 600px; margin: 0 auto; }
.thanks-icon {
  width: 80px; height: 80px; margin: 0 auto 2rem;
  background: #e6f9e6; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #2f855a;
}
.thanks-content h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem; font-weight: 600; color: var(--navy); margin-bottom: 1.5rem;
}
.thanks-content p {
  font-size: 0.9rem; color: var(--text); line-height: 2.1; margin-bottom: 1rem;
}
.thanks-actions { margin-top: 2.5rem; }

/* Form error box */
.error-box {
  background: #fff5f5; border: 1px solid #feb2b2; border-radius: 8px;
  padding: 1.5rem 2rem; margin-bottom: 1rem;
}
.error-box .error-title {
  font-size: 0.9rem; font-weight: 600; color: #c53030; margin-bottom: 0.8rem;
}
.error-box ul {
  padding-left: 1.2rem;
}
.error-box ul li {
  font-size: 0.85rem; color: #c53030; line-height: 1.8; margin-bottom: 0.3rem;
}
