@charset "utf-8";

/* NEWS共通 */
* {
    font-family: YuGothic, 'Yu Gothic', 'ヒラギノ角ゴシック', 'Hiragino Sans', 'ＭＳ ゴシック', 'Osaka', sans-serif;
}

body {
    background-color: white;
}

/* PC / SP表示切替 */
.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

/* PC上部ナビゲーション */
.cp_navi {
    background-color: #eaedf7;
    border-radius: 4px;
    box-shadow: 2px 3px 2px -1px rgba(0, 0, 0, 0.5);
    color: black;
    display: block;
    margin: 1.5rem 5% 3rem 5%;
    overflow: hidden;
    width: 90%;
}

.cp_navi ul {
    margin: 0;
    padding: 0;
}

.cp_navi ul li {
    display: inline-block;
    list-style-type: none;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.cp_navi > ul > li > a > .caret {
    border-top: 4px solid #aaaaaa;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: '';
    display: inline-block;
    height: 0;
    width: 0;
    vertical-align: middle;
    -webkit-transition: color 0.1s linear;
    transition: color 0.1s linear;
}

.cp_navi > ul > li > a {
    color: #666666;
    font-weight: bold;
    display: block;
    line-height: 50px;
    padding: 0 10px;
    text-decoration: none;
}

.cp_navi > ul > li:hover {
    background-color: #3080ff;
}

.cp_navi > ul > li:hover > a {
    color: black;
}

.cp_navi > ul > li:hover > a > .caret {
    border-top-color: rgb(255, 255, 255);
}

.cp_navi > ul > li > div {
    background-color: white;
    border-top: 0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 2px 3px rgba(0, 0, 0, 0.1);
    display: none;
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 200px;
    visibility: hidden;
    transition: opacity 0.2s;
}

.cp_navi > ul > li:hover > div {
    display: block;
    opacity: 1;
    visibility: visible;
}

.cp_navi > ul > li > div ul > li {
    display: block;
}

.cp_navi > ul > li > div ul > li > a {
    color: black;
    font-weight: bold;
    display: block;
    padding: 12px 20px;
    text-decoration: none;
}

.cp_navi > ul > li > div ul > li:hover > a {
    background-color: #3080ff;
}

/* 一覧に戻る */
#list_back {
    margin: 0.5rem 0 0 0;
    width: 90%;
    text-align: right;
}

#list_back a {
    font-weight: bold;
    text-decoration: none;
}

#list_back a:hover {
    color: #1e50a2;
}

/* PC下部メニュー・フッター */
#wrapper2 {
    width: 100%;
    height: 200px;
    position: relative;
}

#end_menu {
    position: absolute;
    bottom: 50px;
}

#end_menu li {
    float: left;
    padding: 1rem 2rem;
    list-style-type: none;
}

#end_menu a {
    color: black;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

#end_menu a:hover {
    color: #fcc800;
}

#footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    text-align: center;
}

#footer p {
    color: black;
    font-size: 12px;
}

/* スマホ用ヘッダー・ハンバーガー */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 400;
    background: #fff;
}

.logo {
    font-size: 24px;
}

.drawer-hidden {
    display: none;
}

.drawer-open {
    display: flex;
    height: 60px;
    width: 100px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 300;
    cursor: pointer;
}

.drawer-open span,
.drawer-open span::before,
.drawer-open span::after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
}

.drawer-open span::before {
    bottom: 8px;
}

.drawer-open span::after {
    top: 8px;
}

#drawer-check:checked ~ .drawer-open span {
    background: rgba(255, 255, 255, 0);
}

#drawer-check:checked ~ .drawer-open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer-check:checked ~ .drawer-open span::after {
    top: 0;
    transform: rotate(-45deg);
}

.drawer-content {
    width: 100%;
    height: 100%;
    position: fixed;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    top: 0;
    left: 100%;
    z-index: 200;
    background: #fff;
    transition: 0.5s;
}

#drawer-check:checked ~ .drawer-content {
    left: 0;
}

.drawer-list {
    list-style: none;
}

.drawer-item {
    padding: 1rem;
}

.drawer-item a {
    font-size: 20px;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.simple_square_btn2 {
    display: block;
    position: relative;
    width: 250px;
    padding: 0.5em;
    text-align: center;
    text-decoration: none;
    color: #1B1B1B;
    background: #fff;
    border: 1px solid #1B1B1B;
}

.simple_square_btn2:hover {
    background: #1B1B1B;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

/* スマホ用下部固定メニュー */
#sp-fixed-menu {
    position: fixed;
    width: 100%;
    bottom: 30px;
    font-size: 0;
    z-index: 99;
}

#sp-fixed-menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#sp-fixed-menu li {
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 14px;
    border-right: 1px solid #fff;
    background: #5472cd;
}

#sp-fixed-menu li:last-child {
    border-right: none;
}

#sp-fixed-menu li a {
    color: #fff;
    text-align: center;
    display: block;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.sp-footer {
    width: 100%;
    height: 30px;
    position: fixed;
    bottom: 0;
    margin: 0 auto;
    background-color: white;
    z-index: 98;
}

.sp-footer p {
    color: black;
    font-size: 10px;
    font-weight: normal;
    text-align: center;
    margin: 0;
    line-height: 20px;
}

/* スマホ表示 */
@media screen and (max-width: 767px) {
    body {
        margin: 0;
        padding: 0;
    }

    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block;
    }

    .header.sp-only {
        display: flex;
    }

    #page-content {
        margin-top: 5rem;
        padding-bottom: 90px;
    }
}