﻿
.linkStyle{
    color:#f4d500;
}
.contact_b{
    background-color: #f4d500 !important;
}
header{
    background-color: rgba(49,49,49,52%) !important;
}
main{
background-image: url(Dup/img/house2.png);
    background-position: center;
    background-color: #f3f3f3;
    background-size: 115%;
    background-repeat: repeat-x;
    background-attachment: fixed;
    background-position: bottom !important;
}
.page3 .page_title_box h2{
    white-space:nowrap;
}
@media all and (-ms-high-contrast: none){
    .scr_header{
        background-color:rgba(0, 0, 0, 0.5) !important;
    }
    header{
    background-color: rgba(49,49,49,0.5) !important;
}
    #contents3_wrap:after{
        background:transparent !important;
    }
}
/*-------------------スマホ-----------------------*/
@media screen and (max-width:667px){
.page4 .cate_box{
    flex-direction:column;
}
.page4 .cate_box h4,.page4 .cate_box p{
    width: 100% !important;
}
#cms_1-a .pager li {
    margin-right: -10px;
}
    .page5 .page_title_box h2{
    white-space:nowrap;
    font-size:23px;
}
    .page9 .page_title_box h2{
   white-space: nowrap;
    position: relative;
    left: -4vw;
    font-size: 20px;
}
    #contents1 .con_txt, #contents2 .con_txt {
    font-size: 14px !important;
}
        .overlay {
    background: #f4d500 !important;
}
    #copyright{
        padding-left:100px;
    }
    #footer{
        padding-bottom:80px;
    }
    #banner {
    width: 120px !important;
}
    #contents3 .con_box h3 {
    padding: 10px;
    font-size: 22px !important; 
    margin-top:30px;
}
    #contents1 .num,#contents2 .num,#contents3 .num{
    top: -60px !important;
    left: 50% !important;
    font-size: 60px !important;
}
    #contents1 .con_wrap, #contents2 .con_wrap {
    width: 90% !important;
    margin-top: 20%;
    left:15px !important;
}
    #contents1 .con_txt, #contents2 .con_txt {
    padding: 10px 10px !important;
    font-size: 14px !important;
}
    p.intro_txt{
        font-size:14px !important;
    }
    #intro .num {
    top: -70px !important;
    font-size: 60px !important;
}
    
 .intro_title h3 {
    padding: 5px !important;
    font-size: 24px !important;
}
    #main_b {
    width: 90vw !important;
    margin: 30px auto !important;
    right: 5px !important;
}
    
    
}

/*-------------------タブレット-----------------------*/
@media screen and (min-width:668px) and (max-width:768px){
      .page9 .page_title_box h2{
    font-size: 23px;
}
    #contents1 .con_wrap, #contents2 .con_wrap {
   left:0 !important;
}
   
    #contents3 .con_box h3 {
    font-size: 34px !important;
}
    .overlay {
    background: #f4d500 !important;
}
    #banner {
   width:150px !important;
}
    #h1txt{
        padding-left: 200px;
    }
 #contents2 .num,#contents1 .num {
    top: -20px !important;
    font-size: 100px !important;
    left:42% !important;
}
#main_b {
    right: 20px !important; 
    width:500px !important;
}
    .intro_title h3 {
    padding: 5px !important;
    font-size: 34px !important;
}
#intro .num {
    top: -120px !important;
}
    
    
}

/*-------------------ここまで------------------------*/
 #overlay .left li:before,.overlay ul li a,.overlay h2,.overlay p,p.d_inline_b a{
    color: #02010c !important;
}
.page4 .btn_container{
    text-align: center;
    margin-top: 30px;
}
.page8 .btn_container{
    width:100%;
    text-align:right;
}
.page3 .btn_container {
    text-align: left;
    margin-bottom: 15px;
}
.btn_container{
    width:100%;
}
.btn_container img{
    max-width:250px;
}
#main_img:before {
    background-color: rgba(70,70,70,0.6);
}
#main_b{
    width: 50vw;
    text-align: center;
    margin: 30px auto;
    position: relative;
    right: 50px;

}
.menu.posi_center {
    top:45%;
}
#fakeloader:before {
    background-color: #f4d500;

}
.menu p{
    height:auto !important;
    background:transparent !important;
}
#banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 190px;
    z-index: 2;
    margin-left: 10px;
    
}
.line img{
    width:250px;
    
}
.border_color2 {
    border-color: #02010c;
}
.border_so1 {
    border: 2px solid #f4d500 !important;
}
.txt_color2 {
    color: #02010c !important;
}
.back2:before {
   display:none;
}
.cate_wrap h3::first-letter{
    color: #f93442;
    font-size: 30px;
}
.border_color1 {
    border-color: #f4d500 !important;
}
.cate_list li a:hover {
    opacity:0.5;
}
.cate_list li a {
    background-color: #f4d500 !important;
}

.page_title_box p{
   opacity:1 !important;
}
.page_title_box h2{
    color:#02010C;
}
#pc_nav li, #top_pc_nav li, #footer_nav li {
    max-width: 190px;
}
#pc_nav li, #top_pc_nav li, #footer_nav li {
    max-width: 240px;
    font-size: 18px !important;
}
.page_title_box{
    background:#f4d500 !important;
}
#footer_nav li a::after {
    background: #f4d500;
    bottom: -3px;
}
#contents1 h3.hannari::first-letter,#contents2 h3.hannari::first-letter {
    font-size: 40px;
    color:#ff0f4e;
}
#contents3 .num {
    top: -100px;
    left: 50%;
    -ms-transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    transform: translate(-50%,0);
    font-size: 100px;
}
#contents2 .num {
    top: 0px;
    left: 54.4%;
    font-size:100px;
}
#intro .num {
    top: -100px;
    left: 50%;
    font-size: 100px;
}
#contents1 .num {
    top: 0px;
    left: 43.5%;
    font-size: 100px;
}
#info_contact .con_img:before {
    background-color: rgba(156,156,156,70%);
}
span.hannari.txt_white.font_26.font_20_tb.linehight_1{
    font-size:30px;
}
#footer_nav{
    margin-bottom:25px;
    font-weight:bold;
}
.cms_5-c .box_title1::before {
    color: #f4d500;
}
.border_so1 {
    border: 2px solid;
}
.line-l:before {
    content: "";
    display: block;
    width: 15px;
    height: 2px;
    position: absolute;
    top: 22px;
    left: -25px;
}
.cms_title p{
    font-size: 24px;
    font-weight: bold;
   color: #02010c;
}
.cms_title h3::first-letter{
    font-size: 42px;
    color: #f4d500;
}
#contents3_wrap:before {
    /*background-image: url(Dup/img/back4.png) !important;*/
    background-color: #f4d500 !important;
    /*background-size: contain;*/
    background-repeat:repeat;
}
#contents3_wrap:after {
    /*background-color: rgba(2,1,12,5%) !important;*/
    background-color: rgba(2,1,12,0.3) !important;
}
#footer {
    background-color: #f4d500;
}
#contents3 .con_txt{
    font-weight:bold;
    
}
#contents3 .con_title{
    margin-bottom:25px;
}
.more_btn{
    background: #f4d500;
    font-weight: bold;
    color:#02010C;
    font-size: 20px;
}
header.scr_header {
    background-color: rgba(49,49,49,52%) !important;
}
#contents3 .con_box {
    border: 2px solid black;
    z-index: 1;
    padding-top: 4%;
    padding-bottom: 3%;
}
#contents3 .con_box h3{
    padding: 10px;
    font-size: 40px;
}
#contents3 con_txt{
    font-weight:bold;
    font-size:15px !important;
}
#contents1 .con_box,#contents2 .con_box {
    margin-top:0 !important;
}
#contents2 .con_wrap{
    left:-60px;
}
#contents1 .con_wrap,#contents2 .con_wrap {
   
    margin-top: 20%;
    border: 2px solid white;
    position: relative;
    left: 60px;
}
#contents1 .con_txt,#contents2 .con_txt{
    padding:30px 55px;
    line-height: 22px;
    font-weight: bold;
}
#contents1 .con_title,#contents2 .con_title {
    margin-bottom: 0px !important;
    text-align: center;
    padding-bottom: 10px;
    padding-top:10px;
    border-bottom:2px dashed black;
}
h3.hannari::before{
    display:none;
}
#contents1 .con_box,#contents2 .con_box{
    background:#f4d500;
    padding-left:0;
    padding-right:0;
    width:100% !important;
    position: relative;
    right: 15px;
    bottom: 15px;
    border: 1px solid black;
}
body, .txt_color_nomal {
    color: #02010c !important;
}

.intro_title h3{
    background: white;
    padding: 10px;
    font-size: 44px;
}
#intro_wrap{
    background: #F4D500;
    border: 2px solid #02010c;
    padding-top: 4%;
    padding-bottom: 4%;

}
h1,h2,h3,.more_btn,.hannari{
    font-family: 'Sawarabi Gothic', sans-serif !important;
    font-weight:bold;
}
.num{
font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color:#ff356a !important;
    opacity:1 !important;
    font-weight:bold;
}
#intro{
    padding:2.2% 2.2% !important;
    /*background-color:white;
    background-image:url("Dup/img/title_back.png");*/
    font-weight: bold;
    animation: move-stripe 2s infinite linear;  
   /* border-top: 4px solid white;
    border-bottom: 4px solid white;*/
}
.back1:before{
    display:none;
}
main{
        /*background-image: url(Dup/img/back2.jpg);*/
        background-position:center;
        background-color: #f3f3f3;
}
.bg_color1 {
    background-color: #02010c;
}
.txt_color1,.txt_color3{
    color: #02010c;
}

@keyframes move-stripe {
     0% {  background-position-x:0%;  }
    100% {  background-position-x:100%;  }
}

@media screen and (min-width:769px){
    .font_14 {
    font-size: 16px !important;
}
    #contents1 .con_txt,#contents2 .con_txt{
   font-size:16px !important;
}
    #main_b{
        min-width:800px;
    }
    #contents1 .con_wrap,#contents2 .con_wrap {
   width: 55% !important;
}

}