:root {
    --white: #fff;
    --background-main: #191919;
    --background-main-light: #303030;
    --yellow: #EADE30;
    --red: #B40000;
    --dark-gray: #787878;
}


/* common */
body,
body:before,
body:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background-main);
}

main {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: var(--white);
    line-height: 1.6;
    letter-spacing: 2px;
    box-sizing: border-box;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
    transition: .4s;
}

.pc_only {
    display: block;
}

@media (max-width: 600px) {
    .pc_only {
        display: none;
    }
}

.sp_only {
    display: none;
}

@media (max-width: 600px) {
    .sp_only {
        display: block;
    }
}

/* コンテンツ幅調整 */
.wrapper_600 {
    width: 600px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .wrapper_600 {
        width: 90%;
    }
}

.wrapper_900 {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.wrapper_1728 {
    width: 100%;
    max-width: 1728px;
    margin: 0 auto;
}

/* コンテンツ毎の見出し */
.content_headline {
    margin: 10px 0 12px;
    font-size: 32px;
    text-align: center;
}

.content_headline_caption {
    display: block;
    font-size: 14px;
    font-weight: 400;
}


/* リンクボタン */
.line_button {
    display: inline-block;
    margin: 0 auto;
    padding: 10px 30px;
    text-align: center;
    border: 1px solid var(--white);
    border-radius: 23px;
}

.line_button:hover {
    background-color: var(--white);
    color: var(--background-main);
    border: 1px solid var(--background-main);
    transition: .8s;
}

.colored_link_button {
    display: inline-block;
    margin: 0 auto;
    padding: 10px 30px;
    text-align: center;
    border-radius: 23px;
    color: var(--white);
}

.button_red {
    background-color: var(--red);
}

.button_yellow {
    background-color: var(--yellow);
}

.page_bottom_button {
    display: block;
    text-align: center;
}


/* 文字 */
.font_color_yellow {
    color: var(--yellow);
}

.font_color_red {
    color: var(--red);
}

.font_strong {
    font-size: 30px;
}


/* 見出し */
.contents_headline {
    padding-bottom: 35px;
    font-size: 28px;
    text-align: center;
}

.contents_headline span {
    display: block;
    padding-top: 10px;
    font-size: 16px;
}



/* --- header -------------------- */

header {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 20;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    background-color: rgba(25, 25, 25, 0.7);
}

@media (max-width: 600px) {
    header {
        justify-content: right;
        background-color: transparent;
    }
}

.header_gloval_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    font-weight: bold;
}

@media (max-width: 600px) {
    .header_gloval_menu {
        display: none;
    }
}

.header_gloval_menu_list {
    padding-right: 50px;
}

.header_gloval_menu_list:last-child {
    padding-right: 0;
}


/* ハンバーガーメニューの3本ライン */
.header_hamburger_menu {
    display: none;
}

@media (max-width: 600px) {
    .header_hamburger_menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 40px;
        height: 20px;
        padding-right: 20px;
        cursor: pointer;
    }
    
    .header_hamburger_menu span {
        display: block;
        height: 3px;
        background-color: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    header.active .header_hamburger_menu span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    header.active .header_hamburger_menu span:nth-child(2) {
        opacity: 0;
    }
    
    header.active .header_hamburger_menu span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    header.active .haeder_inner {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 20;
        display: flex;
        justify-content: right;
        flex-direction: column;
        align-items: end;
        width: 50%;
        height: 100vh;
        padding: 20px;
        background-color: var(--background-main);
        text-align: right;
    }

    header.active .haeder_inner .header_gloval_menu_list {
        margin-top: 40px;
        padding-right: 0;
        font-size: 20px;
    }

    header.active .haeder_sp_bg {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 10;
        width: 100%;
        height: 100vh;
        background-color: rgba(25, 25, 25, 0.6);
    }

    header.active .header_gloval_menu {
        display: block;
    }

    header.active .header_hamburger_menu {
        padding-right: 0;
    }
}




/* --- footer -------------------- */

.footer {
    background-color: var(--background-main);
}

.footer_detail {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 70px;
}

.footer_bunner_area {
    width: 100%;
    margin: 30px 0 50px;
    padding: 30px 0;
    background: #fff;
}

.footer_bunner_area_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min( 90% , 600px );
    margin: 15px auto 0;
}

@media (max-width: 600px) {
    .footer_bunner_area_inner {
        flex-direction: column;
    }
}

.footer_bunner:first-child {
    margin-top: 0px;
}

.footer_bunner_area_headline {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: var(--background-main);
}

.footer_bunner {
    width: 47%;
}

@media (max-width: 600px) {
    .footer_bunner {
        width: 100%;
        margin-top: 15px;
    }
}

.footer_bunner_img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.footer_detail_logo {
    display: block;
    width: 150px;
}

.footer_detail_links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
}

.footer_detail_links_sns {
    display: inline-block;
}

.footer_detail_links_sns img {
    width: 30px;
}

footer small {
    display: block;
    padding-bottom: 20px;
    text-align: center;
    color: var(--white);
}



/* WordPressリセット用css */

.page .l-header {
    display: none;
}

.page .l-content {
    margin: 0;
    padding: 0;
    max-width: none;
}

/* リニューアルページ表示のための対応 */
.page .l-header {
    display: none;
}

.p-mainVisual {
    display: none;
}

.page .l-footer {
    display: none;
}

.ipage #fix_bottom_menu .menu_list {
    display: none;
}

.page .l-fixHeader {
    display: none;
}


/* 更新するまでヘッダー非表示 */
.id_867 header {
    display: none;
}


/* 404ページ対策 */

.error404 .l-header, 
.error404 .l-footer {
    display: none;
}

.error404 .post_content p:nth-child(2) {
    display: none;
}

.error404 .post_content .c-searchForm {
    display: none;
}
