/* 基本設定 */
body { margin: 0; padding: 0; font-family: "Helvetica Neue", Arial, sans-serif; color: #fff; }
a{ color: #fff; }
/* 背景スライダーの設定 */
#bg-slider {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; /* コンテンツより後ろに配置 */
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out; /* ゆっくりフェード */
}

.slide.active { opacity: 1; }
.sp-br{
    display: none;
}
/* 背景を暗くして文字を読みやすくする */
#bg-slider::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); /* ここで暗さを調整 */
}
header{
    text-align: center;
}
.logo{
    margin-top: 80px;
    margin-bottom: 50px;
}
.pwrapp{
    width: 600px;
}
h2{
    text-align: center;
    font-size: 1.3rem;
}
/* コンテンツ配置 */
.content-wrapper {
    display: flex;
    flex-direction: column; /* 全体は縦方向 */
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    display: flex; /* ここで横並びを指定 */
    flex-direction: row; /* 横並びにする */
    justify-content: center;
    gap: 40px; /* カード同士の間隔 */
    flex-wrap: wrap; /* 画面が狭いときは自動で縦に折り返す */
    width: 100%;
    max-width: 800px; /* カードを並べた時の最大幅 */
}
.store-container{
    display: flex; /* ここで横並びを指定 */
    flex-direction: row; /* 横並びにする */
    justify-content: center;
    gap: 40px; /* カード同士の間隔 */
    flex-wrap: wrap; /* 画面が狭いときは自動で縦に折り返す */
    width: 100%;
    max-width: 800px; /* カードを並べた時の最大幅 */
    margin-top: 50px;
}
.store-wrapper{
    width: 370px;
}
/* カードの設定を以下のように変更してください */
.store-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px 20px; /* 左右のpaddingを少し減らす */
    border-radius: 12px;
    width: 90%;          /* 画面幅の90%にする */
    max-width: 315px;    /* 最大幅を315pxに制限（PC用） */
    color: #333;
    margin: 0 auto;      /* 中央寄せ */
    text-align: center;
    box-sizing: border-box; /* パディングを含めた幅計算にする */
}
/* 住所・電話番号エリアのスタイル */
.store-info dl {
    font-size: 0.85rem; /* 少し小さめの文字サイズ */
    line-height: 1.6;
    margin: 20px 0;
    text-align: left; /* 左寄せにすると読みやすい */
}

/* dtとddを横並びにする設定 */
.store-info dl {
    display: flex;
    flex-wrap: wrap; /* 横幅が足りなくなったら折り返す */
    margin-bottom: 0;
    padding-left: 1rem;
}

.store-info dt {
    width: 20%; /* タイトルの幅 */
    font-weight: bold;
}
.add-l{
    margin-right: 1.7rem;
}
.store-info dd {
    width: 80%; /* 内容の幅 */
    margin: 0 0 0px 0; /* 下に少し余白 */
}

/* ボタン等のスタイルは前回のものを利用 */
.btn { display: block; padding: 15px; margin: 10px 0; text-decoration: none; border-radius: 5px; font-weight: bold; text-align: center; }
.reserve { background: #333; color: #fff; }
.line { background: #06c755; color: #fff; }

.store-info {
    text-align: center;
    color: #fff; /* 背景が画像なので白文字が見やすい */
    margin-top: 15px;
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); /* 画像の上でも読みやすくする */
}

/* Footer */
footer{
    margin-top: 50px;
}

/* 画面幅が767px以下の時（スマホ用）だけ改行を表示する */
@media screen and (max-width: 767px) {
    .pwrapp{
        width: 90%;
        min-width: 320px;
        margin: 0 auto;
        text-align: left;
    }
    .sp-br{
        display: none;
    }
    .store-wrapper{
    width: 100%;
}
    .store-card {
        padding: 20px 15px; /* さらに狭い画面ではpaddingを圧縮 */
        width: 90%;
        min-width: 320px;
    }
    .store-info{
        margin: 0 auto;
        width: 80%;
        min-width: 320px;

    }
    .store-info dl{
        display: block;
    }
    .store-info dt, .store-info dd{
        width: 100%;
    }
}