body {
    text-align: center;
    font-family: "Noto Sans JP", "Playfair Display", Arial, sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    background-image: linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)), url("../img/tile1.png");
    background-repeat: repeat;
    background-size: 100px 100px;
    background-color: #f4f4f4;
    color: #333;
}

header {
    text-align: center;
    padding: 20px;
    color: #333;
}

h1 {
    margin: 0;
    font-size: 2.0em;
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

header .frame {
    display: inline-block;
    padding: 8px;
    border-radius: 18px;
    background: rgba(240, 240, 245, 0.75);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    width: min(50vw, 520px);
    max-width: 50vw;
}

header .frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

.bt_prof {
    display: inline-flex;
    justify-content: center; 
    width: min(50vw, 520px);
    max-width: 50vw;
    margin-top:15px;
    padding: 10px 18px;
    background-color: #a060a5;
    border-radius: 6px;
    color:#ffffff;
}
.bt_prof:hover {
    background-color: #7a36a4;
    cursor: pointer;
}
.proflink {
    transition: background-color 0.2s;
    text-decoration: none;
    font-size: 18px;

}

.map-box{
    width: 80vw;
    max-width: 960px;
    margin: 0px auto;
    margin-top: 20px;
    margin-bottom: 50px;
    padding: 10px;
    background-color: rgba(250, 240, 250, 0.55);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.map-box iframe{
    width: 100%;
    height: 450px;
    border: 0;
}

.sns-icon {
    width: 80px;
    max-height: 80px;
    height: auto;
    vertical-align: middle;
}

.description {
    margin: 20px;
    font-size: 1.2em;
    text-align: center;
}

.scroll-box {
    width: 80vw;
    max-width: 960px;
    margin: 0px auto;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 12px;
    background-color: rgba(250, 240, 250, 0.55);
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    max-height: 400px;
    overflow-y: auto;
    text-align: left;
}

.scroll-box p {
    margin: 0;
    line-height: 1.6;
}

#requirements {
    background-color: black;
    padding-top: 15px;
    position: relative;
    color: white;
}

#requirements::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url("../img/tile2.png");
    background-repeat: repeat;
    background-size: 100px 100px;
    opacity: 0.5;
    z-index: 1;
}

#requirements h2,
#requirements img {
    position: relative;
    z-index: 2;
}

#requirements img {
    width: 70%;
    max-width: 600px;
    padding: 20px;
    display: block;
    margin: 0 auto;
    border-radius: 50px;
}

.event-info {
    margin: 20px;
    text-align: center;
}

.map {
    margin: 20px auto;
    max-width: 600px;
}

.apply-button {
    display: inline-block;
    padding: 12px 24px;
    margin-bottom: 50px;
    background-color: #767676;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    transition: background-color 0.2s;
}
