@charset "utf-8";


section {
    padding: 60px 30px;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    width: 100%;
    margin-top: 70px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(70%);
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

.hero-text h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 2px;
    font-family: 'Yu Mincho', 'Hiragino Mincho ProN', 'serif';
}

.hero-text {
    position: absolute;
    color: white;
    left: 5%;
    bottom: 15%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}

/* ヒーローロゴ (アニメーション初期状態) */
.hero-logo-overlay {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 200px;
    z-index: 10;
    opacity: 0;
    transition: opacity 1.5s ease-out;
}

.hero-image.is-visible,
.hero-logo-overlay.is-visible {
    opacity: 1;
}

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

.absolute-item1 {
    position: absolute;
    height: auto;
    width: 500px;
    top: 120px;
    right: 90px;
    max-width: 25%;
}

/* Concept Section */
#concept {
    /* background: #F4E3C5; */
    padding: 80px 0;
}

.concept-content {
    display: flex;
    gap: 0px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

.concept-image {
    position: relative;
    width: 60%;
    /* flex: 1.2; */
    min-height: 450px;
    overflow: hidden;
    border-radius: 10px 10px 10px 10px;
}

.concept-image img {
    width: 108%;
    height: 108%;

    object-fit: cover;
    display: block;

    /* 念のため画像自体にも角丸を適用 (あれば残す) */
    border-radius: 10px;

    /* 大きくした分、画像を中央に微調整（これで角が均等に埋まります） */
    position: relative;
    top: -1%;
    left: -1%
}

.concept-text {
    position: absolute;
    right: 0;
    bottom: 15px;
    width: 45%;
    background: white;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.concept-text h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #8b7355;
    font-weight: 500;
    border-bottom: 1px solid #8b7355;
    padding-bottom: 5px;
}

.concept-text p {
    font-size: 15px;
    line-height: 2.2;
    color: #666;
}



/* Menu Section */
.menu-intro {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.menu-items {
    /* display: grid; */
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.menu-item {
    display: flex;
    gap: 30px;
    align-items: center;
    background: #e6fddc;
    padding: 20px;
    border-radius: 8px;
}

.menu-item:nth-child(even) {
    flex-direction: row-reverse;
}

.menu-image {
    /* flex: 1; */
    width: 50%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

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

.menu-text {
    /* flex: 1; */
    width: 50%;
    margin-left: 10px;
}

.menu-text h3 {
    font-size: 24px;
    color: #7fb069;
    margin-bottom: 10px;
    margin-top: 10px;
}

.menu-text .time {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.menu-text p {
    font-size: 14px;
    color: #666;
    line-height: 2;
}

.menu-link {
    text-align: center;
    margin-top: 30px;
}

.menu-link a {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid #7fb069;
    color: #7fb069;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
}

.menu-link a:hover {
    background: #7fb069;
    color: white;
}



/* -----------------------------------
 * News Section
 * ----------------------------------- */
.news__list {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    list-style-type: none;
    padding-left: 0;
}


.news__item {
    /* display: flex;
    align-items: center; 
    padding: 15px 0;
    border-bottom: 1px solid #a8a8a8; */
    padding: 0; /* paddingをnews__linkに移動 */
    border-bottom: 1px solid #a8a8a8;
}

.news__link {
    /* display: flex;
    padding: 15px 0;
    gap: 20px;
    align-items: center;
    text-decoration: none;
    color: #5a4a3a; */
    display: flex; /* これで子要素が横並びになる */
    align-items: center;
    text-decoration: none;
    color: #5a4a3a;
    padding: 15px 0; 
    gap: 20px; 
}

.news__link:hover {
    background: rgba(139, 115, 85, 0.05);
}

.news__date {
    flex-shrink: 0;
    color: #807e7e;
    font-size: 14px;
    width: 90px;
}

.news__category {
    width: 70px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    color: #795548;
    border: 1px solid #795548;
    padding: 3px 0;
    border-radius: 3px;
}

.news__text {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#news {
    background-color: #F4E3C5;

}

.news__title {
    flex-grow: 1; 
}

/* Access Section */
.access-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.map {
    width: 60%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.access-info {
    width: 40%;
}

.access-info h3 {
    font-size: 20px;
    color: #8b7355;
    margin-bottom: 10px;
    margin-top: 10px;
}

.access-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.access-info a {
    color: #7fb069;
    text-decoration: none;
}


/* Gallery Section */
/* #gallery {
    background: #F4E3C5;
} */

.gallery-main {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.gallery-thumb {
    height: 100px;
    cursor: pointer;
    transition: all 0.3s;
    overflow: hidden;
    border: 3px solid transparent;
    border-radius: 8px;
    /* 追加 */
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover {
    transform: none;
    /* transform: scale(1.05); */
    border-color: #8b7355;
}

.gallery-thumb.active {
    box-shadow: 0 2px 10px rgba(139, 115, 85, 0.3);
}



/* Footer */
footer {
    background-image: url(../image/footer-imagjpg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 30px 30px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-bottom: 30px;
}

.footer-nav a {
    color: #8b7355;
    text-decoration: none;
    font-size: 16px;
}

.social-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    display: inline-block;
}

.follow-text {
    font-size: 12px;
    color: #999;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
/* top.css の @media ブロック全体 */

/* -----------------------------------
 * タブレット・スマートフォン共通 (max-width: 768px)
 * ----------------------------------- */
@media (max-width: 768px) {

    /* ヒーローセクション */
    .hero {
        margin-top: 70px;
        height: 450px;
    }

    .hero-logo-overlay {
        top: 20px;
        right: 20px;
        width: 180px;
        max-width: 40%;
    }

    .hero-text {
        bottom: 30px;
        left: 20px;
    }

    .hero-text h1 {
        font-size: 22px;
        /* フォントサイズを縮小 */
    }

    /* コンセプトセクション */
    .concept-content {
        flex-direction: column;
        /* gap: 20px; */
        padding: 0 20px;
    }

    .concept-image {
        width: 100%;
        min-height: auto;
        border-radius: 10px 10px 0 0;
    }

    .concept-text {
    position: static; 
    width: 100%; 
    border-radius: 0 0 10px 10px; 
    margin-top: -4px; 
    margin-bottom: 30px;
}

    /* .concept-text {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        padding: 40px 30px;
        margin-top: -80px;
    } */

    /* メニューセクション */
    .menu-items {
        /* メニューアイテム全体を中央に配置 */
        align-items: center;
    }

    .menu-item {
        flex-direction: column !important;
        gap: 0;
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
        padding: 20px;
    }

    .menu-item:nth-child(even) {
        flex-direction: column !important;
        /* 反転を解除 */
    }

    .menu-image {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 250px;
        overflow: hidden;
    }

    .menu-image img {
        /* width: 100%; */
        /* height: 100%; */
        height: auto;
        object-fit: cover;
        /* object-position: center; */
        display: block;
    }

    .menu-text {
        width: 100%;
        /* padding: 20px 0px 0px; */
        padding: 0;
        margin-left: 0;
        text-align: center;
    }

    .menu-items {
        gap: 20px; /* 元が40pxなら、モバイルでは20pxなどに縮小 */
    }

    /* ニュースセクション */
    .news__link {
        flex-wrap: wrap;
        gap: 5px 10px;
        align-items: flex-start;
    }

    .news__date {
        order: 2;
        width: 100%;
    }

    .news__category {
        order: 1;
    }

    .news__text {
        order: 3;
        width: 100%;
        white-space: normal;
        /* テキストを折り返す */
    }

    /* アクセスセクション */
    .access-content {
        flex-direction: column;
        /* 縦積み */
        gap: 30px;
    }

    .map {
        width: 100%;
        height: 300px;
    }

    /* ギャラリーセクション */
    .gallery-main,
    .gallery-main img {
        height: 400px;
        /* メイン画像の高さを調整 */
    }

    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
        /* サムネイルを3列に */
    }

    .gallery-thumb {
        height: 80px;
        /* サムネイルの高さを調整 */
    }

    /* フッター */
    .footer-nav ul {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* -----------------------------------
 * スマートフォン専用 (max-width: 480px)
 * ----------------------------------- */
@media (max-width: 480px) {

    /* ヒーローセクション */
    .hero {
        height: 350px;
    }

    .hero-logo-overlay {
        width: 120px;
        top: 10px;
        right: 10px;
    }

    .hero-text {
        bottom: 20px;
        left: 15px;
    }

    .hero-text h1 {
        font-size: 18px;
    }

    /* メニューセクション */

    .menu-image{
        height: 220px;
    }
    .menu-intro {
        font-size: 14px;
        padding: 0 10px;
    }

    .menu-text h3 {
        font-size: 20px;
        margin-top: 0;
    }

    .menu-text p {
        font-size: 12px;
        line-height: 1.6;
    }

        .menu-item {
        padding: 0 20px 10px 20px;
    }

    /* ギャラリーセクション */
    .gallery-main,
    .gallery-main img {
        height: 300px;
    }

    #contact-hero .model-inner{
        padding:0;
    }
}

.menu-detail-link {
    display: inline-block;
    color: #763201;
    /* 濃い茶色やカフェのテーマカラー */
    border-bottom: 1px solid #763201;
    text-decoration: none;
    /* デフォルトの下線を消す */
    padding-bottom: 5px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.menu-detail-link:hover {
    opacity: 0.7;
}

/* モバイルでの調整 (必要な場合) */
@media (max-width: 768px) {
    .menu-detail-link {
        font-size: 14px;
    }
}

/* 携帯（スマートフォン）用のスタイル */
@media screen and (max-width: 768px) {
    
    /* model-inner の幅制約を解除し、左右の余白のみ残す */
    .model-inner {
        max-width: 100%; 
        margin-left: 0;
        margin-right: 0;
        padding: 40px 0px; 
    }
    
    /* 補足: news__listの max-width も解除し、画面幅に合わせる */
    .news__list {
        max-width: 100%;
    }

    .concept-content.model-inner{
        padding: 40px 60px; 
    }
    
}