:root {
    --color1: #ef7a00;
    --color2: #d0398f;
    --color3: #5bb53c;
    --yearColor: var(--color1);
    --red: #dc1310;
}

.year1 {
    --yearColor: var(--color1);
}

.year2 {
    --yearColor: var(--color2);
}

.year3 {
    --yearColor: var(--color3);
}

body {
    min-width: 320px;
    background: #f4f3ef;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
}

body.color2 {
    --yearColor: var(--color2);
}

body.color3 {
    --yearColor: var(--color3);
}

a {
    color: inherit;
    text-decoration: none;
}

div,
p,
ul,
li,
h1,
h2,
h3,
h4,
h5,
section,
header,
footer,
dl,
dt,
dd {
    box-sizing: border-box;
}

audio {
    outline: none;
}

.center {
    text-align: center;
}

img {
    max-width: 100%;
}

.sp_only {
    display: none;
}

.pc_only {
    display: block;
}

header {
    background: #fff;
    border-bottom: 10px solid #fade47;
    /*height: 160px;*/
    height: 120px;
    position: fixed;
    width: 100%;
    z-index: 10;
}




#coverArea {
    display: flex;
    width: 90%;
    height: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 5px 0;
    flex-direction: column;
    /*padding: 10px 0;*/
    justify-content: center;
    gap: 14px;
}
header h1 {
    font-size: 1.2em;
    line-height: 1.1;
}
header h2 {
    font-size: 1.6em;
}




#wrapper {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 0 2em;
    letter-spacing: 0.05em;
}

.box {
    background: #FFF;
    border-radius: 10px;
    padding: 2em;
    overflow: hidden;
}

.notice {
    background: none;
    padding: 1em 2.5em;
    font-size: 85%;
    line-height: 1.2em;
}

.noticeR {
    text-align: right;
    padding: 0.5em 2.5em;
}

.notice3 {
    padding: 0 0.2em;
    font-size: 95%;
    line-height: 1.2em;
}

.notice4 {
    padding: 0 0.2em;
    /* font-size: 95%; */
    line-height: 40px;
    text-align: center;
    background: #ddd;
    height: 40px;
    border-radius: 10px;
}

.errorArea {
    background: #666;
    color: #fff;
    text-align: center;
    font-size: 1.2rem;
    margin: 20px 0;
    padding: 10px;
    border-radius: 10px;
}

.namelink {
    border-bottom: 1px dotted #2B5797;
    color: #2B5797;
}

.namelink:hover {
    border-bottom: 1px solid #2B5797;
}

table {
    border: 1px solid #aaa;
    border-top: none;
    width: 100%;
    border-left-width: 0px;
}

table tr {
    border-left: 5px solid var(--yearColor);
}

table th,
table td {
    padding: 1em;
    border-top: 1px solid #aaa;
    vertical-align: middle;
    line-height: 1.2em;
}

table th {
    border-right: 1px solid #aaa;
    text-align: left;
    padding: 0.5em 0.5em;
    font-size: 90%;
}

table td {
    text-align: center;
    padding: 0.5em 0.2em;
    font-size: 90%;
}

table td.col5 {
    text-align: left;
    padding: 0.5em 1em;
}

table td.unit {
    border-right: 1px solid #aaa;
    font-size: 90%;
    width: 125px;
}

table td.nen {
    padding: 0.5em 0.5em;
    border-right: 1px solid #aaa;
}

table td.nenAlpha {
    font-size: 85%;
    /*text-align: left;*/
}

#linkHowto,
#loginArea .loginContent .submitBtn,
table td a {
    display: inline-block;
    line-height: 1em;
    border: 2px solid #aaa;
    padding: 0.3em 0.5em;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 700;
    margin: 0 5px;
    cursor: pointer;
}

table td a.downLink {
    border-color: #666;
    color: #666;
    white-space: nowrap;
}

table td a.downLink:hover {
    background: #666;
    color: #FFF;
}

table td a.pdfLink {
    border-color: #DC1106;
    color: #DC1106;
}

table td a.pdfLink:hover {
    background: #DC1106;
    color: #FFF;
}

table td a.wordLink {
    border-color: #2B5797;
    color: #2B5797;
}

table td a.wordLink:hover {
    background: #2B5797;
    color: #FFF;
}

table td a.excelLink {
    border-color: #3f8b1d;
    color: #3f8b1d;
}

table td a.excelLink:hover {
    background: #3f8b1d;
    color: #FFF;
}

#linkHowto,
table td a.gLink {
    border-color: #8c2bd0;
    color: #8c2bd0;
}

#linkHowto {
    position: absolute;
    right: 30px;
    top: 30px;
}

table td a.gLink:hover {
    background: #8c2bd0;
    color: #FFF;
}

table audio {
    width: 220px;
}

.notice3 .update,
table .update {
    font-size: 80%;
    /*text-align: right;*/
}

table .cols {
    border-right: 1px solid #aaa;
    min-width: 50px;
}

table .cols11,
table .cols12 {
    text-align: left;
}

table .colsTh {
    text-align: center;
    font-weight: 700;
    background: #eee;
}

table .cols2 {
    width: 20%;
}

table .cols11 {
    width: 20%;
}

table .cols13,
table .cols14 {
    width: 13%;
}

table .colsDouble {
    border-bottom: 2px double #aaa;
}

.year {
    text-align: center;
    font-size: 100%;
}

body.on {
    overflow-y: hidden;
    position: fixed;
    width: 100%;
}

body.on #wrapper section {
    display: none;
}

body.off #loginArea {
    display: none;
}

#loginArea {
    position: fixed;
    background: #f6f6f6;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 120;
}

#loginArea .bgArea {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#loginArea .loginContent {
    width: 75vw;
    max-width: 800px;
    max-height: 96vh;
    overflow-y: auto;
    background: #FFF;
    padding: 1em;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: 0.3s ease;
}

.on #loginArea .loginContent {
    opacity: 1;
}

#loginArea .loginContent h3 {
    margin-bottom: 20px;
}

#loginArea .loginContent p span {
    display: block;
    margin-bottom: 5px;
}

#loginArea .loginContent p + p {
    margin-top: 1em;
}

#loginArea .loginContent p input {
    border: 2px solid #f98d00;
    outline: none;
    font-size: 1.2em;
    width: 100%;
    box-sizing: border-box;
}

/*
#loginArea .loginContent .submitBtn {
	width: 6em;
	background: #fff;
	border: 2px solid #f98d00;
	color: #f98d00;
	margin: 1.5em auto 0;
	text-align: center;
	padding: 0.5em 0;
    border-radius: 1em;
	
}
*/
#loginArea .loginContent .submitBtn:hover {
    background: #aaa;
    color: #fff !important;
}

#enpasswd {
    width: 50%;
    font-size: 2.0rem;
    margin: 0 20px 20px;
    padding: 10px;
    border-radius: 20px;
}

#loginAreaInner {
    text-align: center;
}

.loginNotice {
    width: fit-content;
    text-align: left;
    line-height: 1.4em;
    margin: 0 auto 20px;
    font-size: 90%;
}

#loginArea .loginContent .submitBtn + .loginNotice {
    margin-top: 30px;
}

.spanPC {
    display: inline-block;
}

table td a.enable {
    pointer-events: none;
    color: #aaa;
    border-color: #aaa;
}

table td audio.enable {
    pointer-events: none;
    opacity: 0.5;
}

h3 {
    color: #000;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
    border-left: 5px solid var(--red);
    padding-left: 5px;
    height: 20px;
}

.box2 {
    margin-bottom: 30px;
    position: relative;
    /*    background: #f4f4f4;*/
}

.box2 table {
    background: #fff;
}

.link {
    color: #2b5aa9;
    text-decoration: underline;
}

.link:hover {
    opacity: 0.7;
}

.linkInner {
    position: relative;
}

.linkInner::before {
    content: "▼";
    position: absolute;
    top: 4px;
    left: -14px;
    font-size: 0.6rem;
}

.btn {
    display: block;
    line-height: 1em;
    border: 2px solid #ccc;
    padding: 0;
    border-radius: 5px;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0.8em 0;
    text-align: center;
    background: #fff;
    height: 60px;
    line-height: 54px;
    box-sizing: border-box;
    transition-duration: 0.5s;
}

.btn1 {
    color: #ea5432;
    border-color: #ea5432;
}

.btn1:hover {
    color: #fff;
    background: #ea5432;
}

.btn2 {
    color: #0094d7;
    border-color: #0094d7;
}

.btn2:hover {
    color: #fff;
    background: #0094d7;
}

.btn3 {
    color: #5fb750;
    border-color: #5fb750;
}

.btn3:hover {
    color: #fff;
    background: #5fb750;
}

#menu {
    /*    width: 75%;*/
    /*
    display: flex;
    justify-content: space-between;
*/
    font-size: 0.75rem;
}

#menu li {
    margin-bottom: 7px;
}

#footer {
    background: rgb(60, 60, 60);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 25px 20px;
    display: flex;
    justify-content: center;
}

.footerText {
    margin: 0 20px;
}

.footerMenu {
    margin-top: 100px;
}

.nofile {
    background: #000;
}

.movieArea {
    padding: 1em;
    border: 1px solid #aaa;
    border-left-color: var(--yearColor);
    border-left-width: 5px;
}

.movieArea + .movieArea {
    margin-top: 2em;
}

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

.externalLink {
    display: block;
    width: fit-content;
    padding-right: 1.5em;
    position: relative;
    margin-top: 0.8em;
}

.externalLink:after {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    background: url(../img/external.svg) no-repeat center;
    background-size: contain;
    right: 0;
    top: 0;
}

@media screen and (max-width:800px) {
    .sp_only {
        display: block;
    }

    .pc_only {
        display: none;
    }

    .pc_only_nen {
        display: none;
    }

    #wrapper {
        width: calc(100% - 20px);
        padding: 140px 0 2em;
    }

    .box {
        padding: 10px;
    }

    table {
        font-size: 0.9rem;
    }

    table td {
        /*		border-top: none;*/
        /*		padding-top: 0;*/
        text-align: center;
    }

    .nenSp {
        display: inline-block;
        margin-right: 10px;
    }

    table td.nen,
    table td.unit {
        border-top: 1px dotted #ddd;
        border-right: none;
        padding-top: 5px;
        width: 100%;
    }

    table td.nenAlpha,
    table td.col5 {
        text-align: center;
        margin-bottom: 5px;
    }

    table td .downLink:first-child {
        margin-bottom: 5px;
    }

    #footer {
        display: block;
        padding: 17px 20px;
    }

    .footerText {
        margin: 5px 20px;
    }

    #menu {
        display: none;
    }

    .coverImg {
        height: 80px;
        margin-right: 10px;
    }


    #linkHowto {
        position: relative;
        right: auto;
        top: auto;
        float: right;
        margin-bottom: 5px;
    }


}
.text {
    font-size: 0.9em;
    line-height: 1.4em;
}
.box h4 {
    font-weight: bold;
    margin-top: 2em;
}
.noticeBox {
    height: 120px;
    overflow-y: scroll;
    margin: 1em auto;
    border: 1px solid #ccc;
    padding: 1em;
    font-size: 0.85em;
    line-height: 1.35em;
    font-weight: 400;
}
.noticeBox dt {
    font-weight: bold;
}
.noticeBox dd + dt {
    margin-top: 1em;
}
.noticeBox a {
    text-decoration: underline;
    transition: 0.2s ease;
}
.noticeBox a:hover {
    text-decoration: none;
    opacity: 0.6;
}


#howto ul {
    counter-set: howto 0;
}
#howto ul li {
    counter-increment: howto;
    margin-top: 2em;
}
#howto ul li > .text:first-child {
    position: relative;
    padding-left: 2em;
}
#howto ul li > .text:first-child:before {
    content: counter(howto)".";
    display: block;
    position: absolute;
    left: 0;
}
#howto ul li .text.inner {
    padding-left: 1.2em;
    text-indent: -1.2em;
}
#howto ul li > img {
    display: block;
    margin-top: 10px;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}
#howto ul li .text + .text,
#howto ul li img + .text {
    margin-top: 2em;
}
.faq {
    margin-top: 1em;
}
.faq dt {
    position: relative;
    padding-left: 2em;
}
.faq dd {
    position: relative;
    padding-left: 2em;
    font-weight: normal;
    margin-top: 1.5em;
    line-height: 1.4em;
}
.faq dt span,
.faq dd span {
    display: block;
    position: absolute;
    left: 0;
    font-weight: 500;
}