﻿@charset "UTF-8";

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/* 大枠 */
html,
body {
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: none;
}

body {
    font-size: 16px;
    line-height: 1.6;
}

#wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

body>#wrapper {
    height: auto;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    content: " ";
    clear: both;
    height: 0;
}

@media print {

    html,
    html body {
        overflow: visible !important;
    }
}

/* アクセシビリティ */
.guidance {
    left: -999px;
    position: absolute;
    width: 990px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* レスポンシブ対応 */
img {
    vertical-align: bottom;
    box-shadow: #000 0 0 0;
    /* ロールオーバー対応 */
}

img,
x:-moz-any-link,
x:default {
    box-shadow: #000 0 0 0;
    /* IE7対応 */
}

/* リンク */
a:link {
    color: #0066FF;
    text-decoration: none;
}

a:visited {
    color: #0066FF;
    text-decoration: none;
}

a:hover {
    color: #0066FF;
    text-decoration: underline;
}

a:active {
    color: #0066FF;
    text-decoration: underline;
}

/* CLEARFIX */
.container:after,
.row:after,
.col:after {
    content: "";
    display: table;
    clear: both;
}

.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

body.wrap {
    overflow: hidden;
}

body {
    color: #333;
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, "Sawarabi Mincho", serif;
}

body.wrap {
    overflow: hidden;
}



/* header
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
h1#site_title {
    display: inline-block;
    margin: 10px 30px 0;
}

header {
    width: 100%;
    padding-bottom: 20px;
    top: 0;
    left: 0;
    z-index: 99999;
    overflow: visible;
}

.header_line {
    overflow: hidden;
    float: right;
}

.header_line li {
    display: block;
    float: left;
    border-top: 5px solid #E23A26;
    width: 160px;
}

.header_line li:nth-child(2) {
    border-top: 5px solid #FFD300;
}

.header_line li:last-child {
    border-top: 5px solid #009CFF;
}


/* グローバルナビゲーション
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
#gnav {
    display: none;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    float: none;
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1000;
    overflow: auto;
    background: #333;
}

#gnav.open {
    display: block;
}

#gnav ul {
    clear: both;
    width: 100%;
    padding-top: 150px;
}

#gnav ul>li {
    float: none;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    text-indent: 0;
    text-align: center;
}

#gnav ul>li>a {
    display: block;
    padding: 10px 0;
    color: #fff;
    line-height: 50px;
}

#gnav ul>li>a:hover {
    text-decoration: none;
    opacity: 1;
}

/* メニューボタン
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.menu {
    display: block;
    width: 85px;
    height: 35px;
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 2000;
    cursor: pointer;
}

.menu .icon {
    display: block;
    position: absolute;
    top: 15px;
    left: 0;
    width: 20px;
    height: 2px;
    border-top: 2px solid #707070;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-indent: -9999px;
}

.menu .m_name {
    color: #333;
    text-align: center;
    position: absolute;
    bottom: 5px;
    right: 0;
    font-size: 18px;
}

.menu .icon:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    border-top: 2px solid #707070;
    top: -10px;
    right: 0;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.menu .icon:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    border-top: 2px solid #707070;
    bottom: -10px;
    right: 0;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

header.open h1#site_title,
header.open .lang {
    display: none;
}

.menu .icon.active {
    border-top: 2px solid transparent;
}

.menu span.active:before {
    border-top: 2px solid #fff;
    -moz-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    bottom: 0;
    top: auto;
    right: 0;
}

.menu .icon.active:after {
    border-top: 2px solid #fff;
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    bottom: 0;
    right: 1px;
}

header.open .m_name .name01,
header .m_name .name02 {
    display: none;
}

header.open .m_name .name02 {
    display: block;
    color: #fff;
}

/* ランゲージボタン
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
.lang {
    display: inline-block;
    position: absolute;
    top: 30px;
    right: 180px;
    font-size: 18px;
    cursor: pointer;
}

.lang p {
    padding-bottom: 10px;
}

.lang img {
    padding-right: 15px;
}

.lang .down {
    display: none;
    position: absolute;
    width: 100%
}

.lang .down li {
    text-align: center;
    background: #fff;
    font-size: 16px;
}

.lang .down li a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
}

.lang .down li a:hover {
    opacity: 0.6;
}


/* footer
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
footer {
    border-bottom: 5px solid #E23A26;
    padding-top: 83px;
}

#footer_inner ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

#footer_inner ul li {
    width: 45%;
}

#footer_inner .name {
    font-size: 32px;
    line-height: 1.3;
}

#footer_inner .name small {
    font-size: 18px;
}

#footer_inner ul:first-child {
    margin: 0 0 30px;
}

#footer_inner ul:nth-child(2) {
    margin: 0 0 100px;
}

#footer_inner ul li>p {
    margin: 0 0 20px;
}

#footer_inner ul li dl {
    font-size: 18px;
}

#footer_inner ul li dl dt {
    float: left;
    clear: both;
    width: 4em;
}

#footer_inner ul li dl dd {
    border-left: 1px solid #ccc;
    padding-left: 1em;
    margin-left: 4em;
    margin-bottom: 20px;
}

.btn_area .btn .txt {
    float: right;
    margin-right: 65px;
}

.btn_area .btn {
    border: 1px solid #ccc;
}

.btn_area .btn:hover {
    opacity: 0.6;
}

.btn_area .btn a {
    display: block;
    line-height: 90px;
    text-decoration: none;
    padding: 0 20px;
    font-size: 18px;
    color: #333;
}

.btn_area .btn:first-child img {
    width: 167px;
}

.btn_area .btn img {
    vertical-align: middle;
}

.btn_area .btn p {
    position: relative;
}

.btn_area .btn .arrow {
    top: 10%;
}

.btn_area .btn .arrow:before {
    border-top: 1px solid #333;
}

.btn_area .btn .arrow:after {
    border-bottom: 1px solid #333;
}

#copyright {
    text-align: center;
    margin: 0 0 30px;
}

.pagetop {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 2000;
    cursor: pointer;
}


/* ▼▼▼ 1024px
=====================================*/
@media screen and (max-width: 1024px) {

    .container {
        padding: 0 20px;
    }
}

/* ▼▼▼ 768px
=====================================*/
@media screen and (max-width: 768px) {

    body.wrap {
        overflow: hidden;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }


    /* header
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
    header {
        position: fixed;
        width: 100%;
        height: 72px;
        background: #fff;
        z-index: 100;
    }

    .header_line {
        overflow: hidden;
        float: none;
        width: 100%;
    }

    .header_line li {
        width: 33.33%;
    }

    h1#site_title {
        text-align: center;
        width: 100%;
        margin: 10px auto;
    }

    h1#site_title img {
        width: 145px;
    }

    #gnav {
        overflow: auto;
    }

    #gnav ul {
        padding-top: 50px;
    }

    #gnav ul>li>a {
        padding: 0;
    }

    .menu {
        position: fixed;
        top: 15px;
        right: -5px;
        width: 50px;
        height: 50px;
    }

    .menu .m_name,
    .menu .m_name span {
        font-size: 12px;
        text-align: center;
        position: absolute;
        bottom: 2px;
        left: -3px;
    }


    /* ランゲージボタン
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
    .lang {
        display: inline-block;
        position: absolute;
        top: 20px;
        left: 10px;
        font-size: 12px;
        width: 50px;
    }

    .lang p {
        padding-bottom: 8px;
        text-align: center;
        display: inline-block;
    }

    .lang p span {
        display: block;
    }

    .lang img {
        padding-right: 0;
    }

    .lang .down {
        display: none;
        position: absolute;
        width: 60px;
        left: -5px;
    }

    .lang .down li {
        text-align: center;
        background: #fff;
        font-size: 12px;
    }

    .lang .down li a {
        display: block;
        color: #333;
        text-decoration: none;
        padding: 10px 0px;
    }

    .lang .down li a:hover {
        opacity: 0.6;
    }

    /* メイン
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
    #header_inner,
    #main,
    #contents,
    #side,
    footer,
    #footer_inner {
        float: none;
        width: 100%;
    }
    section{
        overflow: hidden;
    }

    .menu_fixed {
        position: fixed;
        width: 100%;
        height: 100%;
    }


    /* footer
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
    footer {
        padding-top: 30px;
    }

    #footer_inner ul li {
        width: 100%;
    }

    #footer_inner ul:first-child li:first-child {
        margin: 0 0 50px;
    }

    #footer_inner .name {
        font-size: 32px;
        line-height: 1.3;
    }

    #footer_inner .name small {
        font-size: 18px;
    }

    #footer_inner ul:first-child {
        margin: 0;
    }

    #footer_inner ul:nth-child(2) {
        margin: 0 0 50px;
    }

    #footer_inner ul li>p {
        margin: 0 0 20px;
    }

    #footer_inner ul li dl dt {
        border-bottom: 1px solid #ccc;
        float: none;
        width: 100%;
        padding: 0 0 10px;
        margin: 0 0 5px;
    }

    #footer_inner ul li dl dd {
        border-left: 0px none;
        padding-left: 0;
        margin-left: 0;
        margin-bottom: 40px;
    }

    .btn_area .btn .txt {
        float: right;
        margin-right: 45px;
    }

    .btn_area .btn:hover {
        opacity: 0.6;
    }

    .btn_area .btn a {
        line-height: 60px;
        font-size: 11px;
    }

    .btn_area .btn img {
        width: 30%;
    }

    .btn_area .btn:first-child {
        margin-bottom: 20px;
    }

    .btn_area .btn:first-child img {
        width: 40%;
    }

    .btn_area .btn img {
        vertical-align: middle;
    }

    .btn_area .btn p {
        position: relative;
    }

    .btn_area .btn .arrow {
        top: -12%;
        right: -15px;
    }

    .btn_area .btn .arrow:before {
        border-top: 1px solid #333;
    }

    .btn_area .btn .arrow:after {
        border-bottom: 1px solid #333;
        width: 23px;
    }

    #copyright {
        font-size: 10px;
        margin-bottom: 20px;
    }

    .pagetop {
        bottom: 70px;
        width: 50px;
        height: 50px;
    }
}
