/* --------------------------------

Primary style

-------------------------------- */
html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body {
    font-size: 100%;
    font-family: "Roboto", sans-serif;
    color: #3d3536;
    background-color: white;
}

body, html {
    /* important */
    height: 100%;
}

a {
    color: #0ea544;
    text-decoration: underline;
    font-weight: bold;
}
a:hover {
    color: #51dd24;
    text-decoration: underline;
    font-weight: bold;
}

img {
    max-width: 100%;
    text-align: center;
}

hr {
    border: none;
    border-top: dotted 3px #727272;
    margin: 2em 0;
}

/* --------------------------------

Modules - reusable parts of our design

-------------------------------- */
.container {
    /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
    width: 90%;
    max-width: 768px;
    margin: 0 auto;
}
.container::after {
    /* clearfix */
    content: '';
    display: table;
    clear: both;
}

/* --------------------------------

Main components

-------------------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    z-index: 2;
}
header:after {
    content: "";
    display: table;
    clear: both;
}
header #logo {
    height: 100%;
    padding: 12px 0 0 35px;
    float: left;
    margin: 0 0 0 5%;
    background: url("../images/manual-icon.png") no-repeat 0 5px;
    background-size: 30px 30px;
}
header #logo a {
    display: block;
    text-decoration: none;
    /*font-style: italic;*/
    font-size: 1.2em;
}
header #logo a:hover {
    text-decoration: none;
}


@media only screen and (min-width: 768px) {
    header {
        height: 70px;
    }
    header #logo {
        margin: 0 0 0 5%;
        padding-top: 14px;
    }
}
#lang-bar {
    width: 100%;
    padding-right: 5%;
    text-align: center;
    background: #e6f8d7;
    border-bottom: 1px solid #dbedcd;
    height: 1.8em;
}
#lang-bar #lang {
    padding: .3em 0;
    float: right;
}
#lang-bar #lang li {
    display: inline-block;
    margin-right: .5em;
}
#lang-bar #lang li a {
    padding: .2em .5em;
    display: block;
    border-radius: .3em;
    color: #ffffff;
    font-size: .8em;
    text-decoration: none;
}
#lang-bar #lang li a.on {
    background: #f19e05;
}
#lang-bar #lang li a.off {
    background: #0ea544;
}
#lang-bar #google_translate_element {
    float: right;
    margin-left: .2em;
    margin-top: .1em;
}
#lang-bar #google_translate_element a,
#lang-bar #google_translate_element a:hover {
    text-decoration: none;
}
#lang-bar #google_translate_element span {
    font-weight: normal;
}

#lang-bar.with-gt #google_translate_element{
    position: absolute;
    top: 68px;
    right: 0;
}
@media only screen and (min-width: 768px) {
    #lang-bar #lang {
        text-align: right;
        float: right;
    }
    #lang-bar.with-gt #google_translate_element{
        position: relative;
        top: 0;
    }
}

nav {
    float: right;
    margin-right: 5%;
    width: 44px;
    height: 100%;
    background: url("../images/menu-icon.png") no-repeat center 1px;
    background-size: 44px 44px;
    cursor: pointer;
}
nav a {
    text-decoration: none;
}
nav ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
}
nav ul.is-visible {
    -webkit-transform: translateY(70px);
    -moz-transform: translateY(70px);
    -ms-transform: translateY(70px);
    -o-transform: translateY(70px);
    transform: translateY(70px);
}
nav a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding-left: 5%;
    background: #f0f0f0;
    border-top: 1px solid #c9c9c9;
    color: #1a1a1a;
}
nav a:after {
    content: '>';
    float: right;
    padding-right: 5%;
}
@media only screen and (min-width: 768px) {
    nav {
        width: auto;
        height: auto;
        background: none;
        cursor: auto;
    }
    nav ul {
        position: static;
        width: auto;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
        line-height: 42px;
    }
    nav ul.is-visible {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
    nav li {
        display: inline-block;
        margin-left: 1em;
    }
    nav a {
        display: inline-block;
        height: auto;
        line-height: normal;
        background: transparent;
        padding: .6em 1em;
        border-top: none;
        color: #1a1a1a;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 14px;
        font-size: 0.875rem;
    }
    nav a:after {
        content: '';
        float: none;
        padding-right: 0;
    }
    .no-touch nav a:hover {
        color: #0ea544;
    }
}

.main-content {
    /* you need to assign a min-height to the main content so that the children can inherit it*/
    height: 100%;
    position: relative;
    z-index: 1;
}

.fixed-bg {
    position: relative;
    min-height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 1;
}
.fixed-bg h1 {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 90%;
    max-width: 1170px;
    text-align: center;
    font-size: 30px;
    font-size: 1.875rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    line-height: 1.2;
}
.fixed-bg h1 {
    font-size: 48px;
    font-weight: bold;
}
.fixed-bg h2 {
    font-size: 36px;
}
h3 {
    margin-bottom: .5em;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}
.fixed-bg.bg01 {
    background-image: url("../images/bg01.jpg");
}
.fixed-bg.bg04 {
    background-image: url("../images/bg04_s.jpg");
}
.fixed-bg.bg02 {
    background-image: url("../images/bg02_s.jpg");
}
.fixed-bg.bg03 {
    background-image: url("../images/bg03.jpg");
}

@media only screen and (min-width: 768px) {
    .fixed-bg h1 {
        font-size: 60px;
        font-weight: bold;
    }
    .fixed-bg h2 {
        font-size: 36px;
    }
    h3 {
        font-size: 24px;
    }
    .fixed-bg.bg02 {
        background-image: url("../images/bg02.jpg");
    }
	.fixed-bg.bg04 {
    background-image: url("../images/bg04.jpg");
}
}
@media only screen and (min-width: 1170px) {
    .fixed-bg {
        background-attachment: fixed;
    }
    .fixed-bg h1 {
        font-size: 72px;
        font-weight: bold;
    }
    .fixed-bg h2 {
        font-size: 48px;
        font-weight: 300;
    }
    h3 {
        font-size: 36px;
    }
}


.scrolling-bg {
    position: relative;
    /*min-height: 100%;*/
    padding: 3em 0;
    line-height: 1.6;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
    /*temp*/
    background-color: #252525;
    color: #ffffff;
}
.scrolling-bg.green {
    background-color: #21843b;
    color: #ffffff;
}
/*.cd-scrolling-bg.cd-color-2 {*/
    /*background-color: #99a478;*/
    /*color: #3d3536;*/
/*}*/
/*.cd-scrolling-bg.cd-color-3 {*/
    /*background-color: #b4d7a8;*/
    /*color: #3d3536;*/
/*}*/

@media only screen and (min-width: 768px) {
    .scrolling-bg {
        /*padding: 8em 0;*/
        font-size: 20px;
        font-size: 1.25rem;
        line-height: 2;
        font-weight: 300;
    }
}

p {
    margin-bottom: 3em;
    padding: 1em 2em;
    background: #f9f9b4;
    color: #1a1a1a;
    border-radius: 1em;
    border: dotted .7em #21843b;
}

dt {
    margin-bottom: .5em;
    font-size: 2em;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
}
ol.regist-order {
    width: 100%;
    display:table;
    list-style: decimal;
}
ol.regist-order li {
    padding: .5em;
    display:table-cell;
    vertical-align:middle;
    text-align:center;
    background: #ffffff;
    color: #1a1a1a;
    font-weight: bold;
    border-radius: .5em;
    border: solid 2px #246430;
}
ol.regist-order span {
    display:table-cell;
    vertical-align:middle;
    text-align:center;
    font-weight: bold;
    background: none;
    color: #ffffff;
}
ol.order {
    margin-top: 1em;
}
ol.order dl {
    margin-bottom: 1.5em;
}
ol.order dt {
    margin-bottom: .25em;
    text-align: left;
    font-size: 1.25em;
    line-height: 1.4;
}
ol.order dd {
    line-height: 1.5;
}
.yellow {
    color: #e6b023;
    font-weight:bold;
}
.red {
    color: #ff0000;
    font-weight:bold;
}
.order img {
    -webkit-box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.15);
    -moz-box-shadow:    0px 0px 10px 0px rgba(255, 255, 255, 0.15);
    box-shadow:         0px 0px 10px 0px rgba(255, 255, 255, 0.15);
}
.order table {
    border-collapse: collapse;
    font-size: .9em;
}
.order table th,
.order table td {
    padding: 5px 10px;
    border: 1px solid #aeaeae;
}
.order table th {
    font-weight: bold;
    color: #373737;
    background: #abf5c3;
}
.order table th.number {
    min-width: 3.3em;
    background: #75eb93;
}
.order table td {
    color: #1a1a1a;
    background: #f1f1f1;
}
a.up {
    padding: .5em .5em .1em;
    display: inline-block;
    position: fixed;
    bottom: .5em;
    right: .5em;
    z-index: 100;
    background: rgba(255, 255, 255, 0.75);
    font-size: 2em;
    font-weight: bold;
    color: #0ea544;
    text-decoration: none;
    border-radius: .2em;
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    -moz-box-shadow:    0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    box-shadow:         0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}
a:hover.up {
    text-decoration: none;
}
