/* 共通cssには以下のみ記載 */

/* PCサイズ */
/* @media screen and (min-width:1021px) {  */
    /*　画面サイズが1021pxからはここを読み込む　*/

/* bodyの構造と色 */

html {
    scroll-behavior: smooth;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Helvetica Neue', Helvetica, 'Segoe UI', Meiryo, sans-serif;
}

body, *, *::before, *::after {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6,
input, textarea, button, select {
    font-family: inherit;
}

@media screen and (min-width:1021px) {
.pc-hidden {
    display: none !important;
}
}

body {
    background-color: #f9f9f9;
    color: #000;
}

main {
    max-width: 920px;
    margin: 0 auto;
}

.id_anchor {
    padding-top: 60px;
    margin-top: -60px;
}


/* 見出し */

.content_title_h1 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
}

.content_title_h2 {
    font-size: 26px;
    text-align: center;
    margin-bottom: 20px;
}

.sub-head {
    font-size: 20px;
    font-weight: bold;
}


/* マージン, パディング */

/* id_anchorがついてるページトップコンテンツに使う */
.content_wrap_pagetop {
    margin-bottom: 30px;
} 

.content_wrap_large {
    margin-top: 80px;
    margin-bottom: 30px;
}

.content_wrap {
    margin-top: 60px;
    margin-bottom: 20px;
}

.content_wrap_small {
    margin-top: 30px;
    margin-bottom: 30px;
}

.padding_tb_large {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* 画像 */

.new_content_img {
    padding: 0 10%;
    background: #000;
}

/* テキスト */

p {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.8;
}

.text-bold {
    font-weight: bold;
}

.content_text_area {
    border: 2px solid #000;
    background: rgba(256 256 256 / 100%);
    width: calc(100% * 3/5);
    margin: 0 auto;
    padding: 0px 20px 10px 20px;
}

.topic_area {
    border-radius: 5px;
    background: rgba(256 0 0 / 25%);
    width: calc(100% * 7/9);
    margin: 0 auto;
    padding: 20px;
}

.topic_area p {
    display: flex;
    justify-content: center;
}


/* テーブル, リスト, 目次など */

.content_info_table {
    border: 2px solid #000;
    background: rgba(256 256 256 / 100%);
    width: calc(100% * 3/5);
    padding: 10px 20px;
    margin: 0 auto;
}

.content_info_table th {
    text-align: left;
    vertical-align: text-top;
    width: calc(100% * 1/3);
    padding: 10px 20px;
}

.content_info_table td {
    padding: 10px 20px;
}

.cell_border {
    border-bottom: 1px solid rgba(0 0 0 / 20%);
}

.content_info_area {
    border: 2px solid #000;
    background: rgba(256 256 256 / 60%);
    width: calc(100% * 3/5);
    margin: 0 auto;
    padding: 0px 20px 10px 20px;
}


/* リンク、ボタン */

.link_alone {
    display: block;
    padding: 5px 0;
    color: #d3985d;
    width: fit-content;
}

.button_normal {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.button_normal button {
    background-color: #000;
    border-radius: 15px;
    border-color: #000;
    border-style: none;
    min-width: 20%;
    width: 15%;
    height: auto;
    padding: 10px;
}

.button_normal a {
    font-size: 24px;
    color: #FFF;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}


/* ヘッダー */

header {
    margin-bottom: 100px;
}

.header_wrap {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    position: fixed;
    z-index: 990;
    background-color: rgba(0, 0, 0, 100%);
    top: 0;
    left: 0;
    width: 100%;
    height: 3.5rem;
    padding: 0 20px;
}

.header_logo {
    display: flex;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    margin: 0 auto;
}


/* ハンバーガー */
/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 100;/* 重なり順を一番上にする */
    cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 4px;
    width: 40px;
    border-radius: 5px;
    background: #fff;
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
    background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* メニューのデザイン*/
.nav_content {
    width: 30%;
    height: 100%;
    position: fixed;
    top: 0%;
    right: 100%; /* メニューを画面の外に飛ばす */
    z-index: 99;
    background-color: rgba(0 0 0 / 90%) ;
    transition: .5s;
    text-align: center;
    font-size: 18px;
    padding-top: 70px;
}

/* メニュー黒ポチを消す */
.nav_list {
    list-style: none;
    margin-left: 20px;
}

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

/* リストの間 */
.nav_item {
    padding-top: 5px;
    padding-bottom: 20px;
    padding-left: 40px;
    text-align: left;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
    right: 70%;/* メニューを画面に入れる */  
}

/* スライドインのアニメーション */
.slidein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 1.0s;
        &.slidein-up{
            transform: translate(0,-100%);
        }
        &.slidein-left {
            transform: translate(-100%,0);
        }
        &.slidein-right{
            transform: translate(100%,0);
        }
        &.scrollin {
            transform: translate(0, 0)!important;
            opacity: 1!important;
        }
}


/* フッター */

.footer_content_wrap{
    background-color: #ebebeb;
    margin-top: 100px;
}


.footer_agenda {
    display: flex;
    justify-content: space-evenly;
    width: 920px;
    margin: 0 auto;
}

.footer_agenda_column {
    width: 100%;
    margin: 30px auto 0;
    padding: 0 10px;
    gap: 20px;
}

.footer_list_title {
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 5px;
}

.footer_agenda ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.footer_agenda li {
    margin: 10px auto;
}

.footer_sns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin: 80px auto 20px;
}

#x {
    width: 25px;
    height: 25px;
}

#mail {
    width: 30px;
    height: 30px;
}

.copyright {
    color: #FFF;
    text-align: center;
    font-weight: lighter;
    letter-spacing: 2px;
    background-color: rgba(0 0 0 / 100%);
    max-width: 2600px;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 999;
}

/* } */





/* SPサイズ */
@media screen and (max-width:1020px) { 
    /*　画面サイズが1020pxまではここを読み込む　*/

    .sp-hidden {
        display: none !important;
    }
    
    main {
        max-width: 480px;
        margin: 0 auto;
        padding: 0 10px;
    }
    
    .id_anchor {
        padding-top: 30px;
        margin-top: -30px;
    }
    
    
    /* 見出し */
    
    .content_title_h1 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 30px;
        white-space: pre-wrap;
    }

    .content_title_h1 h1 {
        white-space: pre-wrap;
    }
    
    .content_title_h2 {
        font-size: 20px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .sub-head {
        font-size: 18px;
        font-weight: bold;
    }
    
    
    /* マージン, パディング */
    
    /* id_anchorがついてるページトップコンテンツに使う */
    .content_wrap_pagetop {
        margin-bottom: 30px;
    } 
    
    .content_wrap_large {
        margin-top: 80px;
        margin-bottom: 30px;
    }
    
    .content_wrap {
        margin-top: 60px;
        margin-bottom: 20px;
    }
    
    .content_wrap_small {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .padding_tb_large {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    
    /* テキスト */
    
    p {
        font-size: 15px;
        font-family: Arial, Helvetica, sans-serif;
        line-height: 1.8;
    }
    
    .text-bold {
        font-weight: bold;
    }
    
    .content_text_area {
        border: 2px solid #000;
        background: rgba(256 256 256 / 100%);
        width: 100%;
        margin: 0 auto;
        padding: 0px 20px 10px 20px;
    }
    
    .new_content_text {
        width: 100%;
        margin: 0 auto;
    }

    .topic_area {
        border-radius: 5px;
        background: rgba(256 0 0 / 25%);
        width: calc(100% * 7/9);
        margin: 0 auto;
        padding: 20px;
    }
    
    .topic_area p {
        display: flex;
        justify-content: center;
    }
    
    
    /* テーブル, リスト, 目次など */
    
    .content_info_table {
        border: 2px solid #000;
        width: 100%;
        padding: 10px 20px;
        margin: 0 auto;
    }
    
    .content_info_table th {
        text-align: left;
        vertical-align: text-top;
        width: calc(100% * 1/3);
        padding: 10px 20px;
    }
    
    .content_info_table td {
        padding: 10px 20px;
    }
    
    .cell_border {
        border-bottom: 1px solid rgba(0 0 0 / 20%);
    }
    
    .content_info_area {
        text-align: center;
        border: 2px solid #000;
        background: rgba(256 256 256 / 60%);
        width: 100%;
        margin: 0 auto;
        padding: 0px 20px 10px 20px;
    }
    
    
    /* リンク、ボタン*/
    
    .button_normal {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }
    
    .button_normal button {
        background-color: #000;
        border-radius: 15px;
        border-color: #000;
        border-style: none;
        width: 70%;
        height: auto;
        padding: 10px;
    }
    
    .button_normal a {
        font-size: 20px;
        color: #FFF;
        font-weight: bold;
        text-align: center;
        text-decoration: none;
    }

    
    /* ヘッダー */
    
    header {
        margin-bottom: 100px;
    }
    
    .header_wrap {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        position: fixed;
        z-index: 990;
        background-color: rgba(0, 0, 0, 100%);
        top: 0;
        left: 0;
        width: 100%;
        height: 3.5rem;
        padding: 0 20px;
    }
    
    .header_logo {
        display: flex;
        justify-content: center;
        color: #fff;
        font-size: 24px;
        margin: 0 auto;
    }
    
    
    /* ハンバーガー */
    /* チェックボックスを非表示にする */
    .drawer_hidden {
        display: none;
    }
    
    /* ハンバーガーアイコンの設置スペース */
    .drawer_open {
        display: flex;
        align-items: center;
        position: fixed;
        z-index: 100;/* 重なり順を一番上にする */
        cursor: pointer;
    }
    
    /* ハンバーガーメニューのアイコン */
    .drawer_open span,
    .drawer_open span:before,
    .drawer_open span:after {
        content: '';
        display: block;
        height: 4px;
        width: 30px;
        border-radius: 5px;
        background: #fff;
        transition: 0.5s;
        position: absolute;
    }
    
    /* 三本線の一番上の棒の位置調整 */
    .drawer_open span:before {
        bottom: 8px;
    }
    
    /* 三本線の一番下の棒の位置調整 */
    .drawer_open span:after {
        top: 8px;
    }
    
    /* アイコンがクリックされたら真ん中の線を透明にする */
    #drawer_input:checked ~ .drawer_open span {
        background: rgba(255, 255, 255, 0);
    }
    
    /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
    #drawer_input:checked ~ .drawer_open span::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    
    #drawer_input:checked ~ .drawer_open span::after {
        top: 0;
        transform: rotate(-45deg);
    }
    
    /* メニューのデザイン*/
    .nav_content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0%;
        right: 100%; /* メニューを画面の外に飛ばす */
        z-index: 99;
        background-color: rgba(0 0 0 / 90%) ;
        transition: .5s;
        text-align: center;
        font-size: 18px;
        padding-top: 70px;
    }
    
    /* メニュー黒ポチを消す */
    .nav_list {
        list-style: none;
    }
    
    .nav_item a {
        color: #fff;
        text-decoration: none;
    }
    
    /* リストの間 */
    .nav_item {
        width: 90%;
        margin: 0 auto;
        padding-top: 10px;
        padding-bottom: 20px;
        text-align: left;
    }
    
    /* アイコンがクリックされたらメニューを表示 */
    #drawer_input:checked ~ .nav_content {
        right: 0%;/* メニューを画面に入れる */  
    }
    
    /* スライドインのアニメーション */
    .slidein {
        opacity: 0;
        transform: translate(0,0);
        transition: all 1.0s;
            &.slidein-up{
                transform: translate(0,-100%);
            }
            &.slidein-left {
                transform: translate(-100%,0);
            }
            &.slidein-right{
                transform: translate(100%,0);
            }
            &.scrollin {
                transform: translate(0, 0)!important;
                opacity: 1!important;
            }
    }
    
    
    /* フッター */    
    
    .footer_agenda {
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        width: 100%;
        padding-top: 20px;
    }
    
    .footer_agenda_column {
        width: 90%;
        margin: 0 auto 30px;
        padding: 0;
    }

    .footer_list_title {
        font-size: 18px;
        font-weight: bold;
        padding: 0 0 0 15px;
        border-left: 15px solid;
        border-bottom: 2px solid;
    }
    
    .footer_agenda li {
        margin: 10px auto;
        padding-left: 30px;
    }

    .footer_sns {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        width: 100%;
    }
    
    #x {
        width: 25px;
        height: 25px;
    }
    
    .copyright {
        color: #FFF;
        text-align: center;
        font-weight: lighter;
        letter-spacing: 2px;
        background-color: rgba(0 0 0 / 100%);
        width: 100%;
        padding: 1.5rem 0;
        z-index: 999;
    }

}