﻿@charset "utf-8";
/*----------------------------------------------------------------------
    content_site_builder v1.1
    Copyright © 2022 shin
    Licensed under MIT
    This software is released under the MIT License, see LICENSE.txt.
----------------------------------------------------------------------*/
/*------------------------------------------------------------
    レスポンシブデザインについて
--------------------------------------------------------------
    このデザインはモバイルファーストでコーデイングされています。

    画面幅参考
    ・スマホ    ：～479px
    ・タブレット縦長：480～767px
    ・タブレット横長：768～1023px
    ・PC        ：960px

    表示切替
    ・PC用設定            ：横幅960pxまで（@media (min-width:960px) {}に記載）
    ・横長タブレット用設定：横幅768pxまで（@media (min-width:768px) {}に記載）
    ・縦長タブレット用設定：横幅480pxまで（@media (min-width:480px) {}に記載）
    ・スマホ・他共通      ：mediaクエリでくくっていないスタイル全て

    サイズの単位表記について
    ・rem    ：文字など、視覚ユーザーがブラウザの拡大・縮小機能を使用した際に連動させたい部分で使用
    ・em     ：要素内の相対的なサイズとして連動させたい部分で使用
    ・px、vh ：デザインに影響のある箇所等、固定する部分で使用
------------------------------------------------------------*/
/*------------------------------------------------------------
    基礎部分
------------------------------------------------------------*/

/* ▼要素サイズ▼ */
* { /*  余白の指定を無効化し、要素内の余白でサイズが変わらないよう指定 */
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

::before, ::after { /* 疑似要素のサイズは対象の要素を継承 */
    box-sizing: inherit;
}
h1 { font-size:1.5em; }
h2 { font-size:1.3em; }
h3 { font-size:1.1em; }
h4 { font-size:1em; }
h5 { font-size:1em; }
h6 { font-size:1em; }
/* ▲要素サイズ▲ */

/* ▼要素の修飾削除▼ */
img {
    border: 0;
    height: auto;
    max-width: 100%;
}

input[type="submit"],
input[type="button"] {
    border: none;
}

/* displa:noneにするとTab＋Spaceで選択できないため透明に */
input[type="checkbox"],
input[type="radio"],
input[type="file"] {
    filter: alpha(opacity=0);
    -moz-opacity:0;
    opacity:0;
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
}
input[type="checkbox"]:focus + label{
    box-shadow: 0 0 0 2px ;
}
a {
    text-decoration: none;
}

    a.disabled {
        pointer-events: none;
    }

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    appearance: none;
}
/* ▲要素の修飾削除▲ */

/* ▼文字関連▼ */
html {
    font-size: 62.5%; /* コーディングのコストを落とすため1remのデフォルト値を16pxから10pxに変更 */
    -webkit-text-size-adjust: 100%; /* 画面の向きを変更しても文字サイズを変更しないよう変更 */
    scroll-behavior: smooth;
}

body, pre, address ,em {
    font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS P Gothic",Helvetica,Arial,sans-serif;
    font-size: 1.6rem;
    font-style: normal;
    height: 100%;
    overflow-wrap: break-word; /* 右端で折り返し */
    word-break: break-word; /* 外字の際、なるべく単語の区切りで改行する */
}

input, label {
    font-size: 1.6rem;
}
/* ▲文字関連▲ */


/*------------------------------------------------------------
    レイアウト
------------------------------------------------------------*/
#layout_header_area {
    position: fixed;
    box-sizing: content-box;
    width: 100%;
    z-index: 100;
}

#layout_content_area {
    padding-top: 60px; /* ヘッダー部分に初期位置が被らないようずらす */
    min-height: calc(100vh - 25px); /* フッター部分が近くなりすぎないように高さを確保 */
    padding-left:10px;
    padding-right:10px;
}

@media (min-width:480px) {
    #layout_header_area {
        height: 100px;
    }
    #layout_content_area {
        padding-top: 100px;
        min-height: calc(100vh - 125px); /* フッター部分が近くなりすぎないように高さを確保 */
    }
    #csb_page_content {
        min-height: calc(100vh - 125px); /* フッター部分が近くなりすぎないように高さを確保 */
    }
    
    #layout_content_area .index{
        min-height: calc(100vh - 125px);
    }
}

#layout_footer_area {
    width: 100%;
    height: 25px;
    margin: 0 calc(50% - 50vw);
}
/* コンテンツの最大幅と余白 */
.layout_container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
#csb_page_content {
    max-width: 1140px;
    width: 100%;
    overflow-y: auto;
}

.layout_content {
    margin: 0 10px;
}

/* 大きい画面だけ二分割する場合 */
@media (min-width:480px) {
    .layout_half_left{
        float:left;
        width:50%;
    }
    .layout_half_right{
        float:left;
        width:50%;
    }
}

/*------------------------------------------------------------
 サイトロゴ
------------------------------------------------------------*/
.logo_btn {
    height: 60px;
    margin-left: 10px;
    position: relative;
    width: 200px;
    z-index: 1;
}

    .logo_btn a {
        align-items: center;
        display: flex;
        font-size: 30px;
        height: 60px;
        justify-content: flex-start;
        position: relative;
        margin: auto;
        transition: 0.3s;
        text-decoration: none;
        width: 300px;
    }

@media (min-width:480px) {
    .logo_btn {
        display: block;
        height: auto;
        /*margin: 10px 0;*/
        text-align: center;
        width: 100%;
    }

        .logo_btn a {
            display: inline-block;
            height: auto;
            width: auto;
        }
}
/*------------------------------------------------------------
 ナビゲーションメニュー
------------------------------------------------------------*/
.fade_menu {
    position: relative;
}

.header_menu {
    display: none;
    text-align: center;
}

/* ▼ハンバーガーメニューのスタイル▼ */
.hamburger {
    cursor: pointer;
    height: 40px;
    display: block;
    position: absolute;
    right: 10px;
    width: 40px;
    text-align: center;
    top: -50px;
    z-index: 3;
}
    /* 三本線の見た目 */
    .hamburger span {
        display: block;
        height: 2px;
        position: absolute;
        transition: 0.3s ease-in-out;
        width: 30px;
    }

        .hamburger span:nth-child(1) {
            top: 10px;
        }

        .hamburger span:nth-child(2) {
            top: 20px;
        }

        .hamburger span:nth-child(3) {
            top: 30px;
        }

/* 隠しチェックボックスが選択状態→三本線を×印に見せかける */
#header_menu_status:checked ~ .hamburger {
    z-index: 3;
}

    #header_menu_status:checked ~ .hamburger span:nth-child(1),
    #header_menu_status:checked ~ .hamburger span:nth-child(2),
    #header_menu_status:checked ~ .hamburger span:nth-child(3) {
        top: 16px;
        left: 6px;
    }
    /* 一本目を反時計回りに45度回転 */
    #header_menu_status:checked ~ .hamburger span:nth-child(1) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    /* 二本目を時計回りに45度回転 */
    #header_menu_status:checked ~ .hamburger span:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    /* 三本目は透明にする */
    #header_menu_status:checked ~ .hamburger span:nth-child(3) {
        opacity: 0;
    }

@media (min-width:480px) {
    /* スマホ以外の時はハンバーガーメニューは不要 */
    .hamburger {
        display: none;
    }
}
/* ▲ハンバーガーメニューのスタイル▲ */

/* ▼メニュ―本体のスタイル▼ */
/* 隠しチェックボックスが選択状態→ナビゲーションメニューを開く */
#header_menu_status:checked ~ .header_menu {
    display: block;
    position: absolute;
    z-index: 2;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    top: -60px;
}
    /* スマホ表示の際はメニュー全体をタップ可能な領域とする */
    #header_menu_status:checked ~ .header_menu li {
        position: relative;
        height: 60px;
        list-style: none;
    }

        #header_menu_status:checked ~ .header_menu li a {
            display: block;
            width: 100%;
            height: 100%;
            border-bottom: 1px solid;
        }

            #header_menu_status:checked ~ .header_menu li a > span.menu_btn {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%,-50%);
            }

.header_menu ul li:hover {
    transition: all 0.5s ease 0s;
}
/* スマホ以外は常にメニューを横並びで表示する */
@media (min-width:480px) {
    .header_menu {
        display: block;
        overflow: hidden;
        position: relative;
    }

        .header_menu ul {
            display: table;
            table-layout: fixed;
            width: 100%;
        }

        .header_menu li {
            display: table-cell;
            vertical-align: middle;
        }

        .header_menu a {
            position: relative;
            display: inline-block;
        }

            .header_menu a::after {
                position: absolute;
                bottom: -4px;
                left: 0;
                content: '';
                width: 100%;
                height: 2px;
                transform: scale(0, 1);
                transform-origin: left top;
                transition: transform .3s;
            }

            .header_menu a:hover::after {
                transform: scale(1, 1);
            }
}
/* ▲メニュ―本体のスタイル▲ */

/*------------------------------------------------------------
    ローディングアニメーション
------------------------------------------------------------*/
/* ローディング画面 */
#loading {
    width: 100vw;
    height: 100vh;
    transition: all 0.8s;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
  }
  .loaded {
    opacity: 0;
    visibility: hidden;
  }
/*------------------------------------------------------------
    モーダル
------------------------------------------------------------*/
#csb_modal{
    position:fixed;
    top:0;
    width: 100vw;
    height: 100vh;
    z-index: 50;
}
#csb_modal_backscreen{
    width: 100vw;
    height: 100vh;
    padding:5%;
}
#csb_modal_frontmessage{
    padding:2%;
    overflow: scroll;
    max-height: 90vh;
}
/*------------------------------------------------------------
    カルーセル
------------------------------------------------------------*/
/* 2択カルーセル */
#slide2_1:checked ~ .carousel_prev label:nth-child(2),
#slide2_2:checked ~ .carousel_prev label:nth-child(1),
#slide2_1:checked ~ .carousel_next label:nth-child(2),
#slide2_2:checked ~ .carousel_next label:nth-child(1),
#slide2_1:checked ~ .carousel_controller label:nth-child(1):after,
#slide2_2:checked ~ .carousel_controller label:nth-child(2):after{
    display: block;
}
#slide2_1:checked ~ img:nth-of-type(1),
#slide2_2:checked ~ img:nth-of-type(2){
    display: block;
}
/* 3択カルーセル */
#slide3_1:checked ~ .carousel_prev label:nth-child(3),
#slide3_2:checked ~ .carousel_prev label:nth-child(1),
#slide3_3:checked ~ .carousel_prev label:nth-child(2),
#slide3_1:checked ~ .carousel_next label:nth-child(2),
#slide3_2:checked ~ .carousel_next label:nth-child(3),
#slide3_3:checked ~ .carousel_next label:nth-child(1),
#slide3_1:checked ~ .carousel_controller label:nth-child(1):after,
#slide3_2:checked ~ .carousel_controller label:nth-child(2):after,
#slide3_3:checked ~ .carousel_controller label:nth-child(3):after{
    display: block;
}
#slide3_1:checked ~ img:nth-of-type(1),
#slide3_2:checked ~ img:nth-of-type(2),
#slide3_3:checked ~ img:nth-of-type(3){
    display: block;
}
/* 4択カルーセル */
#slide4_1:checked ~ .carousel_prev label:nth-child(4),
#slide4_2:checked ~ .carousel_prev label:nth-child(1),
#slide4_3:checked ~ .carousel_prev label:nth-child(2),
#slide4_4:checked ~ .carousel_prev label:nth-child(3),
#slide4_1:checked ~ .carousel_next label:nth-child(2),
#slide4_2:checked ~ .carousel_next label:nth-child(3),
#slide4_3:checked ~ .carousel_next label:nth-child(4),
#slide4_4:checked ~ .carousel_next label:nth-child(1),
#slide4_1:checked ~ .carousel_controller label:nth-child(1):after,
#slide4_2:checked ~ .carousel_controller label:nth-child(2):after,
#slide4_3:checked ~ .carousel_controller label:nth-child(3):after,
#slide4_4:checked ~ .carousel_controller label:nth-child(4):after{
    display: block;
}
#slide4_1:checked ~ img:nth-of-type(1),
#slide4_2:checked ~ img:nth-of-type(2),
#slide4_3:checked ~ img:nth-of-type(3),
#slide4_4:checked ~ img:nth-of-type(4){
    display: block;
}
/* 5択カルーセル */
#slide5_1:checked ~ .carousel_prev label:nth-child(5),
#slide5_2:checked ~ .carousel_prev label:nth-child(1),
#slide5_3:checked ~ .carousel_prev label:nth-child(2),
#slide5_4:checked ~ .carousel_prev label:nth-child(3),
#slide5_5:checked ~ .carousel_prev label:nth-child(4),
#slide5_1:checked ~ .carousel_next label:nth-child(2),
#slide5_2:checked ~ .carousel_next label:nth-child(3),
#slide5_3:checked ~ .carousel_next label:nth-child(4),
#slide5_4:checked ~ .carousel_next label:nth-child(5),
#slide5_5:checked ~ .carousel_next label:nth-child(1),
#slide5_1:checked ~ .carousel_controller label:nth-child(1):after,
#slide5_2:checked ~ .carousel_controller label:nth-child(2):after,
#slide5_3:checked ~ .carousel_controller label:nth-child(3):after,
#slide5_4:checked ~ .carousel_controller label:nth-child(4):after,
#slide5_5:checked ~ .carousel_controller label:nth-child(5):after{
    display: block;
}
#slide5_1:checked ~ img:nth-of-type(1),
#slide5_2:checked ~ img:nth-of-type(2),
#slide5_3:checked ~ img:nth-of-type(3),
#slide5_4:checked ~ img:nth-of-type(4),
#slide5_5:checked ~ img:nth-of-type(5){
    display: block;
}
/*------------------------------------------------------------
    横スクロールリスト
------------------------------------------------------------*/
.sideways_list{
    position: relative;
    display: flex;
    overflow-y: scroll;
}
.sideways_list .scroll_item{
    padding:5px;
}
.sideways_list .scroll_item img{
    height:270px;
    width:50%;
    min-width:200px;
    object-fit: cover;
}
/* スクロールバー */
.sideways_list.scroll::-webkit-scrollbar {
    height: 5px;
}

.sideways_list.scroll::-webkit-scrollbar-track {
    border-radius: 10px;
}

.sideways_list.scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
}


/*------------------------------------------------------------
/* アコーディオン
------------------------------------------------------------*/
/* 隠しチェックボックスが選択状態→追記を見せる */
#readmore_status ~ #readmore {
    display: none;
}
#readmore_status:checked ~ #readmore {
    display: block;
}
#readmore_status:checked ~ #readmore_guide {
    display: none;
}

#readmore{
    margin-top: 50px;
}

/* ▼ 開閉要素のスタイル ▼ */
.acc_item{
    position: relative;
}
.acc_title{
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
    display: block;
}
.acc_title::after,
.acc_title::before {
    content: "";
    position: absolute;
    right: 1em;
    top: 0.5em;
    width: 2px;
    height: 1em;
    background-color: #222;
    transition: all 0.3s;
}
.acc_toggle:checked + .acc_title::before {
    transform: rotate(90deg) !important;
}
.acc_title::after {
    transform: rotate(90deg);
}
.acc_summary{
    padding:10px;
}
.acc_inner{
    display: none;
}
.acc_toggle:checked ~ .acc_inner {
    display: block;
    width: 100%;
} 
/* ▲開閉要素のスタイル▲ */

/*------------------------------------------------------------
    csb_viewer_list.html
    ・PC表示    ：2カラムレイアウト
    ・スマホ表示：サイドメニューの内容を表示切替で管理
------------------------------------------------------------*/
/* ▼レイアウト部分▼ */
.layout_col2 .js_menu,
.layout_col2 .js_content {
    min-height: calc(100vh - 125px);
    width: 100%;
    z-index: 1;
}
    .layout_col2 .js_menu,
    #csb_sidemenu_status:checked ~ .js_content {
        display: block;
    }
    .layout_col2 .js_content,
    #csb_sidemenu_status:checked ~ .js_menu{
        display: none;
    }

    .searchlist .js_menu{
        min-height:auto;
    }
    .searchlist .js_content{
        min-height:auto;
        display: block;
    }

@media (min-width:768px) {
    .layout_col2 .js_menu,
    .layout_col2 .js_content {
        min-height: calc(100vh - 125px);
    }
    .layout_col2::after {
        content: "";
        display: block;
        clear: both;
    }
    .layout_col2 .js_menu {
        float: left;
        width: 30%;
    }
    .layout_col2 .js_content {
        display: block;
        float: left;
        width: 70%;
        left: 30%;
    }

    .layout_col2 .layout_content .scroll {
        /*  フッターとの共存のために、
            画面の高さからヘッダーメニューの高さ＋フッターの高さ＋要素に指定した余白を減算 */
        height: calc(100vh - 125px);
        overflow-y: auto;
        position:relative;
    }
    .layout_col2 .js_menu,
    .layout_col2 .js_content,
    #csb_sidemenu_status:checked ~ .js_menu {
        display: block;
    }
}
@media (min-width:1140px) {
    .layout_col2 .js_menu {
        width: 340px;
    }

    .layout_col2 .js_content {
        width: 800px;
        left: 340px;
    }
}

/* ▲レイアウト部分▲ */
/* ▼デザイン部分▼ */
.list_item_wrapper:hover {
    opacity: 0.7;
}
#csb_image_list .list_item_wrapper {
    display: inline-block;
    vertical-align: middle;
    font-size: 0;
}

/* 検索一覧画面で表示した要素がガタつかないようにする .searchlist #csb_content*/
.searchlist #csb_content{
    display:flex;
    flex-wrap: wrap;
}

#csb_content .list_item_wrapper,
#csb_text_list .list_item_wrapper {
    border: 1px solid;
    border-radius: 5px;
    margin: 5px 0;
    padding: 5px 0;
    font-size: 1.5rem;
    text-align: left;
    width:100%;
}
@media (min-width:480px) {
    #csb_content .list_item_wrapper{
        font-size: 2rem;
    }
}
@media (min-width:768px) {
    #csb_content .list_item_wrapper{
        width:47%;
        font-size: 1.5rem;
        float: left;
    }
}

#csb_content .list_item_caption,
#csb_text_list .list_item_caption {
    font-size: 0.8em;
}

#csb_image_list,
#csb_text_list {
    text-align: center;
}

.list_item {
    margin: 2px;
}

    .list_item img {
        width: 30vw;
        height: 30vw;
        object-fit: cover;
        border-radius: 5px;
    }

@media (min-width:480px) {
    .list_item img {
        width: 7.8vw;
        height: 7.8vw;
    }
}

.list_item_sumnail img{
    width: 30vw;
    height: 30vw;
    object-fit: scale-down;
}
.searchlist .list_item_wrapper{
    display: flex;
    align-items: stretch;
}
.searchlist .list_item{
    width: 70vw;
}
@media (min-width:480px) {
    .searchlist .list_item{
        width: 60%;
    }
}
@media (min-width:768px) {
    .searchlist .list_item{
        width: 80%;
    }
    .csb_search label{
        font-size: 90%;
        padding-top: 3px;
    }
}
.searchlist .list_item table{
    font-size: 0.7em;
}
.search_star,
.search_caution{
    display:inline-block;
}
.searchlist .list_item_name{
    font-size:1.5rem;
}
.searchlist .search_caution{
    float: right;
}
@media (min-width:480px) {
    .list_item_sumnail img{
        width: 40vw;
        height: 40vw;
    }
    .searchlist .list_item_caption{
        font-size:0.8em;
    }
}
@media (min-width:768px) {
    .list_item_sumnail img{
        width: 14vw;
        height: 14vw;
    }
}


.content_item_wrapper,
.content_name_img {
    text-align: center;
    width:100%;
}
    .content_item_wrapper img {
        max-height: 80vh;
    }

.content_caption,
.content_name_text,
.content_text {
    text-align: left;
}

/* サイドメニュー用のスクロールバー */
.scroll::-webkit-scrollbar {
    width: 5px;
}

.scroll::-webkit-scrollbar-track {
    border-radius: 100px;
}

.scroll::-webkit-scrollbar-thumb {
    border-radius: 100px;
}
/* ▲デザイン部分▲ */
/*------------------------------------------------------------
     リンクのスタイル
------------------------------------------------------------*/
/* 見出しの右端に表示 */
.heading_rihgt {
    position: relative;
    top: -30px;
    margin-bottom: -30px;
    text-align: right;
    z-index: 1;
}
@media (min-width:768px) {
    .heading_rihgt {
        text-align: left;
        margin-left: 15%;
    }
}

/* ▼ボタンのスタイル▼ */
.btn,
.other_btn {
    display: inline-block;
    position: relative;
    min-width: 200px;
    height: 60px;
    margin: 5px;
    padding: 1em;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    border-radius: 5px;
}
.btn:hover{
    opacity:0.7;
}

.small_btn {
    width: 150px;
    height: 30px;
    padding: 0.3em;
    font-weight: normal;
}

/* 角に丸みがないボタン */
.square_btn {
    border-radius: 0;
}
/* 正円形ボタン（大） */
.circle_btn {
    width: 150px;
    height: 150px;
    line-height: 150px;
    padding: 0;
    border-radius: 50%;
}
/* 正円形ボタン（小） */
.circle_btn_small {
    width: 90px;
    height: 90px;
    line-height: 90px;
    padding: 0;
    font-weight: normal;
    border-radius: 50%;
}
/* 楕円形ボタン */
.oval_btn {
    border-radius: 35px;
}
/* 二重線のフレーム */
.freme {
    border: 5px double;
    line-height: 20px;
}

    .freme.circle_btn {
        line-height: 140px;
    }

    .freme.circle_btn_small {
        line-height: 80px;
    }

.btn_area {
    width: 100%;
    text-align: center;
}
/* ▲ボタンのスタイル▲ */
/*------------------------------------------------------------
     文書のスタイル
------------------------------------------------------------*/
/* ▼引用▼ */
.component_blockquote {
    border-radius: 5px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.5);
    display: block;
    margin: 10px;
    padding: 10px;
}

    .component_blockquote div {
        margin-bottom: 5px;
    }

    .component_blockquote cite {
        display: block;
        text-align: right;
    }
/* ▲引用▲ */
/* ▼定義リスト▼ */
/* スマホ閲覧時は定義と説明を縦並び、それ以外は定義と説明を横並びで表示する */
.component_dl {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

    .component_dl dt,
    .component_dl dd {
        display: block;
        padding : 5px;
    }

    .component_dl dd {
        /* スマホ表示の場合は一字下げる */
        padding-left: 1em;
    }

@media (min-width:480px) {
    .component_dl {
        align-items: stretch;
        display: flex;
        flex-wrap: wrap;
        border-collapse: collapse;
    }

        .component_dl dt {
            width: 150px;
        }

        .component_dl dd {
            width: calc(100% - 150px);
        }
    .line dt,
    .line dd {
        border-bottom: 1px solid;
        margin: 0 0 -1px;
    }
}
/* ▲定義リスト▲ */

/* ▼箇条書き▼ */
.component_list {
    list-style-position: inside;
}
/* ▲箇条書き▲ */

/* ▼テーブル▼ */
.component_table {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
}
    .component_table th,
    .component_table td {
        display: block;
        text-align: left;
        padding: 5px;
    }
.line td, .line th {
    border: 1px solid;
    margin: 0 0 -1px;
}
@media (min-width:480px) {
    .component_table {
        width: auto;
        margin: unset;
    }
    .component_table th,
    .component_table td {
        display: table-cell;
        padding: 5px;
    }

    .component_table th {
        text-align: center;
    }
    .topics th {
        width: 150px;
    }
    .line th {
        border-top: 1px solid;
    }
}
/* ▲テーブル▲ */

/*------------------------------------------------------------
     入力項目のスタイル
------------------------------------------------------------*/
/* ▼入力欄▼ */
.component_select, .component_textbox {
    border: 1px solid;
    border-radius: 5px;
    padding: 5px;
}
/* ▲入力欄▲ */
/* ▼ラジオボタン・チェックボックス▼ */
.component_checkbox + label,
.component_radio + label {
    padding-left: 25px;
    position: relative;
}

    .component_checkbox + label::before,
    .component_radio + label::before,
    .component_checkbox + label::after,
    .component_radio + label::after {
        content: '';
        display: block;
        position: absolute;
    }

    .component_checkbox + label::before,
    .component_radio + label::before {
        border: 1px solid;
        left: 0;
        height: 20px;
        top: 0;
        width: 20px;
    }

    .component_checkbox + label::after,
    .component_radio + label::after {
        opacity: 0;
        transition: .3s;
    }


.component_checkbox:checked + label::after,
.component_radio:checked + label::after {
    opacity: 1;
}

.component_checkbox + label::after {
    border-bottom: 3px solid;
    border-right: 3px solid;
    height: 15px;
    left: 5px;
    top: 0;
    transform: rotate(45deg);
    width: 10px;
}

.component_radio + label::before {
    border-radius: 50%;
}

.component_radio + label::after {
    border-radius: 50%;
    height: 14px;
    left: 3px;
    top: 3px;
    width: 14px;
}
/* ▲ラジオボタン・チェックボックス▲ */
/*------------------------------------------------------------
     汎用
------------------------------------------------------------*/
/* 要素間の余白調整 */
.mt5 { margin-top: 5px !important; }
.mt10 { margin-top: 10px !important; }
.mt20 { margin-top: 20px !important; }
.mt30 { margin-top: 30px !important; }
.mt40 { margin-top: 40px !important; }
.mt50 { margin-top: 50px !important; }

.mb5 { margin-bottom: 5px !important; }
.mb10 { margin-bottom: 10px !important; }
.mb20 { margin-bottom: 20px !important; }
.mb30 { margin-bottom: 30px !important; }
.mb40 { margin-bottom: 40px !important; }
.mb50 { margin-bottom: 50px !important; }

.ml5 { margin-left: 5px !important; }
.ml10 { margin-left: 10px !important; }
.ml20 { margin-left: 20px !important; }
.ml30 { margin-left: 30px !important; }
.ml40 { margin-left: 40px !important; }
.ml50 { margin-left: 50px !important; }

.mr5 { margin-right: 5px !important; }
.mr10 { margin-right: 10px !important; }
.mr20 { margin-right: 20px !important; }
.mr30 { margin-right: 30px !important; }
.mr40 { margin-right: 40px !important; }
.mr50 { margin-right: 50px !important; }

.p5 { padding: 5px !important; }
.p10 { padding: 10px !important; }
.p20 { padding: 20px !important; }
.p30 { padding: 30px !important; }
.p40 { padding: 40px !important; }
.p50 { padding: 50px !important; }

.pt5 { padding-top: 5px !important; }
.pt10 { padding-top: 10px !important; }
.pt20 { padding-top: 20px !important; }
.pt30 { padding-top: 30px !important; }
.pt40 { padding-top: 40px !important; }
.pt50 { padding-top: 50px !important; }

.pb5 { padding-bottom: 5px !important; }
.pb10 { padding-bottom: 10px !important; }
.pb20 { padding-bottom: 20px !important; }
.pb30 { padding-bottom: 30px !important; }
.pb40 { padding-bottom: 40px !important; }
.pb50 { padding-bottom: 50px !important; }

.pl5 { padding-left: 5px !important; }
.pl10 { padding-left: 10px !important; }
.pl20 { padding-left: 20px !important; }
.pl30 { padding-left: 30px !important; }
.pl40 { padding-left: 40px !important; }
.pl50 { padding-left: 50px !important; }

.pr5 { padding-right: 5px !important; }
.pr10 { padding-right: 10px !important; }
.pr20 { padding-right: 20px !important; }
.pr30 { padding-right: 30px !important; }
.pr40 { padding-right: 40px !important; }
.pr50 { padding-right: 50px !important; }

.w100 { width: 100px !important; }
.w150 { width: 150px !important; }
.w200 { width: 200px !important; }
.w250 { width: 250px !important; }
.w300 { width: 300px !important; }

.w25per { width: 25% !important; }
.w10per { width: 10% !important; }
.w20per { width: 20% !important; }
.w30per { width: 30% !important; }
.w40per { width: 40% !important; }
.w45per { width: 45% !important; }
.w50per { width: 50% !important; }
.w60per { width: 60% !important; }
.w70per { width: 70% !important; }
.w80per { width: 80% !important; }
.w90per { width: 90% !important; }
.w100per { width: 100% !important; }

/* 文字揃え */
.ta_c { text-align: center !important; }
.ta_r { text-align: right !important; }
.ta_l { text-align: left !important; }

/* 回り込み */
.fl_l { float: left; }
.fl_r { float: right; }
.clear { clear: both; }

/* PC用の要素を目隠し */
.pc,
.pc.inline,
.pc.table-cell {
    display: none;
}

.sp {
    display: block;
}
    .sp.inline_block {
        display: inline-block;
    }

@media (min-width:480px) {
    .pc {
        display: block;
    }
        .pc.inline {
            display: inline;
        }
        .pc.table-cell{
            display: table-cell;
        }
    /* スマホ用の要素を目隠し */
    .sp,
    .sp.inline_block {
        display: none;
    }
}

.elm_displaynone,
.elm_chkstatus,
.elm_dispnone {
    display: none;
    font-size: 0;
}

/* displa:noneにするとTab＋Spaceで選択できないため透明に */
.elm_chkstatus{
    filter: alpha(opacity=0);
    -moz-opacity:0;
    opacity:0;
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
}