/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}
/*gnavi*/
.menu{
    display: none;
    position: fixed;
    z-index: 200;
    width: 100%;
    height: 100vh;
    background-color: #e4f6ffe8;
    font-size: 20px;
    text-align: center;
    padding: 50px;
    top: 0;
}
.menu li{
    padding: 20px 50px;
    list-style: none;
    transform: translateX(40px);
    opacity: 0;
    border-bottom: solid .5px white;
    transition: all 1s;
}
.menu a{
    text-decoration: none;
    color: black;
}
.menu.open li{
    
    animation: menuanim 1s ease-out;
    animation-fill-mode: forwards;
}
.menu li:nth-child(2){
    animation-delay: .2s;
}
.menu li:nth-child(3){
    animation-delay: .4s;
}
.menu li:nth-child(4){
    animation-delay: .6s;
}
@keyframes menuanim{
    0%{
        transform: translateX(40px);
        opacity: 0;
    }
    60%{
        opacity: 0.3;
    }
    100%{
        transform: translateX(0);
        opacity: 1;
    }
}

.btn-trigger{
    position: fixed;
    top:10px;
    right: 10px;
    width: 25px;
    height: 22px;
    cursor: pointer;
    z-index: 300;
}
.btn-text{
    position: fixed;
    font-size: 12px;
    top: 34px;
    right: 5px;
    z-index: 300;
}
@media(min-width:1000px){
    .btn-text{
        display: none;
    }
}
.text-close{
    display: none;
}
.text-close.open{
    display: block;
}
.text-menu.open{
    display: none;
}
.btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: black;
    border-radius: 2px;
    transition: all .5s;
    box-sizing: border-box;
    z-index: 200;
}

.btn-trigger span:nth-of-type(1) {
    top: 0;
}
.btn-trigger span:nth-of-type(2) {
    top: 10px;
}
.btn-trigger span:nth-of-type(3) {
    bottom: 0;
}
#btn01.open span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
}
#btn01.open span:nth-of-type(2) {
    opacity: 0;
}
#btn01.open span:nth-of-type(3) {
    transform: translateY(-10px) rotate(45deg);
}
/*main*/
body{
    margin: 0;
    padding: 0;
    font-family: 'Crimson Text', serif;
}
header{
    position: fixed;
    width: 100%;
    height: 80px;
    transition: all 1s;
    z-index: 100;
    top: 0;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

header img{
    position: absolute;
    top: 20px;
    left: 20px;
    height: 30px;
}
header ul{
    display: flex;
    position: absolute;
    right: 200px;
}
header li{
    list-style: none;
    padding: 32px 20px;
}
.to_contact{
    position: absolute;
    top: 0;
    right: 0;
    background-color:#67A9CB;
    padding: 32px 30px;
}
.btn-trigger{
    display: none;
}
@media(max-width:1000px){
    header{
        height: 50px;
    }
    header img{
        top: 10px;
    }
    header ul{
        display: none;
    }
    .to_contact{
        display: none;
    }
    .btn-trigger{
        display: block;
    }
}
.main{
    width: 80%;
    max-width: 900px;
    margin: 100px auto;
}
.main h1{
    font-size: 25px;
    padding: 20px;
    margin: 100px 20px 50px 20px;
    border-bottom: dotted black 2px;
}
.main h3{
    padding-left: 10px;
    margin: 50px 0;
    border-left: blue solid 2px;
}

a{
    text-decoration: none;
    color: black;
}