@charset 'UTF-8';
/*
Theme Name: juriscope
Description: WordPressオリジナルテーマ
Version: 1.0
Author: na
Author URI: https://legal-juriscope.com
*/

/*
COLORS
================================================ */
/*CSSカスタムプロパティHTML要素配下のすべての要素に対して変数を呼び出せる*/
:root {
    /* Color */
    --light-grey: #ccc;
    --grey: #666;
    --dark-grey: #707070;
    --green: #7bba93;
    --dark-blue: #39565C;
    --white: #fff;
    --pale-yellow: #F9F9F4;
    --soft-blue:rgba(112,118,157,0.7);
    --soft-violet:rgba(141,108,149);
    --soft-yellow:hsla(73, 66%, 94%, 0.7);
    --blue1:rgba(76,111,255, 1);
    --blue2:rgba(132,184,251, 1);
    --blue3:rgba(151,223,228, 1);
}

/*
GENERAL STYLING
================================================ */
body {
	color: var(--grey);
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--white);   
}

.grecaptcha-badge {
    visibility: hidden;
}

/*
COMMON
================================================ */
p {
    line-height: 1.7;
}
img,
iframe {
    max-width: 100%;
}

.c-padding-top-1column {
    padding-top: 1rem;
}
.c-margin-top-3column {
    margin-top: 3rem;
}

/*
ハンバーガーメニュー
=============================================== */

/* ===== ハンバーガーボタン ===== */
.menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 64px;
  height: 64px;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: all 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
}
@media screen and (min-width: 768px) {
.menu-btn {
  display: none;
}
}

.menu-btn span {
  position: absolute;
  width: 38px;
  height: 3.5px;
  background: linear-gradient(90deg, #1a73e8, #4aa0f0);
  border-radius: 2px;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.45, 0, 0.25, 1), opacity 0.3s ease;
}

.menu-btn span:nth-child(1) { transform: translateY(-10px); }
.menu-btn span:nth-child(2) { transform: translateY(0); }
.menu-btn span:nth-child(3) { transform: translateY(10px); }

/* ===== 開いた時（×＋〇） ===== */
.menu-btn.open {
  border: 2px solid #1a73e8;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #cce0ff 0%, #99c2ff 100%);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transform: scale(1.05);
}

.menu-btn.open span:nth-child(1) { transform: rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: rotate(-45deg); }

/* ===== サイドメニュー ===== */
.side-menu {
  position: fixed;
  top: 80px;
  right: 0;
  width: 280px;
  height: auto;
  background: rgba(26,115,232,0.95);
  background: linear-gradient(to bottom, rgba(26,115,232,0.95), rgba(100,170,255,0.85));
  backdrop-filter: blur(6px);
  border-left: 2px solid #4aa0f0;
  box-shadow: -2px 0 15px rgba(0,0,0,0.15);
  border-radius: 12px 0 0 12px;
  padding: 30px 25px;
  box-sizing: border-box;
  z-index: 1000;
  transform: translateX(110%);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
  /* GPU最適化 */
  transform-style: preserve-3d;
}

/* 開いた時 */
.side-menu.open { transform: translateX(0); }

/* メニューリンク */
.side-menu a {
  display: block;
  text-decoration: none;
  color: #ffffff;
  margin: 25px 0;
  font-size: 18px;
  letter-spacing: 0.05em;
  transition: color 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  will-change: transform, opacity;
  padding: 5px 0;
}

/* 開いたら順にフェードイン */
.side-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

.side-menu a:nth-child(1) { transition-delay: 0.05s; }
.side-menu a:nth-child(2) { transition-delay: 0.10s; }
.side-menu a:nth-child(3) { transition-delay: 0.15s; }

/* ホバー時（メニュー全体はカクつかない） */
.side-menu a:hover {
  color: #ffffff;
  transform: translateX(5px); /* 軽めのスライド */
  border-bottom: 1px solid #80c0ff;
  transition: color 0.2s ease, transform 0.2s ease;
}

/* 背景の暗転 */
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/*
HEADER
================================================ */
.mv-header {
    display: flex;
    justify-content: center;
}
.site-header {
    display: none;
}
.site-header-nav{
}
.header-wrapper {
}

@media screen and (min-width: 650px) {
.site-header {
    display: block;
    height: auto;
    position: fixed;
    z-index: 1;
    width: 90%;
}
.site-header-wrapper {
    margin: auto;
    padding-top: 20px;
}
.site-header-back {
    background-color: #c7c7c7;
    border-radius: 50px;
    padding: 4px;
}
.site-header-nav{
    /*background: url(../images/header-back.png)center/cover;*/
    background: linear-gradient(to right, #69747f, #00525b);
    border-radius: 50px;
}

.header-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    font-size: 0.9rem;
    justify-content: center;
    background: none;
    width: 100%;
    /*transition: none;*/
    color:white;
}
.header-nav__item {
    display: block;
    text-align: center;
}
.header-nav__item a {
    display: block;
    padding: 10px 0;
}
}

@media screen and (min-width: 960px) {
.site-header {
    width: 80%;
}
.site-header-wrapper {
    margin: auto;
    padding-top: 20px;
}
.header-wrapper {
    background: none;
    justify-content: center;
    /*transition: none;*/
}
.header-nav__item {

}
}


@media screen and (min-width: 1200px) {
.site-header {
    width: 70%;
}
.site-header-wrapper {
    margin: auto;
    padding-top: 20px;
}
    
}

/*
.header-nav__item::after {
    content:"";
    display:block;
    width:70%;
    height:5px;
    background-color:#efefef;
    position:absolute;
    bottom:0;
    transition: 0.2s all;
}
.header-nav__item:hover::after {
    transform: scaleX(1.5);
}
*/
.header-wrapper a:hover{
    color:rgb(206, 206, 206);
}

/*
header-mobile__img
================================================ */
.header-mobile__img {
   display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    height: 50px;
}
@media screen and (min-width: 650px) {
.header-mobile__img {
    display: none;
}
}
@media screen and (min-width: 960px) {
.header-mobile__img {
    display: none;
}
}
.header-mobile__img-wrapper {
	display: flex;
	justify-content:center;
}

/*
page-mv
================================================ */
.page-mv {
    background: url(../images/page-mv-flow.webp) no-repeat center center / cover;
}

.page-mv__title {
    color: #39529d;
    display: flex;
    font-size: 1.7rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 20px;
    min-height: 90px;
    padding: 100px 0 50px;
    text-shadow: 3px 3px 6px rgba(255, 255, 255, .5), -3px -3px 6px rgba(255, 255, 255, .5);
}
@media screen and (min-width: 768px) {
.page-mv__title {
    font-size: 2rem;
}
}
@media screen and (min-width: 960px) {
.page-mv__title {
}
}

/*
page-flow
================================================ */
.page-flow{
    color: black;
}
.page-flow__main {
    margin:10px 5%;
}
@media screen and (min-width: 768px) {
.page-flow__main {
    margin:10px 20% 10px 20%;
}
}
@media screen and (min-width: 960px) {
.page-flow__main {
    margin:10px 22% 10px 22%;
}
}

.page-flow__title {
    background-color: #105463;
    padding:10px 0;
    font-family:'Noto Serif JP', serif;
}
.page-flow__h2 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    color: #c9b065; 
}

.page-flow__h2__line {
    display: block;
    width: 20%;
    height: 2px;
    background: #c9b065;
}
.page-flow__h2__inner {
    position: relative;
    padding: 0 1rem;
    white-space: nowrap;
    display: block;
}

/*
flowBlock
================================================ */
.flowBlock {
    display: flex;
}
@media screen and (min-width: 768px) {
.flowBlock {
    display: flex;
}
}
@media screen and (min-width: 960px) {
.flowBlock {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
}

.flowBlock__rightarrow {
    align-items: center;
    display: flex;
    margin: 0 auto;
    width:15px;  
}

/*
flow-step
================================================ */
.page-flow__step {
    border-bottom: 2px solid #39529d;
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.flow-step__title {
    color: #39529d;
    font-size: 1.1rem;
    font-weight: 400;
    padding: 10px;
}
.flow-step__h2 {
    align-items: center;
    display: flex;
    font-size: 1.1rem;
    text-indent: 1rem;
}
.flow-step__p {
    text-indent: 1rem;
}

@media screen and (min-width: 768px) {
.page-flow__step{
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.flow-step__title {
    color: #39529d;
    font-size: 1.5rem;
    padding: 10px;
}
.flow-step__h2 {
    align-items: center;
    display: flex;
    font-size: 1.2rem;
    text-indent: 1rem;
}
}
@media screen and (min-width: 960px) {
.page-flow__step{
    display: grid;
    grid-template-columns: 1fr 2fr;
}
.flow-step__title {
    color: #39529d;
    font-size: 1.5rem;
    padding: 10px;
}
.flow-step__h2 {
    align-items: center;
    display: flex; 
    font-size: 1.2rem;
    text-indent: 1rem;
}
}

.flow-contact {
    color: #7bba93;
}

/*
flow-middle
================================================ */
.middle-lead {
    padding:10% 0 0 5%;
}
.middle-lead-back {
    border: .5rem solid rgba(255, 255, 255, .36);
    margin-right: 25px;
}
.middle-lead__inner {
    background-color: #ffffffd9;
}
.middle-lead__inner p {
    padding:10px;
    color:#873800;
}
.middle-btn {
    font-size: 0.8rem;
    height: 150px;
    margin: auto;
    width: 150px;
}
@media screen and (min-width: 768px) {
.middle-btn {
    font-size: 1.2rem;
    height: 300px;
    padding:20px;
    width: 300px;
}
}
@media screen and (min-width: 960px) {
.middle-btn {
    font-size: 1.2rem;
    height: 300px;
    padding:20px;
    width: 300px;
}
}
.middle-btn a {   
    align-items: center;
    border-radius: 50%;
    background: rgba(253, 142, 142, 0.7);
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.middle-btn a:hover{
    color:rgb(255, 255, 255);
}

.flow-middle-wrapper {
    text-align: center;
    border: 2px solid grey;
    width: auto;
    color: black;
    padding:10px;
}
.flow__middle__tel {
    color: #7bc395;
    font-size: 2rem;
}

.img-height-1 {
    display: flex;
    height: 80px;
    margin: auto;
}
@media screen and (min-width: 650px) {
.img-height-1 {
    display: flex;
    height: 120px;
    margin: auto;
}
}
@media screen and (min-width: 960px) {
.img-height-1 {
    display: flex;
    height: 120px;
    margin: auto;
}
}

.img-opacity-1:hover {
	opacity: 0.8;
    transition: 0.5s;
}

/*
page-flow__nego
================================================ */
.page-flow__nego {
    background-color: #105463;
    padding:10px 0;
    font-family:'Noto Serif JP', serif;       
}
.page-flow__nego-h2{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    color: #c9b065; 
}


.page-flow__nego__intro {
    padding: 10px 0;
    text-indent: 1rem;
}
.flow__nego__text {
}
.flow__nego__h3 {
    color:#39529d;
    font-size: 1.2rem;
    padding-bottom: 10px;
    padding-top: 20px;
}
.flow__nego__p {
    text-indent: 1rem;
}



/*
btn
================================================ */
.bottom-btn{
    background-color: #ffffff;
    bottom:92px;
    border:solid 2px #00a9db;
    border-radius: 50%;
    cursor:pointer;
    color: #00a9db;
    height:80px;
    position:sticky;
    left:92%;
    text-align: center;
    width:80px;
    z-index: 99;
    transition: transform 0.3s 0.3s;
}
@media screen and (min-width: 768px) {
.bottom-btn{
    bottom:30px;
    height:100px;
    width:100px;
}
}
@media screen and (min-width: 960px) {
.bottom-btn{
}
}
.bottom-btn:hover {
    background-color: #00a9db;
    border:solid 2px #ffffff;
    color: white;
    transition: 0.3s;
}
.bottom-btn:before {
    content: "\02191";
}

.bottom-btn.hidden {
    transform: translateY(170px);
}


/*
FOOTER
================================================ */
.site-footer {
    background: url(../images/footer-back.png)center/cover;
    text-align: center;
    color: var(--white);
    padding: 0 0 2rem;
    margin-top: 2rem;
}

.footer-wrapper {
    border-bottom: 1px solid var(--light-grey);
    position: static;
    width: 100%;
    padding:  10px 10px;
    transition: none;
}

.climinal-container,.estate-container,
.work-container,.inheritance-container,
.legal-container,.reference-container,
.disclaimer-container {
    padding: 10px;
}
@media screen and (min-width: 768px) {
.disclaimer-container {
    display: none;
}
}

.climinal-s,.estate-s,
.work-s,.inheritance-s,
.legal-s,.reference-s {
    display: none;
}
@media screen and (min-width: 768px) {
.footer-containers {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.climinal-s,.estate-s,
.work-s,.inheritance-s,
.legal-s {
    display: grid;
}
.reference-s {
    display: grid;
}
}
@media screen and (min-width: 960px) {
.footer-containers {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.climinal-s,.estate-s,
.work-s,.inheritance-s,
.legal-s {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.reference-s {
    display: grid;
}
}

.footer-links-climinal,
.footer-links-estate,
.footer-links-work,.footer-links-inheritance,
.footer-links-legal,.footer-links-reference {
}

.footer-wrapper ul{
    padding:20px 20px 10px 25px;
}
.footer-wrapper li{
    padding:5px;
}

.copyright {
    font-size: var(--font-md);
    color: rgba(255,255,255,.6)
}
.footer-attention {
    font-size: var(--font-sm);
}
/*
FOOTER-nav
================================================ */
.footer-nav-wrapper {
    bottom: 0;
    background-color: white;
    color:#2c3338;
    padding: 5px 2px;
    position: sticky;
}
@media screen and (min-width: 768px) {
.footer-nav-wrapper {
    display: none;
}
}
@media screen and (min-width: 960px) {
.footer-nav-wrapper {
    display: none;
}
}

.footer-nav-comment {
    background-color: #a5a5a5;
    color: white;
    display: grid;
    font-size: 0.8rem;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}

.footer-nav-comment-1 {
    background-color: gray;
    border-radius: 10px;
    line-height: 1.5rem;
    margin: 5px auto;
    padding: 0px 10px;
    width: fit-content;
}

.footer-nav-comment-2 {
    background-color: gray;
    border-radius: 10px;
    line-height: 1.5rem;
    margin: 5px auto;
    padding: 0px 10px;
    width: fit-content;

}

.footer-nav__ul {
    align-items: center;
    display: grid;
    font-size: 1rem;
    gap: 1px;
    grid-template-columns: 1fr 1fr;
    text-align: center;
}

.footer-nav__li {
    box-shadow: 1px 1px 5px 1px #999;
    font-size: 1rem;
    height: 45px;
    position: relative;

}

.footer-nav__li a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    width: 100%;
}

.footer-nav-left {
    align-items: center;
    background-color: #7ed957;
    color: white;
    display: flex;
    font-size: 0.8rem;
    justify-content: center;
    margin: 3px;
}
.footer-nav-left::before {
    content: url(../images/footer-nav-left.png);

}

.footer-nav-center {
    align-items: center;
    background-color:#1E362D;
    color: white;
    display: flex;
    justify-content: center;
    margin: 3px;
}

.footer-nav-center::before {
    content: url(../images/footer-nav-center.png);
}