/* 
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%;
    font-weight: normal;
    vertical-align:baseline;
    background:transparent;
    list-style: none;
}
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;
}
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
input, button, textarea, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* ====================
content-style
==================== */

html {
    height: 100%;
    min-height: 100%;
    width: 100%;
}

body {
    background: #f9f9f9 url(../img/bg/noise.png);
    color: #917947;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    z-index: 0;
    height: 100%;
	min-height: 100%;
	display: none;
}

::selection {
    background: #A58C53;
    color: #fff;
}
::-moz-selection {
    background: #A58C53;
    color: #fff;
}


/* ----- grobal nav ----- */

.toggle {
    background: #917947;
    border: solid 1px #917947;
    border-radius: 2px;
    cursor: pointer;
    color: #fff;
    font-family: 'Noto Sans', sans-serif;
    font-size: 9px;
    height: 50px;
    position: fixed;
    text-align: center;
    right: 20px;
    top: 20px;
    width: 50px;
    z-index: 10000;
    transition: .35s ease;
}
    .toggle span {
        display: block;
        position: absolute;
        width: 27px;
        border-bottom: solid 1px #fff;
        transition: .35s ease;
        left: 11px;
    }
        .toggle:hover {
            background: #fff;
        }
        .toggle:hover span {
            border-color: #917947;
            color: #917947;
        }
        .toggle span:nth-child(1) {
            top: 9px;
        }

        .toggle span:nth-child(2) {
            top: 18px;
        }

        .toggle span:nth-child(3) {
            top: 27px;
        }

        .toggle span:nth-child(4) {
            border: none;
            top: 34px;
            left: 10px;
        }
        .toggle.active span:nth-child(1) {
            top: 18px;
            -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
        }
        .toggle.active span:nth-child(2),
        .toggle.active span:nth-child(3) {
            top: 18px;
            -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
        }

.gnavi {
    background: rgba(255,255,255,0.9);
    height: 100%;
    position: fixed;
    text-align: center;
    transform: translateX(100%);
    transition: all 0.7s;
    right: 0;
    width: 20%;
    z-index: 9999;
}
    .gnavi ul {
        display: block;
        height: 420px;
        top: 50%;
        margin-top: -210px;
        position: absolute;
        width: 100%;
    }
    .gnavi.nav-notation ul {
        height: 70px;
        margin-top: -35px;
    }
        .gnavi ul li {
            height: 70px;
            width: 100%;
        }
            .gnavi ul li a {
                border-bottom: solid 1px #A58C53;
                color: #A58C53;
                display: inline-block;
                font-family: 'Lustria', serif;
                font-size: 150%;
                letter-spacing: 2px;
                text-decoration: none;
                height: 100%;
                line-height: 70px;
                width: 80%;
                transition: all .4s ease-out;
            }
            .gnavi ul li:last-child a {
                border-bottom: none;
            }
            .gnavi ul li a:hover {
                letter-spacing: 4px;
                opacity: .5;
                transition: all .2s ease-in;
            }

nav.gnavi.active {
    transform: translateX(0%);
    transition: all 0.5s;
}

p {
    font-family: 'Noto Sans', "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 220%;
}
    p.lustria {
        color: #A58C53;
        font-family: 'Lustria', serif;
    }
    p a {
        border: solid 1px #A58C53;
        color: #A58C53;
        display: inline-block;
        line-height: 125%;
        margin: 0 2px;
        padding: 0 4px;
        text-decoration: none;
        transition: all .2s ease;
    }
    p a:hover {
        background: #A58C53;
        color: #fff;
        transition: all .2s ease;
    }

header {
    background: no-repeat center url(../img/bg/bg_flower.png),no-repeat center url(../img/bg/bg_line.png);
    background-size: auto 100%;
    display: block;
    height: 100%;
    min-height: 100%;
    position: relative;
    text-align: center;
}
    .hero-logo{
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -90px;
        margin-left: -304px;
    }
    header small {
        display: inline-block;
        font-size: 28px;
        letter-spacing: 4px;
        position: relative;
    }
        header small:before {
            content: "";
            background: #A58C53;
            display: block;
            height: 1px;
            left: -120px;
            top: 50%;
            position: absolute;
            width: 100px;
            z-index: 999;
        }
        header small:after {
            content: "";
            background: #A58C53;
            display: block;
            height: 1px;
            right: -120px;
            top: 50%;
            position: absolute;
            width: 100px;
            z-index: 999;
        }

.content {
    display: block;
    margin: 0 auto;
    width: 1100px;
	position: relative;
}
    .content section {
		display: inline-block;
        padding-top: 230px;
        text-align: center;
        width: 100%;
    }
    .content section:first-child {
        padding-top: 150px;
    }
    .content section:last-child{
        margin-bottom: 150px;
    }
        h2 {
            border-bottom: solid 1px #A58C53;
            color: #A58C53;
            display: inline-block;
            font-family: 'Lustria', serif;
            font-size: 35px;
            letter-spacing: 5px;
            margin-bottom: 45px;
            padding: 0 2px 5px 2px;
            position: relative;
            z-index: 999;
        }
        

/* ====================
headline-image
==================== */

h2:before,h2:after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
}
    /* ----- about ----- */
    #about h2:before {
        background: url(../img/hl/hl_about_l.png);
        height: 123px;
        top: -120px;
        left: -132px;
        width: 101px;
    }
    #about h2:after {
        background: url(../img/hl/hl_about_r.png);
        bottom: -50px;
        height: 127px;
        right: -100px;
        width: 142px;
    }
    /* ----- plan ----- */
    #plan h2:before {
        background: url(../img/hl/hl_plan_l.png);
        height: 175px;
        top: -150px;
        left: -360px;
        width: 294px;
    }
    #plan h2:after {
        background: url(../img/hl/hl_plan_r.png);
        bottom: -50px;
        height: 204px;
        right: -320px;
        width: 266px;
    }
    /* ----- flow ----- */
    #flow h2:before {
        background: url(../img/hl/hl_workflow_l.png);
        height: 145px;
        top: -50px;
        left: -210px;
        width: 201px;
    }
    #flow h2:after {
        background: url(../img/hl/hl_workflow_r.png);
        height: 196px;
        top: -130px;
        right: -170px;
        width: 202px;
    }
    /* ----- portfolio ----- */
    #pf h2:before {
        background: url(../img/hl/hl_portfolio_l.png);
        height: 178px;
        top: -130px;
        left: -430px;
        width: 339px;
    }
    #pf h2:after {
        background: url(../img/hl/hl_portfolio_r.png);
        height: 240px;
        top: -160px;
        right: -280px;
        width: 228px;
    }
    /* ----- contact ----- */
    #contact h2:before {
        background: url(../img/hl/hl_contact_l.png);
        height: 249px;
        top: -170px;
        left: -260px;
        width: 285px;
    }
    #contact h2:after {
        background: url(../img/hl/hl_contact_r.png);
        height: 150px;
        top: -90px;
        right: -250px;
        width: 219px;
    }

/* ====================
img-table
==================== */

.img-table {
    display: block;
    overflow: hidden;
    width: 1100px;
}
.img-table div{
    height: auto;
    margin-bottom: 30px;
    width: 526px;
}
.left {
    float: left;
}
.right {
    float: right;
}
.cboth:after {
    content: "";
    clear: both;
    display: block;
}

section small {
    display: inline-block;
    font-size: 15px;
    line-height: 200%;
}
    #plan small {
        text-align: left;
        width: 44em;
    }
    #pf small {
        color: #A58C53;
        line-height: 180%;
        margin-top: 10px;
    }

/* ====================
notice
==================== */

.notice {
    font-size: 15px;
    line-height: 180%;
    margin-top: 15px;
    text-align: left;
    width: 70%;
}
.notice li {
    display: block;
    margin-bottom: 15px;
    position: relative;
}
.notice li:after {
    background: url(../img/tb/check_mark.png);
    content: "";
    display: block;
    height: 24px;
    left: -40px;
    position: absolute;
    top: 0;
    width: 29px;
}

/* ====================
portfolio
==================== */

#pf ul {
    display: block;
    margin: 45px -10px 0 -10px;
}
    #pf ul li {
        border: solid 1px #A58C53;
        display: inline-block;
        height: auto;
        padding: 8px 8px 6px 8px;
        width: auto;
    }
        #pf ul li.left {
            margin-bottom: 45px;
        }
        #pf ul li.right {
            margin-top: 45px;
        }
            #pf ul li a {
                transition: all .2s ease;
            }
            #pf ul li a:hover {
                opacity: .5;
                transition: all .2s ease;
            }

/* ====================
contact
==================== */

#contact strong {
    border-bottom: solid 1px #A58C53;
    display: inline-block;
    line-height: 22px;
    padding-bottom: 4px;
}
    #contact strong:before {
        background: #A58C53;
        border-radius: 11px;
        color: #fff;
        content: "!";
        display: inline-block;
        font-weight: bold;
        height: 22px;
        width: 22px;
    }
    .attention {
        display: inline-block;
        color: #e54730;
        position: relative;
        margin-top: 15px;
    }
        .attention:before {
            content: "";
            display: block;
            border: solid 1px #e54730;
            position: absolute;
            width: 100%;
            height: 23px;
            width: 100%;
            bottom: 5px;
            left: -4px;
        }
/* ----- form ----- */
#contact form {
    display: inline-block;
    height: auto;
    margin-top: 45px;
    text-align: left;
    position: relative;
    width: 690px;
}
#contact form label {
    display: block;
    width: 690px;
}
    #contact .form-label {
        border: 1px solid #A58C53;
        display: block;
        float: left;
        height: 45px;
        margin: 0;
        padding: 0;
        line-height: 45px;
        text-align: center;
        width: 188px;
    }
    #contact label:nth-child(2) .form-label,
    #contact label:nth-child(2) input {
        border-top: none;
    }
    #contact .form-message {
        border-top: none;
        height: 285px;
        line-height: 285px;
    }
    #contact label input,
    textarea {
        -webkit-appearance: none;
        border: 1px solid #A58C53;
        border-left: none;
        display: block;
        height: 35px;
        float: right;
        margin: 0;
        padding: 5px;
        width: 489px;
        border-radius: 0;
    }
#message {
    border-top: none;
    height: 275px;
    resize: none;
    overflow: auto;
}
    /* ----- button ----- */
    #contact form > *,
    #contact form > :before,
    #contact form > :after{
        transition: all .2s ease;
    }
    #contact form button {
        background: none;
        border: 1px solid #A58C53;
        color: #A58C53;
        display: inline-block;
        font-size: 16px;
        height: 45px;
        letter-spacing: 5px;
        padding-left: 35px;
        position: relative;
        margin: 30px 0 0 290px;
        width: 110px;
    }
    #contact form button:before {
        border: 1px solid #A58C53;
        border-radius: 10px;
        content: "";
        display: block;
        height: 18px;
        left: 17px;
        position: absolute;
        top: 11px;
        width: 18px;
    }
    #contact form button:after {
        border-top: 1px solid #A58C53;
        border-right: 1px solid #A58C53;
        content: "";
        display: block;
        height: 6px;
        left: 22px;
        position: absolute;
        transform:rotate(45deg);
        top: 17px;
        width: 6px;
    }
    #contact form button:hover {
        background: #A58C53;
        cursor: pointer;
        color: #fff;
    }
    #contact form button:hover:before, #contact form button:hover:after {
        border-color: #fff;
    }


/* ====================
notation
==================== */

#notation h2 {
    font-family: Georgia, "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

#notation table {
    border-collapse: collapse;
    font-family: 'Noto Sans', "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 170%;
    width: 770px;
    margin: 0 auto;
}
    #notation table tr {
        width: 100%;
        height: auto;
    }
    #notation table tr th {
        border: solid 1px #A58C53;
        border-left: none;
        box-sizing: border-box;
        vertical-align: middle;
        padding: 15px;
        margin: 0;
        width: 30%;
    }
    #notation table tr td {
        border: solid 1px #A58C53;
        border-right: none;
        box-sizing: border-box;
        padding: 15px;
        vertical-align: middle;
        text-align: left;
        width: 64%;
    }
    #notation table ul {
        box-sizing: border-box;
        display: inline-block;
        width: 100%;
        margin-bottom: 20px;
    }
    #notation table ul li {
        box-sizing: border-box;
        margin-left: 20px;
        list-style: circle;
    }
    #notation a {
        border: solid 1px #917947;
        color: #917947;
        display: inline-block;
        line-height: 125%;
        margin: 0 2px;
        padding: 0 4px;
        text-decoration: none;
        transition: all .2s ease;
    }
    #notation a:hover {
        background: #917947;
        color: #fff;
        transition: all .2s ease;
    }

/* ====================
jquery-fade
==================== */

.fade-in {
    transition: opacity 1.2s,transform 1.2s;
}

/* ====================
footer
==================== */

footer {
    text-align: center;
    padding-bottom: 70px;
}
    footer h2 {
        font-size: 30px;
    }
    .notation {
        display: inline-block;
        font-size: 16px;
        margin: 30px 0 40px 0;
        padding: 5px 8px;
    }
footer small {
    font-size: 18px;
    letter-spacing: 4px;
}

/* ====================
smartphone & tablet
==================== */

@media screen and (max-width: 1150px) {
    
    p {
        font-size: 13px;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* ----- content ----- */
    .content {
		padding: 0 3%;
        width: 94%;
		height: auto;
		overflow: hidden;
    }
    
    /* ----- table ----- */
    .img-table {
        width: 100%;
    }
    .img-table div{
        width: 47%;
    }
    
    /* ----- plan ----- */

    #plan small {
        font-size: 13px;
        margin: 0 auto;
        width: auto;
    }
    
    /* ----- notice ----- */
    .notice {
        font-size: 13px;
        line-height: 210%;
    }
        .notice li {
            margin-bottom: 20px;
        }
        .notice li:after {
            background-size: contain;
            height: 22px;
            left: -33px;
            width: 27px;
        }
        img.point {
            height: auto;
            min-width: 210px;
            margin: 1% 0 25px 0;
            width: 25%;
        }
    
    /* ----- portfolio ----- */
    #pf ul {
        display: block;
        margin: 45px 0 0 0;
        padding: 0 2%;
        width: 96%;
    }
    #pf small {
        font-size: 13px;
        line-height: 200%;
    }
        #pf ul li {
            width: auto;
        }
        #pf ul li.left,
        #pf ul li.right {
            float: none;
        }
        #pf ul li.right {
            margin: 0 0 45px 0;
        }
    
    #contact form {
        max-width: 690px;
        width: 100%;
    }
    #contact form label {
        max-width: 690px;
        width: 100%;
    }
        #contact .form-label {
			box-sizing: border-box;
            float: none;
            height: 45px;
            line-height: 45px;
            max-width: 690px;
            width: 100%;
        }
        #contact .form-message {
            border-top: none;
            height: 45px;
            line-height: 45px;
        }
        #contact label input,
        textarea {
            border: 1px solid #A58C53;
            border-top: none;
			box-sizing: border-box;
            height: 45px;
            float: none;
            padding: 1%;
            width: 100%;
            max-width: 690px;
        }
}


@media screen and (max-width: 960px) {
    
    .left,.right {
        float: none;
    }   
    
    /* ----- table ----- */
    .img-table {
        width: 100%;
        margin-bottom: 15px;
    }
    .img-table div{
        width: 100%;
        margin-bottom: 25px;
    }
    .img-table div:first-child:after {
        background-image: linear-gradient(to right, #A58C53 60%, rgba(255,255,255,0) 0%);
        background-position: bottom;
        background-size: 14px 1px;
        background-repeat: repeat-x;
        content: "";
        display: block;
        height: 1px;
        margin-top: 50px;
        width: 100%;
    }
    
    /* ----- notice ----- */
    .notice {
        margin-left: 7%;
        width: 86%;
    }
        .notice li {
            margin-left: 25px;
        }
    
}

@media screen and (max-width: 770px) {
	
	.gnavi {
		width: 150px;
	}
    
    /* ----- notation ----- */
    #notation table {
        box-sizing: border-box;
        font-size: 13px;
        width: 100%;
        padding: 0 10px;
        margin: 0 auto;
    }
	
}

@media screen and (max-width: 690px) {
    
    .fade-in {
        transition: none;
        transition: opacity 1.2s;
    }
    
    header {
        background: repeat center url(../img/bg/bg_line.png);
        background-size: 100% auto;
    }
        .hero-logo{
            position: relative;
            top: 44%;
            left: 20%;
            margin-top: 0;
            margin-left: 0;
            width: 60%;
        }
        header small {
            display: inline-block;
            font-size: 17px;
        }
            header small:before {
                display: none;
            }
            header small:after {
                display: none;
            }
	
	.content section {
		padding-top: 50px;
		margin-bottom: 50px;
	}
	.content section:first-child {
        padding-top: 50px;
    }
	.content section:last-child{
        margin-bottom: 150px;
    }
    #notation {
        padding-top: 100px;
    }

    /* -----headline ----- */
    h2 {
        font-size: 30px;
        text-align: center;
    }
	#about h2,
    footer h2{
		font-size: 25px;
	}

        /* ----- h2:before,after ----- */
		h2:before,
		h2:after {
			display: none;
		}
    
    /* ----- button ----- */
    #contact form button {
        margin: 30px 0 0  -55px;
        left: 50%;
        width: 110px;
    }
    
    #notation table tr {
        width: 100%;
        height: auto;
    }
    #notation table tr th {
        border-left: solid 1px #A58C53;
        background: #fff;
        color: #917947;
        display: block;
        box-sizing: border-box;
        padding: 20px 15px;
        margin: 0;
        width: 100%;
    }
    #notation table tr td {
        border: none;
        box-sizing: border-box;
        display: block;
        padding: 20px 15px;
        width: 100%;
    }
    
}

@media screen and (max-width: 600px) {
	.gnavi {
		width: 100%;
	}
	footer small {
   		 font-size: 13px;
   	 	letter-spacing: 3px;
	}
}
