/* 基本スタイル*/

:root{
    /*color*/
    --gray-darke: #333;
    --gray-light: #ccc;
    --gray-lightest: #eee;
    --white: #FFF;
    --brand-vc: #00a2a3;
    --brand-vc-lv3: #4cbebe;
    --brand-vc-lv2: #b1dfdf;
    --brand-vc-lv1: #e5f6f6;
    --brand-ec: #A876D6;
    --yellow-lv4: #e99e2b;
    --yellow-lv3: #f1d69e;
    --yellow-lv2: #f8eace;
    --yellow-lv1: #fbf4e2;
    --brand-primary: #D01115;
    --link-color: #0085cc;

    /*width*/
    --container-desktop: 1080px;
    --container-sm: 360px;
    --maincontents: 720px;

    /*margin*/
    --margin-large: 80px;
    --margin-middle: 40px;
    --margin-small: 20px;

}


/* */

html{
    font-size: 16px;
    line-height: 1.8;
    word-break: break-all;
}

body {
    line-height: 1.8rem;
    color: #333;
    font-family: 'ヒラギノ角ゴ', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif ;
    width:100%;
}


#page{
    width:100%;
}


/* header */

.container{
    margin:0 auto;
    max-width: 1080px;
}

.header{
    border-bottom: 1px solid #52C4C5;
    height: 64px;
    width: 100%;
    background-color: #fff;
    top: 0;
    left: 0;
    z-index: 10;
}
.header_container{
    padding:20px 0 12px;
}

.header span.pagename{
    font-size: 1rem;
    margin-left: 20px;
    top: -3px;
    position: relative;
}

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

.mainnav{
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    width: 100%;
    z-index: 10;
}

.fixed .nav_container{
    padding: 10px;
    transition: all 0.5s ease-out;
}

/*layout*/


#main{
    display: flex;
    margin-bottom:2.5em;
    z-index: 3;
}

#submenu{
    max-width: 320px;
}

#content{
    max-width: 720px;
    margin-left: 20px;
    margin-top: 1.25em;
    font-size: 1rem;
}

.content_section{
    margin-top: 60px;
}

/* パンくず　*/
.breadcrumb{
    font-size: .75rem;
}

.breadcrumb ul{
    display: flex;
    padding-left: 0!important;
}
.breadcrumb ul li{
    padding-right: 1em;
}

.breadcrumb ul li::after{
    content: " > ";
    padding-left: 1em;
    color: #ccc;
}
.breadcrumb ul li:last-child::after{
    content: none;
}



.breadcrumb ul li{
    list-style: none !important;
}

/* 書式 */

h2{
    font-size: 2.0rem; /*32px*/
    font-weight: 800;
    margin: 0.8em 0;
    line-height: 1.2;
}

h3{
    font-size: 1.5rem; /*24px*/
    font-weight: 800;
    margin-top: 0.6em;
    line-height: 1.5;
}

h4{
    font-size: 1rem;
    font-weight: 800;
    margin-top: 0.4em;
}

.mt20{
    margin-top: 20px;
}

#content p {
    margin-top: 1.25em;
}

.note{
    font-size: .875rem;
}

a.external-link::after{
    font-family: "Font Awesome 5 Free";
    font-size: .875rem;
    content:"\f2d2";
    margin-left: .5em;
    font-weight: 300;
}

.badge-important{
    padding: 0.25em;
    font-size: .875rem;
    font-weight: 400;
    background-color: #D01115;
    color: #fff;
    border-radius: .25em;
}

.txt-important{
    color: #D01115;
}

#submenu ul li .badge-important{
    margin-left: 0.5em;
}

.important-block .badge-important{
    margin-right: 0.5em;
}


.block{
    padding: 1.875em 2.5em;
    margin-top: 1.25em;
    border-radius: .25em;
}

.block h3{
    margin-top: 0;
}

.featured-block{
    border: 2px solid #ccc;
}

.law-block{
    background-color: #eee;
}

.law-block h4::before{
    font-family: "Font Awesome 5 Free";
    font-size: 1rem;
    content: "\f24e";
    margin-right: .5em;
    font-weight: 900;
}

.law-block h4.no-icon:before{
    content: none;
}

.important-block{
    background-color: #f8eace;
}

.white_block{
    background-color: #fff;
}

.marker{
    background: linear-gradient(transparent 60%,#fbf4e2 60%);
    font-weight: 600;
}


.text-arrow{
    margin-top: 0.8em;
    display: block;
    text-indent: -1.25em;
    padding-left: 1em;
}
.text-arrow::before{
    font-size: .875rem;
    padding-right: .2em;
    content:"→";
}

.image_right{
    float: right;
    margin: .875em 0 .875em 1em;
}

.image_center{
    margin: 1em auto;
    display: block;
}


.important-block .image_right{
    margin:0 0 0 1em;
}

#content ul{
    padding-left: 1em;
}

#content ul li{
    list-style: disc;
    margin-top: 0.8em;
}

#content .section_item{
    margin-top: 2.5em;
}

.policy_table,.policy_table tr,.policy_table td,.policy_table th{
    border:1px solid #ccc;
}

.policy_table td,.policy_table th{
    padding: .875em;
    text-align: center;
}

.policy_table th{
    background-color: #eee;
}


/*dropdownmenu*/
.mainnav{
    filter: drop-shadow(0 2px 1px rgba(238,238,238,1));
}

.nav_container{
    padding:16px 0;
}

.menu {
    position: relative;
    font-size: .875rem;
    width: 100%;
    display: flex;
}

.menu > li {
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
    height: 28px;
    line-height: 28px;
    background: #fff;
    text-align: center;
}
.menu > li:nth-child(2){
    border-left:none;
}
.menu > li:nth-child(3){
    border:none;
}
.menu > li:nth-child(4){
    border-right:none;
}

.menu > li a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 0 28px;
}

@media screen and (max-width:1070px){
    .menu > li a {
        line-height: 1;
    }
}

ul.menu__second-level {
    visibility: hidden;
    opacity: 0;
    z-index: 11;
    border:1px solid #eee;
    filter: drop-shadow(0 2px 1px rgba(238,238,238,1));
}

.menu > li:hover {
    background: #eee;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.menu__second-level li {
    padding: 4px 0;
}

.menu__second-level li a:hover {
    background: #eee;
}

.menu::before,
.menu::after {
    content: " ";
    display: table;
}

.menu::after {
    clear: both;
}

.menu {
    *zoom: 1;
}

/* .menu > li.menu__block{
    width:22%;
} */

.menu > li.menu__single {
    position: relative;
    /* width:33%; */
}

li.menu__single ul.menu__second-level {
    position: absolute;
    top: 0px;
    width: 100%;
    background: #fff;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

li.menu__single:hover ul.menu__second-level {
    top: 28px;
    visibility: visible;
    opacity: 1;
}

/* サイドメニュー */

#submenu {
    width: 320px;
    height: 100%;
    margin: 0 auto;
    padding: 30px 0;
    z-index: 0;
}

.sticked{
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 20px;
    z-index: 9;
}


#submenu ul li{
    font-size: .875rem;
    border-bottom: 1px dotted rgb(221, 221, 221);
    padding: 0;
    background-color: #fff;
}

#submenu ul li a{
    display: block;
    padding: 6px 2px;
    color: #333;
    text-decoration: none;
}

#submenu ul li a.current,#submenu ul li a:hover{
    background-color: #eee;
}


/* ページ下部のリンク */
#contentlinks{
    background-color: #e5f6f6;
    font-size: 16px;
}

#contentlinks .container{
    display: flex;
}

.contentlinks_left{
    padding-bottom: 2.5em;
}

.contentlinks_text,.contentlinks_list{
    width: 50em;
    max-width: 800px;
}

.contentlinks_text{
    padding:.8em 0;
    text-align: center;
}

.contentlinks_list{
    display: flex;
    flex-wrap: wrap;
}

.contentlinks_list li{
    background-color: #fff;
    border-radius: .5em;
    padding: 1.25em;
}

.contentlinks_list > li:nth-child(1){
    margin-bottom: 1.25em;
}

.contentlinks_list > li:nth-child(2){
    margin-right: 2.5em;
}

.contentlinks_list_as{
    width:100%;
    display: flex;
    flex-wrap: wrap;
}

.contentlinks_list_as p,.contentlinks_list_as ul{
    width: 50%;
}

.contentlinks_list_other{
    width:21.25em;
    text-align: center;
}


ul.contentlinks_list_as_child li{
    padding: 0;
    margin: 0;
    list-style-type: disc;
}



.contentlinks_img{
    align-self: flex-end;
    position: relative;
    padding: 0;
    margin:0;
    bottom: 0;
    right: -30px;
    vertical-align: bottom;
}



/* ボタン */

.btn_area{
    text-align: center;
}

#guide-arrow-area{
    text-align: center;
    width: 135px;
    margin: 0 auto -5px;
  }
  
  .guide-arrow{
    position:relative;
    width:135px;
    height:28px;
    line-height: 28px;
    background:#FFFFFF;
    text-align:center;
    border:1px solid #CCCCCC;
    color:#212121;
    border-radius:13px;
    -webkit-border-radius:13px;
    -moz-border-radius:13px;
    z-index: 9;
    font-size: 12px;
  }
  .guide-arrow::after,.guide-arrow::before{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    top:100%;
    left:50%;
  }
  .guide-arrow::after{
    border-color: rgba(255, 255, 255, 0);
    border-top-width:7px;
    border-bottom-width:10px;
    border-left-width:6px;
    border-right-width:6px;
    margin-left: -6px;
    border-top-color:#FFFFFF;
  }
  .guide-arrow::before{
    border-color: rgba(204, 204, 204, 0);
    border-top-width:6px;
    border-bottom-width:11px;
    border-left-width:7px;
    border-right-width:7px;
    margin-left: -7px;
    margin-top: 1px;
    border-top-color:#CCCCCC;
  }

a.btn_default{
    display: block;
    font-size: 15px;
    -webkit-box-shadow: 0 3px 0 0 #48a9ab;
    box-shadow: 0 3px 0 0 #48a9ab;
    background-color: #52c4c5;
    display: inline-block;
    border: 0;
    border-radius: 3px;
    color: #fff;
    text-align: center;
    padding: .825em;
  }
  





/* カード */

#top{
    text-align: center;
    font-size: 16px;
    margin-top: 3.75em;
    margin-bottom: 3.75em;
}

#top h2{
    font-size: 1.25rem;
}



.policy_card_area{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    margin: 2.5em 0 3.75em;
}

.policy_card{
    width: 330px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-right: 40px;
}

.policy_card:last-child {
    margin-right: 0;
}

.policy_card_img {
    border-radius: 7px 7px 0 0;
    max-width: 100%;
    height: auto;
    border-bottom: 1px solid #ccc;
  }

.policy_card_body{
    padding: 1.25em;
    font-size: .875rem;
    text-align: left;
}

.policy_card_body h3{
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 0;
}

.policy_card_body h4{
    font-size: .875rem;
    margin:1em 0 0 ;
}

.policy_card_body p{
    margin-top: .5em;
}

ul.policy_card_list li{
    margin-top: .5em;
    text-indent: -1.25rem;
    padding-left: 1.25em;
}

ul.policy_card_list li::before {
    font-family: "Font Awesome 5 Free";
    font-size: .875rem;
    content: "\f00c";
    margin-right: .5em;
    font-weight: 900;
}

#top_as ul.policy_card_list li::before{
    color:#00a2a3;
}

#top_ec ul.policy_card_list li::before{
    color:#A876D6;
}

.policy_card_link{
    margin-top: 1.25em;
    padding-top: 1.25em;
    border-top: 1px dotted rgb(221, 221, 221);
}


/*カテゴリーリンク*/
ul.category_link{
    display: flex;
    flex-wrap: wrap;
    padding-left:0;
}

ul.category_link li{
    display: block;
    border:1px solid #0085cc;
    border-radius: 8px;
    padding: .5em;
    margin-right: .875em;
    margin-bottom: .5em;
}

/*トップページ　*/

#top > p{
    width: 640px;
    margin:0 auto 2.5em;
}

.mainvisual{
    width: 100%;
    text-align: center;
    background-color: #E5F6F6;
    border-bottom: 1px solid #eee;
}
.mainvisual img{
    max-width: 1080px;
    height: auto;
}

/*更新情報*/
.update_info{
    border: 1px solid #ccc;
    text-align: left;
    margin-bottom: 2.5em;
}

.update_info > h3{
    font-size: 16px;
}
.update_info ul{
    margin-top: 16px;
}
.update_info li{
    margin-top: 4px;
    font-size: 14px;
}

.update_info li span.date{
    color: #808080;
    margin-right: 16px;
}

.update_info a:hover{
    text-decoration: none;
}
.update_info .txt:hover{
    text-decoration: underline;
}
.update_info li span.batch{
    display: inline-block;
    font-weight: 700;
    line-height: 1;
    padding: 0.25em 0.4em;
    margin-left: .5em;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
    font-size: 75%;
    border-radius: 4px;
    color: #fff;
}

.update_info li span.batch_as{
background: #00a2a4;
}

.update_info li span.batch_ec{
    background: #a876d6;
}

a span.batch_as:hover{
    text-decoration: none;
}
@media screen and (max-width:768px){
    .update_info li {
        margin-top: 16px;
        line-height: 1.5em;
    }
    .update_info li span.batch{
        margin-left: 0;
    }
    .update_info li span.txt {
        display: block;
    }
}



/* 共通フッター調整 */
#SimpleFooter_res .footer_row_01{
    display: none;
}

@media screen and (min-width:768px){
    .drawer {
        display: none;
      }

    .mainvisual_sp{
        display: none;
    }

    .pc_br{
        display: none;
    }

}


@media screen and (max-width:767px){

    .header{
        height: 50px;
        position: fixed;
    } 
    .header_container{
        display: flex;
        padding: 12px 8px 8px;
    }
    .sp_br{
        display: none;
    }

    .header span.pagename{
        top: -3px;
    }


    .mainvisual_sp{
        display: block;
        margin-top:50px;
        margin-bottom: 20px;
    }
    .mainvisual_sp{
        width: 100%;
        text-align: center;
        background-color: #E5F6F6;
        border-bottom: 1px solid #eee;
    }
    .mainvisual_sp img{
        max-width: 100%;
        height: auto;
    }
    
    .mainvisual{
        display: none;
    }

    #top{
        margin: 0 auto;
        width: 96%;
    }
    #top > p{
        width: 100%;
        font-size: .825rem;
    }

    #top h2{
        margin: 2em .25em 0;
    }

    .policy_card_area{
        flex-wrap: wrap;
        margin: 0;
    }

    .policy_card{
        width: 90%;
        margin-right: 0;
        margin-top: 1.25em;
    }


    .policy_card_img{
        width: 100%;
    }

    #submenu{
        display: none;
    }

    .container{
        width: 100%;
        margin:0;
    }

    #main{
        margin: 0;
    }

    #content{
        margin-top: 60px;
        margin-left: 0;
        padding: 0 1em;
        width: 100%;
    }

    .breadcrumb ul{
        display: block;
        padding-left: 0!important;
    }
    .breadcrumb ul li{
        margin: 0;
    }
    .block{
        padding: 1em;
    }

    #contentlinks{
        margin-top: 2.5em;
    }
    .contentlinks_text,.contentlinks_list{
        width: 100%;
    }
    
    .contentlinks_list li{
        padding:.875em;
    }

    .contentlinks_list_as_child{
        margin-left: 20px;
    }

    ul.contentlinks_list_as_child li{
        margin-left: 20px;
        list-style: none;
    }


    .contentlinks_list_as p, .contentlinks_list_as ul,li.contentlinks_list_other{
        width: 100%;
    }
    

    .contentlinks_list > li:nth-child(1){
        margin-bottom: 1.25em;
    }

    .contentlinks_list > li:nth-child(2){
        margin-right: 0;
        margin-bottom: 1.25em;
    }

    .contentlinks_img{
        display: none;
    }

    .contentlinks_left{
        padding: 1em;
    }


    .image_right{
        float: none;
        display: block;
        margin:0 auto;
        width: 80%;
    }

    .important-block .image_right{
        margin:0 0 0 1em;
        float: right;
        width: 120px;
    }

    .image_center{
        width: 90%;
    }

    /*ドロワー*/
    .mainnav{
        display: none;
    }

    .drawer {
        position: relative;
      }
      .drawer_checkbox {
        display: none !important;
      }
      .drawer_icon {
        cursor: pointer;
        display: block;
        width: 56px;
        height: 50px;
        position: fixed;
        right: 0;
        top:0;
      }
      .drawer_icon-parts, .drawer_icon-parts::before, .drawer_icon-parts::after {
        background-color: #666;
        display: block;
        width: 26px;
        height: 3px;
        border-radius: 3px;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        margin: auto;
      } 

      .drawer_icon-parts::before, .drawer_icon-parts::after {
        content: " ";
      }
      .drawer_icon-parts::before {
        bottom: -16px;
      }
      .drawer_icon-parts::after {
        top: -16px;
      }
      .drawer_overlay {
        background: #666;
        opacity: 0;
        pointer-events: none;
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
      }
      .drawer_menu {
        background: #ffffff;
        color: #666;
        border-left: 1px solid #ccc;
        max-width: 100%;
        width: 300px;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        position: fixed;
        top: 0;
        right: -300px;
        filter: drop-shadow(4px 4px 16px rgba(0,0,0,0.4));
      }

      .drawer_menu ul{
          margin-top: 60px;
      }
      li.drawer_item:first-child{
        border-top: 1px dotted rgb(221, 221, 221);
      }
      li.drawer_item{
          font-size: 1rem;
          padding: 1em;
          border-bottom: 1px dotted rgb(221, 221, 221);
      }
      li.drawer_item a{
          display: block;
      }
      li.drawer_item a:hover{
        background-color: #eee;
    }
    .drawer_item ul{
        margin-top: 20px;
    }

    .drawer_item ul li{
        padding-left: 1.25em;
        font-size: .875em;
        margin-top: 20px;
    }

      .drawer_icon {
        z-index: 4;
      }
      .drawer_menu {
        z-index: 3;
      }
      .drawer_overlay {
        z-index: 2;
      }
      .drawer_checkbox:checked ~ .drawer_icon .drawer_icon-parts {
        background: transparent;
      }


      .drawer_checkbox:checked ~ .drawer_icon .drawer_icon-parts::before {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        bottom: 0;
      }
      .drawer_checkbox:checked ~ .drawer_icon .drawer_icon-parts::after {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 0;
      } 
      .drawer_checkbox:checked ~ .drawer_overlay {
        opacity: 0.3;
        pointer-events: auto;
      }
      .drawer_checkbox:checked ~ .drawer_menu {
        right: 0;
      }
      .drawer_icon-parts, .drawer_icon-parts::after, .drawer_icon-parts::before, .drawer_overlay, .drawer_menu {
        -webkit-transition: all 0.7s;
        transition: all 0.7s;
      }


    @media screen and (max-width:359px){


    }

}
