/* 共通スタイル */
:root {
    --primary-color: #333;
    --secondary-color: #666;
    --accent-color: #8B4513;
    --background-color: #D6CFC1;
    --text-color: #333;
}

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

html {
    scroll-behavior: smooth;
    font-feature-settings: "palt";
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* レイアウト */
.container {
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 40px;
    min-height: 80vh;
}

.wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ヘッダー */
.header {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.header-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.header-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.header-slide.active {
    opacity: 1;
    z-index: 2;
}

.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.header-video.active {
    opacity: 1;
    z-index: 2;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.main {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.logo {
    height: 90px;
    margin: 0 auto;
    filter: brightness(0) invert(1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* ナビゲーション */
.nav {
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    transition: background 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

.nav ul {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav ul li {
    width: auto;
}

.nav a {
    color: #fff;
    text-shadow: 0 0 8px rgba(139, 69, 19, 0.5);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
}

.nav a:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
    margin-left: 1rem;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    margin-left: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 0;
    line-height: 0;
    position: relative;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: #fff;
    transition: fill 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.social-link:hover .social-icon {
    fill: var(--accent-color);
}

/* Aboutセクション */
#about {
    background: url('imges/about.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    position: relative;
    padding: 120px 0;
    width: 100%;
    margin-top: 40px;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    backdrop-filter: blur(5px);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.coffee-logo {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
    transition: transform 0.6s ease;
    opacity: 0;
    transform: translateY(20px) rotate(0deg);
}

.coffee-logo.visible {
    opacity: 1;
    transform: translateY(0) rotate(360deg);
}

.coffee-logo:hover {
    transform: rotate(15deg);
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-title.visible {
    opacity: 1;
    transform: translateY(0);
}

#about .hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: #fff;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#about .hero-subtitle.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-text {
    font-size: 1.2rem;
    line-height: 2.5;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-text.visible {
    opacity: 1;
    transform: translateY(0);
}

#about .button {
    margin-top: 2rem;
    text-align: center;
}

#about .button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    /* padding: 12px 20px; */
    border: 2px solid #fff;
    border-radius: 30px;
    color: #fff;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

#about .button a:hover {
    background: #fff;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#about .button .icon {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

#about .button .svg-icon {
    width: 0.9em;
    height: 0.8em;
    fill: currentColor;
    transform: rotate(-45deg);
    transition: transform 0.5s ease-out;
}

#about .button a:hover .svg-icon {
    transform: rotate(0deg);
}

/* Menuセクション */
#menu {
    background-color: #D99C72;
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px;
    box-sizing: border-box;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#menu-list {
    background-color: #D99C72;
    padding: 80px 0;
    position: relative;
}

#menu-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
}

#menu-list .container {
    position: relative;
    z-index: 1;
}

.menu-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
}

.menu-left {
    width: 600px;
    height: 600px;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

.menu-left:hover {
    transform: translateY(-5px);
}

.menu-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-right {
    width: 600px;
    height: 600px;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    padding: 40px;
    box-sizing: border-box;
}

.menu-right:hover {
    transform: translateY(-5px);
}

.menu-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
    font-weight: 700;
}

.menu-text {
    font-size: 1.1rem;
    margin: 0 auto;
    line-height: 2;
    padding: 0 10px;
    color: #666;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    width: 100%;
}

#menu .button {
    margin-top: 60px;
}

.space-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
}

.space-left h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
    font-weight: 700;
}

.space-right img {
    width: 100%;
    height: auto;
    object-fit: initial;
}

#news {
    padding: 96px 32px;
    text-align: center;
    background: url('imges/news.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

#news h2 {
    color: #fff;
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.news-items {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.news-item {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #666;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.news-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    flex-grow: 1;
}

#info {
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px;
    box-sizing: border-box;
    margin-top: 40px;
    min-height: 80vh;
    background-color: #f5f5f5;
}

.info-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-left {
    width: 50%;
    height: 600px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.info-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
}

.info-title h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.info-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-right {
    width: 50%;
    background: white;
    padding: 40px;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-right dl {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info-right dt {
    width: 25%;
    font-weight: 700;
    color: #333;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.info-right dd {
    width: 75%;
    margin: 0;
    padding: 10px 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

.map-container {
    width: 100%;
    height: 300px;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.footer-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px rgba(244, 109, 25, 0.253);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.footer-button.show {
    display: flex;
}

.svgIcon {
    width: 12px;
    transition-duration: 0.3s;
}

.svgIcon path {
    fill: white;
}

.footer-button:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: #8B4513;
    align-items: center;
}

.footer-button:hover .svgIcon {
    /* width: 20px; */
    transition-duration: 0.3s;
    transform: translateY(-200%);
}

.footer-button::before {
    position: absolute;
    bottom: -20px;
    content: "Back to Top";
    color: white;
    /* transition-duration: .3s; */
    font-size: 0px;
}

.footer-button:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    /* transform: translateY(-30px); */
    transition-duration: 0.3s;
}

footer {
    background: url('imges/mainvisual.png') no-repeat center center;
    background-size: cover;
    padding: 120px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    z-index: 1;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

footer p {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

/* ボタンスタイル */
.button {
    margin-top: 40px;
    text-align: center;
}

.button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding: 20px 60px;
    border: 2px solid #fff;
    border-radius: 30px;
    color: #fff;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.button a:hover {
    background: #fff;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.button .icon {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    transition: transform 0.5s ease-out;
}

.button .svg-icon {
    width: 0.9em;
    height: 0.8em;
    fill: currentColor;
    transform: rotate(-45deg);
    transition: transform 0.5s ease-out;
}

.button a:hover .svg-icon {
    transform: rotate(0deg);
}

/* セクション別のボタンカスタマイズ */
#menu .button a,
#space .button a {
    border-color: #333;
    color: #333;
}

#menu .button a:hover,
#space .button a:hover {
    background: #333;
    color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .container {
        padding: 0 10px;
        min-height: unset;
    }

    .about-content,
    .space-content {
        padding: 20px 10px;
        max-width: 100%;
    }

    .menu-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-card {
        width: 100%;
        min-width: unset;
        max-width: 100%;
    }

    .menu-card img {
        height: 160px;
    }

    .hero-title,
    .about-title,
    .space-title {
        font-size: 2rem;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        margin-top: 20px;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .hero-text,
    .about-text,
    .space-text {
        font-size: 1rem;
        padding: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .logo {
        height: 60px;
    }

    .nav {
        padding: 0.5rem 1rem;
    }
}

/* 920px以下でハンバーガーメニューを表示 */
@media screen and (max-width: 920px) {
    .hamburger {
        display: block;
    }

    .nav-content {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        padding: 2rem;
        box-sizing: border-box;
        z-index: 1000;
    }

    .nav-content.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav ul li {
        width: 100%;
    }

    .nav a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
    }

    .social-links {
        margin-left: 0;
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    /* メニューが開いている時のbodyのスクロールを無効化 */
    body.menu-open {
        overflow: hidden;
    }
}

@media screen and (max-width: 768px) {
    .nav {
        padding: 0.5rem 1rem;
    }

    .nav ul {
        gap: 0.5rem;
    }

    .nav a {
        font-size: 0.8rem;
        padding: 0.3rem 0.5rem;
    }

    .footer {
        padding: 60px 20px;
    }

    .footer p {
        font-size: 0.9rem;
    }

    #menu {
        padding: 40px 10px;
    }

    .menu-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .menu-left {
        width: 100%;
        height: auto;
        min-height: unset;
        padding: 0;
    }

    .menu-left .slideshow {
        width: 100%;
        height: 200px;
    }

    .menu-left img {
        width: 100%;
        object-fit: cover;
        display: block;
    }

    .menu-right {
        width: 100%;
        height: auto;
        min-height: unset;
        padding: 20px;
        box-sizing: border-box;
    }

    .menu-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .menu-text {
        font-size: 0.9rem;
        line-height: 1.8;
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    #space {
        padding: 40px 10px;
    }

    .space-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .space-left,
    .space-right {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }

    .space-right {
        margin-top: 20px !important;
    }

    #news {
        padding: 40px 10px;
    }

    .news-items {
        display: flex;
        flex-direction: column;
    }

    .news-item img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }


    #info {
        padding: 40px 10px;
    }

    .info-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .info-left,
    .info-right {
        width: 100%;
    }

    .info-left {
        height: 400px;
    }

    .info-title h2 {
        font-size: 1.8rem;
    }

    .info-right dl {
        flex-direction: column;
    }

    .info-right dt,
    .info-right dd {
        width: 100%;
    }

    .map-container {
        height: 200px;
    }

    .hamburger {
        display: block;
    }

    .nav-content {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-content.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .social-links {
        flex-direction: column;
        margin: 2rem auto;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }

    .social-link {
        width: 45px;
        height: 45px;
        margin: 0 auto;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    /* aboutページ */
    .about-header {
        height: 60vh;
    }

    .about-wrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 0 16px 0;
        max-width: 100%;
        align-items: stretch;
    }

    .about-left,
    .about-right {
        width: 100%;
        height: auto;
        min-height: unset;
        margin: 0;
        border-radius: 1rem;
        box-sizing: border-box;
        text-align: center;
        /* padding: 12px 4px; */
        background: rgba(217, 217, 217, 0.7);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    }

    .about-wrapper img {
        width: 100%;
        height: auto;
        max-height: 180px;
        object-fit: cover;
        border-radius: 1rem;
        margin-bottom: 8px;
    }

    .about-right h2,
    .about-left h2 {
        margin-bottom: 12px;
        font-size: 1.1rem;
        font-weight: bold;
    }

    .about-text {
        margin: 0 auto;
        font-size: 1.15rem;
        line-height: 2.1;
        color: #333;
        text-align: left;
        background: none;
        padding: 0 4px;
    }
}

/* iPhone向けのメディアクエリ */
@media screen and (max-width: 428px) {

    /* iPhone 12 Pro Max の幅 */
    .container {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .nav {
        padding: 0.8rem 1rem;
    }

    .nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .nav a {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }

    .main {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }

    .logo {
        height: 70px;
    }

    .about-content,
    .menu-wrapper,
    .space-wrapper,
    .info-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .menu-right,
    .space-left,
    .info-right {
        width: 100% !important;
        padding: 40px;
    }

    .menu-title,
    .space-wrapper h2,
    .info-title h2 {
        font-size: 1.8rem;

    }

    .menu-text,
    .space-text,
    .about-text {
        font-size: 1rem;
        line-height: 1.5;
    }

    .news-items {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-item {
        margin-bottom: 15px;
    }

    .map-container {
        height: 300px;
    }

    .social-links {
        justify-content: center;
        gap: 15px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .social-icon {
        width: 20px;
        height: 20px;
    }

    .button a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    40% {
        transform: rotate(45deg) translateY(-10px);
    }

    60% {
        transform: rotate(45deg) translateY(-5px);
    }
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* aboutページ */
.about-header {
    background-image: url(imges/main-about.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.about-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-text {
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 2.1;
    color: #333;
    text-align: left;
    background: none;
    padding: 0 4px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
}

.about-left,
.about-right {
    width: 100%;
    border-radius: 1rem;
    padding: 24px 16px;
    box-sizing: border-box;
    text-align: center;
    height: auto;
    min-height: unset;
}

.about-wrapper img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 1rem;
}

.about-right h2,
.about-left h2 {
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: bold;
}

.about-text {
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 2.1;
    color: #333;
    text-align: left;
    background: none;
    padding: 0 4px;
}

/* spaceページ */
.space-header {
    background-image: url(imges/space1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#coffee-space {
    width: 100%;
    margin: 0 auto;
    padding: 80px 40px;
    box-sizing: border-box;
    margin-top: 40px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.space-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    backdrop-filter: blur(5px);
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#coffee-space {
    background-image: url(imges/space-main.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin-top: 40px;
}

.space-title {
    margin-bottom: 40px;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.space-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.space-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.space-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-left {
    background: rgba(217, 217, 217, 0.7);
    width: 500px;
    height: 500px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.space-right {
    width: 600px;
    height: 600px;
    background: rgba(217, 217, 217, 0.7);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    margin-left: -100px;
    margin-top: 40%;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.space-wrapper h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.space-wrapper h2.visible {
    opacity: 1;
    transform: translateY(0);
}

.space-wrapper h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #8B4513;
    transition: width 0.6s ease;
}

.space-wrapper h2.visible::after {
    width: 100%;
}

.space-text {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 2.2;
    text-align: left;
    width: 80%;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    padding: 20px 40px;
}

.space-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* space-contentのスタイル */
.space-content {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.space-content .about-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.space-content .hero-text {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.space-content .about-text {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


@media (max-width: 600px) {
    .about-wrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 0 0 16px 0;
        max-width: 100%;
        align-items: stretch;
    }
}

/* menuページ */
.menu-header {
    background-image: url(imges/main3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
}

#menu-page {
    background: url('imges/main2.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 120px 0;
    width: 100%;
    margin-top: 40px;
}

.menu-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.menu-section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-content: center;
    margin-bottom: 100px;
    padding: 0 20px;
}

.menu-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-5px);
}

.menu-card-img {
    width: 100%;
    height: 300px;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
}

.menu-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-card-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.menu-card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.menu-card-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B4513;
    margin-top: auto;
}

@media (max-width: 900px) {
    .menu-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 0 15px;
    }

    .menu-card-img {
        height: 250px;
    }
}

@media (max-width: 600px) {
    .menu-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
        margin-bottom: 60px;
    }

    .menu-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .menu-card-img {
        height: 200px;
    }

    .menu-card-content {
        padding: 15px;
    }

    .menu-card-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .menu-card-text {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .menu-card-price {
        font-size: 1rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    color: #fff;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scroll-text {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* テキストのはみ出し防止 */
p,
.hero-text,
.menu-text,
.space-text,
.about-text,
.news-text,
.news-title,
.news-date,
.menu-card-text,
.menu-card-title,
.menu-card-desc {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
}

/* レスポンシブ時のテキスト調整 */
@media (max-width: 900px) {

    p,
    .hero-text,
    .menu-text,
    .space-text,
    .about-text,
    .news-text,
    .news-title,
    .news-date,
    .menu-card-text,
    .menu-card-title,
    .menu-card-desc {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 10px;
    }
}

@media (max-width: 600px) {

    p,
    .hero-text,
    .menu-text,
    .space-text,
    .about-text,
    .news-text,
    .news-title,
    .news-date,
    .menu-card-text,
    .menu-card-title,
    .menu-card-desc {
        font-size: 0.9rem;
        line-height: 2;
        text-align: center;
        word-break: break-all;
    }
}

/* 予約ページ */
.reservation-header {
    background-image: url(imges/mainvisual.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

#reservation-page {
    background: url('imges/main.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 120px 0;
    width: 100%;
    /* margin-top: 40px; */
    overflow: hidden;
}

.reservation-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#reservation-page .about-content {
    position: relative;
    z-index: 2;
}

.reservation-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.reservation-header .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    filter: brightness(0) invert(1);
}

.reservation-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 40px 20px;
}

.reservation-info {
    background: rgba(217, 217, 217, 0.7);
    padding: 30px;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.reservation-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.reservation-info dl {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reservation-info dt {
    font-weight: 700;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.reservation-info dd {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.reservation-form {
    background: #fff;
    padding: 40px;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reservation-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.required {
    color: #e74c3c;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.submit-button {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.submit-button:hover {
    background: #6b3410;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
    .reservation-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 15px;
    }

    .reservation-info,
    .reservation-form {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .reservation-wrapper {
        padding: 20px 10px;
        gap: 20px;
    }

    .reservation-info,
    .reservation-form {
        padding: 20px;
    }

    .reservation-form h3 {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .submit-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* スクロールアニメーション */
.scroll-animation-item {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animation-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* アニメーションの遅延を設定 */
.scroll-animation-item:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-animation-item:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-animation-item:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-animation-item:nth-child(4) {
    transition-delay: 0.4s;
}

.scroll-animation-item:nth-child(5) {
    transition-delay: 0.5s;
}

.scroll-animation-item:nth-child(6) {
    transition-delay: 0.6s;
}