@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Zen+Maru+Gothic&display=swap');

/**** リセット ****/
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

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

/*******************/
body {
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.center {
    max-width: 960px;
    margin: 0 auto;
    padding-right: 16px;
}

#header-top {
    position: fixed;
    padding: 0;
    top: 0; left: 0;
    height: 64px;
    display: flex;
    background-color: #2d6760;
    width: 100%;
    z-index: 10;
    padding-left: 8px;
}

#header-top-wrapper {
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8px;
}

#header-top-wrapper h1 {
    justify-self: start;
    color: #fff;
    line-height: 64px;
}

#header-top-wrapper h1 a {
    color: #fff;
    transition: opacity .5s;
}

#header-top-wrapper h1 a:hover {
    opacity: 0.5;
}

#header-top-wrapper #menu-s {
    position: relative;
    display: none;
}

#header-top-wrapper #menu-s span {
    position: relative;
    top: 8px;
    font-size: 48px;
    line-height: 64px;
    color: #fff;
    cursor: pointer;
}


#header-top-wrapper nav {
    margin-left: auto;
    margin-right: 16px;
}

#header-top-wrapper nav ul {
    display: flex;
    list-style-type: none;
}

#header-top-wrapper nav ul li a{
    color: #fff;
    padding: 8px;
    text-decoration: none;
    transition: color .5s;
}

#header-top-wrapper nav ul li a:hover {
    color: #9debc4;
}

#header-top-wrapper button {
    width: 112px;
    right: 16px; bottom: 8px;
    background-color: hsl(24, 50%, 50%);
    color: #fff;
    padding: 4px 12px;
    cursor: pointer;
    box-shadow: 4px 4px 4px rgba(30, 30, 30, 0.5); ;
    outline: none;
    border: none;
    border-radius: 2px;
    transition: opacity .5s;
}

#header-top-wrapper button:hover {
    opacity: 0.7;
}

#header-main {
    position: relative;
    margin-top: 64px;
    height: 280px;
    background-color: hsla(175, 80%, 50%, 0.3);
    z-index: 7;
}

#header-main-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

#header-main-wrapper h1 {
    position: absolute;
    bottom: 16px; left: 0;
    font-size: 32px;
    color: #2d6760;
    padding-left: 12px;
    z-index: 90;
}

#header-image {
    height: 480px;
    width: 100%;
    background-image: url(../images/bg.png);
    background-position: center 65%;
    background-size: cover;
    position: fixed;
    top: 0; left: 0;
    z-index: -1;
    opacity: 0.7;
}

#menu-layer {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s;
}

#menu-layer.visible {
    opacity: 1;
    pointer-events: auto;
}

#menu-layer span {
    position: absolute;
    top: 2px; left: 8px;
    font-size: 48px;
    line-height: 64px;
    cursor: pointer;
}

#menu-layer nav {
    width: 240px;
    margin: 120px auto;
}

#menu-layer nav ul {
    list-style-type: none;
}

#menu-layer nav ul li {
    margin-top: 16px;
}

#menu-layer nav ul li a {
    display: block;
    width: 160px;
    height: 24px;
    padding: 12px;
    background-color: #3d6c8b;
    color: #fff;
    border-radius: 2px;
    text-align: center;

}

#menu-layer nav ul li a:active {
    background-color: #264458;
}

main {
    padding: 16px;
    z-index: 5;
    background-color: hsl(156, 16%, 98%);
    color: #2d6760;
}

#main-wrapper {
    width: 100%;
    max-width: 960px;
}

#main-wrapper #login-info {
    margin-bottom: 16px;
}

#main-wrapper h1 {
    background-color: #2d6760;
    color: aliceblue;
    padding: 12px 24px;
    margin-bottom: 24px;

}

#main-wrapper #sub-title {
    font-size: 20px;
}

#main-wrapper section {
    margin-top: 24px;
}

#main-wrapper section .content-area {
    background-color: #fff;
    padding: 12px;
    border-radius: 8px;
}

#main-wrapper section .content-area h3 {
    margin-bottom: 12px;
}

#main-wrapper section .content-area ul {
    margin: 0 0 16px 40px;
}

#main-wrapper section .content-area ul li {
    margin-bottom: 8px;
}

#main-wrapper section .content-area ul li a{
    color:#0c443e;
}

#main-wrapper section .content-area ul li a:hover{
    color:hsl(24, 93%, 46%)
}


#main-wrapper section h2 {
    padding: 8px 12px;
    border-left: 16px solid #2d6760;
    border-bottom: 2px solid #2d6760;
    margin-bottom: 16px;
    line-height: 32px;
    position: relative;
}

#main-wrapper section p {
    padding: 4px 16px;
}

#main-wrapper section h2 span {
    position: relative;
    top: 8px;
    font-size: 36px;
    margin-right: 8px;
}

.task .btn_on {
	display: block;
	width: 180px;
	background: #37608D;
	color: #fff;
	text-align: center;
	padding: 4px 0;
	border-radius: 4px;
	/* font-weight: bold; */
	font-size: 1.2rem;
	margin: 0 auto;
}

.task .btn_off {
	display: block;
	width: 180px;
	background: #6f8092;
	color: #fff;
	text-align: center;
	padding: 4px 0;
	border-radius: 4px;
	/* font-weight: bold; */
	font-size: 1.2rem;
	margin: 0 auto;

}


#main-wrapper #contents table {
    width: 100%;
    border-collapse: collapse;
}

#main-wrapper #contents table td {
    border: 1px solid  #2d6760;
    padding: 8px;
    font-size: 0.8em;
}

#main-wrapper #contents table tr td span {
    font-size: 24px;
}

#main-wrapper #contents table td:nth-child(1), 
#main-wrapper #contents table td:nth-child(n+4):nth-child(-n+6) {
    text-align: center;
}
#main-wrapper #contents table tr:first-child {
    background-color: #3a8b81;
    color: #fff;
    text-align: center;
    font-size: 16px;
}


footer {
    background-color: #12312e;
    margin-top: auto;
    height: 96px;
}

#footer-main {
    text-align: center;
    padding-top: 16px;
}

#footer-main p {
    margin: 0;
    color: #eee;
}

/******** 画面上部へスクロールするボタン ********/
#to_top {
    position: fixed;
    bottom: 32px; right: 24px;
    opacity: 0;
    transition: opacity 1s;
    pointer-events: none;
    z-index: 11;
}

#to_top.visible {
    opacity: 1;
    pointer-events: auto;
}

#to_top span {
    color: #d56841;
    font-size: 48px;
}


/****************************************/
@media (min-width: 960px) {
    #header-top-wrapper {
        width: 960px;
    }
    
}


@media (max-width: 599px) {
    #header-top-wrapper h1 {
        display: none;
    }
    
    #header-top-wrapper #menu-s {
        display: block;
    }

    #header-top-wrapper nav {
        display: none;
    }

    #header-top-wrapper button {
        margin-left: auto;
        margin-right: 8px;
    }

    #header-image {
        height: 240px;
    }

    #header-main {
        height: 180px;
    }
}
