main {
    margin-top: 66px;
    /* padding-top: 35px !important; */
    position: relative;
}

p {
    font-size: 18px;
    font-weight: 550;
}

.page-content {
    width: 430px;
    max-width: 430px;
    padding-bottom: 20px;
}



/* main:after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, left top, right top, from(#006FBC), color-stop(#EA608E), color-stop(#FABE00), to(#E5004A));
    background: linear-gradient(90deg, #006FBC, #EA608E, #FABE00, #E5004A);
    background-size: cover;
    z-index: -1;
    mix-blend-mode: screen;
} */

.content-holder {
    position: relative;
}

/* section .content-holder::before {
    content: "";
    background: url(/view/event-btr/img/img_border_sp.png) no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3vw;
}

section .content-holder::after {
    content: "";
    background: url(/view/event-btr/img/img_border_sp.png) center bottom no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3vw;
} */

.shinkansen {
    position: relative;
    left: 10px;
}

.shinkansen img {
    width: 100%;
    height: auto;
    z-index: 2;
}

.placeName {
    /* display: flex; */
    align-items: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.itemDescription {
    text-align: left;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 15px;
    padding: 10px;
}

.titleText {
    display: flex;
    align-items: center;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    margin-left: 10px;
}

.placeName svg {
    margin-top: 1px;
    margin-right: 10px;
    width: 18px;
    z-index: 10;
}


ul {
    margin: 0;
    padding: 0;
    font-size: 12px;
    list-style: none;
    -webkit-font-feature-settings: 'palt' 1;
    font-feature-settings: 'palt' 1;
}

ul.caution {
    margin: 20px 0 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    -webkit-font-feature-settings: 'palt' 1;
    font-feature-settings: 'palt' 1;
}

ul.caution li {
    position: relative;
    padding: 0 0 0 1.1em;
}

ul.caution li::after {
    position: absolute;
    display: block;
    content: "※";
    top: 0;
    left: 0;
}

ul.caution li {
    list-style: none;
}


/* Exchange places */

.location-info {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.location-title {
    text-align: center;
    margin-bottom: 20px;
}

.spacer {
    margin: 20px 0;
}

.location-details {
    display: flex;
    margin-bottom: 10px;
    text-align: left;
}

.detail-label {
    min-width: 100px;
    font-size: 14px;
    font-weight: 600;
    text-align: justify;
    text-align-last: justify;
}


.detail-value {
    margin-left: 10px;
    flex-grow: 1;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.detail-value a {
    text-decoration: underline;
    color: inherit;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: inline-block;
    max-width: 100%;
}

.detail-value a:hover {
    color: #007BFF;
}


.grid-background {
    position: relative;
    background-color: #f4f4f0;
    background-image: linear-gradient(to right, #dddddd 1px, transparent 1px), linear-gradient(to bottom, #dddddd 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
}

.key-visual-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.key-visual {
    width: 100%;
    height: auto;
    /* Adjust to match design */
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-container {
    position: absolute;
    bottom: -30px;
    /* Moves buttons slightly out of the key visual */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    width: 100%;
}

.event-banner img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* Login Container */
.login-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Background Image */
.login-bg {
    width: 96%;
    display: block;
    margin: 20px auto 0px;
}

/* Centering Buttons Over Background */
.button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 80%;
    /* Adjust as needed */
}

/* Main Button Styling */
.gundamButton {
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, black, black);
    width: 90%;
    max-width: 400px;
    height: 50px;
    max-height: 50px;
    border: 0;
    border-radius: 25px;
    padding: 5px;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Register Button (Orange) */
.registerButton {
    background: linear-gradient(to right, #E66B24, #E66B24);
}

/* Login Button (Black) */
.loginButton {
    background: linear-gradient(to right, black, black);
}

/* Button Disabled State */
.gundamButton:disabled {
    background: linear-gradient(to right, gray, darkgray);
    pointer-events: none;
    cursor: not-allowed;
    transform: none;
}

/* Click Effect */
.gundamButton:active {
    transform: scale(0.95);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Outer Border Effect */
.gundamButton::before {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    bottom: 2px;
    left: 2px;
    border: 2px solid #fff;
    border-radius: 23px;
    pointer-events: none;
}

.title-container {
    font-size: 32px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    text-align: center;
    padding: 5px 10px;
    /* Ensure some space for better appearance */
}

/* Background Highlight */
.highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 40%;
    background-color: #FFB550;
    z-index: -1;
    width: 100%;
    /* Adjusted dynamically */
}

/* Dynamic width for highlight */
.title-container::after {
    content: attr(data-text);
    /* Use text from the container */
    visibility: hidden;
    white-space: nowrap;
    font-size: inherit;
    font-weight: inherit;
    position: absolute;
    left: 0;
    top: 0;
}


.title-container.small {
    font-size: 17px;
    font-weight: 600;
    margin: 5px auto 15px;
}

/* Background Highlight */
.highlight {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 40%;
    background-color: #FFB550;
    z-index: -1;
    width: 100%;
    /* Adjusted dynamically */
}

.title-container.small .highlight {
    background-color: #FF5294;
    opacity: 0.45;
}

.stamp-container {
    display: flex;
    justify-content: center;
    /* Centers the stamps horizontally */
    align-items: center;
    /* Aligns them vertically (if needed) */
    gap: 20px;
    /* Space between stamps */
    padding: 20px 0;
    /* Add spacing above and below */
    flex-wrap: wrap;
    /* Ensures it stays responsive */
}

/* Individual stamp holder */
.stamp-holder {
    width: 120px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stamp images */
.stamp-holder img {
    width: 100%;
    height: auto;
    object-fit: contain;
}