@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);

    /* Font/Space Size */
    --font-sm: .75rem;
    --font-md: 1rem;
    --font-lg: 1.25rem;
    --font-xl: 1.625rem;

    /* Border Radius Size */
    --round-sm: 6px;
    --round-md: 10px;
    --round-lg: 50%;
}

/*
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-1column {
    margin-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: 1000;
    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/front-top-5.webp) no-repeat center center / cover;
    height: 400px;
    opacity: 0;
    animation: fadeIn 3s forwards;
}
@keyframes fadeIn {
    to {
      opacity: 1;
    }
}
@media screen and (min-width: 768px) {
.page-mv {
    height: 450px;
}
@keyframes fadeIn {
    to {
      opacity: 1;
    }
}
}
@media screen and (min-width: 960px) {
.page-mv {
    height: 500px;
}
}

.page-mv__title {
    align-items: center;
    color: #4b4b4b;
    display: flex;
    font-size: 1.4rem;
    font-weight: 700;
    justify-content: center;
    min-height: 60px;
    padding: 120px 20px 30px;
}
@media screen and (min-width: 768px) {
.page-mv__title {
    min-height: 100px;
    font-size: 1.8rem;
}
}
@media screen and (min-width: 960px) {
.page-mv__title {
    min-height: 160px;
    font-size: 1.9rem;
}
}

.page-mv__title h1 {
    font-size: 3rem;
    text-shadow: 1px 1px 1px #cbb200;
}
@media screen and (min-width: 768px) {
.page-mv__title h1 {    
}
}
@media screen and (min-width: 960px) {
.page-mv__title h1{    
}
}

.page-mv__subtitle {
    background-color: #a3000080;
    color: #ffffff;
    font-size: 1.1rem;
    margin:0 5%;
    padding: 10px;
    text-indent: 1rem;
}
@media screen and (min-width: 768px) {
.page-mv__subtitle {
    margin:0 20%;
}
}
@media screen and (min-width: 960px) {
.page-mv__subtitle {
    font-size: 1.4rem;
    margin:0 20%;
}
}

.front-header__sentence {
    width: fit-content;
    text-align: center;
    background-color: #3333339e;
    color: white;
    margin:20px auto;
}

@media screen and (min-width: 768px) {
.front-header__sentence {
}
}
@media screen and (min-width: 960px) {
.front-header__sentence {
}
}

/*
page-front
================================================ */
.page-front{
    color: black;
}
@media screen and (min-width: 768px) {
.page-front {
    font-size: 1.2rem;
}
}
@media screen and (min-width: 960px) {
.page-front {
}
}



.page-front__main {
    background-color: #fdfff0;
    border-radius: 9px;
    margin: 20px 1% 30px 1%;
    padding: 10px 3%;
}
@media screen and (min-width: 768px) {
.page-front__main {
    margin: 20px 3% 30px 3%;
    padding: 10px 7%;
}
}
@media screen and (min-width: 960px) {
.page-front__main {
    margin: 20px 9% 30px 9%;
    padding: 10px 8%;
}
}
@media screen and (min-width: 1200px) {
.page-front__main {
    margin: 20px 9% 30px 9%;
    padding: 10px 12%;
}
}


.front-middle__title-wrapper {
    margin-top: 20px;
}
.front-middle__title {
    background-color: #105463;
    padding:10px 0;
    font-family:'Noto Serif JP', serif;
}

.page-front__h2 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0 0.5rem;
    font-size: 1.3rem;
    font-weight: 400;
    text-align: center;
    color: #c9b065; 
}
.page-front__h2__line {
    display: block;
    width: 20%;
    height: 2px;
    background: #c9b065;
}
.page-front__h2__inner {
    position: relative;
    padding: 0 1rem;
    white-space: nowrap;
    display: block;
}
@media screen and (min-width: 768px) {
.page-front__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-front__h2__line {
    display: block;
    width: 20%;
    height: 2px;
    background: #c9b065;
}
.page-front__h2__inner {
    position: relative;
    padding: 0 1rem;
    white-space: nowrap;
    display: block;
}
}
@media screen and (min-width: 960px) {
.page-front__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-front__h2__line {
    display: block;
    width: 20%;
    height: 2px;
    background: #c9b065;
}
.page-front__h2__inner {
    position: relative;
    padding: 0 1rem;
    white-space: nowrap;
    display: block;
}
}

/* =========================
   Front Service Blocks
========================= */

.service-section-title {
  text-align: center;
  margin: 28px 0 12px;
  padding: 18px 0;
  font-family: 'Noto Serif JP', serif;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.0),
    rgba(255,255,255,0.6),
    rgba(255,255,255,0.0)
  );
}

.service-section-en {
  display: block;
  font-size: 15px;
  letter-spacing: 0.25em;
  color: #c9a227;
  margin-bottom: 6px;
}

.service-section-ja {
  display: inline-block;
  font-size: 26px;
  font-weight: 500;
  color: #1e3a5f;
  padding-bottom: 6px;
  position: relative;
}

.service-section-ja::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(
    90deg,
    #d4af37,
    #f5e6a8,
    #c9a227
  );
  margin: 8px auto 0;
}

.front-service {
  position: relative;
  padding-top: 0;
  padding-bottom: 12px;
  overflow: hidden;
}

.front-service__bg-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,90,160,0.12), rgba(30,90,160,0));
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.front-service__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-box {
  position: relative;
  background: #fff;
  padding: 44px 32px 32px;
  border-radius: 6px;
  border: none;
  border-bottom: 6px solid #1e5aa0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.service-box--center {
  grid-column: 1 / -1;
  max-width: calc((100% - 30px) / 2);
  margin: 0 auto;
}

.service-box h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #1e5aa0;
}

.service-box p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

.service-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 12px;
}

/* Number */
.service-num {
 font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.05em;

  background: linear-gradient(
    135deg,
    #d4af37 0%,
    #f5e6a8 40%,
    #c9a227 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  color: #d4af37;
}
@media screen and (max-width: 767px) {
  .front-service__grid {
    grid-template-columns: 1fr;
  }

  .service-box--center {
    grid-column: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .front-service__bg-circle {
    width: 400px;
    height: 400px;
  }
}

.front-middle__sentence {
    background: url(../images/front-middle-background2.webp) no-repeat center center / cover;
    display: grid;
    grid-template-columns: 1fr 2fr;
    height: 120px;
    margin:16px 0;
}
.front-middle__sentence__h3 {
    align-self: center;
}
.front-middle__sentence h3 {
    color: #39529d;
    font-size:1rem;
    text-align: center;
    text-shadow: 1px 2px 1px #c3c4c7;
    padding: 15px 0;
}
.front-middle__sentence__p {
    align-self: center;
    padding-right: 20px;
}
.front-middle__sentence__p-1 {
    text-indent: 1rem;
    color: white;
}
.front-middle__sentence__p-2 {
    display: none;
}

@media screen and (min-width: 768px) {
.front-middle__title {
    background-color: #105463;
    padding:10px 0;
    font-family:'Noto Serif JP', serif;
}
.front-middle__sentence {
    display: grid;
    grid-template-columns: 1fr 2fr;
    height: 140px;
    text-indent: 1rem;
    margin:28px 0;
}
.front-middle__sentence__h3 {
    align-self: center;
}
.front-middle__sentence h3 {
    color: #39529d;
    font-size:1.3rem;
    text-align: left;
    padding: 15px 0;
}
.front-middle__sentence__p {
    align-self: center;
    padding-right: 20px;
}
.front-middle__sentence__p-1 {
    color: white;
    font-size: 1rem;
    text-indent: 1rem;
}
.front-middle__sentence__p-2 {
    color: white;
    display: block;
    font-size: 1rem;
    text-indent: 1rem;
}
}

@media screen and (min-width: 960px) {
.front-middle__title {
    background-color: #105463;
    padding:10px 0;
    font-family:'Noto Serif JP', serif;
}
.front-middle__sentence {
    display: grid;
    grid-template-columns: 1fr 2fr;
    height: 140px;
    text-indent: 1rem;
    margin:48px 0;
}
.front-middle__sentence__h3 {
    align-self: center;
}
.front-middle__sentence h3 {
    color: #39529d;
    font-size:1.5rem;
    text-align: center;
    padding: 15px 0;
}
.front-middle__sentence__p {
    align-self: center;
    padding-right: 20px;
}
.front-middle__sentence__p-1 {
    color: white;
    font-size: 1.2rem;
    text-indent: 1rem;
}
.front-middle__sentence__p-2 {
    color: white;
    font-size: 1.2rem;
    text-indent: 1rem;
}
}

/* ==========================
front-reason
============================= */
.reason-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}
.reason-head__img-wrapper {
    margin: 0px 40px;
}

.readson-head__img {
    height: 150px;
}

.reason-head-wrapper {
    display: flex;
    flex-direction: column;
}
.reason-head__h2 {
    font-size: 2rem;
    color: #1e3a5f;
}
.reason-head__p {
    font-size: 1.1rem;
    color: #444;
    margin-top: 8px;
}

.reason-middle {
    color: black;
}
.reason-middle-wrapper {
    text-align: center;
}

.reason-middle-sc-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 auto;
    max-width: 1100px;
}
@media screen and (min-width: 768px) {
.reason-middle-sc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    margin: 0 12%;
}  
}
@media screen and (min-width: 960px) {
.reason-middle-sc-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-content: center;
    margin: 0 20%;
}    
}

.reason-middle-sc-1,
.reason-middle-sc-2,
.reason-middle-sc-3 {
  background: #f9fbfd;
  border-radius: 8px;
  padding: 28px 16px 22px;
  position: relative;
  border: none;
}
.reason-middle-sc-1::after,
.reason-middle-sc-2::after,
.reason-middle-sc-3::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: #1e3a5f;
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 0 0 8px 8px;
}


.reason-middle__h3 {
    font-size: 1.2rem;
}
.reason-middle__h3 h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #1e3a5f;
}
@media screen and (min-width: 768px) {
.reason-middle__h3 h3 {
    font-size: 1.5rem;
}    
}
@media screen and (min-width: 960px) {
.reason-middle__h3 h3 {
    font-size: 1.7rem;
}    
}

.reason-middle__h3 img {
    width: 90px;
    margin: 12px 0;
}
@media screen and (min-width: 768px) {
.reason-middle__h3 img {
    width: 120px;
}
}
@media screen and (min-width: 960px) {
.reason-middle__h3 img {
}
}
.reason-middle__h3 span {
    font-size: 0.95rem;
    color: #333;
}

/*
front-flow
------------------------*/
.front-flow {
    color: black;
    background-color: #39529d;
    position: relative;
    z-index: 1;
}
@media screen and (min-width: 768px) {
.front-flow {
    margin: 30px 10%;
}
}
@media screen and (min-width: 960px) {
.front-flow {
    margin: 30px 15%;
}
}
@media screen and (min-width: 1300px) {
.front-flow {
    margin: 30px 23%;
}
}
.flow__body {
    position: relative;
    z-index: 1;
}
.flow__body::after{
    background-image: url(../images/26501082_m.webp);
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.05;
    position: absolute;
    content: "";
    display: block;
    top: 0;
    left: 0;
    z-index: -1;
}


.flow-head-wrapper {
    color: white;
    padding-top: 30px;
    text-align: center;
}
.flow-head__h2 {
    font-size: 1.5rem;
}
.flow-head__p {
    font-size: 1rem;
    margin:15px 0;
}

.flow-middle {
    color: black;
}
.flow-middle-wrapper {
}

.flow-middle-sc-wrapper {
    position: relative;
}
.flow-middle-sc-wrapper::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 10px;
  width: 2px;
  background: rgba(201,176,101,0.3);
}
@media screen and (min-width: 768px) {
.flow-middle-sc-wrapper {
}  
.flow-middle-sc-wrapper::before {
    left: 38px;
}
}
@media screen and (min-width: 960px) {
.flow-middle-sc-wrapper {
}    
}

.flow-middle-sc {
    margin: 20px 0;  
}
@media screen and (min-width: 768px) {
.flow-middle-sc {
    margin: 28px 0;  
}
}

.flow-middle-sc-last {
    padding-bottom: 30px;
}


.flow-list {
    border: 4px solid rgba(201,176,101,0.4);
    border-radius: 12px;
    display: flex;
    margin: 0 10px;
    padding: 10px 0 0 10px;
}
@media screen and (min-width: 650px) {
.flow-list {
    margin: 10px 50px;
}
}
@media screen and (min-width: 960px) {
.flow-list {
    margin: 10px 15%;
}
}
@media screen and (min-width: 1200px) {
.flow-list {
    margin: 10px 10%;
}
}

.flow-list__inner {
    display: flex;
    margin: 1rem;   
}
@media screen and (min-width: 768px) {
.flow-list__inner {
}
}
@media screen and (min-width: 960px) {
.flow-list__inner {
}
}

.flow-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e6d08a, #c9b065);
    color: #3a3a3a;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*
.flow-num span {
    position: relative;
    background-color: #8a0007;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/

.flow-num::after {
    display: none;
}

.flow-list-detail {
    color: white;
    margin-left: 1.5rem;
}

.flow-list-detail h3 {
    font-size: 1.1rem;
}
@media screen and (min-width: 768px) {
.flow-list-detail h3 {
  
}    
}
@media screen and (min-width: 960px) {
.flow-list-detail h3 {   
}    
}
.flow-list-detail span {
    display: block;
    margin-top: 10px;
}

/*
contentBlock
--------------------------------*/
.contentBlock_wrapper {
    color: black;
    display: flex;
    gap: 10%;
    justify-content: center;
}
.contentBlock {
    border:1px solid grey;
    border-radius: 50%;
    transition: .5s;
}
.contentBlock:hover {
    transform: scale(1.1,1.1);
}

.contentBlock__img {
    padding:15px;
    text-align: center;
}
.moduleBlock_title {
    text-align: center;
}
.moduleBlock_title span {
    display: none;
}

@media screen and (min-width: 768px) {
.contentBlock__img {
    padding:30px;
    text-align: center;
}
.moduleBlock_title {
    text-align: center;
}
.moduleBlock_title span {
    display: block;
}
}

@media screen and (min-width: 960px) {
.contentBlock__img {
    padding:30px;
    text-align: center;
}
.moduleBlock_title {
    text-align: center;
}
.moduleBlock_title span {
    display: block;
}
}

/*
page-middle
================================================ */
.page-middle {
    color: black;
    margin-top: 3rem;
}
.page-middle__main {
    margin:10px 5%;
}
.middle__nav-contact {
    background: url(../images/img-contact4.png) no-repeat center center / cover;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media screen and (min-width: 768px) {
.page-middle {
    font-size: 1.2rem;
    margin-top: 3rem;
}
.page-middle__main {
    margin:10px 20% 10px 20%;
}
.middle__nav-contact {
    background: url(../images/img-contact4.png) no-repeat center center / cover;
    display: grid;
    grid-template-columns: 3fr 1fr;
}
}

@media screen and (min-width: 960px) {
.page-middle {
    font-size: 1.2rem;
    margin-top: 3rem;
}
.page-middle__main {
    margin:10px 20% 10px 20%;
}
.middle__nav-contact {
    background: url(../images/img-contact4.png) no-repeat center center / cover;
    display: grid;
    grid-template-columns: 3fr 1fr;
}
}

.middle-lead {
    padding:10% 0 0 5%;
}
.middle-lead-back {
    border: .3rem solid rgba(185, 159, 140);
    margin-right: 25%;
    border-radius: 5px;
}
.middle-lead__inner {
    background-color: #ffffff;
    font-size: 0.9rem;
}
.middle-lead__inner p {
    color:#873800;
}
@media screen and (min-width: 768px) {
.middle-lead {
    padding:10% 0 0 5%;
}
.middle-lead-back {
    border: .5rem solid rgba(185, 159, 140);
    margin-right: 25%;
    border-radius: 5px;
}
.middle-lead__inner {
    background-color: #ffffff;
    font-size: 1rem;
}
.middle-lead__inner p {
    color:#873800;
    padding:10px;
}
}
@media screen and (min-width: 960px) {
.middle-lead {
    padding:10% 0 0 5%;
}
.middle-lead-back {
    border: .5rem solid rgba(185, 159, 140);
    margin-right: 25%;
    border-radius: 5px;
}
.middle-lead__inner {
background-color: #ffffff;
font-size: 1.2rem;
}
.middle-lead__inner p {
    color:#873800;
    padding:10px;
}
}

.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 {   
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 252, 252, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.middle-btn a:hover{
    color:rgb(55, 135, 255);
}

.middle-btn-contact {
    font-size: 0.8rem;
    height: 150px;
    margin: auto;
    width: 150px;
}
@media screen and (min-width: 768px) {
.middle-btn-contact {
    font-size: 1.2rem;
    height: 300px;
    padding: 20px;
    width: 300px;
}
}

@media screen and (min-width: 960px) {
.middle-btn-contact {
    font-size: 1.2rem;
    height: 300px;
    padding: 20px;
    width: 300px;
}
}

.middle-btn-contact a {   
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(253, 142, 142, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
}
.middle-btn-contact a:hover{
    color:rgb(255, 255, 255);
}


.us__bottom-wrapper {
    padding-top: 1rem;
    text-align: center;
    border: 3px solid grey;
    width: auto;
    color: black;
    padding:10px;
	margin:40px 5%;
}
@media screen and (min-width: 768px) {
.us__bottom-wrapper {
    padding-top: 1rem;
    text-align: center;
    border: 3px solid grey;
    width: auto;
    color: black;
    padding:10px;
	margin:40px 18% 10px 18%;
}
}
@media screen and (min-width: 1100px) {
.us__bottom-wrapper {
    padding-top: 1rem;
    text-align: center;
    border: 3px solid grey;
    width: auto;
    color: black;
    padding:10px;
	margin:40px 29% 10px 29%;
}
}


.us__bottom a {
    color: #7bba93;
}
.us__bottom__tel {
    color: #7bc395;
    font-size: 2rem;
}

.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;
}

/*
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);
}