/* 今倉探偵興信所｜下層ページ統一デザイン 2026-11-11
   Designed to layer on top of the existing v2/v3/v7 styles without removing
   any forms, tracking, article bodies or section-specific layout. */

:root {
  --ink: #0b2330;
  --ink-soft: #244b52;
  --navy: #0b2330;
  --navy2: #16434a;
  --paper: #fff;
  --muted: #eff7f4;
  --muted-2: #dceee9;
  --gold: #d9af6d;
  --gold-dark: #a47940;
  --line: #00c778;
  --text: #233d45;
  --text-light: #637780;
  --border: #d9e8e4;
  --shadow: 0 18px 45px rgba(11,35,48,.08);
}

body {
  color: #233d45;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Shared branding: matches the new homepage, with a JS-free mobile menu. */
.imk-top-note, .imk-top-note *, .imk-site-header, .imk-site-header *,
.imk-value-section, .imk-value-section *, .imk-footer, .imk-footer * {
  box-sizing: border-box;
}
.imk-top-note {
  background: #071824;
  color: #d2efeb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.imk-top-note-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1190px;
  min-height: 32px;
  padding: 6px 20px;
  margin: auto;
}
.imk-top-note-inner span:last-child { color: #b1c0c6; font-weight: 500; }
.imk-site-header {
  position: sticky;
  top: 0;
  z-index: 1001;
  width: 100%;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #dce6e5;
  box-shadow: 0 5px 18px rgba(11,35,48,.035);
  backdrop-filter: blur(14px);
}
.imk-header-inner {
  display: flex;
  align-items: center;
  gap: 25px;
  width: min(100% - 40px, 1190px);
  min-height: 78px;
  margin: 0 auto;
}
.imk-brand, .imk-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.imk-brand img, .imk-footer-brand img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.imk-brand span, .imk-footer-brand span { display: flex; flex-direction: column; line-height: 1.25; }
.imk-brand strong { color: #0e2533; font-size: 19px; font-weight: 900; letter-spacing: .075em; }
.imk-brand small { padding-top: 5px; color: #7b8e96; font-size: 10px; font-weight: 700; letter-spacing: .25em; }
.imk-desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(10px,1.35vw,22px); flex: 1 1 auto; }
.imk-desktop-nav a { color: #29424a; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; transition: color .18s ease; }
.imk-desktop-nav a:hover, .imk-desktop-nav a:focus-visible { color: #008b61; }
.imk-header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.imk-header-phone { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; white-space: nowrap; line-height: 1.4; }
.imk-header-phone small { color: #788992; font-size: 10px; font-weight: 700; }
.imk-header-phone strong { color: #173343; font-size: 18px; font-weight: 900; letter-spacing: .02em; }
.imk-header-line { display: inline-flex; gap: 11px; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 7px; color: #06271d; background: #00c778; font-size: 12px; font-weight: 900; text-decoration: none; box-shadow: 0 8px 20px rgba(0,199,120,.13); white-space: nowrap; transition: background .18s ease, transform .18s ease; }
.imk-header-line:hover { color: #06271d; background: #19da8c; transform: translateY(-1px); }
.imk-header-line span { font-size: 19px; font-weight: 600; }
.imk-mobile-details { display: none; position: relative; }
.imk-mobile-details summary { list-style: none; width: 45px; height: 45px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; border: 1px solid #dfebea; border-radius: 8px; }
.imk-mobile-details summary::-webkit-details-marker { display: none; }
.imk-mobile-details summary span { width: 20px; height: 2px; border-radius: 2px; background: #193642; }
.imk-mobile-details nav { display: flex; flex-direction: column; position: absolute; top: calc(100% + 17px); right: -20px; width: min(340px, 100vw); background: #fff; border: 1px solid #d7e6e3; box-shadow: 0 18px 40px rgba(8,32,40,.18); padding: 12px 16px; border-radius: 0 0 14px 14px; max-height: calc(100vh - 100px); overflow-y: auto; }
.imk-mobile-details nav a { padding: 11px 9px; font-size: 14px; font-weight: 750; color: #23414a; text-decoration: none; border-bottom: 1px solid #eff5f2; }
.imk-mobile-details nav a:last-child { border-bottom: 0; color: #078a61; }

/* Consistent typography and refreshed dark-teal / mint / warm-gold surfaces. */
h1, h2, h3 { letter-spacing: -.025em; }
.section-muted, .local-section:nth-of-type(even), .step-page .section-muted { background: #eff7f4; }
.section-dark { background: linear-gradient(135deg,#0c2935,#17454b); }
.section-kicker, .section-heading .section-kicker, .local-heading .section-kicker {
  color: #b2824e;
  font-weight: 900;
  letter-spacing: .14em;
}
.button, .btn, .hero-actions a { border-radius: 9px; font-weight: 850; }
.button-line, .btn-line, a.button-line, a.btn-line {
  background: #00c778;
  border-color: #00c778;
  color: #082d22;
  box-shadow: 0 10px 26px rgba(0,199,120,.17);
}
.button-line:hover, .btn-line:hover, a.button-line:hover, a.btn-line:hover {
  background: #17d78b;
  border-color: #17d78b;
  color: #082d22;
}
.button-phone, .button-dark, a.button-phone, a.button-dark {
  border-color: #a8c3c2;
  background: #16454d;
  color: #fff;
}
.button-phone:hover, .button-dark:hover { background: #0c3039; color: #fff; }
.step-number { background: #18575b; border-color: #e1f1e9; box-shadow: 0 0 0 1px #a6c4bc; font-family: inherit; }
.step-timeline article, .scene-grid article, .service-card-grid article, .consultation-grid article {
  border-color: #d8e8e4;
  box-shadow: 0 9px 28px rgba(9,43,51,.055);
}

/* All legacy hero families receive the same cinematic teal wash. */
.about-hero, .contact-hero, .service-hero, .step-hero,
.work-hero, .work02-hero, .work03-hero, .recruit-hero, .local-hero, .hero {
  background-color: #0a2933;
}
.about-hero-overlay, .contact-hero-overlay, .service-hero-overlay,
.step-hero-overlay, .work-hero-overlay, .work02-hero-overlay,
.work03-hero-overlay, .recruit-hero-overlay, .hero-overlay {
  background: linear-gradient(90deg,rgba(5,27,38,.97) 0%,rgba(8,49,58,.91) 49%,rgba(12,67,69,.49) 100%), linear-gradient(0deg,rgba(5,28,38,.36),transparent 70%) !important;
}
.local-hero-shade {
  background: linear-gradient(90deg,rgba(6,31,42,.96) 0%,rgba(7,52,60,.9) 52%,rgba(10,75,73,.42) 100%) !important;
}
.about-hero h1, .contact-hero h1, .service-hero h1, .step-hero h1,
.work-hero h1, .work02-hero h1, .work03-hero h1, .recruit-hero h1,
.local-hero h1, .hero h1 {
  color: #fff;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.35;
  letter-spacing: -.035em;
}
.step-hero h1 { max-width: 900px; }
.local-hero h1 span { color: #bdeee2; }
.about-hero .eyebrow, .contact-hero .eyebrow, .service-hero .eyebrow,
.step-hero .eyebrow, .work-hero .eyebrow, .work02-hero .eyebrow,
.work03-hero .eyebrow, .recruit-hero .eyebrow, .hero .eyebrow,
.local-hero .eyebrow { color: #9eecdc; }
.hero-points span, .local-trust span, .hero-trust span {
  border-color: rgba(192,238,225,.3);
  color: #e1f6ee;
}

/* Each content page gets its own topic-led value story, plus consistent proof. */
.imk-value-section {
  position: relative;
  background: #f2f8f5;
  border-top: 1px solid #dfeae6;
  border-bottom: 1px solid #dfeae6;
  color: #203e46;
  padding: clamp(45px,6vw,78px) 20px;
}
.imk-value-inner {
  width: min(100%, 1130px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(28px,6vw,95px);
}
.imk-value-message { padding-right: 5px; }
.imk-value-kicker {
  color: #078663;
  font-size: 11px;
  letter-spacing: .19em;
  font-weight: 900;
  margin: 0 0 18px;
}
.imk-value-message h2 {
  color: #102e3b;
  font-size: clamp(27px,3.3vw,43px);
  line-height: 1.4;
  margin: 0 0 19px;
}
.imk-value-message > p:last-child {
  margin: 0;
  color: #55717a;
  line-height: 2;
  font-size: 15px;
}
.imk-value-proof {
  padding: clamp(25px,3.7vw,44px);
  background: #0c3039;
  border-radius: 18px;
  color: #e8f7f4;
  box-shadow: 0 23px 45px rgba(8,44,48,.14);
  border: 1px solid rgba(179,240,227,.13);
}
.imk-value-proof-label {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  color: #aee6d9;
  font-weight: 800;
  margin-bottom: 12px;
}
.imk-value-proof > strong {
  display: block;
  color: #fff;
  font-size: clamp(22px,2.6vw,32px);
  line-height: 1.48;
  letter-spacing: -.025em;
}
.imk-value-proof > strong em {
  color: #bfeee3;
  font-style: normal;
}
.imk-value-proof ul {
  padding: 0;
  margin: 22px 0 26px;
  list-style: none;
}
.imk-value-proof li {
  position: relative;
  padding: 7px 0 7px 25px;
  color: #d3e8e5;
  font-size: 14px;
  line-height: 1.6;
}
.imk-value-proof li::before {
  content: "✓";
  position: absolute;
  top: 7px;
  left: 1px;
  color: #5fddb0;
  font-weight: 900;
}
.imk-value-actions { display: flex; gap: 11px; flex-wrap: wrap; }
.imk-value-primary, .imk-value-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  line-height: 1.3;
}
.imk-value-primary { background: #00c778; color: #063125; gap: 8px; }
.imk-value-primary:hover { background: #16dd8c; color: #063125; }
.imk-value-secondary { border: 1px solid #759d9c; color: #f3fffc; }
.imk-value-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }
.imk-value-proof small {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: #a9c8c6;
  margin-top: 17px;
}

/* Footer is deliberately complete: no legacy page becomes a dead end. */
.imk-footer {
  padding: 72px 20px 23px;
  background: #071d2a;
  color: #cddfe0;
  border-top: 4px solid #b9dfd5;
}
.imk-footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,.8fr) minmax(0,1fr);
  gap: clamp(22px,5vw,75px);
  max-width: 1140px;
  margin: 0 auto 50px;
}
.imk-footer-brand { margin-bottom: 23px; }
.imk-footer-brand strong { color: #fff; font-size: 21px; font-weight: 900; letter-spacing: .06em; }
.imk-footer-brand small { color: #90aab0; font-size: 10px; letter-spacing: .2em; padding-top: 4px; }
.imk-footer-profile p { max-width: 430px; font-size: 13px; line-height: 1.9; color: #b8cdd0; margin: 0 0 16px; }
.imk-footer-profile .imk-footer-address { font-size: 12px; color: #8fa8ad; }
.imk-footer-tel { color: #a3efe0; font-size: 16px; font-weight: 800; text-decoration: none; }
.imk-footer-links { display: flex; flex-direction: column; gap: 10px; }
.imk-footer-links strong { color: #fff; font-size: 15px; padding-bottom: 7px; }
.imk-footer-links a { color: #b1c9cd; text-decoration: none; font-size: 13px; line-height: 1.7; }
.imk-footer-links a:hover { color: #80e8c6; }
.imk-footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 22px; max-width: 1140px; margin: 0 auto; border-top: 1px solid #24414c; }
.imk-footer-bottom small { color: #8ca9ae; font-size: 11px; line-height: 1.7; }

/* Former Bootstrap auxiliary pages (policy and form completion) keep content
   and all original scripts, but no longer look like a different company. */
.imk-auxiliary { color: #233d45; background: #f4f9f7; }
.imk-auxiliary .imk-top-note { line-height: 1.4; }
.imk-auxiliary .imk-site-header { font-family: -apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif; }
.imk-auxiliary .imk-site-header img { max-width: none; }
.imk-auxiliary .imk-footer { font-family: -apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif; }
.imk-auxiliary .imk-footer p { margin-top: 0; }
.imk-auxiliary #privacy-policy { padding-top: 62px !important; padding-bottom: 70px !important; background: #f4f9f7 !important; }
.imk-auxiliary #privacy-policy .container { background: #fff; border: 1px solid #dceae5; padding-top: 35px; padding-bottom: 48px; border-radius: 18px; box-shadow: 0 16px 40px rgba(12,50,56,.06); }
.imk-auxiliary #privacy-policy .module-title { font-family: inherit; color: #11303e; font-weight: 900; font-size: clamp(28px,4vw,43px); }
.imk-auxiliary #privacy-policy .module-subtitle { font-family: inherit; color: #008a63; }
.imk-auxiliary #privacy-policy h2 { color: #18414a; font-weight: 850; }
.imk-auxiliary #home { height: 370px !important; min-height: 370px !important; background-color: #0a303a; }
.imk-auxiliary #home::before { content: ""; position: absolute; inset: 0; background: rgba(7,44,52,.48); pointer-events: none; }
.imk-auxiliary #home .caption-content { position: relative; z-index: 1; }
.imk-auxiliary #home .titan-title-size-4 { font-family: inherit; font-weight: 850; font-size: clamp(26px,4vw,43px); line-height: 1.5; }
.imk-auxiliary .main .module { background: #f4f9f7; }
.imk-auxiliary .main .module .module-title { font-family: inherit; color: #12323c; font-weight: 850; }
.imk-auxiliary .main .module .btn { border-radius: 9px; background: #00c778; color: #082e24; border-color: #00c778; }
.imk-auxiliary .main .module-small.bg-black { background: #123740; }
.imk-auxiliary .imk-footer a:focus-visible, .imk-auxiliary .imk-site-header a:focus-visible { outline: 3px solid #69d9b7; outline-offset: 3px; }

@media (max-width: 1200px) {
  .imk-desktop-nav { gap: 10px; }
  .imk-desktop-nav a { font-size: 11px; }
  .imk-header-inner { gap: 12px; }
  .imk-header-actions { gap: 10px; }
  .imk-header-phone strong { font-size: 15px; }
  .imk-header-line { padding: 0 11px; }
}

@media (max-width: 1030px) {
  .imk-header-inner { justify-content: space-between; min-height: 68px; }
  .imk-desktop-nav, .imk-header-actions { display: none; }
  .imk-mobile-details { display: block; margin-left: auto; }
}

@media (max-width: 760px) {
  .imk-top-note-inner { min-height: 26px; justify-content: center; font-size: 10px; }
  .imk-top-note-inner span:last-child { display: none; }
  .imk-header-inner { width: min(100% - 28px, 1190px); }
  .imk-brand { gap: 9px; }
  .imk-brand img { width: 41px; height: 41px; }
  .imk-brand strong { font-size: clamp(15px,4.3vw,18px); }
  .imk-brand small { font-size: 9px; }
  .imk-mobile-details nav { right: -14px; }
  .about-hero h1, .contact-hero h1, .service-hero h1, .step-hero h1,
  .work-hero h1, .work02-hero h1, .work03-hero h1, .recruit-hero h1,
  .local-hero h1, .hero h1 { font-size: clamp(27px,7vw,37px); line-height: 1.38; overflow-wrap: anywhere; }
  .step-hero h1 { font-size: clamp(26px,6.9vw,34px); }
  .about-hero-content, .contact-hero-content, .service-hero-content,
  .step-hero-content, .work-hero-content, .work02-hero-content,
  .work03-hero-content, .recruit-hero-content { padding-top: 56px; padding-bottom: 60px; }
  .local-hero-copy { padding-top: 10px; }
  .imk-value-section { padding: 46px 18px; }
  .imk-value-inner { grid-template-columns: 1fr; gap: 26px; }
  .imk-value-message h2 { font-size: clamp(26px,6.6vw,34px); }
  .imk-value-message > p:last-child { font-size: 14px; line-height: 1.9; }
  .imk-value-proof { padding: 25px 23px; }
  .imk-value-proof > strong { font-size: 25px; }
  .imk-value-actions a { flex: 1 1 auto; }
  .imk-footer { padding: 49px 20px 92px; }
  .imk-footer-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; margin-bottom: 36px; }
  .imk-footer-profile { grid-column: span 2; }
  .imk-footer-bottom { flex-direction: column; gap: 3px; }
  .imk-auxiliary #privacy-policy { padding: 35px 0 !important; }
  .imk-auxiliary #privacy-policy .container { width: calc(100% - 22px); padding: 30px 19px; }
  .imk-auxiliary #home { height: 290px !important; min-height: 290px !important; }
}

@media (max-width: 390px) {
  .imk-brand strong { font-size: 15px; }
  .imk-mobile-details nav { width: calc(100vw - 20px); }
  .imk-value-actions { flex-direction: column; }
  .imk-value-proof > strong { font-size: 23px; }
}
