@charset "UTF-8";

/*
COLORS
================================================ */
:root {
    --gray: #555;
    --black: #000000;
    --white: #fff;
    --brown: #432;
    --skyblue: #0bd;
    --cream:#fffaf0;
    --red:#ff0000;
    --red2:#b22222;
}
@media (prefers-color-scheme: dark) {
    :root {
        --text: #ddd;
        --bg: #000;
    }
}

/*共通部分
-------------------------------*/
html{
    font-size: 62.5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}
body{
    font-size: 16px;
    font-size: 1.6rem;
    margin: 0;
    padding: 0;
    color:var(--black);
    background:var(--white);
    font-family: 'Bree Serif', sans-serif;
}


/* 一般
---------------------------------*/
p {
    line-height: 1.7;
    font-family: 'Noto Serif JP', serif;
}
img {
    max-width: 100%;
    image-rendering: -webkit-optimize-contrast;
}
a:hover {
    color: #0bd;
}
a{
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
}

/*ボタン
-------------------------------*/
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
.btn,
a.btn,
button.btn {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
/*HOMEANIMETION
------------------------------*/
.start {
	background: var(--black);
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 9000;
}
.start p {
	position: fixed;
	top: 44%;
    left: 51%;
	transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	display: none;
	z-index: 9999;
	width: 15rem;
}

/*MAINHOME
------------------------------*/
.head-text{
    position: absolute;
    top: 46%;
    left: 51%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
.head-text img{
    width: 15rem;
}
.sub-text{
    position: absolute;
    top: 40%;
    left: 62%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    width: 350px;
}
.sub-text img{
    width: 100%;
    height: 100%;

}
.logo{
    width: 14rem;
    height: 8rem;
    margin-top: 1.4rem;
    margin-left: 1.7rem;
}

/*MAINHOME GALLARY
------------------------------*/
#slider {
    width: 100%;
    height: 100vh;
}


/*HOMEメニュー
------------------------------*/
.main-nav{
    text-align: left;
    margin-left: -2.4rem;
    margin-top: 3.5rem;
}
.main-nav li {
    margin-bottom: 2.5rem;
    font-size: 1.3rem;
}
.main-nav a{
    display: inline-block;
	position: relative;
	text-decoration: none;
    font-size: 1.7rem;
    padding: .9rem 2rem .7rem 2rem;
    color: var(--black);
}

.main-nav a:hover{
    color: var(--red);
    cursor: pointer;
}
.main-nav a:hover::after {
	bottom: 0;
	opacity: 1;
}
/*--NavButton--*/
a.btn-border {
    border: 2px solid #000;
    border-radius: 0;
    background: #fff;
  
    -webkit-transform-style: preserve-3d;
  
    transform-style: preserve-3d;
  }
  
  a.btn-border:before {
    position: absolute;
    top: 0;
    left: 0;
  
    width: 1.5rem;
    height: 100%;
  
    content: '';
    -webkit-transition: all .3s;
    transition: all .3s;
    -webkit-transform: translateX(0) translateY(0);
    transform: translateX(0) translateY(0);
  
    border-radius: 0 50% 50% 0;
    background: #000;
  }
  
  a.btn-border:hover:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
    line-height: 30px;
  
    width: 3rem;
    height: 3rem;
  
    content: '\f061';
    -webkit-transform: translateX(460%) translateY(.5rem);
    transform: translateX(460%) translateY(.5rem);
  
    color: #fff;
    border-radius: 50%;
  }
  

/*フッター
------------------------------*/
#footer{
    position: absolute;
    bottom: 0;
    left:0;
    right:0;
}
#footer .main .left{
    background-image: linear-gradient(to right, rgba(255,255,255,0.9),rgba(255,255,255,0.1)),url(..//images/footer-backimamge.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    padding: 1rem 5rem;
}
#footer .main .logo{
    margin-bottom: 1.6rem;
    margin-top: -.1rem;
    text-align: center;
}
#footer .main .logo > a{
    display: inline-block;
}
#footer .main .company{
    color: var(--black);
    font-size: 1.8rem;
    line-height: normal;
    margin-top: -.4rem;
    margin-left: 1.2rem;
    margin-bottom: .5rem;
    text-align: center;
}

#footer .main .address {
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: -2rem;
    margin-bottom: .5rem;
    text-align: center;
}
#footer .main .address a{
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: -1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
#footer .main .tel{
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1.6;
    margin-top: -.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
#footer .main .mapicon{
    margin-bottom: -.3rem;
    width: 1.5rem;
}
#footer .main .right{
    background: #222;
}
#footer .main .footer-nav a{
    color: #ccc;
}

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

    /*--フッター--*/
        #footer .main {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
        }
        #footer .main .left{
            width: 50%;
        }
        #footer .main .left > .inner{
            margin-left: auto;
            text-align: left;
            width: 75rem;
            height: 7rem;
        }
        #footer .main .head{
            display: inline-block;
            font-size: 0;
        }
        #footer .main .logo{
            display: inline-block;
            margin-bottom: 0;
            vertical-align: middle;
        }
        #footer .main .logo > a{
            width: 30rem;
        }
        #footer .main .address{
            display: inline-block;
            margin-bottom: 0;
            margin-left: 2rem;
            padding-left: 2rem;
            position: relative;
            text-align: left;
            vertical-align: middle;
        }
        #footer .main .tel{
            display: inline-block;
            margin-bottom: 2rem;
            margin-left: 2rem;
            padding-left: 2rem;
            position: relative;
            text-align: left;
            vertical-align: middle;
        }
        #footer .main .right {
            -webkit-box-align: center;
            -webkit-align-items: center;
            -ms-flex-align: center;
            align-items: center;
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display: flex;
            width: 50%;
        }
        #footer .main .right > .inner {
            padding-left: 5rem;
            width: 60rem;
            height: 6rem;
        }
        #footer .main .footer-nav{
            font-size: 0;
            margin-bottom: -2rem;
        }
        #footer .main .footer-nav > li{
            display: inline-block;
            font-size: 1.2rem;
            margin-top: -1rem;
            margin-bottom: 2rem;
            margin-right: 1.5rem;
        }
        #footer .main .footer-nav a{
            padding-right: 1rem;
            position: relative;
        }
        #footer .main .footer-nav a::before{
            content: '>';
            position: absolute;
            height: .3rem;
            right: 0;
            top: 0;
            width: .5rem;
            font-size: 1.2rem;
        }
        #footer .main .footer-nav a:hover{
            color: var(--red2);
            opacity: 1;
        }
        #footer .main .footer-nav a:hover::before{
            color: var(--red2);
        }
        #footer .copyright{
            background-color: var(--black);
            color: var(--white);
            padding: 0.5% 0;
            font-size: 1.2rem;
            font-family:'Noto Serif JP', serif; 
            text-align: center;
        }
    }
    
    /*-------スマホサイズ-------*/
    
    @media only screen and (max-width: 766px) {
    /*--メニューボタン--*/
        .menu-btn {
            position: fixed;
            top: 10px;
            right: 10px;
            display: flex;
            height: 60px;
            width: 60px;
            justify-content: center;
            align-items: center;
            z-index: 90;
            background-color: var(--black);
        }
        .menu-btn span,
        .menu-btn span:before,
        .menu-btn span:after {
            content: '';
            display: block;
            height: 3px;
            width: 25px;
            border-radius: 3px;
            background-color: var(--white);
            position: absolute;
        }
        .menu-btn span:before {
            bottom: 8px;
        }
        .menu-btn span:after {
            top: 8px;
        }
        #menu-btn-check:checked ~ .menu-btn span {
            background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
        }
        #menu-btn-check:checked ~ .menu-btn span::before {
            bottom: 0;
            transform: rotate(45deg);
        }
        #menu-btn-check:checked ~ .menu-btn span::after {
            top: 0;
            transform: rotate(-45deg);
        }
        #menu-btn-check {
            display: none;
        }
    /*--メニュー中身--*/
    .main-nav{
        display: none;
    }
    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background-color: rgba(0,0,0, .5);
        transition: all 0.5s;/*アニメーション設定*/
    }
    
    .menu-content ul {
        padding: 70px 10px 0;
    }
    .menu-content ul li {
        border-bottom: solid 1px #ffffff;
        list-style: none;
    }
    .menu-content ul li a {
        display: block;
        width: 100%;
        font-size: 1.5rem;
        box-sizing: border-box;
        color:#ffffff;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }
    .menu-content ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 2px #ffffff;
        border-right: solid 2px #ffffff;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 16px;
    }
    #menu-btn-check:checked ~ .menu-content {
        left: 0;/*メニューを画面内へ*/
    }
}
    @media only screen and (max-width: 599px){
        /*--フッター--*/
            #footer .main .left{
                display: none;
            }
            #footer .main .right{
                position: relative;
                bottom:-1rem;
            }
            #footer .main .address{
                text-align: center;
                font-size: 1.2rem;
            }
            #footer .main .footer-nav{
                display: none;
            }
            #footer .copyright{
                background-color: var(--black);
                color:var(--white);
                font-size: .8rem;
                padding: 1% 0;
                font-family:'Noto Serif JP', serif; 
                text-align: center;
            }
        }
/* 960px〜1279px：小型PC
------------------------------ */
@media screen and (min-width:959px) and (max-width:1279px) {
    .sub-text{
        left: 65%;
    }
    #footer .main .left .inner{
        margin-left: -4rem;
    }
    #footer .main .company{
        font-size: 1.6rem;
        padding-left: 1rem;
    }
    #footer .main .logo > a{
        width: 27rem;
    }
    #footer .main .right .inner{
        margin-left: -5rem;
    }
    #footer .main .address {
        font-size: 1.35rem; 
    }
    #footer .main .tel{
        font-size: 1.35rem;
    }
    #footer .main .footer-nav > li{
        font-size: 1.1rem;
        margin-right: .7rem;
    }
    #footer .main .footer-nav a::before{
        font-size: 1.1rem;
    }
    
}
/* 760px〜959px：タブレット
------------------------------ */
@media screen and (min-width:766px) and (max-width:959px) {
    .sub-text{
        left: 69%;
    }
    #footer .main .mapicon {
       width: 1.5rem;
    }
    #footer .main .access u{
        font-size: 1.2rem;
    }
    #footer .main .left .inner{
        margin-left: -6rem;
    }
    #footer .main .head{
        padding-top: 1.5rem;
    }
    #footer .main .company{
        font-size: 1.4rem;
        padding-left: .5rem;
    }
    #footer .main .logo > a{
        width: 23rem;
    }
    #footer .main .right .inner{
        margin-left: -8rem;
    }
    #footer .main .address {
        font-size: 1.2rem; 
    }
    #footer .main .tel{
        font-size: 1.2rem;
    }
    #footer .main .footer-nav > li{
        font-size: 1rem;
        margin-right: .7rem;
    }
    #footer .main .footer-nav a::before{
        font-size: 1rem;
    }


}    

@media only screen and (min-width:766px) {
    /*--メニューボタン削除--*/    
    .hamburger-menu{
        display: none;
    }
}

/* 600px~759px
------------------------------ */
@media screen and (min-width:599px) and (max-width:766px) { 
    .sub-text{
        left: 72%;
        width: 300px;
    }
    #footer .main .mapicon {
        display: none;
    }
    #footer .main .access{
        display: none;
    }
    #footer .main .left{
        padding: 2rem 5rem;
    }
    #footer .main .left .inner{
        margin-left: -20rem;
    }
    #footer .main .head{
        padding-top: 1.5rem;
        padding-left: 14rem;
    }
    #footer .main .company{
        font-size: 1.3rem;
        padding-left: 1rem;
    }
    #footer .main .logo > a{
        width: 23rem;
    }
    #footer .main .right .inner{
        margin-left: -8rem;
    }
    #footer .main .right > .inner {
        height: 7.5rem;
    }
    #footer .main .address {
        font-size: 1.2rem; 
    }
    #footer .main .tel{
        font-size: 1.2rem;
    }
    #footer .main .footer-nav > li{
        font-size: 1rem;
        margin-right: .7rem;
    }
    #footer .main .footer-nav a::before{
        font-size: 1rem;
    }
}

/* 480px〜599px：SP横
------------------------------ */
@media screen and (min-width:480px) and (max-width:599px) { 
    .logo{
        width: 12rem;
        height: 7.5rem;
    }
    .sub-text{
        left: 75%;
        width: 270px;
    }
    #footer .main .mapicon {
        display: none;
    }
    #footer .main .access{
        display: none;
    }

}


/* 〜479px：スマートフォン縦
------------------------------ */
@media screen and (max-width:479px) { 
    #footer .main .mapicon {
        display: none;
    }
    #footer .main .access{
        display: none;
    }
    .logo{
        width: 11rem;
        height: 7rem;
    }
    .sub-text{
        left: 81%;
        width: 280px;
    }



}
@media screen and (max-width:376px) {
    .logo{
        width: 9rem;
        height: 6rem;
    }
    .sub-text{
        left: 84%;
        width: 270px;
    }

}

@media screen and (max-width:281px) {
    .logo{
        width: 9rem;
        height: 6rem;
    }

    #footer .main .address {
        font-size: 1.15rem; 
    }
    #footer .copyright{
        font-size: 1rem;
    }
}