@charset "utf-8";

/*
============ Color Code=================
#232323 text
#f9a5a5 link
====================================
*/

html, body{
    background-color: #fff;
    color: #232323;
    line-height: 1.5;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

#wrapper{
    margin: 0 auto;
}

img{
    border: 0;
    max-width: 100%;
    height: auto;
}

a{
    color: #ccc;
    text-decoration: none;
    transition: 0.5s;
    display: block;
}

*:focus{
    outline: none;
}

ul li{
    list-style: none;
}

.clearfix::after{
    content: "";
    display: block;
    clear: both;
}

*,
*::before,
*::after{
    box-sizing: border-box;
}


/*
======================================
Base Layout
======================================
*/

/*All and Smart Phone*/

/*container-width*/
.container{
    max-width: 960px;
    padding: 0 10px;
    margin: 0 auto;
}

header, footer{
    width: 100%;   
}

/*head-line*/
h1{
    font-size: 18px;
}

/*pragraph*/
p{font-size: 16px;}


/*=========================================
 header 
==========================================*/
header{
    z-index: 20;
}

header h1{
    font-family: 'Bad Script', cursive;
    font-weight: normal;
}
header h1 img{
    width: 20px;
}

/*hamburger-menu for SP*/

#wrapper #global-navi {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    padding-top: 50px;
    background:rgba(0,0,0,0.8);
    font-size: 16px;
    box-sizing: border-box;
    z-index: 10
}

#wrapper #global-navi ul li {
    padding: 20px 28px;
}

#wrapper .btn-gnavi {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 11;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms
}

#wrapper .btn-gnavi span {
    position: absolute;
    width: 30px;
    height: 3px;
    background: #f9a5a5;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms
}

#wrapper .btn-gnavi span:nth-child(1) {
    top: 0
}

#wrapper .btn-gnavi span:nth-child(2) {
    top: 10px
}

#wrapper .btn-gnavi span:nth-child(3) {
    top: 20px
}

#wrapper .btn-gnavi.open {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg)
}

#wrapper .btn-gnavi.open span {
    background: #fff
}

#wrapper .btn-gnavi.open span:nth-child(1) {
    width: 24px;
    -webkit-transform: translate(-7px,17px) rotate(45deg);
    transform: translate(-7px,17px) rotate(45deg)
}

#wrapper .btn-gnavi.open span:nth-child(3) {
    width: 24px;
    -webkit-transform: translate(-7px,-17px) rotate(-45deg);
    transform: translate(-7px,-17px) rotate(-45deg)
}

#global-navi a{
    color: #fff;
}

#global-navi span{
    font-size: 14px;
}

/*logo=========================*/
h1{
    display: block;
    float: left;
    line-height: 2;
}
h1 a{
    display: inline-block;
    color: #fff;
}
h1 img{
    width: 50px;
    padding-top: 10px;
}

/*PC navi===================*/
.pc-navi ul{
    text-align: right;
}
.pc-navi li{
    padding: 5px 8px;
    display: block;
    font-size: 18px;
    display: inline-block;
}
.pc-navi{
    display: none; /*no show for SP*/
}

/*fadein==================*/
.fadein{
    transform: translateY(20px);
    transition: all 1s;
}


/*====================================
Conteents
======================================*/

/*Here is main content. */

/*=======================================
footer
======================================*/
/*go-top-button*/
.gotop{
    width: 50px;
    height: 50px;
    font-size: 50px;
    text-align: center;
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 9999;
    display: none;
}

.gotop a{
    color: #f9a5a5;
}

/*footer*/
.footer{
    padding: 10px;
    text-align: center;
    background-color: rgba(0,0,0,0.7);
}
.footer li, .footer a{
    display: inline-block;
    font-size: 12px;
}
.footer .sns a{
    padding: 10px;
    font-size: 20px;
}

/*
=================================================
メディアクエリ：スマホ横向き＆タブレット&PC(width:560~)
=================================================
*/
@media screen and (min-width: 560px){
    a:hover{
        opacity: 0.7;
        color: #f9a5a5;
    }
    
    header{
        background-color:rgba(0,0,0,0.7);
        position: fixed;
     }   

    .btn-gnavi{display: none;}

    .left{
        width: 50%;
        float: left;
        padding-top:30px;
        padding-bottom: 30px;
    }
    .right{width: 50%; float: right;}
        
    .footer{ margin-bottom: 0;}

    .gotop{
        bottom: 30px;
        right: 30px;
    }
    

}
