:root{
    --f-color:rgb(89,87,87);
    --g-color:rgb(167,207,92);
    --p-color:rgb(252,161,233);
    --c-color:rgb(255,252,245);
    --ps-color:rgb(254,119,119);
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200;300;400;500;600;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500&display=swap');

body{
    color: var(--f-color);
    font-family: 'Noto Sans JP', sans-serif;
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
    overflow-x: hidden;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

a{
    color: var(--f-color);
}

a:hover{
    color: var(--p-color);
    transition: 0.5s;
}

/* header */

.log{
    opacity: 0;
    position: absolute;
    width: 0;
}

header{
    height: 100vh;
    width: 100vw;
    background-image: url(../images/top_img.jpeg);
    background-position:center;
    background-repeat: no-repeat;
    background-size: cover;
}

nav{
    display: flex;
    position: static;
    justify-content: space-between;
    margin-right: 20px;
    padding-top: 20px;
}

nav img{
    margin-left: 10px;
}

nav ul{
    display: flex;
    justify-content: space-around;
}

nav ul li{
    margin-right: 20px;
    border-right: dotted 2px var(--f-color);
    padding-right: 20px;
}

nav ul li a{
    color: var(--f-color);
}

header h1{
    position: absolute;
    top: 30%;
    left: 10%;
    font-size: 2.0em;
    line-height: 1.5;
}

.pink{
    color: var(--p-color);
    font-size: 2.0em;
    font-weight: 100;
}

.green{
    color:var(--g-color);
    font-size: 2.0em;
    font-weight: 100;
}

/* concept */

.concept{
    height: 100vh;
    width: 100vw;
    margin-top: 50px;
    background-image: url(../images/bg.png);
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
    letter-spacing: 5px;
}

.con-title{
    writing-mode: vertical-rl;
    float: right;
    margin-top: 100px;
    margin-right: 60px;
    line-height: 3.0;
    font-size: 1.3em;
    color: var(--g-color);
}

.con-title h3{
    margin-top: 50px;
    margin-right: 50px;
}

.back-img{
    position: absolute;
    top: 10%;
    left: 30%;
}

.front-img{
    position: relative;
    width: 50%;
    padding-top: 10%;
    z-index: 995;
}


/* service */

.service{
    height: 100vh;
    width: 100vw;
    text-align: center;
    margin-top: 100px;
    background-image: url(../images/bg2.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.service h2{
    font-size: 2.5em;
}

.service p{
    margin-top: 10px;
    font-size: 0.5em;
}

.s-cont1,.s-cont2{
    text-align: center;
}

.service-cont{
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
}

.service-cont p{
    font-size: 1.0em;
}

.service-cont img{
    width: 100%;
}

/* about */

.about{
    width: 100vw;
    margin-top: 100px;
    text-align: center;
    /* height: 200vh; */
}

.about h2{
    font-size: 2.5em;
}

.about p{
    margin-bottom: 10px;
    font-size: 0.5em;
}

.about .dot{
    margin-top: 10px;
}

.ab-col{
    text-align: center;
    margin-top: 50px;
}

.ab-col h3{
    width: 20%;
    padding-top: 40px;
}

table{
    width: 65%;
    line-height: 2.0;
    margin-left: auto;
    margin-right: auto;
}

tr{
    width: 100%;
}

th{
    padding-top: 40px;
    padding-bottom: 40px;
    /* width: 30%; */
}

td{
    text-align: left;
    padding: 50px 0 50px 30%;
}

iframe{
    padding-top: 20px;
    padding-bottom: 50px;
    width: 100%;
    height: 120%;
}

.bd{
    border-bottom:0.5px solid var(--f-color);
}


/* contact */

.contact{
    height: 50vh;
    margin-top: 100px;
    position: relative;
}

.cont-area{
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    background-image: url(../images/contact.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 70px 0;
}

/* upside */
.cont{
    display: flex;
    justify-content: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.cont .sub{
    width: 35%;
    margin-right: 30px;
    padding-top: 10px;
    font-size: 13px;
}

.tel{
    width: 35%;
    display: flex;
    margin-left: 30px;
}

.pp{
    text-align: center;
}

.pp a{
    font-size: 2.5em;
    color: var(--f-color);
    font-weight: bold;
}

.pp p{
    font-size:0.5em;
    margin-top: 10px;
    /* margin-left: 50px; */
}

/* downside */

.btn{
    margin-top: 50px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

.btn a{
    height: 60px;
    width: 30%;
    border-radius: 100vh;
    color: white;
    font-size: large;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0;
}

.shiroi{
    background-color: rgb(99, 67, 67);
    margin-right: 30px;
}

.contact-btn{
    background-color: var(--ps-color);
    margin-left: 30px;
}

.btn a img{
    margin-right: 20px;
}

.contact .cta{
    position: absolute;
    left: 20%;
}

  #page_top{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 10px;
    background:var(--ps-color);
    opacity: 0.6;
    border-radius: 50%;
    z-index: 999;
  }
  #page_top a{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
  }
  #page_top a::before{
    font-weight: 900;
    content: '▲';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -5px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }


/* fadein */

  .fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: opacity 2s, visibility 1s, transform 2s;
  }

  .is-fadein {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  
footer {
    padding: 2rem;
    font-size: 15px;
    color: var(--f-color);
    background: var(--c-color);
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
}
  
footer a{
    color: var(--f-color);
}
footer ul{
    display: flex;
}

footer li{
    list-style: none;
    margin: 0 20px;
}


footer a:hover {
    color: var(--p-color);
}



@media screen and (max-width: 1440px){
    .tel img{
        height: 50px;
    }

    .pp a{
        font-size: 2.0em;
    }

    .contact .cta{
        position: absolute;
        left: 15%;
        
    }

    .btn {
        margin-top: 30px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
    }
    .cont .sub {
        width: 47%;
        margin-right: 30px;
        padding-top: 10px;
    }
}

@media screen and (max-width: 1024px) {
    .log{
        opacity: 1;
        position: absolute;
        width: 40%;
        top: 45px;
        left: 20px;
    }

    .back-img {
        position: absolute;
        top: 10%;
        left: 30%;
        width: 35%;
    }
    .con-title {
        writing-mode: vertical-rl;
        float: right;
        margin-top: 100px;
        margin-right: 60px;
        line-height: 3.0;
        font-size: 1em;
        color: var(--g-color);
    }
    .cont {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .contact .cta {
        position: absolute;
        left: 7%;
        width: 150px;
    }


 #g-nav{
    position:fixed;
    z-index: 998;
    top:-120%;
    left:0;
    width:100%;
    height: 100vh;
    background:rgba(255,252,245,0.9);
    transition: all 0.6s;
}

#g-nav.panelactive{
    top: 0;
}

#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}


#g-nav ul {
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    display: block;
}

nav img {
    position: absolute;
    top: 30%;
    left:50%;
    transform: translate(-50%);
    margin: 0;
    width: 50%;
}

#g-nav li{
    list-style: none;
    text-align: center; 
    border: 0;
    margin: 0;
    padding: 0;
    
}

#g-nav li a{
  color: #333;
  text-decoration: none;
  padding:10px;
  display: block;
  letter-spacing: 0.1em;
  font-weight: bold;
  border: 0;
}

.btn-tg{
    position: fixed;
    top: 30px;
    right: 10px;
    z-index: 9999;
}

.toggle_btn{
    position: relative;/*ボタン内側の基点となるためrelativeを指定*/
    background:rgb(254,119,119,0.6);
    cursor: pointer;
      width: 50px;
      height:50px;
    border-radius: 5px;
    z-index: 999;
  }
  
  /*ボタン内側*/
  .toggle_btn span{
      display: inline-block;
      transition: all .4s;/*アニメーションの設定*/
      position: absolute;
      left: 14px;
      height: 3px;
      border-radius: 2px;
    background: white;
      width: 45%;
    }
  
  .toggle_btn span:nth-of-type(1) {
    top:15px; 
  }
  
  .toggle_btn span:nth-of-type(2) {
    top:23px;
  }
  
  .toggle_btn span:nth-of-type(3) {
    top:31px;
  }
  
  /*activeクラスが付与されると線が回転して×に*/
  
  .toggle_btn.active span:nth-of-type(1) {
      top: 18px;
      left: 18px;
      transform: translateY(6px) rotate(-45deg);
      width: 30%;
  }
  
  .toggle_btn.active span:nth-of-type(2) {
    opacity: 0;/*真ん中の線は透過*/
  }
  
  .toggle_btn.active span:nth-of-type(3){
      top: 30px;
      left: 18px;
      transform: translateY(-6px) rotate(45deg);
      width: 30%;
  }

}

@media screen and (max-width: 600px){
    nav img {
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%);
        margin: 0;
        width: 90%;
    }

    .log{
        opacity: 1;
        position: absolute;
        width: 65%;
        top: 45px;
        left: 10px;
    }

    header{
        height: 100vh;
        width: 100vw;
        background-image: url(../images/top.png);
        background-position:center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    
    header h1{
        position: absolute;
        top: 50%;
        left: 10%;
        font-size: 1.5em;
        line-height: 1.5;
        text-shadow: 1px 1px 3px rgb(255, 255, 255);
    }
    
    .pink{
        color: var(--p-color);
        font-size: 2.0em;
        font-weight: 100;
    }
    
    .green{
        color:var(--g-color);
        font-size: 2.0em;
        font-weight: 100;
    }
    
    /* concept */
    
    .concept{
        height: 110vh;
        width: 100vw;
        margin-top: 50px;
        background-image: url(../images/bg.png);
        background-position: right;
        background-repeat: no-repeat;
        position: relative;
        letter-spacing: 5px;
    }
    
    .con-title{
        writing-mode: vertical-rl;
        float: right;
        margin-top: 0;
        line-height: 2.0;
        color: var(--g-color);
    }
    
    .con-title h3{
        margin-top: 50px;
        margin-right: 50px;
    }
    
    .back-img {
        position: absolute;
        top: 60%;
        left: 15%;
    }
    
    .front-img{
        position: relative;
        width: 78%;
        padding-top: 10%;
        z-index: 995;
    }
    
    
    /* service */
    
    .service{
        height: 150vh;
        width: 100vw;
        text-align: center;
        margin-top: 100px;
        background-image: url(../images/bg2_2.png);
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .service h2{
        font-size: 2.5em;
    }
    
    .service p{
        margin-top: 10px;
        font-size: 0.5em;
    }
    
    .s-cont1,.s-cont2{
        text-align: center;
    }
    
    .service-cont{
        display: block;
        justify-content: space-around;
        margin-top: 50px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .service-cont p{
        font-size: 13px;
    }
    
    .service-cont img{
        width: 100%;
    }

    .s-cont2{
        padding-top: 50px;
    }
    
    /* about */
    
    .about{
        width: 100vw;
        margin-top: 100px;
        text-align: center;
        /* height: 200vh; */
    }
    
    .about h2{
        font-size: 2.5em;
    }
    
    .about p{
        margin-bottom: 10px;
        font-size: 0.5em;
    }
    
    .about .dot{
        margin-top: 10px;
    }
    
    .ab-col{
        text-align: center;
        margin-top: 50px;
    }
    
    .ab-col h3{
        width: 20%;
        padding-top: 40px;
    }
    
    table{
        width: 90%;
        line-height: 2.0;
        margin-left: auto;
        margin-right: auto;
        font-size: 13px;
    }
    
    tr{
        width: 100%;
    }
    
    th{
        padding-top: 40px;
        padding-bottom: 40px;
        width: 37%;
    }
    
    td{
        text-align: left;
        padding: 50px 0 50px 10px;
    }
    
    iframe{
        padding-top: 20px;
        padding-bottom: 50px;
        width: 100%;
        height: 120%;
    }
    
    .bd{
        border-bottom:0.3px solid var(--f-color);
    }
    
    
    /* contact */
    
    .contact{
        height: 50vh;
        margin-top: 100px;
        position: relative;

        margin-bottom: 200px;
    }
    
    .cont-area{
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        background-image: url(../images/contact.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding: 70px 0;
    }
    
    /* upside */
    .cont{
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .cont .sub {
        margin-right: 0;
        padding-top: 38px;
        width: 100%;
    }
    
    .tel{
        padding-top: 38px;
        display: flex;
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .pp{
        text-align: center;
    }
    
    .pp a{
        color: var(--f-color);
        font-weight: bold;
    }
    
    .pp p{
        font-size:0.5em;
        margin-top: 20px;
    }
    
    /* downside */
    
    .btn{
        margin-top: 50px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: block;
        justify-content: center;
    }
    
    .btn a{
        height: 60px;
        width: 80%;
        border-radius: 100vh;
        color: white;
        font-size: large;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 0;
    }

    .btn a:hover{
        opacity: 0;
    }
    
    .shiroi{
        background-color: rgb(99, 67, 67);
    }
    
    .contact-btn{
        background-color: var(--ps-color);
    }
    
    .btn a img{
        margin-right: 20px;
    }

    a.shiroi {
        margin: auto;
    }
    a.contact-btn {
        margin: 30px auto;
    }
    
    .contact .cta{
        position: absolute;
        left: 30%;
    }

    footer {
        padding: 2rem;
        font-size: 15px;
        color: var(--f-color);
        background: var(--c-color);
        border-top: 1px solid #e5e7eb;
        display: block;
        text-align: center;
    }
      
    footer a{
        color: var(--f-color);
    }
    footer ul{
        display: block;
    }
    
    footer li{
        list-style: none;
        margin: 20px;
    }
}


@media screen and (max-width: 400px){
    nav img {
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%);
        margin: 0;
        width: 90%;
    }

    .log{
        opacity: 1;
        position: absolute;
        width: 65%;
        top: 45px;
        left: 10px;
    }

    header{
        height: 100vh;
        width: 100vw;
        background-image: url(../images/top.png);
        background-position:center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    
    header h1{
        position: absolute;
        top: 50%;
        left: 10%;
        font-size: 1.5em;
        line-height: 1.5;
        text-shadow: 1px 1px 3px rgb(255, 255, 255);
    }
    
    .pink{
        color: var(--p-color);
        font-size: 2.0em;
        font-weight: 100;
    }
    
    .green{
        color:var(--g-color);
        font-size: 2.0em;
        font-weight: 100;
    }
    
    /* concept */
    
    .concept{
        height: 110vh;
        width: 100vw;
        margin-top: 50px;
        background-image: url(../images/bg.png);
        background-position: right;
        background-repeat: no-repeat;
        position: relative;
        letter-spacing: 5px;
    }
    
    .con-title{
        writing-mode: vertical-rl;
        float: right;
        margin-top: 0;
        line-height: 2.0;
        color: var(--g-color);
    }
    
    .con-title h3{
        margin-top: 50px;
        margin-right: 50px;
    }
    
    .back-img {
        position: absolute;
        top: 60%;
        left: 15%;
    }
    
    .front-img{
        position: relative;
        width: 90%;
        padding-top: 10%;
        z-index: 995;
    }
    
    
    /* service */
    
    .service{
        height: 130vh;
        width: 100vw;
        text-align: center;
        margin-top: 100px;
        background-image: url(../images/bg2_2.png);
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .service h2{
        font-size: 2.5em;
    }
    
    .service p{
        margin-top: 10px;
        font-size: 0.5em;
    }
    
    .s-cont1,.s-cont2{
        text-align: center;
    }
    
    .service-cont{
        display: block;
        justify-content: space-around;
        margin-top: 50px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .service-cont p{
        font-size: 13px;
    }
    
    .service-cont img{
        width: 100%;
    }

    .s-cont2{
        padding-top: 50px;
    }
    
    /* about */
    
    .about{
        width: 100vw;
        margin-top: 100px;
        text-align: center;
        /* height: 200vh; */
    }
    
    .about h2{
        font-size: 2.5em;
    }
    
    .about p{
        margin-bottom: 10px;
        font-size: 0.5em;
    }
    
    .about .dot{
        margin-top: 10px;
    }
    
    .ab-col{
        text-align: center;
        margin-top: 50px;
    }
    
    .ab-col h3{
        width: 20%;
        padding-top: 40px;
    }
    
    table{
        width: 90%;
        line-height: 2.0;
        margin-left: auto;
        margin-right: auto;
        font-size: 13px;
    }
    
    tr{
        width: 100%;
    }
    
    th{
        padding-top: 40px;
        padding-bottom: 40px;
        width: 37%;
    }
    
    td{
        text-align: left;
        padding: 50px 0 50px 10px;
    }
    
    iframe{
        padding-top: 20px;
        padding-bottom: 50px;
        width: 100%;
        height: 120%;
    }
    
    .bd{
        border-bottom:0.3px solid var(--f-color);
    }
    
    
    /* contact */
    
    .contact{
        height: 50vh;
        margin-top: 100px;
        position: relative;

        margin-bottom: 200px;
    }
    
    .cont-area{
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        background-image: url(../images/contact.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        padding: 70px 0;
    }
    
    /* upside */
    .cont{
        display: block;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .cont .sub {
        margin-right: 0;
        padding-top: 38px;
        width: 100%;
    }
    
    .tel{
        padding-top: 38px;
        display: flex;
        margin-left: 0;
        width: 100%;
    }
    
    .pp{
        text-align: center;
    }
    
    .pp a{
        color: var(--f-color);
        font-weight: bold;
    }
    
    .pp p{
        font-size:0.5em;
        margin-top: 20px;
    }
    
    /* downside */
    
    .btn{
        margin-top: 50px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: block;
        justify-content: center;
    }
    
    .btn a{
        height: 60px;
        width: 80%;
        border-radius: 100vh;
        color: white;
        font-size: large;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 0;
    }
    
    .shiroi{
        background-color: rgb(99, 67, 67);
    }
    
    .contact-btn{
        background-color: var(--ps-color);
    }
    
    .btn a img{
        margin-right: 20px;
    }

    a.shiroi {
        margin: auto;
    }
    a.contact-btn {
        margin: 30px auto;
    }
    
    .contact .cta{
        position: absolute;
        left: 30%;
    }

    footer {
        padding: 2rem;
        font-size: 15px;
        color: var(--f-color);
        background: var(--c-color);
        border-top: 1px solid #e5e7eb;
        display: block;
        text-align: center;
    }
      
    footer a{
        color: var(--f-color);
    }
    footer ul{
        display: block;
    }
    
    footer li{
        list-style: none;
        margin: 20px;
    }
}

