@charset "UTF-8";
@import url(reset.css);

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:where([hidden]:not([hidden="until-found"])) {
    display: none !important;
}
:where(html) {
    -webkit-text-size-adjust: none;
    color-scheme: dark light;
    tab-size: 2;
}
@media (prefers-reduced-motion: no-preference) {
    :where(html:focus-within) {
        scroll-behavior: smooth;
    }
}
:where(body) {
    line-height: 1.5;
    font-family: system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}
:where(button) {
    all: unset;
}
:where(input, button, textarea, select) {
    font: inherit;
    color: inherit;
}
:where(textarea) {
    resize: vertical;
    resize: block;
}
:where(button, label, select, summary, [role="button"], [role="option"]) {
    cursor: pointer;
}
:where(:disabled) {
    cursor: not-allowed;
}
:where(label:has(> input:disabled), label:has(+ input:disabled)) {
    cursor: not-allowed;
}
:where(a) {
    color: inherit;
    text-underline-offset: .2ex;
}
:where(ul, ol) {
    list-style: none;
}
:where(img, svg, video, canvas, audio, iframe, embed, object) {
    display: block;
}
:where(img, picture, svg, video) {
    max-inline-size: 100%;
    block-size: auto;
}
:where(p, h1, h2, h3, h4, h5, h6) {
    overflow-wrap: break-word;
}
:where(h1, h2, h3) {
    line-height: calc(1em + .5rem);
    text-wrap: balance;
}
:where(hr) {
    border: none;
    border-block-start: 1px solid;
    color: inherit;
    block-size: 0;
    overflow: visible;
}
:where(:focus-visible, :target) {
    scroll-margin-block: 8vh;
}
:where(.visually-hidden:not(:focus-within, :active)) {
    clip-path: inset(50%) !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body {
    background: #f5f5f5;
    background-repeat: repeat-x;
    background-position: bottom 50px left 0;
    background-size: 100%;
    display: flex;
    flex-direction: column;
    min-height:100vh;
}

header {
    width: 100%;
    height: 56px;
    padding: 8px 16px;
    background-color: #003a78;
    border-bottom: 10px double #f5f5f5;
    position: absolute;
    top: 0;
}

header::after {
    content: "";
    display: block;
    position: relative;
    background: url(../images/header_bg.svg);
    background-repeat: no-repeat;
    top: -52px;
    left: -18px;
    width: 220px;
    height: 60px;
    z-index: 20;
}

header img {
    background: #fff;
    z-index: 30;
    position: relative;
}

.global_nav{
    display:flex;
    justify-content: space-between;
    align-items:center;
    position:relative;
}


div.menu_area{
    width:160px;
    margin:0;
    padding:6px 0;
    background-color:#fff;
    border:1px solid rgb(0,0,0,0.176);
    border-radius: 8px;
    position:absolute;
    right: 0;
    top:50px;
    z-index:100;
    display:none;
}
div.menu_area a{
    width:100%;
    line-height: 32px;
    text-indent:6px;
    text-decoration: none;
    display:block;
}
div.menu_area a:hover{
    background-color: #e5e5e5;
}

main {
    width: 100%;
    max-width: 1140px;
    margin: 68px auto 0;
    min-height: calc(100lvh - 56px - 120px);
    padding: 0 0 100px;
    line-height: 1.5;
}

main #contents_area {
    width: 100%;
}

h1 {
    color: rgb(108, 117, 125);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: .375rem;
}

h2 {
    color: rgb(108, 117, 125);
    text-align: center;
    margin-bottom: 1rem;
}

footer {
    background: #d3d3d3;
    display: flex;
    margin-top: auto;
    bottom: 0;
    width: 100%;
    padding: 16px;
    column-gap: 32px;
    color: rgb(108,117,125);
}

footer a:hover {
    color: #f4faff;
}

#login_area h1 {
    text-align: center;
}

#login_area h2 {
    text-align: center;
    color: #6c757d;
}

.login-form {
    width: 100%;
    margin: 120px auto 0;
}

.register-form {
    margin-top: 64px;
}

.register-form p {
    text-align: center;
}

.form-area {
    background: #fff;
    border: rgb(108, 117, 125) solid 1px;
    padding: 24px;
    border-radius: .25rem;
    width: 100%;
    max-width: 370px;
    margin: 0 auto;
}

.register-form .form-area {
    background: transparent;
    border: none;
    padding: 24px 0;
}

.register-form p.supplement_password {
    font-size: .86em;
    text-align: left;
}

.register-form #pass {
    margin-bottom: 0;
}

.register-form #other-occupation {
    display: none;
}

.register-form #other-occupation.ex {
    display: block;
}

.form-area .error-msg {
    color: rgb(220 53 69);
    margin-bottom: .5rem;
    text-align: center;
}

.form-area input {
    width: 100%;
    margin-bottom: 1rem;
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    border: #ced4da solid 1px;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-area input:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem #0d6efd40;
}

.form-area select {
    appearance: none;
    width: 100%;
    margin-bottom: 1rem;
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    border: #ced4da solid 1px;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-area dd:has(select)::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid #ccc;
    border-left: 2px solid #ccc;
    transform: translateY(-50%) rotate(-135deg);
    pointer-events: none;
    margin-left: -1.85rem;
    margin-top: 1rem;
}

.form-area select:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 .25rem #0d6efd40;
}

.form-area fieldset {
    border: none;
    margin-bottom: 1rem;
}

.form-area fieldset legend {
    margin-bottom: 0.125rem;
    line-height: 1.5;
}

.form-area fieldset legend.personal-info-text {
    font-size: .8em;
    margin-bottom: .5rem;
}

.form-area fieldset legend.personal-info-text a {
    color: #0d6efd;
}

.form-area fieldset legend.personal-info-text a:hover {
    color: #0168b7;
}

.form-area fieldset .radio {
    display: flex;
    justify-content: left;
    min-height: 1.5rem;
    margin-bottom: 0.125rem;
}

.form-area fieldset input[type="radio"] {
    margin: 0.25em 0.25em 0 0;
    padding: 0;
    width: 1em;
    height: 1em;
    border: rgba(0, 0, 0, .25) solid 1px;
    border-radius: 50%;
}

.form-area fieldset input[type="radio"]:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: none;
}

.form-area fieldset input[type="checkbox"] {
    margin: 0.25em 0.25em 0 0;
    padding: 0;
    width: 1em;
    height: 1em;
    vertical-align: top;
    border: rgba(0, 0, 0, .25) solid 1px;
    border-radius: .25rem;
}

.form-area fieldset input[type="checkbox"]:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: none;
}

.form-area #eye,
.form-area #eye2 {
    position: absolute;
    margin-top: 0.75rem;
    margin-left: -2.15rem;
    color: #6c757d;
    z-index: 10;
    background: #fff;
    border-left: #ccc solid 1px;
    padding-left: 4px
}

.btn {
    width: 100%;
    display: block;
    padding: .375rem .75rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    color: #212529;
    border: rgb(108, 117, 125) solid 1px;
    border-radius: .375rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    cursor: pointer;
}

.btn:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.form-area .btn.login {
    background-color: #e50065;
    color: #fff;
    border: none;
}

.form-area .btn.login:hover {
    background: #ec408c;
}

.form-area .btn.send {
    background-color: #e50065;
    color: #fff;
    border: none;
    width: auto;
}

.form-area .btn.send:hover {
    background: #ec408c;
}

.form-area .forgot {
    display: flex;
}

.form-area .forgot::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 6px solid #6c757d;
    border-right: 0;
    margin-right: 4px;
    margin-top: 0.25rem;
}

.form-area .forgot a {
    color: #0d6efd;
}

.form-area .forgot a:hover {
    color: #0a58ca;
}

.register {
    width: 100%;
    max-width: 370px;
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
}

.logo {
    margin: 50px auto 0;
    max-width: 370px;
    display: flex;
    justify-content: center;
}

.logo a:hover {
    opacity: .8;
}

.logo img {
    width: 100%;
    max-width: 120px;
}

h1{
    font-size:2em;
    font-weight: 500;
    color:#6c757d;
    text-align:left;
}
h1::before{
    content: '';
    display: inline-block;
    width: 32px;
    height: 24px;
    margin-top:-8px;
    margin-right: 8px;
    background-image: url(../images/icon_videos.png);
    background-size: contain;
    vertical-align: middle;
}

/*共通パーツ*/
#wrap {
    width: 100%;
    margin: 80px auto 0;
}

#contents_area{
    width:100%;
    max-width: 1200px;
    margin:0 auto 0;
    text-align:left;
}
div.btn_menu{
    width:32px;
}
div.btn_menu:hover{
    cursor:pointer;
}
div.btn_menu img{
    width:100%;
}

/*videos*/
h1{
    font-size:2em;
    font-weight: 500;
    color:#6c757d;
    text-align:center;
}
h1::before{
    content: '';
    display: inline-block;
    width: 32px;
    height: 24px;
    margin-top:-8px;
    margin-right: 8px;
    background-image: url(../images/icon_videos.png);
    background-size: contain;
    vertical-align: middle;
}
ul.videos_list{
    width:75%;
    margin:8px auto 0;
    padding:16px 0;
    background-color:#fff;
    border-radius: 8px;
    display:flex;
    flex-wrap:wrap;
    row-gap: 30px;
}
ul.videos_list li{
    display: flex;
    align-items: center;
    width:97%;
    margin:0 auto 0;
    padding:4px 0;
    border:1px solid rgb(0,0,0,0.176);
    border-radius: 6px;
}
ul.videos_list li a{
    width: 100%;
    max-width: 240px;
    height: 80px;
    border-radius: 1rem;
    border: #6c757d solid 1px;
    margin:0 16px;
    text-decoration: none;
    display:flex;
    justify-content: center;
    align-items: center;
    column-gap: 16px;
    background-color: #6c757d;
    color: #fff;
}
ul.videos_list li a[href]{
    background-color: #0d6efd;
}
ul.videos_list li a[href]:hover{
    background: #fff;
    border: #0d6efd solid 1px;
    color: #0d6efd;
}
ul.videos_list li a img{
    width:30%;
}
ul.videos_list div.info_area{
    flex-grow: 1;
    margin-left: 16px;
    padding-top:1rem;
}
ul.videos_list div.info_area p.management_caption {
    margin-bottom: 0;
}
ul.videos_list div.info_area p {
    margin-bottom: 1rem;
}
h2 {
    color:rgb(0,0,0);
    font-size:1.3em;
    text-align: left;
    margin-top:0.2em;
    margin-bottom: 0.8rem;
}
div.announcement_title{
    width:100%;
    margin-top:20px;
    font-size:1.5em;
    font-weight:700;
    text-align: center;
}
p.announcement_cap{
    width:100%;
    margin-top:8px;
    margin-bottom:20px;
    text-align: center;
}

div.video_area{
    width: 100%;
    height: auto;
    display:flex;
    justify-content: space-between;
    column-gap: 16px;
}

div.video_area iframe {
    aspect-ratio: 16 / 9;
    height: auto;
}

div.video_annotation{
    width:100%;
    font-size:1.5em;
    text-align:center;
}

.video_info_area {
    background: #fff;
    border-radius: 0.25rem;
    border: rgb(0, 0, 0, 0.176) solid 1px;
    margin: 2.5rem 1rem;
    padding: 0.8rem 1.5rem 0.3rem;
}

.video_info_area h2 {
    font-size: 1.5rem;
    line-height: 1.5;
    padding: 0.5rem 0.5rem 0;
}

p.video_caption {
    line-height: 1.5;
    font-size: 1.2rem;
    padding: 0.5rem 0.5rem 0.5rem;
    border-bottom: rgb(0, 0, 0, 0.176) solid 1px;
}

/*240315追記*/
/*↓動画一覧ページ↓*/
span.title{
    width:fit-content;
    margin:20px auto 0;
    font-size:1.2rem;
    font-weight: bold;
    display:block;
}
span.list_caption{
    width:fit-content;
    margin:10px auto 0;
    font-size:1.2rem;
    text-align:left;
    display:block;
}

/*↓動画視聴ページ↓*/

.view_area {
    width: 100%;
    height: auto;
    display: flex;
    column-gap: 16px;
}

.video_area {
    width: 100%;
    height: auto;
}

.video_area iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}


/*240329追記*/
div.expired_box{
    width:75%;
    margin:8px auto 0;
    padding:16px 0;
    background-color:#fff;
    border-radius: 8px;
    display:flex;
    flex-wrap:wrap;
    row-gap: 30px;
}
div.expired_content{
    width:97%;
    margin:0 auto 0;
    padding:8px 0;
    border:1px solid rgb(0,0,0,0.176);
    border-radius: 6px;
    text-align:center;
}
a.link_smc{
    width:fit-content;
    margin:8px auto 0;
    display:block;
}
.sp {
    display: none !important;
}
div.view_contents_area{
    width:100%;
    display:flex;
    justify-content: space-between;
}
div.view_contents_area div.view_area{
    width:30%;
    flex-wrap:wrap;
}
div.view_contents_area div.view_area div.video_area{
    display:block;
}
div.view_contents_area div.view_area div.video_info_area{
    width:100%;
    margin:2.5rem 0;
    padding:0 0.5rem 0.5rem;
}
div.view_contents_area div.view_area div.video_info_area h2{
    font-size:1.2rem;
}
div.view_contents_area div.view_area div.video_info_area p.video_caption{
    font-size:1rem;
}
form.pf_area.question_form{
    width:68%;
    position:relative;
}
form.pf_area.question_form div.text_area.question_area{
    height:35vw;
    max-height:1200px;
    padding:0 8px 8px;
    border:rgb(0, 0, 0, 0.176) solid 1px;
    overflow:auto;
}
div.logo.management_screen{
    position:absolute;
    left:47%;
    bottom:80px;
}
div.q_area{
    width:100%;
}
div.q_num,div.q_date,div.q_id,div.q_name,div.q_content{
    width:100%;
    margin-bottom:6px;
    overflow-wrap: normal;
    word-break: break-all;
}
div.q_content{
    line-height: 1.2em;
}
a.btn_dl{
    width:36%;
    margin:0 auto 0;
    padding:0.5em 0;
    color:#fff;
    font-size:1.2rem;
    font-weight:700;
    text-align:center;
    text-decoration: none;
    display:block;
    border-radius: 1rem;
    background-color: #003a78;
}
a.btn_dl:hover{
    opacity: 0.7;
}
a.btn_dl div::after{
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-top:0;
    margin-left: 8px;
    margin-bottom:5px;
    background-image: url(../images/software-download.svg);
    background-size: contain;
    vertical-align: middle;
}
a.btn_dl div span{
    font-size:0.9rem;
}

@media only screen and (max-width: 750px) {
    :root {
        font-size: 12px;
    }

    body {
        background-position-y: bottom;
    }

    #wrap {
        margin-top: 16px;
    }

    .view_area {
        flex-wrap: wrap;
    }

    form.pf_area {
        position: static;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    div.pf_headline {
        text-align: center;
        margin-top: 8px;
    }

    form.pf_area textarea {
        width: calc(100vw - 32px);
        height: 6em;
        margin: 0 auto;
    }

    input.btn_send{
        position:static;
        color: #212529;
        border:#212529 solid 1px;
        width: calc(100vw - 128px);
        margin: 8px auto 16px;
        height:36px;
        background-color: #ced4da;
        background-image:url("../images/icon_send_hover.png");
        background-size: 20px;
        background-position-x: calc(50% - 2.5em);
        background-position-y: center;
    }

    div.video_info_area {
        padding: 0.5rem;
    }

    .video_info_area h2 {
        font-size: 1.2rem;
        margin: 0;
    }

    div.pf_attention {
        width: calc(100vw - 32px);
        margin: 0 auto;
    }

    ul.videos_list {
        margin: 0 auto;
        width: 100%;
    }
    ul.videos_list li {
        flex-wrap: wrap;
    }

    ul.videos_list li a{
        margin: 0 auto;
        height: 5em;
    }

    ul.videos_list li a img {
        width: 80px;
        height: 45px;
        flex-shrink: 0;
    }

    /*240329追記*/
    .sp {
        display: block !important;
    }
    a.btn_dl{
        width:56%;
    }



}