@charset "utf-8";

@import url("base.css");

/***************************************************************************
 *
 * COMMON STYLE
 *
 ***************************************************************************/

.hira {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.gothic {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}

.mincho {
    font-family: "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}
.noto {
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    position: relative;
    background-color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(26,26,26,0.9);
    font-family: 'Noto Sans JP', sans-serif;
}

body.fixed {
    overflow: hidden;
}

body:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    transition: all 350ms linear;
    z-index: 999;
}
body.show-content:before {
    opacity: 0;
    visibility: hidden;
}

.inner {
    max-width: 1551px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/*VALIDATE CONTACT*/
.error {
    display: block;
    font-size: 12px;
    color: red;
}


/* HEADER */
#header {
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    width: 100%;
    padding: 27px 0 11px;
    z-index: 9999;
}
#header .logo {
    width: 327px;
    margin-left: -27px;
}
#header .inner {
    display: flex;
    justify-content: space-between;
}
#header .mainMenu {

}
#header .mainMenu .menu {
    display: flex;
    margin-right: 48px;
    margin-top: 1px;
}
#header .mainMenu .menu li {
    position: relative;
    text-align: center;
    min-width: 165px;
}
#header .mainMenu .menu li a {
    display: block;
    position: relative;
}
#header .mainMenu .menu li:first-child a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    border-right: 1px solid #0d2c4e;
}
#header .mainMenu .menu li a:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 18px;
    border-right: 1px solid #0d2c4e;
}
#header .mainMenu .menu li span {
    display: block;
}
#header .mainMenu .menu li span.en {
    font-size: 13.6px;
    font-weight: bold;
    color: #1a1a1a;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

#header .mainMenu .menu li span.jp {
    font-size: 13px;
    color: #231916;
}
/* CONTENT */
#content {
    width: 100%;
}

/* FOOTER */
#footer {
    width: 100%;
    background: #dc4437;
    padding-top: 49px;
    padding-bottom: 80px;
}
#footer .ftMenu .menu {
    display: flex;
    justify-content: center;
    margin-bottom: 64px;
}
#footer .ftMenu .menu li {
    position: relative;
    text-align: center;
    min-width: 165px;
}
#footer .ftMenu .menu li a {
    display: block;
    position: relative;
    color: #fff;
}
#footer .ftMenu .menu li:first-child a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    border-right: 1px solid #fff;
    transition: all 350ms linear
}
#footer .ftMenu .menu li a:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 18px;
    border-right: 1px solid #fff;
    transition: all 350ms linear
}
#footer .ftMenu .menu li span {
    display: block;
    letter-spacing: 2px;
}
#footer .ftMenu .menu li span.en {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

#footer .ftMenu .menu li span.jp {
    font-size: 12px;
}
#footer .ftInfo {

}
#footer .ftInfo .logo {
    width: 305px;
    margin: 0 auto;
}
.sp {
    display: none;
}

@media (max-width: 1527px) and (min-width: 769px) {
    .inner {
        width: 100%;
    }
    #header .logo {
        margin-left: 0;
    }
}

/* FIX TABLET */
@media (max-width: 1230px) and (min-width: 769px) {
    body {
        width: 1349px;
    }
}

/* PC ONLY */
@media (min-width: 769px) {
    #header.scrollX{
        width: 1349px;
    }
    #header.scroll {
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }

}

/* STYLE MOBILE */
@media (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .inner {
        max-width: inherit;
        width: 100%;
        padding: 0 4%;
    }

    /* HEADER */
    #header{
        padding: 10px 0;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    #header .inner {
        display: block;
    }
    #header .logo {
        width: 152px;
        margin-left: 0;
    }
    #header .hdContent {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #header .mainMenu {
        position: absolute;
        display: none;
        top: 63px;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #dc4437;
        overflow-x: auto;
    }  
    #header .mainMenu .menu {
        justify-content: center;
        flex-direction: column;
        margin: 0;
        padding: 50px 10% 100px;
    }
    #header .mainMenu .menu li:first-child a:before,
    #header .mainMenu .menu li a:after {
        content: none;
    }
    #header .mainMenu .menu li {
        border-bottom: 1px dotted #fff;
        padding-bottom: 20px;
    }
    #header .mainMenu .menu li:last-child {
        border-bottom: 0;
    }
    #header .mainMenu .menu li + li {
        margin-top: 20px;
    }
    #header .mainMenu .menu li span.en {
        font-size: 16px;
        margin-bottom: 0;
        color: #fff;
    }
    #header .mainMenu .menu li span.jp {
        font-size: 16px;
        color: #fff;
    }

    /* HEADER */

    /* MENU */
    .hamburger {
        width: 40px;
        height: 40px;
        padding: 0;
        z-index: 9991;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .hamburger span {
        display: block;
        height: 4px;
        width: 100%;
        background: #dc4437;
        border-radius: 5px;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -moz-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        margin-bottom: 7px;
    }

    .hamburger span:nth-child(2) {
        opacity: 1
    }

    .hamburger span:nth-child(3) {
        margin-top: 7px;
    }

    .hamburger.open span:nth-child(1) {
        margin-bottom: -4px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    .hamburger.open span:nth-child(2) {

        opacity: 0;

    }
    .hamburger.open span:nth-child(3) {
        margin-top: -4px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #footer .ftMenu .menu {
        display: none;
    }

}

/*IE FIX*/
@media all and (-ms-high-contrast:none) {
    
}

/*IP5*/
@media(max-width: 320px) {
    #footer .ftInfo .logo {
        width: 80%;
    }
}