@charset 'UTF-8';
/*
Theme Name: juriscope
Description: WordPressオリジナルテーマ
Version: 1.0
Author: juriscope
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);
    --rich-green1:#1E362D;
    --rich-green2:#7A6A56;
    --rich-green3:#1A2B20;

    /* 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
================================================ */
img,
iframe {
    max-width: 100%;
}

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


/*追加CSS
===========================================*/
.requirements {
    font-size: 0.9rem;
    border: 2px solid rgb(201, 202, 182);
    background-color: rgb(244, 248, 251);
    padding:10px 10px 20px 10px;
    margin:35px 20px 40px;
}
.requirements p:first-child {
    background-color: #108E99;
    color: white;
    padding:10px 0;
}

.post-footer-wrapper {
    background-color: #108E99;
    border-radius: 30px;
    padding: 3px;
    height: 200px;
}

.author__profile1 {
    background-color: rgb(215, 255, 248);
    background:#fff url(../images/merit-back2.png) repeat 0 0;
    background-size:20px 20px;
    box-shadow: 2px 2px 4px rgba(197, 24, 24, 0.1), -1px -1px 2px rgba(0, 0, 0, .1);
    border: 3px solid #39529d;
    padding:10px;
    font-size: 1rem;
}
.author-profile-title {
    font-size: 1.2rem;
    text-align: center;
}
.author-name {
    font-size: 1.2rem;
}

.author-wrapper {
    display: grid;
    grid-template-columns:1fr 2fr;
    padding:20px;
}
.author__profile {
    display: flex;
    align-items: center;
    justify-content: center;
}
.author__text {
    padding: 10px;
}

.markerred {
	background: linear-gradient(transparent 75%, #ffaaaa 60%);
	font-weight:bold;
	width:fit-content;
}

span.marker {
    font-weight: bold;
    background-image: linear-gradient(transparent 25%, rgb(255, 255, 102) 30%);
}

span.marker-1 {
	background: linear-gradient(transparent 70%, #ffd866 80%);
    width: fit-content;
    display: inline;
}

span.font-w {
	font-weight:bold;
}

.link-text {
	margin: 30px 0 0 0;
    font-size: 1.0rem;
    border-bottom: 1px solid;
    width: fit-content;
    color: #5a5a5a;
}

.wp-btn {
	color: #000000;
    background-color: rgb(255, 253, 220);
    border-radius: 20px;
    box-shadow: none;
    text-decoration: none;
    padding: 4px 20px;
    font-size: 1rem;
    margin: 10px 0 50px 20px;
	width:fit-content;
}
.wp-btn a:hover{
	color:#d78300;
}

.graph-paper {
    background-image: linear-gradient(to top, transparent calc(100% - 1px), #0042ff24 calc(100% - 1px)), linear-gradient(to left, transparent calc(100% - 1px), #0143ff14 calc(100% - 1px));
    background-size: 1rem 1rem;
    background-repeat: repeat;
    background-position: center center;
    border: 2px solid #0023ab;
    padding: 23px;
	margin:0;
}
@media screen and (min-width: 768px) {
.graph-paper {
    background-image: linear-gradient(to top, transparent calc(100% - 1px), #0042ff24 calc(100% - 1px)), linear-gradient(to left, transparent calc(100% - 1px), #0143ff14 calc(100% - 1px));
    background-size: 1rem 1rem;
    background-repeat: repeat;
    background-position: center center;
    border: 2px solid #0023ab;
    padding: 23px;
	margin:5px;
}
}

@media screen and (min-width: 960px) {
.graph-paper {
    background-image: linear-gradient(to top, transparent calc(100% - 1px), #0042ff24 calc(100% - 1px)), linear-gradient(to left, transparent calc(100% - 1px), #0143ff14 calc(100% - 1px));
    background-size: 1rem 1rem;
    background-repeat: repeat;
    background-position: center center;
    border: 2px solid #0023ab;
    padding: 23px;
	margin:40px;
}
}

.note-paper {
    background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%), linear-gradient(180deg, #ccc 1px, transparent 2px);
    background-size: 8px 100%, 100% 2rem;
    border: 2px solid #000000;
    padding: 33px;
    margin: 40px 5px;
    line-height: 2rem;
}
@media screen and (min-width: 768px) {
.note-paper {
    background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%), linear-gradient(180deg, #ccc 1px, transparent 2px);
    background-size: 8px 100%, 100% 2rem;
    border: 2px solid #000000;
    padding: 33px;
    margin: 40px;
    line-height: 2rem;
}
}
@media screen and (min-width: 960px) {
.note-paper {
    background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%), linear-gradient(180deg, #ccc 1px, transparent 2px);
    background-size: 8px 100%, 100% 2rem;
    border: 2px solid #000000;
    padding: 33px;
    margin: 40px;
    line-height: 2rem;
}
}


.border-solid {
    border: solid 1px;
    margin: 20px;
    padding-left: 2rem;
    padding-right: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    text-indent: -1rem;
}

.single-list {
	background-color: #ffffeb;
	border: 1px solid #c2c2dd;
	border-radius: 10px;
	width: 90%;
	margin: 20px auto;
	padding: 10px;
    padding-left: 1rem;
    text-indent: -1rem;
}
@media screen and (min-width: 768px) {
.single-list {
	background-color: #ffffeb;
	border: 1px solid #c2c2dd;
	border-radius: 10px;
	width: 90%;
	margin: 20px auto;
	padding: 10px;
    padding-left: 1rem;
    text-indent: -1rem;
}
}
@media screen and (min-width: 960px) {
.single-list {
	background-color: #ffffeb;
	border: 1px solid #c2c2dd;
	border-radius: 10px;
	width: 80%;
	margin: 20px auto;
	padding: 10px;
    padding-left: 1rem;
    text-indent: -1rem;
}
}
.single-list2 {
	background-color: #9f9faf8a;
    padding: 20px;
    border-radius: 20px;
    margin: 0 10%;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.4);
}


.leading-case-list {
	background-color: #edfcff;
	border: 1px solid #c2c2dd;
    border-radius: 10px;
	width: 95%;
	margin: 10px auto;
	padding-left: 1rem;
    text-indent: -1rem;
}

.img-center {
	width:95%;
	margin:auto;
}
@media screen and (min-width: 768px) {
.img-center {
	width:75%;
	margin:auto;
}
}
	
@media screen and (min-width: 960px) {
.img-center {
	width:75%;
	margin:auto;
}
}

.single-h4-1 {
	border: solid 2px;
	border-radius: 10px;
    margin: 10px 0 10px 20px;
    font-size: 1rem;
    color: #0d869f;
    padding: 0 20px;
    width: fit-content;
}
@media screen and (min-width: 768px) {
.single-h4-1 {
    border: solid 2px;
    border-radius: 10px;
    margin: 10px 0 10px 20px;
    font-size: 1.05rem;
    color: #0d869f;
    padding: 0 20px;
    width: fit-content;
}
}   

.check-before-orange::before {
	color: #ff7800;
    content: "\02714";
    font-size: 1.3rem;
}

.color-red {
	color: #ff0202;
}

.border-solid-fit {
	border: solid 1px;
    padding-left: 2rem;
    padding-right: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    width: fit-content;
    text-indent: -1rem;
    margin: auto;
}

.toc {
    color: rgb(0, 0, 0);
	font-size: 0.8rem;
    justify-content: center;
    display: block;
    border-top: solid;
    margin: 30px auto;
    border-bottom: solid;
    width: fit-content;
    padding: 0 10%;
    background-color: #f7f7f7;
}
@media screen and (min-width: 768px) {
.toc {
	font-size: 1rem;
}
}

.toc ul {
    padding:0;
    margin: 0;
}
.toc li {
    margin:0 10px;
}
.toc ul > li:hover  {
    color: #5a5a5a;
}
.toc ul li ul li:hover  {
    color: #000000;
}

.toc ul li ul li:before {
    content: '\025b6';
}

.check-point-1-1 {
    border: 2px solid #a13e0e;
    border-radius: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
    font-size: 0.9rem;
    padding: 18px;
}
@media screen and (min-width: 768px) {
.check-point-1-1 {
    font-size: 1rem;
}
}

.check-point-1-2 {
    background-color: #a96823;
    color: white;
    padding: 2px 5px;
}

.check-point-1-3 {
    background-color: #f7f7f7;
    padding-left: 1rem;
    text-indent: -1rem;
}

.square-before:before {
	content: "\025a1";
	padding-right: 1rem;
}

.arrow-r-before:before {
	content: "\02192";
    padding-right: 1rem;
}

.specific-example-1 {
    background: #e9f5ff;
	border-radius: 10px;
	color: #174a7d;
    font-weight: 700;
    margin: 1rem 0;
    padding: 0.5rem 2rem;
	position: relative;
    width: fit-content;
}

.specific-example-1:after {
    border: 30px solid transparent;
    border-top: 15px solid  #e9f5ff;
	content: '';
	position: absolute;
    top: 100%;
}

.single-content .left-border-color-1 {
	border-top: none;
    border-right: none;
    border-bottom: none;
	border-left: 5px solid;
    border-image: linear-gradient(to bottom, #78ff4c, #028302) 1;
    font-size: 1rem;
    margin: 20px 10px;
    padding: 5px 0;
    padding-left: 1rem;
    text-indent: -1rem;
}
@media screen and (min-width: 768px) {
.single-content .left-border-color-1 {
    font-size: 1.2rem;
}	
}


/*
 * QAR7.6.4
================================================*/
.qa-6 {
    max-width: 100%;
    margin-bottom: 5px;
    border-bottom: 2px solid #d6dde3;
}

.qa-6 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa-6 summary::before,
.qa-6 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-6 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa-6 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-6[open] summary::after {
    transform: rotate(225deg);
}

.qa-6 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-6[open] p {
    transform: none;
    opacity: 1;
}

.qa-6 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}

.qa-6-link {
	color:#04a512;
}
.qa-6-link:hover {
	color:#28d968;
}

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

.zoomin-img {
	transition: .5s;
}

.zoomin-img:hover {
	 transform: scale(1.1);
}

.font-blue {
    color: #0023ab;
}

.hover-blue :hover{
    color: #00a9db;
}

/*追加CSS2
===========================================*/
.img-list1 {
    background-color: #3b5141;;
    border: solid 6px #d5b79c;
    border-radius: 10px;
    box-shadow: 3px 3px 15px rgb(8, 51, 60);
    margin: auto;
    padding: 5px;
    width: 95%;
}

@media screen and (min-width: 768px) {
.img-list1 {
    border-radius: 10px;
    padding: 15px;
    width: 80%;
}
}
@media screen and (min-width: 960px) {
.img-list1 {
    border-radius: 10px;
    padding: 15px;
    width: 80%;
}
}

.img-list2 {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin:auto;
    text-align: center;
    text-shadow: 1px 2px 2px #000000;
}
@media screen and (min-width: 768px) {
.img-list2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: auto;
    text-align: center;
    text-shadow: 1px 2px 2px #000000;
}
}
@media screen and (min-width: 960px) {
.img-list2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: auto;
    text-align: center;
    text-shadow: 1px 2px 2px #000000;
}
}

.img-list3 {
    color: white;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5px;
    padding: 6px;	
    font-size: 0.8rem;
}
@media screen and (min-width: 768px) {
.img-list3 {
    font-size: 1rem;
    grid-template-columns: 1fr 2fr;
}
}
@media screen and (min-width: 960px) {
.img-list3 {
    grid-template-columns: 1fr 2fr;
    padding: 10px;
    font-size: 1.1rem;
}
}

.img-list2-1 {
    background-color: #3b5141;;
    border: solid 6px #d5b79c;
    border-radius: 10px;
    box-shadow: 3px 3px 15px rgb(8, 51, 60);
    margin: auto;
    padding: 5px;
    width: 95%;
}

@media screen and (min-width: 768px) {
.img-list2-1{
    border-radius: 10px;
    padding: 15px;
    width: 80%;
}
}
@media screen and (min-width: 960px) {
.img-list2-1 {
    border-radius: 10px;
    padding: 15px;
    width: 80%;
}
}

.img-list2-2 {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin:auto;
    text-align: center;
    text-shadow: 1px 2px 2px #000000;
}
@media screen and (min-width: 768px) {
.img-list2-2 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: auto;
    text-align: center;
    text-shadow: 1px 2px 2px #000000;
}
}
@media screen and (min-width: 960px) {
.img-list2-2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: auto;
    text-align: center;
    text-shadow: 1px 2px 2px #000000;
}
}

.img-list2-3 {
    color: white;
    display: grid;
    grid-template-columns: 1fr 5fr;
    gap: 5px;
    padding: 6px;	
    font-size: 0.8rem;
}
@media screen and (min-width: 768px) {
.img-list2-3 {
    font-size: 1rem;
    grid-template-columns: 1fr 5fr;
}
}
@media screen and (min-width: 960px) {
.img-list2-3 {
    grid-template-columns: 1fr 5fr;
    padding: 10px;
    font-size: 1.1rem;
}
}


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

/* ===== ハンバーガーボタン ===== */
.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;
}

header {
    z-index: 99;
    transition: transform 0.3s 0.3s;
}
header.hidden {
    transform: translateY(-80px);
}
@media screen and (min-width: 960px) {
header {
}
}

.site-header {
    display: none;
}

@media screen and (min-width: 768px) {
.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;*/
}
}


@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: 2fr 1fr 1fr 1fr;
    height: 50px;
}
@media screen and (min-width: 768px) {
.header-mobile__img {
    display: none;
}
}
@media screen and (min-width: 960px) {
.header-mobile__img {
    display: none;
}
}


/*
sigle-page
================================================ */
.page__single {
    color:black;
}
.top__title__area {
    background: url(../images/single__title.webp) no-repeat center center / cover;
    padding: 20px;
}

@media screen and (min-width:768px) {
.page__single {
    display: grid;
    grid-template-columns:7fr 2fr;
    margin-top: 70px;
}
.top__title__area {
}
}
@media screen and (min-width:960px) {
.page__single {
        grid-template-columns:4fr 1fr;
}
.top__title__area {
    width: 70%;
    margin:auto;
}
}

@media screen and (min-width:1200px) {
.page__single {
    grid-template-columns:9fr 2fr;
}
}
@media screen and (min-width:1500px) {
.page__single {
    grid-template-columns:6fr 1fr;
}
}

.single__main-wrapper {
    padding: 20px;
}
.single__article__content {
    padding: 10px;
}

.breadcrumb {
    color:rgb(8, 51, 60);
    padding: 0 0 10px 0;
    display: block;
}
@media screen and (min-width:521px) {
.breadcrumb {
}
}
@media screen and (min-width:961px) {
.breadcrumb {
    color:rgb(8, 51, 60);
    padding: 0 0 10px 15%;
    display: block;
}
}
.current-item {
    display: none;
}
.single__title__h1 {
    font-size: 1.5rem;
    color:white;
}

.single__category {
    font-size: var(--font-sm);
    border-radius: var(--round-sm);
    padding: 10px;
    margin:10px 0 0 0;
    list-style:none;
}
/*.single__date__renewal{
}*/
.post-categories {
    font-size: 1.1rem;
    width: 100px;
    text-indent: 1em;
    background-color:grey;
    margin-bottom: 10px;
}
@media screen and (min-width:961px) {
.post-categories li:hover {
    background: var(--dark-grey);
}
}



/*
thumbnail
===========================*/
.thumbnail-wrapper {
    margin: 20px 0;
    text-align: center;
}

.wp-post-image {
    height: 50%;
    width: 35%;
}

@media screen and (min-width:768px) {
.wp-post-image {
    height: 50%;
    width: 35%;
}
}
@media screen and (min-width:960px) {
.wp-post-image {
    height: 50%;
    width: 35%;
    }
}


/*
content
=========================*/
.single-content {
    font-size: 1rem;
    padding:20px 0 10px 0 ;
    line-height: 1.7;
}

@media screen and (min-width:768px) {
.single-content {
	font-size: 1rem;
	padding:10px 0 ;
    line-height: 2.0;
}
}
@media screen and (min-width:960px) {
.single-content {
	font-size: 1rem;
	margin: auto;
	padding:10px 0 ;
	width: 700px;
    line-height: 2.0;
}
}

.single-content h2 {
    font-size: 1rem;
    font-weight: bold;
    background-color: #d3d3d3cd;
    color: #000000;
    padding:10px 0 10px 0;
    box-sizing: content-box;
    border-bottom: solid 2px #C9CAB6;
    box-shadow: 2px 2px 4px gray;
    margin:20px 0;
    padding-left: 1rem;
    text-indent: 0;
    border-radius: 5px;	
}

@media screen and (min-width:768px) {
.single-content h2 {
    font-size: 1.1rem;
}
}
@media screen and (min-width:961px) {
.single-content h2 {
	font-size: 1.3rem;
}
}

.single-content h3 {
    border: solid 1px black;
    font-size: 1rem;
    margin: 20px 10px;
    padding:5px 0;
	padding-left: 1rem;
    text-indent: -1rem;
}

@media screen and (min-width:768px) {
.single-content h3 {
    font-size: 1.2rem;
}
}

@media screen and (min-width:961px) {
.single-content h3 {
    text-indent: 0.5rem;
}
}

/*.single-content li {
	margin:10px;
}*/
.wp-block-list {
    padding:20px;
    margin: 10px 0;
}
.wp-block-details {
    padding:100px;
}
.wp-block-quote {
    font-size: 0.9rem;
    padding:10px;
    margin:20px 10px;
    background-color: rgba(201, 202, 182, 0.2);
    border-left: solid 2px rgb(8, 51, 60);
}


/*
contact
=====================*/
.single-middle {
    margin: 10px auto;
}
@media screen and (min-width: 768px) {
.single-middle {
    margin: 10px auto;
    width: 90%;
    }
}
@media screen and (min-width: 1200px) {
.single-middle {
	margin: 50px auto;
    width: 700px;
}
}

.single-middle__title {
    background-color: #105463;
    padding:10px 0;
    font-family:'Noto Serif JP', serif;
}
.single-middle__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; 
}
.single-middle__h2__line {
    display: block;
    width: 20%;
    height: 2px;
    background: #c9b065;
}
.single-middle__h2__inner {
    position: relative;
    padding: 0 1rem;
    white-space: nowrap;
    display: block;
}

.middle__nav-contact {
    background: url(../images/img-contact4.png) no-repeat center;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
@media screen and (min-width: 768px) {
.middle__nav-contact {
    background: url(../images/img-contact4.png) no-repeat center;
    display: grid;
    grid-template-columns: 3fr 1fr;
}
}
@media screen and (min-width: 960px) {
.middle__nav-contact {
    background: url(../images/img-contact4.png) no-repeat center;
    display: grid;
    grid-template-columns: 3fr 1fr;
	height:200px;
}
}

.single-middle__sentence {
    text-indent: 1rem;
}
.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 {
    color:#873800;
    font-size: 0.8rem;
    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: 200px;
    padding:20px;
    width: 300px;
}
.middle-lead__inner p {
    color:#873800;
    font-size: 1rem;
    padding:10px;
}
}
@media screen and (min-width: 960px) {
.middle-btn {
    font-size: 1.2rem;
    height: 200px;
    padding:20px;
    width: 300px;
}
.middle-lead__inner p {
    color:#873800;
    font-size: 1rem;
    padding:10px;
}
}
.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 {
	line-height:2rem;
}

.flow__middle__tel {
    color: #7bc395;
	display:block;
    font-size: 2rem;
	margin: 15px;
}

/* sidebar ==========*/
.sidebar-wrapper {
    display: none;
}
@media screen and (min-width:768px) {
.sidebar-wrapper {
    display: block;
    margin: 200px 0 0 0; 
}
.sideBlock {
    position: sticky;
    top:120px;
}
.sideBlock-wrapper1 {
    background-color: #2b8666;
    border-radius: 30px 0 0 30px;
    color: white;
    min-height: 360px;
}
.sideBlock-wrapper1::after {
    background-image: url(../images/22443923_m.webp);
    border-radius: 30px 0 0 30px;
    width: 100%;
    height: 360px;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    display: block;
    opacity: .1;
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
}


.sideNaviBlock {
    padding: 20px 10px 10px 10px;
}
.sideNaviBlock h2 {
    text-align: center;

}

.sidebar-block-1 {
    border-bottom:1px dotted rgb(255, 255, 255);
    margin-bottom: 15px;
}
.sidebar-block-2 {
    margin-bottom: 15px;
    border-bottom:1px dotted rgb(255, 255, 255);
}
.sidebar-block-3 {
    margin-bottom: 15px;
    border-bottom:1px dotted rgb(255, 255, 255);
}
.sidebar-block-4 {
    margin-bottom: 15px;
    border-bottom:1px dotted rgb(255, 255, 255);
}
.sideBlock-wrapper2 {
    background-color: #2b8666;
    border-radius: 30px 0 0 30px;
    color: white;
}
.sideBlock-wrapper2::after {
    background-image: url(../images/32905795_s.webp);
    border-radius: 30px 0 0 30px;
    width: 100%;
    height: 180px;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    display: block;
    opacity: .1;
    position: absolute;
    pointer-events: none;
    top: 410px;
    left: 0;
}


.sideBlock-wrapper2 li {
    border-bottom:1px dotted rgb(255, 255, 255);
    margin-bottom: 15px;
}


}
@media screen and (min-width:960px) {
}

.sidebar-block h2 {
    font-size: 1.2rem;
    text-align: center;
}
.side-list {
    padding: 10px;
    font-size: 0.8rem;
} 
@media screen and (min-width:768px) {
.sidebar-block h2 {
    font-size: 1.2rem;
    padding:10px 0;
}
.side-list {
    font-size: 1rem;
}
}
@media screen and (min-width:960px) {
.sidebar-block h2 {
    font-size: 1.1rem;
}
.side-list {
    padding: 10px;
    font-size: 1.1rem;}
}

.side-list li {
    padding: 10px;
}
.side-list li:hover {
    color: var(--green);
}

/*
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-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:var(--rich-green1);
    color: white;
    display: flex;
    justify-content: center;
    margin: 3px;
}

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