@charset "UTF-8";

/* header.css
**************************************************************************************/


/* header-layout
=============================================================================*/

.header-area {
    min-height: 170px;
    background: url('../../image/k18-header-bg001.png') no-repeat left top 71px,
                url('../../image/k18-header-bg002.png') repeat-x center top;
}
.home .header-area {
    position: relative;
}
#header .header-area-in {
    width: 1200px;
    margin: 0 auto;
}
#header .header-main {
    width: 180px;
    position: absolute;
    top: 0;
    left: 30px;
    z-index: 2;
}
#header .header-sub {
    width: 100%;
    height: 71px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    /*background: #666;*/
    /*opacity: .5;*/
    background: url('../../image/k18-header-bg004.png') repeat left top #8c7c6a;
}

@media screen and (max-width: 1279px) {
    .header-area {
        background: url('../../image/k18-header-bg003.png') no-repeat left bottom,
                    url('../../image/k18-header-bg002.png') repeat-x center top #e2c5a3;
    }
    #header .header-area-in {
        width: 100%;
    }
    #header .header-main {
    }
    #header .header-sub {
        height: 99px;
    }
}

@media screen and (max-width: 767px) {
    .header-area {
        background: none;
        min-height: 0;
    }
    #header .header-main {
        top: 17px;
        left: 16px;
        z-index: 100;
    }
    #header .header-sub {
        /*display: none;*/
        height: 60px;
        position: static;
        background: none;
    }
    /*home*/
    .home #header .header-sub {
        position: absolute;
        z-index: 200;
    }
}

/* header-main
=============================================================================*/

#header .header-main .logo {
    width: 180px;
    font-size: 1px;
}
#header .header-main .logo img {
    max-width: 100%;
    box-shadow:  0 0 16px #111;
}

@media screen and (max-width: 1279px) {
    #header .header-main .logo img {
        box-shadow: none;
    }
}
@media screen and (max-width: 767px) {
    #header .header-main .logo {
        width: 192px;
    }
}
/* header-sub
=============================================================================*/
#header .header-sub ul.header-sub-navi,
#header .header-sub ul.header-sub-navi * {
    box-sizing: border-box;
}

#header .header-sub ul.header-sub-navi {
    position: absolute;
    top: 23px;
    right: 119px;
    z-index: 3;
}
#header .header-sub ul.header-sub-navi li {
    float: left;
    margin-left: 7px;
}
#header .header-sub ul.header-sub-navi li a {
    display: inline-block;
    line-height: 1.4;
    width: 115px;
    color: #ffffff;
    padding: 2px 0 3px;
    border: 1px solid #ffffff;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
}
#header .header-sub ul.header-sub-navi li.current a {
    border-color: #73cfcf;
    color: #73cfcf;
    opacity: .8;
}


@media screen and (max-width: 1279px) {
    #header .header-sub ul.header-sub-navi {
        width: 367px;
        right: 30px;
        top: 20px;
    }
    #header .header-sub ul.header-sub-navi li {
        margin-left: 7px;
        text-align: center;
        line-height: 1;
        margin-bottom: 5px;
    }

    #header .header-sub ul.header-sub-navi li a {
        width: 115px;
        padding: 2px 0 3px;
    }
    #header div.search-btn {
        top: 52px;
        right: 64px;
        z-index: 10;
    }
    #header div.search-btn dt {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 6px;
    }
    #header div.search-btn dd {
        display: inline-block;
        text-align: center;
    }
}
@media screen and (max-width: 767px) {
    #header .header-sub ul.header-sub-navi {
        display: none;
    }
    #header div.search-btn {
        display: none;
    }
}


/* サイト内検索 */
#header .search-area,
#header .search-area * {
    box-sizing: border-box;
}
#header .search-area {
    display: none;
    position: absolute;
    right: 0;
    top: 71px;
    padding: 11px;
    background: #333;
    opacity: .8;
}
#header .search-area::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 64%;
    display: block;
    border: 12px solid transparent;
    border-right-width: 20px;
    border-left-width: 20px;
    border-bottom-color: #333;
    opacity: .8;
}
#header .search-area-in {
    position: relative;
    width: 240px;
    height: 30px;
    margin: 0;
    font-size: 1px;
}
#header .search-area input.input-q {
    font-size: 12px;
    width: 240px;
    height: 30px;
    border: 1px solid #CCCCCC;
    padding: 2px;
    position: absolute;
    top: 0;
    left: 0;
}
#header .search-area input[type="image"] {
    position: absolute;
    right: 8px;
    top: 5px;
    width: 20px;
    background: #fff;
}


#header .search-btn {
    position: absolute;
    top: 10px;
    right: 60px;
    cursor: pointer;
}
#header .search-btn:hover,
#header .search-btn:active {
    opacity: .8;
}
#header .search-btn dt {
    width: 23px;
    margin-bottom: 5px;
}
#header .search-btn dd {
    font-size: 14px;
    color: #ffffff;
    text-align: center;
}
#header .search-btn img {
    max-width: 100%;
}
@media screen and (max-width: 1279px) {
    #header .search-area {
        top: 99px;
    }
    #header .search-area::before {
        left: 63%;
    }
}
@media screen and (max-width: 767px) {
    #header .search-area {
        display: block;
        position: static;
        right: auto;
        top: auto;
        opacity: 1;
        background: none;
        margin-bottom: 20px;
        padding: 0;
    }
    #header .search-area::before {
        content: none;
    }
    #header .search-area-in {
        width: auto;
        height: auto;
    }
    #header .search-area input.input-q {
        width: 100% !important;
        height: 50px !important;
        border: 1px solid #CCCCCC;
        position: static;
        top: auto;
        left: auto;
        padding: 2px 4px !important;
    }
    #header .search-area input[type="image"] {
        top: 15px;
        right: 18px;
    }
    #header .search-btn {
        display: none;
    }

}

/* gnavi
=============================================================================*/
/*スティッキーヘッダーを使用する場合は残す*/
.cms-artis .gnavi-area-fixed {
    position: static !important;/*CMS管理画面ではスティッキーヘッダーを無効にする*/
}
/*---------------------------------*/

#body-in .gnavi-area,
#body-in .gnavi-area * {
    box-sizing: border-box;
}

#body-in .gnavi-area {
    padding-top: 102px;
}
#gnavi {
    width: 853px;
    float: right;
    margin-right: 30px;
}
#gnavi ul li {
    float: left;
    line-height: 1;
    position: relative;
}
#gnavi ul li::after,
#gnavi ul li:first-child::before {
    content: '';
    width: 1px;
    height: 18px;
    background: #111111;
    position: absolute;
    right: 0;
    top: 0;
}
#gnavi ul li:first-child::before {
    left: 0;
}
#gnavi ul li a {
    display: block;
    width: 100%;
    height: 68px;
    text-decoration: none;
    text-align: center;
    position: relative;
    padding-top: 2px;
    padding-bottom: 15px;
}
#gnavi ul li a::before,
#gnavi ul li a::after {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: #111111;
    position: absolute;
    bottom: 30px;
    left: calc(50% - 16px);
}
#gnavi ul li a::after {
    bottom: 35px;
}

#gnavi ul li a span {
    color: #111111;
    font-size: 15px;
    font-weight: 500;
}

#gnavi ul li a:hover {
    opacity: .5;
}
#gnavi ul li a.current span {
    color: #FFF;
}

/*list*/
#gnavi ul li.gnavi001 {
    width: 128px;
}
#gnavi ul li.gnavi002 {
    width: 128px;
}
#gnavi ul li.gnavi003 {
    width: 128px;
}
#gnavi ul li.gnavi004 {
    width: 128px;
}
#gnavi ul li.gnavi005 {
    width: 173px;
}
#gnavi ul li.gnavi006 {
    width: 167px;
}


@media screen and (max-width: 1279px) {
    #gnavi {
        width: 708px;
        margin-right: auto;
        margin-left: auto;
        float: none;
    }
    #body-in .gnavi-area {
        padding-top: 117px;
    }
    #gnavi ul li a {
        height: 39px;
    }
    #gnavi ul li a::before,
    #gnavi ul li a::after {
        bottom: 0;
    }
    #gnavi ul li a::after {
        bottom: 5px;
    }
    #gnavi ul li.gnavi001:first-child a {
        background: url('../../image/k18-gnavi-bg001.png') no-repeat center top;
    }
    #gnavi ul li::after,
    #gnavi ul li:first-child::before {
        content: none;
    }
    #gnavi ul li.gnavi001 {
        width: 106px;
    }
    #gnavi ul li.gnavi002 {
        width: 106px;
    }
    #gnavi ul li.gnavi003 {
        width: 106px;
    }
    #gnavi ul li.gnavi004 {
        width: 106px;
    }
    #gnavi ul li.gnavi005 {
        width: 144px;
    }
    #gnavi ul li.gnavi006 {
        width: 137px;
    }
}

@media screen and (max-width: 767px) {
    #body-in .gnavi-area {
        display: none;
    }
}

/*+**/
.header-subject-container,
.header-subject-container * {
    box-sizing: border-box;
}
.header-subject-container {
    display: none;
    width: 200px;
    background: #73cfcf;
    padding: 7px;
    position: absolute;
    right: 565px;
    top: 71px;
    z-index: 10;
}
.header-subject-container::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 40%;
    display: block;
    border: 12px solid transparent;
    border-right-width: 20px;
    border-left-width: 20px;
    border-bottom-color: #73cfcf;
}
.header-subject-container::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    display: block;
    width: 100%;
    height: 50px;
    z-index: 10;
    background-color: transparent;
}
.header-subject-container ul {
    letter-spacing: -.4em;
    margin-right: -4px;
    line-height: 1;
}
.header-subject-container ul li {
    display: inline-block;
    letter-spacing: normal;
    margin-right: 4px;
    margin-bottom: 4px;
    width: 91px
}
.header-subject-container ul li:nth-child(n+7) {
    margin-bottom: 0;
}
.header-subject-container ul li a {
    display: block;
    width: 100%;
    height: 24px;
    padding-top: 5px;
    font-size: 12px;
    color: #73cfcf;
    background: #ffffff;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
}
.header-subject-container ul .title {
    line-height: 1;
}
.header-subject-container ul .title p {
    display: table;
    width: 100%;
}
.header-subject-container ul .title span {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    position: relative;
    top: -2px;
}
.header-subject-container ul .title span::before,
.header-subject-container ul .title span::after {
    content: '';
    width: 10px;
    height: 1px;
    display: block;
    background: #ffffff;
    position: absolute;
    top: 50%;
}
.header-subject-container ul .title span::before {
    left: 6px;
}
.header-subject-container ul .title span::after {
    right: 6px;
}
@media screen and (max-width: 1279px) {
    .header-subject-container {
        right: 225px;
        top: 59px;
    }
}

@media screen and (max-width: 767px) {
    #header .header-sub .header-subject-container {
        display: none;
    }
}


/* drawer menu
=============================================================================*/
#drawer-wrap,
#drawer-wrap * {
    box-sizing: border-box;
}
.drawer-subject-container,
.drawer-menu-area,
.humberger-menu-bg,
.humberger-menu {
    display: none;
}

@media screen and (max-width: 767px) {
    .drawer-subject-container,
    .drawer-menu-area,
    .humberger-menu-bg,
    .humberger-menu {
        display: block;
    }
    .humberger-menu-bg {
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 60px;
        background-color: rgba(101,98,98,0.8);
    }
    .home .humberger-menu-bg {
        background-color: none;
    }
    .humberger-menu {
        position: absolute;
        top: 18px;
        right: 15px;
        height: 25px;
        width: 30px;
        z-index: 100;
        cursor: pointer;
    }
    #menu-toggle:checked ~ .humberger-menu {
        top: 20px;
        right: 14px;
    }
    .humberger-menu span {
        position: absolute;
        background-color: #FFF;
        width: 30px;
        height: 3px;
        text-align: center;
        transition: .3s;
    }
    .humberger-menu span:nth-child(2) {
        transform: translateY(12px);
    }
    .humberger-menu span:nth-child(3) {
        transform: translateY(24px);
    }
    #menu-toggle:checked ~ .humberger-menu span:nth-of-type(1) {
        transform: translateY(7px) rotate(-45deg);
    }
    #menu-toggle:checked ~ .humberger-menu span:nth-of-type(2) {
        opacity: 0;
    }
    #menu-toggle:checked ~ .humberger-menu span:nth-of-type(3) {
        transform: translateY(7px) rotate(45deg);
    }

    #drawer {
        width: 100%;
        position: fixed;
        height: 100%;
        top: 60px;
        right: 0;
        /*bottom: 0;*/
        background: rgba(239, 239, 239, .9);
        color: #fff;
        transform: translateX(100%);
        overflow-y: auto;
        overflow-x: hidden;
        transition: .3s;
        z-index: 1000;
        padding-bottom: 30px;
        -webkit-overflow-scrolling: touch;
    }
    #menu-toggle:checked ~ #drawer {
        transform: translateX(0);
    }

    /*
    .menu-toggle-cover {
        display: none;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 60px;
        left: 0;
        bottom: 0;
        right: 0;
    }
    #menu-toggle:checked ~ .menu-toggle-cover {
        display: block;
        background-color: rgba(0, 0, 0, 0.99);
        z-index: 100;
    }
    #menu-toggle:checked ~ .humberger-menu-bg {
        background-color: #505050;
    }
    */


    #drawer .drawer-in {
        padding: 28px 10px;
    }
    #drawer .drawer-search-area {
        position: relative;
        margin-bottom: 30px;
    }
    #drawer .drawer-search-area input[name="q"] {
        width: 100%;
        height: 40px;
        padding: 4px;
    }
    #drawer .drawer-search-area input[type="image"] {
        position: absolute;
        right: 12px;
        top: 9px;
    }

    .drawer-menu-area {
        margin: 0 0 30px 0;
    }
    .drawer-menu-area ul {
        letter-spacing: -.4em;
    }
    .drawer-menu-area ul li {
        display: inline-block;
        letter-spacing: normal;
        width: calc((100% - 5px) / 2);
        height: 42px;
        margin-bottom: 5px;
    }
    .drawer-menu-area ul li:nth-child(odd) {
        margin-right: 5px;
    }
    .drawer-menu-area a {
        display: block;
        width: 100%;
        height: 42px;
        padding-top: 10px;
        position: relative;
        text-align: center;
        background: #ffffff;
        font-size: 14px;
        text-decoration: none !important;
        color: #111 !important;
    }
    .drawer-subject-container {
        background: #ffffff;
        padding: 3px 3px 30px 3px;
    }
    .drawer-subject-container ul {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .drawer-subject-container ul li {
        width: calc((100% - 4px) / 3);
        height: 34px;
        margin-bottom: 2px;
    }
    .drawer-subject-container ul li a {
        display: block;
        width: 100%;
        height: 34px;
        padding-top: 8px;
        color: #ffffff;
        background: #7a7a7a;
        text-decoration: none;
        text-align: center;
        font-weight: 500;
        font-size: 13px;
    }
    .drawer-subject-container ul li.title {
        width: calc(((100% - 4px) / 3) * 2 + 2px);
    }
    .drawer-subject-container ul li.title {
        text-align: center;
        color: #333;
    }
    .drawer-subject-container ul li.title span {
        position: relative;
        font-size: 15px;
        font-weight: 500;
        top: 5px;
    }
    .drawer-subject-container ul li.title span::before,
    .drawer-subject-container ul li.title span::after {
        content: '';
        display: block;
        width: 13px;
        height: 1px;
        background: #7d7d7d;
        position: absolute;
        top: 50%;
    }
    .drawer-subject-container ul li.title span::before {
        left: -22px;
    }
    .drawer-subject-container ul li.title span::after {
        right: -22px;
    }
}

/* drop down menu
=============================================================================*/
.drop-down-container {
    display: none;
    width: 100%;
    height: 184px;
    position: absolute;
    left: 0;
    top: 170px;
    background: url('../../image/k18-dropdown-bg001.png') repeat-x center top;
    z-index: 100;
}
.drop-down-container-in {
}
.drop-down-container .thumbnail-wrapper {
    display: flex;
    justify-content: flex-end;
    flex-wrap: nowrap;
    position: absolute;
    right: calc(50% - 341px);
    top: 30px;
}
.drop-down-container.drop-menu002 .thumbnail-wrapper {
    right: calc(50% - 101px);
}
.drop-down-container .thumbnail-wrapper > div {
    width: 200px;
    margin-left: 40px;
}
.drop-down-container .thumbnail-wrapper > div p {
    text-align: center;
    font-size: 13px;
    padding-top: 12px;
}
.drop-down-container .thumbnail-wrapper a {
    display: block;
    color: #111;
    text-decoration: none;
}
.drop-down-container .link-list-wrapper {
    position: absolute;
    left: calc(50% + 381px);
    top: 30px;
}
.drop-down-container.drop-menu002 .link-list-wrapper.between {
    left: calc(50% + 141px);
}
.drop-down-container .link-list-wrapper li {
    padding: 3px 0;
}
.drop-down-container .link-list-wrapper a {
    color: #111;
    text-decoration: none;
    position: relative;
    padding-left: 20px;
}
.drop-down-container .link-list-wrapper a::before {
    content: '';
    display: block;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #000;
    position: absolute;
    left: 0;
    top: 5px;
}

@media screen and (max-width: 1279px) {
    .drop-down-container {
        display: none !important;
    }

}
