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

body {
    font-family:
        "ヒラギノ角ゴ ProN W3",
        "Hiragino Kaku Gothic ProN",
        "メイリオ",
        "Meiryo",
        "ＭＳ ゴシック",
        "MS Gothic",
        sans-serif;
    margin: 0;
    padding: 0;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

/*lodain section*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.note {
    font-size: 2.5rem;
    margin: 0 8px;
    color: #444;
    opacity: 0;
    animation: fadeNote 1.5s infinite;
}

.note:nth-child(2) {
    animation-delay: 0.3s;
}

.note:nth-child(3) {
    animation-delay: 0.6s;
}

.note:nth-child(4) {
    animation-delay: 0.9s;
}

@keyframes fadeNote {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

.content {
    display: none;
    opacity: 0;
    width: 100%;
    height: auto;
    transition: opacity 0.8s ease;
}

.content.show {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    opacity: 1;
}

a.btn_07 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #9e9e9e;
    text-align: center;
    text-decoration: none;
    width: 100%;
    max-width: 400px;
    min-width: 120px;
    height: auto;
    margin: 20px auto;
    padding: 1rem 2rem;
    font-weight: bold;
    font-size: 1rem;
    flex-direction: column;
    color: #ffffff;
    border-bottom: 2px solid #424242;
    border-radius: 10px;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, .3);
    transition: 0.5s;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

@media (max-width: 1500px) {
    a.btn_07 {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }
}

.slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fade 30s infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 8s;
}

.slide:nth-child(3) {
    animation-delay: 16s;
}

.slide:nth-child(4) {
    animation-delay: 24s;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    40% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

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

.block {
    padding: 20px;
    background: linear-gradient(135deg,
            rgba(82, 42, 173, 0.7) 0%,
            rgba(60, 40, 70, 0.7) 40%,
            rgba(90, 60, 120, 0.7) 70%,
            rgba(40, 40, 40, 0.7) 100%);
    border-radius: 5px;
    text-align: center;
}

.content-wrapper {
    width: 35%;
    height: 100vh;
    overflow-y: visible;
    padding: 20px;
    border-radius: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.content-wrapper::-webkit-scrollbar {
    display: none;
}

.close-menu {
    display: block;
    text-align: right;
    padding: 15px;
    color: rgb(0, 0, 0);
    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;
    text-align: center;
    align-items: center;
}

.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: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: ;
    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: #ffffff;
    transition: 0.3s;
    z-index: 1000;
}

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

.menu a {
    display: block;
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 15px;
}

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

.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;
}

.red {
    color: red;
    font-size: 40px;
}

.shadow {
    top: 50%;
    left: 0;
    padding: 0;
    margin: 0;
    font-size: clamp(16px, 4vw, 30px);
    width: 100%;
    color: #FFD700;
    font-weight: bold;
    text-align: center;
    -webkit-text-stroke: 0.3px #494949;
    /*text-shadow: -2px -2px 3px #c9c9c9,
        2px -2px 3px #c9c9c9,
        2px 2px 3px #c9c9c9,
        -2px 2px 3px #c9c9c9;*/
    white-space: nowrap;
}

.sakura {
    position: absolute;
    top: 0;
    background-image: url('img/fuwafuwa.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(110vh) 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_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: normal;
        word-break: break-word;
    }
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: grey;
    padding: 20px 40px;
    color: #fff;
    font-family: "Arial", sans-serif;
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-sns {
    display: flex;
    gap: 20px;
}

.footer-sns a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-sns a:hover {
    color: #ffda73;
    transform: scale(1.2);
}

@media (max-width: 480px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .footer-sns {
        flex-direction: row;
        gap: 15px;
    }

    .footer-sns a {
        font-size: 1rem;
    }
}

.sliderr {
    margin: 0 auto;
    width: 90%;
}

.sliderr .slide-item {
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sliderr .slide-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 480px) {
    .sliderr .slide-item img {
        width: 100%;
    }
}

.slick-slide {
    height: auto !important;
    margin: 0 5px;

}

.slick-list {
    overflow: visible;
}

p,
span,
h1,
h2,
h3 {
    transform: rotate(0.03deg);
}

.img-hover-wrapper {
    display: inline-block;
    overflow: hidden;
}

.img-hover {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform-origin: center center;
}

.img-hover-wrapper:hover .img-hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.img-hover.active {
    transform: scale(1.1);
    opacity: 0.8;
}


.mobile-only {
    display: none;
}

@media (max-width: 1500px) {
    .mobile-only {
        display: block;
    }
}


.desktop-only {
    display: none;
}

@media (min-width: 1501px) {
    .desktop-only {
        display: block;
    }
}