@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c');

/* Googleフォント適用 */
body {
    font-family:'Meiryo', 'メイリオ', 'ヒラギノ丸ゴ ProN W3', 'Arial', 'Noto Sans JP', 'sans-serif' ,'Noto Sans JP', 'Verdana', '游ゴシック', 'YuGothic','ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN','Josefin+Sans', 'cursive';
    background: url('img/haikei.png') no-repeat center center fixed; /* 背景画像 */
    background-size: cover; /* 画面全体にフィット */

    /*padding: 60px 0;  上下の余白を追加 */
    min-height: 100vh; /* 高さを最低100vhにしてスクロールを可能に */
    display: flex;
    flex-direction: column;
    align-items: center; /* コンテンツを中央寄せ */
    font-size: 14px;

   
}

/* コンテンツ全体のボックス -------------------------------------------------*/
.container {
    width: 90%;
    max-width: 900px;
    margin-top: 150px; /* 上部に余白を追加 */
}

/* SYSTEMの枠 */
.system-box {
    background: #252a49;
    color: #fff;
    padding: 10px;
    border: 3px solid #D9BC80;
    text-align: center;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}
/* drinkの枠のレイアウト調整 -------------------------------------------------*/
.drink-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* drinkの枠 */
.drink-box {
    background: #252a49;
    color: #fff;
    font-size: 13px;
    padding: 20px;
    border: 2px solid #D9BC80;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
    width: 36%;  /* 横に2列表示 */
    margin: 1% 7%;
    box-sizing: border-box; /* paddingやborderを含めた幅計算 */
}

/* drink_brandの枠 */
.drink-box_brand {
    background: #252a49;
    ;
    color: #fff;
    font-size: 13px;
    padding: 30px;
    border: 2px solid #D9BC80;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
    width: 48%;  /* 横に2列表示 */
    margin: 1% 0;
    box-sizing: border-box; /* paddingやborderを含めた幅計算 */
}

/* SYSTEM タイトル */
.title {
    font-size: 36px;
    font-family: 'ヒラギノ丸ゴ ProN W3','Playfair Display', serif;
    color: #D9BC80;
    margin-bottom: 20px;
}
/* drink タイトル */
.drink-box h2 {
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    color: #D9BC80;
    margin-bottom: 5px;
}
/* drink_brand タイトル */
.drink-box_brand h2 {
    font-size: 16px;
    font-family: 'Playfair Display', serif;
    color: #D9BC80;
    margin-bottom: 5px;
}

.tyousa-box{
    background: #252a49;
    color: #fff;
    font-size: 13px;
    padding: 10px;
    border: 2px solid #D9BC80;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.5);
    max-width: 900px;
    width: 48%;  /* 横に1列表示 */
    margin: 1% 0;
    box-sizing: border-box; /* paddingやborderを含めた幅計算 */
}
.Information-title {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
    color: #252a49;
    text-decoration-color: 0px 0px 15px rgba(218, 218, 218, 0.5);
    margin-bottom: 20px;

}



/* スライドショー用の画像フレーム（画面幅いっぱい） -------------------------------------------------*/
.img-frame {
    position: relative;
    width: 100vw; /* 画面幅いっぱい */
    height: 700px; /* 高さは適宜調整 */
    overflow: hidden;
    margin: 80px 0px 0px;
}

/* スライドショー画像 */
.img-01, .img-02, .img-03, .img-04 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* 各スライドの背景画像 */
.img-01 {
    background-image: url('img/top1.png');
    animation: slide-animation-01 24s infinite;
}
.img-02 {
    background-image: url('img/top2.png');
    animation: slide-animation-02 24s infinite;
}
.img-03 {
    background-image: url('img/top3.png');
    animation: slide-animation-03 24s infinite;
}
.img-04 {
    background-image: url('img/top4.png');
    animation: slide-animation-04 24s infinite;
}

/* スライドショーのアニメーション */
/* スライド1 */
@keyframes slide-animation-01 {
    0%   { opacity: 1; transform: scale(1.0);}
   20%   { opacity: 1;}
   25%   { opacity: 0; transform: scale(1.15);}
   100%  { opacity: 0; transform: scale(1.15);}
}

/* スライド2 */
@keyframes slide-animation-02 {
    0%   { opacity: 0;}
   25%   { opacity: 0; transform: scale(1.1);}
   30%   { opacity: 1;}
   45%   { opacity: 1;}
   50%   { opacity: 0; transform: scale(1.0);}
   100%  { opacity: 0;}
}

/* スライド3 */
@keyframes slide-animation-03 {
    0%   { opacity: 0;}
   50%   { opacity: 0; transform: scale(1.0);}
   55%   { opacity: 1;}
   70%   { opacity: 1;}
   75%   { opacity: 0; transform: scale(1.1);}
   100%  { opacity: 0;}
}

/* スライド4 */
@keyframes slide-animation-04 {
    0%   { opacity: 0;}
   75%   { opacity: 0; transform: scale(1.0);}
   80%   { opacity: 1;}
   95%   { opacity: 1;}
  100%   { opacity: 0; transform: scale(1.1);}
}



/* セクションタイトル -------------------------------------------------*/
.section h2 {
    font-size: 18px;
    font-weight: bold;
    color: #D9BC80;
    margin: 5px 0 5px;
    text-align: center;
    border-bottom: 1px solid #D9BC80;
    display: inline-block;
    padding-bottom: 0px;
}
.section p {
    font-size: 14px;
    margin: 5px 0 5px;
    text-align: left;
    padding: 0px 50px;
}
.section h4 {
    font-size: 12px;
    margin: 5px 0 5px;
    text-align: right;
    padding: 0px 50px;
    padding-bottom: 20px;

}

/* 価格表 -------------------------------------------------*/
table {
    width: 100%;
    border-collapse: collapse;
    margin: 5% 0;
}

table td {
    padding: 6px 50px;
    font-size: 14px;
}

table td:first-child {
    text-align: left;
}

table td:last-child {
    text-align: right;
}

    /* ナビゲーションバー -------------------------------------------------*/
    header {
        width: 100vw;
        background: #252a49;/*(0, 0, 0, 0.8);  半透明の黒 */
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items:center;
        padding:10px 0px;
        max-width: 1200px;
        margin: 0px 0px 0px 40px;     
    }

    .logo {
        color: #D9BC80;
        font-size: 24px;
        font-weight:bold;
        font-family: "Nico Moji";
        margin: 0px ;     

    }

    .logo2 {
        color: #D9BC80;
        font-size: 18px;
        font-weight:bold;
        font-family: "Nico Moji";
    }

    /* 通常のナビゲーションメニュー（PC用） */
    .nav-links {
        display: flex; /* PCでは表示 */
        gap: 20px;
    }

    /* ハンバーガーメニューが開いたときのアニメーション */
    .nav-links.active {
        display: block;  /* 表示 */
        opacity: 1;
    }

    /* メニューリンクのデザイン */
    .nav-links a {
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        padding: 10px 20px;
        display: block;
    }
    

    .nav-links a:hover {
        color: #D9BC80;
    }

    /* ハンバーガーメニュー（スマホ用） */
    .hamburger {
        display: none; /* PCでは非表示 */
        flex-direction: column;
        cursor:pointer;
        position: inline-block;
        top: 7px;
        right: 10px; /* 画面内に収める */
       /* z-index: 1001; 
        background: rgba(0, 0, 0, 0.7);*/
        padding: 20px;
        border-radius: 5px;
        align-items: center;

    }
    /* ハンバーガーのデザイン */
    .hamburger span {
        background: #fff;
        height: 3px;
        width: 30px;
        margin: 5px 0;
        border-radius: 5px;
        transition: 0.3s;
    }

    /* ハンバーガーメニューが開いたときのアニメーション .ハンバーガーアイコンが「×」に変わる動作*/
    .hamburger.open span:nth-child(1) {
        transform: translateY(13px) rotate(45deg);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: translateY(-13px) rotate(-45deg);
    }

    /* コンセプト -------------------------------------------------*/
    #slogan {
        margin-top: 90px;

        top: 40%;
        width: 70%;
        max-width: 100vw;
        box-sizing: border-box; /* パディングを含めて幅を計算 */
        color: #000000;
        line-height: 1.2;
        text-align: center;
        /*
         position: relative;
        background: rgba(0, 0, 0, 0.4);
        transform: translate(0, -50%);
 */
        padding: 20px 10px; /* パディングを少し小さくしてはみ出しを防ぐ */
    }

    /* コンセプト h1*/
    #slogan h1{
        font-size: 80px;
        font-family: 'Nico Moji','M PLUS Rounded 1c', 'sans-serif','Arial','Josefin+Sans','cursive';
        margin-bottom: 20px;
        font-weight:normal;
        color: #252a49;

        border-radius: 44px;
        background: #D9BC80;
        box-shadow:  21px 21px 41px #574b33,
             -21px -21px 41px #ffffcd;
    }

    /* コンセプト h2*/
    #slogan h2{
        font-size: 15px;
        font-weight:normal;
        padding: 3px;
    }

/* アクセス設定-------------------------------------------------*/

.wrap{
    display: flex;  /* 横並び */
    justify-content: space-between; /* 均等配置 */
    align-items: center; /* 中央揃え */
    flex-wrap: wrap;  /*スマホでは縦並び */
}

.bg{
	flex: 1; /* 画像エリアを可変 */
    text-align: center; /* 画像を中央配置 */

}
.bg img {
    max-width: 100%; /* 幅を親要素に合わせる */
    height: auto; /* 縦横比を維持 */
}

.txt {
    font-size: 14px;

    flex: 1; /* テキストエリアを可変 */
    padding: 20 20px;
    margin: 10px;
}
/* マップ調整 */
#map{
	position: relative;
	padding-bottom: 75%;
	height: 0;
	overflow: hidden;
}

#map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
}


/* 室内イメージスライド表示 -------------------------------------------------

スライドの無限ループ
animation の infinite linear では一度止まるので、スムーズにループさせるには 画像を2回繰り返す のがコツ！
transform: translateX(-50%) にすることで、スライドの端が途切れず循環 できるようにする。
スマホで画像が画面幅にフィット
flex-wrap: nowrap; を使い、横並びを維持
画像サイズを width: 100vw / 3（3枚表示） に調整　*/
.slide-container {
    width: 100vw;
    overflow: hidden;
    position: relative;
    margin: 150px auto;
    background: #252a49;
}

.slide-wrapper {
    display: flex;
    width: calc(100% * 10); /* 5枚 × 2セットで10 */
    animation: slide-loop 60s linear infinite;
}

.slide-wrapper img {
    height: 500px;
    width: auto;
    padding: 20px;
    flex-shrink: 0;
}

/* 無限ループアニメーション */
@keyframes slide-loop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }/* 10枚中の5枚分（半分） */
}

/* スライドを一時停止（PC・スマホ共通） */
.slide-paused:hover .slide-wrapper {
    animation-play-state: paused;
}


/* スマホ対応（高さを小さくする）-------------------------------------------------*/
@media screen and (max-width: 800px) {
    .img-frame {
        height: 250px; /* スマホでは少し低くする */
    }

    #slogan {
        width: 100%;
       /* padding: 5px 0px; /* スマホでは余白を小さめに */
    }
    #slogan h1{
        font-size:27px;
        font-family: 'Nico Moji','M PLUS Rounded 1c', 'sans-serif','Arial','Josefin+Sans','cursive';
        /*margin-bottom: 15px; */
        font-weight:normal;
        color: #252a49;
        width: 90%;
        text-align: center;
        padding: 15px;
        border-radius: 44px;
        background: #D9BC80;
        box-shadow:  21px 21px 41px #574b33,
             -21px -21px 41px #ffffcd;
    }

    .nav-links {
        display: none; /* 初期状態は非表示 */
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        text-align: center;
        padding: 20px 0;
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;

    }

    /* メニューが開いたとき */
    .nav-links.active {
        display: flex !important;
        opacity: 1;
    }

    .nav-links li {
        margin: 10px 0;
    }

   
    .hamburger {
       display: flex;

        right: 20px; /* さらに調整 */
    
    }
    /* ドリンク枠表示 */
    .drink-box,
    .drink-box_brand {
        width: 100%; /* スマホでは1列表示 */
    }

    /* ドリンク枠表示 */
    .tyousa-box　{
        width: 100%; /* スマホでは1列表示 */
    }
    /* アクセス表示 ----------------------------------------*/
    .wrap {
        flex-direction: column; /* スマホでは縦並び */
    }
    .bg, .txt {
        width: 100%; /* 幅を100%に */
        margin: 10px;
    }
    .vMid {
        text-align: center;
    }
    /*室内イメージスライド表示 スマホ */
    .slide-container {
        width: 100vw;
    }

    .slide-wrapper {
        display: flex;
        width: calc(100% * 10); /* 5枚 × 2セットで10 */
        animation: slide-loop 30s linear infinite;
    }

    .slide-wrapper img {
        height: 250px;
        padding: 10px;
        width: calc(100vw / 1); /* スマホで3枚表示 */
    }
/* マップ調整 */
#map{
	position: relative;
	padding-bottom: 60%;
	height: 0;
	overflow: hidden; 
    width: 50%;
}
    #map iframe{
        position: absolute;
        top: 0;
        left: 20;
        width: 60% !important;
        height: 100% !important;
        border: 0;
        margin: 10px;
    }

    .table td {
        padding: 6px 5px;
        font-size: 10px;
    }
    .table td:first-child {
        text-align:center;
    }
    .table td:last-child {
        text-align:right;
        font-size: 9px;

    }
}







