/*
Theme Name: e-max5840
Description: 株式会社T&A
Theme URI: https://www.e-max5840.co.jp/
Version: 1.0
License: e-max5840
License URI: https://www.e-max5840.co.jp/
*/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');
/****************************************

リセットCSSここから

*****************************************/

*{
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size:62.5%; /*1em=10px */
    overflow-y: scroll; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    margin:0;
    padding:0;
    border:0;
    outline:0;
    vertical-align:baseline;
    background:transparent;
}


body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,small, strong, sub, sup, var,b, i,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary,time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

h1,h2,h3,h4,h5,h6 {
    font-weight:normal;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section,main {
    display:block;
}

ol,ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

img{
    vertical-align: top;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}


/****************************************

body設定(主に書式)

*****************************************/

body{
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #333333;
    line-height: 1.8;
    background: #F9F4E0;
    letter-spacing: 0.06em;
}

@media screen and (max-width: 767px) {
    body{
        min-width: inherit;
    }

}

/****************************************

ページ共通

*****************************************/

#wrapper{
    float: none;
    width: 100%;
    min-width: 1200px;
    min-height: 100%;
    margin: 0 auto;
    overflow: hidden;
}


@media screen and (max-width: 767px) {
    #wrapper{
        float: none;
        width: 100%;
        min-width: 0;
        min-height: 100%;
        margin: 0 auto;
        overflow: hidden;
        background-size: contain;
    }

}


/****************************************

フォント指定

*****************************************/

li,tt,tr,dt,dd,p{
    font-size: 1.6rem;
    line-height: 1.5;
}

h1{
    color: #262626;
    font-weight: bold;
    font-size: 2.8rem;
}
h2{
    color: #000000;
    font-weight: bold;
    font-size: 2.0rem;
}
h3{
    color: #000000;
    font-weight: bold;
    font-size: 2.0rem;
}


@media screen and (max-width: 767px) {
    
    li,tt,tr,dt,dd,p{
        font-size: 1.5rem;
    }
    
    h1{
        font-size: 2.4rem;
        line-height: 1.5;
    }
    h2{
        font-size: 2.0rem;
        line-height: 1.5;
    }
    h3{
        font-size: 1.8rem;
        line-height: 1.5;
    }
}


/****************************************

リンク指定

*****************************************/

a:link,a:visited{
    color: #100D0C;
    text-decoration: underline;
    -webkit-transition:0.2s linear;
    transition:0.2s linear;
}
a:hover,a:active {
    color: #B00105;
    text-decoration: none;
    -webkit-transition:0.2s linear;
    transition:0.2s linear;
}

/****************************************

オンマウス時のアクション

*****************************************/

a:hover img.img_opacity {
    opacity: 0.75;
    filter: alpha(opacity=75);
    -webkit-transition:0.2s linear;
    transition:0.2s linear;
}

a img.img_opacity {
    -webkit-transition:0.2s linear;
    transition:0.2s linear;
}


/****************************************

pcヘッダー

*****************************************/

@media print,screen and (min-width:768px) {

    header{
        width:100%;
    }
    
    .header_top{
        position: relative;
        background-color: #B00105;
        width:100%;
        height: 150px;
    }
    
    .header_right {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 20px 40px 0;
        color: #FFF;
    }
    
    .top_txt {
        padding: 5px 10px;
        margin-right: 10px;
        background-color: #FFFFFF;
        border-radius: 6px;
        color: #B00005;
        font-size: 1.4rem;
        font-weight: bold;
        font-family: Montserrat;
        text-align: center;
        line-height: 18px;
    }
    
    .top_txt span {
        font-size: 2.0rem;
    }
    
    .header_right_inner {
        text-align: right;
        margin-right: 20px;
        padding: 10px 0;
        line-height: 20px;
    }
    
    .top_tel {
        display: flex;
        align-items: center;
    }
    
    .top_tel img {
        width: 22px;
        height: 22px;
    }
    
    .top_tel p {
        font-size: 2.6rem;
        font-weight: bold;
        font-family: Montserrat;
    }
    
    .top_time {
        font-size: 1.2rem;
    }
    
    .header_page{
        position: relative;
        width:100%;
        height: 401px;
    }
    
    .logo{
        position: absolute;
        top: 40px;
        left: 40px;
    }
    
}


/****************************************

spヘッダー・spナビ

*****************************************/
@media screen and (max-width:767px) {
    
    img {
        width: 100%;
        height: auto;
    }
    
    header {
        display: block;
        width: 100%;
    }
    
    .header_top {
        background-color: #B00105;
    }
    
    .logo {
        width: 100%;
        padding: 15px 0;
    }
    
    .header_right {
        display: none;
    }
    
    .logo a {
        display: block;
        width: 45%;
        margin: 0 auto;
    }
    
    .navi_box{
        display: none;
    }
    
    #toggle {
        position: absolute;
        right: 20px;
        top: 20px;
        width: 30px;
        height: 25px;
        cursor: pointer;
        z-index: 9999;
    }
    #toggle div {
        position: relative;
    }
    #toggle span {
        display: block;
        position: absolute;
        width: 100%;
        height: 4px;
        background: #FFF;
        border-radius: 4px;
        -webkit-transition: 0.35s ease-in-out;
        -o-transition: 0.35s ease-in-out;
        transition: 0.35s ease-in-out;
    }
    #toggle span:first-child {
        top: 0;
    }
    #toggle span:nth-child(2) {
        top: 11px;
    }
    #toggle span:nth-child(3) {
        top: 22px;
    }
    .open_navi #toggle {
        position: fixed;
    }
    .open_navi #toggle span:first-of-type {
        -webkit-transform: translateY(11px) rotate(-315deg);
        -ms-transform: translateY(11px) rotate(-315deg);
        transform: translateY(11px) rotate(-315deg);
    }
    .open_navi #toggle span:nth-of-type(2) {
        opacity: 0;
    }
    .open_navi #toggle span:nth-of-type(3) {
        -webkit-transform: translateY(-11px) rotate(315deg);
        -ms-transform: translateY(-11px) rotate(315deg);
        transform: translateY(-11px) rotate(315deg);
    }
    #sp_navi {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100vw;
        overflow-y: scroll;
        text-align: left;
        background: #B00105;
        z-index: 999;
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
        -webkit-transition: 0.7s ease-in-out;
        -o-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }
    .open_navi #sp_navi {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        -webkit-transition: 0.7s ease-in-out;
        -o-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }
    .open_navi #wrapper {
        -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
        transform-origin: left center;
        -webkit-filter:blur(3px);
        filter:blur(3px);
        -webkit-transition: 0.7s ease-in-out;
        -o-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }
    #sp_navi .menu {
        padding-top: 80px;
        text-align: center;
    }
    #sp_navi .menu .menu-item {
        width: 100%;
        text-align: center;
        border-bottom: #fff 1px solid;
        cursor: pointer;
        color: #FFF;
        margin: 0 auto;
        font-size: 1.4rem;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    #sp_navi .menu .menu-item-home {
        border-top: #fff 1px solid;
    }
    #sp_navi .menu-item a,
    #sp_navi .menu-item span {
        display: block;
        padding: 15px 0 14px;
    }
    #sp_navi .menu-item a:active,
    #sp_navi .menu-item a:hover,
    #sp_navi .menu-item a:link,
    #sp_navi .menu-item a:visited {
        color: #FFF;
        text-decoration: none;
    }
    #sp_navi .sub-menu {
        width: 100%;
        text-align: center;
        display: none;
    }
    #sp_navi .sub-menu li {
        width: 100%;
        text-align: center;
        border-top: #222222 1px solid;
    }
    #sp_navi .sub-menu li a {
        display: block;
        padding: 11px 0 10px;
        color: #FFF;
        background-color: #222222;
    }
    #sp_navi .sub-menu li a:active,
    #sp_navi .sub-menu li a:hover,
    #sp_navi .sub-menu li a:link,
    #sp_navi .sub-menu li a:visited {
        color: #FFF;
        text-decoration: none;
    }
    #sp_navi .sub-menu li a:hover {
        color: #FFF;
        background: none;
    }
    #sp_navi .menu-item-has-children {
        position: relative;
    }
    #sp_navi .menu-item-has-children:before {
        content: '';
        width: 14px;
        height: 14px;
        border: 0;
        border-top: solid 3px #fff;
        border-right: solid 3px #fff;
        -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        transform: rotate(135deg);
        -webkit-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
        position: absolute;
        top: 14px;
        right: 20px;
    }
    #sp_navi .menu-item-has-children.menu_open:before {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
        top: 22px;
    }
    
    #g_navi {
        display: none;
    }
}



/****************************************

pc用 横ナビ

*****************************************/

@media print, screen and (min-width: 768px) {

    #sp_navi,#toggle{display: none;}

}

#g_navi{
    width: 100%;
    padding-right: 40px;
}

#g_navi .menu{
    display: flex;
    justify-content: flex-end;
}

#g_navi .menu li ul{
    list-style: none;
    position: absolute;
    z-index: 9999;
    top: 100%;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition:0.3s;
    transition: 0.3s;
}

#g_navi .menu li ul li{
    width: 100%;
}
#g_navi .menu li ul li a{
    width: 160px;
    display: block;
    padding: 13px 2px;
    border-top: 1px solid #222222;
    font-size: 1.4rem;
    line-height: 1.5;
    background: #222;
    color: #FFF;
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    opacity: 0.95;
    filter: alpha(opacity=95);
    visibility: hidden;
    opacity: 0;
    -webkit-transition:.5s;
    transition: .5s;
}

#g_navi .menu li ul li a:hover{
    background: #808080;
    color: #FFF;
    text-decoration: underline;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
}

#g_navi .menu li:hover ul{
    visibility: visible;
    opacity: 0.95;
}

#g_navi .menu li:hover ul li a{
    visibility: visible;
    opacity: 1;
}


/****************************************

ティーザー

*****************************************/

/* TOPスライダー共通 */

@media print, screen and (min-width: 768px) {
    #slider {
        position: relative;
        width: 100%;
        height: 760px;
        margin: 0 auto;
    }
    
    #slider img{
        position: absolute;
        width: 1920px !important;
        height: auto;
        top: 0;
        left: calc(50% - 960px);
    }
    
    .metaslider .flex-control-nav{
        bottom: -110px !important;
    }
    
    .flex-direction-nav{
        padding-top: 845px !important;
    }
    
    #mv {
        position: relative;
        width: 100%;
        height: 280px;
        margin: 0 auto;
    }
    
    #mv img{
        position: absolute;
        width: 1920px;
        top: 0;
        left: calc(50% - 960px);
    }
    
}


@media screen and (max-width: 767px) {
    
    #slider,#mv{
        position: relative;
    }
    
    .top_mv {
        position: absolute;
        top: 0;
        left: 0;
    }
    
    #mv img {
        width: 1920px;
        height: 150px;
        object-fit: cover;
        left: calc(50% - 960px);
    }
    
    
    .metaslider .flex-control-nav{
        bottom: 10px !important;
    }
    
    .metaslider .flexslider{
        margin: 0 !important;
    }
    
    
}


/****************************************

content 共通設定

*****************************************/

#contents{
    width: 100%;
    margin: 0 auto;
}

main#top_main{
    width: 100%;
    margin: 0 auto;
    background: url(images/top_box01_bg.jpg) top center no-repeat;
}

main#page_main{
    background: url(images/page_main_bg.jpg) top center no-repeat;
}

.page_main_wrapper{
    width: 1020px;
    margin: 0 auto 100px;
    
}

.breadcrumb_area{
    width: 100%;
    padding: 10px 0 30px;
    text-align: right;
}

.breadcrumb{
    
}

.breadcrumb p{
    color: #262626;
    font-size: 1.5rem;
}
.breadcrumb p a:link,
.breadcrumb p a:visited{
    color: #262626;
    text-decoration: none;
}
.breadcrumb p a:hover,
.breadcrumb p a:active{
    color: #B00105;
    text-decoration: underline;
}

@media screen and (min-width: 768px) {

    .pc_none{
        display: none;
    }

}

@media screen and (max-width: 767px) {
    
    main#top_main{
        padding: 0 10px;
        margin: 0 auto 50px;
    }

    main#page_main{
        width: 100%;
        padding: 0 10px;
        margin: 0 auto 50px;
    }

    .page_main_wrapper {
        width: 100%;
        margin-bottom: 50px;
    }
    
    .breadcrumb_area {
        padding: 10px 0;
        margin: 0 auto;
    }

    .breadcrumb{
        width: 100%;
    }

    .breadcrumb p{
        font-size: 1.2rem;
    }
    
    .sp_none{
        display: none;
    }
    
}


/****************************************

contentトップ用

*****************************************/

/* 1カラム目 */
.top_box01 {
    width: 100%;
    height: auto;
    text-align: center;
    padding: 100px calc((100% - 1040px) / 2) 90px;
}

.top_box01_tit01 {
    font-size: 3.4rem;
    color: #202020;
    font-weight: bold;
    margin-bottom: 40px;
}

.top_box01_tit01 span {
    font-size: 4.0rem;
    color: #B00005;
}

.top_box01_txt {
    margin-bottom: 40px;
}

.top_box01_tit02 {
    background: url(images/top_box01_tit02_bg.png) center no-repeat;
    color: #FFF;
    padding: 10px;
    margin-bottom: 25px;
}

.top_box01 ul {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.top_box01 li {
    margin-right: 20px;
}

.top_box01 li:last-child {
    margin-right: 0px;
}

/* 2カラム目 */

.top_box02{
    width: calc(100% - 120px);
    margin: 0 auto 100px;
    display: flex;
    justify-content: space-around;
}

.top_box02_inner {
    position: relative;
    width: calc((100% - 90px) / 3);
    height: 420px;
    padding: 80px 50px;
    margin-right: 30px;
    text-align: center;
    color: #FFF;
}

.top_box02_inner:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    bottom: 0;
    left: 0;
    transition: .3s;
}

.top_box02_inner:hover:before {
    background: rgba(0, 0, 0, 0.35);
}

.top_box02_inner:after {
    position: absolute;
    content: '';
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.3);
    top: 15px;
    left: 15px;
}

.top_box02_inner:nth-child(1) {
    background: url(images/top_box02_inner01_bg.jpg) center no-repeat;
}

.top_box02_inner:nth-child(2) {
    background: url(images/top_box02_inner02_bg.jpg) center no-repeat;
}

.top_box02_inner:nth-child(3) {
    background: url(images/top_box02_inner03_bg.jpg) center no-repeat;
    margin-right: 0;
}

.top_box02_inner:nth-child(1) h2 {
    background: url(images/top_box02_tit_bg01.png) top center no-repeat;
}

.top_box02_inner:nth-child(2) h2 {
    background: url(images/top_box02_tit_bg02.png) top center no-repeat;
}

.top_box02_inner:nth-child(3) h2 {
    background: url(images/top_box02_tit_bg03.png) top center no-repeat;
}

.top_box02_inner a {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    z-index: 3;
}

.top_box02_tit{
    width: 100%;
    font-size: 3.4rem;
    color: #fff;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    padding-top: 50px;
}

.top_box02_tit span{
    display: block;
    font-size: 1.6rem;
}

.top_box02_txt {
    position: relative;
    z-index: 2;
}

.top_box02_content{
    width: 100%;
    padding: 45px 50px 50px;
    background-color: rgba(255,255,255,0.9);
}

.top_box02_txt{
    margin-bottom: 30px;
}


/* 3カラム目 */

.top_box03{
    width: 100%;
    height: auto;
    color: #fff;
    text-align: center;
    padding: 0 calc((100% - 1040px) / 2);
    background: url(images/top_box03_bg.jpg) center no-repeat;
}

.top_box03_tit{
    width: 100%;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 100px;
    font-size: 3.2rem;
    position: relative;
    display: inline-block;
}

.top_box03_tit:before,.top_box03_tit:after {
    content: '';
    position: absolute;
    top: 80%;
    display: inline-block;
    width: 25%;
    height: 2px;
    background-color: #FFF;
}

.top_box03_tit:before {
    left: 25px;
    background: linear-gradient(-90deg, #fff, transparent);
}

.top_box03_tit:after {
    right: 25px;
    background: linear-gradient(90deg, #fff, transparent);
}

.top_box03_txt {
    margin-bottom: 10px;
}

.top_box03_tel {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.2rem;
    font-family: Montserrat;
    margin-bottom: 20px;
}

.top_box03_tel img {
    width: 26px;
    height: 26px;
    margin-right: 10px;
}

.top_box03_tel p {
    font-size: 3.2rem;
    font-family: Montserrat;
    font-weight: bold;
}

.top_box03_btn {
    display: flex;
    justify-content: center;
    padding-bottom: 100px;
}


@media screen and (min-width: 768px) {
    
}

@media screen and (max-width: 767px) {
    
    .top_box01{
        padding: 30px 10px;
    }

    .top_box01_tit01{
        font-size: 2.3rem;
        margin-bottom: 20px;
    }

    .top_box01_tit01 span{
        font-size: 2.8rem;
    }
    
    .top_box01_txt {
        margin-bottom: 20px;
        text-align: left;
    }

    .top_box01_tit02 {
        background-size: contain;
        font-size: 1.7rem;
        margin-bottom: 10px;
    }

    .top_box01 ul {
        flex-wrap: wrap;
        justify-content: normal;
        margin-bottom: 20px;
    }
    
    .top_box01 li {
        width: 50%;
        margin-right: 0;
    }
    
    .top_box02{
        display: block;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .top_box02_inner {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .top_box02_tit{
        font-size: 2.6rem;
    }

    .top_box02_tit span{
        font-size: 1.8rem;
    }
    
    .top_box03{
        margin-bottom: 50px;
        padding: 20px 10px;
    }

    .top_box03_tit{
        margin-bottom: 10px;
        padding: 0;
        font-size: 2.0rem;
    }
    
    .top_box03_tit:before,.top_box03_tit:after {
        background: none;
    }
    
    .top_box03_txt {
        text-align: left;
        padding: 0 10px;
    }
    
    .top_box03_tel p {
        font-size: 2.4rem;
    }
    
    .top_box03_tel img {
        margin-right: 0;
    }
    
    .top_box03_btn {
        padding-bottom: 0;
        display: block;
    }
}

/****************************************

news トップ用

*****************************************/

#news_box{
    width: 1020px;
    margin: 0 auto 100px;
}

.news_box_inner {
    display: flex;
    margin-bottom: 50px;
}

.news_tit{
    line-height: 1.2;
    color: #B00005;
    font-size: 3.6rem;
    margin-right: 50px;
    font-family: Montserrat;
}

.news_tit span{
    display: block;
    margin-top: 10px;
    font-size: 1.6rem;
    color: #212121;
}

.news_post{
    width: 100%;
    height: 700px;
    padding-right: 20px;
    overflow-y: scroll;
}

.news_list{
    width: 100%;
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dotted #999999;
}

.news_list_date {
    font-size: 1.6rem;
    margin-right: 20px;
}

.news_list_red {
    width: 80px;
    height: 25px;
    color: #FFF;
    font-size: 1.2rem;
    background-color: #B00105;
    padding: 3px 20px;
    font-family: Montserrat;
    font-weight: bold;
}

.news_list_black {
    width: 80px;
    height: 25px;
    color: #FFF;
    font-size: 1.2rem;
    background-color: #222222;
    padding: 3px 20px;
    font-family: Montserrat;
    font-weight: bold;
}


.news_list_tit{
    width: 100%;
    padding-left: 20px;
    color: #333333;
    font-size: 1.8rem;
    font-weight: bold;
}

.news_list_tit a {
    text-decoration: none;
}

.news_list_tit a:hover {
    text-decoration: underline;
}

.news_list_txt{
    font-size: 1.4rem;
    padding-left: 20px;
}

@media screen and (min-width: 768px) {

}

@media screen and (max-width: 767px) {
    
    #news_box {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .news_box_inner {
        display: block;
    }
    
    .news_tit {
        text-align: center;
        margin-right: 0;
        margin-bottom: 20px;
        font-size: 3.0rem
    }
    
    .news_tit span {
        font-size: 1.4rem;
        margin-top: 0;
    }

    .news_list{
        display: block;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .news_list_red,.news_list_black {
        margin: 10px 0;
    }
    
    .news_list_tit {
        margin-bottom: 5px;
        padding: 0;
    }
    
    .news_list_txt {
        padding: 0;
    }
    
}


/****************************************

content下層用

*****************************************/

/* 全ページ共通　フレックスボックス*/
.flex{
    display: flex;
    justify-content: space-between;
}

.flex_r{
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

@media screen and (max-width: 767px) {
    .flex,
    .flex_r{
        flex-direction: column;
    }
}


/* 全ページ共通*/
.txt560 {
    width: 560px;
}



/* コンセプト */

.concept_box01 ul {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.concept_box01 ul img {
    margin-bottom: 10px;
}

.concept_box01 ul p {
    font-size: 1.8rem;
    font-weight: bold;
}


/* 業務内容 */

.contents_box01 {
    margin-bottom: 65px;
}

.contents_box01_wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contents_box01_inner {
    margin-bottom: 25px;
}

.contents_box01_inner img {
    margin-bottom: 10px;
}

.contents_box01_inner p {
    margin-bottom: 20px;
}

#spot,#route,#charter,#moving,#cool,#insurance{
    margin-bottom: 40px;
}



/* 料金案内 */

.price_txt {
    text-align: center;
    margin-bottom: 30px;
}

.price_box01,.price_box02{
    margin-bottom: 30px;
}


/* 保有車両 */

.vehicle_txt {
    text-align: center;
    margin-bottom: 30px;
}

.vehicle_box01,.vehicle_box02,.vehicle_box03,.vehicle_box04 {
    margin-bottom: 40px;
}

.vehicle_box01_inner,.vehicle_box02_inner,.vehicle_box03_inner,.vehicle_box04_inner {
    margin-bottom: 30px;
}

.vehicle_box01 ul img,.vehicle_box02 ul img,.vehicle_box03 ul img,.vehicle_box04 ul img {
    margin-bottom: 10px;
}

.vehicle_box01 ul p,.vehicle_box02 ul p,.vehicle_box03 ul p,.vehicle_box04 ul p {
    text-align: center;
    margin-bottom: 10px;
}


/* お見積もり お問い合わせ*/

.estimate_box01,.contact_box01 {
    margin-bottom: 30px;
}

.estimate_txt,.contact_txt {
    text-align: center;
    line-height: 1.7;
    margin-bottom: 20px;
}

.estimate_tel,.contact_tel {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Montserrat;
    color: #B00105;
    font-weight: bold;
}

.estimate_tel p,.contact_tel p {
    font-size: 2.6rem;
}


.estimate_tel img,.contact_tel img {
    width: 22px;
    height: 22px;
    margin-right: 5px;
}

.privacypolicy {
    width: 100%;
    background-color: rgba(242,241,236,0.65);
    text-align: center;
    padding: 30px 0;
    margin-bottom: 50px;
}

.privacypolicy dt {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.privacypolicy p {
    font-size: 1.5rem;
    line-height: 2.0;
}

/* 会社情報 */

.overview_box01,.overview_box02 {
    margin-bottom: 50px;
}


/* ブログ */

.blog_box01 {
    margin-bottom: 30px;
}

.blog_box01 img {
    max-width: 420px;
    max-height: 340px;
}

/* 投稿 */

.position_relative{
    position: relative;
}

.post_banner{
    position: absolute;
    width: 290px;
    height: auto;
    bottom: 0;
    right: 0;
}

/* 3列投稿 */

.three_column_post{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.three_column_parts{
    width: 320px;
    height: auto;
    margin: 0 40px 40px 0;
}

@media screen and (min-width: 768px) {
    
    /* 投稿 */

    .blog_post_parts figure{
        position: relative;
        width: 400px;
        height: 320px;
        overflow: hidden;
    }

    .blog_post_parts figure img{
        position: absolute;
        width: auto;
        height: 100%;
        top: 0;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    
    /* 3列投稿 */

    .three_column_post .three_column_parts:nth-child(3n){
        margin-right: 0;
    }
    
    .three_column_img{
        width: 100%;
        height: 270px;
        margin-bottom: 10px;
        padding: 4px;
        border: 1px solid #CCC;
        background-color: #FFF;
    }

    .three_column_parts figure{
        position: relative;
        width: 100%;
        height: 260px;
        overflow: hidden;
    }

    .three_column_parts figure img{
        position: absolute;
        width: auto;
        height: 100%;
        top: 0;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    
}

@media screen and (max-width: 767px) {
    
    /* 全体 */
    .txt560 {
        width: 100%;
        margin-bottom: 20px;
    }

    /* 業務内容 */
    .contents_box01_wrapper {
        display: block;
    }

    
    /* 料金案内 */
    .price_txt {
        text-align: left;
    }
    
    /* 保有車両 */
    .vehicle_txt {
        text-align: left;
    }
    
    .vehicle_box01_inner, .vehicle_box02_inner, .vehicle_box03_inner, .vehicle_box04_inner {
        margin-bottom: 0;
    }
    
    .vehicle_box01_inner img, .vehicle_box02_inner img, .vehicle_box03_inner img, .vehicle_box04_inner img {
        margin-bottom: 10px;
    }
    
    /* お見積もり お問い合わせ*/
    .estimate_txt,.contact_txt {
        text-align: left;
    }
    
    .privacypolicy dd {
        padding: 0 10px;
        text-align: left;
    }
    
    /* ブログ */
    .btn_box_wrapper {
        padding-bottom: 50px;
    }
    
    /* 3列投稿 */

    .three_column_post{
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
    }

    .three_column_parts{
        width: 48%;
        margin: 0 4% 30px 0;
    }
    
    .three_column_post .three_column_parts:nth-child(2n){
        margin-right: 0;
    }

    .three_column_img{
        width: 100%;
        height: auto;
        margin-bottom: 10px;
        padding: 4px;
        border: 1px solid #CCC;
        background-color: #FFF;
    }

    .three_column_parts figure{
        position: relative;
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .three_column_parts figure img{
        position: absolute;
        width: auto;
        height: 100%;
        top: 0;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    
    /* 投稿 */

    .position_relative{
        position: static;
    }

    .post_banner{
        position: static;
        width: 100%;
        height: auto;
        bottom: 0;
        right: 0;
    }
    
    .blog_post_parts{
        padding: 20px;
        border: 1px solid #CACACA;
        background-color: #ECECEC;
    }
    
    .blog_post_parts figure{
        position: relative;
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .blog_post_parts figure img{
        position: absolute;
        width: 100%;
        height: auto;
        top: 50%;
        left: 0;
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        transform: translate(0, -50%);
    }
    
    .post_txt{
        margin: 10px 0;
    }
    
}

/****************************************

single.php

*****************************************/

h1.single_headline{
    padding-bottom: 15px;
    margin-bottom: 45px;
    font-size: 2.4rem;
    line-height: 1.5;
    text-align: center;
    border-bottom: 1px solid #DDD;
}

#single_box img{
    max-width: 100%;
    height: auto;
    padding: 10px 0;
}

.nav-below{
    margin: 50px 0;
    font-size: 100%;
    text-align: center;
}

@media screen and (max-width: 767px) {

    h1.single_headline{
        margin-bottom: 30px;
    }

    #single_box img{
        max-width: 100%;
        padding: 10px 0;
    }
}



/****************************************

投稿　pager設定

*****************************************/

.pager{
    clear:both;
    text-align:center;
    padding: 20px 0;
}

a.page-numbers,
.pager .current{
    background:rgba(0,0,0,0.02);
    border:solid 1px rgba(0,0,0,0.1);
    border-radius:5px;
    padding:5px 8px;
    margin:0 2px;
    font-size: 1.4rem;
}
.pager .current{
    background:rgba(0,0,0,1);
    border:solid 1px rgba(0,0,0,1);
    color:rgba(255,255,255,1);
}


@media screen and (max-width: 767px) {

    .pager{
        padding: 30px 0;
    }
}



/****************************************

sp_footer

*****************************************/

@media screen and (max-width: 767px) {

    #pc_footer{
        display: none;
    }

    .sp_bana{
        display: flex;
        justify-content: space-between;
        position: fixed;
        width: 100%;
        height: 60px;
        bottom: 0;
        left: 0;
        z-index: 4;
    }
    
    .sp_bana div{
        position: relative;
        width: 25%;
        background: #B00105;
        border-top: 1px solid #FFF;
    }
    
    .sp_bana div:nth-child(4){
        background: #222222;
    }
    
    .sp_bana div:not(:last-child){
        border-right: 1px solid #FFF;
    }
    
    .sp_bana div img{
        width: auto;
        margin-bottom: 7px;
    }
    .sp_bana div p{
        color: #FFF;
        font-size: 1.2rem;
        line-height: 1;
        text-align: center;
    }
    
    .sp_bana a{
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }
    
    .copyright {
        padding: 25px 0 80px;
        text-align: center;
        background: #B00105;
        color: #FFF;
        font-size: 1.2rem;
    }
}


/****************************************

pc_footer

*****************************************/
@media print, screen and (min-width: 768px) {
    #sp_footer{
        display: none;
    }

    #pc_footer{
        position: relative;
        width: 100%;
    }

    .pagetop{
        position: fixed;
        z-index: 4;
        right: 0;
        bottom: 0;
    }
    
    .footer_box{
        width: 100%;
        height: auto;
        text-align: center;
        padding: 36px calc((100% - 1040px) / 2) 20px;
        background-color: #222222;
    }
    
    .footer_content{
        margin-bottom: 40px;
    }
    
    .footer_logo {
        margin-bottom: 30px;
    }
    
    .txtlink{
        color: #FFF;
        font-size: 1.5rem;
    }
    
    .txtlink a {
        color: #FFF;
        text-decoration: none;
    }
    
    .txtlink a:hover {
        text-decoration: underline;
    }
    
    .copyright_area{
        text-align: center;
        padding: 2px 0;
    }
    
    .copyright_area p{
        color: #FFF;
        font-size: 1.2rem;
    }
    
}


/****************************************

sidebar/aside

*****************************************/

    
/* 1カラム目 */

    .bottom_box01{
        width: calc(100% - 120px);
        margin: 0 auto 100px;
        display: flex;
        justify-content: space-around;
    }

    .bottom_box01_inner {
        position: relative;
        width: calc((100% - 90px) / 3);
        height: 420px;
        padding: 80px 50px;
        margin-right: 30px;
        text-align: center;
        color: #FFF;
    }

    .bottom_box01_inner:before {
        position: absolute;
        content: "";
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.65);
        bottom: 0;
        left: 0;
        transition: .3s;
    }

    .bottom_box01_inner:hover:before {
        background: rgba(0, 0, 0, 0.35);
    }
    
    .bottom_box01_inner:after {
        position: absolute;
            content: '';
        width: calc(100% - 30px);
        height: calc(100% - 30px);
        box-sizing: border-box;
        border: 1px solid rgba(255, 255, 255, 0.3);
        top: 15px;
        left: 15px;
    }
    
    .bottom_box01_inner:nth-child(1) {
        background: url(images/top_box02_inner01_bg.jpg) center no-repeat;
    }
    
    .bottom_box01_inner:nth-child(2) {
        background: url(images/top_box02_inner02_bg.jpg) center no-repeat;
    }
    
    .bottom_box01_inner:nth-child(3) {
        background: url(images/top_box02_inner03_bg.jpg) center no-repeat;
        margin-right: 0;
    }
    
    .bottom_box01_inner:nth-child(1) h2 {
        background: url(images/top_box02_tit_bg01.png) top center no-repeat;
    }
    
    .bottom_box01_inner:nth-child(2) h2 {
        background: url(images/top_box02_tit_bg02.png) top center no-repeat;
    }
    
    .bottom_box01_inner:nth-child(3) h2 {
        background: url(images/top_box02_tit_bg03.png) top center no-repeat;
    }
    
    .bottom_box01_inner a {
        position: absolute;
        width: 100%;
        height: 100%;
        bottom: 0;
        left: 0;
        z-index: 3;
    }
    
    .bottom_box01_tit{
        width: 100%;
        font-size: 3.4rem;
        color: #fff;
        margin-bottom: 40px;
        position: relative;
        z-index: 2;
        padding-top: 50px;
    }
    
    .bottom_box01_tit span{
        display: block;
        font-size: 1.6rem;
    }
    
    .bottom_box01_txt {
        position: relative;
        z-index: 2;
    }
    
    .bottom_box01_content{
        width: 100%;
        padding: 45px 50px 50px;
        background-color: rgba(255,255,255,0.9);
    }
    
    .bottom_box01_txt{
        margin-bottom: 30px;
    }
        
    
    /* 2カラム目 */

    .bottom_box02{
        width: 100%;
        height: auto;
        color: #fff;
        text-align: center;
        padding: 0 calc((100% - 1040px) / 2);
        background: url(images/top_box03_bg.jpg) center no-repeat;
    }

    .bottom_box02_tit{
        width: 100%;
        color: #fff;
        text-align: center;
        margin-bottom: 30px;
        padding-top: 100px;
        font-size: 3.2rem;
        position: relative;
        display: inline-block;
    }
    
    .bottom_box02_tit:before,.bottom_box02_tit:after {
        content: '';
        position: absolute;
        top: 80%;
        display: inline-block;
        width: 25%;
        height: 2px;
        background-color: #FFF;
}

    .bottom_box02_tit:before {
        left: 25px;
        background: linear-gradient(-90deg, #fff, transparent);
}

    .bottom_box02_tit:after {
        right: 25px;
        background: linear-gradient(90deg, #fff, transparent);
}

    .bottom_box02_txt {
        margin-bottom: 10px;
    }

    .bottom_box02_tel {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 3.2rem;
        font-family: Montserrat;
        margin-bottom: 20px;
    }

    .bottom_box02_tel img {
        width: 26px;
        height: 26px;
        margin-right: 10px;
    }

    .bottom_box02_tel p {
        font-size: 3.2rem;
        font-family: Montserrat;
        font-weight: bold;
    }

    .bottom_box02_btn {
        display: flex;
        justify-content: center;
        padding-bottom: 100px;
    }

    
@media screen and (max-width: 767px) {
    
    aside {
        padding: 0 10px;
    }
    
    .bottom_box01 {
        display: block;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .bottom_box01_inner {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .bottom_box01_tit{
        font-size: 2.6rem;
    }
    

    .bottom_box02 {
        margin-bottom: 50px;
        padding: 20px 10px;
    }

    .bottom_box02_tit{
        margin-bottom: 10px;
        padding: 0;
        font-size: 2.0rem;
    }
    
    .bottom_box02_tit:before,.bottom_box02_tit:after {
        background: none;
    }
    
    .bottom_box02_txt {
        text-align: left;
        padding: 0 10px;
    }
    
    .bottom_box02_tel p {
        font-size: 2.4rem;
    }
    
    .bottom_box02_tel img {
        margin-right: 0;
    }
    
    .bottom_box02_btn {
        padding-bottom: 0;
        display: block;
    }
}


/****************************************

タイトル

*****************************************/

/* 下層ページ共通見出し */

.headline{
    position: relative;
    width: 100%;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
    padding-top: 20px;
    color: #333333;
    font-size: 2.8rem;
    background: url(images/headline_bg.jpg) top center no-repeat;
    
}

.headline span{
    display: block;
    font-size: 1.5rem;
    margin-top: 5px;
}

.subhead01 {
    width: 100%;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.subhead01:before {
    position: absolute;
    content: '';
    background: url(images/subhead01_bg.png) center left no-repeat;
    width: 50px;
    height: 25px;
    top: 35px;
    left: 30%;
}


.concept_box01_span01 {
    font-size: 5.0rem;
    color: #B00005;
    font-family: Montserrat;
}

.concept_box01_span02 {
    font-size: 4.2rem;
    color: #B00005;
}

.subhead02{
    line-height: 1.2;
    color: #000000;
    font-size: 2.0rem;
    margin-bottom: 20px;
    padding: 20px;
    border-bottom: 1px dotted #333333;
    text-align: left;
    background: url(images/subhead02_bg.jpg) center left no-repeat;
}

.subhead03{
    line-height: 1.2;
    color: #FFF;
    font-size: 2.0rem;
    font-weight: normal;
    margin-bottom: 20px;
    padding: 18px 0;
    background: url(images/subhead03_bg.jpg) center no-repeat;
    text-align: center;
}

.subhead04{
    line-height: 1.2;
    color: #000000;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding: 20px 0 20px 16px;
    background-color: #EEEEEE;
    text-align: center;
}

@media screen and (max-width: 767px) {
    
    .headline{
        font-size: 2.2rem;
        margin-bottom: 10px;
    }

    .headline span{
        font-size: 1.1rem;
    }
    
    .subhead01 {
        margin-bottom: 0;
    }
    
    .subhead01:before {
        top: 0;
        left: calc(50% - 145px)
    }

    .subhead02{
        font-size: 1.7rem;
        padding: 19px 0 19px 19px;
    }
    
    .subhead03{
        font-size: 1.6rem;
        padding: 15px 0 15px 15px;
    }

    .subhead04{
        font-size: 1.7rem;
        margin-bottom: 20px;
        padding: 15px 0 15px 16px;
        background-color: #F4F4F4;
    }
    
}


/****************************************

共通div

*****************************************/

.mb10{
    margin-bottom: 10px;
}
.mb20{
    margin-bottom: 20px;
}
.mb30{
    margin-bottom: 30px;
}
.mb40{
    margin-bottom: 40px;
}
.mb50{
    margin-bottom: 50px;
}
.mb60{
    margin-bottom: 60px;
}
.mb70{
    margin-bottom: 70px;
}
.mb80{
    margin-bottom: 80px;
}
.mb90{
    margin-bottom: 90px;
}
.mb100{
    margin-bottom: 100px;
}

@media screen and (max-width: 767px){

    .mb40{
        margin-bottom: 30px;
    }
    .mb50{
        margin-bottom: 30px;
    }
    .mb60,.mb70,.mb80,.mb90,.mb100{
        margin-bottom: 50px;
    }

}

/****************************************

テーブル

*****************************************/

/* 業務内容 */

.contents_box02_table {
    width: 100%;
    border-collapse: collapse;
}

.contents_box02_table th{
    width: 50%;
    line-height: 1.5;
    padding: 13px 20px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: normal;
    border: 1px solid #CCCCCC;
    text-align: left;
    vertical-align: text-top;
    background-color: #EEEEEE;
}

.contents_box02_table td{
    width: 50%;
    line-height: 1.5;
    padding: 13px 20px;
    color: #000000;
    font-size: 1.6rem;
    border: 1px solid #CCCCCC;
    text-align: left;
    vertical-align: text-top;
    background-color: #FFF;
}


/* 料金案内 */

.price_table01 {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    table-layout: fixed;
}

.price_table01 th{
    width: 25%;
    line-height: 1.5;
    padding: 13px 20px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: normal;
    border: 1px solid #CCCCCC;
    vertical-align: middle;
    background-color: #EEEEEE;
}

.price_table01 td{
    width: 25%;
    line-height: 1.5;
    padding: 13px 0;
    color: #000000;
    font-size: 1.6rem;
    border: 1px solid #CCCCCC;
    vertical-align: middle;
    background-color: #FFF;
    text-align: center;
}

.price_table02 {
    width: 100%;
}

.price_table02 th{
    width: 50%;
    line-height: 1.5;
    padding: 13px 20px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: normal;
    border: 1px solid #CCCCCC;
    vertical-align: middle;
    background-color: #EEEEEE;
}

.price_table02 td{
    width: 50%;
    line-height: 1.5;
    padding: 13px 20px;
    color: #000000;
    font-size: 1.6rem;
    border: 1px solid #CCCCCC;
    text-align: center;
    vertical-align: middle;
    background-color: #FFF;
}


/* 保有車両 */

.vehicle_table {
    width: 100%;
    border-collapse: collapse;
}

.vehicle_table th{
    width: 33%;
    line-height: 1.5;
    padding: 13px 20px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: normal;
    border: 1px solid #CCCCCC;
    vertical-align: middle;
    text-align: left;
    background-color: #EEEEEE;
}

.vehicle_table td{
    width: 64%;
    line-height: 1.5;
    padding: 13px 20px;
    color: #000000;
    font-size: 1.6rem;
    border: 1px solid #CCCCCC;
    text-align: left;
    vertical-align: middle;
    background-color: #FFF;
}


/* 会社情報 */

.overview_table{
    width: 100%;
    border-collapse: collapse;
}


.overview_table th{
    width: 33%;
    padding: 13px 20px;
    color: #000000;
    font-size: 1.6rem;
    font-weight: normal;
    border: 1px solid #CCCCCC;
    text-align: left;
    vertical-align: middle;
    background-color: #EEEEEE;
}

.overview_table td{
    width: 67%;
    padding: 13px 20px;
    color: #000000;
    font-size: 1.6rem;
    border: 1px solid #CCCCCC;
    text-align: left;
    vertical-align: text-top;
    background-color: #FFF;
}

@media screen and (max-width: 767px){
    
    .overview_table th,.entry_table th{
        display: block;
        width: 100%;
        padding: 10px 13px;
        border-bottom: none;
    }
    
    .overview_table td,.entry_table td{
        display: block;
        width: 100%;
        padding: 10px 13px;
    }
    
    .overview_table tr:not(:last-child) td,.entry_table tr:not(:last-child) td{
        margin-bottom: 15px;
    }

}

/****************************************

P

*****************************************/

/* 改行 */
.line_break{
    padding-top: 20px;
}

@media print, screen and (min-width: 768px){
    .br-pc { display:block; }
    .br-sp { display:none; }
}
@media screen and (max-width: 767px){
    .br-pc { display:none; }
    .br-sp { display:block; }
}

/* 強調*/
.bold{
    font-weight: bold;
}

.txt_center{
    text-align: center;
}

.txt_right{
    text-align: right;
}

.red{
    color: #990000;
}

/****************************************

ボタン

*****************************************/

/* 赤色ボタン 四角 */

.btn_box01{
    width: 300px;
    background: url(images/btn_box01_bg.jpg);
    text-align: center;
    margin: 0 auto;
}

.btn_box01:hover{
    background: url(images/btn_box01_bg_hover.jpg);
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.btn_box01 a{
    display: inline-block;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #FFF;
    font-size: 1.5rem;
    text-decoration: none;
}


.btn_box01 a:after{
    position: absolute;
    content: '';
    right: 20px;
    top: 38%;
    width: 10px;
    height: 10px;
    border-top: 1px solid #FFF;
    border-right: 1px solid #FFF;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: right .3s;
}

.btn_box01 a:hover:after {
    right: 15px;
}

/* 白枠ボタン */

.btn_box02{
    position: relative;
    width: 220px;
    height: 45px;
    border: 2px solid #FFF;
    text-align: center;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.btn_box03{
    position: relative;
    width: 360px;
    height: 80px;
    border: 2px solid #FFF;
    text-align: center;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.btn_box03:nth-child(1) {
    margin-right: 30px;
}


.btn_box02 a {
    display: inline-block;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 8px 0;
    color: #FFF;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transition-delay: .2s;
    -o-transition-delay: .2s;
    transition-delay: .2s;
}

.btn_box03 a {
    display: inline-block;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 22px 0;
    color: #FFF;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transition-delay: .2s;
    -o-transition-delay: .2s;
    transition-delay: .2s;
}

.btn_box02 a:hover,.btn_box03 a:hover {
    box-shadow: 0 0 30px rgba(255, 255, 255, .6) inset;
}

.btn_box02 a:after {
    position: absolute;
    content: '';
    right: 10px;
    top: 42%;
    width: 5px;
    height: 5px;
    border-top: 1px solid #FFF;
    border-right: 1px solid #FFF;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transition-delay: .2s;
    -o-transition-delay: .2s;
    transition-delay: .2s;
}

.btn_box03 a:after {
    position: absolute;
    content: '';
    right: 10px;
    top: 42%;
    width: 10px;
    height: 10px;
    border-top: 1px solid #FFF;
    border-right: 1px solid #FFF;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transition-delay: .2s;
    -o-transition-delay: .2s;
    transition-delay: .2s;
}

.btn_box02 a:hover:after,.btn_box03 a:hover:after {
    right: 7px;
}


/* 赤色ボタン 丸角 */

.btn_box04 {
    width: 200px;
    background: url(images/btn_box04_bg.png) no-repeat;
    text-align: center;
    margin: 0 auto;
}

.btn_box04:hover {
    background: url(images/btn_box04_bg_hover.png) no-repeat;
  filter: alpha(opacity=80);
  -moz-opacity: 0.8;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.btn_box04 a {
    display: inline-block;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 7px;
    color: #FFF;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}


.btn_box04 a:after {
    position: absolute;
    content: '';
    right: 20px;
    top: 30%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: right .3s;
}

.btn_box04 a:hover:after {
    right: 15px;
}


.btn_box_wrapper {
    position: relative;
}

.btn_box_wrapper div {
    position: absolute;
    bottom: 0;
    right: 0;
}


@media screen and (max-width: 767px){

    .btn_box01,.btn_box03{
        width: 100%;
        margin-bottom: 10px;
    }
    
    .btn_box03:nth-child(1) {
        margin-right: 0;
    }

}

/****************************************

Contact Form7

*****************************************/

.wpcf7{
    width: 100%;
}

.form_row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 30px;
    padding: 0 20px 30px 20px;
    border-bottom: 1px dotted #AAA;
}

.form_row .form_label{
    width: 300px;
}

.form_row .form_label .required{
    display: inline-block;
    color: #FFF;
    font-weight: normal;
    font-size: 1.2rem;
    padding: 0 4px;
    background: #CC0000;
    margin-right: 10px;
    border-radius: 3px;
}

.form_row .form_label .any{
    display: inline-block;
    color: #797979;
    font-weight: normal;
    font-size: 1.2rem;
    padding: 0 4px;
    background: #D7D7D7;
    margin-right: 10px;
    border-radius: 3px;
}

.form_row .form_input{
    width: calc(100% - 300px);
}

.wpcf7-form-control{
    width: 100%;
}

.wpcf7-form input{
    padding: 10px;
    border: 1px solid #CCC;
    border-radius: 3px;
}

.wpcf7-form textarea{
    padding: 10px;
    border: 1px solid #CCC;
    border-radius: 3px;
}

.form_row .form_input_post{
    width: 180px;
}

.form_row .form_input_post_txt{
    color: #B20000;
    font-weight: normal;
    font-size: 1.3rem;
}

.form_row .last_row{
    padding-bottom: 0;
    border-bottom: none;
}

.tc{
    text-align: center;
}

.tc input[type=submit]{
    cursor: pointer;
    width: 360px;
    max-width: 100%;
    padding: 18px;
    border: 1px solid #AAA;
    border-radius: 8px;
    background-color: #666;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    margin: 10px auto 0;
}

.wpcf7 .tc input[type=submit]:hover{
    background-color: #CCC;
    color: #333;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}

.wpcf7-response-output{
    font-size: 1.6rem;
}

@media screen and (max-width: 767px) {
    
    .form_row{
        flex-direction: column;
        padding: 0 0 20px 0;
    }

    .form_row .form_label{
        width: 100%;
        margin-bottom: 5px;
    }

    .form_row .form_input{
        width: 100%;
    }
    
    .ajax-loader {
        height: 0;
    }

}


/****************************************

clearfix

*****************************************/
.clearfix:after{
    content: ".";
    display: block;
    height: 0;
    font-size:0;
    clear: both;
    visibility:hidden;
}
.clearfix{
    display: inline-block;
}
/* Hides from IE Mac */
* html .clearfix{
    height: 1%;
}
.clearfix{
    display:block;
}

/* End Hack */



/****************************************

追加用

*****************************************/



