/*!
Template:rishun
Theme Name: rishun_child
Theme URI: https://rishuntrading.co.jp
Description: Rishun is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: RishunTrading Limited.
Author URI: https://rishuntrading.co.jp
Version: 1.0.0
Requires at least: 1.0
Tested up to: 1.0.0
Requires PHP: 5.6.0
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Rishun WordPress theme, Copyright (C) 2022 RishunTrading Limited.
Rishun WordPress theme is licensed under the GPL.
Update Author:RishunTrading Limited
Update Author URI:https://rishuntrading.co.jp/
Version:1.0.0
*/
@charset "utf-8";
/************************************************************/
:root{
    --font-color:#333;
    --noto-sans-jp:"Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --search-border-color:#999;
    --bk-top-color: #f0f0f0;
    --thin-blue-color:#2199D3;
    --deep-blue-color:#0B57A6;
    --desc-font-color:#777;
    --sp-pgheader-height: 100px;
    --tb-pgheader-height: 150px;
    --pc-pgheader-height: 200px;
    --errmsg-color:#ff0000;
    --gradient-bk-mobile: linear-gradient(30deg, #0B57A6 20%, #68cdff 90%);
    --tbl-bd-color: #68cdff;
    --tbl-th-color: #b6e4fa;
    --tbl-td-color: #fff;
    /* for wp */
    --wp--preset--font-size--small:80%;
    --wp--preset--font-size--medium:100%;
    --wp--preset--font-size--large:150%;
    --wp--preset--font-size--x-large:200%;
    --wp-margin-bottom-10:10px;
    --wp-margin-bottom-20:20px;
    --wp-margin-bottom-40:40px;
    --wp-margin-bottom-60:60px;
}
/*==========================================================*/
/* defalt define											*/
/*==========================================================*/
body, p{
    font-size:16px;
    font-family: var(--noto-sans-jp);
    text-align:justify;
}
ul>li, ol>li{
    font-size:16px;
}
@media(min-width:768px){
    body, p{
        font-size:17px;
    }
    ul>li, ol>li{
        font-size:17px;
    }
}
body a{
    color:#333;
    text-decoration:none;
}
body a:hover{
    color:#333;
}
.nodata{
    color:#ff0000;
}
img{
    width:100%;
    height:auto;
}
figure{
    width:100%;
    padding-top:75%;
    margin:0;
    position:relative;
    overflow:hidden;
}
figure>img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    position:absolute;
    top:0;
    left:0;
}
@media print {
    #mobile-menu {
        display: none !important;
    }
}
/*==========================================================*/
/* common       											*/
/*==========================================================*/
.common-btn{
    margin:40px 0;
}
.common-btn>a{
    display:flex;
    margin-left:auto;
    margin-right:auto;
    width:250px;
    height:50px;
    justify-content:center;
    align-items:center;
    background:var(--search-border-color);
    color:#fff;
    border-radius:25px;
    position:relative;
    transition:all 0.3s;
}
.common-btn>a i, .common-btn>a svg{
    position:absolute;
    right:40px;
    top:50%;
    transform:translateY(-50%);
    transition:all 0.3s;
}
.common-btn>a:hover{
    color:#fff;
    filter:brightness(1.2);
}
.common-btn>a:hover i, .common-btn>a:hover svg{
    right:30px;
}
/*==========================================================*/
/* header       											*/
/*==========================================================*/
.site-header-logo{
    font-family:var(--noto-sans-jp);
    padding:0 50px 0 40px;
}
.site-header-wrap{
    width: 100%;
    position:fixed;
    height: var(--ptnB-sp-header-height);
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1950;
    background: var(--header-bk-color);
}
@media(min-width:768px){
    .site-header-logo a img{
        width:auto;
        height: calc(var(--ptnB-sp-header-height) - 20px);
    }
}
/*==========================================================*/
/* mobile menu                                              */
/*==========================================================*/
.mobile-navi-btn {
    background: transparent;
}
.mobile-navi-btn.right{
    width: 44px;
    height: 44px;
    position:fixed;
    top: 9px;
    right: 10px;    
}
.mobile-navi-btn.right>span{
    position: absolute;
    width: 25px;
    height: 2px;
    background: #625C5A;
    transition: all 0.2s;
    right: 10px;
}
.mobile-navi-btn.right>span:nth-child(1){
    top: 10px;
}
.mobile-navi-btn.right>span:nth-child(2){
    top: 20px;
}
.mobile-navi-btn.right>span:nth-child(3){
    top: 30px;
}
.mobile-navi-btn.mobile-navi-open{
    background:transparent;
}
.mobile-navi-btn.mobile-navi-open>span:nth-child(1){
    transform: translateY(10px) rotate(-135deg);
}
.mobile-navi-btn.mobile-navi-open>span:nth-child(2){
    opacity:0;
}
.mobile-navi-btn.mobile-navi-open>span:nth-child(3){
    transform: translateY(-10px) rotate(135deg);
}
.site-mobile-menu>li{
    border-bottom:none;
}
.site-mobile-menu>li>a{
    transition:all 0.3s;
}
.site-mobile-menu>li>a:hover{
    opacity:0.8;
}
.site-mobile-menu>li>a.logout-proc{
    width:200px;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:var(--search-border-color);
    color:#fff;
    margin-left:auto;
    margin-right:auto;
    margin-top:40px;
    border-radius:25px;
    transition:all 0.3s;
    box-shadow:2px 2px 3px rgba(0,0,0,0.3);
}
.site-mobile-menu>li>a.logout-proc:hover{
    transform:translate3d(2px,2px,2px);
    box-shadow:none;
}
.site-mobile-menu>li>a.logout-proc i, .site-mobile-menu>li>a.logout-proc svg{
    margin-right:5px;
}
.mobile-menu-slide{
    left:0;
    background:var(--gradient-bk-mobile);
    top:-150%;
    transition:top 0.3s ease-in;
}
.mobile-menu-slide.mobile-menu-open{
    top:0;
}
.site-mobile-menu>li{
    padding-bottom:0;
    margin-bottom:0;
}
.site-mobile-menu>li>a{
    display:table;
    margin:0.5em 0;
    padding:0.3em 0.5em;
    font-weight:500;
    transition:all 0.3s;
}
.site-mobile-menu>li>a:hover{
    opacity:0.8;
}
/*==========================================================*/
/* header menu                                              */
/*==========================================================*/
@media(min-width:992px){
    .site-header-menu>li{
        padding:0 10px;
    }
    .site-header-menu>li>a{
        font-weight:500;
    }
    .site-header-menu>li>a.logout-proc i, .site-header-menu>li>a.logout-proc svg{
        margin-right:5px;
    }
}
/*==========================================================*/
/* page header     											*/
/*==========================================================*/
.page-header{
    background:url('./img/pg-default.jpg') center center / cover no-repeat;
}
.page-header-ttl{
    text-shadow:none;
}
/*==========================================================*/
/* top page       											*/
/*==========================================================*/
.search-form-sec{
    padding:40px 0;
}
.search-form-wrap{
    width:100%;
    max-width:540px;
    margin-left:auto;
    margin-right:auto;
}
.h2org{
    text-align:center;
    color:var(--font-color);
    font-weight:400;
    padding-bottom:20px;
    margin-bottom:30px;
    font-size:24px;
    position:relative;
}
.h2org:before{
    content:'';
    width:60px;
    height:3px;
    background:var(--font-color);
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
}
.dl-searchfrm{
    margin:0 0 1em 0;
    display:block;
    width:100%;
}
.dl-searchfrm>dt{
    display:block;
    width:100%;
    margin:0 0 0.5em 0;
    font-weight:400;
    text-align:center;
    color:#333;
}
.dl-searchfrm>dd{
    display:block;
    width:100%;
    margin:0 0 0.5em 0;
}
/* input form */
.dl-searchfrm>dt label{
    font-size:17px;
}
input[type="text"], input[type="password"]{
    width: 100%;
    height: 40px;
    border: solid 2px var(--search-border-color);
    outline: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1em;
    transition:all 0.3s;
    border-radius: 0;
}
input[type="text"]:focus, input[type="password"]:focus{
    border-color:#ffae00;
    outline:solid 1px #ffae00;
}
select{
    width:100%;
    height:40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 1em;
    border: solid 2px var(--search-border-color);
    transition:all 0.3s;
    color:var(--font-color);
    background:#fff;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    border-radius: 0;
}
select:invalid {
    color:var(--font-color);
}
select:focus{
    border-color:#ffae00;
    outline:solid 1px #ffae00;
}
.cl-searchbtn button{
    display:table;
    width:250px;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:0 auto;
    background:var(--search-border-color);
    border:0;
    color:#fff;
    transition:all 0.3s;
    border-radius:25px;
}
.cl-searchbtn button i{
    margin-right:0.5em;
}
.cl-searchbtn button:hover{
    transform:scale(1.2);
    filter:brightness(1.1);
}
.result-data-sec{
    background:var(--bk-top-color);
}
/* list */
.ul-regulationslist{
    padding:0;
    margin:0;
    list-style:none;
}
.ul-regulationslist>li{
    padding:20px;
    background:rgba(255,255,255,0.8);
    margin-bottom:20px;
    border-radius:10px;
}
.ul-regulationslist>li .box{
    width:100%;
}
.cl_tax_type, .cl_yearmonth{
    width:100%;
    display:flex;
    justify-content:flex-end;
}
.ul-category{
    width:auto;
}
.ul-category>li{
    margin-right:0;
    margin-left:0.4em;
}
.ul-category>li>div{
    font-size:80%;
    background:var(--thin-blue-color);
    color:#fff;
    padding:0.2em 0.8em;
    border-radius:5px;
}
.cl_yearmonth .ul-category>li>div{
    background:transparent;
    color:var(--font-color);
    padding:0;
}
.h3org{
    position:relative;
}
.h3org>a{
    color:var(--deep-blue-color);
    font-size:20px;
    font-weight:500;
    transition:all 0.3s;
}
.h3org>a:hover{
    text-decoration:underline;
    color:var(--deep-blue-color);
    opacity:0.8;
}
.ul-regulationslist>li .box .desc p{
    font-size:80%;
    color:var(--desc-font-color);
}
.ul-regulationslist>li .box .desc p.pc{
    display:none;
}
@media(min-width:768px){
    .ul-regulationslist>li .box .desc p.sp{
        display:none;
    }
    .ul-regulationslist>li .box .desc p.pc{
        display:block;
    }
}
/*==========================================================*/
/* single page     											*/
/*==========================================================*/
.entry-header .cl_tax_type{
    justify-content:flex-start;
}
.page-ttl{
    margin-top:10px;
    margin-bottom:40px;
    padding-bottom:10px;
    position:relative;
}
.page-ttl:before{
    content:'';
    width:100%;
    height:2px;
    background:#ddd;
    position:absolute;
    bottom:0;
    left:0;
}
.page-ttl .jp{
    color:var(--font-color);
    font-size:24px;
    font-weight:700;
}
.page-ttl .jp a{
    transition:all 0.3s;
}
.page-ttl .jp a:hover{
    opacity:0.8;
}
@media(min-width:768px){
    .page-ttl .jp{
        font-size:32px;
    }
}
/*==========================================================*/
/* solid style */
/*==========================================================*/
h2.wp-block-heading {
    color:var(--font-color);
    font-weight:500;
    font-size: 24px;
    margin:32px 0 28px 0;
}
h3.wp-block-heading {
    color:var(--font-color);
    font-weight:500;
    font-size: 20px;
    margin:32px 0 28px 0;
}
h4.wp-block-heading {
    color:var(--font-color);
    font-weight:500;
    font-size: 17px;
    margin:32px 0 28px 0;
}
.wp-margin-bottom-10{
    margin-bottom:var(--wp-margin-bottom-10);
}
.wp-margin-bottom-20{
    margin-bottom:var(--wp-margin-bottom-20);
}
.wp-margin-bottom-40{
    margin-bottom:var(--wp-margin-bottom-40);
}
.wp-margin-bottom-60{
    margin-bottom:var(--wp-margin-bottom-60);
}
.wp-block-list{
    padding-left:1.2em;
    margin-top:1em;
    margin-bottom:1em;
}
.wp-block-list>li{
    margin-bottom:10px;
}
.wp-block-list>li br{
    display:block;
    padding-bottom:10px;
}
.wp-block-list>li:last-of-type{
    margin-bottom:0;
}
.text-indent-1{
    text-indent:-1.4em;
    margin-left:1.38em;
}
.wp-block-image figure{
    width:auto;
    padding-top:0;
}
.wp-block-image figure img{
    position:relative;
}
/* table */
.tbl-pto{
	width:100%;
	border-left:solid 1px var(--tbl-bd-color);
	margin:30px 0;
	border-bottom:solid 1px var(--tbl-bd-color);
}
.tbl-pto th, .tbl-pto td{
	border-top:solid 1px var(--tbl-bd-color);
	border-right:1px solid var(--tbl-bd-color);
	padding:0.5em;
	position:relative;
}
.tbl-pto th{
	background: var(--tbl-th-color);
	font-weight:400;
}
.tbl-pto.pc{
	display:none;
}
.tbl-pt3.sp tbody th{
	background:transparent;
	position:relative;
}
.tbl-pto .narrow-sel{
    border-top:0;
}
.tategaki{
	display:flex;
	width:100%;
	writing-mode: vertical-rl;
	text-orientation: upright;
	justify-content:center;
	align-items:center;
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
}
p.note{
    position:relative;
    padding-left:1em;
}
p.note span.num{
    position:absolute;
    top:0;
    left:0;
}
@media(min-width:768px){
    .tbl-pto.pc{
        display:table;
    }
    .entry-body .sp{
        display:none;
    }
    .tbl-pto .narrow-sel{
        padding-top:0;
        padding-bottom:0;
    }
}
@media(min-width:992px){
    .entry-body .tb{
        display:none;
    }
}
/*==========================================================*/
/* login                                                    */
/*==========================================================*/
.site-header.non_login_class{
    display:none;
}
.mobile-navi-btn{
    caret-color: transparent;
}
.mobile-navi-btn.non_login_class{
    display:none;
}
.mobile-menu-slide.non_login_class{
    display:none;
}
.site-footer.non_login_class{
    display:none;
}
.loginpage-sec{
    background:rgba(0,0,0,0.1);
    height:100vh;
}
.loginpage-wrap{
    width:100%;
    height:100%;
    position:relative;
}
.loginpage-wrap form{
    display:table;
    width:350px;
    border:solid 1px #eee;
    background:#fff;
    box-shadow: 0px 0px 30px 0px rgb(0 0 0/15%);
    white-space:nowrap;
    position:absolute;
    top:40%;
    left:50%;
    transform:translate(-50%, -50%);
}
.login-title{
    width:100%;
    height:40px;
    background:var(--deep-blue-color);
    display:flex;
    justify-content:center;
    align-items:center;
}
.login-title>h2{
    font-size:16px;
    font-weight:700;
    color:#fff;
    line-height:1.2;
    padding:0;
    margin:0;
}
.login-dialog{
    padding:20px;
}
.login-dialog .errmsg{
    width:100%;
}
.login-dialog .errmsg>p{
    line-height:1.4;
    font-size:12px;
    color:var(--errmsg-color);
}
.login-field{
    display: flex;
    width: 100%;
    flex-flow: row nowrap;
    margin-top: 8px;
}
.login-field>label{
    width: 90px;
    display: flex;
    margin: 0;
    align-items: center;
    font-weight:500;
    font-size:14px;
}
.login-field>input[type='text'] {
    width: calc(100% - 90px);
    display: inline-block;
    padding-left:0.5em;
}
.login-field>input[type='password'] {
    width: calc(100% - 90px);
    display: inline-block;
    padding-left:0.5em;
}
.submit-btn {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top:20px;
}
.submit-btn>button {
    width: 150px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: var(--deep-blue-color);
    border: none;
    outline: none;
    box-shadow: 2px 2px 3px #999;
    transition: all 0.3s;
    margin-left: 5px;
    font-weight:500;
}
.submit-btn>button:hover{
    transform:translate3d(2px,2px,2px);
    box-shadow:none;
}
@media(min-width:768px){
    .loginpage-wrap form{
        display:table;
        width:450px;
        position:absolute;
        top:25%;
        left:50%;
        transform:translateX(-50%);
    }
    .login-dialog{
        padding:20px;
    }
    .login-title>h2{
        font-size:18px;
    }
    .login-dialog .errmsg>p{
        font-size:16px;
    }
    .login-field>label{
        font-size:16px;
    }
}
/*==========================================================*/
/* sitemap                                                  */
/*==========================================================*/
.sitemap-sec{
    position:relative;
}
.sitemap-wrap{
    width:100%;
}
.sitemap-inner{
    width:100%;
    margin-bottom:40px;
}
.sitemap-inner h2{
    font-size:20px;
    padding:0.4em 0 0.4em 0.6em;
    position:relative;
    border-bottom:1px dotted #aaa;
}
.sitemap-inner h2:before{
    content:'';
    width:4px;
    height:85%;
    background:var(--deep-blue-color);
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
}
.ul-sitemap{
    padding:0;
    margin:0;
    display:block;
    list-style:none;
}
.ul-sitemap>li{
    padding:5px 0 5px 16px;
    position:relative;
}
.ul-sitemap>li:before{
    content:'▶';
    font-size:9px;
    color:#999;
    display:inline-block;
    position:absolute;
    top:9px;
    left:0;
}
.ul-sitemap>li>a{
    display:block;
    line-height:1.3;
    transition:all 0.3s;
}
.ul-sitemap>li>a:hover{
    opacity:0.8;
    text-decoration:underline;
}
@media(min-width:992px){
    .sitemap-wrap{
        display:flex;
        flex-flow:row wrap;
    }
    .sitemap-inner{
        display:inline-block;
        width:50%;
        padding:0 10px;
    }
}