@charset "utf-8";

/* htmlのリセット */
*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

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

body {
    font-family: sans-serif;
    font-size: 16px;
    color: black;
    line-height: 1;
    background-color: white;
}

img {
    max-width: 100%;
}

/* web画面用 */
.header {
    background-color: rgb(128, 239, 120);
}

.header-inner {
    max-width: 1200px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    width: 350px;
    align-items: center;
}

.header-logo-anchor {
    display: flex;
    justify-content: start;
    align-items: center;
}

img.header-logo-img {
    width: 90px;
    height: auto;
}

.header-site-club {
    font-weight: bold;
    display: flex;
    flex-flow: column;

}

.header-user-info {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.site-menu ul {
    display: flex;
}

.site-menu ul li {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
}

.header-logo-titel {
    font-size: 30px;
    font-weight: bold;
}

.toggle-menu-button {
    display: none;
}

.main {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-left: 40px;
    padding-right: 40px;
}

.container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
    padding-left: 40px;
    padding-right: 40px;

    h1 {
        margin-bottom: 10px;
    }

    h3 {
        margin-top: 15px;
        margin-bottom: 10px;
    }

    table {
        width: 100%;
    }

    table,
    th,
    td {
        border: 1px solid;
        border-collapse: collapse;
        padding-left: 3px;
        padding-right: 3px;
    }

    tr {
        height: 30px;
    }

    .vertical-center {
        vertical-align: middle;
    }

    .left-right-center {
        text-align: center;
    }

    .centering {
        margin: 0 auto;
        vertical-align: middle;
    }

    .button {
        margin: 5px;
    }

    .helptext {
        font-size: 9px;
    }

    .female {
        color: red;
    }

    form {

        table,
        th,
        td {
            border: initial;
            border-collapse: initial;
        }
    }

    .match_form {
        max-width: 400px;

        table,
        th,
        td {
            border: 1px solid;
            border-collapse: collapse;
            padding-left: 3px;
            padding-right: 3px;
        }

    }

}


.entry {
    .border_display {
        outline: none;
        border: none;
    }

    form {

        table,
        th,
        td {
            border: 1px solid;
            border-collapse: collapse;
        }
    }
}

.errormessage {
    color: red;
}

.errorhelptext {
    font-size: 12px;
}

.floating-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: block;
    background-color: rgb(128, 239, 120);
    /* ボタンの背景色 */
    color: #ffffff;
    /* 文字色 */
    width: 50px;
    /* ボタンの幅 */
    height: 50px;
    /* ボタンの高さ */
    text-align: center;
    line-height: 50px;
    /* ボタン内のテキストの位置を中央にする */
    font-size: 24px;
    /* テキストサイズ */
    border-radius: 50%;
    /* 丸い形状を作る */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    /* 影の効果 */
}

.floating-button:hover {
    background-color: rgb(114, 240, 105);
    /* ホバー時の背景色 */
}

.floating-rectangle-button {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 9999;
    display: block;
    background-color: rgb(77, 98, 235);
    /* ボタンの背景色 */
    color: #ffffff;
    /* 文字色 */
    width: 120px;
    /* ボタンの幅 */
    height: 30px;
    /* ボタンの高さ */
    text-align: center;
    line-height: 25px;
    /* ボタン内のテキストの位置を中央にする */
    font-size: 12px;
    /* テキストサイズ */
    border-radius: 10%;
    /* 丸い形状を作る */
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    /* 影の効果 */
}

.floating-rectangle-button:hover {
    background-color: rgb(42, 68, 234);
    /* ホバー時の背景色 */
}

/* モバイルweb画面用 */
@media (max-width: 800px) {
    body {
        font-size: 14px;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100px;
        z-index: 10;
    }

    .site-menu ul {
        display: block;
        text-align: center;
    }

    .site-menu li {
        margin-top: 10px;
    }

    .header-inner {
        padding-left: 20px;
        padding-right: 20px;
        height: 100%;
        position: relative;
    }

    .header-site-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        right: 0;
        background-color: rgb(128, 239, 120);
        padding-top: 10px;
        padding-bottom: 10px;
        display: none;
    }

    .header-site-menu.is-show {
        display: block;
    }



    .toggle-menu-button {
        display: block;
        width: 44px;
        height: 34px;
        background-image: url(../img/icon-menu.png);
        background-size: 50%;
        background-position: center;
        background-repeat: no-repeat;
        background-color: transparent;
        border: none;
        border-radius: 0;
        outline: none;
    }

    .main {
        max-width: 800px;
        margin-top: 100px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 10px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .container {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        padding-top: 10px;
        padding-left: 5px;
        padding-right: 5px;
    }

}