@font-face {
    font-family: 'Raleway';
    src: url(../fonts/raleway.ttf) format("truetype");
}
@font-face {
    font-family: 'Rounded Mplus 1c';
    src: url(../fonts/mplusrounded1c.woff2) format("woff2");
}

.greeting {
    padding-top: 24px !important;
    padding-bottom: 24px !important;
    margin-top: 24px;
}

header#logo {
    padding-top: 5.5em;
    text-align: center;
}
.logo {
    width: 100%;
    object-fit: cover;
    max-height: 300px;
}
.boxtitle {
    font-weight: bolder;
}
.underline {
    background: linear-gradient(transparent 60%, #faf 0%);
}
.bullet {
    width: 2em;
    margin: -5px;
}

label.panel-label {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: block;
    width: 100%;
    color: #bdc3c7;
    cursor: pointer;
    background-color: #ecf0f1;
    -webkit-transition-property: background-color, color;
    transition-property: background-color, color;
    -webkit-transition-duration: 200ms;
    transition-duration: 200ms;
}
label.panel-label:hover {
    color: #125200;
}

#panels .container {
    margin: 0 auto;
    width: 100%;
}
#panels section header label.panel-label {
    padding: 12px 5px;
    box-sizing: border-box;
}
#panels section main {
    box-sizing: border-box;
    max-height: 0;
    opacity: 0;
    -webkit-transition: opacity 600ms;
    transition: opacity 600ms;
    overflow-y: hidden;
}

#panel-1-ctrl:checked ~ #panels #panel-1 main {
    max-height: initial;
    opacity: 1;
    padding-top: 0px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

#panel-2-ctrl:checked ~ #panels #panel-2 main {
    max-height: initial;
    opacity: 1;
    padding-top: 0px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 24px;
    margin-bottom: 24px;
}
#panel-2-ctrl:checked ~ #panels #panel-1 main.greeting {
    padding: 0px !important;
}

#panel-3-ctrl:checked ~ #panels #panel-3 main {
    max-height: initial;
    opacity: 1;
    padding-top: 0px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 24px;
    margin-bottom: 24px;
}
#panel-3-ctrl:checked ~ #panels #panel-1 main.greeting {
    padding: 0px !important;
}

#panel-1-ctrl:checked ~ .header_box #tabs-list #li-for-panel-1 {
    pointer-events: none;
    cursor: default;
    -webkit-transform: translate3d(0, 1px, 0);
    transform: translate3d(0, 1px, 0);
    box-shadow: none;
    border-right: none;
}
#panel-1-ctrl:checked
    ~ .header_box
    #tabs-list
    #li-for-panel-1
    label.panel-label {
    background-color: white;
    color: #125200;
    padding-top: 5px;
}
#panel-1-ctrl:checked
    ~ .header_box
    #tabs-list
    #li-for-panel-1
    label.panel-label::after {
    height: 6px;
}

#panel-2-ctrl:checked ~ .header_box #tabs-list #li-for-panel-2 {
    pointer-events: none;
    cursor: default;
    -webkit-transform: translate3d(0, 1px, 0);
    transform: translate3d(0, 1px, 0);
    box-shadow: none;
    border-right: none;
}
#panel-2-ctrl:checked
    ~ .header_box
    #tabs-list
    #li-for-panel-2
    label.panel-label {
    background-color: white;
    color: #125200;
    padding-top: 5px;
}
#panel-2-ctrl:checked
    ~ .header_box
    #tabs-list
    #li-for-panel-2
    label.panel-label::after {
    height: 6px;
}

#panel-3-ctrl:checked ~ .header_box #tabs-list #li-for-panel-3 {
    pointer-events: none;
    cursor: default;
    -webkit-transform: translate3d(0, 1px, 0);
    transform: translate3d(0, 1px, 0);
    box-shadow: none;
    border-right: none;
}
#panel-3-ctrl:checked
    ~ .header_box
    #tabs-list
    #li-for-panel-3
    label.panel-label {
    background-color: white;
    color: #125200;
    padding-top: 5px;
}
#panel-3-ctrl:checked
    ~ .header_box
    #tabs-list
    #li-for-panel-3
    label.panel-label::after {
    height: 6px;
}

.header_box {
    position: fixed;
    padding-top: 8px;
    background: white;
    max-width: 800px;
    width: 100%;
    z-index: 1000;
}
.header_box .logo {
    display: flex;
    max-width: 100%;
    margin-bottom: 8px;
}
.header_box .logo img {
    width: 2em;
    object-fit: contain;
}
.header_box .logo .title {
    color: #ea709e;
    font-size: 1.5em;
}
.header_box .logo div {
    margin-left: auto;
}
.header_box .contact_link {
    width: calc(33% - 7px);
    text-align: center;
    background-color: #ea709e;
    margin-right: 5px;
    color: white;
    cursor: pointer;
    padding-top: 5px;
    padding-bottom: 5px;
    transition: opacity 500ms;
}

ul#tabs-list {
    display: flex;
    opacity: 0;
    justify-content: center;
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
    padding-bottom: 1px;
    text-align: center;
    position: fixed;
    width: 100%;
    max-width: 800px;
    transition: 0.5s;
    background: white;
}
ul#tabs-list.show {
    opacity: 1;
}
ul#tabs-list li {
    display: flex;
    text-align: center;
    font-size: 1.25em;
    width: 34%;
    height: 2em;
    position: relative;
}
ul#tabs-list li:hover {
    -webkit-transition: none;
    transition: none;
    border-right: none;
}
ul#tabs-list li label.panel-label {
    position: relative;
    padding: 5px 0;
    font-size: 0.875em;
    margin-left: 5px;
    margin-right: 5px;
    box-shadow: 0px -2px 2px rgba(0, 0, 0, 0.05);
}
ul#tabs-list li label.panel-label::after {
    content: '';
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 100%;
    background-color: #ffdaff;
    height: 0;
    -webkit-transition-property: height;
    transition-property: height;
    -webkit-transition-duration: 200ms;
    transition-duration: 200ms;
}
ul#tabs-list li label.panel-label:hover {
    padding-top: 5px;
}
ul#tabs-list li label.panel-label:hover::after {
    height: 6px;
}

#tabs-list li label {
    font-family: 'Rounded Mplus 1c';
}

main {
    margin: 0 auto;
    font-family: 'Rounded Mplus 1c';
    position: relative;
    background-color: white;
}
.panel-radios {
    display: none;
}
.until_loading {
    opacity: 0 !important;
}
.loader_container {
    transition: opacity 600ms;
    background-color: #ececec;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 10000;
    opacity: 0;
}
.loader {
    opacity: 0;
    transition: opacity 600ms;
    position: fixed;
    z-index: 10000;
    bottom: calc(50% - 35px);
    right: calc(50% - 45px);
}
.loader_visible {
    opacity: 1;
}
.loader_invisible {
    display: none;
}
.loader_text {
    color: #16440a;
    position: fixed;
    bottom: calc(50% - 50px);
    right: calc(50% - 34px);
}

main .section {
    margin-bottom: 20px;
    padding-left: 24px;
    padding-right: 24px;
}

.indent-4 {
    padding-left: 4em;
    text-indent: -4em;
}
.indent-5 {
    padding-left: 5em;
    text-indent: -5em;
}

body {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    background: #ececec;
    color: #16440a;
}

main {
    line-height: 1.6;
}

h1 {
    font-size: 1.5em;
    background: #efe;
    padding-left: 20px;
    margin-left: -29px;
    margin-right: -29px;
    margin-top: 0px;
}
h1::before {
    position: absolute;
    left: 0px;
    background-color: #ea709e;
    content: '';
    display: block;
    width: 10px;
    height: 1.5em;
}
h2 {
    font: bold;
    font-size: 1.3em;
    border-bottom: 1px solid #efefef;
}
h3 {
    font: bold;
    font-size: 1em;
    margin-top: 8px;
    margin-bottom: 8px;
}
h3::before {
    content: '◆';
    color: #ea709e;
}
h4 {
    font-size: 1em;
    margin-top: 0px;
    margin-bottom: 0px;
}

.member_list table {
    width: 100%;
    border-collapse: collapse;
}
.member_list {
    text-align: center;
}
.member_list table {
    margin: 0 auto;
}
.member_list_header th {
    background: #efe;
    text-align: center !important;
    border: 1px solid black;
}
.member_list div {
    text-align: right;
}
.member_list th {
    border: 1px solid black;
}
.member_list td {
    text-align: center;
    border: 1px solid black;
}

div.past_event_link {
    color: #16440a;
    font-size: larger;
    margin-top: 10px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 7px;
    padding-bottom: 7px;
    cursor: pointer;
    text-align: center;
    background: #dfd;
    max-width: 6.5em;
    height: 1.6em;
    border-style: solid;
    border-width: 1px;
    border-radius: 10px;
}
div.past_event_link:hover {
    background: #fef;
}

div.competition_container {
    overflow-y: auto;
    height: 800px;
}

footer {
    width: 100%;
    margin: auto;
    font-family: 'Rounded Mplus 1c';
    transition: 0.6s;
}
footer div {
    margin-top: 30px;
    padding: 30px;
    background: white;
}
div.news_box {
    padding: 0px;
}

table.schedule {
    margin-top: 8px;
}
table.schedule td {
    border-width: 1px;
    border-style: solid;
}
div.schedule {
    margin-top: 10px;
    margin-bottom: 10px;
    border-width: 1px;
    border-style: solid dotted;
}
.sch_date {
    color: #16440a;
    background: #e2f9ff;
    padding-left: 5px;
}
.sch_text {
    color: #16440a;
    background: #f2f9ff;
    padding-left: 10px;
}

.boximage {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.activities_date {
    margin-top: 50px;
    font-weight: bolder;
}

.mail {
    font-size: larger;
    margin-top: 10px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 7px;
    padding-bottom: 7px;
    cursor: pointer;
    text-align: center;
    background: #ea709e;
    color: white;
    width: 60%;
    height: 1.6em;
    border-style: none;
}
.mail:hover {
    background: #ff8eb9;
}

table.news {
    margin-top: 8px;
    border-collapse: collapse;
    width: 100%;
}
.table_date {
    width: 30%;
    font-family: 'Rounded Mplus 1c';
    color: #16440a;
}
.table_text {
    width: 70%;
    padding-left: 5px;
    font-family: 'Rounded Mplus 1c';
    color: #16440a;
}

.youtube_embed {
    width: 100%;
    position: relative;
}
.youtube_embed div {
    padding-top: 56%;
}
.youtube_embed iframe {
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
}
.fa-youtube {
    color: red;
}

@media screen and (min-width: 800px) {
    .icon {
        position: absolute;
        bottom: 0px;
        right: 0px;
        background-color: transparent;
    }
    .iconimage {
        width: 80%;
        float: right;
    }
}

@media screen and (max-width: 800px) {
    .icon {
        display: none;
    }
    .iconimage {
        display: none;
    }
    .contact_link {
        display: none;
    }
}

.snsIcons {
    display: flex;
    justify-content: center;
}
.snsIcons svg {
    color: #16440a;
    font-size: 30px;
}
.snsIcons .iconContainer {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

div.copyright {
    text-align: center;
    font-family: 'Raleway';
}
