/*
	Theme Name: Rapt Design
    Author: rapt

 */
@import "style.min.css";
@import "theme.min.css";

a {
    outline: 0;
}

#w_page {
    height: 100%;
}

#main,
#home_page,
footer {
    width: 100%;
}

.site-header,
.home-header {
    width: 100%;
    clear: both;
    position: fixed;
    background: #fff;
    top: 0;
    z-index: 9999;
    padding: 0 0 10px 0;
}

.h_shadow {
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
    -ms-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

#main,
#home_page {
    margin: 220px auto 50px;
}
.single #main1{
    width: 90%;
    margin: 0 auto;
}

.home-header h1,
.site-header h1 {
    text-align: center;
    padding: 40px 0 30px;

}

.site-header nav ul {
    clear: both;
    margin: 0 auto;
    display: table;

}

.site-header nav ul li {
    float: left;
    margin: 0px 20px;
}

.site-header nav ul li a {
    padding: 5px;
    display: block;

}

.current_page_item a,
.current-menu-item a,
#menu-sidemenu .current-page-ancestor a
{
    color: #E5001A;
}

.secoundary_menu_s {
    position: fixed;
    right: 50px;
    top: 40px;
    text-align: right;
    z-index: 999999;
}

.secoundary_menu_s ul li {
    clear: both;
    margin: 10px 0;
}

.spnav_cont {
    display: none;
}


.page-content {
    padding: 50px 0 0;
    margin: 0 5% 5%;
}

.single-post .page-content a {
    text-decoration: underline;
    color: darkcyan;
}

#main article {
    float: left;
    width: 31.33%;
    margin: 1%;
    min-height: 310px;
}

article img {
    display: block;
    max-width: 100%;
    border-radius: 5px;
}

.post-thumbnail {
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
}

.post-thumbnail img {
    opacity: 1;
    display: block;
    margin: 0 auto;
    transition-duration: 1s;
}

.post-thumbnail:hover img {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
}

.single .post-thumbnail:hover img {
    opacity: 1;
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
}

article h3,
.wmle_item h3 {
    font-weight: normal;
    font-size: .9em;
    padding: 1em 0 0 0;
}

.wmle_item_holder p {
    margin: 0 15px 20px;
    padding: 0 0;
}

article p,
article p a,
.wmle_item_holder p,
.wmle_item_holder p a {
    font-size: .9em;
    color: #808080;
}

article p a:hover,
.wmle_item_holder p a:hove {
    color: #E5001A;
}

footer {
    margin: 0 auto;
}

.copy_r {
    width: 100%;
    position: fixed;
    bottom: 0;
    background: #fff;
    padding: 15px 0 0 0;
}

.copy_r p {
    text-align: center;
    padding: 0;
    color: #000;
}

.left_ft {
    writing-mode: vertical-rl;
    text-orientation: sideways;
    position: fixed;
    left: 1%;
    top: 25%;
}

.right_ft {
    position: fixed;
    right: 1%;
    top: 50%;
}

.right_ft ul li a {
    margin: 10px 0;
    display: block;
    transition-duration: .1s;
}

.right_ft ul li a:hover {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
}

.entry-title {
    margin: 0 auto 15px;
    font-size: 1.8em;
    font-weight: normal;
    text-align: center;
}

.entry-title-sl {
    margin: 0 auto 10px;
    font-size: 1.2em;
    font-weight: normal;
    text-align: center;
}

.single_cat {
    text-align: center;
    color: #808080;
    margin: 0 auto 25px;
    font-size: .9em;
}

.single_cat a {
    color: #808080;
}

#button16 {
    display: inline-block;
    background-color: #333;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
        opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#button16::after {
    content: "▲";
    font-weight: normal;
    font-style: normal;
    font-size: 1.5em;
    line-height: 50px;
    color: #fff;
}

#button16:hover {
    cursor: pointer;
    background-color: #E5001A;
}

#button16:active {
    background-color: #555;
}

#button16.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .copy_r {
        position: relative;
    }

    .wmle_loadmore {
        position: relative;
        margin-bottom: 0px;
    }
}


/*sp menu st*/

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

    #main,
    #home_page {
        margin: 20% 0% 2%;
        width: 100%;
    }
    
    #home_page #grid{
        width: 94%;
        max-width: 94%;
    }

    .page-content {
        padding: 2% 3% 0;
        margin: 0 0 2%;
    }

    .page-navigation,
    .secoundary_menu_s,
    .left_ft,
    .right_ft {
        display: none;
        position: absolute;
    }

    header {
        background: #fff;
        min-height: 50px;
    }

    header .site_title_lg {
        width: 35%;
        position: absolute;
        text-align: center;
        padding: 8px 0;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }

    header .site_title_lg img {
        max-height: 34px;
        width: auto;
    }

    header .spbtn {
        position: absolute;
        margin: 2% 0 0 0;
        right: 15px;
        display: block;
        width: 30px;
        height: 30px;
        float: right;
    }

    header .spbtn.selected {}

    header .spbtn span {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
    }

    header .spbtn span {
        position: absolute;
        left: 10%;
        width: 80%;
        height: 2px;
        background-color: #000;
    }

    header .spbtn span:nth-of-type(1) {
        top: 8px;
    }

    header .spbtn span:nth-of-type(2) {
        top: 50%;
    }

    header .spbtn span:nth-of-type(3) {
        bottom: 6px;
    }

    header .spbtn.selected span:nth-of-type(1) {
        -webkit-transform: translateY(7px) rotate(-45deg);
        transform: translateY(7px) rotate(-45deg);
    }

    header .spbtn.selected span:nth-of-type(2) {
        opacity: 0;
    }

    header .spbtn.selected span:nth-of-type(3) {
        -webkit-transform: translateY(-7px) rotate(45deg);
        transform: translateY(-7px) rotate(45deg);
    }

    header .spnav_cont {
        clear: both;
        border-top: 1px solid #e5e5e5;
        position: relative;
        width: 100%;
        top: 48px;
        right: 0;
        left: 0;
        bottom: 0;
        overflow-y: scroll;
        background: rgba(0, 0, 0, 0.9);
        display: none;
    }


    header #menu-nav_l {
        width: 100%;
        overflow: hidden;
        margin-top: 0;
        padding: 0 15px !important;
    }

    header #menu-nav_l li {
        float: none;
        width: 100%;
        border-bottom: 1px solid #666;
    }

    header #menu-nav_l li a {
        display: inline-block;
        padding: 15px 10px;
        color: #fff;
        font-size: 1em;
        text-align: left;
    }

    header #menu-nav_l li a:hover,
    header #menu-nav_l li.current a {
        border-bottom: none;
    }

    header #menu-nav_l .sub-menu li {
        padding: 0 0 0 15%;
    }

    header .vvts {
        clear: both;
        width: 100%;
        display: table;
        margin: -1px auto 0;
        background: #fff;
        box-shadow: 5px 5px 5px 5px #000;
        box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
        -webkit-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
        -o-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
        -ms-box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.2);
        transition: all 0.3s;
        border-bottom: 1px solid #eee;
    }

    header .vvts li {
        float: left;
        width: 33%;
        margin: 2% 0;
        padding: 0;
        text-align: center;
    }

    header .vvts li a {
        margin: 5px 0 0;
        display: block;
    }
}

.msacwl-slider-wrap {
    margin: 100px auto 20px;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {

    #main1,
    .wrap {
        margin: 220px auto 50px;
        width: 960px;
    }

    .left_ft {
        display: none;
    }

}

/* Safari  */

@media screen and (-webkit-min-device-pixel-ratio:0) and (min-color-index:0) {
    .left_ft {
        display: none;
    }
}

.wp-block-gallery .blocks-gallery-image,
.wp-block-gallery .blocks-gallery-item {
    border: 1px solid #78909C;
    padding: 1%;
    border-radius: 5px;
}


/*Top page*/

.grid {
    max-width: 90%;
    list-style: none;
    margin: 0 auto;
}

.grid .item {
    display: block;
    float: left;
    padding: 1%;
    margin: 0 1% 2%;
    border-radius: 5px;

    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.grid .item a,
.grid .item img {
    outline: none;
    border: none;
    display: block;
    width: 100%;
}

.grid.effect-2 .item.animate {
    -webkit-transform: translateY(200px);
    transform: translateY(200px);
    -webkit-animation: moveUp 0.65s ease forwards;
    animation: moveUp 0.65s ease forwards;
}

#works_page {
    display: table;
    padding: 7px 10px 7px 20px;
    border: 2px solid #454545;
    margin: 25px auto 95px;
    color: #454545;
    text-decoration: none;
    transition: all .5s ease;
}

#works_page:hover {
    border: 2px solid #E5001A;
}

@-webkit-keyframes moveUp {
    0% {}

    100% {
        -webkit-transform: translateY(0);
        opacity: 1;
    }
}

@keyframes moveUp {
    0% {}

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@media screen and (max-width: 900px) {
    .grid .item {
        width: 46%;
    }

    .entry {
        box-shadow: none;
    }

    .entry > .grid > .item {
        width: 46%;
    }
}

@media screen and (max-width: 400px) {
    .grid .item {
        width: 46%;
    }

    .entry {
        padding: 20px 0;
    }

    .entry > p {
        padding: 10px;
    }

    .entry > .grid > .item {
        width: 46%;
    }
}

.tel_ft {
    width: 90%;
    display: inline-block;
    position: relative;
    padding: 0 0 15px 40px;
}

.tel_ft::before {
    left: 0;
    margin: .4em 0.5em 0 0;
    padding: 0.2em 0.4em;
    content: '〒';
    position: absolute;
    font-size: 1.2em;
}

.mw_wp_form_preview .tel_ft::before {
    margin: 0;
    padding: 0;
}

.tel_ft li {
    display: inline-block;
    max-width: 80px;
    float: left;
    margin: 0 2% 0 0;
}

.zip_sp {
    padding: 10px 0 0 0;
}

.mw_wp_form_preview .zip_sp {
    padding: 0;
}

/*------contact form-----*/

.cform th {
    font-size: 14px;
    width: 26%;
    /*変なところで改行される場合はここの数字を変更します。*/
    border-bottom: none;
    padding: 15px 0px 0px 35px;
    font-weight: normal;
}

.cform td {
    font-size: 14px;
    line-height: 150%;
    border-bottom: none;
    padding: 15px 35px 15px 10px;
}

.cform {
    width: 100%;
    margin: auto;
}

.postal_dg {
    float: left;
    width: 50px;
}

.required-srt {
    font-size: 8pt;
    padding: 1px 5px;
    background: #ce0000;
    color: #fff;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
}

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

    .cform th,
    .cform td {
        width: 100%;
        display: block;
        border-top: none;
        padding: 1% 2% 2%;
    }
    .cform td {
        margin: 0 0 5%;
    }
	.submit-btn {
    margin: 0 0 0 4% !important;
	}
	.submit-btn [type="submit"]{
	margin:5% 0 5% 60%;
	}

}

.submit-btn {
    margin: 0 0 0 27%;
}
.submit-btn [type="submit"]{
	margin:5% 0 5% 25%;
	
}


/*loading*/

.spinner {
  margin: 0 auto 0;
  width: 100%;
  text-align: center;
}

.spinner > div {
  width: 8px;
  height: 8px;
  background-color: #333;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

