/* ポップアップの背景 */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* ポップアップの内容 */
.popup-content {
    padding: 20px;
	width: 85vw;
    text-align: center;
    position: relative;
		display: flex;
	justify-content: center;
	align-items: center;
		background: #fff;
    max-width: 1080px;
}

/* 閉じるボタン */
.popup-close {
    position: absolute;
    top: -60px;
    left: -0px;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    background: #999;
    padding: 5px 15px;
}

        #calendar-container {
            display: grid;
            grid-template-columns: repeat(10, 1fr); /* 10日表示 */
            gap: 10px;
        }
        .calendar-day {
            border: 1px solid #ccc;
            padding: 10px;
            text-align: center;
            font-size: 12px;
        }
        .calendar-day ul {
            margin: 0;
        }
        .calendar-day li {
            padding: 5px;
            margin: 2px 0;
            cursor: pointer;
        }
        .calendar-day li:hover {
            background-color: #e0e0e0; /* ホバー時の背景色 */
        }
        #selected-date, #selected-time {
            font-weight: bold;
            margin-top: 10px;
        }
 #selected-date2, #selected-time2 {
            font-weight: bold;
            margin-top: 10px;
        }

#popup-btn  {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    background-color: #ccc;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
	max-width: 320px;
    }


#popup-btn2  {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    color: #000;
    background-color: #ccc;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
	max-width: 320px;
    }

#prev-month-btn{
    display: inline-block;
    padding: 5px 10px;
    font-size: 10px;
    color: #000;
    background-color: #ccc;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
	max-width: 20%;
		margin:10px 0;
}

#next-month-btn{
	    display: inline-block;
    padding: 5px 10px;
    font-size: 10px;
    color: #000;
    background-color: #d09f9f;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
	max-width: 20%;
		margin:10px 0;
}


#prev-btn{
	    display: inline-block;
    padding: 5px 10px;
    font-size: 10px;
    color: #000;
    background-color: #ccc;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
	max-width: 20%;
		margin:10px 0;
}

#next-btn{
    display: inline-block;
    padding: 5px 10px;
    font-size: 10px;
    color: #000;
    background-color: #d09f9f;
    border: none;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease, transform 0.2s ease;
	max-width: 20%;
	margin:10px 0;
}

@media screen and (max-width: 1024px) {
#calendar-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
	}


@media screen and (max-width: 768px) {
#calendar-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
	}




    .form-width45{
        padding: 10px;
        font-size: 1.4rem;
        border: 1px solid #808080;
        max-width: 224px;
    }
    
    .form-width51{
        -webkit-appearance: none; /* Safariのデフォルトスタイルを無効化 */
        -moz-appearance: none;    /* Firefoxのデフォルトスタイルを無効化 */
        appearance: none;         /* 他のブラウザでも対応 */
    max-width: 224px;
        padding: 10px;
        font-size: 1.4rem;
        border: 1px solid #808080;
        width: 70%;
    height:32px;
    }
    
    .form-width75{
        padding: 10px;
        font-size: 1.4rem;
        border: 1px solid #808080;
        width: 70%;
        max-width: 318px;
    }
    
    .form-width52{
        -webkit-appearance: none; /* Safariのデフォルトスタイルを無効化 */
        -moz-appearance: none;    /* Firefoxのデフォルトスタイルを無効化 */
        appearance: none;         /* 他のブラウザでも対応 */
        margin-top: 5px;
        padding: 10px;
        font-size: 1.4rem;
        border: 1px solid #808080;
        max-width: 145px;
    height:40px;
    }
    
    .main-contents {
        position: relative;
        z-index: 30;
        background: #f6f6f0;
    }
    
    .page-header {
        background: #f6f6f0;
    }
    .page-header h1 {
        background: none;
        color: #65adb3;
        padding: 95px 20px 30px;
        border-bottom: solid 1px #211816;
        font-size: 2.3rem;
        margin: 0 auto 45px;
    }
    
     .page-header-bottom {
        font-size: 1.4rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        width: 600px;
        margin: 0 auto 0px;
        padding-bottom: 20px;
    }
    
     .page-header-bottom a {
        position: relative;
        display: block;
        color: #696b8d;
        padding-left: 20px;
        font-weight: 600;
    }
    
     .page-header-bottom a::before {
        content: '';
        font-family: "icon";
        font-style: normal;
        font-weight: normal;
        speak: never;
        line-height: 1;
        position: absolute;
        left: 5px;
        top: 50%;
        -webkit-transform: translateY(-50%) scale(1, 0.7);
        transform: translateY(-50%) scale(1, 0.7);
        transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        color: #696b8d;
    }
    .first-wrap {
        max-width: 770px;
        margin: 75px auto 0px;
    }
    .setsumei-wrap {
        border: solid 1px #808080;
        padding: 30px 45px;
    }
    .first-wrap h2 {
        font-size: 1.4rem;
        margin-bottom: 1em;
        text-align: center;
    }
    .setsumei-wrap .pic img {
        width: 100%;
    }
    .setsumei-wrap .setumei-tel {
        border-top: solid 1px #808080;
        border-bottom: solid 1px #808080;
        margin-bottom: 28px;
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .setsumei-wrap .setumei-tel a {
        font-size: 2.9rem;
        font-weight: 600;
        letter-spacing: 0.1em;
    }
    .setsumei-wrap .setumei-tel span {
        font-size: 1.2rem;
        margin-left: 55px;
    }
    .section {
        max-width: 800px;
        margin: 0 auto;
    }
    .contents h2 {
        color: #65adb3;
        display: block;
        margin-bottom: 1em;
        font-size: 2rem;
    }
    .mailform-tbl {
        width: 100%;
        border: 1px solid #808080;
    }
    
    .mailform-tbl tr {
        width: 100%;
        border-bottom: 1px solid #808080;
        font-weight: normal;
    }
    .mailform-tbl th {
        padding: 0px;
        text-align: left;
        vertical-align: top;
        font-weight: normal;
        width: 30%;
        border: none;
        background: none;
        font-weight: 600;
        background: #e1e1e2;
        padding: 15px 25px;
        letter-spacing: 0.12em;
        font-size: 1.4rem;
    }
    .mailform-tbl td {
        padding: 15px 35px;
        width: 70%;
        border: 0px solid #ccc;
        vertical-align: middle;
        letter-spacing: 0.12em;
        font-size: 1.4rem;
        background: #fff;
    }
    .mailform-tbl th p {
        margin: 0;
    }
    .attention {
        font-size: 80%;
        background: #af272d;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 20px;
        letter-spacing: 0.2em;
        font-size: 1.3rem;
        margin-top: 3px;
    }
    .contents__agree__check {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .mwform-checkbox-field {
        display: block;
        margin: 0 !important;
    }
    .contents__agree__check .attention {
      margin: 10px 0 0 20px;
    }
    .form-width14{
        margin-right: 20px;
    }
    
    .submit-button input {
        margin: 1em auto;
        width: 320px;
        height: 57px;
        border: none;
        background: #65adb3;
        color: #fff;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-appearance: none;
        border-radius: 12px;
        font-size: 1.5rem;
        transition: all 0.4s ease;
        -webkit-transition: all 0.4s ease;
    position: relative;
    }
    .submit-button::before {
        content: "＞";
        position: absolute;
        top: 50%;
        right: 30px;
        z-index: 2;
        color: #fff;
        font-size: 1.3rem;
        line-height: 0;
        transform: scale(1, 1.3) translateY(-50%);
        -webkit-transform: scale(1, 1.3) translateY(-50%);
        pointer-events: none;
    }
    
    #default-message{
    color: #ccc;
    }

.guridon-tu{
    display: grid;
    grid-template-columns: 1fr 1fr;
gap: 10px;
max-width:780px;
margin:0 auto;
}
.guridon-tu img{
max-width:100%;
}
    @media (min-width: 769px) {
        .reserve-form .page-header-bottom a::before {
            font-size: 2rem;
        }
    }
    
    @media (max-width: 768px) {
        .page-header h1 {
            background: #65adb3;
            color: #fff;
            padding: 35px 20px 35px;
            border-bottom: solid 0px #211816;
            font-size: 2.1rem;
            width: 100%;
            margin: 0 auto 50px;
        }
        .reserve-form .page-header-bottom {
            padding: 0 20px 20px;
            flex-direction: column;
            flex-wrap: nowrap;
            width: 100%;
        }
    .reserve-form .page-header-bottom a {
        position: relative;
        display: block;
        color: #696b8d;
        padding-left: 20px;
        font-weight: 600;
    }
     .page-header-bottom {
            padding: 0 20px 20px;
            flex-direction: column;
            flex-wrap: nowrap;
            width: 100%;
    text-align: center;
        }
    .page-header-bottom p {
            margin-bottom: 0px;
        }
        .first-wrap h2 {
            font-size: 1.6rem;
            padding: 0 20px;
        }
        .setsumei-wrap p {
            font-size: 1.3rem;
            margin-bottom: 2em;
        }
        .setsumei-wrap {
            border: solid 0px #808080;
            border-top: solid 1px #808080;
            padding: 20px;
        }
        .setsumei-wrap .setumei-tel {
            padding: 20px;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            flex-wrap: nowrap;
        }
        .setsumei-wrap .setumei-tel span {
            font-size: 1rem;
            margin-left: 0px;
        }
        .mailform-tbl th {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 6px 20px;
            letter-spacing: 0.06em;
            font-size: 1.4rem;
        }
        .mailform-tbl td {
            display: block;
            width: 100%;
            padding: 20px 20px;
            width: 100%;
            border: 0px solid #ccc;
            vertical-align: middle;
            letter-spacing: 0.12em;
            font-size: 1.4rem;
            background: #fff;
        }
    .form-width75 {
        padding: 10px;
        font-size: 1.4rem;
        border: 1px solid #808080;
        width: 100%;
        max-width: 318px;
    }
    }