@charset "utf-8";
/*
Theme Name: 琉球法律事務所
*/

* {
	padding:0;
	margin: 0;
	font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','ヒラギノ角ゴシック','Hiragino Sans','メイリオ', Meiryo,YuGothic,'Yu Gothic','MS UI Gothic',sans-serif;
}

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

html {
	font-size:62.5%;
}
body {
  font-family: 游ゴシック, YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "ＭＳ Ｐゴシック", sans-serif;
  color: #000;
  font-size:1.5rem;
	overflow-x: hidden !important;
}

body {
	line-height: 1;
}
p {
    font-size: 17px;
    line-height: 1.6em;
	margin-bottom: 3rem;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {



    border-collapse: collapse;
    border-spacing: 0;
    margin: 20px 0px;
    width: 100%;
}
th, td {
    border: solid 1px #ddd;
}
th {
    padding: 10px;
    text-align: center;
	font-weight:bold;
	background-color:#f5f5f5;
	line-height:1.4;
}
td {
    padding: 10px;
    text-align: left;
	line-height:1.4;
}
body {
	color: #08131A;
	font-size: 16px;
}

img {
	vertical-align: top;
	border: 0;
	max-width: 100%;
	height: auto;
}

li {
	list-style-type: none;
}
li {
    font-size: 16px;
}
li a {
    color: #111111;
    text-decoration: underline;
}

a:hover {
	color: #333333;
}

h3 {
	padding: 5px;
	font-size: 1.4em;
	margin: 2em 0 1.5em;
	position: relative;
	line-height: 1.4;
	font-family: Hiragino Kaku Gothic Pro;
	border-bottom: solid 2px #68462B;
	color: #68462B;
}
/*h3::before{
	content: "";
	width: 100%;
	height: 2px;
	background :repeating-linear-gradient(90deg, #007B51 0%, #007B51 29.3%, #F7F7F7 29.3%, #F7F7F7 100%);
	bottom: 0;
	display: block;
	left: 0;
	position: absolute;
	z-index 0
}*/

h4 {
    padding: 10px 10px;
    font-size: 18px;
    margin-bottom: 20px;
    border-top: solid 1px #138E33;
    border-bottom: solid 1px #138E33;
	margin-top:15px;
	clear:both;
	font-weight:bold;
	line-height: 1.5;

}
h5 {

    font-size: 18px;
    margin-bottom: 20px;
    border-left: solid 5px #138E33;
    padding-left: 15px;
	clear:both;
	margin-top:15px;
	font-weight:bold;

}
/*
ヘッダー
-------------------------------------------*/
div#header {
    border-top: solid 8px #f9d12b;
}
div#header .inner {
    width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
}
div#header .inner a {
    display: block;
}
div#header .inner a:hover {
    opacity: 0.7;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
div#header .inner h1 {
    width: 315px;
}
div#header .sp{
	display: none;
}
div#header .inner p {
    width: 35%;
    float: right;
}
#header .header-company b {
    display: block;
    background: #e8e8e8;
    padding: 4px 0;
    margin-bottom: 6px;
    line-height: 1;
    margin-top: 15px;
}
ul.header-maps {
    display: flex;
    gap: 6px;
    justify-content: center;
}
ul.header-maps li {
    text-align: center;
    background: #fffae7;
    border: 2px solid #f8d12c;
    border-radius: 10px;
    width: 155px;
    padding: 10px;
	 line-height: 24px;
}
ul.header-maps li b{
  font-weight:bold;
	font-size: 17px;
}
ul.header-maps li span{
    font-size: 13px;
    display: grid;
    place-content: center;
}
ul.header-maps li a {
	display: block;
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.header-maps2{
	padding: 22px 10px !important;
}

#header .header-company {
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
	  padding: 0 10px;
}
#header .footlist__tel {
    position: inherit;
    top: inherit;
    right: inherit;
    display: block;
    text-align: center;
    color: #333;
	 font-size: 26px;
    padding: 12px 0;
}
#header .footlist__tel:before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 20px;
	background: url(/wp-content/themes/ryukyu/images/tel.icon.png) no-repeat;
}
.header-contact {
    text-align: center;
    margin-top: 10px;
}
.header-contact b {
	display: inline-block;
    background: linear-gradient(90deg, #da2810, #ff7e00);
    background: -webkit-linear-gradient(90deg, #da2810, #ff7e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 18px;
}
#header .header-contact_time {
    font-weight: normal;
    font-size: 14px;
}
.gnav {
    /* background: ; */
}
.gnavin { width: 1200px; margin: 0 auto; }
.gnavin1 { width: 100%; background: #D9D9D9; }
.gnavin2 { width: 100%; background: #FFCC5B; }
ul#menu-gnavi-1 { display: flex; justify-content: center; background: #099428; margin: 0 auto; border-bottom: 1px solid #fff; }
ul#menu-gnavi-2 { display: flex; justify-content: center; background: #D9CC01; margin: 0 auto; }
ul#menu-gnavi-1 li { border-left: solid 1px #000; }
ul#menu-gnavi-2 li { border-left: solid 1px #432C14; }
ul#menu-gnavi-1 li:last-child { border-right: solid 1px #000; }
ul#menu-gnavi-1 li a { color: #fff; }
ul#menu-gnavi-2 li a { color: #432C14; }
ul#menu-gnavi-1 li a, ul#menu-gnavi-2 li a { display: block; padding: 15px; font-size: 16px; font-weight: bold; text-decoration: none; text-align: center; color: #ffffff; /*text-shadow: 1px 1px #fff;*/ }
ul#menu-gnavi-1 li a:hover, ul#menu-gnavi-2 li a:hover { opacity: 0.7; }
/*ul#menu-gnavi-2 li:last-child a { position: relative; display: block; width: 240px; color: #FFCC5B; }
ul#menu-gnavi-2 li:last-child a:before { content: ""; position: absolute; top: 0; left: 0; display: inline-block; width: 100%; height: 48px; background: url(/wp-content/themes/ryukyu/images/bl_mv/bl_mv_btn.png) no-repeat center center; background-size: auto 70%; }*/

/* 2021.06.30 追加 */
#bl_mv {
	background: #83e2fe url(/wp-content/themes/ryukyu/images/bl_mv/bl_mv_bg.jpg.webp) no-repeat center bottom;
	background-repeat: no-repeat;
	background-size: cover;
	height: 548px;
	margin-bottom: 0 !important;
}

#bl_mv .wrap {
	position: relative;
	display: block;
	margin: 0 auto;
	width: 1200px;
}

#bl_mv .bl_mv_txt {
	display: block;
	margin: 0 auto;
	padding-top: 10px;
	width: 770px;
}

#bl_mv .bl_mv_reason {
	position: absolute;
	top: 200px;
	left: 10px;
	width: 525px;
	height: 335px;
	background: url(/wp-content/themes/ryukyu/images/bl_mv/bl_mv_reason_bg.png) no-repeat center top;
}

#bl_mv .bl_mv_reason ul {
	list-style: none;
	margin: 60px 0 0 53px;
	color: #101010;
	font-weight: bold;
}

#bl_mv .bl_mv_reason ul li {
	margin: 0 0 35px;
	font-size: 2.25rem;
}

#bl_mv .bl_mv_reason ul li b {
	color: #d30e0e;
}

#bl_mv .bl_mv_reason ul li span {
	font-size: 1.25rem;
	font-weight: normal;
}

#bl_mv .bl_mv_img {
	position: absolute;
	top: 110px;
	right: 0;
	width: 650px;
	height: auto;
}

#bl_mv .bl_mv_btn {
	position: absolute;
	top: 440px;
	right: 10px;
	width: 620px;
}

#bl_mv .bl_mv_btn:hover {
	opacity: 0.8;
}





/* 2022.05.16 YouTube追加 */
.youtube {
	text-align:center;
}

.youtube iframe{
	text-align:center;
	/*height:180px !important;*/
}

.youtube img {text-align:center;width:600px !important;height: auto;}

section#bl_youtube {
	position: relative;
	margin: 50px auto 0;
	width: 100%;
}

section#bl_youtube p.greencatch {
	display: block;
	margin: 50px auto 30px;
	padding: 10px 0;
	width: 100%;
}

section#bl_youtube .wrap {
	margin: 0 auto;
	width: 640px;
}

section#bl_youtube .YouTube {
	position: relative;
}

section#bl_youtube .YouTube__Movie {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}





/*
グローバルナビ
-------------------------------------------*/

/*
メイン
-------------------------------------------*/
section {

}

section.bnarea {
    width: 1000px;
    margin: 0 auto;
}

section.bnarea p{
    margin-bottom:15px;
		padding-left:15px;
		padding-right:15px;

}

section.bnarea strong{
	font-weight:bold;
	font-size:1.4em;
}

#shintyaku {
    width: 1000px;
    margin: 0 auto;
}

h2 {
   padding: 0.3em 0.5em;
   font-size: 30px;
   color: #68462B;
	margin: 1em 0 1.5em;
   letter-spacing:normal;
	line-height: 1.4;
	position: relative;
	z-index: 1;
	font-weight:bold;
	border-left: solid 10px #68462B;
	background: #F7F4ED;
	font-family: Hiragino Kaku Gothic Pro;
	}
/*h2::before{
	position: absolute;
	display: block;
	pointer-events: none;
	content: "";
	top: -4.5px;
	left: 0px;
	width: 100%;
	height: calc(100% + 5px) !important;
	box-sizing: content-box;
	border-top: solid 2px #007B51;
	border-bottom: solid 2px #007B51;
}*/

@media (max-width: 480px) {
	h2{
		font-size: 20px !important;
        padding: 10px !important;
	}
	h2::before{
	height: calc(100% + 3px);
}
}

#shintyaku h2{
	margin-bottom:0 !important;
}
div#mv img {
    width: 100%;
}
p.introcatch,
p.greencatch{
background: linear-gradient(180deg, #4AAF00, #049435);
    padding: 10px;
    text-align: center;
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: bold;
    color: #fff;

}
p.greencatch{
	margin-bottom: 30px;
}
.introlistbox {
    background: #ffd301;
}

.introlistbox ul{
    width: 1100px;
    margin:0 auto;
    box-sizing: border-box;
}

.introlistbox ul *{
    box-sizing: border-box;
}



/*ul.introlist {*/
/*    padding: 25px 0;*/
/*    width: 1100px;*/
/*    display: flex;*/
/*    margin: 0 auto;*/
/*    justify-content: space-between;*/
/*}*/

section#sodanbox {
    width: 1000px;
	  margin: 0 auto;
}
section#sodanbox p{
	margin-bottom:15px;
	padding-left:15px;
	padding-right:15px;
}

section#sodanbox strong{
	font-weight:bold;
/* 	font-size:1.4em; */
}


.sodaninbox,
.gensatsuinbox{
    padding: 10px;
    font-size: 18px;
}
.sodaninbox p {
    margin-bottom: 40px;
}
section#aisatsubox {
    width: 1000px;
    margin: 0 auto;
}
span.green {
    color: #088A26;
}
.sodaninbox a {
    color: #088A26;
}
.messagebox {
    overflow: hidden;
    font-size: 18px;
    line-height: 1.8em;
    margin-bottom: 30px;
}

.messagebox p{
	margin-bottom:10px;
}

.messagebox b{
	font-weight:bold;
}

.messagebox a{
	color: #3399FF;
	font-weight: bold;
	text-decoration: underline;
	line-height:2;
}


p.messright {
    float: right;
    margin: 0 15px;
}
ul.gensatsulist {
    display: flex;
    margin-bottom: 25px;
}
ul.gensatsulist {
    display: flex;
    margin-bottom: 25px;
    justify-content: space-between;
}
p.bnimg {
    margin-bottom: 30px;
}
section#kaiketsujirei {
    width: 1000px;
    margin: 0 auto;
}
.jireibox {
    border: solid 2px #099428;
    padding: 20px;
    margin-bottom: 25px;
	    overflow: hidden;
}
.jireiboxleft {
    width: 18%;
    float: left;
    margin-right: 25px;
}
.jireiboxright {
    width: 78%;
    float: left;
}
.jireiboxright h3 {
    width: fit-content;
    font-size: 26px;
    color: #099428;
    border-bottom: solid 2px;
    margin-bottom: 10px;
}
ul.taglist {
    overflow: hidden;
    margin-bottom: 20px;
}
ul.taglist li {
    width: fit-content;
    float: left;
    background: #fff7cc;
    padding: 5px 15px 5px 29px;
    margin-right: 10px;
    background-image: url(/wp-content/themes/ryukyu/images/tag_bkimg.jpg.webp);
    background-repeat: no-repeat;
    background-size: 18px 18px;
    background-position: 5px;
    font-size: 16px;
    font-weight: bold;
		margin-bottom:5px;
}
ul.taglist li a{
    text-decoration: none;
}
p.kaiketsutxt {
    font-size: 18px;
    margin-bottom: 10px;
}

a.morebt {
    float: right;
    display: block;
    width: fit-content;
    background: #f79201;
    padding: 10px 25px;
    text-decoration: none;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    margin-right:10px;
}

a.shosaibt {
	font-size: 24px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(#ffc677, #ff8509);
    padding: 15px 30px;
    text-align: center;
    display: block;
    width: 55%;
    border-radius: 10px;
    border: #c7731b solid 1px;
    margin: 10px auto 30px;
}



section#voice {
    background: #ffffd9;
    padding-bottom: 50px;
}

p.introcatch {
    background: #099428;
    padding: 10px;
    text-align: center;
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: bold;
    color: #fff;
}
p.messagecatch {
    background: #fa9501;
    padding: 15px;
    text-align: center;
    font-size: 30px;
    letter-spacing: 2px;
    font-weight: bold;
    color: #fff;
	margin-bottom: 50px;
}
ul.voicelist {
    width: 1000px;
    margin: 0 auto 50px;
    overflow: hidden;
}
ul.voicelist li {
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
}
p.bnimg {
    text-align: center;
}

section .container{
    width:1000px;
}



section#sodanbox02,
section#reason{
    /*background: #ffffd9;*/
    /*padding: 50px 0;*/
}

.omakasebox{
    width: 1000px;
    margin: 0 auto 50px;
    overflow: hidden;
}
p.omakaseleft {
    width: 41%;
    margin-right: 15px;
    float: left;
}
.omakaseright {
    width: 57%;
    float: right;
}
ul.limenu {
    overflow: hidden;
}
ul.limenu li {
    float: left;
    margin-right: 15px;
    margin-bottom: 9px;
}
ul.limenu li:nth-child(even) {
    margin-right: 0px;
}
p.rsmidashi {
    text-align: center;
    font-size: 44px;
    font-weight: bold;
    color: #ff6d37;
    margin-bottom: 30px;
}
span.bs_span {
    font-size: 30px;
    color: #333333;
}
ul.reslist {
    width: 1000px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: space-between;
}
ul.reslist p {
    margin-bottom: 15px;
}
ul.reslist dl dt {
    text-align: center;
    background: #099428;
    width: fit-content;
    padding: 5px 18px;
    font-size: 30px;
    font-weight: bold;
    border-radius: 50px;
    margin-bottom: 20px;
    margin: 0 auto 10px;
    color: #fff;
}
section#sozokuflow {
    width: 1000px;
    margin: 0 auto;
}
p.centimg {
    text-align: center;
}
ul.reslist dl dd {
    font-size: 18px;
    text-align: center;
    font-weight: bold;
}
ul.reslist dl dd span{
	color: #ff6d37;
}
.chiikilist {
    margin-bottom: 35px;
    overflow: hidden;
}
.chilileft {
    width: 45%;
    float: left;
    margin: 15px;
}
.chiliright {
    width: 45%;
    float: right;
    margin: 15px;
}
section#chiiki {
    width: 1000px;
    margin: 0 auto;
}
dl.chiikidl dt {
    font-size: 18px;
    border-bottom: solid;
    color: #ff9200;
    font-weight: bold;
    padding: 5px 10px;
    margin-bottom: 15px;
}
dl.sidechiki dt {
    font-size: 18px;
    border-bottom: double;
    color: #ff9200;
    font-weight: bold;
    padding: 5px 10px;
    margin-bottom: 15px;
}
dl.chiikidl dd {
    font-size: 18px;
    margin-bottom: 20px;
}
dl.sidechiki dd {
    font-size: 18px;
    margin-bottom: 20px;
}
section#access {
    width: 1000px;
    margin: 0 auto;
}
section#access p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
    padding:0 15px;
}

.ggmap{
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}

.sideggmap{
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
	margin-bottom: 20px;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.sideggmap iframe,
.sideggmap object,
.sideggmap embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.side-tel-open{
    border:3px solid #f9d12b;
    padding:1rem;
    color:red;
    font-weight:bold;
    text-align:center;
    margin-bottom:15px;
    font-size:1.5rem;
}

.side-tel-open a{
    display: block;
    color:red;
    font-size:20px;
    font-weight:bold;
    text-align:center;
    margin-bottom:10px;
}

.side-tel-open a::before{
    font-family: "Font Awesome 5 Free";
    content:"\f879";
    font-weight:900;
    font-size:0.8em;
    margin-right:5px;
}

.side-tel-open span{
    line-height:1.2;
}


.footbox {
    width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}
.ftbxleft {
    width: 65%;
    float: left;
}
.ftbxright {
    width: 30%;
    float: right;
}
.ftbxleft p {
    margin-bottom: 10px;
}
ul.footlist li {
    display: inline-block;
    position:relative;
	vertical-align:middle;
}

.footlist__tel{
    position: absolute;
    /* top: 33%; */
	top: 37%;
    right: 30px;
    display: block;
    width: 100%;
    text-align: right;
    color:#222222;
    text-decoration:none;
    font-weight:bold;
    font-size:25px;
}
#footer .map_list {
    clear: both;
    display: flex;
	 flex-wrap: wrap;
    justify-content: space-between;
	padding-top: 35px;
}

.footer-tokyo{
	margin: 10px auto;
}

#footer .map_list li {
    text-align: center;
	  width: 30.5%;
}
#footer .map_list_title {
    padding: 5px 0;
    background: #ffd300;
    line-height: 1.8;
}
#footer .map_list_title b {
    font-size: 21px;
    font-weight: bold;
}
#footer .map_list_title span {
    font-size: 15px;
}
#footer .map_list_address {
    font-size: 15px;
    line-height: 1.1;
    padding: 20px 0 0;
}
#footer .map_list iframe {
    width: 100%;
    height: 210px;
}
ul.footnav {
    overflow: hidden;
}
ul.footnav li {
    width: 45%;
    font-size: 16px;
    margin-bottom: 10px;
    float: left;
    background-image: url(/wp-content/themes/ryukyu/images/footnav_bk.jpg.webp);
    background-repeat: no-repeat;
    background-size: 10px 15px;
    background-position: 0;
    padding-left: 15px;
}
address {
    text-align: center;
    background: #FFD301;
    padding: 5px;
    font-style: normal;
}
ul.footnav li a {
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 10px;
	color: #179132;
}
div#footer {
    border-top: solid 5px #FFD301;
    padding: 50px 0;
}

button.drawer-toggle.drawer-hamburger {
    display: none;
}
.shintyakubox {
    background: #fffbe5;
    padding: 25px 50px;
}
.shintyakubox dl {
       border-bottom: dotted 1px #000;
    padding: 10px 0; border-bottom: dotted 1px #000;
}
.shintyakubox dl dt {
/*     display: inline-block; */
    margin-right: 20px;
    background: #099428;
    padding: 5px 10px;
    color: #fff;
    width: 80px;
    text-align: center;
}

.shintyakubox dl dt a {
    color:#FFFFFF;
}

.shintyakubox dl dt.cat-isanbunkatu {
	background: #ff6d37;
}
.shintyakubox dl dt.cat-sozokuhoki {
	background: #099428;
}
.shintyakubox dl dt.cat-iryubun {
	background: #ffd301;
}
.shintyakubox dl dd {
/*     display: inline-block; */
    font-size: 18px;
    padding: 5px;
}
div#main {
    width: 1000px;
    margin: 10px auto;
    overflow: hidden;
}
div#content {
    width: 700px;
    float: right;
}

div#content p,div#content div{
	line-height: 1.5;
}

div#content .after-content--tel div{
	line-height:1;
	margin-bottom:0;
}

div#content ul {
  padding: 0.3em 0;
  list-style-type: none;
  border: none;
}
div#content ul li {
  position:relative;
  padding: 0 0 0.3em 1em;
  line-height: 1.5;
}
div#content ul li:before{
  content: '';
  position: absolute;
  background-color: #68462B;
  width: 8px;
  height: 8px;
  left: 0px;
  top: 8px;
}

div#content ul ul{
  margin-bottom: 0px;
}

div#content ul ul li:before{
  content: '';
  position: absolute;
  background-color: #009026;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 10px;
  top: 13px;
}

div#content b,
div#content strong{
	font-weight:bold;
}

div#content p b a,
div#content p a b,
div#content p a{
	color:#3399FF;
	text-decoration: underline ;
}

div#content table b{
	color:inherit;
}

div#side {
    float: left;
    width: 260px;
}
ul.sidelist li {
    margin-bottom: 10px;
    position:relative;
}

.sideList__tel{
    position: absolute;
    /* top: 45%; */
	top: 48%;
    left: 0;
    display: block;
    width: 100%;
    text-align: center;
    color:#ff8000;
    text-decoration:none;
    font-weight:bold;
    font-size:22px;
}

.sideList__contact{
    position: absolute;
    bottom:0;
    left: 0;
    display: block;
    width: 100%;
    height:40px;
    text-indent:100%;
    white-space:nowrap;
    overflow:hidden;
}


ul.sidelist {
    margin-bottom: 10px;
}
div#side h3 {
    background: #007B51;
    text-align: center;
    padding: 15px 5px;
    margin-bottom: 0px;
	margin-top: 1em;
	color: #fff;
}

div#side h3::before {
    display: none !important;
}

#menu-slidemenu{
	background: #EEFAE9;
}

p.sidep {
    margin-bottom: 10px;
	margin-top: 20px;
}
.breadcrumbs {
	font-size: 12px;
	line-height:1.5;
}

.breadcrumbs a{
	text-decoration:underline;
}

#menu-sidemenu,
#menu-sidemenu-igon,
#menu-sidemenu-division,
#menu-sidemenu-iryubun,
#menu-sidemenu-houki,
#menu-sidemenu-base,
#menu-sidemenu-region {
	background: #F8FFF5;
	padding: 0px 10px;
}


div#side ul#menu-sidemenu li a,
div#side ul#menu-sidemenu-igon li a,
div#side ul#menu-sidemenu-division li a,
div#side ul#menu-sidemenu-iryubun li a,
div#side ul#menu-sidemenu-houki li a,
div#side ul#menu-sidemenu-base li a,
div#side ul#menu-sidemenu-region li a {
		display: inline-block;
    color: #007B51;
    text-decoration: none;
    font-size: 14px;
    background-image: url(https://ryukyu-law-souzoku.org/wp-content/uploads/2024/06/Frame-55.png);
    background-repeat: no-repeat;
    background-size: 8px 10px;
    background-position: 0;
    padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 9px;
	line-height: 1.4;
}

div#side li {
    border-bottom: solid 1px #84B8A6;
}
@media all and (-ms-high-contrast: none){
ul.reslist dl dt {
    text-align: center;
    background: #099428;
    width: 10%;
    padding: 5px 18px;
    font-size: 30px;
    font-weight: bold;
    border-radius: 50px;
    margin-bottom: 20px;
    margin: 0 auto 20px;
    color: #fff;
}
	}




/* SPメニュー */
.drawer-menu{
    height:100%;
}

.drawer-menu ul#menu-gnavi-sp li{
    padding:1rem;
}

.drawer-menu ul#menu-gnavi-sp li{
    border-bottom:1px solid #FFFFFF;
}

.drawer-menu ul#menu-gnavi-sp li > a{
    display: block;
    color:#FFFFFF !important;
    text-decoration:none !important;
}

/* サイトマップ　*/

#sitemap_list li{
    background:none !important;
}

/* ページネーション */

.pods-pagination-simple{
    display:block;
    width:100%;
}

.pods-pagination-prev{
    float:left;
}

.pods-pagination-next{
    float:right;
}

.pods-pagination-simple:after{
    content:"";
    display: block;
    width:100%;
    clear:both;
}


/* 弁護士コラム一覧 */

.column-archive{
    border-bottom: dotted 1px #000;
    margin-bottom:30px;
    clear:both;
    padding-bottom:10px;
}

h3.column-archive__title{
    background:transparent;
    padding:0px;
    margin:5px 0 0 0;
}

h3.column-archive__title > time{
    font-size:0.8em;
    font-weight:bold;
}

.post-tag{
	display: inline-block;
  background: #ddd;
  padding: 3px 10px;
  color: #fff;
  text-align: center;
	margin-bottom:5px;
	margin-right:5px;
	font-size:12px;
	border-radius: 2px;
}

.post-tag a:hover{
	opacity:0.5;
}

.post-tag--case{
	background:#138E33;
}

.post-tag--case a{
	color: #fff3b8;
}

.post-tag--column{
	background:#f9d12b;
}

.post-tag--column a{
	color: #138E33;
}


.related-post-list{
	margin-top:30px;
}

.related-post-list li{
	line-height:1.2;
	margin-bottom:15px;
	list-style: none !important;
}

.related-post-list li {
    font-weight:bold;
}

h2.archive-title{
	color: #fff !important;
	font-size: 16px !important;
	background: #ffffff;
	margin: 0.5em 0 2.5em !important;
}

h2.archive-title::before{
	border-top: solid 0px !important;
}

/* 記事画像 */
img.alignleft{float: left;margin: 0 20px 20px 0;}
img.alignright{float: right;margin: 0 0 20px 20px;}
img.aligncenter{display: block;margin: 0 auto 20px;}
img.alignnone{margin:0 0 20px 0;max-width: 100%;}
img.alignleft,img.alignright,img.aligncenter,
img.alignnone{max-width: 100%;height:auto;}


/* google map */
.gomap{width: 100%;height: 340px;margin-bottom: 20px;position: relative;}
.gomap iframe{top: 0;left: 0;width: 100%;height: 100%;position: absolute;}



/* サイドメニュー */
#menu-sidemenu .sub-menu{
	display: none;
	padding-left:1rem;
    padding-right:1rem;
	margin-top:10px;
    background-color:lightgoldenrodyellow;
    margin-left:10px;
}



#menu-sidemenu .sub-menu > li{
	margin-bottom:5px;
    border-bottom:2px dashed #F9D12B;
    padding:7px 0;
    line-height:1.2;
}



#menu-sidemenu .sub-menu > li a{
    background-image:none !important;
    padding-left:1rem !important;
}


/* グローバルメニュー */

.menufixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}

/* ページネーション */

.wp-pagenavi:after{
	content:"";
	width:100%;
	display:block;
	clear:both;
}

.wp-pagenavi .nextpostslink{
	float:right;
}

.wp-pagenavi .previouspostslink{
	float:left;
}



/* コンテンツ下 */


 /* ご相談は弁護士法人琉球事務所まで */

 .after-content,.after-content *{
     box-sizing:border-box;
 }

.after-content{
    /*background-color:#ffffd9;*/
    padding-bottom:10px;
    /*margin-top:30px;*/
}

.after-content--menu .after-content__title{
    width:80%;
    height:auto;
    display:block;
    margin:0 auto 30px;
}



.after-content--reason p.rsmidashi {
    font-size:30px;
}




/* 選ばれる５つの理由 */

.after-content--reason ul{
    width:auto !important;
}

.after-content--reason li{
    list-style:none !important;
    margin-left:0 !important;
}

.after-content--reason ul.reslist dl dd {
    font-size: 12px;
}

section#reason .after-content--reason ul.reslist dl dd {
    font-size: inherit;
}

.after-content--reason ul.reslist dl dt {
    font-size: 16px;
    padding:0;
    text-align:center;
    width:40px;
    height:40px;
    line-height:40px;
}


/*  電話バナー  */

.after-content--tel{
    background-color:transparent;
    position:relative;
	clear:both;
}

.after-content__flow{
    display: block;
    position:absolute;
    right:0;
    bottom: 6%;
    height: 29%;
    width: 30%;
    text-indent:100%;
    overflow: hidden;
    white-space:nowrap;
}



.after-content__tel{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    padding-top:5px;
}

.after-content__tel__number{
    font-size:70px;
    font-weight:bold;
    color:#ff6d37;
}

.after-content__tel__open{
    font-size:15px;
}


.bnarea .after-content__tel__number{
    font-size:98px;
}

.after-content__tel__open{
    font-weight:bold;
}



/* スライドショー */

.carousel-indicators{
    bottom:-50px !important;
}

.carousel-indicators li{
    background-color:#099428 !important;
    opacity:0.3 !important;
    height: 30px !important;
    width: 30px !important;
    margin-right: 15px !important;
    margin-left: 15px !important;
}

.carousel-indicators li.active{
    opacity:1 !important;
}



/* フローティングバナー */

.floatingbanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: #FFF;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
    padding: 3px;
    box-sizing: border-box;
    font-size: 5.5vw;
    z-index: 999;
}
.floatingbanner *{box-sizing:border-box;}
.floatingbanner__text{text-align:center;font-size:2vw;margin-bottom:10px;}
.floatingbanner__btn{padding:2px !important;}
.floatingbanner__btn a{background-color:white;border:2.5px solid #fa9501;text-align:center;color:#5b310f;font-weight:bold;display:block;padding:0.4em 0;}
.floatingbanner__btn--01 a{}
.floatingbanner__btn--02 a{}
.floatingbanner__btn--03 a{}
.floatingbanner__btn--04 a{}
.floatingbanner__btn--04 a i{font-size:1.6rem;}


/* フリーエリア */

section#free {
    width: 1000px;
    margin: 0 auto;
}




.bl_trouble_heading {
	width: 100%;
	background: #007b51;
	padding: 15px 0;
	color: #fff;
	font-size: 3.25rem;
	font-weight: bold;
	text-align: center;
}

#bl_trouble {
	background: #E5F0ED;
	padding: 40px 0;
	margin-bottom: 0 !important;
}

#bl_trouble .wrap {
	margin: 0 auto;
	width: 1000px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

#bl_trouble dl {
	width: 460px;
	padding: 15px;
	margin: 0 0 20px;
	border-radius: 10px;
}

#bl_trouble dl dt {
	padding: 0 0 15px;
	color: #fff;
	font-size: 2.5rem;
	font-weight: bold;
	text-align: center;
}

#bl_trouble dl dd {
	position: relative;
	background: #fff;
	color: #030303;
	font-size: 1.6rem;
	font-weight: bold;
	line-height: 1.3;
	display: -webkit-flex;
	display: flex;
}

#bl_trouble .trouble_bg1 {
	background: #174e9e;
}

#bl_trouble .trouble_bg2 {
	background: #68b8dd;
}

#bl_trouble .trouble_bg3 {
	background: #d16b16;
}

#bl_trouble .trouble_bg4 {
	background: #88b83e;
}

#bl_trouble .trouble_bg5 {
	background: #d2b200;
}

#bl_trouble .trouble_bg6 {
	background: #009fe6;
}

#bl_trouble .trouble_bg7 {
	background: #c60019;
}

#bl_trouble .trouble_bg8 {
	background: #019c96;
}

#bl_trouble .trouble_btn {
	position: absolute;
	bottom: 10px;
	right: 10px;
	width: 271px;
}

#bl_trouble a:hover {
	opacity: 0.8;
}

#bl_trouble .trouble_txt1 {
	padding: 10px 10px 60px;
	width: 260px;
}

#bl_trouble .trouble_price {
	margin-top: 15px;
	text-align: center;
}

#bl_trouble .trouble_price b {
	color: #d30e0e;
	font-size: 4.5rem;
	font-weight: bold;
}

#bl_trouble .trouble_price small {
	color: #101010;
	font-size: 2rem;
}

#bl_trouble .trouble_img {
	width: 120px;
}

#bl_trouble .trouble_txt2 {
	padding: 10px 0;
	width: 340px ;
}

#bl_trouble .sp, .bl_trouble_heading .sp {
	display: none;
}

#bl_contact {
	padding: 30px 0;
	width: 100%;
	background: #ffd302;
}

#bl_contact .wrap {
	margin: 0 auto;
	width: 1000px;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

#bl_contact .contact_tel {
	position: relative;
	width: 480px;
	height: 170px;
	background: #fff;
	border-radius: 10px;
}

#bl_contact .bl_contact_tel {
	width: 480px;
	color: #101010;
}

#bl_contact .contact_tel .contact_tel_txt {
	position: absolute;
	left: 90px;
	/* top: 47px; */
	top: 52px;
	font-size: 6rem;
	font-family: 'Roboto Condensed', 'arial', sans-serif;
}

#bl_contact .contact_tel .contact_time_txt {
	position: absolute;
	left: 135px;
	/* bottom: 10px; */
	bottom: 26px;
	font-size: 1.7rem;
	line-height: 1.3;
}

#bl_contact .bl_contact_btn {
	padding: 20px;
	width: 190px;
	height: 130px;
	background: #fff;
	color: #101010;
	font-size: 1.8rem;
	font-weight: bold;
	line-height: 1.3;
	text-decoration: none;
	text-align: center;
	border-radius: 10px;
}

#bl_contact .bl_contact_btn:hover {
	opacity: 0.8;
}

#bl_contact .ic_contact {
	display: block;
	margin: 15px auto 0;
	width: 62px;
}

section#reason .sp {
	display: none;
}

section#reason small {
	font-size: 1.125rem;
}

.after-content--reason ul.reslist dl dd small {
	font-size: 0.75rem;	
}

/* 2023.06.21 TOP弁護士費用エリア追加 */
section.Top__Price { margin: 0; padding: 0 0 20px; }
.TopPrice { margin: 0 auto; padding: 0; width: 640px; border: 5px solid #e8eaee; }
#top h2.TopPrice__Title { margin: 0; padding: 15px 0; width: 100%; color: #fff; font-size: 3.8rem; letter-spacing: 0.05em; text-align: center; background: #099428; background-image: none; text-shadow: none; }
.TopPrice dl { margin: 0 auto; padding: 20px 0; width: 60%; display: flex; flex-direction: column; align-items: flex-start; font-family: serif; font-weight: bold; }
.TopPrice dl dd { margin: 0 0 0 -25px; padding: 0 0 10px; font-size: 1.6rem; }
.TopPrice dl dt { display: flex; align-items: center; font-size: 8.0rem; border-bottom: 14px solid #FF7E00; }
.TopPrice dl dt em { font-style: normal; font-size: 3.4rem; }
.TopPrice dl dt strong { color: #ff7e00; }
.TopPrice dl dt strong span { font-size: 8.6rem; display: inline-block; vertical-align: top; }
.TopPrice dl dt strong small { font-size: 4.0rem; }
.TopPrice ul { display: flex; justify-content: center; flex-wrap: wrap; margin: 10px auto; width: 80%; font-weight: bold; }
.TopPrice ul li { width: 30%; margin: 0 1% 20px; font-size: 2.4rem; text-align: center; }
.TopPrice__Button { margin: 0 auto; padding: 0 0 20px; width: 90%; display: flex; justify-content: center; align-items: center; }
.TopPrice__Button img { width: 100%; }
.TopPrice__Button a { display: block; margin: 0 2%; }
.TopPrice__Button a:hover { opacity: 0.7; }

/* 2023.06.28 弁護士費用ページ修正 */
.table { display: table; width: 100%; border-collapse: collapse; }
.table .tr { display: table-row; }
.table .th,
.table .td { display: table-cell; vertical-align: middle; border: 1px solid #fff; padding: 15px 20px; font-size: 1.5rem; }
.table .th { color: #fff; font-weight: 700; background: #138E33; }
.table .td { background: #f0f0f0; }
.table .td small { font-size: 1.5rem; font-weight: normal; }
.table .td.half { width: 20%; }
.table .tr-feebg_A .td { background-color: #e6eae1; font-weight: 600; }
.table .tr-feebg_B .td { background-color: #ececec; font-weight: 600; }
.--AlignCenter { text-align: center; }

/* 2023.08.25 CTAボタン */
#ctasection{
	margin-bottom: 0px !important;
}

.ctaarea{
	width: 600px;
	margin: 0 auto;
	text-align: center;
}

.ctabtn{
	width: 90%;
	margin-bottom: 15px;
}
.ctabtn2{
	width: 90%;
	margin-bottom: 5px;
}

/*WS追記分 230829*/
.form_sodan-yoyaku input,
.form_sodan-yoyaku button,
.form_sodan-yoyaku select,
.form_sodan-yoyaku textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
  width: 100%;
  box-sizing: border-box;
	padding: 5px 10px;
}
.form_sodan-yoyaku textarea {
  resize: vertical;
	border: solid 1px #bfbfbf
}
.form_sodan-yoyaku input[type='checkbox'],
.form_sodan-yoyaku input[type='radio'] {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.form_sodan-yoyaku input[type='submit'],
.form_sodan-yoyaku input[type='button'],
.form_sodan-yoyaku label,
.form_sodan-yoyaku button,
.form_sodan-yoyaku select {
  cursor: pointer;
}
.form_sodan-yoyaku select::-ms-expand {
  display: none;
}

.form_sodan-yoyaku_ttl{
    font-size: 22px;
    text-align: center;
    color: #0f7470;
    font-weight: bold;
    padding: 40px 0;
}
@media screen and (min-width: 768px){
    .form_sodan-yoyaku_ttl{
        font-size: 36px;
    }  
}
.form_sodan-yoyaku_ttl span{
    font-size: 18px;
}
.form_sodan-yoyaku dl{
background: #fff;
border-left: solid 1px #bfbfbf;
border-right: solid 1px #bfbfbf;
}
.form_sodan-yoyaku dl:last-of-type{
    border-bottom: solid 1px #bfbfbf;
}
@media screen and (min-width: 768px){
    .form_sodan-yoyaku dl{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    }
    .form_sodan-yoyaku dd{
        border-left: solid 1px #bfbfbf;
    }
}
.form_sodan-yoyaku dt, .form_sodan-yoyaku dd{
border-top: solid 1px #bfbfbf;
padding: 1em;
}
@media screen and (max-width: 767px){
    .form_sodan-yoyaku dd{
        border-top:none;
    }
}
.form_sodan-yoyaku dd input{
    border-radius: 2px;
    border: solid 1px #bfbfbf;
    padding: 4px 10px;
}
.form_sodan-yoyaku dt{
flex-basis: 45%; position: relative; padding: 8px 12px;    background: #eaeaea;
}
.form_sodan-yoyaku dd{
flex-basis: 55%
}
.form_sodan-yoyaku small{font-size: 13px;}
.form_sodan-yoyaku dt .optional,.form_sodan-yoyaku dt .required{color:#fff;font-size: 12px;border-radius: 2px;padding:0 4px;position: absolute;right: 12px;margin-bottom: 10px;}
.form_sodan-yoyaku dt .optional{background:#4ea621;}
.form_sodan-yoyaku dt .required{background:#d24b4b;}

/* チェックボックスデザイン */
.form_sodan-yoyaku input[type="checkbox"]+span {
    cursor: pointer;
    padding-left: 30px;
    vertical-align: middle;
    position: relative;
    display: block;
    line-height: 1.3;
    padding-left: 30px;
    margin-bottom: 14px;
  }
  .form_sodan-yoyaku input[type="checkbox"]+span::before,
  .form_sodan-yoyaku input[type="checkbox"]+span::after {
    content: "";
    display: block; 
    position: absolute;
  }
  .form_sodan-yoyaku input[type="checkbox"]+span::before {
    background-color: #fff;
    border-radius: 0%;
    border: 1px solid #666464;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    top: 50%;
    left: 5px;
  }
  .form_sodan-yoyaku input[type="checkbox"]+span::after {
    border-bottom: 3px solid #0f7470;
    border-left: 3px solid #0f7470;
    opacity: 0;
    height: 6px;
    width: 10px;
    transform: rotate(-45deg);
    top: 50%;
    left: 9px;
    margin-top: -7px;
  }
  .form_sodan-yoyaku input[type="checkbox"]:checked+span::after {
    opacity: 1;
  }
  .form_sodan-yoyaku .submit_btn{
    background: #3d8c16;
    color: #fff;
    padding: 10px 0;
    font-size: 24px;
    width: 340px;
    margin: 20px auto 40px;
    display: block;
  }
  .mw_wp_form .error{
    background: #fdefef;
    text-align: center;
    font-size: 13px;
  }
/*ここまでWS追記分 230829*/

/* 2023.10.6 LP内の見出し背景色グレーと赤（田端） */
.sentence-header{
	color: #ffffff;
	background-color: #7e7e7e;
	height: 54px;
	border-radius: 5px;
	padding-left: 20px;
	line-height: 54px !important;
	font-size: 20px;
	font-weight: bold;
}

.sentence-header-result{
	color: #ffffff;
	background-color: #dd6060;
	height: 54px;
	border-radius: 5px;
	padding-left: 20px;
	line-height: 54px !important;
	font-size: 20px;
	font-weight: bold;
}

.sentence-text{
	line-height: 2.0 !important;
}

/* 2023.10.6 LP内の見出し背景色グレーと赤（田端） */
.sentence-header{
	color: #ffffff;
	background-color: #7e7e7e;
	height: 54px;
	border-radius: 5px;
	padding-left: 20px;
	line-height: 54px !important;
	font-size: 20px;
	font-weight: bold;
}

.sentence-header-result{
	color: #ffffff;
	background-color: #dd6060;
	height: 54px;
	border-radius: 5px;
	padding-left: 20px;
	line-height: 54px !important;
	font-size: 20px;
	font-weight: bold;
}

.sentence-text{
	line-height: 2.0 !important;
}

.qa-header{
	color: #ffffff;
	background-color: #7e7e7e;
	padding: 15px 10px;
	border-radius: 5px;
	padding-left: 20px;
	font-size: 20px;
	font-weight: bold;
}

.qa-header-result{
	color: #ffffff;
	background-color: #dd6060;
	padding: 15px 10px;
	border-radius: 5px;
	padding-left: 20px;
	font-size: 20px;
	font-weight: bold;
}

/* 2024.2.14 yui（田端） */
.yui-background{
	background-image: url("https://ryukyu-law-souzoku.org/wp-content/uploads/2024/02/琉球さん素材-10.jpg");
	background-repeat: repeat;
}

.yui-qa-header-result{
	color: #ffffff;
	background-color: #0084C3;
	padding: 15px 10px;
	border-radius: 5px;
	padding-left: 20px;
	font-size: 20px;
	font-weight: bold;
}

/* 004 */
.button004 a {
    background: #0084C3;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 260px;
    padding: 10px 25px;
    color: #fff;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.button004 a:after {
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.2s ease-in-out;
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transform: translateY(-50%);
	 color: #fff;
}
.button004 a:hover {
    background: #00215d;
}

/* 2024.2.22 東京進出（田端） */
.tokyo-fontfamily{
	font-family: ;
}

.tokyo-graysection{
	background-color: #f5f5f5;
	padding: 30px 10px;
}

.green-underline{
	border-bottom: 3px solid #4AAF00;
	width: 80%;
	margin: auto;
}

.margin-bottom-none{
	margin-bottom: 0px !important;
}

/* 2024.2.22 東京進出費用 */
.unique-container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.unique-header {
    text-align: center;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.unique-section h2 {
    background-color: #ed5766;
    color: #fff;
    padding: 10px;
    text-align: center;
    margin: 0;
    font-size: 18px;
}

.unique-section h2::before {
    display: none !important;
}

.unique-header img {
    width: 50px;
    height: auto;
}

.unique-header h1 {
    font-size: 24px;
    margin: 10px 0;
}

.unique-section {
    margin-bottom: 20px;
}

.unique-fee {
    display: flex;
    justify-content: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
	margin-bottom: 0 !important;
	align-items: center;
}

.unique-fee .unique-label {
    font-weight: bold;
    color: #ed5766;
	margin-bottom: 0 !important;
	width: 35%;
}

@media(max-width:750px){
	.unique-fee .unique-label {
			width: 50%
	}
}

.unique-fee .unique-amount {
    font-size: 18px;
    color: #333;
	margin-bottom: 0 !important;
}

.unique-fee .unique-description {
    flex: 1;
	margin-bottom: 0 !important;
}

.unique-highlight {
    color: #ed5766;
    font-weight: bold;
}

.unique-note {
    font-size: 11px;
    color: #666;
    margin-bottom: 20px;
}

.unique-note p {
    margin: 5px 0;
}

.tokyo-contact-section{
  text-align: center;
  padding: 20px;
}

.tokyo-contact-us{
  color: #8b0000;
  font-size: 18px;
  margin: 0;
}

.tokyo-main-title{
  font-size: 32px;
  margin: 10px 0;
}

.tokyo-btns{
  display: flex;
  justify-content: center;
  gap: 20px;
  magin-top: 20px;
}

.button_solid019 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    filter: drop-shadow(0px 2px 4px #ccc);
    border-radius: 3px;
    border-radius: 50px;
}
.button_solid019 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #FFF;
    border-right: 3px solid #FFF;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 46%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}

.button_solid019 a:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}

.tokyo-btn-phone a{
  background: #007B51;
}

.tokyo-btn-email a{
  background: #F68600;
}

/* スマホ・PCでの表示設定 */
@media(min-width:751px){
	.pc-hide{
		display: none !important;
	}
	.tokyo-linebutton{
	display: block;
	width: 50%;
	text-align: center;
	background-color: #4AAF00;
	border-radius: 5px;
	padding: 5px;
	margin: auto;
	text-decoration: none !important;
	}
}

@media(max-width:750px){
	.sp-hide{
		display: none !important;
	}
	.tokyo-linebutton{
	display: block;
	width: 80%;
	text-align: center;
	background-color: #4AAF00;
	border-radius: 5px;
	padding: 5px;
	margin: auto;
	text-decoration: none !important;
	}
}

/* タイトル消したページのh2 */
.h2 {
   padding: 0.75em 1em;
   font-size: 24px;
   color: #ffffff;
	margin: 2em 0 2em;
   letter-spacing:normal;
	line-height: 1.4;
	background: #4AAF00;
	position: relative;
	z-index: 1;
	font-weight:bold;
	}
.h2::before{
	position: absolute;
	display: block;
	pointer-events: none;
	content: "";
	top: -4px;
	left: 0px;
	width: 100%;
	height: calc(100% + 4px);
	box-sizing: content-box;
	border-top: solid 2px #4AAF00;
	border-bottom: solid 2px #4AAF00;
}

/* 目次 */
#ez-toc-container{
	padding: 24px 24px 0 24px !important;
}
#ez-toc-container li{
	padding-left: 5px !important;
}

@media screen and (max-width: 767px) {
        nav.drawer-nav {
            width: 16.25rem !important;
        }
    }

/* 装飾いろいろ */
/* 見出しをふきだしへ */
#hukidashi {
  position: relative;
  padding: 1.5rem 2rem;
  color: #fff;
  border-radius: 10px;
  background: #ed5766;
}

#hukidashi:after {
  position: absolute;
  bottom: -9px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #ed5766 transparent transparent transparent;
}

/* 見出しをポイントへ */
#point {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 2rem 1.5rem 130px;
  border-top: 3px solid #000;
}

#point:before {
  position: absolute;
  top: -150%;
  left: -100px;
  width: 200px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #000;
}

#point span {
  font-size: 40px;
  font-size: 4rem;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: #fff;
}

/* リストをおしゃれに<ul>にクラスを追加でOK */
.list-design {
  background: #F8FFF5;
  border: 2px dotted #007B51;
  border-radius: 10px;
  list-style-type: disc;
  margin: 20px 0;
  padding: 15px 20px 20px 35px;
}
.list-design li {
  margin-top: 10px;
	color: #007B51;
}

/* 吹き出しグリーン */
#hukidashi-green {
  position: relative;
  padding: 1.5rem 2rem;
  color: #fff;
  border-radius: 10px;
  background: #007B51;
}

#hukidashi-green:after {
  position: absolute;
  bottom: -9px;
  left: 1em;
  width: 0;
  height: 0;
  content: '';
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #007B51 transparent transparent transparent;
}

/*プロフィール枠*/
#author_profile {
  border: 5px solid #007B51;
  width: 98.5%;
  margin: 40px auto;
  overflow: hidden;
}
#author_profile p {
  margin-bottom: 20px;
  line-height: 1.8;
}
/*この記事を書いた人の見出し*/
#author_profile p.label {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: #007B51;
  padding: 7px 15px;
}
/*名前*/
#author_profile p.author_name {
  font-size: 24px;
  font-weight: bold;
  display: inline-block;
  position: relative;
}
/*名前下の下線*/
#author_profile p.author_name::after {
  content: "";
  border-bottom: solid 3px #007B51;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
}
/*左側画像ブロック*/
#author_profile .left {
  width: 20%;
  float: left;
  margin: 10px 0 15px 30px;
}
/*画像サイズ*/
#author_profile .left img {
  width: 100%;
	border-radius: 100px;
}
/*右側テキストブロック*/
#author_profile .right {
  width: 67%;
  float: left;
  font-size: 12px;
  line-height: 1.6;
  padding: 5px 0 0 30px;
}
/*テキスト下部SNSブロック*/
#author_profile .right ul.author_sns {
  margin: 0;
  border-top: 1px dotted #dddddd;
  margin-top: 15px;
  padding-top: 20px;
}
#author_profile .right ul.author_sns li {
  float: left;
  margin-right: 15px;
  list-style: none;
}
#author_profile .right ul.author_sns li:last-child {
  margin-right: 0;
}
/*SNSアイコンを使う場合は別途アイコンCSSの設定が必要*/
#author_profile .right ul.author_sns li i.icon-facebook {
  color: #fff;
  background-color: #194c80;
  margin-right: 8px;
  padding: 6px 8px 0;
  position: relative;
  bottom: -3px;
}
/*SP時の挙動（画面サイズが小さい時）*/
@media (max-width: 480px) {
  #author_profile p.author_name {
    text-align: center;
  }
  #author_profile .left {
    width: 100%;
    float: none;
    margin-left: 0;
    margin-bottom: 0;
    text-align: center;
  }
  #author_profile .left img {
    width: 33%;
  }
  #author_profile .right {
    width: 100%;
    float: none;
    padding: 10px 20px 0;
  }
  #author_profile .right ul.author_sns li {
    margin-bottom: 20px;
  }
}

/*SP時の挙動（画面サイズが小さい時）*/
.ez-toc-list ::before{
	display: none;
}

.reslist ::before{
	display: none;
}

/*service-menu*/
#service-box{
	width: 770px;
	margin: auto;
	padding-bottom: 30px;
	margin-top: 20px !important;
}

.service-item{
	width: 49%;
}

@media screen and (max-width: 767px) {
    #service-box{
	width: 90%;
		margin-top: 0px !important;
}    
	.service-item{
	width: 100%;
		padding: 10px;
}
    }

/*top reason-box 1120田端*/
.reason-box{
	padding: 20px 0;
}

.reason-parent{
	max-width: 1100px;
	margin: auto;
	display: flex;
}

.reason-child-1{
	flex-basis: 50%;
	padding: 0 25px 0 0;
}

.reason-child-2{
	flex-basis: 50%;
	position: relative;
}

@media screen and (max-width: 800px) {
	.reason-child-1{
		padding: 0;
	}
	.reason-box{
		margin-top: 0px !important;
		margin-bottom: 20px !important;
		padding: 0;
	}
	.reason-parent{
		flex-direction: column;
		padding: 25px 15px 0 15px;
	}
}

.service-container {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
	max-width: 1000px;
    margin: auto;
	margin-bottom: 20px;
  }

  .top-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .top-service-item img {
    max-width: 100%;
    height: auto;
  }

  @media (max-width: 600px) {
    .service-container {
      grid-template-columns: repeat(2, 1fr);
    }
  }

/*0422田端*/
.top-hudosan-nayami{
	max-width: 1000px;
	margin: auto;
	margin-bottom: 30px;
}

.top-hudosan-nayami .image-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 5px;
    }

    .top-hudosan-nayami .image-item {
      width: 100%;
      max-width: 460px;
    }

    @media (min-width: 768px) {
      .top-hudosan-nayami .image-item {
        width: calc(50% - 10px);
      }
    }

    .top-hudosan-nayami .image-item img {
      width: 100%;
      height: auto;
      border-radius: 10px;
      display: block;
    }
/*0529田端*/

.top-nav-wrapper {
      max-width: 800px;
      margin: 0 auto;
      padding: 0 0;
    }

    .top-nav-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .top-nav-item {
      width: 48%;
      margin-bottom: 10px;
      text-align: center;
    }

    .top-nav-item img {
      width: 100%;
      height: auto;
      display: block;
    }

    @media screen and (max-width: 599px) {
      .top-nav-container {
        margin: 0px 10px;
      }
    }

/*0610田端*/
.dash-single{
	background-color: #f8f9ff;
border: dashed 1px #4865b2;
	padding: 30px 15px 0px 15px;
    margin-bottom: 30px;
}

.waku-single{
	background-color: #fafafa;
outline: 1px solid #f0f0f0;
border-color: #f0f0f0;
padding: 30px 15px 5px 15px;
	margin-bottom: 30px;
}

/*0703田端*/
.merit-img {
  position: relative;
}

.merit-img::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px; /* 必要に応じてサイズ調整 */
  height: 80px; /* 必要に応じてサイズ調整 */
  background-image: url('https://ryukyu-law-souzoku.org/wp-content/uploads/2025/07/Ellipse-127.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
}

/*0826波音田端*/
/* 親は relative のまま */
.yt-mini {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 360px;
  aspect-ratio: 16/9;
  z-index: 10;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* iframeを枠いっぱいに */
.yt-mini__frame, .yt-mini__frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* シンプルなタイトル */
.yt-mini_child{
	position: relative;
	  line-height: 0 !important;
}
.yt-mini__title {
  position: absolute;
  left: 120px;
	top: 160px;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.7); /* 影で視認性アップ */
  z-index: 10000;  /* ← iframeより強く */
	cursor: pointer;
}


/* 閉じるボタン（JS不要・CSSだけ） */
.yt-mini__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

/* チェックで非表示（CSSハック） */
#yt-mini-close:checked ~ .yt-mini { display: none !important; }

/* モバイル最適化（サイズ調整。不要なら削除OK） */
@media (max-width: 600px) {
  .yt-mini {
    right: 12px;
    bottom: 50px;
    width: 300px; /* 画面幅に合わせて縮小 */
    border-radius: 10px;
  }
	.yt-mini__title {
  left: 105px;
	top: 140px;
		font-size: 14px;
	}
}
/*0826波音田端*/