@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

/*css変数*/
:root {
    /* レイアウト幅------------------------------- */
    --main-max-width: 960px;
    --header-max-width: 960px;
    /* カラー設定------------------------------- */
    --main-color: #fcc800;
    --main-color-light: #ffff99;
    --main-color-light2: #f5ffde;
    --sub-color: #000;
    --text-color: rgb(30, 30, 30);
    --red-color: #e60012;
    --blue-color: #2790bd;
    --purple-color: #7f00ff;
    --gray-color: #666;
    --light-gray-color: #efefef;
    --link-color: #1d3994;
    --button-bg-color: var(--main-color);
    --button-hover-color: #fcd435;
    --button-red-gb-color: #ee0000;
    --button-green-gb-color: #003333;
    --button-blue-gb-color: #0066cc;
    --hover-opacity: 0.7;
    --hover-color: #ffffdb;
    --content-bg-color: #ffffff;
    --footer-bg-color: #ddd;

    /* フォントサイズ------------------------------- */
    --font-size-base: clamp(0.938rem, 0.885rem + 0.24vw, 1rem);
}

/* 2. ベースリセット------------------------------------------------------------------------------- */
*,
*::after,
*::before {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    font-weight: normal;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    opacity: var(--hover-opacity);
}

ul,
ol {
    padding-inline-start: 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

table {
    border-collapse: collapse;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

/* 3. ベーススタイル------------------------------------------------------------------------------- */
html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

main a.bgyellow {
    color: var(--text-color);
    background-color: var(--main-color);
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--main-color);
    font-weight: 600;
    padding-left: 0.5rem;
}

h3 {
    font-size: 1.375rem;
    font-weight: 600;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    position: relative;
}

h3::before {
    content: "●";
    display: block;
    color: var(--main-color);
    font-size: 1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    padding-left: 1rem;
    position: relative;
}

h4::before {
    content: "●";
    display: block;
    color: var(--main-color);
    font-size: 0.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

p {
    margin-bottom: 0.5rem;
}

b {
    font-weight: 600;
}

input,
select,
textarea {
    border: none;
    color: var(--text-color);
    border: 1px solid #ccc;
}

input:focus,
select:focus,
textarea:focus {
    outline: var(--main-color) solid 2px;
}

/* 4. 汎用クラス------------------------------------------------------------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a.disabled {
    pointer-events: none;
    /* クリックできなくする */
    cursor: not-allowed;
    /* マウスカーソルを通常に */
    background-color: #aaa !important;
    /* グレー表示 */
}

.tx-red {
    color: var(--red-color);
}

.tx-large {
    font-size: 1.25rem;
}

.red-line {
    display: inline-block;
    color: white;
    background-color: var(--red-color);
    padding: 0px 5px;
    font-size: 0.875rem;
    margin-right: 0.375rem;
}

.yellow-line {
    background-color: var(--main-color);
}

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

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

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

.no-border {
    border: none !important;
}

.note {
    display: block;
    margin: .5em 0;
    padding-left: 1rem;
    font-size: .875rem;
    text-indent: -1rem;
}

.sp-only,
.sp-only480 {
    display: none;
}

.pc-only {
    display: block;
}

.yellow-box {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--main-color);
    background-color: white;
    min-height: 50px;
}

.yellow-box-small {
    width: 100%;
    max-width: 400px;
    padding: 0.5rem;
    border: 1px solid var(--main-color);
    background-color: white;
}

.inline-b {
    display: inline-block;
}

@media screen and (max-width:768px) {
    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }
}

@media screen and (max-width:480px) {
    .sp-only480 {
        display: block;
    }
}

.mg-t-0 {
    margin-top: 0rem !important;
}

.mg-b-0 {
    margin-bottom: 0rem !important;
}

.mg-t-1 {
    margin-top: 1rem !important;
}

.mg-b-1 {
    margin-bottom: 1rem !important;
}

.mg-t-2 {
    margin-top: 2rem !important;
}

.mg-b-2 {
    margin-bottom: 2rem !important;
}

.mg-t-3 {
    margin-top: 3rem !important;
}

.mg-b-3 {
    margin-bottom: 3rem !important;
}

/* 5. レイアウト構造-------------------------------------------------------------------------------*/
body {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.5;
    font-weight: 400;
    font-style: normal;
    margin: 0 auto;
    position: relative;
    z-index: 0;
    background-color: #999;
}

body::before,
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

body::before {
    background-image: var(--bg-a);
}

body::after {
    background-image: var(--bg-b);
}

body.bg-a::before {
    opacity: 0.7;
}

body.bg-b::after {
    opacity: 0.7;
}

.container {
    max-width: var(--main-max-width);
    margin: 0 auto;
}

main {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
}

#header {
    width: 100%;
    height: 100px;
    position: sticky;
    top: 0;
    background-color: var(--sub-color);
    border-bottom: 2px solid var(--main-color);
    z-index: 999;
}

.main-link {
    margin: 2rem auto;
    width: 100%;
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 1rem;
}

@media screen and (max-width:768px) {
    .main-link {
        grid-template-columns: 1fr;
    }

    main {
        padding: 1rem;
    }
}

#footer {
    width: 100%;
    height: 50px;
    color: #fff;
    text-align: center;
    border-top: 2px solid var(--main-color);
    background-color: #000;
}

#footer .copyright {
    font-size: 0.8em;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 4;
}

.member-form-section {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem 1rem 0.5rem;
}

.privacy-policy {
    margin-top: 3rem;
}

.flex-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.flex-box.jc-space-evenly {
    justify-content: space-evenly;
}

.detail-btn-box {
    display: grid;
    grid-template-columns: 300px 300px;
    row-gap: 2rem;
    justify-content: left;
}

.detail-btn-box .note {
    width: 80%;
    max-width: 300px;
    margin: 0.5rem auto;
}

@media screen and (max-width:768px) {
    .detail-btn-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: space-evenly;
    }
}

@media screen and (max-width:480px) {
    .detail-btn-box {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: space-evenly;
    }
}

/* 6. ブロック要素------------------------------------------------------------------------------- */
.header-inner {
    max-width: var(--header-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

}

@media screen and (max-width:768px) {
    .header-inner {
        padding: 0 0.5rem;
    }
}

/*サイトアイコン*/
.site-title {
    font-size: clamp(1rem, -0.5rem + 3.13vw, 1.375rem);
    height: 100%;
    padding: 0.5rem 0;
}

.site-title a {
    display: flex block;
    width: 100%;
    height: 100%;
    gap: 0.5rem;
    align-items: flex-end;
    text-decoration: none;
    color: white;
}

.site-title img {
    width: auto;
    height: 100%;
}

@media screen and (max-width:768px) {
    .site-title {
        font-size: 1rem;
    }
}

@media screen and (max-width:480px) {
    .site-title {
        font-size: 0.875rem;
    }

    .site-title a {
        gap: 0.25rem;
    }
}

/*ログインボタン*/
.login-btn a {
    display: block;
    font-size: 1.25rem;
    background-color: var(--main-color);
    color: var(--text-color);
    font-weight: 400;
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    text-decoration: none;
}

.login-btn a:hover {
    opacity: 1;
    background-color: var(--button-hover-color);
}

.login-icon {
    width: 1.5rem;
    display: inline-block;
    margin-bottom: -5px;
    margin-right: 5px;
}

.login-btn-member {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-btn.login-btn-member a {
    font-size: 1rem;
    padding: 0.5rem;
}

.login-btn.login-btn-member i {
    display: inline-block;
}

.login-btn.login-btn-member .login-text {
    display: inline-block;
    margin-left: 2px;
}

@media screen and (max-width:768px) {
    .login-btn a {
        font-size: 0.75rem;
        padding: 0.5rem;
        text-align: center;
    }

    .login-icon {
        margin-bottom: 0px;
    }

    .login-btn.login-btn-member a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        font-size: clamp(1.4rem, 1.02rem + 1.6vw, 1.5rem);
    }

    .login-btn.login-btn-member .login-text {
        font-size: clamp(0.375rem, -0.1rem + 2vw, 0.5rem);
        text-align: center;
    }
}

@media screen and (max-width:480px) {
    .login-btn a {
        font-size: 0.5rem;
    }

    .login-btn.login-btn-member a {
        padding: 0.5rem 0.25rem;
    }
}

/*リンク用ボタン*/
.btn-icon-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.725rem;
    background-color: var(--main-color);
    border: 1px solid var(--gray-color);
    color: var(--text-color);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    max-width: 340px;
    width: 100%;
    box-sizing: border-box;
    font-weight: 600;
    line-height: 1.4;
    transition: background-color 0.3s ease;
    overflow: hidden;
    justify-self: center;
}

.btn-icon-arrow:hover {
    background-color: var(--button-hover-color);
    opacity: 1;
}

.btn-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    margin: 5px;
}

.btn-icon img {
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

.btn-text {
    flex-grow: 1;
    text-align: center;
    font-size: 1.25rem;
}

.btn-arrow {
    flex-shrink: 0;
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.btn-icon-arrow:hover .btn-arrow {
    transform: translateX(6px);
}

/*画面遷移用btn*/
.btn-next {
    display: block;
    position: relative;
    width: 80%;
    max-width: 300px;
    margin: 2rem auto;
    padding: 0.75rem 2rem 0.75rem 0.5rem;
    line-height: 1.2;
    background-color: var(--main-color);
    color: var(--text-color);
    font-size: 1.125rem;
    font-weight: 400;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s;
}

.btn-next:hover {
    opacity: 1;
}

.btn-next::after {
    content: "▶";
    font-size: 0.625rem;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.btn-next:hover::after {
    transform: translateY(-50%) translateX(6px);
    /* ▶ を右に6pxスライド */
}

.btn-next.red {
    background-color: var(--button-red-gb-color);
    color: white;
}

.btn-next.green {
    background-color: var(--button-green-gb-color);
    color: white;
}

.btn-next.blue {
    background-color: var(--button-blue-gb-color);
    color: white;
}

.btn-next.wide {
    width: 100%;
    max-width: 500px;
}

.btn-next.short {
    width: 90%;
    max-width: 200px;
    font-size: 1.125rem
}

.btn-next.table {
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 1.125rem 0.5rem 0.5rem;
    font-size: 0.875rem;
}

.btn-next.table::after {
    font-size: 0.5rem;
    right: 0.5rem;
}

.btn-next:disabled {
    background-color: var(--light-gray-color);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
    cursor: not-allowed;
}

.btn-next:disabled:hover:after {
    transform: translateY(-50%);
}

/*戻るボタン*/
.btn-back {
    display: inline-block;
    position: relative;
    padding-left: 1rem;
    width: 120px;
    background-color: var(--main-color);
    color: var(--text-color);
    font-weight: 500;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-align: center;
    line-height: 2.5;
    transition: background-color 0.3s;
    margin: 2rem auto;
}

.btn-back:hover {
    opacity: 1;
}

.btn-back::before {
    content: "◀";
    font-size: 0.75rem;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.btn-back:hover::before {
    transform: translateY(-50%) translateX(-6px);
    /* 左にスライド */
}

/*ボタンの注意書き*/
.btn-announce {
    margin: 0 auto;
    max-width: 650px;
    padding: 1rem 1rem 1rem 2rem;
    text-indent: -1rem;
    font-weight: 600;
    background-color: white;
    border: 1px solid var(--main-color);
}

/*ステップブロック*/
.step-box {
    border: 1px solid var(--gray-color);
    background-color: white;
    margin-bottom: 1rem;
}

.box-inner {
    padding: 1rem;
}

.step-label {
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 600;
    display: inline-block;
    margin: 0;
    font-size: 1.25rem;
}

.step-label::before {
    display: none;
}

.step-box ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.box {
    border: 1px solid #000;
    padding: 1rem;
    margin-bottom: 1rem;
}

.box-title {
    font-size: 1rem;
    margin: 0;
    background: var(--red-color);
    color: #fff;
    font-weight: 600;
    padding: 0.4rem 1rem;
    display: inline-block;
}

.box-title::before {
    display: none;
}

/*お問い合せブロック*/
.inquiry-box {
    text-align: center;
    margin: 2rem auto 0;
    max-width: 600px;
}

.inquiry-box p {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: left;
}

.inquiry-contact {
    border: 1px solid var(--gray-color);
    background-color: white;
    display: inline-block;
    padding: 1rem 2rem;
    text-align: center;
    width: 90%;
    min-width: 300px;
}

.inquiry-contact .title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.inquiry-contact .tel {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--text-color);
    display: inline-block;
    padding: 0 1rem;
}

.inquiry-contact .note {
    font-size: 0.9rem;
    width: fit-content;
    margin-right: 0;
    margin-left: auto;
}

@media screen and (max-width:768px) {
    .inquiry-contact {
        padding: 1rem;
    }

    .inquiry-box p {
        font-size: 1.125rem;
    }

    .inquiry-contact .title {
        font-size: 1.25em;
    }

    .inquiry-contact .tel {
        font-size: 1.5rem;
    }
}

/*PCカレンダー*/
.calendar-dropdown {
    position: relative;
    display: block;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
    margin: 0 auto 1rem;
}

.calendar-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 1rem;
    margin: 0 auto;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: normal;
    position: relative;
    border-bottom: 2px solid var(--main-color);
}

.calendar-toggle::before {
    display: none;
}

.calendar-year {
    font-size: 2rem;
    font-weight: 400;
}

.calendar-month {
    font-size: 4rem;
    font-weight: 400;
}

.dropdown-icon {
    font-size: 1.2rem;
    color: var(--text-color);
    transform: translateY(10%);
    transition: transform 0.3s ease;
}

.calendar-toggle[aria-expanded="true"] .dropdown-icon {
    transform: translateY(10%) rotate(180deg);
}

.month-list {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    background: #fff;
    /* border: 1px solid var(--gray-color); */
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 53%;
    transform: translateX(-50%);
    z-index: 200;
    white-space: nowrap;
    max-width: 90vw;
    /* ビューポートの90%まで */
    overflow-x: auto;
    /* はみ出し時にスクロール */
    box-sizing: border-box;
}

.month-list li {
    padding: 0.2rem 1rem;
    font-size: 1.4rem;
    color: #333;
    cursor: pointer;
    transition: background 0.2s ease;
}

.month-list li:hover {
    background: var(--hover-color);
}

.hayawari {
    background-color: white;
    margin: 1rem 0;
    padding: 0.5rem;
    max-width: 350px;
    width: 100%;
    border: 1px solid var(--gray-color);
}

.all-information {
    margin: 2rem auto;
    padding: 1rem;
}

.m-information {
    color: var(--red-color);
    padding: 0.5rem;
    background-color: white;
    border: 1px solid var(--red-color);
    width: 90%;
    margin: 1rem auto;
}

.m-information>* {
    font-weight: 600;
    margin-bottom: 0;
}

/*マウス無効化*/
.pointer_disabled {
    pointer-events: none;
    user-select: none;
}

/*PC用カレンダー*/
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    /* margin-top: 1rem; */
}

@media screen and (max-width: 768px) {
    .calendar-grid {
        display: none;
    }

}

.calendar-grid>.weekday {
    text-align: center;
    padding: 2px;
    font-size: 1rem;
    background-color: var(--light-gray-color);
    font-weight: 600;
    border: 1px solid #ccc;
}

.calendar-grid>.weekday.sat {
    background-color: var(--blue-color);
    font-weight: 600;
    color: white;
}

.calendar-grid>.weekday.sun {
    background-color: var(--red-color);
    font-weight: 600;
    color: white;
}

.day-card {
    border: 1px solid #ccc;
    padding: 2px;
    font-size: 1rem;
    background-color: #fff;
    min-height: 150px;
    /* overflow: auto; */
    position: relative;
}

/* 遷移対象：id="game_id_数字" のときだけ hover を適用 */
.day-card:not(.end)[onclick]:hover,
.day-card[id^="game_id_"]:not([id="game_id_"]):hover {
    cursor: pointer;
    background-color: var(--hover-color);
}

.calendar-grid>.day-card span {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.calendar-grid>.day-card .event {
    color: var(--red-color);
}

.calendar-grid>.day-card .tnm {
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.calendar-grid>.day-card .time {
    display: block;
    text-align: center;
}

.calendar-grid>.day-card .plan_s {
    display: block;
    background-color: var(--main-color-light);
}

.calendar-grid>.day-card .plan_s img {
    width: 1.625rem;
    height: 1.625rem;
    display: inline;
    vertical-align: middle;
    margin-right: 2px;
}

.calendar-grid>.day-card .cation {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
}

.calendar-grid>.day-card .cation span {
    display: block;
    text-align: center;
    font-family: 0.875rem;
}

.calendar-grid>.day {}

.calendar-grid>.empty {}

.day-card.end::before {
    content: "受付終了";
    width: 95%;
    text-align: center;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--red-color);
    color: white;
    padding: 2px;
    font-size: 1.125rem;
    font-weight: 500;
    z-index: 101;
}

@media screen and (max-width: 768px) {
    .day-card.end::before {
        width: 65%;
    }

}

.day-card.end::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(60, 60, 60, 0.4);
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 100;
}

.calender-info p {
    margin-top: 1rem;
}

.calender-info ul {
    padding-left: 2rem;
    margin: 0rem 0 1rem;
}

/*sp用カレンダー*/
.calendar-list {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
}

.calendar-list .day-card {
    display: grid;
    min-height: auto;
    grid-template-columns: 4rem auto 5rem;
    align-items: center;
    padding: 0rem;
    border: 2px solid #999;
    background-color: #fff;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.calendar-list .date_wrap {
    background-color: #e0e0e0;
    height: 100%;
}

.calendar-list .day-card .date {
    align-self: center;
    text-align: center;
    font-weight: 600;
    font-size: 1.875rem;
    padding: 0.625rem;
    line-height: 1.1;
    background-color: var(--light-gray-color);
    height: 100%;
}

.calendar-list .day-card .date span {
    display: block;
    font-size: 0.875rem;
}

.calendar-list .day-card.sat .date {
    background-color: #09c;
    color: #fff;
}

.calendar-list .day-card.sun .date {
    background-color: #d00;
    color: #fff;
}

.calendar-list .day-card .day-card-inner {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    font-size: clamp(0.75rem, 0.541rem + 0.96vw, 1rem);
    align-items: center;
    padding: 0.25rem;
    column-gap: 2px;
}

.calendar-list .day-card .time {
    grid-column: 1 /2;
    grid-row: 1 / 2;
    font-weight: 600;
    font-size: clamp(1rem, 0.791rem + 0.96vw, 1.25rem);
}

.calendar-list .day-card .event {
    grid-column: 2 / 5;
    grid-row: 1 / 2;
}

.calendar-list .day-card .tnm {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    font-weight: 600;
    font-size: clamp(0.75rem, 0.436rem + 1.44vw, 1.125rem);
}

.calendar-list .day-card .plan_s {
    background-color: var(--main-color-light);
    grid-column: 3 / 5;
    grid-row: 2 / 3;
}

.calendar-list .day-card .plan_s:has(img) {
    padding-top: 2px;
}

.calendar-list .day-card .plan_s img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.25rem;
    margin-top: -2px;
    width: 1.5rem;
}

.calendar-list .day-card .cation {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    background: #e0f0e0;
    padding: 0.375rem 0.25rem 0.125rem;
    border-radius: 2px;
    line-height: 1.2;
    text-align: center;
    height: 100%;
}

.calendar-list .day-card .cation>span {
    display: block;
    font-size: 1.25rem;
}

.calendar-list .day-card .cation span>span {
    display: block;
    font-size: 0.875rem;
}

@media screen and (max-width: 768px) {
    .calendar-list {
        display: flex;
    }
}

/*試合情報*/
.info-shiai {
    display: grid;
    width: fit-content;
    margin: 0 auto;
    grid-template-columns: max-content 1fr;
    row-gap: 0rem;
    column-gap: 0.5rem;
    align-items: center;
    font-weight: 500;
}

.info-shiai dt {
    white-space: nowrap;
    text-align: right;
    font-size: clamp(1rem, 0.885rem + 0.38vw, 1.125rem);
}

.info-shiai dd {
    margin: 0;
    font-size: clamp(1.25rem, 1.019rem + 0.77vw, 1.5rem);
}

@media screen and (max-width:480px) {
    .info-shiai {
        grid-template-columns: 1fr;
    }

    .info-shiai dt {
        text-align: left;
        font-weight: 700;
        font-size: 1rem;
    }

    .info-shiai dd {
        font-size: 1.125rem;
        padding-left: 2rem;
        margin-bottom: 0.725rem;
        line-height: 1.2;
    }

}

/* 席種テーブル */
dl.seat-table {
    display: flex;
    width: 100%;
    background-color: white;
    flex-wrap: wrap;
    border: 1px solid var(--main-color);
    margin: 0.5rem 0;
}

dl.seat-table dt,
dl.seat-table dd {
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0.25rem 1rem;
    text-align: center;
    line-height: 1.8;
}

dl.seat-table dt {
    background-color: var(--main-color-light);
    font-weight: 600;
}

dl.seat-table dt.no {
    width: 20%;
    border-bottom: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
}

dl.seat-table dd.no {
    width: 20%;
    text-align: center;
    border-bottom: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
}

dl.seat-table dt.name {
    width: 20%;
    border-bottom: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
}

dl.seat-table dd.name {
    width: 40%;
    border-bottom: 1px solid var(--main-color);
    text-align: left;
}

dl.seat-table dt.price {
    width: 20%;
    border-right: 1px solid var(--main-color);
}

dl.seat-table dd.price {
    width: 20%;
    border-right: 1px solid var(--main-color);
}

dl.seat-table dt.nam {
    width: 20%;
    border-right: 1px solid var(--main-color);
}

dl.seat-table dd.nam {
    width: 40%;
    text-align: left;
}

dl.seat-table .nam input {
    width: 3rem;
    text-align: right;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {

    dl.seat-table dt,
    dl.seat-table dd {
        padding: 0.25rem;
        text-align: center;
        line-height: 1.8;
    }

    dl.seat-table dt.no {
        width: 22%;
    }

    dl.seat-table dd.no {
        width: 10%;
    }

    dl.seat-table dt.name {
        width: 22%;
    }

    dl.seat-table dd.name {
        width: 46%;
    }

    dl.seat-table dt.price {
        width: 26%;
    }

    dl.seat-table dd.price {
        width: 20%;
    }

    dl.seat-table dt.nam {
        width: 24%;
    }

    dl.seat-table dd.nam {
        width: 30%;
    }
}

@media screen and (max-width:480px) {

    dl.seat-table dt,
    dl.seat-table dd {
        font-size: 14px;
    }
}

/*TOPスクロールボタン*/
.top_button {
    position: fixed;
    bottom: 60px;
    right: 60px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.top_button.show {
    opacity: 0.8;
    visibility: visible;
    pointer-events: auto;
    /* 表示時はクリック可能に */
}

.top_button:hover {
    opacity: 1;
}

.top_button img {
    width: 50px;
    height: auto;
}

@media screen and (max-width:960px) {
    .top_button {
        bottom: 20px;
        right: 20px;
    }
}

/*プライバシーポリシー*/
.privacy-wrap {
    font-size: 0.875rem;
    padding: 0rem 0.5rem;
    width: 100%;
    height: 200px;
    overflow-y: auto;
    word-break: break-all;
    border: 1px solid var(--gray-color);
}

.privacy-policy-checkbox {
    border: 1px solid var(--main-color);
    padding: 1rem;
    margin: 1rem auto;
    width: fit-content;
}

.privacy-wrap ul {
    list-style-type: square;
}

/*申込一覧*/
.entry-list-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1rem 0;
}

.entry-wrapper {
    display: grid;
    grid-template-columns: 2fr 2fr 150px;
    width: 100%;
    align-items: stretch;
}

.entry-list {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    font-size: 0.875rem;
    width: 100%;
    border-top: 1px solid var(--main-color);
    border-left: 1px solid var(--main-color);
    margin: 0;
}

.entry-list dt {
    background-color: var(--main-color-light);
    text-align: center;
    font-weight: 600;
    padding: 0.5rem;
    margin: 0;
    border-right: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.entry-list dd {
    background-color: white;
    margin: 0;
    text-align: left;
    padding: 0.5rem;
    border-right: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.entry-list.left {
    grid-template-columns: 1fr 1.6fr;
}

.entry-list.left dd {
    border-right: none;
}

.entry-list.left dt {
    background-color: #ffe5f2;
}

.entry-list-buttons {
    display: grid;
    margin: 0;
    width: 150px;
    grid-template-columns: max-content 1fr;
    font-size: 0.875rem;
    border-top: 1px solid var(--main-color);
    border-right: 1px solid var(--main-color);
    border-bottom: 1px solid var(--main-color);
}

.entry-list-buttons dt {
    background-color: var(--main-color-light);
    border-right: 1px solid var(--main-color);
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    padding: 0.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entry-list-buttons dd {
    text-align: center;
    padding: 0.5rem;
    background-color: white;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-top: 1px solid var(--main-color);
}

.entry-list-buttons dd span {
    font-size: 0.625rem;
    text-align: left;
}

.entry-list-buttons .entry-status-item {
    border-right: 1px solid var(--main-color);
}

@media screen and (max-width: 768px) {
    .entry-list {
        grid-template-columns: 1fr 1fr !important;
    }

    .entry-wrapper {
        grid-template-columns: 1fr;
    }

    .entry-list.left dd {
        border-right: 1px solid var(--main-color);
    }

    .entry-list dd:last-of-type {
        border-bottom: none;
    }

    .entry-list dt:last-of-type {
        border-bottom: none;
    }

    .entry-list-buttons {
        width: 100%;
        grid-template-columns: max-content 1fr max-content 1fr;
        grid-template-areas: "es esi ea eai";
    }

    .entry-status {
        grid-area: es;
        border-top: 1px solid var(--main-color);
    }

    .entry-status-item {
        grid-area: esi;
    }

    .entry-action {
        grid-area: ea;
        border-top: 1px solid var(--main-color);
    }

    .entry-action-item {
        grid-area: eai;
    }

    .entry-action-item .btn-next {
        margin: 0.5rem auto;
    }
}

@media screen and (max-width: 480px) {
    .entry-list {
        grid-template-columns: 1fr 1.2fr !important;
    }

    .entry-list-buttons {
        width: 100%;
        border-left: 1px solid var(--main-color);
        border-top: none;
    }

    .entry-list-buttons .btn-next.table {
        margin: 1rem auto;
    }

    .entry-list-buttons {
        grid-template-columns: 1fr 1.2fr !important;
        grid-template-areas: "es esi" "ea eai";
    }
}

/*ページネーション*/
.pagination {
    text-align: center;
    margin: 2rem 0;
    font-size: 0.875rem;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.pagination li {
    border-right: 1px solid #ccc;
}

.pagination li:last-child {
    border-right: none;
}

.pagination a,
.pagination span {
    display: block;
    padding: 0.5rem 0.9rem;
    text-decoration: none;
    color: #333;
    background: #fff;
    transition: background 0.2s;
}

.pagination a:hover {
    background: #f0f0f0;
}

.pagination .current span {
    background: var(--main-color);
    color: #fff;
    font-weight: bold;
}

/*7.フォーム関係のブロック要素----------------------------------------------------*/
.form-label {
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
    font-weight: 600;
    border-bottom: 1px solid var(--main-color);
    width: fit-content;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;

}

.form-label::before {
    content: "●";
    font-size: 0.5rem;
    position: absolute;
    left: 0rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-color);
}

.error-text {
    font-weight: 500;
    color: var(--red-color);
    margin: 1rem auto;
    animation: blinkOpacity 2.5s infinite;
}

/*jsのエラーメッセージ表示用*/
.error-message {
    color: var(--purple-color);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.3rem;
    line-height: 1.2;
    display: block;
    animation: blinkOpacity 2.5s infinite;
}

@keyframes blinkOpacity {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.required {
    display: inline-block;
    padding: 0 0.25rem;
    color: var(--red-color);
    font-weight: 600;
    font-size: 0.75rem;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-form-section label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.member-form-section select {
    width: 100%;
}

.member-form-section input[type="text"],
.member-form-section input[type="password"],
.member-form-section input[type="email"] {
    width: 100%;
    height: 2rem;
    padding: 0.375rem;
}

.member-form-section input[maxlength="5"] {
    max-width: 5.5rem;
}

.member-form-section input[maxlength="10"] {
    max-width: 11rem;
}

.member-form-section input[maxlength="20"] {
    max-width: 21rem;
}

.member-form-section input[maxlength="30"] {
    max-width: 31rem;
}



.member-form-section input[name="zip01"] {
    max-width: 3rem;
    display: inline-block;
    margin-right: 0.5rem;
}

.member-form-section input[name="zip02"] {
    max-width: 4rem;
    display: inline-block;
    margin-left: 0.5rem;
}

.member-form-section select[name="pref"] {
    max-width: 6rem;
}

.member-form-section label:has([name="charge01"]) {
    margin-right: 1rem;
}

.member-form-section input[name="tel01"],
.member-form-section input[name="fax01"],
.member-form-section input[name="mobile01"] {
    margin-right: 0.5rem;
}

.member-form-section input[name="tel02"],
.member-form-section input[name="fax02"],
.member-form-section input[name="mobile02"] {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
}

.member-form-section input[name="tel03"],
.member-form-section input[name="fax03"],
.member-form-section input[name="mobile03"] {
    margin-left: 0.5rem;
}

.member-form-section .password-toggle-wrapper {
    display: flex;
    align-items: center;
    max-width: 100%;
}

.member-form-section .password-toggle-wrapper input {
    flex: 1;
    display: block;
}

.member-form-section .password-toggle-wrapper #togglePassword {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    height: 2rem;
    width: 2.25rem;
    margin-left: -2.25rem;
}

.table-tokusyoho dl{
    display: grid;
    grid-template-columns: max-content 1fr;
}
.table-tokusyoho dt{
    font-weight: 600;
    padding: 1rem;
    background-color: var(--main-color-light);
    border:1px solid var(--gray-color);
}
.table-tokusyoho dd{
    background-color: #fff;
    padding: 1rem;
    margin-left: 0;
    border:1px solid var(--gray-color);
    border-left: none;
}
.table-tokusyoho dt:not(:nth-of-type(1)),
.table-tokusyoho dd:not(:nth-of-type(1)){
    border-top: none;
}
@media screen and (max-width:768px) {
    .table-tokusyoho dl{
        grid-template-columns: 1fr;
    }
    .table-tokusyoho dt,
    .table-tokusyoho dd{
        border-left:1px solid var(--gray-color);
    }
    .table-tokusyoho dd{
        border-top: none !important;
    }
}
.tokushoho-link {
    padding: 0.5rem;
    text-align: center;
}
.tokushoho-link a {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: underline;
}
