﻿@charset "utf-8";

  

/* 基本レイアウト ここから↓ #################################################*/
body{
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    z-index: 5;
    color: rgb(75, 75, 75);
}
a{
    color: rgb(75, 75, 75);
    text-decoration: none;
}
a:hover{
    color: #cc1f00;
}
em{
    font-size: large;
    font-weight: bold;
    font-style: normal;
}
.top1 {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.top1 img{
    width: 100%;
}
.top2 {
    position: absolute;
    width: 100%;
    top:0;
}
nav{
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 900px;
    margin: 10px auto 0 auto;
}
nav .logo{
    flex: 1;
}
nav .logo h1{
    font-size: 14px;
    padding: 0;
    margin: 0;
}
nav .logo a img{
    width: 300px;
    padding: 0;
    margin: 0;
}
nav ul{
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li a{
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 10px;
    display: inline-block;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: 0.2s;
}
nav ul li a:hover{
    color: rgb(75, 75, 75);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.copy{
    width: 100%;
    padding-top: 100px;
    margin: 0 auto;
}
.copy h3{
    width: 900px;
    font-size: 3.5vw;
    color: rgb(31, 31, 39);
    background: -webkit-linear-gradient(45deg, rgb(31, 31, 39, 0.5), rgba(31, 31, 39));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
	-webkit-animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
	        animation: tracking-in-expand 0.7s cubic-bezier(0.215, 0.610, 0.355, 1.000) both;
}
@-webkit-keyframes tracking-in-expand {
    0% {
      letter-spacing: -0.5em;
      opacity: 0;
    }
    40% {
      opacity: 0.6;
    }
    100% {
      opacity: 1;
    }
  }
  @keyframes tracking-in-expand {
    0% {
      letter-spacing: -0.5em;
      opacity: 0;
    }
    40% {
      opacity: 0.6;
    }
    100% {
      opacity: 1;
    }
  }
.ecrire,.about2,.info,.works,.footer{
    width: 900px;
    margin: 0px auto;
    padding-top: 20px;
    padding-bottom: 20px;
}
h2{
    border-bottom: 2px dotted rgb(255, 208, 0);
    text-align: center;
    width: 900px;
    font-size: 24px;
}
h2::first-letter{
    color: rgb(255, 208, 0);
    font-size: 28px;
}
.ecrire{
    font-family: 'Noto Serif JP', serif;
    margin: 40px auto;
}
.ecrire h3{
    font-size: 1.3em;
    color: rgb(128, 122, 107);
}
.ecrire h3::first-letter{
    font-size: 1.5em;
}
.ecrire p{
    font-size: 1.2em;
    color: rgb(128, 122, 107);
}
.ecrire2{
    width: 100%;
    background-size:contain;
    background-position: right;
    background-repeat: no-repeat;
    overflow: hidden;
}
.about1{
    height:auto !important; /*IE6対策*/
    height: 100%; /*IE6対策*/
    min-height: 100%;
    background-size:30%,cover;
    background-position: top 0px left 10px,center ;
    background-repeat: no-repeat;
}
.about4{
    display: flex;
}
.about3{
    flex: 1;
}
.about2 a,.redbtn2{
    color: #FFF;
    font-weight: bold;
    background-color: rgba(75, 75, 75, 0.75);
    padding: 20px 50px;
    text-align: center;
    border-radius: 3px;
    text-decoration: none;
    margin: 5px auto;
    display: block;
    width: 30%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: 0.2s linear;
}
.redbtn2{
    width: 80%;
}
.about2 a::after,.redbtn2::after{
    background-color: rgb(133, 131, 127);
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: 0.2s linear;
  }
.about2 a:hover,.redbtn2:hover{
    color: #fff;
}
.about2 a:hover::after,.redbtn2:hover::after{
      left: 0;
      background-color: #cc1f00;
}
.huki,.hukis{
    position: relative;
    flex: 1;
    margin: 0px 5px 40px;
    padding: 20px; 
    background: #fff; 
    border: 2px solid rgb(75, 75, 75); 
    border-radius: 100px;
}
.huki{
    text-align: center;
}
.huki::before,.huki::after,.hukis::before,.hukis::after{ 
    content: '';
    border: 14px solid transparent;
    position: absolute;
    left: 50%;
    margin-left: -14px;
}
.huki::before,.hukis::before{
    border-top-color: rgb(75, 75, 75); 
    bottom: -30px;
}
.huki::after,.hukis::after{ 
    border-top-color: #fff; 
    bottom: -27px;
}
.huki img{
    width: 32px;
}
.info2{
    width: 100%;
    background-size:auto ,0;
    background-position: left;
    background-repeat: no-repeat;
    overflow: hidden;
}
.info{
    position: relative;
}
.info h2{
    position: relative;
    list-style: none;
}
.info dl{
    height: 200px;
    overflow-y: scroll;
}
dl {
    width: 90%; 
    margin: 0;
    padding: 0 20px;
}

dt {
    font-size: 14px;
    width: 8em;
    float: left;
    padding: 7px 0 6px 3px;
    line-height: 120%;
    background-color:rgba(75, 75, 75, 0.75);
    color: #FFF;
}
dd {
    font-size: 16px;  
    margin: 0 0 0 40px;
    padding: 7px 3px 6px 6.6em;
    line-height: 120%;
}

.youtube {
    position: relative;
    width: 100%;
    margin:0 0 30px 0;
    padding-top: 56.25%;
}
.youtube iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}
.works2{
    display: flex;
    margin: 0 auto;
    width: 900px;
}
.works2 a,.sns img,.service{
    text-align: center;
    flex: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    transition: .2s;
}
.works2 a:hover ,.sns img:hover,.service:hover{
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
}
.works2 a img{
    width: 80%;
    margin: 0 auto;
}
.twitter-timeline{
    text-align: center;
    margin: 0 auto;
}
footer{
    background-color: rgb(78, 77, 70);
    color: #fff;
    text-align: center;
}
footer p{
    font-size: 14px;
    padding: 0;
    margin: 0;
}
.logo2{
    width: 300px;
    margin-bottom: 30px;
}
footer ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    margin: 0 0 30px 0;
    color: #FFF;
    text-decoration: none;
    /* border-bottom: 1px dotted #FFF; */
}
footer ul li a{
    color: #FFF;
    text-decoration: none;
    padding: 0px 10px;
}
footer ul li a:hover{
    color: rgb(255, 208, 0);
}
footer a{
    margin-bottom: 30px;
}
.sns{
    margin-bottom: 30px;
}
.sns img{
    width: 32px;
    margin: 0 10px;
}

.topbtn{
    width: 100px;
    height: 100px;
    position: fixed;
    right: 30px;
    bottom: 30px;
}
/*　ここから各ページデザイン#####################*/
.base{
    border-top: 15px solid rgb(255, 208, 0);

}
.base2{
    width: 100%;
    background-color: rgb(247, 246, 241);
    height:auto !important; /*IE6対策*/
    height: 100%; /*IE6対策*/
    min-height: 100%;
    background-size:18em;
    background-position: top 0px right 5% ;
    background-repeat: no-repeat;
}
.huki3{
    display: flex;
}
.huki2{
    flex:1;
}
.staff{
    border-radius: 50%;
    width: 80%;
    display: block;
    margin: 0 auto;
}
.staff2{
    text-align: center;
}
.staff3{
    text-align: center;
}
details{
    margin-bottom: 30px;
}
details summary{
    border: 1px solid rgb(75, 75, 75);
    border-radius: 3px;
}
details summary,details p{
    margin: 0 30px;
    padding: 10px;
}
.redbtn{
    color: rgba(75, 75, 75);
    font-weight: bold;
    background-color: #FFF;
    border:1px solid rgba(75, 75, 75);
    padding: 20px 50px;
    text-align: center;
    border-radius: 3px;
    text-decoration: none;
    margin: 20px auto;
    display: block;
    width: 30%;
    transition: 0.2s linear;
}
.redbtn:hover{
    color: #FFF;
    background-color: rgb(255, 208, 0);
    border-color: #FFF;
}
input{
    width: 50%;
}
textarea{
    width: 80%;
    height: 20vh;
    overflow-y: scroll;
}
.service{
    width: 80%;
    display: block;
    margin: 0 auto;
}
.service2{
    margin-bottom: 40px;
}
.service3{
    width: 80%;
    display: block;
    margin-bottom: 40px;
}
.works4{
    flex: 1;
    padding: 3px;
}
.works3{
    display: flex;
}
.works4 img{
    width: 100%;
}
.lb {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.7);
    opacity: 0;
    transition: .3s opacity ease;
    pointer-events: none;
    z-index: 100;
}

.lb img {
    width: auto !important;
    max-height: 100%!important;
    cursor: pointer;
}

.lb img,
.lb iframe {
    transform: scale(.85);
    transition: .3s all ease;
}

.lb:target {
    opacity: 1;
    pointer-events: auto;
    z-index: 101;
}

.lb:target img,
.lb:target iframe {
    transform: scale(1);
}
/* 閉じるボタン*/
.lb::before,.lb::after {
    display: block;
    position: fixed;
    content: "";
    width: 24px;
    height:3px;
    top: 24px;
    right: 12px;
    background: #fff;
    border-radius: 4px;
}
.lb::before {
    transform: rotate(-315deg);
}
.lb::after {
    transform: rotate(315deg);
}

/* 基本レイアウト ここまで↑ #################################################*/
/*===============================================
●tablet.css 画面の横幅が1024px以上
===============================================*/
@media screen and (min-width: 1025px){
            .SP,.menuopen,.menuclose{
                display: none;
            } 
} 
/*===============================================
●tablet.css 画面の横幅が1024px以下
===============================================*/

@media screen and (max-width: 1024px){
    /****メニュー開閉ボタン****/
            .PC{
                display: none;
            }
            header,main{
                overflow: hidden;
            }
            #menu{
                position: fixed;
                right: 0px;
                top: 0px;
                width: 100%;
                height: 100%;
                pointer-events: none;
                z-index: 100;
            }
            #menu ul{
                flex-direction: column;
                justify-content: flex-start;
            }
            #menu div{
                -webkit-transition: all 0.3s ease 0s;
                transition: all 0.3s ease 0s;
                width: 32px;
                height: 32px;
                overflow: hidden;
                position: absolute;
                top: 10px;
                right: 10px;
            }
            #menu .menuopen{
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                pointer-events: auto;
            }
            #menu .menuclose{
                display: none;
                width: 100%;
                height: 100%;
                position: absolute;
                top: 0;
                left: 0;
                pointer-events: auto;
            }

            /****メニュー一覧****/
            #menu ul{
                -webkit-transition: all 0.3s ease 0s;
                transition: all 0.3s ease 0s;
                background: rgb(255, 208, 0);
                width: 75%;
                height: 100%;
                position: absolute;
                top: 0;
                right: -75%;
            }

            #menu li{
                padding: 10px;
                pointer-events: auto;
            }

            /****メニューオープン時****/
            #menu:target ~ #main{
                right: 75%;
            }
            #menu:target div{
                right: 75%;
            }
            #menu:target .menuopen{
                display: none;
            }
            #menu:target .menuclose{
                display: block;
            }
            #menu:target ul{
                right: 0;
            }
            /********/
            nav .logo a img{
                width:40vw;
                min-width: 300px;
                padding-left: 5px;
            }
            .copy{
               width: 100%;
               padding-left: 5px;
            }
            .copy h3{
                font-size: 6vw;
            }
            .ecrire,.about2,.info,.works,.footer{
                width: 100%;
                margin: 0px auto;
                padding: 20px 5px;
            }
            h2{
                width: 100%;
            }
            .ecrire p{
                font-size: 14px;
            }
            .works2{
                width: 100%;
            }
            .huki{
                border-radius: 3px;
            }
            .huki p{
                text-align: left;
            }
            .info2{
                background-size:0 ,auto;
            }
            dl{
                padding: 0 5px;
            }
            footer{
                text-align: left;
                padding: 0 20px;
            }
            .logo2{
                width: 40%;
                min-width: 300px;
            }
            footer ul{
                display: block;
                margin: 0 0 80px 0;
                text-align: left;
                padding-inline-start: 0px;
            }
            footer ul li a{
                padding: 0px 10px ;
            }
            .footer2{
                display: flex;
            }
            .sns2,.footer2 ul{
                flex: 1;
            }
            footer p:last-child{
                text-align:center;
            }
            .topbtn{
                width: 80px;
                height: 80px;
            }
            .staff{
                width:30%;
            }
            input{
                width: 90%;
            }
            textarea{
                width: 90%;
                height: 20vh;
            }
            .huki3{
                display: block;
            }
            .service3{
                width: 100%;
            }
            .works4{
                padding: 0;
            }
            .works3{
                display: block;
            }
            .works4 img{
                width: 100%;
            }
} 
/*** メインエフェクト ***/
