/* =============================================
   iishina Theme - main.css
   ============================================= */

/* ===== CSS変数 ===== */
:root {
  --red:    #8B2035;
  --red-h:  #7a1b2d;
  --black:  #111111;
  --white:  #ffffff;
  --gray:   #f7f7f7;
  --border: #e0e0e0;
  --text:   #111111;
  --muted:  #666666;
  --faint:  #aaaaaa;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic Medium', sans-serif;
  --radius: 6px;
  --transition: 0.2s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ===== リセット ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ===== 共通レイアウト ===== */
.sec-inner { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.sec-label {
  font-size: 11px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 6px;
}
.sec-title { font-size: 28px; font-weight: 500; margin-bottom: 10px; }
.sec-sub   { font-size: 14px; color: var(--muted); line-height: 1.8; }
.sec-more  { text-align: center; margin-top: 32px; }
.btn-more  {
  display: inline-block; font-size: 13px; color: var(--muted);
  border: 0.5px solid var(--border); padding: 10px 28px;
  border-radius: var(--radius); transition: var(--transition);
}
.btn-more:hover { color: var(--text); border-color: var(--text); }

/* ===== ボタン ===== */
.btn-r, .btn-o, .cta-w, .cta-ow, .nav-cta {
  display: inline-block; font-size: 13px; font-weight: 500;
  padding: 12px 28px; border-radius: var(--radius);
  border: none; transition: var(--transition); text-align: center;
}
.btn-r, .cta-w  { background: var(--red); color: var(--white); }
.btn-r:hover     { background: var(--red-h); }
.btn-o           { background: rgba(255,255,255,0.1); color: var(--white); border: 0.5px solid rgba(255,255,255,0.3); }
.btn-o:hover     { background: rgba(255,255,255,0.2); }
.cta-w:hover     { background: var(--red-h); }
.cta-ow          { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.cta-ow:hover    { background: rgba(255,255,255,0.1); }
.nav-cta         { background: var(--red); color: var(--white); padding: 8px 18px; }
.nav-cta:hover   { background: var(--red-h); }

/* ===== ナビ ===== */
.nav {
  background: rgba(17,17,17,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 40px;
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  transition: background var(--transition);
}
.nav.is-scrolled { background: rgba(17,17,17,0.95); }

.site-logo { display: flex; align-items: center; }
.site-logo img { height: 32px; width: auto; }
.logo-black { display: none; }

.nav-links { display: flex; gap: 24px; }
.nav-links a { color: rgba(255,255,255,0.7); font-size: 13px; transition: color var(--transition); }
.nav-links a:hover,
.nav-links .current-menu-item > a { color: var(--white); }

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

/* ドロワー */
.nav-drawer {
  display: none; position: fixed; top: 56px; left: 0; right: 0;
  background: rgba(17,17,17,0.97); backdrop-filter: blur(10px);
  z-index: 99; padding: 24px 32px;
  transform: translateY(-100%); transition: transform 0.3s ease;
}
.nav-drawer.is-open { transform: translateY(0); }
.drawer-links { display: flex; flex-direction: column; gap: 0; }
.drawer-links li a {
  display: block; padding: 14px 0;
  color: rgba(255,255,255,0.8); font-size: 16px;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
}
.drawer-cta a {
  display: block; margin-top: 20px;
  background: var(--red); color: var(--white);
  text-align: center; padding: 14px; border-radius: var(--radius);
}

/* ===== HERO ===== */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  overflow: hidden; background: var(--black);
}
.video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,rgba(0,0,0,0.75) 0%,rgba(0,0,0,0.50) 50%,rgba(139,32,53,0.15) 100%);
}
.overlay-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 140px; z-index: 2;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
}
.hero-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center;
  padding: 100px 40px 60px;
}
.hero-inner { max-width: 600px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,32,53,0.2); border: 0.5px solid rgba(139,32,53,0.4);
  border-radius: 20px; padding: 5px 16px; margin-bottom: 20px;
}
.hero-tag span { font-size: 12px; color: #c9667a; }
.hero-tag-dot {
  width: 6px; height: 6px; background: var(--red);
  border-radius: 50%; animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }

.hero h1 {
  font-size: 44px; font-weight: 500; color: var(--white);
  line-height: 1.2; margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero h1 em { color: var(--red); font-style: normal; }
.hero-sub {
  font-size: 15px; color: rgba(255,255,255,0.65);
  line-height: 1.9; margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-btns { display: flex; gap: 12px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 0; }
.hs {
  padding: 0 24px; border-right: 0.5px solid rgba(255,255,255,0.12);
}
.hs:first-child { padding-left: 0; }
.hs:last-child  { border-right: none; }
.hs-num { font-size: 22px; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.hs-num em { color: var(--red); font-style: normal; font-size: 14px; }
.hs-label { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* スクロールインジケーター */
.scroll-ind {
  position: absolute; bottom: 28px; right: 40px; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-text {
  font-size: 9px; color: rgba(255,255,255,0.35);
  letter-spacing: 2px; text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-arrow {
  width: 16px; height: 26px; border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 8px; display: flex; justify-content: center; padding-top: 4px;
}
.scroll-dot {
  width: 3px; height: 6px; background: rgba(255,255,255,0.5);
  border-radius: 2px; animation: scrollDown 1.5s ease-in-out infinite;
}
@keyframes scrollDown { 0%{transform:translateY(0);opacity:1}100%{transform:translateY(10px);opacity:0} }

/* ===== フロー ===== */
.flow-sec { padding: 64px 0; background: var(--gray); }
.flow {
  display: flex; gap: 0; margin-top: 32px;
  border: 0.5px solid var(--border);
}
.flow-step {
  flex: 1; padding: 20px 16px; background: var(--white);
  border-right: 0.5px solid var(--border); position: relative;
  opacity: 0; transform: translateY(16px); transition: opacity 0.4s ease, transform 0.4s ease;
}
.flow-step:last-child { border-right: none; }
.flow-step.is-animated { opacity: 1; transform: translateY(0); }
.flow-step::after {
  content: '›'; position: absolute; right: -10px; top: 50%;
  transform: translateY(-50%); color: var(--red); font-size: 18px; z-index: 2;
  background: var(--white); line-height: 1; padding: 2px 0;
}
.flow-step:last-child::after { display: none; }
.flow-num  { font-size: 10px; color: var(--red); font-weight: 500; margin-bottom: 6px; }
.flow-name { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
.flow-desc { font-size: 11px; color: var(--muted); line-height: 1.6; }

/* ===== サービス ===== */
.svc-sec  { padding: 64px 0; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.svc-card {
  border: 0.5px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: box-shadow var(--transition), border-color var(--transition);
  opacity: 0; transform: translateY(16px); transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s ease;
}
.svc-card.is-animated { opacity: 1; transform: translateY(0); }
.svc-card:hover { box-shadow: var(--shadow); border-color: #ccc; }
.svc-card.featured { border-color: var(--red); }
.svc-badge {
  display: inline-block; background: #f9edf0; color: var(--red);
  font-size: 10px; padding: 2px 8px; border-radius: 10px; margin-bottom: 10px;
}
.svc-name { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.svc-name a:hover { color: var(--red); }
.svc-desc { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ===== 業種 ===== */
.ind-sec  { padding: 64px 0; background: var(--black); }
.ind-sec .sec-label { color: #c9667a; }
.ind-sec .sec-title { color: var(--white); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.ind-card {
  background: rgba(255,255,255,0.05); border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 16px; text-align: center;
  transition: background var(--transition);
}
.ind-card:hover { background: rgba(255,255,255,0.08); }
.ind-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin: 0 auto 8px; opacity: 0.7; }
.ind-name { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; margin-bottom: 3px; }
.ind-ex   { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.5; }

/* ===== 事例 ===== */
.case-sec  { padding: 64px 0; background: var(--gray); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.case-card {
  border: 0.5px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
  opacity: 0; transform: translateY(16px);
}
.case-card.is-animated { opacity: 1; transform: translateY(0); }
.case-card.is-hidden   { opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.case-card.is-visible  { opacity: 1; pointer-events: auto; transition: opacity 0.2s ease; }
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.case-img { position: relative; height: 180px; overflow: hidden; background: #e5e5e5; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.case-card:hover .case-img img { transform: scale(1.03); }
.case-img-placeholder { display: flex; align-items: center; justify-content: center; }
.case-img-placeholder span { font-size: 12px; color: #bbb; }
.case-industry-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--black); color: var(--white);
  font-size: 10px; padding: 3px 10px; border-radius: 10px;
}
.case-body    { padding: 16px 18px; }
.case-client  { font-size: 11px; color: var(--faint); margin-bottom: 5px; }
.case-ind     { font-size: 11px; color: var(--red); font-weight: 500; margin-bottom: 5px; }
.case-title   { font-size: 14px; font-weight: 500; margin-bottom: 6px; line-height: 1.5; }
.case-desc    { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.case-tags    { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.case-tag     { background: var(--gray); color: var(--muted); font-size: 10px; padding: 2px 8px; border-radius: 8px; }
.case-result  {
  padding: 8px 10px; background: #f9edf0; border-left: 2px solid var(--red);
  border-radius: 0 4px 4px 0; font-size: 11px; color: var(--red); line-height: 1.5;
}

/* フィルター */
.cases-filter {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 16px 40px; background: var(--gray); border-bottom: 0.5px solid var(--border);
  max-width: 100%;
}
.filter-label { font-size: 12px; color: var(--muted); }
.filter-btn {
  font-size: 12px; padding: 6px 14px; border-radius: 20px;
  border: 0.5px solid var(--border); background: var(--white);
  color: var(--muted); transition: var(--transition);
}
.filter-btn:hover  { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }
.cases-sec { padding: 40px; max-width: 1180px; margin: 0 auto; }

/* ===== お知らせ ===== */
.news-sec  { padding: 64px 0; }
.news-list { margin-top: 24px; border-top: 0.5px solid var(--border); }
.news-item {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 0.5px solid var(--border);
  transition: color var(--transition);
}
.news-item:hover .news-title { color: var(--red); }
.news-date  { font-size: 12px; color: var(--faint); white-space: nowrap; min-width: 80px; }
.news-cat   {
  font-size: 10px; color: var(--red); background: #f9edf0;
  padding: 2px 8px; border-radius: 8px; white-space: nowrap;
}
.news-title { font-size: 14px; color: var(--text); }

/* ===== CTA ===== */
.cta-sec { padding: 72px 0; background: var(--red); text-align: center; }
.cta-sec h2 { font-size: 28px; font-weight: 500; color: var(--white); margin-bottom: 10px; }
.cta-sec p  { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 32px; line-height: 1.8; }
.cta-btns   { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ===== フッター ===== */
.site-footer  { background: var(--black); }
.footer-inner {
  display: flex; gap: 60px; padding: 56px 40px 40px;
  max-width: 1100px; margin: 0 auto;
}
.footer-brand { flex-shrink: 0; }
.footer-logo  { margin-bottom: 12px; }
.footer-logo img { height: 28px; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.footer-address { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.7; }
.footer-address a { color: rgba(255,255,255,0.3); }
.footer-nav       { display: flex; gap: 48px; flex: 1; justify-content: flex-end; }
.footer-nav-col ul { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.footer-nav-title { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 500; letter-spacing: 0.5px; }
.footer-nav-col a { font-size: 12px; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-nav-col a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom {
  border-top: 0.5px solid rgba(255,255,255,0.06);
  padding: 16px 40px; text-align: center;
}
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ===== ページ共通ヒーロー ===== */
.page-hero {
  background: var(--black); padding: 100px 40px 48px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.page-hero-label { font-size: 10px; color: var(--red); font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; position: relative; z-index: 1; }
.page-hero-title { font-size: 32px; font-weight: 500; color: var(--white); position: relative; z-index: 1; }
.page-hero-sub   { font-size: 14px; color: rgba(255,255,255,0.45); margin-top: 8px; line-height: 1.8; position: relative; z-index: 1; }

/* ===== パンくず ===== */
.breadcrumb {
  display: flex; gap: 6px; align-items: center;
  padding: 10px 40px; background: var(--gray);
  border-bottom: 0.5px solid var(--border);
}
.breadcrumb a    { font-size: 12px; color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { font-size: 12px; color: var(--faint); }
.bc-sep          { color: var(--faint); }

/* ===== サービス詳細ページ ===== */
.svc-detail-list { padding: 48px 0; }
.svc-item {
  display: grid; grid-template-columns: 260px 1fr; gap: 0;
  border: 0.5px solid var(--border); border-radius: 8px;
  overflow: hidden; margin-bottom: 20px;
}
.svc-item-left  { background: var(--black); padding: 28px 24px; display: flex; flex-direction: column; justify-content: space-between; }
.svc-item-num   { font-size: 11px; color: rgba(255,255,255,0.3); margin-bottom: 8px; }
.svc-item-name  { font-size: 18px; font-weight: 500; color: var(--white); line-height: 1.4; margin-bottom: 16px; }
.svc-item-tags  { display: flex; flex-wrap: wrap; gap: 5px; }
.svc-item-tag   { background: rgba(139,32,53,0.25); color: #c9667a; font-size: 9px; padding: 2px 8px; border-radius: 10px; border: 0.5px solid rgba(139,32,53,0.3); }
.svc-item-right { padding: 28px 28px; background: var(--white); }
.svc-item-desc  { font-size: 14px; color: var(--muted); line-height: 1.9; margin-bottom: 20px; }
.svc-points     { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.svc-point      { background: var(--gray); border-radius: var(--radius); padding: 12px 14px; }
.svc-point-title{ font-size: 12px; font-weight: 500; margin-bottom: 4px; }
.svc-point-desc { font-size: 11px; color: var(--muted); line-height: 1.5; }
.svc-link       { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--red); }

/* ===== 会社概要ページ ===== */
.company-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: 1100px; margin: 0 auto; }
.company-left   { padding: 48px 40px; border-right: 0.5px solid var(--border); }
.company-right  { padding: 48px 40px; }
.mission-block  { background: var(--black); padding: 24px; border-radius: 8px; margin-bottom: 32px; }
.mission-label  { font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 1px; margin-bottom: 6px; }
.mission-text   { font-size: 15px; color: var(--white); line-height: 1.8; font-weight: 400; }
.mission-sub    { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 8px; line-height: 1.7; }
.info-table     { width: 100%; border-collapse: collapse; }
.info-table tr  { border-bottom: 0.5px solid var(--border); }
.info-table th  { font-size: 12px; color: var(--muted); font-weight: 400; padding: 12px 0; width: 120px; vertical-align: top; }
.info-table td  { font-size: 13px; color: var(--text); padding: 12px 0; line-height: 1.7; }
.award-card     { background: var(--gray); border-radius: 8px; padding: 18px; margin-bottom: 14px; border-left: 3px solid var(--red); }
.award-year     { font-size: 11px; color: var(--faint); margin-bottom: 4px; }
.award-name     { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.award-org      { font-size: 12px; color: var(--muted); }
.company-map    { background: #e8e8e8; height: 200px; border-radius: 8px; margin-top: 20px; overflow: hidden; }
.company-map iframe { width: 100%; height: 100%; border: none; }

/* ===== お問い合わせページ ===== */
.contact-progress {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding: 16px 40px; background: var(--gray);
  border-bottom: 0.5px solid var(--border);
}
.cp-step     { display: flex; align-items: center; gap: 8px; }
.cp-num      {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500;
  background: var(--border); color: var(--faint);
}
.cp-step.active .cp-num { background: var(--red); color: var(--white); }
.cp-label    { font-size: 12px; color: var(--faint); }
.cp-step.active .cp-label { color: var(--red); font-weight: 500; }
.cp-line     { width: 48px; height: 1px; background: var(--border); margin: 0 8px; }

.contact-body { display: grid; grid-template-columns: 1fr 340px; gap: 0; max-width: 1100px; margin: 0 auto; }
.contact-form-area { padding: 40px 40px 40px 40px; border-right: 0.5px solid var(--border); }
.contact-intro { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.contact-sidebar { padding: 40px 32px; background: var(--gray); }
.cs-block      { margin-bottom: 28px; }
.cs-title      { font-size: 12px; font-weight: 500; color: var(--text); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 0.5px solid var(--border); }
.cs-item       { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.cs-label      { font-size: 10px; color: var(--faint); }
.cs-val        { font-size: 13px; color: var(--text); line-height: 1.6; }
.cs-val a      { color: var(--red); }

.contact-flow  { display: flex; flex-direction: column; gap: 0; }
.cf-step       { display: flex; gap: 10px; align-items: flex-start; padding-bottom: 12px; position: relative; }
.cf-step:not(:last-child)::before { content: ''; position: absolute; left: 11px; top: 26px; bottom: 0; width: 1px; background: var(--border); }
.cf-num        { width: 24px; height: 24px; background: var(--red); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cf-num        { color: var(--white); font-size: 10px; font-weight: 500; }
.cf-name       { font-size: 12px; font-weight: 500; margin-bottom: 2px; }
.cf-desc       { font-size: 11px; color: var(--muted); line-height: 1.5; }

.faq-item      { border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 8px; }
.faq-q         { padding: 12px 14px; font-size: 12px; font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; background: var(--white); }
.faq-q::after  { content: '＋'; color: var(--red); font-size: 16px; }
.faq-item[open] .faq-q::after { content: '－'; }
.faq-a         { padding: 10px 14px; font-size: 12px; color: var(--muted); line-height: 1.7; background: #fdf7f8; border-top: 0.5px solid var(--border); }
.cf7-notice    { background: var(--gray); border-radius: var(--radius); padding: 20px; font-size: 13px; color: var(--muted); line-height: 1.8; }

/* CF7スタイル上書き */
.wpcf7-form p { margin-bottom: 16px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%; padding: 10px 12px;
  border: 0.5px solid var(--border); border-radius: var(--radius);
  font-size: 13px; font-family: inherit; color: var(--text);
  transition: border-color var(--transition); background: var(--white);
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { outline: none; border-color: var(--red); }
.wpcf7-form textarea { height: 140px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  width: 100%; background: var(--red); color: var(--white);
  font-size: 14px; font-weight: 500; padding: 14px;
  border-radius: var(--radius); border: none; cursor: pointer;
  transition: background var(--transition);
}
.wpcf7-form input[type="submit"]:hover { background: var(--red-h); }

/* ===== お知らせ一覧 ===== */
.archive-sec { padding: 48px 0; }
.archive-list { margin-top: 24px; border-top: 0.5px solid var(--border); }
.archive-item {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 24px; padding: 20px 0; border-bottom: 0.5px solid var(--border);
  align-items: start;
}
.archive-thumb { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: var(--gray); }
.archive-thumb img { width: 100%; height: 100%; object-fit: cover; }
.archive-meta  { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.archive-date  { font-size: 12px; color: var(--faint); }
.archive-cat   { font-size: 10px; color: var(--red); background: #f9edf0; padding: 2px 8px; border-radius: 8px; }
.archive-title { font-size: 16px; font-weight: 500; margin-bottom: 6px; }
.archive-title a:hover { color: var(--red); }
.archive-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; }
.wp-pagenavi, .pagination {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 40px;
}
.wp-pagenavi a,
.wp-pagenavi span,
.pagination .page-numbers {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border: 0.5px solid var(--border); border-radius: 4px;
  font-size: 13px; color: var(--muted); transition: var(--transition);
}
.wp-pagenavi .current,
.pagination .current {
  background: var(--red); border-color: var(--red); color: var(--white);
}

/* ===== 投稿詳細 ===== */
.single-sec    { max-width: 800px; margin: 0 auto; padding: 48px 40px; }
.single-header { margin-bottom: 32px; }
.single-meta   { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.single-date   { font-size: 13px; color: var(--faint); }
.single-cat    { font-size: 11px; color: var(--red); background: #f9edf0; padding: 2px 8px; border-radius: 8px; }
.single-title  { font-size: 26px; font-weight: 500; line-height: 1.4; }
.single-thumb  { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.single-content { font-size: 15px; line-height: 1.9; color: var(--text); }
.single-content h2 { font-size: 20px; font-weight: 500; margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 0.5px solid var(--border); }
.single-content h3 { font-size: 17px; font-weight: 500; margin: 24px 0 10px; }
.single-content p  { margin-bottom: 16px; }
.single-content img { border-radius: var(--radius); margin: 16px 0; }
.single-content ul { margin: 0 0 16px 20px; list-style: disc; }
.single-content li { margin-bottom: 6px; }
.single-back   { margin-top: 48px; text-align: center; }
.single-back a { font-size: 13px; color: var(--muted); border: 0.5px solid var(--border); padding: 10px 24px; border-radius: var(--radius); }

/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
  .ind-grid  { grid-template-columns: repeat(3, 1fr); }
  .svc-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { gap: 40px; }
  .footer-nav   { gap: 32px; }
}

@media (max-width: 768px) {
  .sec-inner { padding: 0 20px; }
  .nav        { padding: 12px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer    { display: block; }

  .hero h1    { font-size: 28px; }
  .hero-sub   { font-size: 13px; }
  .hero-btns  { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hs         { padding: 0; border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.08); padding-bottom: 10px; }
  .hs:last-child { border-bottom: none; }

  /* SP：動画を止めて静止画に */
  .video-bg   { display: none; }
  .hero       { background-image: url('../images/hero-poster.jpg'); background-size: cover; background-position: center; }

  .flow       { flex-direction: column; }
  .flow-step::after { display: none; }
  .svc-grid   { grid-template-columns: 1fr; }
  .ind-grid   { grid-template-columns: repeat(2, 1fr); }
  .case-grid  { grid-template-columns: 1fr; }

  .page-hero  { padding: 80px 20px 32px; }
  .page-hero-title { font-size: 24px; }
  .breadcrumb { padding: 10px 20px; }
  .cases-filter { padding: 14px 20px; }
  .cases-sec    { padding: 24px 20px; }

  .contact-body  { grid-template-columns: 1fr; }
  .contact-form-area { padding: 24px 20px; border-right: none; border-bottom: 0.5px solid var(--border); }
  .contact-sidebar { padding: 24px 20px; }

  .company-layout { grid-template-columns: 1fr; }
  .company-left   { padding: 32px 20px; border-right: none; border-bottom: 0.5px solid var(--border); }
  .company-right  { padding: 32px 20px; }

  .svc-item { grid-template-columns: 1fr; }
  .svc-item-left { padding: 20px; }
  .svc-points    { grid-template-columns: 1fr; }

  .archive-item  { grid-template-columns: 1fr; }
  .footer-inner  { flex-direction: column; gap: 32px; padding: 40px 20px 24px; }
  .footer-nav    { flex-direction: column; gap: 24px; justify-content: flex-start; }
  .footer-bottom { padding: 14px 20px; }

  .cta-sec h2 { font-size: 22px; }
  .cta-btns   { flex-direction: column; align-items: center; }
}
