/* 画面全体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    margin-bottom: 0 !important;
}

#Content{
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: rgba(247,247,247,1);
    width: 100%;
    overflow-x: hidden;
}

#BodyArea {
    width: 100%;
    background-color: rgba(247,247,247,1);
    overflow-x: hidden;
    min-height: 100vh;
}

.main-container {
    min-height: 500px;
    max-width: 100%;
    width: 100%;
    flex: 1;
    /* Remove min-width: 1024px; as it forces horizontal scrolling */
}

/* ヘッダー */
#Header {
    width: 100%;
    height: 100%;
    background-color: rgba(247,247,247,1);
    border-bottom: solid 0.1rem rgba(115,145,172,1);
    font-family: Noto Sans CJK JP, sans-serif;
    font-style: normal;
    text-align: center;
    word-wrap: break-word;
    color: rgba(112,112,112,1);
    font-weight: lighter;
    font-size: 0.9rem;
}


/* ヘッダーテキスト */
.header-text-position {
    padding: 10px 0px 15px 0px;
    width: 100%;
    height: 100%;
    overflow: visible;
    background-color: white;
    margin-bottom: 20px;
}

.header-title {
    margin: 10px 0 5px 0;
}

.header-text {
    margin: 14px 0 3px 0;
    width: 100%;
}

.header-message {
    text-align: left;
    padding: 5px;
    width: 100%;
}


.sub-header {
    background-color: rgba(247,247,247,1);
    font-family: Noto Sans CJK JP, sans-serif;
    font-style: normal;
    text-align: center;
    word-wrap: break-word;
    color: rgba(112,112,112,1);
    font-weight: lighter;
    font-size: 0.9rem;
    text-align: left;
    padding: 30px 5px 0px 5px;
    width: 100%;
}
.sub-header-title {
    border-bottom: solid 0.1rem rgba(115,145,172,1);
    padding-bottom: 5px;
}

.left-pain {
    padding: 30px 0;
    background-color: rgba(247,247,247,1);
}

.center-pain {
    padding: 30px 0px 30px 30px;
}
.center-pain-sticked {
    padding: 15px 0px 20px 0px;
}
.each-sction {
    background-color: rgba(255,255,255,1);
}

.store-selection {
    width: 80%;
    padding: 0px 0px 0px 10px;
}
.store-selection select {
    width: 80%;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.8rem;
}

.store-detail-info {
    font-size: 0.9rem;
    padding: 10px 0px 5px 0px;
}

.store-detail-title {
    font-weight: bold;
    padding: 10px 0px 0px 0px;
}

.access-detail-title {
    color: #2080d0;
    font-weight: bold;
    padding: 10px 0px 0px 0px;
}

.google-map-button {
    font-size: 0.7rem;
    margin-bottom: 10px;
}

.store-info {
    margin: 40px 0px 20px 0px;
    font-size: 0.9rem;
}
.store-detail {
    padding: 5px 0px 0px 0px;
}

.map-info {
    height: 300px;
    margin: 10px 0;
}

.map-app {
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.161));
    text-align: center;
    font-weight: bold;
    font-size: 7px;
    color: rgba(255,255,255,1);
    background-color: rgba(52,168,83,1);
}

#Map {
    border: 1px solid lightgray;
    height: 100%;
}

.select-revervation-menu-title {
    background-color: rgba(247,247,247,1);
}

.menu-name {
    font-weight: bold;
    padding: 10px 0px 10px 0px;
}
.menu-period {
    padding: 0px 0px 5px 0px;
}
.menu-message-to-visitor {
    font-size: 0.8rem;
    padding: 0px 0px 5px 0px;
}

/* フッター */
.footer {
    font-size: 6pt;
    background-color: white;
    width: 100%;
    height: 60px;
    margin-top: 30px;
    padding-bottom: 7px;
}

/*フッターテキスト*/
.footer-text{
    width: 100%;
    display:flex;
    flex-direction: column;
}

.line-footer {
    overflow: visible;
    padding: 0 30px 0 30px;
    display:flex;
    flex-direction: column;
    font-size: 0.6rem;
}

/* LINE公式アカウント */
.line {
    position: relative;
    display: flex;
}

.line img {
    margin-right: 20px;
}

.line span {
    white-space: nowrap;
    text-align: left;
    color: rgba(68,68,68,1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.line a{
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}

/* フッターリンク */
.footer-text-link {
    margin: 7px 0 5px;
}

.footer-text-link span {
    text-align: left;
}

.footer-text-link a {
    color: rgba(6,153,230,1);
}

.footer-privacy {
    margin-right: 20px;
}

/* コピーライト */
.copy-write {
    font-size: 6pt;
    margin-bottom: 7px;
    text-align: center;
    vertical-align: bottom;
    letter-spacing: 0.23px;
    width: 100%;
    height: 100%;
}


.previous-week {
    margin: 0px 0px 0px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 600px;
    font-size: 0.8em;
}

.arrow {
    font-size: 1.2em;
}

.next-week {
    margin: 0px 10px 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 600px;
    font-size: 0.8em;
}

.agreement-check {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.agreement-check input {
    margin: 10px;
}

.agreement-body {
    padding: 30px 30px 30px 30px;
    font-size: 0.8em;
}


.date-selection {
    padding: 0px 0px 30px;
}

/* Schedule Table */
.schedule-container {
    max-height: 600px;
    overflow-y: auto;
}

.schedule table {
    border-collapse: collapse;
    width: 100%;
}
.schedule th {
    font-weight: normal;
    width: 10%;
}
.schedule th, td {
    padding: 4px;
    text-align: center;
    height: 25px;
    font-size: 0.8em;
    border-bottom: 1px solid #ddd;
}
.gray-slot {
    background-color: #f0f0f0;
}
.blue-slot {
    background-color: #f0f8ff;
    cursor: pointer;
}
.blue-slot.selected {
    background-color: #4da6ff; /* Stronger blue color */
    color: white;
}
.blue-slot.selected .circle {
    color: white;
}
.yellow-slot {
    background-color: #ffffe0;
    cursor: pointer;
}
.yellow-slot.selected {
    background-color: #ffcc00; /* Stronger yellow color */
    color: white;
}
.yellow-slot.selected .triangle {
    color: white;
}
.circle {
    color: #2080d0;
    font-weight: bold;
    font-size: 0.8rem;
}
.triangle {
    color: #ffa500;
    font-size: 1.2em;
}
.cross {
    color: #909090;
    font-size: 1.2em;
}
.time-cell {
    font-size: 0.7rem;
    width: 80px;
    text-align: right;
    border: none;
}
.time-spacer {
    width: 5px;
    padding-left: 15px;
    border-bottom: 1px solid #ddd;
}
.spacer {
    width: 2px;
    border-bottom: 1px solid #ddd;
}

.schedule thead th {
    padding-bottom: 20px;
}

.schedule tbody tr:last-child {
    border-bottom: 1px solid #ddd;
}



/* 次へボタン */
.button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.button-enabled {
    cursor: pointer;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 63px;
    margin-top: 50px;
}

.next-button {
    width: 30%;
    height: 100%;
    transform-origin: center;
    background-color: rgba(6,153,230,1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-text {
    overflow: visible;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    font-weight: bold;
    margin-left: 10px;
    color: rgba(255,255,255,1);
}

.next-button-arrow {
    opacity: 0.5;
    width: 18%;
    height: 100%;
    background-image: url(../img/icon/right-arrow.svg);
    background-repeat: no-repeat;
    overflow: visible;
    right: 0;
}

/* ------------------------------- */

.confirm-reservation {
    padding: 0px 0px 20px 0px;
}
.alert-message-row {
    background-color: rgba(255,255,255,1);
    padding: 15px 15px 0px 15px;
    margin: 10px 0px 0px 0px;
}

.confirm-reservation-detail {
    margin-left: 30px;
    padding: 0px 0px 0px 0px;
}

.confirm-reservation-detail-text {
    margin-left: 3px;
}

.map-info-sm {
    height: 220px;
    width: 220px;
    margin: 10px;
}

.confirm-store-detail {
    margin-left: 30px;
    padding: 5px 0px 0px 0px;
}

.confirm-store-detail-info {
    font-size: 0.8rem;
    padding: 10px 0px 5px 0px;
}

.confirm-store-detail-title {
    font-weight: bold;
    padding: 10px 0px 0px 0px;
}

.confirm-access-detail-title {
    color: #2080d0;
    font-weight: bold;
    padding: 10px 0px 0px 0px;
}

.confirm-google-map-button {
    font-size: 0.7rem;
    margin-bottom: 10px;
}

.confirm-store-info {
    margin: 40px 0px 20px 0px;
    font-size: 0.8rem;
}
.confirm-store-detail {
    padding: 5px 0px 0px 0px;
}

.confirm-store-name {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 0px 0px 0px;
}
.confirm-reservation-name {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 0px 0px 0px;
}
.confirm-date {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 0px 0px 0px;
}

.confirm-date year-month-day-week {
    padding: 0px 0px 0px 0px;
}

.confirm-time {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 5px 0px 0px 0px;
}
.confirm-time time-slot-time {
    padding: 0px 0px 0px 0px;
}

.confirm-message-to-visitor {
    font-size: 0.8rem;
    padding: 15px 0px 5px 0px;
}

.confirm-message-to-visitor nl2br {
    padding: 0px 0px 0px 0px;
}

.confirm-purpose {
    width: 100%;
    font-size: 0.9rem;
    padding: 15px 0px 0px 0px;
}

.confirm-customer-detail {
    padding-left: 30px;
}

.confirm-note-description {
    font-size: 0.8rem;
}

.confirm-note-row {
    margin-bottom: 20px;
}

.confirm-note-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 0.8rem;
}

.confirm-note-container input {
    margin: 10px;
}

.confirm-note-check-label {
    font-size: 0.8rem;
}

.confirm-note-title {
    font-size: 0.8rem;
}

.confirm-note-text-row {
    margin: 5px;
}

/* この内容で予約へボタン */

.reservation-button {
    width: 30%;
    height: 100%;
    transform-origin: center;
    background-color: rgba(6,153,230,1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.reservation-button-text {
    overflow: visible;
    margin-left: 10px;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    font-weight: bold;
    color: rgba(255,255,255,1);
}

.reservation-button-arrow {
    opacity: 0.5;
    width: 13%;
    height: 100%;
    background-image: url(../img/icon/right-arrow.svg);
    background-repeat: no-repeat;
    overflow: visible;
    right: 0;
}

.iconSearch {
    position: absolute; 
    left: 10px; 
    top: 50%; 
    transform: translateY(-50%);
    fill: grey;
}

#storeDropdown {
    text-align: left;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #000000; 
    background-color: #ffffff;
    padding-right: 30px; /* Make room for the caret icon */
    position: relative;
    z-index: 3; /* Keep input below the caret */
}
#storeDropdown:hover {
    background-color: #f8f9fa;
}

.dropdown {
    position: relative;
    width: 50%;
}

.seri-care-down {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: transform 0.2s;
    z-index: 4; /* Ensure it stays above the input */
}

.seri-care-down.on {
    transform: translateY(-50%) rotate(180deg);
}




/*--------- 完了画面 ----------*/

.completed-header {
    width: 100%;
    height: 100%;
    background-color: rgba(247,247,247,1);
    border-bottom: solid 0.1rem rgba(115,145,172,1);
    font-family: Noto Sans CJK JP, sans-serif;
    font-style: normal;
    text-align: center;
    word-wrap: break-word;
    color: rgba(112,112,112,1);
    font-weight: lighter;
    font-size: 0.9rem;
    margin-bottom: 40px;
}


.completed-content-body {
    width: 70%;
    margin: 0 auto;
}


.completed-header-title {
    padding: 10px 0px 0px 0px;
    width: 100%;
    height: 100%;
    overflow: visible;
    background-color: white;
}
.completed-title-message {
    padding: 30px 0px 0px 0px;
    font-size: 1.2rem;
    font-weight: bold;
    color: rgba(245,32,67,1);
    background-color: rgba(247,247,247,1);
    margin-bottom: 10px;
}
.inquiry-title-message {
    padding: 30px 0px 0px 0px;
    font-size: 1.2rem;
    font-weight: bold;
    color: rgba(131,131,131,1);
    background-color: rgba(247,247,247,1);
    margin-bottom: 10px;
}


.reservation-item {
    border-radius: 3px;
    background-color: #fff;
    padding: 5px 30px;
    margin: 15px 0;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.161));
}


.completed-reservation-number {
    border-radius: 3px;
    background-color: #fff;
    padding: 5px 30px;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.161));
    margin: 0px 0px 30px 0px;
}
.reservation-number {
    width: 100%;
    margin: 15px 0px;
    font-size: 30px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
.reservation-number-title {
    color: rgba(131,131,131,1);
    font-size: 18px;
    margin-right: 30px;
}

.completed-detail {
    padding: 40px 20px 20px 20px;
    margin: 5px 0;
    overflow: visible;
    text-align: center;
}
.completed-detail-header {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.completed-detail-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.completed-reservation-description {
    color: rgba(131,131,131,1);
    text-align: left;
    width: 75%;
    margin: 0 auto;
    margin-bottom: 15px;
}
.completed-custom-field-title {
    text-align: left;
    padding-left: 0px;
    margin: 20px 0px 10px 0px;
}
.completed-custom-field-title-accent {
    text-align: left;
    border-left: 3px solid lightgray;
    padding-left: 5px;
    display: inline-block;
    line-height: 1.2;
}
.completed-custom-field {
    margin-bottom: 10px;
}
.completed-custom-field-name {
    text-align: right;
}
.completed-custom-field-value {
    text-align: left;
}

.label-text-required {
    margin-left: 10px;
    font-size: 0.7rem;
    color: red;
}


.completed-message {
    margin: 40px 0;
}
.completed-message-to-store-title {
    margin: 20px 0;
    text-align: left;
    font-weight: bold;
    font-size: 16px;
    color: rgba(68, 68, 68, 1);
}
.completed-message-to-store {
    text-align: left;
    color: rgba(131,131,131,1);
    width: 60%;
    margin: 0 auto;
    margin-bottom: 15px;
}

.completed-store-info {
    padding: 40px 20px 20px 20px;
    margin: 5px 0;
    overflow: visible;
    margin: 80px 0px 20px 0px;
}



.completed-store-text {
    color: rgba(131,131,131,1);
}
.completed-store-address {
    text-align: left;
    color: rgba(131,131,131,1);
}
.completed-store-access {
    text-align: left;
    color: rgba(131,131,131,1);
}
.completed-access-title {
    margin-top: 10px;
    color: #2080d0;
    font-weight: bold;
}
.completed-map-info-sm {
    margin: 10px;
}
.completed-additional-message {
    margin-top: 20px;
}



.cancellation-header {
    width: 100%;
    height: 100%;
    background-color: rgba(247,247,247,1);
    border-bottom: solid 0.1rem rgba(115,145,172,1);
    font-family: Noto Sans CJK JP, sans-serif;
    font-style: normal;
    text-align: center;
    word-wrap: break-word;
    color: rgba(112,112,112,1);
    font-weight: lighter;
    font-size: 0.9rem;
}


.cancellation-message {
    text-align: center;
    font-size: 1.0rem;
    font-weight: bold;
    color: rgba(245,32,67,1);
    background-color: white;
    padding: 70px 0px 70px 0px;
    margin-bottom: 20px;
}
.completed-lower-note {
    font-size: 0.9rem;
    color: rgba(131,131,131,1);
    width: 70%;
    margin: 20px auto 0px auto;
}
.completed-lower-content {
    margin-top: 40px;
}
.completed-button {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0px 8px 0px;
}
.completed-button button {
    text-align: center;
    width: 200px;
    height: 60px;
}




.seri-button {
    color: white; /* Text color */
    font-weight: bold;
    font-size: 0.8rem; /* Font size */
    padding: 2% 4% 2% 4%; /* Padding around the text */
    border: none; /* No border */
    border-radius: 0px; /* Slightly rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    position: relative; /* For pseudo-element positioning */
    opacity: 0.95;
    overflow: hidden; /* Hide overflow for the pseudo-element */
}

.forward-button {
    background-color: #2080d0; /* Light blue color 19	132	223	*/
}
.backward-button {
    background-color: rgba(152,176,198,1);
}
.cancel-button {
    background-color: rgba(245,32,67,1); /* Red color 223	19	19 */
}

.up-button {
    background-image: url(../img/icon/top-arrow.svg);
    background-repeat: no-repeat;
}

.down-button {
    background-image: url(../img/icon/down-arrow.svg);
    background-position-y: bottom;
    background-repeat: no-repeat;
}

.right-button {
    background-image: url(../img/icon/right-arrow.svg);
    background-position-x: right;
    background-repeat: no-repeat;
}

.left-button {
    background-image: url(../img/icon/left-arrow.svg);
    background-position-x: left;
    background-repeat: no-repeat;
}

.seri-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3); /* White overlay */
    transform: translateX(-50%) translateY(100%);
    transition: transform 0s ease; /* Transition for the hover effect */
}

.seri-button:hover::after {
    transform: translateX(-50%) translateY(0); /* Slide up effect on hover */
}

.seri-button:focus {
    outline: none; /* Remove outline on focus */
}


/*----------------------------------*/
.error-body {
    background-color: rgba(247,247,247,1);
}

.error-header-text-position {
    background-color: white;
    padding: 10px 0px 0px 0px;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.error-header-title {
    margin: 20px 0 20px 0;
    font-size: 1.1rem;
}

.error-content-body {
    background-color: white;
    width: 90%;
    margin: 80px auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    color: #757575;
}

.header-error-message {
    background-color: rgba(247,247,247,1);
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.error-message {
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.error-footer {
    width: 100%;
    font-size: 6pt;
}

.error-footer-links {
    width: 100%;
    overflow: visible;
    background-color: white;
}

.error-line-footer {
    overflow: visible;
    width: 100%;
    padding-bottom: 7px;
    display:flex;
    flex-direction: column;
}

.reservation-error-footer {
    font-size: 6pt;
    background-color: white;
    width: 100%;
    height: 60px;
    margin-top: 30px;
    padding-bottom: 7px;
}
