:root {
    --main-color: #ff0000;
    --2nd-color: #bb0000;
    --background-color-1: #ffcccc;
    --background-color-2: #eeeeee;
}
:target {
    scroll-margin-top: 100px;
}

main {
}

p {
    margin: 0;
}

hr {
    margin: 0.5rem 0;
    border: 0;
    border-top: 1px solid lightgrey;
    opacity: 1;
}
.pc_only {
    display: block;
}
.mobile_only {
    display: none;
}
@media screen and (max-width:768px) {
    .pc_only {
        display: none;
    }
    .mobile_only {
        display: block;
    }
}
.inline {
    display: inline-block;
}

.accordion {
    --bs-body-bg:transparent;
    --bs-accordion-body-padding-x:0.5rem;
    --bs-accordion-body-padding-y:0.5rem;
    --bs-accordion-btn-padding-x:0.5rem;
    --bs-accordion-btn-padding-y:0.5rem;
    --bs-accordion-border-color:#cccccc;
    --bs-accordion-active-bg:transparent;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
}
.accordion-item {
    border:0;
    font-size: 1rem;
}
.accordion-button {
    border:0;
    font-size: 1rem;
}
.accordion-button:not(.collapsed) {
    border:0;
}
.accordion-body > a {
    display: inline-block;
    width: 100%;
}
.submenu_indent {
    margin-left: 1rem;
}


a {
    text-decoration: none!important;
    color: inherit;
}
a:hover {
    color:var(--2nd-color);
}

em {
    color: var(--2nd-color);
    font-style: normal;
}

tr[data-href] {
    cursor:pointer;
}

strong {
    color: var(--2nd-color);
}
.caption {
    margin-left: 1em;
    font-size: 0.9rem;
    color: var(--main-color);
}

.input-w-short {
    display: inline-block;
    width:80px;
}
.input-w-normal {
    display: inline-block;
    width:120px;
}
.input-w-long {
    display: inline-block;
    width:160px;
}
.input-w-long2 {
    display: inline-block;
    width:200px;
}
.input-w-long3 {
    display: inline-block;
    width:240px;
}

.content_wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 1em;
}

.header_body {
    background-color: rgba(255, 255, 255, 0.90);
    padding: 0 20px 0 10px;
    height: 70px;
    border:1px solid rgba(0,0,0,0.1);
}
img.header_logo {
    height:45px;
}

.navbar-toggler {
    border: none;
}
.navbar-toggler:hover {
    box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width);
}
.navbar-toggler:focus {
    box-shadow:none;
}
img.navbar_logo {
    width:100px;
}

.navbar .megamenu{
    background-color: transparent;
    border: none;
    padding-top: 8px;
}
.navbar .megamenu .megamenu_inner{
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.90);
    border:1px solid lightgrey;
    border-radius: 5px;
}

.nav-item:hover .megamenu {
    visibility: visible;
    display: block;
}

.megamenu .mm_title {
    font-size:1.1rem;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    border-bottom:1px solid lightgray;
}
.megamenu .mm_lv2 {
    display: inline-block;
    width: 25%;
    padding-right: 1rem;
}
.megamenu .mm_title_lv2 {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.megamenu .mm_title_lv3 {
    display: block;
    margin-right: 1rem;
}
.megamenu .mm_lv2_icon {
    color: var(--main-color);
}

@media screen and (max-width:992px) {
    .navbar .megamenu .megamenu_inner{
        padding: 1rem;
    }
    .megamenu .mm_lv2 {
        width: 100%;
        padding-right: 0;
    }
}

@media all and (min-width: 992px) {
    .navbar .has-megamenu{
        position:static!important;
    }
    .navbar .megamenu{
        left:0; right:0; width:100%;;
    }
}
@media(max-width: 991px){
    .navbar .megamenu{
        padding: 1rem 2rem;
        border:none;
    }
    .navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
        overflow-y: auto;
        max-height: 90vh;
        margin-top:10px;
    }
    .megamenu .mm_title {
        font-size:1rem;
    }
}

.megamenu .mm_title::before{
    content: '';
    position: absolute;
    bottom: -2px;
    width: 150px;
    height: 2px;
    background: var(--main-color);
}

.public header .navbar .offcanvas-header {
    padding: 2em;
}
.public header .nav-item > a {
    height:50px;
    line-height: 50px;
    padding: 0;
    margin: 0 2em;
    text-align: left;
    border-bottom: 1px solid lightgray;
}
.public header .buttons {
    margin:1em auto;
    text-align: center;
}

@media screen and (min-width:992px) {
    .public header .nav-item > a {
        margin: 0 0.6em;
        height:70px;
        line-height: 70px;
        text-align: center;
        border-bottom: none;
    }
    .public header .nav-item > a:hover {
        color: var(--2nd-color);
        border-bottom: 5px solid var(--2nd-color);
    }
    .public header .nav-item > a.active {
        border-bottom: 5px solid var(--main-color);
    }
    .public header .buttons {
        margin-left: 2em;
    }
}

footer {
    position: relative;
    width: 100%;
    font-size: 0.9rem;
    margin-top: 2rem;
}
.footer_body {
    background-color: #eeeeee;
    padding: 2rem 1rem;
}

.footer_body_contents {
    max-width: 1024px;
}

@media screen and (min-width:992px) {
    .footer_body_contents {
        border-left: 1px solid lightgray;
        border-right: 1px solid lightgray;
    }
    .footer_body .sitemap_left  {
        border-left:1px solid lightgray;
    }

    .footer_body .sitemap_right  {
        border-left:1px solid lightgray;
    }
}

.footer_body .footer_left {
    padding: 0 2em;
}

.footer_body .sitemap_left  {
    padding: 0 2em;
}

.footer_body .sitemap_right  {
    padding: 0 2em;
}

.footer_body .sitemap li {
    padding: 0.5em 0;
    border-bottom:1px solid lightgray;
}

img.footer_logo {
    height:45px;
}

.footer_body ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer_body a {
    color: var(--bs-body-color);
    text-decoration: none;
}

.footer_body .footer_links {
    border-top: 1px solid lightgray ;
    margin: 1em 0;
    padding-top: 0.5em;
}

.footer_body .footer_links li{
    margin: 0.5em 0;
}

.footer_body .arrow {
    color: var(--main-color);
    margin-right: 0.5em;
}

.footer_title {
    padding: 2rem 1em 5rem 1em;
    background-color: white;
    text-align: center;
}

.footer_title .org_name {
    font-weight:bold;
}

.footer_title .copyright {
    color: lightgray;
    font-size: 0.7rem;
    margin: 1.5rem 0;
}

.footer_banners {
    margin:5em auto 3em auto;
}
.footer_banners a {
}
.footer_banners a:hover {
    filter: drop-shadow(0px 2px 4px #999999);
}
.footer_banner {
    height:150px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size:cover;
}
.fb_text_block {
    width:280px;
    height:100px;
    margin: 1em auto;
    text-align: center;
    font-family: serif;
    font-weight: bold;
    background-color: rgba(255,255,255,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
}
.fb_text_block h3 {
    width: auto;
    padding: 0.5em 0.5em;
    font-size:1.2rem;
    margin: 0 auto;
}
.fb_text_block .subtitle {
    font-size:1rem;
    color:var(--main-color);
    border-top:3px solid var(--main-color);
    border-image: linear-gradient(to right, white 0%, var(--main-color) 50%, white 100%) 1;
}
@media screen and (max-width:992px) {
}


.area_columns {
    display: flex;
    margin:0 auto;
    padding: 1rem 1rem;
    max-width: 1320px;
}

.area_columns .area_left {
    padding: 0 3rem 0 0;
    width: 30%;
    max-width: 450px;
}
.area_columns .area_main {
    padding: 0 0.5rem;
    width: 100%;
}
.area_columns .area_right {
    padding: 0 0.5rem;
    width: 30%;
    max-width: 450px;
}

@media screen and (max-width:992px) {
    .area_columns {
        padding: 1rem 1rem;
    }
    .area_columns .area_left {
        display: none;
    }
}

.area_columns .area_main > .page_item > a >  *:first-child {
    margin-top: 0;
}

.area_columns .area_main > .page_item:first-child > * {
    margin-top: 0;
}

.bread_crumbs {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem 1rem 1rem;
    color: gray;
    display: flex;
    z-index: 9999;
}

.bread_crumbs a{
    color: var(--main-color);
}
.bread_crumbs div:nth-child(n+2):before {
    content: '>　';
}
.bread_crumbs div:after {
    content: '　';
}

.inner_links {
    background-color: var(--background-color-2);
    padding: 0.5rem;
}
.inner_links_inner {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
}
.inner_links_inner > a {
    background-color: white;
    margin: 0 1em;
    font-size: 1rem;
    font-weight: bold;
}
.inner_links_inner > a > div {
    display: inline-block;
}
@media screen and (max-width:768px) {
    .inner_links_inner {
        display: block;
    }
}

.lm_title {
    text-align: center;
    padding: 1rem 1rem 0 1rem;
    font-size: 1.3rem;
    font-weight: bold;
    border-top: 5px solid var(--main-color);
}
.lm_lv2_title {
    padding:0 0 0.1em 0;
    border-top: 1px solid lightgrey;
    margin-top: 1rem;
}
.lm_lv2_body {
    margin:0 0 0.5rem 1rem;
    padding: 0 0 0 0.5rem;
    border-left:1px solid lightgrey ;
}

.banners_2lines {
    max-width: 997px;
}
.banner {
    border: 1px solid lightgrey;
    padding: 0.5rem;
    text-align: center;
}
.banner:hover {
    box-shadow: 1px 1px 2px lightgrey;
}
.banner > img {
    height: 60px;
}
@media screen and (max-width:576px) {
    .banner {
        margin-bottom: 0.5rem;
    }
    .banner > img {
        height: 50px;
    }
}

.big_banners {
    max-width: 997px;
    margin: 3rem auto;
}

.big_banners a:hover {
    color: black;
}

.big_banner {
    border: 1px solid lightgrey;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.big_banner:hover {
    box-shadow: 1px 1px 2px lightgrey;
}
.big_banner > div {
    padding: 0.5rem;
}
.big_banner .bb_image{
    max-height: 80px;
}
.big_banner .bb_title{
    font-weight: bold;
    font-size: 1.4rem;
}
@media screen and (max-width:576px) {
    .big_banner {
        display: block;
    }
    .big_banner > div {
        display: block;
        width:100%;
    }
    .big_banner .bb_image{
        width: 100%;
        max-height: none;
    }
    .big_banner .bb_title{
        font-weight: bold;
        font-size: 1.2rem;
    }
}


#page_top{
    width: 40px;
    height: 40px;
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    opacity: 0.5;
}
#page_top a{
    position: relative;
    display: block;
    background: var(--2nd-color);
    color: white;
    font-size: 2rem;
    text-align: center;
    line-height: 40px;
    width: 40px;
    height: 40px;
}

.top_carousel {
    position: relative;
    height: 600px;
    width: 100%;
}

@media screen and (max-width:768px) {
    .top_carousel {
        height: 550px;
    }
}
@media screen and (max-width:576px) {
    .top_carousel {
        height: 500px;
    }
}

.top_carousel_item {
    position: relative;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    -webkit-animation: zoom 10s 1;
    animation: zoom 10s 1;
    animation-fill-mode: forwards;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.2);
    }
}

.to_detail {
    text-align: right;
    font-size: 1.2rem;
    color: var(--main-color);
}
.prev_and_next {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.to_prev {
    text-align: left;
    font-size: 1.2rem;
}
.to_next {
    text-align: right;
    font-size: 1.2rem;
}
.prev_and_next  i {
    color: var(--main-color);
}
@media screen and (max-width:768px) {
    .prev_and_next > * {
        width: 100%;
    }
}


.arrow_small {
    font-size: 1.2rem;
    color: var(--main-color);
}
.arrow_big {
    font-size: 1.5rem;
    color: var(--main-color);
}


.mb_image {
    height: 450px;
    width: 100%;
}

.mb_image_item {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.message_block {
    margin-top:5rem;
}
@media screen and (max-width:576px) {
    .message_block {
        margin-top:2rem;
    }
}

.title_with_image {
    margin-top:-50px;
}

.mb_title {
    font-size:1.4rem;
    font-family: serif;
    font-weight: bold;
    margin-bottom: 1em;
}

.mb_body {
    font-size:1.2rem;
    line-height:2rem;
}

.page_body {
    font-family: sans-serif;
}


.message_block .mb_date {
    color: var(--2nd-color);
}

.message_block .mb_link {
    margin-top: 1em;
    padding: 1em 0;
    border-top: 1px solid gray;
    text-align: right;
    font-size:1.2rem;
    color: var(--2nd-color);
}

@media screen and (max-width:768px) {
    .mb_image {
        height: 300px;
    }
    .mb_title {
        font-size:1.2rem;
    }
    .mb_body {
        font-size:1rem;
        line-height:1.6rem;
    }
}


.title_lv1 {
    margin: 1em 1em;
    text-align: center;
    font-family: serif;
    font-width: bold;
}
.title_lv1 h3 {
    color: black!important;
    display: inline-block;
    width: auto;
    background-color: white;
    padding: 0.5em 3em;
    font-size:2.5rem;
    margin:0;
}
.title_lv1 .subtitle {
    font-size:1.5rem;
    padding-top:0.5em;
    color:var(--main-color);
    border-top:5px solid var(--main-color);
    border-image: linear-gradient(to right, white 0%, var(--main-color) 50%, white 100%) 1;
}
@media screen and (max-width:992px) {
    .title_lv1 {
        margin: 1em 0;
    }
    .title_lv1 h3  {
        font-size:1.6rem;
        padding: 0.5em 1rem;
    }
    .title_lv1 .subtitle {
        font-size:1.2rem;
    }
}
@media screen and (max-width:768px) {
    .title_lv1 .subtitle br{
        display: none;
        font-size:1rem;
    }
}


.main_container {
    padding:1rem 1rem;
    max-width: 1320px;
    margin:0 auto 0 auto;
}
.main_container p{
    margin-bottom:0.5rem;
}

.title1, .rich_text_block h1{
    margin:3rem 0 0.5rem 0;
    font-size:1.6em;
    font-family: serif;
    font-weight: bold;
    position: relative;
    padding-bottom: 5px;
    border-bottom:1px solid lightgray;
}

.title1::before, .rich_text_block h1::before{
    content: '';
    position: absolute;
    bottom: -2px;
    width: 150px;
    height: 2px;
    background: var(--main-color);
}

.title2, .rich_text_block h2 {
    margin:2rem 0 1rem 0;
    font-size:1.2em;
    font-family: serif;
    font-weight: bold;
    border-left:6px solid var(--main-color);
    border-bottom:1px solid lightgray;
    padding-left: 0.7rem;
}
.title3, .rich_text_block h3 {
    color: var(--2nd-color);
    margin:1rem 0 1rem 0;
    font-family: Serif;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5em;
}

.rich_text_block h4 {
    font-size: 1.2rem;
    font-weight: bold;
}

.rich_text_block h5 {
    font-size: 1rem;
    font-weight: bold;
}

@media screen and (max-width:768px) {
    .title1, .rich_text_block h1 {
        font-size:1.2rem;
    }
    .title1::before, .rich_text_block h1::before {
        width: 100px;
    }
    .title2, .rich_text_block h2 {
        font-size:1rem;
    }
    .title3, .rich_text_block h3 {
        font-size:1rem;
    }
    .rich_text_block h4 {
        font-size:1rem;
    }
}

.rich_text_block ul{
    list-style:none;
    padding-left: 0;
}
.rich_text_block ul > li {
    margin-left:1.2em;
    text-indent:-1.2em;
}
.rich_text_block ul li:before {
    content: '● ';
    color: var(--main-color);
}

.block{
    margin:1.5em 0 1em 0;
}

.rich_text_block {
    margin:1em 0 1em 0;
}

.title_center {
    margin: 2rem 0 1rem 0;
    text-align: center;
    font-size: 1.4rem;
    color:var(--main-color);
    font-weight: bold;
    font-family: sans-serif;
}

.page_item {
    display: block;
}

.explanation {
    background-color:var(--background-color-1);
    padding: 1em;
    border-radius: 10px;
}
.explanation ol{
    counter-reset: item;
    list-style-type: none;
    padding: 0;
    margin-bottom: 0;
}
.explanation li{
    text-indent: -2em;
    padding: 0.2em 0.2em 0.2em 2em;
}
.explanation li:before {
    counter-increment: item;
    content: '※'counter(item);
    margin-right:0.5em;
}

.button {
    font-size: 1.3rem;
    border: none;
    cursor: pointer;
    outline: none;
    appearance: none;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: #fff;
    padding: 5px 2rem;
    line-height: 40px;
    background:var(--main-color);
    border-radius: 40px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    -webkit-appearance: none;
    box-shadow: 0px 2px 10px rgba(100, 100, 100, 0.2);
    margin: 0.5rem 0.5rem;
}
@media screen and (max-width:768px) {
    .button {
        width: 90%;
    }
}
.button_small {
    font-size: 1rem;
    padding: 2px 1rem;
    line-height: 35px;
    height: 40px;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
}

.button_gray {
    background:darkgray;
}

.button_group {
    width: 100%;
    text-align: center;
    margin:2em auto;
}

.body_hatching {
    margin-top: 2rem;
    padding: 2rem;
    background-color: #ffeef0;
    border-radius: 16px;
}
@media screen and (max-width:768px) {
    .body_hatching {
        padding: 1rem;
    }
}
.mb2 {
    text-align: left;
    padding: 1.5rem;
    background-color: rgba(230,230,230,0.7);
}
@media screen and (max-width:768px) {
    .mb2 {
        padding: 1.2rem;
    }
}
.mb2 a {
    color: var(--2nd-color);
}
.mb2 .mb_title {
    text-align: center;
}

.required::after {
    content: "*";
    font-size: 1.2rem;
    color: var(--2nd-color);
    margin-left: 0.2em;
}

@media screen and (max-width:768px) {
    .btn-group {
        display:flex;
        flex-flow: column;
    }
    .btn-group > .btn {
        border-radius: 0;
        margin:5px 0;
    }
}

table.form {
    margin: 1em 0;
    font-size: 1.2rem;
}
table.form td {
    padding: 1em 0.5em;
}
table.form th {
    padding: 1em 0.5em;
    width: 14em;
}
@media screen and (max-width:768px) {
    table.form th {
        display: block;
        border: none;
        padding: 0.2rem 0;
    }
    table.form td {
        display: block;
        border: none;
        padding: 0.2rem 0;
        margin-bottom: 0.2em;
    }
}

table.data_table {
    margin-bottom: 1em;
}
.data_table th, .data_table td {
    padding: 1em 1em;
    font-size: 1.2rem;
    border: 1px solid lightgray;
}
.data_table th {
    width: 12em;
    background-color: #f0f0f0;
    text-align: center;
}
@media screen and (max-width:768px) {
    .data_table th, .data_table td {
        padding: 1em 0.5em;
        font-size: 1rem;
    }
    .data_table th {
        width: 7em;
    }
}

.rich_contents {
    margin:1rem 0;
}

.page_title {
    width: 100%;
    height: 500px;
    margin-bottom: 2rem;
}
.page_title_image {
    position: relative;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}
.page_title_text {
    margin-top: 200px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 2.4rem;
    font-family: serif;
    text-shadow: 1px 1px 3px black;
}
.page_title_text1 {
    max-width: 400px;
    margin: 220px auto 0 auto;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 1.6rem;
    font-family: sans-serif;
    text-shadow: 1px 1px 2px black;
    border-bottom: 3px solid white;
}
.page_title_text2 {
    margin-top: 10px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 2.8rem;
    font-family: serif;
    text-shadow: 1px 1px 2px black;
}
@media screen and (max-width:768px) {
    .page_title {
        width: 100%;
        height: 300px;
        margin-bottom: 1rem;
    }
    .page_title_text {
        margin-top: 160px;
        font-size: 2rem;
    }
    .page_title_text1 {
        max-width: 250px;
        margin-top: 160px;
        font-size: 1.2rem;
    }
    .page_title_text2 {
        font-size: 2rem;
    }
}

.guide_banner {
    border: 1px solid lightgrey;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 0;
}
.guide_banner:hover {
    background-color: white;
    box-shadow: 1px 1px 4px lightgrey;
}
.guide_banner .gb_title{
    border-bottom: 2px solid var(--main-color);
    padding: 1rem;
    font-family: serif;
    font-size: 1.4rem;
    font-weight: bold;
}
.guide_banner .gb_title_inner{
    border-left:5px solid var(--main-color);
    padding-left: 0.5rem;
}
.guide_banner .gb_title i {
    color: var(--main-color);
}
.guide_banner .gb_body{
    padding: 1rem;
    height: 7em;
}
@media screen and (max-width:768px) {
    .guide_banner {
        width: 100%;
    }
    .guide_banner .gb_title{
        font-size: 1.2rem;
    }
}

.link_button {
    margin-top:1.5rem!important;
    font-size: 1.2rem;
    border: 1px solid lightgrey;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 1rem;
}
.link_button i{
    color: var(--main-color);
}