/* --- 1. 基本設定（リセット・初期設定） --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lexend Deca', sans-serif; color: #fff; line-height: 1.6; background-color: #8ca2ba; word-break: break-all; }

/* ---indexpage-- */
/* --- 2. 共通コンテナ・装飾 --- */
.container { max-width: 1100px; margin: 0 auto; padding: 40px 10px; }
.text-center { text-align: center; }
.bg-light { background-color: #96acc4; }
.font-lexend { font-family: 'Lexend Deca', sans-serif !important; }
.thin-line { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); margin: 5px 0; }

/* --- 3. ヘッダー（固定配置・浮遊感） --- */
header {
    /* レイアウト設定 */
    display: flex; align-items: center; /* これが中身を上下中央にする命令 */
    
    /* サイズと配置 */
    height: 70px;
    position: fixed; top: 10px; left: 10px; right: 10px;
    width: calc(100% - 20px); /* 左右から10pxずつ空けるなら合計20px引くのが正確です */
    max-width: 1100px; margin: 0 auto;
    
    /* 見た目 */
    background: #8ca2ba; font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);    
    z-index: 100;
    border-radius: 3px;
}
.header-container { width: 100%; max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
a.cafe-title { font-size: 1.7rem; font-weight: bold; letter-spacing: 2px; text-decoration: none; color: #fff; }

/* ヘッダー右側のアイコン・ボタン用エリア */
.header-right { display: flex; align-items: center; gap: 20px; }
.sns-icon { color: #fff; font-size: 20px; text-decoration: none; transition: 0.3s; }
.sns-icon:hover { color: #888; }

/* --- 4. ヒーローセクション（トップ画像） --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('images/top-image-001.jpg') center/cover no-repeat;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 40px; position: relative; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.hero-content {
    display: flex; flex-direction: column; align-items: center; /* これで真ん中になります */
    gap: 5px; animation: bounce 2s infinite;
}

.scroll-down { text-align: center; color: #fff; font-size: 12px; letter-spacing: 0.2em; animation: fadeIn 1s ease-out forwards; }
/* 縦棒の設定 */
.arrow {
    width: 1px; height: 40px; /* 少し長く */
    background: #fff; margin: 10px auto 0; position: relative;
    /* 縦棒を少し斜めに傾けるとかっこいい */
    transform: rotate(0deg); animation: bounce 2s infinite;
}

/* 右向きの斜め線（/ みたいなやつ） */
.arrow::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 1px; height: 15px; /* 斜め線の長さ */
    background: #fff;
    /* 下の端を基点に45度回転させて「ノ」のような形にする */
    transform-origin: bottom left; transform: rotate(45deg); 
}

/* --- 5. コンテンツセクション（メニュー・その他） --- */
.section-title { text-align: center; font-size: 2rem; margin: 10px 0px; }
h1.section-title { text-align: center; font-size: 2rem; letter-spacing: 0.1em; margin: 10px 0; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.store-item { position: relative; overflow: hidden; border-radius: 3px; }
.store-item img { width: 100%; aspect-ratio: 4 / 6; object-fit: cover; display: block; }
.store-item p { position: absolute; bottom: 0; left: 0; width: 100%; margin: 0; padding: 10px 10px; text-align: center; color: #fff; font-weight: 500; letter-spacing: 0.15em; font-size: 16px; z-index: 2; display: flex-end; justify-content: center; align-items: center; }
.store-item p::before { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 100px; background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%); z-index: -1; }
.shop_coment { text-align: center; align-items: center; font-size: 1.5rem; margin: 10px;}

.info-flex { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.info-text { flex: 1; min-width: 300px; }
.map { flex: 1; min-width: 300px; border-radius: 3px; border: 1px solid #ccc; }
.map iframe { border-radius: 3px; filter: grayscale(20%); }
.btn-sns { display: inline-block; padding: 5px 15px; background: transparent; color: #fff; text-decoration: none; border-radius: 3px; font-size: 1rem; transition: 0.3s; margin-top: 10px; border: 1px solid #ffffff;}
.btn-sns:hover { background: transparent; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); transform: translateY(-2px); }

footer { background: #ffffff00; color: #fff; text-align: center; padding: 20px 20px; }
.lang-switcher { margin-top: 20px; }
.lang-switcher a { color: #fff; text-decoration: none; margin: 0 10px; transition: 0.3s; }
.lang-switcher a:hover { color: #fff; }
.footer-name { font-family: 'Lexend Deca', sans-serif; font-size: 1.5rem; }
.footer-allrr { color: #798ca0; }

.links { color: #fff;/* 色を指定 */ text-decoration: none;   /* 下線を消す */ }

/* --- 6. ポップアップメニュー（スマホ/PC共通） --- */
/* ハンバーガーボタン */
.menu-btn { width: 30px; height: 20px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
.menu-btn span { display: block; height: 2px; background: #fff; transition: 0.3s; }
.menu-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ポップアップメニューの初期状態 */
.popup-menu {
    position: absolute; top: 70px; right: 0px; left: 0px;
    margin: 10px 0; background: rgba(140, 162, 186, 0.95);
    padding: 30px; border-radius: 0px;
    opacity: 0; visibility: hidden;
    transform: translateY(-20px); transition: 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); z-index: 1000;
}
/* メニューが開いた状態 */
.popup-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
/* メニュー内のリンクを縦に並べる */
.popup-menu ul { list-style: none; display: flex; flex-direction: column; align-items: center; }
.popup-menu li { margin: 15px 0; }
.popup-menu a { color: #fff; text-decoration: none; font-weight: bold; font-size: 1.2rem; letter-spacing: 0.2em; border-bottom: 1px solid rgba(255, 255, 255, 0.3);}

header nav:not(.popup-menu) { display: none; }

/* --- 7. アニメーション・スマホ向け調整 --- */
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { opacity: 0; transform: translateY(30px); transition: opacity 1s ease-out, transform 1s ease-out; }
.animate-in.is-visible { opacity: 1; transform: translateY(0); }

/* スマホ向け設定 */
.br-sp { display: none; }
@media (max-width: 768px) {
    .br-sp { display: block; }
    .container { padding: 30px 20px; }
    .section-title { font-size: 1.4rem; }
    .shop_coment { font-size: 1rem; }
}
/* end---indexpage-- */

/* ---menupage-- */
/* 全体を中央寄せにするためのコンテナ設定 */
.menu-container { max-width: 1100px; margin: 0 auto; text-align: center; padding: 40px 10px; }

/* h2のデザイン */
.menu-h2 {
    text-align: left;
    background: rgba(255, 255, 255, 0.2);
    padding: 0px 20px;
    margin: 40px 0 20px 0;
    width: 100%;
    display: block;
    box-sizing: border-box;
    border-radius: 3px;
}

/* 商品名左寄せ・価格右寄せの設定 */
.menu-list { 
    max-width: 500px; 
    margin: 0 auto; 
    text-align: left;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* 画像の基本設定 */
.section-img { 
    width: 100%; 
    max-width: 500px;
    border-radius: 3px; 
    display: block; 
    margin: 10px auto;
    aspect-ratio: 16 / 9; /* 横16:縦9の比率にする */
    object-fit: cover;    /* その比率に合わせて中心で切り抜く */ 
}

/* ボタン風デザイン */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #8ca2ba;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
    margin-top: 10px;
}

/* Sweetsの3列並び */
.sweets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Sweets内の画像調整 */
.box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

/* スマホの時は縦並びにする */
@media (max-width: 768px) {
    .sweets-grid { grid-template-columns: 1fr; }
    .menu-container { padding: 30px 20px; }
}
/* end---menupage-- */

.head-pedding { padding-top: 60px; } /* ここをヘッダーの高さに合わせて調整 */
