@charset "UTF-8";
/*
Theme Name: atto
*/
html {
    font-size: 100%;
}

body {
    background-color: #ffffff;
    color: #333333;
    font-size: 1em;
    font-family: YakuHanJP, "Noto Sans JP", sans-serif;
}

a {
    color: #333333;
    text-decoration: none;
}

a:hover {
    color: #b3b3b3;
    transition: .3s;
}

a img:hover {
    opacity: .5;
}

img {
    max-width: 100%;
    height: auto;
}

li {
    list-style: none;
}

.wrapper {
    max-width: 960px;
    margin: 20px auto;
    text-align: center;
}

.sp_br {
    display: none;
}

/*------メディアクエリ---------*/
@media(max-width: 960px) {
    .wrapper {
        width: 90%;
    }
}

@media(max-width: 840px) {
    body {
        line-height: 1.8em;
    }

    .sp_br {
        display: inline;
    }
}

/*------------------------------------------
    パンくずリスト
------------------------------------------*/

.aioseo-breadcrumbs {
    margin-bottom: 1em;
    text-align: left;
}

.aioseo-breadcrumbs a {
    color: #007ab7;
    text-decoration: underline;
}

.aioseo-breadcrumbs a:hover {
    color: #b3b3b3;
}

.aioseo-breadcrumb-separator {
    padding: 0 20px;
}

/*------メディアクエリ---------*/
@media(max-width: 840px) {
    .aioseo-breadcrumbs {
        display: block;
        overflow: auto;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;

        -webkit-overflow-scrolling: touch;
    }

    .aioseo-breadcrumbs a {
        display: inline;
        flex: 0 0 40%;
        padding-right: 20px;
    }
}
main {
    justify-content: center;
    width: 100%;
}

.page-title, .article-title {
    padding-bottom: 20px;
}

.btn {
    display: inline-block;
    width: 50%;
    height: 20%;
    margin-top: 50px;
}

.btn a, #contact-btn input {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 40px;
    background-color: #b3b3b3;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.3em;
    transition: .3s;
    white-space: nowrap;
}

.btn a:hover, #contact-btn input:hover, .wp-block-button__link has-background:hover {
    border: solid 1px #b3b3b3;
    background-color: #ffffff;
    color: #b3b3b3;
    transition: .3s;
}

/*------メディアクエリ---------*/
@media(max-width: 840px) {
    .btn a {
        font-size: 1rem;
    }
}

.title {
    margin-top: 80px;
    margin-bottom: 40px;
    font-weight: bold;
    font-size: 2em;
}

.pagetitle {
    color: #333333;
    font-size: 2em;
    text-align: left;
}

.menu-item a, #footer-nav a, #sidebar li a {
    position: relative;
}

.menu-item a::after, #footer-nav a::after, #sidebar li a::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    transform: scale(0,1);
    width: 100%;
    height: 2px;
    background: #e7161d;
    content: "";
    transition: transform .3s;
    transform-origin: left top;
}

.menu-item a:hover::after, #footer-nav a:hover::after, #sidebar li a:hover::after {
    transform: scale(1,1);
}

@media(max-width: 840px){
    .menu-item a::after, #footer-nav a::after, #sidebar li a::after{
        content: none;
    }
}


/*------------------------------------------
    header
------------------------------------------*/
header {
    align-items: center;
    position:         sticky;
    position: -webkit-sticky;
    top: 0;
    z-index: 100;
    height: 150px;
    padding-top: 1em;
    background-image: url(./img/common/background_dot.png);
    background-size: 4px;
    background-repeat: repeat;
}

.header-top {
    display: flex;
    justify-content: space-between;
    padding-top: 2em;
    height: 85px;
}

.site-title-wrap {
    text-align: left;
}

.site-title a {
    display: inline-block;
    padding-left: 30px;
}

.site-title a img {
    display: block;
    width: 200px;
}

.header-bottom {
    margin-top: 1em;
    margin-bottom: 1em;
}

/*------メディアクエリ---------*/
@media(max-width: 840px) {
    header {
        position: static;
        top: 0;
        background-image: none;
    }

    .site-title a {
        padding: 0;
    }

    .site-title a img {
        width: 150px;
    }

    .aioseo-breadcrumbs {
        margin-left: 1em;
    }
}

/*----------------------------*/

.sns {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-right: 45px;
    margin-bottom: .5em;
}

.sns img {
    width: 32px;
    margin: 0 20px;
}

.header-nav-wrap {
    z-index: 90;
    width: 100%;
}

.menu {
    display: flex;
    justify-content: space-between;
    height: 20px;
}

.menu-item {
    display: inline-block;
    width: 100%;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
}

li.menu > .menu-item li{
    display: flex;
}

.menu-item:last-child {
    padding-right: 0;
}

li.menu > .menu-item li a {
   width: 100%;
    height: 100%;
    white-space: nowrap;
}

li.menu > li a:hover {
    color: #e7161d;
    font-weight: bold;
}


ul.sub-menu{
    visibility: hidden;
    display: inline-block;
    width: 100%;
    opacity: 0;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    background: #FFFFFF;
}

.sub-menu li {
    height: 3em;
    background: #ffffff;
    color: #333;
    border-bottom: solid .5px #b3b3b3;
    font-weight: normal;
    white-space: nowrap;
}

.sub-menu > li:hover{
    background: #b3b3b3;
}

.sub-menu > li a{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.sub-menu > li a:hover{
    color: #fff;
}

.sub-menu > li a::after{
    content: none;
}

li.menu-item:hover > ul.sub-menu{
    visibility: visible;
    opacity: 1;
}


.navbutton {
    display: none;
    position: fixed;
    top: 55px;
    right: 16px;
    z-index: 100;
    width: 40px;
    height: 40px;
    padding: 5px;
}

.navbutton i {
    display: block;
    width: 30px;
    height: 5px;
    margin-bottom: 7.5px;
    background: #333333;
}

.navbutton i:last-of-type {
    margin-bottom: 0;
}

.navbutton.close i:nth-of-type(1) {
    transform: translate(-50%,10px) rotate(45deg);
    transition: transform .3s;
}

.navbutton.close i:nth-of-type(2) {
    opacity: 0;
    transition: opacity .3s;
}

.navbutton.close i:nth-of-type(3) {
    transform: translate(-50%,-14px) rotate(-45deg);
    transition: transform .3s;
}

.navbutton img {
    width: 300px;
}

.navbutton.close img {
    display: none;
}

/*------メディアクエリ---------*/
@media(max-width: 840px) {
   .navbutton {
        display: block;
    }

    .navbutton:focus {
        outline: 0;
    }

    .header-nav-wrap {
        visibility: hidden;
        opacity: 0;
        position: fixed;
        top: 0;
        left: 0;
    }

    .menu {
        flex-direction: column;
        height: 20px;
        padding-top: 40px;
        background-color: #ffffff;
    }

    .menu-item {
        display: block;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        margin-right: 0;
        padding: 20px;
        border-left: none;
    }

    .menu-item a {
        position: relative;
        padding: .8rem;
        border-bottom: 1px solid #888888;
        color: #333333;
        text-align: center;
    }

    .menu-item a:after {
        display: block;
        position: absolute;
        top: 50%;
        right: .8rem;
        transform: translateY(-50%);
        font-weight: 900;
        content: none;
    }

    .header-nav-wrap.fade {
        visibility: visible;
        opacity: 1;
    }

    .header-nav .menu{
        height: 100%;
    }

    .header-nav li.menu-item{
        border-bottom: solid 1px #888888;
    }

    .header-nav .menu-item a{ 
        display: block;
        border: none;
    }

    ul.sub-menu, .sub-menu li{
        background: #888888;
    }

    .noscroll {
        overflow: hidden;
    }

}


/*------------------------------------------
    footer
------------------------------------------*/
footer {
    width: 100%;
    margin-top: 5em;
}
.footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer ul {
    display: flex;
    align-items: center;
    width: 100%;
}

.footer li {
    display: inline;
    padding-left: 20px;
    font-size: .9em;
    text-align: justify;
}

.footer a {
    white-space: nowrap;
}


footer p {
    font-size: .8em;
    text-align: center;
}

.footer .site-title img {
    width: 100px;
}

@media(max-width: 840px) {
    footer .wrapper {
        width: 100%;
        padding: 0;
    }

    .footer {
        display: block;
        padding: 100px 0 0 0;
    }

    .footer ul {
        flex-direction: column;
        background: #b3b3b3;
    }

    .footer li {
        width: 100%;
        height: 3rem;
        padding: 0;
        border: solid 1px #ffffff;
        font-size: 16px;
        line-height: 3em;
    }

    .footer li:hover {
        border: solid 1px #b3b3b3;
    }

    .footer li a {
        display: block;
        width: 100%;
        padding-left: 20px;
        color: #ffffff;
    }

    #footer-nav .menu{
        height: 100%;
        padding: 0;
    }

    #footer-nav .menu-item a{
        border: none;        
    }

    #footer-nav a:hover {
        background-color: #ffffff;
        color: #e7161d;
    }

    #footer-nav a:hover::after {
        content: none;
    }
}


/*------------------------------------------
    front-page main
------------------------------------------*/
/*------------top------------*/
.mainimage .pc {
    display: block;
    position: relative;
    width: 100%;
    object-fit: cover;
}

.mainimage .sp {
    display: none;
    width: 100%;
    object-fit: cover;
}

.mainimage h2 {
    position: absolute;
    top: 4.5em;
    left: 50%;
            transform: translateX(-50%);
    color: #6f6f6f;
    font-size: 4.5em;
    line-height: 1.3em;
    white-space: nowrap;

    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
}


.mainimage p {
    margin: 170px 0;
    font-size: 24px;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
}

.index-nav {
    margin-top: 200px;
    margin-bottom: 200px;
}

.index-nav ul {
    display: flex;
    justify-content: space-between;
}

.index-nav li {
    display: block;
    position: relative;
    width: 25%;
    height: auto;
    overflow: hidden;
    font-weight: bold;
    font-size: 1.3em;
}

.index-nav img {
    width: 100%;
    padding: 10px;
}

.index-nav img:hover {
    opacity: 10;
    transform: scale(1.1,1.1);
    transition: .3s;
}

/*------メディアクエリ---------*/
@media(min-width: 1080px) {
    .topimg_sp {
        display: none;
    }
}

@media (max-width: 840px) {
    .mainimage .pc {
        display: none;
    }

    .mainimage .sp {
        display: block;
    }
}

@media (max-width: 840px) {
    .index-nav ul {
        flex-direction: column;
    }

    .index-nav li {
        width: 100%;
        padding: 0 2em;
    }
}

/*------------introduction------------*/
.introduction {
    margin-bottom: 170px;
    line-height: 2.3em;
}

.introduction h2 {
    margin-top: 60px;
    margin-bottom: 2em;
    font-size: 1.8em;
}

/*------------bp------------*/
.bp {
    margin: 170px 0;
    font-weight: 600;
    line-height: 2.3em;
}

.dot {
    display: block;
    width: 10px;
    height: auto;
    margin: 20px auto;
    content: url(./img/common/dot.png);
}

/*------------main-contents------------*/
#main-contents {
    margin: 170px 0;
}

#main-contents h2 {
    margin-bottom: 3em;
}

.main-contents-list {
    width: 80%;
    margin: 20px auto;
}

.main-contents-list a {
    display: flex;
    align-items: center;
    border: solid 1px #333333;
    border-radius: 20px;
    box-shadow: 4px 4px #6f6f6f;
}

.main-contents-list a:hover {
    transform: translate(4px, 4px);
    box-shadow: none;
}

.product-name {
    width: 30%;
    font-weight: bold;
    line-height: 5em;
    text-decoration: underline;
}

.product-detail {
    width: 70%;
}

.product-text {
    padding: 1em;
    text-align: start;
}

/*------メディアクエリ---------*/
@media(max-width: 840px) {
    .main-contents-list a {
        flex-direction: column;
    }

    .product-name {
        width: 100%;
        margin-bottom: 1em;
        padding-top: 20px;
        line-height: 1em;
    }

    .product-detail {
        width: 100%;
    }

    .product-text {
        margin: 0 auto;
    }
}


/*------------voice------------*/
#voice {
    margin-bottom: 200px;
}

#voice_discription {
    margin-top: 20px;
    font-weight: bold;
}

#voice_title {
    color: #007ab7;
    font-weight: bold;
    font-size: 3em;
}

#voice p {
    margin-bottom: 20px;
}

.customer_voice {
    display: flex;
    align-items: center;
}
.voice_icon {
    display: block;
    margin-right: 20px;
}

.voice_icon img {
    width: 100%;

    object-fit: cover;
}

.voice_contents {
    display: table;
    position: relative;
    max-width: calc(100% - 1.5em);
    margin-bottom: 1em;
    margin-left: 1.5em;
    padding: 1em;
    border: 2px solid #333333;
    border-radius: 1em;
    background-color: #ffffff;
    text-align: left;
}

.voice_contents:before, .voice_contents:after {
    position: absolute;
    top: 50%;
    left: -1.5em;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-right: 1.5em solid #333333;
    border-bottom: 10px solid transparent;
    content: "";
}

.voice_contents:after {
    left: -1.2em;
    border-right: solid 1.5em #ffffff;
}

.voice_title {
    margin-bottom: 10px;
    color: #007ab7;
}

.voice_contents a {
    display: inline-block;
    font-weight: bold;
    text-decoration: underline;
    text-align: right;
}


/*------メディアクエリ---------*/
@media (max-width: 840px) {
    .customer_voice {
        flex-direction: column;
    }

    .voice_icon {
        margin: 0 auto;
    }

    .voice_icon img {
        width: 50%;
        margin-bottom: 20px;
    }

    .voice_contents {
        margin-top: 1em;
    }

    .voice_contents:first-child {
        margin-top: 1.5em;
    }

    .voice_contents:before, .voice_contents:after {
        position: absolute;
        top: -1.5em;
        left: 50%;
        transform: translateX(-50%);
        border-top: 0;
        border-right: 10px solid transparent;
        border-bottom: solid 1.5em #333333;
        border-left: 10px solid transparent;
        content: "";
    }

    .voice_contents:after {
        top: calc(4px - 1.5em);
        border-bottom: solid 1.5em #ffffff;
    }
}


/*------------item-list------------*/
#item-list p {
    font-weight: 550;
    font-size: 1.5em;
}

/*------------blog------------*/
#blog-list {
    margin-bottom: 200px;
}

.blog-list-item li {
    display: inline-block;
    border-bottom: solid .5px #333333;
}

.blog-list-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    transition: .3s;
}

.blog-list-item a:hover {
    font-weight: bold;
}

.blog-list-item time {
    padding-right: 20px;
}

.blog-list-item p {
    margin: 10px;
}

/*------メディアクエリ---------*/
@media (max-width: 840px) {
    .blog-list-item a {
        font-size: 1rem;
    }
}

/*------------company------------*/

.company-profile dl {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.company-profile dt {
    width: 20%;
    font-weight: bold;
}

.company-profile dd {
    width: 70%;
    margin: 0;
    padding-left: 10%;
    font-size: 1em;
    text-align: start;
}

.company-profile dt, .company-profile dd {
    margin-bottom: 30px;
    padding-top: 30px;
    border-top: solid 1px #c6c6c6;
}

/*------------------------------------------
    page-aboutus.php わたしたちについて
------------------------------------------*/
.about-us-item {
    display: flex;
    position: relative;
    margin-bottom: 6em;
}

.about-us-title {
    width: 30%;
    font-weight: bold;
}

.about-us-title h2, .about-us-title h3 {
    position:         sticky;
    position: -webkit-sticky;
    top: 150px;
}

.about-us-text {
    width: 70%;
    margin-left: 20px;
    padding: 20px;
    border-left: solid 5px #6f6f6f;
    background: #f5f5f5;
    font-weight: 500;
    line-height: 2em;
    text-align: justify;
}

/*------メディアクエリ---------*/
@media(max-width:840px) {
    .about-us-item {
        flex-direction: column;
    }

    .about-us-title {
        width: 100%;
        text-align: center;
    }

    .about-us-text {
        width: 100%;
        margin-top: .5em;
        margin-left: 0;
    }
}

/*------------------------------------------
    主なコンテンツ
------------------------------------------*/
.contents .btn {
    margin-top: 50px;
}

.contents-text {
    line-height: 1.8em;
    text-align: left;
}

.contents-label {
    text-align: left;
    text-decoration: underline;
}

.contents-list{
    margin: 3em 0;
}

.contents-list p{
    text-align: left;
}

.maincontents .btn {
    margin-top: 20px;
}

.maincontens-btn{
    margin: 20px 0;
}

.contents-link{
    text-align: left;
    font-size: 1.2em;
    margin: 3em 0;
}

.contents-link p{
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 8px;
}

.contents-link li{
    list-style: square;
}

.selfrating-btn{
    width: 100%;
}

.wp-block-button.selfrating-btn a{
    width: 150px;
    font-size: 1em;
    font-weight: normal;
    padding: 8px;
    margin-bottom: 20px;
    margin-left: 20em;
}

@media (max-width: 840px){
    .maincontents{
        flex-direction: column;
    }

    .maincontents img{
        width: 50%;
    }
}

/*------------------------------------------
    page-FAQ.php FAQ
------------------------------------------*/
.toggle{
    display: none;
}
.FAQ_Q, .FAQ_A {
    display: flex;
    align-items: center;
}

.FAQ_Q img, .FAQ_A img {
    width: 150px;
    padding: 20px;
}

.FAQ_Q p, .FAQ_A p {
    width: 100%;
    text-indent: -1em;
    padding: 1em 1em 1em 2em;
    text-align: left;
}

.FAQ_Q p {
    margin-right: 170px;
}

.FAQ_A p {
    margin-left: 170px;
}

.FAQ_Q p {
    display: table;
    position: relative;
    max-width: calc(100% - 1.5em);
    margin-bottom: 1em;
    margin-left: 1.5em;
    border: 2px solid #333333;
    border-radius: 1em;
    background-color: #ffffff;
}

.FAQ_Q p:before, .FAQ_Q p:after {
    position: absolute;
    top: 50%;
    left: -1.5em;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-right: 1.5em solid #333333;
    border-bottom: 10px solid transparent;
    content: "";
}

.FAQ_Q p:after {
    left: -1.2em;
    border-right: solid 1.5em #ffffff;
}

.FAQ_A p {
    display: table;
    position: relative;
    max-width: calc(100% - 1.5em);
    margin-right: 1.5em;
    margin-bottom: 1em;
    border: 2px solid #333333;
    border-radius: 1em;
    background-color: #ffffff;
}

.FAQ_A p:before, .FAQ_A p:after {
    position: absolute;
    top: 50%;
    right: -1.5em;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 1.5em solid #333333;
    content: "";
}

.FAQ_A p:after {
    right: -1.2em;
    border-left: solid 1.5em #ffffff;
}

/*------メディアクエリ---------*/
@media(max-width: 840px) {
    .FAQ_Q::before{
        content: "";
        width: 6px;
        height: 6px;
        border-top: 2px solid #333;
        border-right: 2px solid #333;
        -webkit-transform: rotate(45deg);
        position: absolute;
        top:calc( 50% - 3px );
        right: 20px;
        transform: rotate(135deg);
    }

    .FAQ_Q, .FAQ_A{
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        transition: all .3s;
    }
    
    .FAQ_A{
        height: 0;
        margin-bottom: 10px;
        padding: 0 20px;
        overflow: hidden;
    }

    .toggle:checked + .FAQ_Q + .FAQ_A{
        height: auto;
        padding: 20px;
        transition: all .3s;
    }

    .toggle:checked + .FAQ_Q::before{
        transform: rotate(-45deg) !important;
    }


    .FAQ_Q img, .FAQ_A img {
        display: none;
    }

    .FAQ_Q p, .FAQ_A p {
        margin: 0;
        border: none;
        background: none;
    }

    .FAQ_Q p{
        border-bottom: solid 1px #b3b3b3;
        border-radius: 0;
    }


    .FAQ_A p:before, .FAQ_Q p:before{
        content: none;
    }

    .FAQ_A p:after, .FAQ_Q p:after{
        content: none;
    }
}


/*------------------------------------------
    voice.php お客様の声
------------------------------------------*/
.voicepage_dispription {
    padding: 20px 0;
    text-align: left;
}


.customer_area {
    margin-bottom: 2em;
    padding: 20px;
    border-radius: 1rem;
    background-image: url(./img/common/background_dot.png);
    background-size: 4px;
    background-repeat: repeat;
    text-align: left;
}

.customer_info {
    margin-bottom: 1.25em;
    font-weight: bold;
    font-size: 1.25em;
}

.question {
    text-decoration: underline;
}

.customer_voice_area {
    width: 95%;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: .5em;
    border-radius: 1.5rem;
    text-align: left;
}

/*------------------------------------------
    bloglist.php ブログ一覧
------------------------------------------*/
#bloglist .blog-title {
    text-decoration: underline;
}

#bloglist .text {
    margin: 10px 0 30px 0;
    text-align: justify;
}

.more_text, .readmore {
    margin-bottom: 2em;
    text-align: center;
}

.more_text a, .readmore a {
    color: #208dc3;
    text-decoration: underline dotted;
}

.pagination {
    font-weight: bold;
    text-align: center;
}

.pagination a {
    color: #208dc3;
    text-decoration: underline dotted;
}


/*------------------------------------------
    archive.php アーカイブページ
------------------------------------------*/
#archive_main .wrapper {
    text-align: left;
}

#archive_container main {
    width: 70%;
    padding: 0 20px;
}

#archive_container h2 {
    margin: 0;
    font-size: 1.5em;
}


#archive_container .meta li {
    margin: 0;
    font-size: 1.17em;
}

.item .title {
    margin: 0;
    font-size: 1.3em;
}


/*------------------------------------------
    single.php 投稿ページ
------------------------------------------*/
#single_container, #archive_container, #bloglist_container {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

#single_main, .bloglist {
    display: block;
    width: 70%;
}

.article-title {
    margin: 15px 0;
    font-size: 2em;
}

.meta li {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.3em;
}
.entry-pager {
    margin-top: 80px;
}

.post-link {
    display: flex;
}

.post-link li {
    width: 150px;
    margin: 0 auto;
    margin-top: 20px;
}

.post-link li a {
    display: block;
    width: 100%;
    padding: 5px;
    border-radius: 25px;
    background-color: #b3b3b3;
    color: #ffffff;
    font-size: 1em;
    text-align: center;
}



.post-link li a:hover {
    border: solid 1px #b3b3b3;
    background: #ffffff;
    color: #b3b3b3;
}

/*------メディアクエリ---------*/
@media(max-width: 840px) {
    #single_container, #archive_container, #bloglist_container {
        display: block;
        margin: 0 auto;
    }

    #archive_container main, #single_main, .bloglist {
        width: 100%;
    }

    #single_main, .bloglist {
        width: 100%;
        margin: 0 auto;
        padding: 20px 30px 20px 30px;
    }
}
/*------------------------------------------
    sidebar.php
------------------------------------------*/
#sidebar {
    width: 25%;
    padding-left: 15px;
    border-left: solid .5px #333333;
    background-image: url(./img/common/background_dot.png);
    background-size: 4px;
    background-repeat: repeat;
}

#sidebar h2 {
    margin: 10px;
    font-size: 1.2em;
}

#sidebar li a {
    color: #333333;
}

#sidebar li a:hover {
    color: #e7161d;
}

/*------メディアクエリ---------*/
@media(max-width: 840px) {
    #sidebar {
        width: 100%;
        border: none;
        line-height: 2.3em;
    }
}
/*------------------------------------------
    page-product.php 商品ページ
------------------------------------------*/
#main_product .entry-content {
    text-align: justify;
}

#main_ptoduct img {
    margin: 0 auto;
}

/*------------------------------------------
    contact　問合せページ
------------------------------------------*/
/* Contact Form7 */
#contactform_main {
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
} 

#contactform_main p {
    margin-bottom: 20px;
    text-align: center;
}

.contact7 {
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}

.contact7 dt {
    float: left;
    clear: left;
    width: 35%;
    padding: 5px 10px 5px 0;
    font-weight: normal;
    text-align: right;
}
.contact7 dd {
    width: 45%;
    margin: 0 0 30px 35%;
    padding: 2px;
    border: solid 1px #999999;
    border-radius: 3px;
    background-color: #ffffff;
}

#contact-textarea textarea {
    width: 100%;
    height: 150px;
    resize: none;
}

.wpcf7-select {
    width: 100%;
}

/* 必須マーク */
.contact7 .must {
    background: #e7161d;
}

/* 任意マーク */

.contact7 .optional {
    background: #999999;
}

.contact7 .must, .contact7 .optional {
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 3px;
    color: #ffffff;
    font-size: 10px;
    letter-spacing: 2px;
}

.scroll-box {
    width: 90%;
    margin: 0 auto;
}

.scroll-box p {
    font-size: 1em;
}

#contactform_main .bs {
    font-size: 1em;
    line-height: 1.3em;
    text-align: left;
}

#contact-btn {
    width: 50%;
    height: 20%;
    margin: 0 auto;
}

#contact-btn input {
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/*------メディアクエリ---------*/
@media (max-width: 840px) {
    #contactform_main {
        width: 80%;
    }

    .contact7 {
        width: 100%;
    }

    .contact7 dt {
        float: none;
        width: 100%;
        text-align: left;
    }
    .contact7 dd {
        width: 80%;
        margin: 0 auto;
    }

    .scroll-box {
        width: 80%;
    }
}

/*------------------------------------------
    privacy プライバシーポリシー
------------------------------------------*/
.privacy-wrapper {
    margin: 0 auto;
    line-height: 1.8em;
    text-align: left;
}

.privacy-title {
    max-width: 960px;
    margin: 1em 0;
    background-color: #e3e3e3;
}

/*------メディアクエリ---------*/
@media(max-width: 840px) {
    .privacy-wrapper {
        padding: 0 2.5em;
    }
}