@charset "UTF-8";
  main.qanda {
background: url(//fukuoka-kenmokuren.com/cms/wp-content/themes/Fukuoka-Kenmokuren-Theme/img/sub/qanda/bg-bar.png) repeat;
}
main.qanda .inner {
max-width: 1000px;
}
main.qanda i {
width: 83px;
height: 83px;
font-size: 40px;
line-height: 83px;
display: inline-block;
text-align: center;
border-radius: 100%;
font-style: normal;
}
main.qanda i.q_icon {
content: "Q";
color: #fff;
background-color: #99690b;
}
main.qanda i.a_icon {
content: "A";
color: #99690b;
background-color: #f3dc15;
}
main.qanda .category_nav {
position: fixed;
z-index: 100;
right: 0;
top: -10%;
bottom: 0;
margin: auto;
width: 300px;
height: 250px;
background-color: #fff;
padding: 20px 10px;
border: solid 3px #C68B61;
border-right: none;
-webkit-transition: right .4s;
transition: right .4s;
background: url(//fukuoka-kenmokuren.com/cms/wp-content/themes/Fukuoka-Kenmokuren-Theme/img/sub/qanda/nav_bg.png) no-repeat center center/cover;
}
main.qanda .category_nav h2 {
font-size: 1.25em;
margin-bottom: 10px;
-ms-writing-mode: tb-rl;
-webkit-writing-mode: vertical-rl;
writing-mode: vertical-rl;
float: left;
margin-top: 30px;
cursor: pointer;
}
main.qanda .category_nav ul {
padding-left: 50px;
}
main.qanda .category_nav li {
line-height: 2em;
font-weight: 600;
list-style: circle;
font-size: 1.1em;
}
main.qanda .category_nav .open-btn {
margin-top: 20px;
}
main.qanda .category_nav .close-box {
text-align: right;
}
main.qanda .category_nav .close-btn {
cursor: pointer;
}
main.qanda .category_nav.close {
right: -256px;
}
main.qanda .gotop {
position: fixed;
right: 10px;
bottom: 10px;
margin: auto;
width: 6em;
height: 6em;
background-color: #fff;
font-weight: bold;
border: solid 2px #C68B61;
border-radius: 100%;
text-align: center;
line-height: 6em;
z-index: 100;
}
main.qanda .gotop a {
display: inline-block;
width: 100%;
height: 100%;
}
#sub_mv.qanda {
position: relative;
background: url(//fukuoka-kenmokuren.com/cms/wp-content/themes/Fukuoka-Kenmokuren-Theme/img/sub/qanda/topimg_pc.jpg) no-repeat center center/cover;
max-width: 1000px;
height: 522px;
margin: 0 auto 80px;
}
#sub_mv.qanda .title {
position: absolute;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
font-size: 2.57rem;
font-weight: bold;
}
.sub_title_box {
margin-bottom: 86px;
}
.sub_title_box .inner {
position: relative;
background: url(//fukuoka-kenmokuren.com/cms/wp-content/themes/Fukuoka-Kenmokuren-Theme/img/sub/qanda/topimg_pc.jpg) no-repeat center center/cover;
height: 335px;
}
.sub_title_box .inner .box_body {
font-size: 40px;
background-color: #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translateY(-50%) translateX(-50%);
-webkit-transform: translateY(-50%) translateX(-50%);
font-weight: bold;
width: 100%;
text-align: center;
height: 145px;
line-height: 145px;
}
.qanda_box {
font-size: 20px;
color: #000;
padding-bottom: 175px;
background: url(//fukuoka-kenmokuren.com/cms/wp-content/themes/Fukuoka-Kenmokuren-Theme/img/sub/qanda/aidanogazou.png) no-repeat center bottom 10%/454px 58px; }
.qanda_box .inner {
background-color: #fff;
padding: 26px 0px;
min-height: 425px;
}
.qanda_box .box_body h3 {
width: 100%;
display: table;
padding-left: 22px;
padding-right: 47px;
font-weight: bold;
font-size: 20px;
}
.qanda_box .box_body h3::after {
content: "";
display: block;
clear: both;
}
.qanda_box i {
display: table-cell;
}
.qanda_box .q {
border-bottom: dotted #99690b;
padding-bottom: 42px;
margin-bottom: 28px;
}
.qanda_box .q_text, .qanda_box .a_text {
display: table-cell;
vertical-align: middle;
width: 88%;
}
.qanda_box .content {
padding: 30px 40px 0px 40px;
font-size: 0.8em;
line-height: 1.5em;
}
.qanda_box .content a {
text-decoration: underline;
}
.qanda_box .image_box {
text-align: center;
margin: auto;
}
.qanda_box a img {
max-width: 40%;
margin: 1.5em auto 0;
}
.qanda_box a img:hover {
opacity: 0.7;
}
.qanda_box [class*="wp-image-"] {
max-width: 40%;
margin: 1.5em auto 0;
}
.qanda_box.over100 .q_icon {
font-size: 34px;
}
.qanda_box .q_no {
font-size: 0.65em;
}
@media screen and (max-width: 640px) {
#sub_mv.qanda {
background: url(//fukuoka-kenmokuren.com/cms/wp-content/themes/Fukuoka-Kenmokuren-Theme/img/sub/qanda/topimg_sp.jpg) no-repeat center center/cover;
height: 42vw;
margin-bottom: 7.8vw;
}
#sub_mv.qanda .title {
width: 60vw;
font-size: 8vw;
}
#sub_mv.qanda .title i {
vertical-align: middle;
font-size: 8vw;
line-height: 18vw;
width: 18vw;
height: 18vw;
}
main.qanda .category_nav {
position: static;
height: auto;
width: 100%;
border: none;
}
main.qanda .category_nav h2 {
-webkit-writing-mode: horizontal-tb;
-ms-writing-mode: lr-tb;
writing-mode: horizontal-tb;
float: none;
margin-top: 0;
text-align: center;
}
main.qanda .category_nav .open-btn {
-webkit-transform: rotate(-90deg);
transform: rotate(-90deg);
}
main.qanda .category_nav .close-box {
display: none;
}
.qanda_box i {
margin-right: 3vw;
}
.qanda_box .image_box {
max-width: 80%;
}
}
@media screen and (max-width: 425px) {
.sub_title_box .inner .box_body {
font-size: 7vw;
}
main.qanda i {
vertical-align: middle;
font-size: 8vw;
line-height: 18vw;
width: 18vw;
height: 18vw;
}
.qanda_box {
background-size: 60vw auto;
}
.qanda_box .image_box {
max-width: 100%;
}
}