@charset "UTF-8";

body {
    margin: 0;
    min-width: 100%;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    background-color: #fdebcf;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

* {
    box-sizing: border-box;
}

header {
    background-color: white;
    opacity: 0.5;
    position: fixed;
    --mask:
        radial-gradient(33.6px at 50% calc(100% - 47px), #000 99%, #0000 101%) calc(50% - 40px) 0/80px 100%,
        radial-gradient(33.6px at 50% calc(100% + 27px), #0000 99%, #000 101%) 50% calc(100% - 20px)/80px 100% repeat-x;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    height: 80px;
    width: 2000px;
}

.loop_wrap {
    display: flex;
    width: 100vw;
    height: 300px;
    overflow: hidden;
}

.loop_wrap img {
    width: auto;
    height: 100%;
}


.key-title {
    background-image: url(../img/IMG_5340.jpg);
    height: 600px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    text-align: center;
}

.slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #fdebcf;
}

.slide-track {
    display: flex;
    width: calc(300px * 6);
    animation: scroll 20s linear infinite;
}

.slide {
    width: 300px;
    height: auto;
    flex-shrink: 0;
    margin-right: 10px;
}

/* アニメーション */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.access-list {
    margin-left: 30px;
    padding-top: 20px;
}

.nav-list {
    display: flex;
    font-weight: 700;
    line-height: 1.25;
}

.nav-item {
    padding: 20px 10px 10px 10px;
}

.nav-item:hover {
    color: cadetblue;
}

footer {
    padding: 40px;
    background-color: white;
    --mask:
        radial-gradient(33.6px at 50% 47px, #000 99%, #0000 101%) calc(50% - 40px) 0/80px 100%,
        radial-gradient(33.6px at 50% -27px, #0000 99%, #000 101%) 50% 20px/80px 100% repeat-x;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    opacity: 0.5;
}

.copyright {
    padding-top: 20px;
    align-items: center;
}

.photo-item {
    width: 300px;
    height: 300px;
}

.photo-item:hover {
    transform: scale(1.05);
}

.photo-item {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    border-radius: 8px;
}

h2 {
    text-align: center;
    font-size: 40px;
    padding-bottom: 20px;
    padding-top: 20px;
}

h3::before {
    content: "🏖️";
}

footer p {
    font-size: 14px;
    text-align: center;
}

iframe {
    margin-left: 50px;
}

@media screen and (max-width:768px) {
    section {
        padding-bottom: 40px;
    }

    .container {
        text-align: center;
    }

    .access-address {
        text-align: center;
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .Photo-list {
        display: grid;
        gap: 20px;
        text-align: center;
    }

    img {
        width: 400px;
        height: 300px;
    }

    .coment {
        margin-left: 55px;
        padding-top: 20px;
        padding-bottom: 20px;
        text-align: left;
    }

    .photo-item {
        width: 400px;
        height: 300px;
    }
}


@media screen and (min-width:768px) {
    body {
        min-width: 100%;
        margin: 0;
    }

    .access-row {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .container {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        max-width: 1000px;
    }

    .container img {
        width: 300px;
        height: 300px;

    }

    .coment {
        font-size: 1.1em;
        line-height: 1.8;
        color: #555;
        flex: 1;
    }

    .access-address {
        line-height: 1.75;
        letter-spacing: 0.05em;
    }

    .Photo-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
        list-style: none;
        padding: 0;
        margin: 0;
        margin-left: 20px;
    }

    .photo-item {
        width: 300px;
        height: 300px;
        display: block;
        object-fit: cover;
    }

    .container {
        display: flex;
        gap: 20px;
        align-items: center;
        padding-bottom: 20px;
    }

    h1 {
        font-size: 50px;
    }

    .img1,
    .img2,
    .img3 {
        width: 500px;
        height: 200px;
        padding-left: 80px;
    }


    .Photo-list {
        display: grid;
        gap: 20px;
        grid-template-columns: 1fr 1fr 1fr;
    }

}