/*****************************************************************
全てに適用
*****************************************************************/
* {
    box-sizing: border-box;
}
body {
    background-color: #dcebf7;
    overflow-x: hidden;
    min-height: 100vh;
    overflow-wrap: anywhere;
    line-height: 1.75;
    word-break: normal;
    overflow-wrap: break-word;
}
ul.type1,
ol.type1 {
    padding: 0;
    margin: .8em 0;
}
ul.type1 li,
ol.type1 li {
    margin: .6em 0 0 2em;
}
ol.quotation {
    list-style: none;
    margin-left: 2em;
    counter-reset: li;
}
ol.quotation > li {
    position: relative;
}
ol.quotation > li::before {
    content: counter(li) "）";
    counter-increment: li 1;
    position: absolute;
    top: 0px;
    left: -1.3em;
    box-sizing: border-box;
    text-align: right !important;
    float: right !important;
}
p {
    font-size: inherit;
    line-height: 1.75em
}
.btn-wrap {
    margin-top: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
    gap: 3rem;
}
.btn-wrap.m-top-0 {
    margin-top: 0;
}
.btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    display: block;
}
.indent {
    padding-left: 1em;
    text-indent: -1em;
}
.list-indent {
    padding-left: 1.5em;
}
.indent1 {
    padding-left: 1em;
}
.notes {
    font-weight: bold;
    border: 2px solid #ca440c;
    padding: 20px;
    margin-bottom: 20px;
}
.underline {
    text-decoration: underline;
}
.btn.pointer-none {
    pointer-events: none;
    cursor: default;
    opacity: 0.5;
    color: #999 !important;
    background: #ccc !important;
    border: #ccc !important;
}
.pointer-none {
    pointer-events: none;
    color: rgba(51, 51, 51, 0.4) !important;
}
.red {
    color: red;
}
#nav_icon {
    width: 3em;
    height: 2.75em;
    background-color: #fff;
    top: 0.5rem;
}
#nav_icon .menu-ic,
#nav_icon .menu-ic:before,
#nav_icon .menu-ic:after {
    width: 2em;
    background-color: #004097;
}
#nav_icon .menu-ic {
    top: 1.2em;
}
#nav_icon .menu-ic:before {
    top: -0.6em;
}
#nav_icon .menu-ic:after {
    bottom: -0.6em;
}
body.drawer-opened header {
    height: 60px;
}
body.drawer-opened nav.type1 .nav-contents {
    top: 60px !important;
    height: auto;
    max-height: calc(100vh - 60px);
    background-color: #fff;
    overflow-y: scroll;
}
body.drawer-opened nav.type1 .nav-contents > ul {
    padding: 20px 10px 100px 10px;
    font-size: 80%;
    overflow-y: scroll;
}
body.drawer-opened nav.type1 .nav-contents > ul li {
    width: 100%;
}
@media (width <= 991px ) {
    h3 {
        font-size: 1.1rem;    
    }
    .btn-wrap {
        gap: 2rem;
    }
    nav.type1 ul li > a:hover::after, nav.type1 ul li > a.current::after {
        opacity: 0 !important;
    }
}

/*****************************************************************
header
*****************************************************************/
header h1 a {
    display: block;
    width: max-content;
    margin-inline: auto;
}
header h1 a img {
    max-width: 900px;
    margin-inline: auto;
    /* padding: 30px 0; */
    height: 100px;
}
@media (width <= 991px ) {
    header {
        height: 60px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    header h1 {
        width: 85% !important;
        margin-left: 0!important;
    }
    header h1 a {
        width: auto;
    }
    header h1 a img  {
        max-width: 350px !important;
        margin-left: 0!important;
        padding: 0;
    }
}

/*****************************************************************
.container
*****************************************************************/
.container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-inline: auto;
    width: 100%;
    max-width: 960px;
}

/*****************************************************************
.menu
*****************************************************************/
.menu {
    width: 210px;
    margin-right: 20px;
}
@media (width <= 991px ) {
    .menu {
        width: 100%;
        order: 2;
        margin-inline: 10px;
    }
}

/*****************************************************************
nav
*****************************************************************/
nav ul {
    box-sizing: border-box;
    margin: 0;
    width: 100%;
    display: block;
}
nav ul li {
    border-bottom: 1px solid #004097;
}
nav ul li:first-of-type {
    border-top: 1px solid #004097;
}
nav.type1 ul li > a{
    font-weight: bold;
    line-height: 1.3rem;
    color: #004097;
    padding: 0 15px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-feature-settings: "palt";
    position: relative;
    transition: opacity 0.3s ease;
}
nav.type1 ul li > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #fff;
    opacity: 0;
}
nav.type1 ul li > a:hover::after,
nav.type1 ul li > a.current::after {
  opacity: 1;
}
nav.type1 ul li > a:hover,
nav ul li a.current {
    background-color: #004097;
    color: #fff;
}

/*****************************************************************
address
*****************************************************************/
address {
    font-size: 0.8rem;
    background-color: #fff;
    border: 1px solid #004097;
    /* font-feature-settings: "palt"; */
    margin-inline: 0;
    margin-top: 20px;
}
address p {
    padding: 5px 10px;
}
address p.role {
    font-size: 0.9rem;
    font-weight: bold;
    background-color: #004097;
    color: #fff;
}
address p span {
    font-size: 0.7rem;
    font-feature-settings: "palt";
}
address dl {
    font-size: 0.75rem;
    font-feature-settings: "palt";
}
address dl dt {
    font-size: 0.8rem;
    font-weight: 500;
}


/*****************************************************************
main
*****************************************************************/
main {
    width: 730px;
    min-height: calc(100vh - 150px);
}

/* ニュース */
main .news {
    margin-top: 30px;
    background-color: #fff;
    border-radius: 20px;
}
main .news h2 {
    font-size: 1rem;
    font-weight: bold;
    color: #004097;
    border-bottom: 1px solid #004097;
    margin-inline: 1.5rem;
    padding: 1rem 0 0.5rem;
}
main .news .log-outer {
    font-size: 0.85rem;
    max-height: 400px;
    overflow-y: scroll;
    padding: 1rem 1.5rem;
}
main .news dl dt {
    width: 120px;
}
main .news dl dd {
    width: calc(100% - 120px);
    margin: 0 0 1rem 0;     
}
@media (width <= 991px ) {
    main {
        width: 100%;
        min-height: calc(100vh - 330px);
        order: 1;
    }
    main .news {
        margin-inline: 10px;
    }
}

/*****************************************************************
footer
*****************************************************************/
footer {
    width: 960px;
}
footer .copybg {
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
footer .copybg p {
    font-size: 0.8rem;
}
@media (width <= 991px ) {
    footer {
        width: 100%;
    }
    footer .copybg p {
        font-size: 0.7rem;
    }
}

/*****************************************************************
ホーム #home
*****************************************************************/


/*****************************************************************
サブページ .subpage
*****************************************************************/
.subpage main .container {
    padding: 20px;
}
.subpage main .container h2 {
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
}
.subpage main .container h3 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .03em;
    border-bottom: dotted 1px rgb(51, 51, 51);
    border-left: solid 5px rgb(202, 68, 12);
    padding: .2em .5em .3em;
}
.subpage main .container h4 {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .03em;
    color: #ca440c;
    border-bottom: solid 1px #e4a185;
    padding-bottom: 0.3em;
    margin-top: 1em;
    margin-bottom: 0.5em;
}
.subpage main .container section,
.subpage main .container > div {
    padding: 1rem;
}
@media (width <= 991px) {
    .subpage main .container {
        padding: 10px;
    }
    .subpage main .container h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    .subpage main .container section,
    .subpage main .container > div {
        padding: 0.5rem;
    }
}
