﻿/* common */

::-moz-selection {
    background: #f2c2c9;
    color: #a4003a;
    text-shadow: none;
}

::selection {
    background: #f2c2c9;
    color: #a4003a;
    text-shadow: none;
}

textarea {
    resize: vertical;
}

html,
button,
input,
select,
textarea {
    color: #222222;
}


/* general */

html,
body {
    height: 100%;
}

body {
    font-family: YuGothic, ‘游ゴシック’, ‘Hiragino Kaku Gothic ProN’, ‘ヒラギノ角ゴ ProN’, Meiryo, メイリオ, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

hr {
    display: block;
    margin: 1em 0 1em 0;
    border: 0;
    height: 1px;
    background: #333;
    background-image: -webkit-linear-gradient(left, #ccc, #333, #ccc);
    background-image: -moz-linear-gradient(left, #ccc, #333, #ccc);
    background-image: -ms-linear-gradient(left, #ccc, #333, #ccc);
    background-image: -o-linear-gradient(left, #ccc, #333, #ccc);
}

a {
    color: #56D0E1;
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #a4003a;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.2s ease, background 0.1s ease-in;
    -moz-transition: color 0.2s ease, background 0.1s ease-in;
    -ms-transition: color 0.2s ease, background 0.1s ease-in;
    -o-transition: color 0.2s ease, background 0.1s ease-in;
    transition: color 0.2s ease, background 0.1s ease-in;
}


/* parts */

#header-section {
    position: relative;
    /*margin-top: 50px;*/
    background-image: url(../img/header.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    text-align: center;
    min-height: 350px;
    width: 100%;
    /*display: table;*/
    vertical-align: middle;
}

#header-section header {
    display: table-cell;
    vertical-align: middle;
}

#header-section p {
    font-family: "Roboto Slab", Garamond, "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-size: 40px;
    font-weight: 100;
    line-height: 1.4;
    color: #000;
}

#header-text {
    background-color: rgba(255, 255, 255, .5);
    width: 500px;
    height: 220px;
    padding-top: 15px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: 3px solid #000000;
    top: 50px;
}

#footer-section {
    position: relative;
    color: #ffffff;
    background: #222222;
    height: 1.5em;
}

#copyright {
    position: absolute;
    right: 30%;
}

.imagearea {
    height: 90px;
    width: 90%;
    text-align: center;
}

#imagearea1 {
    background-color: #000000;
    background-image: url(../img/icon.03.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    width: 100%;
}

#imagearea2 {
    background-color: #000000;
    background-image: url(../img/icon.02.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    width: 100%;
}

#imagearea3 {
    background-color: #000000;
    background-image: url(../img/icon.04.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    width: 100%;
}

#imagearea4 {
    background-color: #000000;
    background-image: url(../img/icon.01.jpg);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    width: 100%;
}

@media (max-width:767px) {
    #header-section {
        /*margin-top: 50px;*/
        background: url(../img/header.jpg) no-repeat center top;
        text-align: center;
        background-attachment: scroll;
        background-position: center center;
        min-height: 175px;
        display: table;
        vertical-align: middle;
    }
    #header-section p {
        font-size: 16pt;
        line-height: 1.2;
    }
    #header-text {
        width: 300px;
        height: 110px;
        padding-top: 10px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        top: 50px;
    }
    #footer-section {
        text-align: center;
    }
    #copyright {
        position: initial;
    }
    .imagearea {
        height: 20px;
    }
}

@media (min-width: 768px) {
    hr.col2-disappear {
        display: none;
    }
}

@media (min-width: 768px) {
    .col2-left {
        float: left;
        width: 3em;
        margin-top: 5px;
        border-right: 1px solid #dddddd;
    }
    .col2-right {
        float: right;
        width: 610px;
        margin-top: 35px;
    }
    .col2-parent {
        overflow: hidden;
        min-height: 1px;
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media (min-width: 992px) {
    .col2-left {
        margin-left: 8.333333333333332%;
    }
    .col2-right {
        margin-right: 8.333333333333332%;
    }
}

@media (min-width: 1200px) {
    .col2-left {
        margin-left: 16.666666666666664%;
    }
    .col2-right {
        margin-right: 16.666666666666664%;
    }
}


/* custom bootstrap navbar */

.navbar-toggle {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
    padding: 15px 15px;
    height: 50px;
}

.navbar-header button {
    color: #56D0E1;
}

.nav-anchor {
    margin-top: -50px;
    padding-top: 50px;
}


/* support */

.centered {
    text-align: center;
}