@charset "UTF-8";

/* --- PC表示時のレイアウト設定（Flexbox） --- */

/* レイアウトの親箱 */
.layout-wrapper {
    display: flex;
    justify-content: space-between; /* メインとサイドバーを両端に配置 */
    align-items: flex-start; /* 上端を揃える */
    width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* メインコンテンツ */
#contents {
    width: 560px; /* 余白を含めて600px相当 */
    padding: 20px 0 40px 40px; /* 左に40pxの余白 */
    text-align: left;
    box-sizing: content-box;
}

/* サイドバー */
#sidebar {
    width: 210px;
    padding-top: 20px;
}

/* ヘッダー画像 */
#header img {
	height: 250px;
	width: 900px;
}

/* 見出し */
h2 {
	color: #FF9900;
	margin-bottom: 25px;
	font-size: 20px;
    border-bottom: 1px dotted #FF9900;
    padding-bottom: 10px;
}

/* 説明文 */
#exp {
    margin-bottom: 30px;
    line-height: 1.8;
}
	
#exp a {
    color: #FF9900;
	text-decoration: none;
    font-weight: bold;
}

#exp a:hover {
    color: #CC7A00;
	text-decoration: underline;
}

/* --- バナーエリア --- */

#menu-banner-area {
    width: 100%;
    display: flex;
    flex-direction: row; /* 横並び */
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.menu-banner {
    display: block;
    width: calc(50% - 10px);
    height: 140px;
    text-decoration: none;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-size: cover;
    background-position: center;
}

/* 画像ファイル指定 */
.bread-bg {
    background-image: url('../img/menu/banner_bread.jpg');
}
.special-bg {
    background-image: url('../img/menu/banner_special.jpg');
}

.banner-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.banner-title {
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    margin-bottom: 5px;
    text-align: center;
}

.banner-sub {
    color: #FFDDAA;
    font-size: 12px;
    font-family: Century Gothic, sans-serif;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.menu-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.menu-banner:hover .banner-overlay {
    background: rgba(0, 0, 0, 0.1);
}

/* サイドバー内の画像調整 */
#inquirybanner, #blog {
    margin-bottom: 20px;
    transition: 0.3s;
}

#inquirybanner a:hover img, 
h3 a:hover img {
    opacity: 0.7;
}

/* --- スマホ対応 --- */
@media screen and (max-width: 640px) {
    .layout-wrapper {
        width: 100% !important;
        flex-direction: column;
        padding: 0;
    }

    #contents {
        width: 100% !important;
        padding: 20px !important; /* スマホでは均等な余白 */
        box-sizing: border-box;
    }

    #sidebar {
        width: 100% !important;
        text-align: center;
        padding: 20px 0;
    }
    
    #sidebar img {
        max-width: 90%;
        height: auto;
    }
    
    /* インスタカードも中央寄せ */
    .insta-card {
        margin: 0 auto 20px !important;
    }

    #header img {
        width: 100% !important;
        height: auto !important;
    }

    #menu-banner-area {
        flex-direction: column;
        gap: 15px;
    }

    .menu-banner {
        width: 100%;
        height: 160px;
    }
    
    .banner-title {
        font-size: 20px;
    }
}