@charset "utf-8";

@import url("base.css");

/***************************************************************************
 *
 * COMMON STYLE
 *
 ***************************************************************************/

.gothic {
    font-family: Hiragino Kaku Gothic Pro, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, HelveticaNeue, 游ゴシック体, YuGothic, 游ゴシック Medium, Yu Gothic Medium, Hiragino Sans, ヒラギノ角ゴシック, Hiragino Kaku Gothic ProN, sans-serif;
}

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

body {
    background-color: #FFFFFF;
    font-size: 14px;
    line-height: 1.5;
    color: #0C3F5E;
    font-family: Hiragino Kaku Gothic Pro, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, HelveticaNeue, 游ゴシック体, YuGothic, 游ゴシック Medium, Yu Gothic Medium, Hiragino Sans, ヒラギノ角ゴシック, Hiragino Kaku Gothic ProN, sans-serif;
}

body.fixed {
    overflow: hidden;
}

.inner {
    width: 1124px;
    padding: 0 50px;
    margin: 0 auto;
}

/*VALIDATE CONTACT*/
.error {
    display: block;
    font-size: 12px;
    color: red;
}

/* MENU */
.hamburger {
    width: 40px;
    height: 40px;
    padding: 0 5px;
    z-index: 9991;
    background: #0C3F5E;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    -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: -2px;
    -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: -2px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

/* HEADER */
#header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    padding: 14px 0 27px;
}

#header.scrolling {
    box-shadow: 0 0 5px #dedede;
}

#header .headerBar .inner {
    width: 100%;
}

#header .headerBar .headerW {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header .headerBar .headerW .mainMenu .menu {
    display: flex;
}

#header .headerBar .headerW .mainMenu .menu li a {
    font-size: 16px;
    color: #0C3F5E;
    text-decoration: none;
}

/*MAIN*/
#main {
    overflow: hidden;
}

#main .mainInner{
    position: relative;
    float: left;
    width: 100%;
}

#main .mainPhoto {
    position: relative;
}

#main .mainPhoto:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.05);
}

#main .mainPhoto img {
    width: 100%;
}

#main .mainTitle {
    position: absolute;
    top: 54%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    color: #fff;
    z-index: 1;
}

/*MAIN*/

/*BREADCRUMB*/
#breadcrumb {
    background: #4C936B;
    padding: 7px 0 5px;
}

#breadcrumb .breadcrumb {
    overflow: hidden;
}

#breadcrumb .breadcrumb li,
#breadcrumb .breadcrumb li a {
    font-size: 12px;
    color: #fff;
}

#breadcrumb .breadcrumb li {
    float: left;
    position: relative;
}

#breadcrumb .breadcrumb li:not(:last-child):after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 7px;
    background: url('../images/common/icon-breadcrumb.svg') no-repeat center center/cover;
    margin: 0 8px;
}

/*BREADCRUMB*/

/* CONTENT */
#content {
    width: 100%;
}

/* FOOTER */
#footer {
    width: 100%;
    background: #0C3F5E;
    padding: 11px 0;
    color: #ffffff
}
#footer .address{
	text-align: center;
	color: #dfdfdf;
	font-size: 12px
}
#footer .inner {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
}
#footer a{
	color: #ffffff;
	text-decoration: underline
}
#footer .address{
	
}

#footer .totop a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0C3F5E;
    width: 88px;
    height: 88px;
    position: fixed;
    z-index: 998;
    right: 0;
    bottom: 17.5%;
    transition: all 300ms linear;
    opacity: 0;
    visibility: hidden;
}

#footer .totop.scrolling a {
    opacity: 1;
    visibility: visible;
}

.sp {
    display: none;
}

/* ONLY PC */
@media(min-width: 769px) {
    #header .headerBar .headerW .mainMenu {
        transform: translateY(7px);
    }

    #header .headerBar .headerW .mainMenu .menu li {
        position: relative;
        padding: 0 18.5px;
    }

    #header .headerBar .headerW .mainMenu .menu li:first-child {
        padding-left: 0;
    }

    #header .headerBar .headerW .mainMenu .menu li:last-child {
        padding-right: 0;
    }

    #header .headerBar .headerW .mainMenu .menu li:not(:last-child):after {
        content: "";
        width: 1px;
        height: 24px;
        background-color: #E7AC6D;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    #header .headerBar .headerW .mainMenu .menu li a {
        position: relative;
    }

    #header .headerBar .headerW .mainMenu .menu li a:after {
        content: "";
        width: 0;
        height: 1px;
        background-color: #E7AC6D;
        position: absolute;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        transition: all 300ms linear;
    }

    #header .headerBar .headerW .mainMenu .menu li a:hover:after {
        width: 100%;
    }

    #breadcrumb .breadcrumb li a {
        position: relative;
    }

    #breadcrumb .breadcrumb li a:after {
        content: "";
        width: 0;
        height: 1px;
        background: #fff;
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        transition: all 300ms linear;
    }

    #breadcrumb .breadcrumb li a:hover:after {
        width: 100%;
    }

    #footer .totop a:hover{
        opacity: 0.6;
    }
}

/* BR */
@media (max-width: 1141px) and (min-width: 769px) {
    .inner {
        width: 100%;
    }
}

@media(max-width: 1360px) and (min-width: 769px) {
    #header .headerBar .headerW .logo {
        width: 20vw;
    }

    #header .headerBar .headerW .mainMenu {
        transform: translateY(2px);
    }

    #header .headerBar .headerW .mainMenu .menu li {
        padding: 0 1.5vw;
    }

    #header .headerBar .headerW .mainMenu .menu li a {
        font-size: 1.2vw;
        text-decoration: none;
    }
}

@media(max-width: 1200px) and (min-width: 769px) {
    #header .headerBar .headerW .mainMenu {
        transform: translateY(0);
    }
}

/* STYLE MOBILE */
@media (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .inner {
        width: 100%;
        padding: 0 4%;
    }

    #header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        padding: 12px 0;
    }

    #header .headerBar .headerW .logo {
        width: 222px;
    }

    #header .headerBar .headerW .mainMenu {
        display: none;
        height: calc(100vh - 64px);
        background: #fff;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        padding: 18vw 4% 70px;
        overflow-y: auto;
    }

    #header .headerBar .headerW .mainMenu .menu {
        display: block;
    }

    #header .headerBar .headerW .mainMenu .menu li a {
        display: block;
        padding: 10px 0;
        text-align: center;
        font-size: 20px;
    }

    .hamburger.sp {
        display: flex;
    }

    #main .mainPhoto {
        height: 150px;
    }

    #main .mainPhoto img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    #main .mainTitle {
        font-size: 28px;
    }

    #footer {
        padding: 17px 0;
    }

    #footer .inner {
        justify-content: center;
    }

    #footer .logo {
        width: 166px;
    }

    #footer .totop a {
        width: 55px;
        height: 55px;
        bottom: 9.6%;
    }
}

@media screen and (orientation:landscape) and (max-device-width: 768px) {
    #header .headerBar .headerW .mainMenu {
        padding: 4vw 4% 70px;
    }
}

/*IE FIX*/
@media all and (-ms-high-contrast:none) {
    #main .mainInner{
        width: 99.83%;
    }
    #breadcrumb {
        padding: 5px 0 2px;
    }

    #breadcrumb .breadcrumb li,
    #breadcrumb .breadcrumb li a {
        line-height: 2;
    }

    #main .mainPhoto img {}
}

/*IP5*/
@media(max-width: 320px) {}