
/* -----------------------------------------------

	 header

----------------------------------------------- */
header{
  background: #fff;
  padding: 20px 0;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  z-index: 10;
  transition: 0.8s;
}

/* --- 分身ヘッダー（隠れている状態） --- */
.header-clone {
  position: fixed;
  top: -200px; /* 【重要】ヘッダーの高さ以上に設定して画面外へ出す */
  left: 0;
  width: 100%;
  z-index: 9999;

  /* 背景色は白で固定 */
  background-color: #fff !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  /* ▼▼▼ 修正の核心：戻る時のアニメーション ▼▼▼ */
  /* ここに opacity を入れないことで、消えずに「移動」だけを見せます */
  transition: top 0.3s ease-out;
  /* 隠れている時はクリック判定を消す */
  pointer-events: none;
}

/* --- 分身ヘッダー（出ている状態） --- */
.header-clone.is-visible {
  top: 0;
  /* 出ている時はクリック可能にする */
  pointer-events: auto;
  /* ▼▼▼ 出る時のアニメーション ▼▼▼ */
  transition: top 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* 1. 分身の中にある不要な要素を非表示にする */
.header-clone .logotxt,
.header-clone .navbtn {
  display: none !important;
}

/* 2. 分身自体の高さを自動（auto）にして薄くする */
/* これを書かないと、中身が消えても高さが80pxのまま残る可能性があります */
.header-clone {
  height: auto !important;
  min-height: 0 !important;
  padding: 15px 0;
}
.header-clone {
    display: none;     /* 基本は非表示 */
    position: fixed;   /* 表示されるときは追従 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;      /* 最前面に */
    background: #fff;  /* 背景色（必要に応じて変更） */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* JSで is-visible クラスがついた時だけ表示 */
.header-clone.is-visible {
    display: block;
    animation: fadeInHeader 0.3s ease;
}

@keyframes fadeInHeader {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* （補足）もしロゴ画像などを小さく表示させたい場合 */
.header-clone .logo {
  max-width: 250px !important; /* サイズ調整例 */
}


header .logotxt{
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 5px;
}
header .logo{
  max-width: 320px;
}
header .navbtn{
  justify-content: flex-end;
  margin-bottom: 15px;
}
header .navbtn li{
  border-radius: 30px;
  min-width: 150px;
  text-align: center;
}
header .pcnavwrap .navbtn li.cta_tel{
  margin-right: 0;
}
header .pcnavwrap .navbtn li,
header .pcnavwrap .nav li{
  display: flex;
  align-items: center;
  position: relative;
  margin: 0 10px;
  padding-left: unset;
  text-indent: unset;
  line-height: 1.3;
}
header .pcnavwrap .nav li::after{
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  -webkit-transform : translateY(-50%);
  transform : translateY(-50%);
  width: 2px;
  height: calc(100% - 2px);
  background: #333333;
}
header .pcnavwrap .nav li a{
  font-size: 16px;
  font-weight: 600;
}
header .pcnavwrap .nav li a.current{
  color: #0054a6 !important;
  font-weight: 700;
  transition: 0s;
}
header .pcnavwrap .nav li a:hover{
  color: #0054a6;
  opacity: 1;
  font-weight: 700;
  transition: 0.25s;
}


@media only screen and (max-width: 1024px) {
  header .logo {
    max-width: 250px;
  }
  header .pcnavwrap .nav li a {
    font-size: 15px;
    letter-spacing: -0.1rem;
  }
  header .pcnavwrap .nav li a span{
    display: none;
  }
  header .logotxt {
    font-size: 13.5px;
    letter-spacing: -0.05rem;
  }
  header .cta_mail,
  header .cta_tel{
    height: 70px;
  }
}
@media only screen and (max-width: 1000px) {
  header .logotxt,header .pcnavwrap{
    display: none;
  }
}
@media only screen and (max-width: 768px) {
  header .logo,
  .header-clone .logo{
    max-width: 240px !important;
  }
}
@media only screen and (max-width: 479px) {
  header .cwrap{
    padding: 0 20px;
  }
  header .logo,
  .header-clone .logo{
    max-width: 180px !important;
  }
}




/* -----------------------------------------------

	 hamburger

----------------------------------------------- */

/*　ハンバーガーボタン　*/
.hamburger {
  display : none;
  position: absolute;
  z-index : 3;
  right : 20px;
  top   : 50%;
  -webkit-transform : translateY(-50%);
  transform : translateY(-50%);
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
  /* display : none;
  position: fixed;
  z-index : 3;
  right : 13px;
  top   : 12px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center; */
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #555;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
/* .hamburger.active span{
  background: #fff;
} */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp {
  position: fixed;
  z-index : 2;
  top  : 0;
  left : 0;
  color: #000;
  background: #fff;
  text-align: center;
  transform: translateX(100%);
  transition: all 0.6s;
  width: 100%;
  height: 100vh;
}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0 45px;
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
nav.globalMenuSp ul li {
  padding-left: unset;
  text-indent: unset;
  list-style-type: none;
  padding: 0;
  width: calc(100% / 2 - 10px);
  border-bottom: 1px solid #333;
}
nav.globalMenuSp ul li.cta_tel{
  margin: 30px auto 5px;
}
nav.globalMenuSp ul li.cta_mail{
  margin: auto;
}
nav.globalMenuSp ul li.cta_tel,
nav.globalMenuSp ul li.cta_mail{
  padding: 0;
  border-bottom: none;
  width: 100%;
}

nav.globalMenuSp ul li a {
  display: block;
  padding: 10px 0 5px 5px;
  text-decoration: none;
  text-align: left;
}
nav.globalMenuSp ul li.cta_tel a,
nav.globalMenuSp ul li.cta_mail a{
  padding: 10px 5px;
}
nav.globalMenuSp ul li a span{
  font-weight: normal;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  transform: translateX(0%);
}


/* Lightningテーマ標準の3本線アイコンを強制的に非表示にする */
.vk-mobile-nav-icon,
.vk-mobile-nav-btn::before,
.vk-mobile-nav-btn::after {
    display: none !important;
    content: none !important;
}

/* もしボタンの背景に色が残ってしまう場合はこれも追加 */
.vk-mobile-nav-btn {
    background: transparent !important;
}

@media only screen and (max-width: 1000px) {
  header .hamburger{
    display: block;
  }
}
@media only screen and (max-width: 479px) {
  .hamburger{
    right: 15px;
  }
  nav.globalMenuSp ul{
    padding: 0 30px;
  }
}

/* -----------------------------------------------

	 f_contact

----------------------------------------------- */
.f_contact{
  position: relative;
  color: #fff;
  padding: 60px 0 80px;
  background-image: url('/images/bg_cta.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.f_contact::after{
  content: "";
  display: inline-block;
  width: 380px;
  height: 380px;
  position: absolute;
  bottom: 0;
  left: calc(50% + 450px);
  -webkit-transform : translateX(-50%);
  transform : translateX(-50%);
  background-image: url('/images/lawyer_set.png');
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
}
.f_contact .txts{
  max-width: 830px;
}
.f_contact .head{
  font-size: 70px;
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  font-family: ta-oonishi, sans-serif;
  font-weight: 300;
  font-style: normal;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #fff;
  line-height: 1.5;
  letter-spacing: -0.25rem;
}
.f_contact .txts > .txt{
  margin-bottom: 30px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.f_contact .btnwrap{
  gap: 30px;
}
.f_contact .cta_mail{
  height: 100px;
  max-width: 400px;
  border-radius: 50vh;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.f_contact .cta_mail a{
  border: none;
}


@media only screen and (max-width: 1024px) {
  .f_contact::after{
    width: 280px;
    height: 280px;
    left: calc(50% + 360px);
  }
  .f_contact .btnwrap{
    max-width: 680px;
  }
}
@media only screen and (max-width: 768px) {
  .f_contact {
    padding: 45px 0 60px;
  }
  .f_contact .head {
    font-size: 60px;
  }
  .f_contact .btnwrap {
    gap: 20px;
    flex-direction: column;
    max-width: 350px;
  }
  .f_contact::after {
    left: calc(50% + 200px);
  }
  .f_contact .txts > .txt {
    margin-bottom: 45px;
  }
  .f_contact .cta_mail {
    height: 90px;
  }
}
@media only screen and (max-width: 479px) {
  .f_contact {
    padding: 45px 0 200px;
  }
  .f_contact .btnwrap{
    max-width: 100%;
  }
  .f_contact .head {
    font-size: 8.5vw;
  }
  .f_contact::after {
    left: 50%;
    width: 180px;
    height: 180px;
  }
  .f_contact .cta_mail {
    height: 80px;
  }
}

/* -----------------------------------------------

	 footer

----------------------------------------------- */
footer {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
}
footer .inner{
  padding: 60px 0;
}
footer .infowrap{
  font-size: 20px;
  line-height: 1.6;
}
footer .infowrap .logo{
  max-width: 320px;
  margin-bottom: 10px;
}
footer .infowrap .nav{
  gap: 40px;
  max-width: 500px;
  line-height: 1;
}
footer .navwrap{
  gap: 60px;
}
footer .navwrap .nav li{
  text-indent: 0;
  padding: 0;
  line-height: 1.5;
}
footer .navwrap .nav li:not(:last-child){
  margin-bottom: 30px;
}
footer .navwrap .nav li a{
  display: block;
  font-size: 20px;
}
footer .navwrap .nav li a:hover{
  color: #0054a6;
  opacity: 1;
  font-weight: 700;
  transition: 0.25s;
}
footer .copyright{
  font-size: 18px;
  padding: 10px 0;
  background: #0054a6;
  color: #fff;
  text-align: center;
}
@media only screen and (max-width: 1024px) {
  footer .infowrap{
    max-width: 330px;
  }
  footer .infowrap,
  footer .navwrap .nav li a{
    font-size: 18px;
  }
  footer .navwrap {
    gap: 40px;
  }
}
@media only screen and (max-width: 768px) {
  footer .inner{
    flex-direction: column;
    align-items: baseline;
  }
  footer .infowrap {
    margin-bottom: 60px;
  }
  footer .navwrap {
    width: 100%;
    gap: 30px;
  }
  footer .navwrap .nav{
    width: calc(100% / 3);
  }
  footer .navwrap .nav li{
    border-bottom: solid 1px #cdcdcd;
  }
  footer .navwrap .nav a{
    padding: 5px 5px 10px;
  }
}
@media only screen and (max-width: 479px) {
  footer .inner {
    padding: 45px 0;
  }
  footer .infowrap {
    margin-bottom: 30px;
  }
  footer .infowrap .logo {
    max-width: 240px;
    margin-bottom: 20px;
  }
  footer .navwrap{
    flex-direction: column;
    gap: 0;
  }
  footer .navwrap .nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
  }
  footer .navwrap .nav li{
    width: calc(50% - 10px);
    margin-bottom: 20px !important;
  }
  footer .navwrap .nav a{
    padding: 5px;
  }
  footer .infowrap, footer .navwrap .nav li a {
    font-size: 16px;
  }
}



/* @media only screen and (max-width: 768px) {
  footer .logo {
    max-width: 200px;
  }
  footer .nav{
    gap: 20px;
    max-width: 350px;
  }
  footer .infowrap *{
    font-size: 16px;
  }
}
@media only screen and (max-width: 479px) {
  footer .logo {
    max-width: 150px;
  }

  footer .nav {
    max-width: unset;
  }
  footer .nav li{
    width: 100%;
    border-bottom: solid 1px;
    padding-bottom: 5px;
  }
  footer .nav li a{
    display: block;
    padding: 10px 0;
  }
  footer .copyright p{
    font-size: 14px;
  }
} */