﻿@import url('https://fonts.googleapis.com/css2?family=Allison&display=swap');
.font1{
    font-family: 'Allison', cursive;
    line-height:1.2;
}

.linkStyle{
    color:#bf9d74;
}
.linkStyle:hover{
    transition:all 0.3s;
    opacity:0.7;
    text-decoration:underline;
}

/*
#return_top{
    position:absolute;
}
*/

/*--all page---------------------------
-------------------------------------*/
header.scr_header #logo {
    max-width: 150px;
}
#top_pc_nav li,
#pc_nav li{
    max-width:100%;
}
.back1:before,
.back2:before{
    display:none;
}
.back1{
    background-color:transparent;
    background-image:url(./Dup/img/bdu3.png),url(./Dup/img/bg.jpg);
    background-repeat:no-repeat,no-repeat;
    background-position:top left,top left;
    background-size:100% auto,100% auto;
}
footer{
    background:url(./Dup/img/wood.jpg) repeat-y top left;
    
    background-size:100% auto;
}
#footer {
    background-color: rgba(255,255,255,0.12);
}
#footer .tel_bt{
    display:none;
}
#footer h2{
    display:none;
}
#footer_txt,
#footer .tel_bt,
#h1txt{
    color:#fff;
}

/*--top page---------------------------
-------------------------------------*/
#main_img:before{
    background-color: rgba(70,70,70,0.3);
}
#main_img .frame{
    top: 50%;
    left: 37%;
    transform: translate(0,-50%);
    z-index: 2;
    width: 30vw;
}
#top_pc_nav{
    display:none;
}
#intro_wrap{
    padding-top:10%;
}
#intro_wrap::before,
#intro_wrap::after{
    content: '';
    position: absolute;
    display: block;   
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;    
}
#intro_wrap::before{
    width: 26vw;
    height: 37vh;
    background-image: url(./Dup/img/bdu1.png);
    top: -14%;
    left: -4%;
}
#intro_wrap::after{
    width: 27vw;
    height: 39vh;
    background-image: url(./Dup/img/bdu2.png);
    top: -14%;
    right: -4%;
}
#intro .num{
    top:20px;
}
.txt_trns{
    font-size:4rem;
    transform-origin: left;
    transform: rotate(-9deg) translate(-50px,0);
}
.txt_trns2{
    font-size:4rem;
}
#contents1_wrap{
    background-image: url(./Dup/img/ilst1.png);
    background-repeat: no-repeat;
    background-position: top right 13%;
    background-size: 400px;
    margin-bottom: 8%;
}
#contents1 .font1{
    font-size:4rem;
}
#contents2_wrap{
    margin-bottom:3%;
}
#contents2_wrap::before{
    content: '';
    position: absolute;
    display: block;
    width: 12vw;
    height: 39vh;
    background-image: url(./Dup/img/bdu4.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
    top: -13%;
    left: 1%;
    z-index: 1;
}
#contents3 .num{
    top:-30px;
}
#top_cms{
    background:url(./Dup/img/bg.jpg) no-repeat top left;
}

/*--under page---------------------------
-------------------------------------*/
#cms_6-c .box_img1,
#cms_6-c .box_img2{
    position:relative;
}
#cms_6-c .box_img1::before,
#cms_6-c .box_img2::before{
    position:absolute;
    display:block;
    bottom:0;
    right:0;
    padding:5px 10px;
    background-color:#fff;
    font-size: 0.7rem;
    line-height: 1.5;
    z-index:1;    
}
#cms_6-c .box_img1::before{
    content:'BEFORE';
}
#cms_6-c .box_img2::before{
    content:'AFTER';
}


/* ---------- responshive ---------- */
@media screen and (max-width: 1280px){
header #logo{
    opacity:0;
}
.scr_header #logo{
    opacity:1;
}
#intro .num {
    top: -10px;
}
.nav_menu_more:first-of-type a .icon:before{
    display:none;
}
#overlay .left li {
    max-width: 100%;
}
}


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){

.back1{
    background-size: 150% auto,200% auto;
}
#intro_wrap::before,
#intro_wrap::after{
    height: 14vh;
    top: -5%;
}
#contents1_wrap{
    background-position:top right 4%;
    background-size:200px;
}
.txt_trns{
    transform: rotate(-9deg) translate(-10px,-50px);
}
.pager li{
    margin-right:0;
}
.page9 .page_title_box h2{
    font-size:28px;
}

}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
header.scr_header #logo {
    max-width: 120px;
}
.back1{
    background-size: 200% auto,400% auto;
}
#main_img .frame{
    left:25%;
    width:60vw;
}
#intro_wrap {
    padding-top: 25%;
}
#intro_wrap::before {
    width: 35vw;
    height: 14vh;
    top: -2%;
}
#intro_wrap::after {
    width: 35vw;
    height: 14vh;
    top: -2%;
}
#intro_wrap::after {
    width: 35vw;
    height: 14vh;
    top: -2%;
}
#intro .num {
    top: 0px;
}
#contents1 .font1,
#contents2 .font1,
#contents3 .font1{
    font-size: 3rem;
}
#contents1 .txt_trns {
    transform: rotate(-9deg) translate(50px,-10px);
}
#contents2 .txt_trns{
    transform: rotate(-9deg) translate(30px,-10px);
}
#contents3 h3{
    font-size:18px;
}
.page_title_box {
    width: 60%;
}
.page5 .page_title_box h2,
.page6 .page_title_box h2{
    font-size: 20px;
}
.page9 .page_title_box h2 {
    font-size: 19px;
}

}

/* ---------- IEの処理 ---------- */
@media all and (-ms-high-contrast: none){
.bnr_box a{
    padding-top:35px;
}
}


