@charset "UTF-8";

* {
    box-sizing: border-box;
    font-weight: normal;
    /* font-size: 16px; */
    font-family: 'Roboto', '游ゴシック体', 'Yu Gothic Medium', 'Noto Sans JP', sans-serif;
    letter-spacing: .03em;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

header {
    font-weight: bold;
    margin: 0 auto;
    text-align: center;
    line-height: 40px;
    background-color: #dbedf0;
    border-bottom: 8px solid #80a491;
    padding: 10px;
}

a {
    text-decoration: underline;
}

header h1 {
    font-size: 24px;
}

body {
    line-height: 1.7;
}

.comment-block {
    margin: 0 auto;
    width: 100%;
    /* max-width: 800px; */
    padding: 10px 10px;
}

.comment-block p {
    margin-top: 10px;
    line-height: 30px;
}

.anchor {
    /* width: auto; */
    text-align: center;
    overflow: hidden;
    margin: 20px 0px;
    padding: 0px;
}

.anchor li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc((100% - 8px) / 4);
    background-color: #bcc8db;
    float: left;
    margin-right: 2px;
    height: 60px;
}

.anchor li a {
    text-decoration: none;
    position: relative;
    width: 100%;
    height: 100%;
    font-weight: bold;
    text-align: center;
    padding: 4px;
}

.anchor li a:hover {
    color: #fff;
    background: #8aa3b9;
    cursor: pointer;
    text-decoration: none;
}

.anchor li a::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    position: absolute;
    left: calc((100% - 15px) / 2);
    bottom: 10px;
    border-bottom: #333 2px solid;
    border-right: #333 2px solid;
    transform: rotate(45deg)translateY(-30%);
}

.title-block {
    padding: 10px;
    font-weight: 600;
    font-size: 18px;
    border: none;
    border-left: 10px solid #80a491;
    background: #f4f4f4;
}

.card-container h3 {
    padding: 10px;
    font-weight: 600;
    margin: 20px 0px 10px 0px;
    border: none;
    /* border-left: 6px solid #305089; */
    border-bottom: 4px solid #305089;
    /* background: #f4f4f4; */
}

.card {
    border: 1px solid #dddddd;
    /* border-radius: 0px; */
    margin: 20px 0px;
}

.card h3 {
    padding: 10px;
    font-weight: 600;
    margin: 10px 0px 10px 10px;
    border: none;
    border-left: 6px solid #305089;
}

.card a {
    font-size: 13px;
    line-height: 24px;
    text-align: center;
    margin-top: 10px;
    padding: 5px;
    border-top: 1px solid #dddddd;
}

.card a:hover {
    background: #f4f4f4;
    cursor: pointer;
    text-decoration: none;
}

.selectbox-container {
    display: flex;
    flex-wrap: wrap;
    /* padding-bottom: 20px; */
}

.selectbox {
    position: relative;
    width: calc((100% - 60px) / 3);
    margin: 5px 10px;
}

select {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    font-size: 13px;
    border: #ccc 1px solid;
    border-radius: 5px;
    background: #fff;
}

select:hover {
    cursor: pointer;
}

.selectbox::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    right: 10%;
    top: 35%;
    border-bottom: #333 2px solid;
    border-right: #333 2px solid;
    transform: rotate(45deg)translateY(-30%);
}

.color.selectbox select {
    background: blue;
    color: #fff;
    border-radius: 2em;
}

.color.selectbox::after {
    border-bottom: #fff 5px solid;
    border-right: #fff 5px solid;
}

.table-container h3 {
    padding: 5px;
    font-size: 18px;
    font-weight: bold;
    margin: 40px 0px 20px 0px;
    border: none;
    border-bottom: 3px solid #80a491;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table tr {
    border-top: solid 2px #dddddd;
    border-bottom: solid 2px #dddddd;
}

table th {
    position: relative;
    width: 35%;
    background-color: #f4f4f4;
    text-align: center;
    vertical-align: middle;
    padding: 10px 0;
}

table th:after {
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top:calc(50% - 10px);
    right:-10px;
    border-left: 10px solid #f4f4f4;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

table td {
    text-align: left;
    vertical-align: middle;
    width: 70%;
    /* background-color: #eee; */
    padding: 10px 20px;
}

footer {
    margin-top: 20px;
    width: 100%;
    padding: 20px 0px;
    border-top: 1px solid #dddddd;
    text-align: center;
}

footer p {
    font-size: 14px;
}

footer a {
    font-size: 14px;
}

#page-top{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #666666;
    opacity: 0.6;
    border-radius: 50%;
}

#page-top a{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
}

#page-top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f106';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -15px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}