/* Q&A modal window*/
.qa_titlebox {
    margin: 0 auto;
    background: url(/wp-content/themes/twentytwenty-child/img/qa-bg.png) no-repeat fixed center top;
	background-size: contain;
	background-color: rgba(255,255,255,0.75);
	background-blend-mode: lighten;
    text-align: center;
}
.lock {
    overflow:hidden;
}
.modal-content {
    position:relative;
    display:none;
    width:85%;
	max-width: 1000px;
	margin:0 auto;
    padding:10px 20px;
    border:2px solid #aaa;
    background:#fff;
	 background: url(/wp-content/themes/twentytwenty-child/img/qa/answer_bg.jpg) repeat;
	top:70px;
}
.modal-content p {
    margin:0;
    padding:0;
}
.modal-overlay {
    z-index:1;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:120%;
    background-color:rgba(0,0,0,0.75);
}
.modal-wrap {
    z-index:54;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    overflow:auto;
	background-color: rgb(0 0 0 / 75%);
}
.modal-open {}
.modal-open:hover {
    cursor:pointer;}
.modal-close {text-align: center; display: block; font-size: small; font-weight: 600;
    margin: 1.5em auto; padding: 2px 0; color: aliceblue; background: #0c61ad; border-radius: 4px;}
.modal-close:hover {
    cursor:pointer;
}
.entry-content .menu-back a:hover, 
.entry-content a.modal-open:hover{text-decoration: underline;}
/*modal修正*/
.modal-open img {opacity: 0.6;}
.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
	z-index:55;
}
.modal__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content{
	 background: url(/wp-content/themes/twentytwenty-child/img/qa/answer_bg.jpg) repeat;
    left: 50%;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 60%;
	text-align:center;
}
.modal__content　ul{
	margin:0;
}
p a.js-modal-close{
	margin: 0 auto;
}
.js-modal-open:hover {
    cursor:pointer;}
.js-modal-close:hover {
    cursor:pointer;}
/*modal追加*/
.modal-content .a_title, .modal__content .a_title{
	font-size:22px;
	font-family: 'M PLUS 1p', sans-serif;
}
.modal-content .a_txt, .modal__content .a_txt{
	font-size:18px;
	font-family: 'M PLUS 1p', sans-serif;
	text-align: left;
    margin: 10px 0;
}
.modal-content .a_txt_s, .modal__content .a_txt_s{
	font-size:14px;
	font-family: 'M PLUS 1p', sans-serif;
	text-align: left;
    margin: 10px 0;
}
.modal_a{ /* display: flex; */    /* flex-flow: row wrap; */
    list-style: none;
}
.a_img{
	 margin: 50px auto;
}
.menu-back a {font-size:1.4rem; position:relative;}
.menu-back a::before {
    font-family: "FontAwesome";
    content: " \f077";
    position: absolute;
    top: 0;
    left: -18px;
}
@media (max-width: 699px){
	.qa_titlebox { background:none;}
}

/* 仕事服の沿革 */
@media (min-width: 700px){
	body.template-full-width.page-id-413 .entry-content{ /*template-full-widthの幅1200を1000に変更する*/
		max-width: 1000px;
    width: calc(100% - 1em);
    margin: auto;
    border-radius: 4px;
	}
}
.post-413 .entry-content {position:relative;}
body.template-full-width .entry-content > .enkindex.alignleft{
	 position: fixed;
    left: -90px;
}
.enkindex {
	width: 180px;
    z-index: 10;
    color: #944; text-align: left;
    margin: -80px 5px 0; font-size: 93%;
background-color: #fff;
    border-radius: 3px;}
@media (max-width: 699px){
	body.template-full-width .entry-content > .enkindex.alignleft {
	 bottom: 4px;
    left: -10px;
    background: #ffffffcc;
	}
	body.page-id-406 .entry-content, 
	body.template-full-width.page-id-413 .entry-content{ /*template-full-widthの幅1200を1000に変更する sp*/
		width: calc(100% - 3em);
		margin: auto;
	}
}
/*IndexBox全体*/
.hidden_box {
    padding: 0;}
input[type="checkbox"] + label.enklabel,
.cp_actab input[type="checkbox"] + label {
	display: block;}
.hidden_box label.enklabel {
    border-radius: 5px;
    cursor :pointer;
    transition: .5s;}
.hidden_box label:before {
    display: inline-block;
    content: '\f078';
    font-family: 'FontAwesome';
    padding-right: 5px;
    transition: 0.2s;}
.hidden_box label:hover {}
/*アイコンを切り替え*/
.hidden_box input:checked ~ label:before {
     content: '\f00d';
     -webkit-transform: rotate(360deg);
     transform: rotate(360deg);}
.hidden_box input {
    display: none;}
/*中身を非表示にしておく*/
.hidden_box .hidden_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;}
/*クリックで中身表示*/
.hidden_box input:checked ~ .hidden_show {
    padding: 0 0 10px;
    height: auto;
    opacity: 1;}
.enkindex ul{list-style: none; margin: 0;}
.enkindex ul li{margin: 0 0 0 2rem; line-height: 1.3;}
.enkindex ul li a{font-size: 1.2rem;}
.enkindex ul li a:hover{color: #c44; font-weight:500;}
.enk_titlebox{
	 margin: 0 auto;
    background: url(images/enk_top_bg.png) no-repeat fixed center top; 
    text-align: center;
}
.enk_titlebox.ptitle {
    background: url(images/enk_top_bg.png) no-repeat center top;
	/*background-size: cover; */
}
.enk_titlebox .titletxt, .qa_titlebox_c .titletxt{
	padding: 90px 0 0;
    font-size: 22px;
    font-weight: 600;
    font-family: sans-serif;
    line-height: 180%;
    letter-spacing: 0.8px;
	 color: #222;
}
.enk_titlebox .titletxt img{
	margin: 90px 0 110px;
}
.enk_titlebox .titletxt .phead{
	margin: 60px 0 0;
}
.enk_titlebox .titletxt-sp{
	padding: 50px 30px 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 180%;
    letter-spacing: 0.8px;
	 color: #222;
}
.enk_titlebox .ttxt {
    margin: 0px 18% 90px;
    font-size: 17px;
    font-weight: 400; /*400;*/
    line-height: 200%;
    letter-spacing: 1.2px;
    text-align: left; color: #000; /*#222; */
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}
.enk_titlebox .ttxt.ttitle{
    font-size: 19px;
    font-weight: 600;
    margin: 50px 18% 0;	}
.enk_titlebox .ttxt.ttitle.ttop{margin:0px 18% 0;	}
.enk_titlebox .ttxt.ttitle.tcap{margin:0px 18% 0;	}
.enk_img img {
    margin: 0px 0 50px;
}
.enkbox {
    margin: 0 auto;
    height: auto;
    /*background: url(images/arrow_bg.png) repeat-y center top;*/
    text-align: center;
}
.enk_titlebox .ttxt ul{
	 display: flex;
	/*flex-wrap: wrap;*/
    list-style: none;
	font-size: 14px;
	line-height: 150%;
	margin: 0 5px;
}
.enk_titlebox .ttxt ul li{
	padding:0 10px;
}
.enk_titlebox .ttxt.endtxt{
	text-align:right;
	font-size: 14px;
}
.buybox {
    height: auto;
    /*background: url(images/enk_buy_bg.png) no-repeat center top; */
}
.enk_titlebox .ttxt.ttitle.buytitle{
	padding-top: 10px;
    text-align: center;
}
.enk_titlebox .ttxt.ttitle.nenkantitle{
	font-size: 20px;
    text-align: center;
	padding: 0 0 30px;
}

.buybtn{
    padding: 0.5em 1em;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background: #214656;
    border-radius: 10px;
    border: double 5px #fff;
    width: 300px;
}
.buybtn a{
	color:#fff;
}
.buybtn a:hover{
    color: #fff;
}
.buybtn label {
line-height: 2;
position: relative;
display: block;
/*padding: 0 0 0 1em;*/
cursor: pointer;
/*background: #ffffff;*/
text-align:center;
font-size: 20px;
}
.buybtn label:before{
    color: #fff;
    font-family: "FontAwesome";
    content: " \f054";
    position: absolute;
    top: 0;
    left: 20px;
    width: 2em;
    height: 3em;
}
.enkbox .endbox{
	padding: 0 0 50px;
}
.post-413 .wp-block-image figcaption {color:#fff;}


  /* accordion=== */
.cp_actab {
position: relative;
overflow: hidden;
width: 100%;
margin: 14px auto 0;
color: #222;
}
.cp_actab.last {
	padding: 0 0 50px;
}
.cp_actab input {
position: absolute;
z-index: -1;
opacity: 0;
}
.cp_actab .qcnumber{text-align: center;  padding: 0 10px;}
.cp_actab label {
line-height: 2;
position: relative;
display: block;
padding: 0 0 1.5rem;
cursor: pointer;
margin: 0;
/*background: #ffffff;*/
border-bottom: solid 1px #333333;
text-align: left;
font-size: 20px;
	font-family: 'M PLUS 1p', sans-serif;
}
@media (max-width: 699px){
	.cp_actab label {font-size: 1.6rem; font-weight: bold;}
}
.cp_actab .cp_actab-content {
overflow: hidden;
max-height: 0;
-webkit-transition: max-height 0.5s;
transition: max-height 0.5s;
color: #333333;
background: #ffffff90;
}
.cp_actab .cp_actab-content p {
margin: 1em;
font-size: 18px;
	font-family: 'M PLUS 1p', sans-serif;
text-align: left;
}
.cp_actab .cp_actab-content a {
	display: block;
    border-bottom: 1px dotted;
    margin: 0 0 1.4rem;
    padding: 0 0 1rem 1.5em;
    position: relative;
}
.cp_actab .cp_actab-content a::before {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    background-image: url(/wp-content/themes/twentytwenty-child/img/icon_Q.svg);
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
}
.cp_actab .cp_actab-content a:hover {color:#2d4e5d;}
.cp_actab p{
margin-bottom:0px;
}
/* :checked */
.cp_actab input:checked ~ .cp_actab-content {
max-height: 30em;
}
/*チェックのアイコン（+）*/
.cp_actab label:after{
color: #444444;
font-family:"FontAwesome";
content:" \f078";
position: absolute;
top: 0;
right: 0;
width: 2em;
height: 3em;
}
/*チェックのアイコン（x）*/
.cp_actab input:checked ~ label::after {
color: #444444;
font-family:"FontAwesome";
content:" \f077";
}
.ttxt {
     margin: 5rem auto 8rem;
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.8px;
    color: #222;
    font-family: 'M PLUS 1p', sans-serif;
}


/* ありがとう物語 */
.ari_titlebox {
    margin: 0 auto;
    background: url(/wp-content/themes/twentytwenty-child/img/topimg4.png) no-repeat fixed center top;
	background-size: contain;
	background-color: rgba(255,255,255,0.75);
	background-blend-mode: lighten;
    text-align: center;
}
.ari_titlebox .titletxt, .qa_titlebox_c .titletxt{
	padding: 90px 0 0;
    font-size: 22px;
    font-weight: 600;
    font-family: sans-serif;
    line-height: 180%;
    letter-spacing: 0.8px;
	 color: #222;
}
.ari_titlebox .titletxt, .qa_titlebox_c .titletxt{
	padding: 90px 0 0;
    font-size: 22px;
    font-weight: 600;
    font-family: sans-serif;
    line-height: 180%;
    letter-spacing: 0.8px;
	 color: #222;
}
.ari_titlebox .titletxt img{
	margin: 90px 0 110px;
}
.aribox .ttxt, .entry-content .wp-block-columns .aribox h2, 
.entry-content .wp-block-columns .aribox h3{
    margin: 0 18%;
    line-height: 200%;  letter-spacing: 1.2px;
    text-align: left; color: #111;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}
@media (max-width: 699px){
	.modal_s.modal_a p.a_txt, .modal_s.modal_a .aribox .ttxt, .entry-content .wp-block-columns .modal_s.modal_a .aribox h2, 
	.entry-content .wp-block-columns .modal_s.modal_a .aribox h3{margin: 0 4%;}
	.aribox .ttxt, .entry-content .wp-block-columns .aribox h2, 
	.entry-content .wp-block-columns .aribox h3{margin: 0 10%;}
	.page-ttl-img {margin: 0 auto; width:80%;}
}
.aribox .ttxt {font-size: 16px;}
.aribox .ttxt.ttitle{ font-size: 18px;   font-weight: 600;}
.entry-content .wp-block-columns .aribox h2 { font-size: 22px; } 
.entry-content .wp-block-columns .aribox h3 { font-size: 24px; }
.ari_img img {
    margin: 10px 0;
}
.aribox, .arinav {
    margin: 0 auto;
    height: auto;
    text-align: center;
}
.arinav a span {display:block;}
.arinav a{display: inline-block;
    color: #944;
    background: #fff;
    border-radius: 3px;
    max-width: 100px;
    padding: 0.5rem 1rem 0.8rem;
    filter: drop-shadow(2px 2px 5px #666);}
.arinav a:hover{color: #fff;
    background: #944;
    filter: drop-shadow(4px 4px 6px #fff);} 
.arinav .ttxt.ariindex ul{
	 font-size: 1.4rem;
    line-height: 150%;
    margin: 0 auto;
    max-width: 900px;
}
.arinav .ttxt ul li{
	padding:5px 10px; 
}
.ari_titlebox .ttxt.endtxt{
	text-align:right;
	font-size: 14px;
}
.ari_titlebox .ttxt.ttitle.buytitle{
	padding-top: 10px;
    text-align: center;
}
.ari_titlebox .ttxt.ttitle.nenkantitle{
	font-size: 20px;
    text-align: center;
	padding: 0 0 30px;
}
.aribox .ttxt.endbox{
	padding: 0 0 50px;
}

/* 基礎知識 */

.kiso{
	 margin: 0 auto;
    background: url(images/kiso_top_bg.png) no-repeat fixed center top;
    text-align: center;
	padding-bottom: 50px;
}
.kiso .titletxt img{
	margin: 140px 0 110px;
}
.kiso_titlebox .ttitle p{
	font-size: 16px; font-weight: 500; 
	line-height: 150%;
	margin: 0 5px;
	position:relative;
	bottom:45px;
}
.kisobox .ttxt p{
	font-size:16px; font-weight: 500; 
}
.kisobox .ttxt ul{
	 display: flex;
	/*flex-wrap: wrap;*/
    list-style: none;
	font-size: 14px;
	line-height: 150%;
	margin: 0 5px;
}
.kisobox .ttxt ul.book_atn{
	justify-content:center;
}
.kisobox .ttxt ul.book_atn p{
	font-size:12px;
}
.kisobox .ttxt ul.book_atn p a{
	font-size: 13px;
	font-weight:600;
}
.kisobox{
	margin:30px auto 0;
}
.kisobox .ttxt ul li img{
	width:115px;
}
.kisobox .ttxt ul li{
	padding:0 10px;
}
.kisobox .ttxt.endtxt{
	text-align:right;
	font-size: 14px;
}
.kisobox .ttxt.ttitle.buytitle{
	text-align: center;
	font-size:14px;
    font-weight: 600;
	margin: 0 auto 10px;
}
.kisobox .ttxt.ttitle.nenkantitle{
	font-size: 20px;
    text-align: center;
	padding: 0 0 30px;
}
.kisobox .ttxt.ttitle.nenkantitle .book_atn p {
    text-align: left;
}
.kiso_index {
	font-size:20px;
    margin: 40px 0 20px;
    padding: 0 0 20px;
}
.kiso_index .box-flex {
    display: flex;
	 justify-content: space-between;
    align-content: space-between;
    align-items: flex-start;
    margin: 0 auto 14px;
    max-width: 1200px;
    flex-wrap: wrap;
	border-bottom: 1px dotted #aaaaaa;
}
.kiso_ul{
	list-style: none;
    padding: 0;
}
li.kisotxt {
	 width: 300px;
    text-align: left;
}
a.modal-open {
	font-weight:600;
}
.kisotxt p.p_his{
	font-weight:600;
}
.kiso_index ul li:first-child{
	max-width: 180px;
}
.kiso_index ul li:last-child{
	font-size:90%;
}

/* 基礎知識 modal window*/

.modal-content-s {
    position:relative;
	top:2%;
    display:none;
    width:80%;
	max-width: 1000px;
    margin:0 auto;
    padding:10px 20px;
    border:1px solid #ddd;
    background:#fff;
}

.modal-content-s p {
    margin:0;
    padding:0;
}

.modal-overlay2 {
    z-index:1;
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:120%;
    background-color:rgba(255,255,255,0.75);
}
/*基礎知識modal追加*/
.modal-content-s .a_title{
	font-size:3.2rem;
	font-weight:600;
	font-family: 'M PLUS 1p', sans-serif;
}
.modal-content-s .a_txt{
	font-size:1.8rem;
	font-family: 'M PLUS 1p', sans-serif;
	text-align: left;
    margin: 10px 0;
	color:#000;
}
.modal_s{
	 /* display: flex;; */
    /* flex-flow: row wrap; */
    list-style: none;
	 align-items: center;
	margin: 0 auto;
	background: url(/wp-content/themes/twentytwenty-child/img/knowledge/ki_modal_bg.png) no-repeat right top; 
}
.s_img{
	 margin: 0;
    text-align: center;
}
.modal_s.modal_a{background: url(/wp-content/themes/twentytwenty-child/img/knowledge/ari_modal_bg.png) no-repeat center top;}
.modal-content-s .modal_a .a_txt{margin: 0 10% 50px;  letter-spacing: 0.1em;  line-height: 2.2em;}
.modal_a p img{ margin: 50px auto;    /* text-align: center; */    display: block;}
/*.modal-content-s.moa .aribox h2{margin:0;} ありがとうモーダル内h2、他？*/
.modal-content-s.moa{background:#fbf4e8;}

