/*
Theme Name: sun-tax(2025-10-28)
Author: sun-tax(2025-10-28)
Description: sun-tax(2025-10-28) official site
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/*@charset "utf-8";*/
.ovf {
    overflow: hidden;
}
.fb_iframe_widget,
.fb_iframe_widget iframe[style],
.fb_iframe_widget span {
    width: 100%!important;
}
.blog-img img {
    position: relative;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
#bnr-area {
    background: #c8c8c8;
    padding: 20px 0;
}
li.fb-area {
    background: url("img/bnr_PR_fb.png") top center no-repeat;
    background-size: 100%;
}
._1drm._1b90,
._1drm._1ds4 {
    border: none!important;
}
#info-message p {
    font-size: 1.4rem;
    line-height: 1.8;
}

/*　171005トップブログ修正　*/
.txt-blog-title {
    font-weight: bold;
}

.txt-days-color {
    color: #F58C00;
}

#area-pickup {
    background: #FFE8CB;
    padding: 20px 0;
}

.list-blog-slide li .txt-blog-title {
    font-weight: normal !important;
}

.box-pickup-ttl hr {
    border: none;
    border-bottom: #F58C00 solid 2px;
}

.img-ttl-pickup {
    position: absolute;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

/* 20181009 TOPブログ カテゴリ追加 */
.txt-cat {
    color: #000;
    font-weight: bold;
    padding: 0 .5em;
    font-size: 1.3rem;
    display: inline-block;
    line-height: 1.5;
    margin-bottom: 5px;
    background-color: #F5C88A;
}

@media screen and (max-width:768px) {
    #main ul,
    .h-title {
        text-align: center;
    }
    #info-message,
    #main,
    #news-blog {
        padding: 0 15px;
    }
    .bx-viewport {
        height: 0!important;
        padding-bottom: 33%!important;
    }
    .first-img,
    .second-img,
    .three-img {
        height: 0;
        padding-bottom: 25%;
    }
    .first-img {
        background: url("img/img_top_slide_04_230214.jpg") top center no-repeat;
        background-size: 130%;
    }
    .second-img {
        background: url("img/img_top_slide_02.png") top left 60% no-repeat;
        background-size: 130%;
    }
    .three-img {
        background: url("img/img_top_slide_03.png") top center no-repeat;
        background-size: 130%;
    }
    #main ul {
        margin: 10% 0;
    }
    #main li+li {
        margin-top: 2rem;
    }
    #main li img {
        max-width: 100%;
    }
    .h-title {
        margin: 8rem 0 0.8rem;
    }
    #blog h2,
    #info-message h2,
    #news h2 {
        font-size: 240%;
        font-family: Arial;
        font-weight: 700;
        font-style: oblique;
        text-align: center;
        color: #000;
    }
    .h-title p {
        color: #888280;
        font-size: 120%;
    }

    .blog-ul {
        overflow: hidden;
    }

    .blog-ul li {
        width: 50%;
        float: left;
        padding: 10px 5px 10px;
        margin-bottom: 1.2rem;
        vertical-align: top;
    }

    .blog-img {
        width: 100%;
        height: 8rem;
        overflow: hidden;
        margin-bottom: 0.8rem;
    }
    .blog-days {
        font-size: 110%;
    }
    .blog-text,
    .view-all {
        font-size: 120%;
    }
    .txt-title-big {
        font-size: 160%;
    }
    .view-all {
        width: 100%;
        background: #f58c00;
        color: #fff;
        font-family: Arial;
        position: relative;
        padding: 0.8rem;
    }
    .arrow {
        position: absolute;
        right: 0.8rem;
        top: 20%;
    }
    .post {
        font-size: 1.4rem;
        margin: 4rem 0;
        padding: 3rem;
        border: 1px solid #f58c00;
        background: #fff;
    }
    .post_title {
        font-weight: 700;
        font-size: 2rem;
    }
    #bnr-area section {
        padding: 0 15px;
    }
    #bnr-area section ul {
        margin: 0 auto;
    }
    #bnr-area section ul li {
        margin-bottom: 2rem;
        width: 100%;
    }
    #bnr-area section ul li.fb-area {
        max-width: 500px!important;
        margin: 0 auto 2rem!important;
    }
    li.fb-area {
        padding-top: 7.5%;
    }
    #info-message ul {
        margin-top: 8rem;
    }

/*　171005追加分　*/
    #area-pickup {
        position: relative;
    }

    .box-pickup-ttl {
        padding-bottom: 3rem;
    }

    .img-ttl-pickup {
        top: 10px;
        left: 50%;
    }

    .img-ttl-pickup img {
        width: 120px;
    }

    #area-pickup .blog-img {
        height: 16rem !important;
    }

    #area-pickup .blog-img img {
        width: auto !important;
    }

    #news {
        padding: 0 15px;
    }

    #news .h-title {
        margin: 4rem 0 0.8rem !important;
    }

    p.is-cat {
        display: none;
    }

    p.blog-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

}
@media screen and (min-width:568px) and (max-width:768px),screen and (orientation:landscape) {
    .blog-img {
        width: 100%;
        height: 15rem;
        overflow: hidden;
    }
}
@media screen and (min-width:769px) {
    #info-message ul li:first-child {
        float: left;
    }
    #info-message ul li:last-child {
        float: right;
    }
    .bx-viewport {
        height: 0!important;
        padding-bottom: 26%!important;
    }
    .first-img,
    .second-img,
    .three-img {
        height: 0;
        padding-bottom: 25%;
    }
    .first-img {
        background: url("img/img_top_slide_04_230214.jpg") top center no-repeat;
        background-size: 100%;
    }
    .second-img {
        background: url("img/img_top_slide_02.png") top center no-repeat;
        background-size: 100%;
    }
    .three-img {
        background: url("img/img_top_slide_03.png") top center no-repeat;
        background-size: 100%;
    }
    #main section {
        width: 990px;
        margin: 4rem auto;
    }
    #main ul {
        font-size: 0;
    }
    #main ul li {
        display: inline-block;
        width: 480px;
        height: 240px;
        margin-top: 30px;
    }
    #bnr-area ul li a:hover,
    #main ul li a:hover,
    #news-blog a:hover {
        opacity: 0.8;
    }
    #main ul li img {
        max-width: 100%;
    }
    #main ul li:nth-child(even) {
        margin-left: 30px;
    }
    #news-blog {
        background: #f0f0f0;
        padding: 30px;
    }
    #news-blog a:visited {
        color: #888280;
    }
    .outside-box {
        width: 990px;
        margin: 0 auto;
        padding: 2rem 0;
    }
    #blog {
        width: 800px;
        margin: 0 auto;
    }
    #blog h2,
    #info-message h2,
    #news h2 {
        font-size: 320%;
        font-family: Arial;
        font-weight: 700;
        font-style: oblique;
        text-align: center;
        color: #000;
    }
    .h-title p {
        color: #888280;
        font-size: 160%;
        text-align: center;
        margin: 1rem 0;
    }

    .blog-ul {
        overflow: hidden;
    }
    #container .blog-ul li {
        width: 33.3%;
        float: left;
        padding: 15px 7px 15px;
        margin-bottom: 1.2rem;
    }

    #news-blog .blog-ul li {
        width: 100%;
        margin-bottom: 15px;
    }

    #news-blog .blog-img {
        width: 232px !important;
        height: 116px !important;
        overflow: hidden;
    }

    .blog-img {
        width: 100%;
        height: 166px;
        overflow: hidden;
        margin-bottom: 0.8rem;
    }
    .blog-days {
        font-size: 110%;
    }
    .blog-text,
    .view-all {
        font-size: 120%;
    }
    .view-all {
        width: 100%;
        background: #f58c00;
        color: #fff;
        font-family: Arial;
        position: relative;
        padding: 0.8rem;
    }
    .arrow {
        position: absolute;
        right: 0.8rem;
        top: 20%;
    }
    .post {
        font-size: 1.6rem;
        margin: 4rem 0;
        padding: 3rem;
        border: 1px solid #f58c00;
        background: #fff;
    }
    .post_title {
        font-weight: 700;
        font-size: 2rem;
    }
    #bnr-area section,
    #info-message {
        width: 990px;
        margin: 0 auto;
    }
    #bnr-area section ul:after,
    #bnr-area section ul:before {
        content: " ";
        display: block;
    }
    #bnr-area section ul:after {
        clear: both;
    }
    #bnr-area section ul li {
        width: 320px;
        float: left;
    }
    li.mail_mag {
        margin-right: 15px;
    }
    li.fb-area {
        padding-top: 24px;
    }
    #info-message h2 {
        text-align: center;
    }
    #info-message ul {
        overflow: hidden;
        padding: 60px 0;
    }
    #info-message ul li {
        /*width: 450px;*/
    }

/*　171005トップブログ修正　*/
    #area-pickup {
        margin-top: -54px;
    }

    #news {
        width: 990px;
        margin: 50px auto;
    }

    .box-pickup-ttl {
        width: 990px;
        margin: 0 auto;
        padding: 10px 0 40px 0;
        position: relative;
    }

    .img-ttl-pickup {
        width: 180px;
        top: 0;
        left: 50%;
    }

    #main {
        border-top: #C8C8C8 solid 1px;
    }

    .txt-blog-title {
        font-size: 18px;
        line-height: 1.4;
    }

    .list-blog-slide {
        width: 990px;
        margin: 0 auto;
    }

    .list-blog-slide li {
        padding: 0 8px;
    }

    .list-blog-slide li .blog-img {
        height: 118px;
    }

    .list-blog-slide li .blog-img img {
        width: auto !important;
        height: 100% !important;
    }

    .list-blog-slide li .txt-blog-title {
        font-size: 14px;
    }

    #news-blog dl {
        overflow: hidden;
    }

    #news-blog dt {
        float: left;
    }

    .box-faq-in {
        width: 568px;
        height: 116px;
        overflow: hidden;
        float: right;
        background: #fff;
        padding: 14px;
    }

    .box-faq-in .blog-text {
        font-size: 16px;
        margin-top: .8rem;
    }

    .fix-box {
        overflow: hidden;
    }
    
    p.is-cat {
        color: #F58C00;
        float: left;
        width: 80%;
    }

    p.blog-days {
        float: right;
        width: 16%;
    }

}