@charset "utf-8";

/* 共通 */

@font-face {
    font-family: 'nexa_demobold';
    src: url('../font/nexademo-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Material icons */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 1.5rem;
    display: inline-block;
    width: 1em;
    height: 1em;
    line-height: 1;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
}

body {
    color: #333;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    letter-spacing: 0.07em;
}

/********** ヘッダー **********/

header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 100%;
    padding: 10px 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #fff;
}

.headerA {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 1200px;
    padding: 10px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-family: "nexa_demobold";
}

.headerA .logo a {
    font-size: 1.5rem;
    color: #000;
    text-decoration: none;
}

.top_nav nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 400px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.top_nav nav a {
    display: block;
    width: 70px;
    text-align: center;
    text-decoration: none;
    color: #000;
}

.top_nav nav li a:hover {
    color: #ccc;
}

.top_nav nav span {
    display: block;
    font-size: 0.7rem;
}

.sp_nav {
    display: none;
}

/********** ナビ **********/
.menu {
    max-width: 100%;
    background-color: #666;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.g_nav {
    position: relative;
    z-index: 999;
}

.g_nav_a {
    text-decoration: none;
    color: #fff;
}

.g_nav_a:hover {
    color: #ccc;
}

.g_nav > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 1000px;
    margin: 0 auto;
}

.g_nav > ul > li {
    width: 100%;
    padding: 10px;
    background: #666;
    color: #fff;
    text-align: center;
    border-left: 3px solid #fff;
    border-right: 3px solid #fff;
    font-family: "nexa_demobold";
}

.g_nav > ul > li + li {
    border-left: 0;
    border-right: 3px solid #fff;
}

.mdd_wrap {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
}

.mdd_wrap .mdd_inner {
    width: 1000px;
    height: 200px;
    margin: 0 auto;
    max-height: 0;
    /* 追加 */
    background: #fff;
    overflow: hidden;
    /* 追加 */
    -webkit-transition: max-height .5s ease;
    -o-transition: max-height .5s ease;
    transition: max-height .5s ease;
    /* 追加 */
    text-align: left;
}

.g_nav > ul > li:hover .mdd_wrap .mdd_inner {
    max-height: 400px;
}

.g_nav_in a {
    margin: 0 auto;
    text-align: center;
}

.mdd_menu ul {
    display: inline-block;
    width: 280px;
    padding: 20px 20px 0;
    text-align: left;
    vertical-align: top;
    font-size: 0.9rem;
}

.mdd_menu li {
    padding-right: 10px;
    font-family: "メイリオ", Meiryo, sans-serif;
}

.mdd_menu li a {
    display: block;
    width: 280px;
    padding: 8px 0;
    border-bottom: solid 1px #ccc;
    color: inherit;
    text-decoration: none;
    color: #666;
}

.mdd_menu a:hover {
    color: #ccc;
}


/**********  コンテンツ **********/

/*メインスライダー*/
.sbox {
    overflow: hidden;
    padding-bottom: 15px;
}

.bx-viewport:before,
.bx-viewport:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.bx-wrapper .bx-viewport {
    overflow: visible !important;
    left: 0;
    border-width: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.bx-viewport:before {
    right: 100%;
    left: -100%;
}

.bx-viewport:after {
    left: 100%;
    right: -100%;
}

.unitB a,
.side_menu a:hover {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
}

.bxslider li:hover {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
}

.bxslider_mini li:hover {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
}

.bxslider li {
    display: none;
}

.bx-viewport .bxslider li {
    display: block !important;
}

/* ページャーのスタイル */
.bx-wrapper .bx-pager.bx-default-pager a {
    width: 6px;
    height: 6px;
    margin: 0 5px;
    background: none;
    border: 1px solid #000;
    outline: 0;
    -webkit-transition: 0.7s;
    -o-transition: 0.7s;
    transition: 0.7s;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
    background: rgba(0, 0, 0, .2);
}

/*スライダーの下部分*/

.unitA {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.unitA .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 50px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.news_box {
    padding: 10px;
}

.unitB {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 100%;
}

.unitB .content {
    width: 1100px;
    margin: 0 auto;
}

/*カードbox*/
.l_thumbnail_main {
    position: relative;
    overflow: hidden;
    max-width: 350px;
    height: auto;
    background: rgba(0, 0, 0, 0.8);
}

.l_thumbnail {
    position: relative;
    overflow: hidden;
    max-width: 300px;
    height: auto;
    background: rgba(0, 0, 0, 0.8);
}

.thumbnail_wrapper {
    display: block;
    margin: 0;
    padding: 0;
}

.thumbnail_wrapper::after {
    display: block;
    width: 0;
    height: 0;
    -webkit-transition: 0.8s;
    -o-transition: 0.8s;
    transition: 0.8s;
    content: "";
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 1px solid #fff;
    opacity: 0;
}

.thumbnail_wrapper img {
    display: block;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.more_text {
    -webkit-transition: 0.8s;
    -o-transition: 0.8s;
    transition: 0.8s;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    letter-spacing: -1px;
    text-align: center;
    opacity: 0;
}

.l_card:hover .thumbnail_wrapper::after {
    opacity: 0.8;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
}

.l_card:hover .thumbnail_wrapper img {
    opacity: 0.6;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.l_card:hover .more_text {
    opacity: 1;
    letter-spacing: 4px;
}

.l_card a {
    color: #333;
    text-decoration: none;
}

.l_card a:hover {
    color: #ccc;
}

.text_content_main {
    max-width: 350px;
    line-height: 1.5em;
    word-wrap: break-word;
    font-size: 0.8rem;
}

.text_content {
    max-width: 270px;
    line-height: 1.5em;
    word-wrap: break-word;
    font-size: 0.8rem;
}

.text_content_main h2 {
    padding-top: 10px;
    font-size: 1rem;
    font-weight: bold;
    line-height: 2em;
}

.text_content h2 {
    padding-top: 10px;
    font-size: 1rem;
    font-weight: bold;
    line-height: 2em;
}

/*サイドメニュー*/
.side_menu {
    -ms-flex-preferred-size: 240px;
    flex-basis: 240px;
}

.side_menu h2 {
    width: 240px;
    padding: 2px 5px;
    margin-top: 30px;
    font-size: 0.9rem;
    line-height: 1.5em;
    font-weight: bold;
    border-bottom: solid 2px #000;
}

.side_menu ul {
    padding: 10px 0 10px 10px;
    font-size: 0.8rem;
    line-height: 2em;
}

.side_menu li a {
    display: block;
    width: 240px;
    padding: 5px 0;
    border-bottom: solid 1px #ccc;
    color: inherit;
    text-decoration: none;
}

.side_menu i {
    vertical-align: middle;
    font-size: 1.3rem;
}

.side_menu a:hover {
    color: #ccc;
}

.side_menu img {
    max-width: 100%;
    padding: 30px 0 0;
    height: auto;
}

.color_menu {
    display: inline-block;
    padding: 5px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: solid 1px #666;
}

.color {
    margin-left: 100px;
}

.color1 {
    margin-left: 100px;
    background-color: #000;
}

.color2 {
    margin-left: 114px;
    background-color: #808080;
}

.color3 {
    margin-left: 100px;
    background-color: #8b4513;
}

.color4 {
    margin-left: 100px;
    background-color: #ffe4c4;
}

.color5 {
    margin-left: 114px;
    background-color: #f00;
}

.color6 {
    margin-left: 114px;
    background-color: #00f;
}

.color7 {
    margin-left: 100px;
    background-color: #ffff00;
}

.color8 {
    margin-left: 100px;
    background-color: #008000;
}

.color9 {
    margin-left: 114px;
    background-color: #ffc0cb;
}

.color10 {
    margin-left: 100px;
    background-color: #ffa500;
}

.color11 {
    margin-left: 110px;
    padding: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    font-size: 0.5rem;
    color: #999;
}

.color-menu a {
    display: block;
}

/*検索ボックス*/
.search_container {
    position: relative;
    width: 250px;
    height: 2.3em;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid #000;
    padding: 3px 10px;
    border-radius: 3px;
    overflow: hidden;
}

.search_container input[type="text"] {
    height: 2.0em;
    border: none;
}

.search_container input[type="text"]:focus {
    outline: 0;
}

.search_container input[type="submit"] {
    position: absolute;
    width: 1.2em;
    height: 1.5em;
    right: 0px;
    top: -5px;
    font-family: 'Material Icons';
    cursor: pointer;
    border: none;
    background: #000;
    color: #fff;
    font-size: 30px;
    outline: none;
}


/*2カラム*/
.main_content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

/*右*/
.right_main {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.main_wrapper {
    max-width: 900px;
    margin-left: 50px;
}

.main_wrapper img {
    max-width: 100%;
    height: auto;
}

.slider_mini {
    max-width: 900px;
    overflow: hidden;
}

.unitC {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.unitC .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 30px;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}


/*タイトルボックス*/
.title_box {
    margin: 20px 0 30px;
    padding: 30px 10px 10px;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
}

.title_box2 {
    margin: 80px 0 30px;
    padding: 0 10px 10px;
    border-bottom: 1px solid #ccc;
}

.title_box2 h2 {
    color: #333;
    font-weight: bold;
}

.inc_list_menu {
    max-width: 900px;
}

.inc_list ul {
    display: inline-block;
    padding: 10px 0 10px 10px;
    vertical-align: top;
    font-size: 0.8rem;
    line-height: 2em;
}

.inc_list li a {
    display: block;
    width: 265px;
    padding: 5px 10px;
    border-bottom: solid 1px #ccc;
    color: inherit;
    text-decoration: none;
}

.inc_list a:hover {
    color: #ccc;
}

/********** フッター **********/
footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 100%;
    margin-top: 70px;
    padding: 30px;
    background-color: #fff;
}

.corp {
    text-align: center;
    margin: 0 auto;
    font-size: 0.8rem;
    color: #000;
}

/*====================================
メディアクエリ
====================================*/


@media (max-width: 1200px) {

    .side_menu {
        display: none;
        float: none;
    }

    .menu {
        display: none;
    }

    /*メニュー部分*/
    .top_nav {
        display: none;
    }

    nav {
        display: none;
        position: absolute;
        top: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.9);
        left: 0;
        position: fixed;
        z-index: 9999;
    }

    .sp_nav nav {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        margin: auto;
    }

    .sp_nav .menu_sp1 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        border-bottom: 2px solid #666;
        padding: 10px 0;
        margin-top: 80px;
    }

    .sp_nav .menu_sp1 ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .sp_nav .menu_sp1 ul li a {
        display: block;
        text-align: center;
        width: 80px;
        text-decoration: none;
        color: #666;
    }

    .sp_nav .menu_sp1 ul li a:hover {
        color: #000;
    }

    .sp_nav .menu_sp1 ul li span {
        display: block;
        font-size: 0.7rem;
    }

    .sp_nav .menu_sp2 {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 60px 0;
    }

    .sp_nav .menu_sp2 ul {
        display: inline-block;
        font-size: 0.9rem;
    }

    .sp_nav .menu_sp2 ul li {
        width: 110px;
        margin: 15px;
    }

    .sp_nav .menu_sp2 ul li a {
        display: block;
        width: 110px;
        padding-left: 10px;
        text-align: left;
        text-decoration: none;
        color: #333;
    }

    .sp_nav .menu_sp2 ul li a:hover {
        color: #000;
    }

    .sp_nav .title_border {
        padding: 0 0 5px 10px;
        color: #666;
        border-bottom: 2px solid #666;
    }

    .sp_nav .title_border h2 {
        color: #333;
    }

    /*開閉ボタン*/
    #nav_toggle {
        display: block;
        width: 40px;
        height: 40px;
        position: relative;
        top: 4px;
        z-index: 10000;
    }

    #nav_toggle div {
        position: relative;
    }

    #nav_toggle span {
        display: block;
        width: 100%;
        height: 3px;
        left: 0;
        position: absolute;
        -webkit-transition: 0.5s ease-in-out;
        -o-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
    }

    #nav_toggle span:nth-child(1) {
        top: 0px;
        background: #fff;
    }

    #nav_toggle span:nth-child(2) {
        top: 12px;
        background: #fff;
    }

    #nav_toggle span:nth-child(3) {
        top: 24px;
        background: #fff;
    }

    /*開閉ボタンopen時*/
    .open #nav_toggle span:nth-child(1) {
        top: 12px;
        background: #ffff;
        -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    .open #nav_toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #nav_toggle span:nth-child(3) {
        top: 12px;
        background: #ffff;
        -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    /*ナビ固定*/
    #nav_toggle {
        position: fixed;
        height: 27px;
        padding: 15px;
        top: 0;
        left: auto;
        right: 0;
        bottom: 0;
        background: #000;
    }

    .unitA .content {
        padding: 0 15px;
    }

    .unitB .content {
        padding: 0 15px;
    }

    .thumbnail_wrapper_main img {
        width: 100%;
        height: auto;
    }

    .thumbnail_wrapper img {
        width: 100%;
        height: auto;
    }

    .main_content {
        display: block;
    }

    .main_wrapper {
        margin-left: 0;
        margin: 0 auto;
        padding: 15px;
    }

    .title_box2 {
        margin: 30px 0 20px;
    }

    .inc_list ul {
        display: block;
        font-size: 1rem;
    }

    .inc_list li a {
        width: auto;
    }
}

@media (max-width: 700px) {

    .unitA .content {
        display: block;

    }

    .text_content {
        padding-bottom: 20px;
    }

    .text_content h2 {
        font-size: 0.9rem;
    }
}



@media (max-width: 470px) {
    .headerA .logo a {
        font-size: 1rem;
    }

    .sp_nav .menu_sp1 ul li a {
        width: 65px;
    }

    .sp_nav .menu_sp1 ul li span {
        font-size: 0.6rem;
    }

    .sp_nav .menu_sp2 ul {
        font-size: 0.8rem;
    }

    .sp_nav .menu_sp2 ul li {
        width: 85px;
        margin: 10px;
    }

    .sp_nav .menu_sp2 ul li a {
        width: 90px;
        padding-left: 5px;
    }

    .sp_nav .title_border {
        padding: 0 0 5px 5px;
    }

    .unitC .content .more_text {
        font-size: 0.8rem;
    }

    .unitC .content .thumbnail_wrapper::after {
        border: none;
    }

    .inc_list ul {
        padding: 10px 0 10px 0;
    }
}
