/* =============================================
   ひむかストラテジー - メインスタイルシート
   ============================================= */

/* ---- リセット & ベース ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1c2b4a;
  --navy-light: #2d3f63;
  --accent: #2d6a8f;
  --accent-light: #3d87b8;
  --gold: #b8935a;
  --text: #2c2c2c;
  --text-light: #6b7280;
  --bg: #fff;
  --bg-light: #f8f7f4;
  --border: #e5e5e0;
  --white: #fff;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --shadow: 0 4px 24px rgba(28,43,74,0.08);
  --radius: 4px;
  --transition: 0.25s ease;
}

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

/* ---- コンテナ ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- ヘッダー ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.header-logo a {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
}
.logo-sub {
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.12em;
}
.header-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
  position: relative;
  transition: color var(--transition);
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.header-nav a:hover, .header-nav a.active { color: var(--accent); }
.header-nav a:hover::after, .header-nav a.active::after { transform: scaleX(1); }
.header-nav .btn-contact {
  background: var(--navy);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 2px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
.header-nav .btn-contact::after { display: none; }
.header-nav .btn-contact:hover { background: var(--accent); color: var(--white); }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* スマホナビ */
.sp-nav {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.sp-nav.open { display: block; }
.sp-nav ul { padding: 12px 0; }
.sp-nav li a {
  display: block;
  padding: 12px 24px;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.sp-nav li a:hover { background: var(--bg-light); }

/* ---- ロゴ画像 ---- */
.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
}

/* ---- ヒーロー写真背景 ---- */
.hero-bg {
  background-size: cover !important;
  background-position: center !important;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 35, 60, 0.72);
  z-index: 0;
}
.hero-content { z-index: 1; }

/* ---- ヒーロー ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1c2b4a 0%, #2d4a72 40%, #1e3a5f 100%);
  background-size: cover;
  background-position: center;
}
.hero-bg::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' fill-rule='evenodd'%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");
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 24px;
}
.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}
.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 40px; font-size: 0.95rem; }
.btn-full { width: 100%; }

/* ---- セクション共通 ---- */
.section { padding: 80px 0; }
.section.bg-light { background: var(--bg-light); }
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.section-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 48px;
  max-width: 600px;
}
.section-more { text-align: center; margin-top: 48px; }
.lead-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ---- トップ：About ---- */
.about-top-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 8px;
}
.about-top-text p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
}
.about-top-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius);
}
.value-icon {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-serif);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}
.value-text h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.value-text p { font-size: 0.8rem; color: var(--text-light); }

/* ---- トップ：Service Cards ---- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.service-card:hover { box-shadow: var(--shadow); }
.service-card-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
.service-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ---- リンク系 ---- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: 8px;
  transition: gap var(--transition);
}
.link-arrow::after { content: '→'; }
.link-arrow:hover { gap: 10px; }
.link-arrow-sm {
  font-size: 0.78rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-arrow-sm::after { content: '→'; }

/* ---- トップ：Strength ---- */
.strength-list { display: flex; flex-direction: column; gap: 0; }
.strength-item {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.strength-item:first-child { border-top: 1px solid var(--border); }
.strength-num {
  font-size: 2.2rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--border);
  flex-shrink: 0;
  width: 56px;
  line-height: 1.2;
}
.strength-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.strength-body p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.9;
}

/* ---- トップ：News ---- */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.news-item:first-child { border-top: 1px solid var(--border); }
.news-date { font-size: 0.78rem; color: var(--text-light); flex-shrink: 0; letter-spacing: 0.05em; }
.news-cat {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 10px;
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.news-title { font-size: 0.9rem; color: var(--text); transition: color var(--transition); }
.news-title:hover { color: var(--accent); }

/* ---- CTA ---- */
.cta {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.cta-desc {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 2;
  margin-bottom: 48px;
}
.cta-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-tel { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cta-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; }
.tel-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  font-family: var(--font-serif);
}
.cta-hours { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.cta-btn-wrap { }

/* ---- ページヘッダー ---- */
.page-header {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  margin-top: 68px;
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.page-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
}

/* ---- 会社概要ページ ---- */
.message-block {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.photo-placeholder {
  width: 180px;
  height: 220px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 0.8rem;
}
.photo-name {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
  line-height: 1.6;
}
.photo-name strong { color: var(--navy); font-size: 0.95rem; }
.message-text p { margin-bottom: 16px; font-size: 0.95rem; line-height: 1.9; }
.message-text p:last-child { margin-bottom: 0; }
.sign { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--navy); margin-top: 24px !important; }

/* 会社テーブル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.company-table th, .company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  line-height: 1.7;
}
.company-table th {
  width: 200px;
  color: var(--text-light);
  font-weight: 500;
  background: var(--bg-light);
  vertical-align: top;
}
.company-table td a { color: var(--accent); }
.company-table tr:first-child th,
.company-table tr:first-child td { border-top: 1px solid var(--border); }

/* 沿革 */
.history-list { display: flex; flex-direction: column; gap: 0; max-width: 680px; }
.history-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.history-item:first-child { border-top: 1px solid var(--border); }
.history-year { font-weight: 700; color: var(--accent); font-size: 0.9rem; }
.history-body { font-size: 0.9rem; color: var(--text); }
.history-note { font-size: 0.78rem; color: var(--text-light); margin-top: 12px; }

/* アクセス */
.access-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.access-info p { font-size: 0.9rem; margin-bottom: 8px; }
.map-placeholder {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  font-size: 0.8rem;
  line-height: 1.8;
}

/* ---- 事業内容ページ ---- */
.service-detail { }
.service-detail-inner { max-width: 880px; }
.service-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.service-num {
  font-size: 3rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 72px;
}
.service-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.service-detail-sub { font-size: 0.75rem; letter-spacing: 0.15em; color: var(--text-light); }
.service-detail-body > p {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 32px;
  color: var(--text);
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.service-box {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: var(--radius);
}
.service-box h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.service-box ul { display: flex; flex-direction: column; gap: 10px; }
.service-box li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}
.service-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* 依頼の流れ */
.flow-block h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.flow-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.flow-step {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 80px;
}
.flow-step span {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
}
.flow-arrow { color: var(--text-light); font-size: 1.1rem; flex-shrink: 0; }

/* FAQ */
.faq-block h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.faq-q::before { content: 'Q.  '; color: var(--accent); }
.faq-a { font-size: 0.85rem; color: var(--text-light); line-height: 1.8; padding-left: 20px; }
.faq-a::before { content: 'A.  '; color: var(--text-light); font-weight: 700; margin-left: -20px; }

/* ---- 強みページ ---- */
.strength-detail-list { display: flex; flex-direction: column; gap: 48px; }
.strength-detail-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.strength-detail-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.strength-detail-num {
  font-size: 3rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  opacity: 0.3;
  flex-shrink: 0;
  width: 60px;
}
.strength-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
}
.strength-detail-body > p {
  font-size: 0.92rem;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 16px;
}
.strength-point {
  background: var(--bg-light);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin-top: 8px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.strength-point ul { display: flex; flex-direction: column; gap: 8px; }
.strength-point li {
  font-size: 0.85rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.strength-point li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* 実績 */
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 16px;
}
.track-item {
  text-align: center;
  padding: 32px;
  background: var(--bg-light);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.track-num {
  font-size: 2.4rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 8px;
}
.track-num span { font-size: 1rem; }
.track-item p { font-size: 0.8rem; color: var(--text-light); }
.track-note { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 4px; }

/* ---- お知らせページ ---- */
.news-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 6px 16px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-sans);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.news-list-full { display: flex; flex-direction: column; }
.news-item-full {
  border-bottom: 1px solid var(--border);
}
.news-item-full:first-child { border-top: 1px solid var(--border); }
.news-item-full a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  transition: background var(--transition);
}
.news-item-full a:hover .news-title-full { color: var(--accent); }
.news-cat-badge {
  font-size: 0.68rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}
.news-cat-badge.info { background: var(--navy); color: var(--white); }
.news-cat-badge.holiday { background: #8b5e3c; color: var(--white); }
.news-cat-badge.service { background: var(--accent); color: var(--white); }
.news-title-full { font-size: 0.9rem; color: var(--text); transition: color var(--transition); }
.news-empty-note { font-size: 0.82rem; color: var(--text-light); text-align: center; margin-top: 24px; }

/* ---- お問い合わせページ ---- */
.contact-info-box {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 48px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.75rem; color: var(--text-light); margin-bottom: 4px; }
.contact-info-val { font-size: 1rem; font-weight: 700; color: var(--navy); }
.contact-info-hours { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }

/* フォーム */
.contact-form-wrap {
  max-width: 720px;
  margin: 0 auto 60px;
}
.form-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.required-badge {
  font-size: 0.65rem;
  background: var(--accent);
  color: var(--white);
  padding: 1px 6px;
  border-radius: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 140px; line-height: 1.7; }
.privacy-check label { cursor: pointer; display: flex; align-items: center; gap: 10px; }
.checkbox-label { cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 400 !important; }
.checkbox-label input { width: auto; cursor: pointer; accent-color: var(--accent); }
.link-text { color: var(--accent); text-decoration: underline; }
.form-submit { margin-top: 32px; }

/* プライバシーポリシー */
.privacy-policy {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.privacy-policy h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.privacy-policy p { font-size: 0.82rem; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.privacy-policy ul { display: flex; flex-direction: column; gap: 8px; }
.privacy-policy li {
  font-size: 0.82rem;
  color: var(--text-light);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}
.privacy-policy li::before {
  content: '・';
  position: absolute;
  left: 0;
}

/* 代表写真 */
.president-photo {
  width: 180px;
  height: 220px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  display: block;
}

/* マップ埋め込み */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  border: 1px solid var(--border);
}

/* フォーム送信完了 */
.form-success {
  max-width: 720px;
  margin: 0 auto 60px;
}
.form-success-inner {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.form-success-inner h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
}
.form-success-inner p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* フォームエラー */
.form-error {
  background: #fff5f5;
  border: 1px solid #f5c2c7;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: #842029;
}
.form-error a { color: #842029; }

/* ボタン幅いっぱい */
.btn-full { width: 100%; }

/* ---- フッター ---- */
.site-footer { background: var(--navy); color: var(--white); padding-top: 60px; }
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 48px;
  align-items: start;
}
.footer-logo .logo-main { color: var(--white); }
.footer-logo .logo-sub { color: rgba(255,255,255,0.45); }
.footer-info p { font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 2; }
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
}
.copyright { font-size: 0.72rem; color: rgba(255,255,255,0.35); letter-spacing: 0.08em; }

/* ---- 実績セクション ---- */
.results-section { background: var(--navy); }
.results-section .section-label { color: rgba(255,255,255,0.5); }
.results-section .section-title { color: var(--white); }
.results-section .section-desc { color: rgba(255,255,255,0.6); }
.results-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
  margin-bottom: 32px;
}
.result-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: background var(--transition);
}
.result-card--accent {
  background: rgba(45,106,143,0.35);
  border-color: var(--accent-light);
}
.result-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.result-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.result-decimal { font-size: 1.8rem; }
.result-unit { font-size: 0.8rem; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.result-sub { font-size: 0.72rem; color: rgba(255,255,255,0.4); }
.results-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}
.results-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.meta-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.meta-val { font-size: 1rem; font-weight: 700; color: var(--white); }
.results-meta-peak .meta-label { color: var(--gold); }
.results-meta-peak .meta-val { color: var(--gold); font-size: 1.2rem; }
.results-note { font-size: 0.75rem; color: rgba(255,255,255,0.35); text-align: center; }
.results-section .section-more { margin-top: 40px; }
.results-section .btn-secondary {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.results-section .btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* 強み・実績ページ内の結果グリッド（白背景）— strength.html用 */
.results-page-section .results-grid { }
.results-page-section .result-card {
  background: var(--white);
  border-color: var(--border);
  border: 1px solid var(--border);
}
.results-page-section .result-card--accent {
  background: var(--navy);
  border-color: var(--navy);
}
.results-page-section .result-label { color: var(--text-light); }
.results-page-section .result-num { color: var(--navy); }
.results-page-section .result-decimal { color: var(--navy); }
.results-page-section .result-unit { color: var(--text-light); }
.results-page-section .result-sub { color: var(--text-light); }
.results-page-section .result-card--accent .result-label { color: rgba(255,255,255,0.7); }
.results-page-section .result-card--accent .result-num { color: var(--white); }
.results-page-section .result-card--accent .result-decimal { color: var(--white); }
.results-page-section .result-card--accent .result-unit { color: rgba(255,255,255,0.6); }
.results-page-section .result-card--accent .result-sub { color: rgba(255,255,255,0.5); }
.results-page-section .results-meta { justify-content: flex-start; }
.results-page-section .meta-label { color: var(--text-light); }
.results-page-section .meta-val { color: var(--navy); }
.results-page-section .results-note { color: var(--text-light); text-align: left; }

/* ---- ピーク実績 ---- */
.peak-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px;
}
.peak-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.peak-card--highlight {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}
.peak-card-head {
  background: var(--navy);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.peak-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}
.peak-badge--gold { color: var(--gold); }
.peak-date { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.peak-table { width: 100%; border-collapse: collapse; }
.peak-table th, .peak-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.peak-table th { color: var(--text-light); font-weight: 400; width: 55%; }
.peak-table td { text-align: right; color: var(--navy); }
.peak-table td strong { font-size: 1.1rem; color: var(--accent); }
.peak-table tr:last-child th,
.peak-table tr:last-child td { border-bottom: none; }

/* ---- ヒーロー統計 ---- */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
}
.hero-stat {
  padding: 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-num small { font-size: 1rem; }
.stat-label { font-size: 0.68rem; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; }

/* サービスカードのリスト */
.service-card-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 10px;
}
.service-card-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.service-card-list li {
  font-size: 0.78rem;
  color: var(--text-light);
  padding-left: 14px;
  position: relative;
}
.service-card-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.65rem;
}

/* ---- 写真ギャラリー ---- */
.photo-section { background: var(--bg); }
.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.photo-item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-light);
}
.photo-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.photo-item:hover img { transform: scale(1.03); }
.photo-item--large {
  grid-row: span 2;
}
.photo-item--large img { height: 100%; min-height: 340px; }

/* 強みページの写真バナー */
.photo-banner-section { }
.photo-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.photo-banner-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  transition: transform 0.4s ease;
}
.photo-banner-grid img:hover { transform: scale(1.03); }

/* サービス詳細ページの写真 */
.service-photo-wrap {
  width: 100%;
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
}
.service-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-item--large { grid-row: span 1; }
  .photo-item--large img { min-height: 220px; height: 220px; }
  .photo-banner-grid { grid-template-columns: repeat(2, 1fr); }

  .about-top-inner { grid-template-columns: 1fr; gap: 40px; }
  .service-cards { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .track-grid { grid-template-columns: 1fr; }
  .message-block { grid-template-columns: 1fr; }
  .access-block { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav ul { align-items: flex-start; }
  .flow-steps { gap: 4px; }
  .flow-step { min-width: 60px; font-size: 0.72rem; padding: 10px 8px; }
  .contact-info-box { flex-direction: column; }
  .cta-contact { flex-direction: column; gap: 32px; }
  .strength-detail-item { padding: 24px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-banner-grid { grid-template-columns: repeat(2, 1fr); }
  .service-photo { height: 200px; }
  .page-header { padding: 100px 0 48px; }
  .hero-content { padding: 60px 24px; }
  .news-item { flex-wrap: wrap; gap: 8px; }
  .company-table th { width: 110px; }
  .service-detail-head { flex-direction: column; gap: 8px; }
  .service-num { width: auto; font-size: 2rem; }
}
