@charset "UTF-8";
/* main */

* {
   padding: 0;
   font-weight: 300;
   font-size: 18px; 
   font-family: "Rajdhani", 'Zen Kaku Gothic New', sans-serif;
   color: rgb(104, 87, 87);
}

.flex {
    display: flex;
}

.inner {
    width: 1100px;
    margin: 0 auto;
}

img {
    max-width: 100%;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    display: block;
    transition: all .3s ease;
}

a:hover {
    color: rgb(128, 196, 252);
}

header a.header {
    font-size: 50px;
    line-height: 110%;
    margin: 0 10px;
    position: fixed;
    z-index: 100;
    color: rgb(128, 196, 252);
}

header h1 {
    font-size: 50px;
    font-weight: 600;
    line-height: 110%;
    margin: 0 10px;
    position: fixed;
    z-index: 100;
}

header p {
    font-size: 16px;
    color: rgb(104, 87, 87);
}

header #gnav {
    position: -webkit-sticky;
    position: fixed;
    padding: 5px 0 0;
    right: 0;
    top: 0;
    z-index: 100;
}

#gnav li {
    padding: 0 35px;
}

.white {
    width: 100%;
    height: 100%;
}

.title {
    position: absolute;
    top: 600px;
    left: 50%;
    width: 600px;
    margin-left: -300px;
    color: #fff;
    text-align: center;
}

section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 40px;
    font-weight: 400;
    position: relative;
    font-weight: 600;
}

  h2:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    display: inline-block;
    width: 80px;
    height: 3px;
    transform: translate(-50%);
    background-color: rgb(128, 196, 252);
    ;
}

/* section01 */
#sec01 {
    padding: 60px 0;
}

.box {
  display:flex;
  justify-content:space-evenly;
  margin: 30px;
  padding-top: 20px;
  border-top: dotted 1px #616161;
}

.ex {
    text-align: center;
    margin-bottom: 80px;
    color: rgb(104, 87, 87);
}

#sec01 h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 5px;
}

#sec01 a {
    font-size: 18px;
    display: inline;
    margin: 5px;
    color: rgb(128, 196, 252);
}

.pict img {
    max-width: 200%;
    display: block;
    margin: auto;
    width: 460px;
    height:auto;
}

.text {
    margin: 0 35px 0 0;
}

/* footer */
footer {
    background:#fff;
    padding: 30px 0;
    text-align: center;
    border-top: 3px solid rgb(128, 196, 252);
}

footer nav .flex{
    justify-content: center;
    margin: 50px;
}

footer nav li {
    margin: 0 30px 20px;
    font-size: 16px;
}

footer nav li a {
    text-decoration: none;
    transition: all .2s ease;
    font-size: 18px;
}

footer nav li a:hover {
    color: rgb(128, 196, 252);
}

.fa-twitter:before {
    font-size: 30px;
}

.fa-facebook-f:before {
    font-size: 30px;
}

#pagetop {
    width: 80px;
    position: fixed;
    bottom: 30px;
    right: 30px;
}

#pagetop a img {
    max-width: 35%;
}

.sp {display: none; }

.img-sp {
    display: none;
}

@media only screen and (max-width: 500px) {

    .img-pc {
        display: none;
    }

    .img-sp {
        display: block;
    }

    #sec01 h1 {
        font-size: 18px;    
    }
    #sec01 h3 {
        font-size: 16px;
        text-align: center;
    }
    #sec01 p {
        font-size: 16px;
    }
}

@media (max-width:640px) {
    form {
        width: 100%;
    }
    .sp {display: block;}

    header #nav_btn {
        position: fixed;
        top: 0;
        right: 0;
        margin-top: 0;
        padding: 10px 20px;
        z-index: 9999;
        background: rgba(0, 0, 0, .5);
    }

    header #nav_btn img {
        width: 35px;
    }

    header .menu_btn0 {display: block;}
    header .menu_btn1 {display: none;}
    header.nav_open .menu_btn0 {display: none;}
    header.nav_opne .menu_btn1 {display: block;}

    header #gnav {
        float: none;
        position: fixed;
        width: 100%;
        padding: 20px 0;
        background: rgba(255, 255, 255, .7);
        z-index: 9998;
        display: none;
    }

    header nav ul.flex {
        display: block;
    }

    header nav a {
        padding: 20px;
        margin: 0;
        text-align: center;
    }

    footer nav {
        display: none;
    }

    .title {
        width: auto;
        margin: 0 auto;
        left: auto;
    }

    .title p {
        font-size: 20px;
    }

    .pict img {
        width:80%;
        height:auto;
        margin: 0;
    }

    #pagetop {
        bottom: 20px;
        right: 20px;
    }

    #sec01 .box {
        width: 100%
    }
}

@media(max-width: 1100px) {
    .inner {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    #sec01 .flex {
        flex-wrap: wrap;
    }

    #sec01 .box {
        display: table;
        margin-bottom: 20px;
    }

    #sec02 {
        background-position: center top;
        background-size: cover;
    }

    #sec02 h2 {
        margin-bottom: 30px;
    }

    #sec02 .text_block {
    width: 100%;
    padding: 50px 0 100px;
    text-align: center;
    }
}