@charset "utf-8";
/*
   HEADER
--------------------------------------------------------------*/
.header{
  background-color: var(--color-surface-deep);
  height: 45px;
}
/* SPのヘッダーの上下余白（2026-09-09）
   高さ45px＝ロゴ画像45pxとぴったり同寸で、上下の余白がゼロだった。
   上下6pxを入れて 45px → 57px にする（box-sizing:border-box なので
   内寸はロゴの45pxがそのまま残る）。
   ※この 57px は index.css の以下と対になっている。変えるときは合わせて直すこと。
     ・.mv        height: calc(100svh - 57px)   … FVを1画面ぶんに収める
     ・.mv-img    top: 318px / 251px            … 12px ぶん引いて写真の帯を
                                                   画面上の同じ位置に留める
                                                   （モデルのあごが固定CTAに
                                                     潜らないよう実機で調整済み） */
@media (max-width: 767px) {
  .header {
    height: 57px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
}
.header-logo img{
  width: 45px;
}
.modal-btn{
  top: 0;
  right: 0;
  width: 75px;
  height: 52px;
  border-bottom-left-radius: 20px;
}

/* ハンバーガーメニュー */
.hamburger{
  width: 35px;
  height: 16px;
}
.hamburger-line{
  width: 35px;
  height: 2px;
}
.hamburger-line > span{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  -webkit-transform: translate(-50%, -50%) rotate(0deg);
  width: 35px;
  height: 2px;
  display: block;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.hamburger-line .line-top{
  margin-top: -8px;
}
.hamburger-line .line-bot{
  margin-top: 8px;
}
.hamburger-line .line-top::before,
.hamburger-line .line-bot::before{
  position: absolute;
  right: 6px;
  content:'';
  width: 4px;
  height: 2px;
  background-color: var(--color-fff);
  z-index: 10;
  opacity: 1;
  -webkit-transition: all .8s;
  transition: all .8s;
}
.hamburger-line .line-top::before{
  right: 6px;
}
.hamburger-line .line-bot::before{
  left: 6px;
}
.hamburger-text{
  width: 32px;
  height: 8px;
}
.hamburger-text > span{
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  -webkit-transform: translate(-50%, -50%) rotate(0deg);
  text-align:justify;
  text-align-last:justify;
  -webkit-transition: all .6s;
  transition: all .6s;
}
.hamburger-text-menu{
  opacity: 1;
}
.hamburger-text-close{
  opacity: 0;
}
.header-modal.active .hamburger-line .line-top::before,
.header-modal.active .hamburger-line .line-bot::before{
  opacity: 0;
}
.header-modal.active .hamburger-line .line-top::before,
.header-modal.active .hamburger-line .line-bot::before{
  opacity: 0;
}
.header-modal.active .hamburger-line{
  background-color: transparent;
}
.header-modal.active .hamburger-line .line-top{
  margin-top: 0;
transform: translate(-50%, -50%) rotate(150deg);
-webkit-transform: translate(-50%, -50%) rotate(150deg);
}
.header-modal.active .hamburger-line .line-bot{
  margin-top: 0;
transform: translate(-50%, -50%) rotate(30deg);
    -webkit-transform: translate(-50%, -50%) rotate(30deg);
}
.header-modal.active .hamburger-text-menu{
  opacity: 0;
}
.header-modal.active .hamburger-text-close{
  opacity: 1;
}
@media (min-width: 768px) {
  .header{
    height: 92px;
  }
  .header-logo img{
    width: 75px;
  }
  .modal-btn{
    width: 110px;
    height: 82px;
    cursor: pointer;
  }
  .hamburger{
    width: 45px;
    height: 26px;
  }
  .hamburger-line{
    width: 45px;
    height: 2px;
  }
  .hamburger-line > span{
    width: 45px;
    height: 2px;
  }
  .hamburger-line .line-top{
    margin-top: -13px;
  }
  .hamburger-line .line-bot{
    margin-top: 13px;
  }
  .hamburger-line .line-top::before,
  .hamburger-line .line-bot::before{
    right: 8px;
    width: 6px;
    height: 2px;
  }
  .hamburger-line .line-top::before{
    right: 8px;
  }
  .hamburger-line .line-bot::before{
    left: 8px;
  }
  .hamburger-text{
    width: 45px;
    height: 14px;
  }
}
@media (min-width: 1024px) {
}
.modal{
  top: 0;
  right: calc(-100% - 1px);
  -webkit-transition: all .6s;
  transition: all .6s;
  width: 100%;
  height: 100vh;
  border-bottom-left-radius: 20px;
  border-top-left-radius: 20px;
}
.header-modal.active .modal{
  right: 0;
}
.cta-item-inner{
  height: 52px;
}
.menu-drawer-nav{
  width: 74.66vw;
}
@media (min-width: 768px) {
  .modal{
    width: 480px;
    right: -481px;
  }
  .header-modal.active .modal{
    right: 0;
  }
  .menu-drawer-nav{
    width: 280px;
    margin-bottom: 45px;
    padding-bottom: 45px;
  }
  .cta-item-inner{
    height: 56px;
  }
  .cta-actions{
    width: 245px;
  }
}
/*
   FOOTER
--------------------------------------------------------------*/

.footer-copy{
  background-color: var(--color-surface-deep);
}
/* フッター下段（ロゴ＋届出番号＋住所）の幅（2026-09-09）
   SPは .w-50vw-sp の 50vw（=206px@412）しかなく、12px固定の
   「届出番号」ラベルと「神奈川県公安委員会 第45260020号」が
   どちらも2行に折り返していた。必要な幅は
   ラベル48px＋gap15px＋番号182px ≒ 245px で、vw では狭い端末ほど
   足りなくなるので中身基準（fit-content）で確保する。
   親 .footer-cts の内側（412pxで355px／320pxでも288px）に収まるので
   はみ出さず、.mrl-auto-sp の中央寄せもそのまま効く。 */
@media (max-width: 767px) {
  .footer-lower {
    width: fit-content;
    max-width: 100%;
  }
  /* 「住所」を「届出番号」と同じ横並び（.f-container）にしたので、
     ラベル幅も 768px以上の .w-60-tpc と同じ 60px に揃えて、
     2行の値（番号／住所）の頭を縦に合わせる。
     幅が縮むとラベルが折り返すので flex-shrink は止める。 */
  .footer-info-label {
    flex: 0 0 auto;
    width: 60px;
  }
}
@media (min-width: 768px) {
.footer-nav-list {
flex-wrap: wrap;
}
}
@media (min-width: 1024px) {
  .footer-brand img{
    width: 114px;
  }
  .footer-nav-list {

  }
}
/*
   ANIMATION
--------------------------------------------------------------*/

/* フェードインアニメーション */
.animation.op{
	opacity: 0;
	visibility: hidden;
	-webkit-transition: opacity 1s ease-in;
   transition: opacity 1s ease-in;
}
.animation.op.on{
	visibility: visible;
	opacity: 1;
}

/* 左からフェードインアニメーション */
.animation.move-left{
	opacity: 0;
  transform: translate3d(-40px,0,0);
  transition-duration: 1s, .8s;
  transition-timing-function: ease-in, ease;
  transition-property: opacity, transform;
}
.animation.move-left.on{
	opacity: 1;
  transform: translate3d(0,0,0);
}

/* 下から上へフェードインアニメーション */
.animation.move-bottom{
	opacity: 0;
  transform: translate(0, 40px);
  transition-duration: 1s, .8s;
  transition-timing-function: ease-in, ease;
  transition-property: opacity, transform;
}
.animation.move-bottom.on{
	opacity: 1;
  transform: translate(0, 0);
}

/* 上から下へフェードインアニメーション */
.animation.move-top{
	opacity: 0;
  transform: translate(0, -40px);
  transition-duration: 1s, .8s;
  transition-timing-function: ease-in, ease;
  transition-property: opacity, transform;
}
.animation.move-top.on{
	opacity: 1;
  transform: translate(0, 0);
}

/* マスク表示→画像表示 */
.animation.mask-bg{
	position: relative;
	overflow: hidden;
}
.animation.mask-bg .target-cts{
	position: relative;
	opacity: 0;
  transition-delay: .8s;
  z-index: 0;
}
.animation.mask-bg::before{
	content: '';
	position: absolute;
	background-color: var(--color-base1);
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
  transform: translate(100%, 0);
}
.animation.mask-bg.on::before{
	animation: animation-bg  1.6s ease-out forwards;
}
.animation.on.mask-bg .target-cts{
	opacity: 1;
}

@-webkit-keyframes animation-bg {
  0% {
    -webkit-transform: translate(-101%, 0);
            transform: translate(-101%, 0);
    opacity: 0;
  }
  40%,60% {
    opacity: 1;
    -webkit-transform: translate(0%, 0);
            transform: translate(0%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(100%, 0);
            transform: translate(100%, 0);
  }
}
@keyframes animation-bg {
  0% {
    -webkit-transform: translate(-101%, 0);
            transform: translate(-101%, 0);
    opacity: 0;
  }
  40%,60% {
    opacity: 1;
    -webkit-transform: translate(0%, 0);
            transform: translate(0%, 0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate(100%, 0);
            transform: translate(100%, 0);
  }
}

.animation.blur{
	opacity: 0;
  filter: blur(15px);
  transition:
    opacity .5s ease,
    filter .8s ease,
    transform .5s ease;
}
.animation.blur.on{
	opacity: 1;
  filter: blur(0);
}

.marker{
  display:inline;
  padding:0 .15em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  background-image: linear-gradient(
    transparent 60%,
    var(--color-base4) 60%,
    var(--color-base4) 100%,
    transparent 100%
  );
  background-repeat:no-repeat;
  background-size:0% 100%;
  background-position:0 0;
  transition: background-size .9s ease;
}

.marker.on{
  background-size: 100% 100%;
}
/* ============================================================
   HEADER 拡張 / GLOBAL NAV  — 2026-08-27
   参考: hal-tanteisya.com（構成のみ。配色は自社トークンを使用）
   ロゴ横に専門領域、右にフリーダイヤル、直下にPCグローバルナビ
   ============================================================ */
.header-brand {
  height: 100%;
}
.header-logo {
  column-gap: 10px;
  min-width: 0;
}
.header-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 3px;
  line-height: 1.2;
}
.header-company {
  white-space: nowrap;
  line-height: 1.2;
}
.header-tagline {
  display: none;
}
.header-contact {
  display: none;
}
.header-contact-note {
  font-size: 11px;
  line-height: 1.2;
  color: #E4DACE;
}
.header-tel {
  justify-content: flex-end;
  color: var(--color-fff);
  font-family: var(--en);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header-tel-icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.header-badges {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 4px;
}
.header-badges > span {
  font-size: 10px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background-color: var(--color-accent-mid);
  color: var(--color-badge-ink);
  font-weight: 700;
  white-space: nowrap;
}

/* 探偵業法にもとづく届出番号（2026-09-09 追加）
   .header-tagline と違い、SPでも display:none にしない。
   SPはヘッダー高さ45px・右上のハンバーガー(75px)が重なるため、
   ラベル「探偵業届出番号」を省いて番号だけを小さく出す。 */
.header-license {
  font-size: 10px;
  line-height: 1.2;
  /* base3(#776B65) はベージュ面(#F1E5D3)で 4.14:1 しかなく、10pxの小さい
     文字には足りない。base2(#6B5F59) で 4.96:1 を確保しつつ、社名より
     目立たない濃さに留める。 */
  color: var(--color-base2);
  letter-spacing: 0;
  white-space: nowrap;
}
.header-license-label {
  display: none;
}

/* グローバルナビ（PC/タブレットのみ） */
.gnav {
  background-color: var(--color-fff);
  border-bottom: 2px solid var(--color-accent-mid);
}
.gnav-list {
  flex-wrap: wrap;
  max-width: 1120px;
  margin: 0 auto;
}
.gnav-list > li + li {
  border-left: 1px solid var(--color-line);
}
.gnav-list a {
  display: block;
  padding: 15px 18px;
  font-family: var(--jp-accent);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: var(--color-base2);
  transition: color 0.25s ease, background-color 0.25s ease;
}
@media (min-width: 768px) {
  /* ハンバーガーボタン(110px)の下に潜らないよう右側を空ける */
  .header-contact {
    display: block;
    text-align: right;
    margin-right: 120px;
  }
  .header-tagline {
    display: block;
    font-size: 12px;
    color: var(--color-accent-mid);
    font-weight: 700;
    white-space: nowrap;
  }
  .header-license {
    font-size: 11px;
  }
  .header-license-label {
    display: inline;
  }
}
@media (min-width: 1024px) {
  .header-tagline {
    font-size: 13px;
  }
  .gnav-list a:hover {
    color: var(--color-accent);
    background-color: var(--color-accent-soft);
  }
}


/* ------------------------------------------------------------------
   ベージュ面にしたヘッダー／フッターの文字色（2026-08-31）
   もともと濃色面に白・淡色を載せる設計だったため、面をベージュに
   変えたぶん文字・アイコンをやわらかい暖色ダークへ引き上げる。
   全ページで効かせる必要があるので index.css ではなくここに置く
   （common.css は custom.css より後に読まれるので .fc-fff に勝つ）。
------------------------------------------------------------------ */
.header,
.header a,
.header .fc-fff,
.footer-copy,
.footer-copy .fc-fff {
  color: var(--color-navy);
}
/* 旧・淡色ベージュ(#E4DACE)。ベージュ面では 1.1:1 まで落ちて読めない */
.header-contact-note {
  color: var(--color-base3);
}
/* 旧・明るいオレンジ(#F2994A)。ベージュ面では 1.8:1 なので濃色オレンジへ */
.header-tagline {
  color: var(--color-accent-deep);
}
.header .svgc-fff,
.footer-copy .svgc-fff {
  fill: var(--color-navy);
}