* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a.btn_06 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ea689d;
    text-align: center;
    text-decoration: none;
    width: 400px;
    min-width: 120px;
    height: 4rem;
    margin: 20px auto;
    padding: 0 2rem;
    font-weight: bold;
    font-size: larger;
    color: #333;
    border-bottom: 2px solid #eb367e;
    border-radius: 100vh;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
    transition: 0.5s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


a.btn_07 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ea689d;
    text-align: center;
    text-decoration: none;
    width: 400px;
    min-width: 120px;
    height: 4rem;
    margin: 20px auto;
    padding: 0 2rem;
    font-weight: bold;
    font-size: larger;
    color: #333;
    border-bottom: 2px solid #eb367e;
    border-radius: 100vh;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
    transition: 0.5s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.btn_07:hover {
    color: #fff;
    background: #ebb7cc;
    border-bottom: 2px solid #fff;
    transform: translateY(3px);
}

body {
    margin: 0;
    padding: 0;
    height: auto;
    background: url('img/sasayosa2026_pc.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.blocks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block {
    padding: 20px;
    background-color: #ffe5e4;
    border-radius: 5px;
    text-align: center;
}

.content-wrapper {
    width: 35%;
    height: 100vh;
    overflow-y: auto;
    padding: 20px;
    border-radius: 10px;
    scrollbar-width: none;
    /* Firefox用 */
    -ms-overflow-style: none;
    /* IE/Edge用 */
}

.content-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari用 */
}

.close-menu {
    display: block;
    text-align: right;
    padding: 15px;
    color: white;
    cursor: pointer;
    font-size: 18px;
}

.digest {
    font-size: 2rem;
    font-weight: bold;
    color: #FFB6C1;
    background: linear-gradient(45deg, #FFB6C1, #c766ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    text-shadow: 2px 2px 5px rgba(255, 102, 178, 0.5);
    animation: pop 0.5s ease-in-out infinite alternate;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.header-image {
    width: 100%;
    height: auto;
    max-height: 1000px;
    object-fit: contain;
}

.news {
    margin: 20px 0;
}

.news h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.news-content {
    padding: 10px;
    flex: 1;
}

.news-content h3 {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
}

.news-content p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
}

.news-item.show {
    opacity: 1;
    transform: translateY(0);
}

.menu-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 5px;
    background: #FFB6C1;
    transition: 0.3s;
    z-index: 1000;
}

.menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background: #FFB6C1;
    color: white;
    padding-top: 60px;
    transition: 0.3s;
    z-index: 1000;
}

.menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px;
}

.menu a:hover {
    background: #f57d8f;
}

.menu.open {
    right: 0;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.midashi {
    padding: 1rem 2rem;
    border: 3px solid #000;
    color: red;
    font-weight: bold;
    border-radius: 5px;
}

.red {
    font-size: 40px;
    top: 50%;
    left: 0px;
    padding: 0px;
    margin: 0px;
    font-size: 30px;
    width: 100%;
    color: rgb(250, 0, 0);
    font-weight: bold;
    text-align: center;
    text-shadow: -2px -2px 3px #c4c4c4, 2px -2px 3px #c4c4c4, 2px 2px 3px #c4c4c4, -2px 2px 3px #c4c4c4;
    white-space: nowrap;
}


.shadow {
    top: 50%;
    left: 0px;
    padding: 0px;
    margin: 0px;
    font-size: 30px;
    width: 100%;
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-shadow: -2px -2px 6px #444444, 2px -2px 6px #444444, 2px 2px 6px #444444, -2px 2px 6px #444444;
    white-space: nowrap;
}

.sakura {
    position: absolute;
    top: 0;
    background-image: url('http://www.pals.co.jp/sp/sasayosa25/img/f_sakura_flower360.png');
    background-size: cover;
    opacity: 0.8;
    pointer-events: none;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(50vh) rotate(360deg);
        opacity: 0;
    }
}

.small {
    font-size: 12px;
}

.terms-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-left: 1px solid #333;
    border-right: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: "Arial", sans-serif;
}

.terms-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
    text-align: center;
}

.terms-content {
    font-size: 0.85rem;
    color: #444;
    text-align: left;
    line-height: 1.6;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
}

.terms-content::-webkit-scrollbar {
    width: 5px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 5px;
}

.terms-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

@media (min-width: 769px) {

    .sp {
        display: none;
    }
}

@media (max-width: 1500px) {

    a.btn_06 {
        width: 300px;
        min-width: 200px;
        height: 3.5rem;
        padding: 0 1.5rem;
    }


    a.btn_07 {
        width: 300px;
        min-width: 200px;
        height: 3.5rem;
        padding: 0 1.5rem;
    }

    body {
        background: none;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        overflow: auto;
    }

    .content-wrapper {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }

    .digest {
        font-size: 1.5rem;
    }

    .no-wrap {
        font-size: 13px;
        white-space: nowrap;
    }
}