/* ===== 基本設定 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:  'Times New Roman', serif;
    background-color: #fff4eb;
    overflow-x: hidden;
}

h1,h2,h3,h4 {color: #453022;}

/* メインコンテンツの文字リンク */
a {
    color: #8B5A3C ;
    transition: color 0.3s ease;
}

a:hover {
    color: #6B4E3D ; /* ホバー時は少し濃く */
}

a:visited {
    color: #8B5A3C ; /* 訪問済みは少し薄く */
}
/* ===== 画像リンクのホバー効果 ===== */
/* 基本の画像リンクホバー効果 */
a img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

a:hover img {
    opacity: 0.7;
}

/* 特定の画像は個別に設定（必要に応じて） */
/* ロゴは効果なし */
.logo img {
    transition: none;
}

.logo:hover img {
    opacity: 1;
}

/* ===== 右端固定バナー ===== */
.fixed-banner {
    position: fixed;
    right: 0;
    top: 200px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 10px 10px 10px -6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* ===== ヘッダー ===== */
.header {
    background: #fff4eb;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* スクロール時のヘッダー */
.header.scrolled .logo {
    color: #2c3e50;
}

.header.scrolled .nav-menu a {
    color: #2c3e50;
}

.header.scrolled .nav-menu a::after {
    background: #2c3e50;
}

.header.scrolled .hamburger span {
    background: #2c3e50;
}

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

/* ロゴ */
.logo {
    font-family: 'Georgia', serif;
    font-weight: normal;
    font-style: italic;
    font-size: 30px;
    letter-spacing: 1px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    color: rgba(44, 62, 80, 0.7);
    transform: scale(1.05);
}

/* デスクトップナビゲーション */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #453022;
    font-family: 'Georgia', serif;
    font-weight: normal;
    font-style: italic;
    font-size: 17px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 10px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #453022;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: rgba(146, 88, 45, 0.7);
    transform: translateY(-2px);
}

/* ハンバーガーメニューボタン */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #453022;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ハンバーガーメニューのアニメーション */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* モバイルメニューのオーバーレイ */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding: 70px 40px 40px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

/* メニューアイテムのアニメーション */
.mobile-menu.active li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active li:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active li:nth-child(7) { transition-delay: 0.4s; }
.mobile-menu.active li:nth-child(8) { transition-delay: 0.45s; }

.mobile-menu a {
    display: block;
    text-decoration: none;
    color: #453022;
    font-family: 'Georgia', serif;
    font-weight: normal;
    font-style: italic;
    font-size: 18px;
    letter-spacing: 0.5px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: rgba(146, 88, 45, 0.7);
    transform: translateX(10px);
}

/* ===== メインビジュアル（Swiper用に修正） ===== */
.main-visual {
    height: 600px; /* PC基準：固定値 */
    width: 1100px; /* PC：固定幅 */
    position: relative;
    margin: 0 auto;
}

.main-visual-content {
    width: 100%;
    height: 100%;
}

/* スライダー用の追加CSS */
.slide_wrap {
    width: 100%;
    height: 100%;
}

.swiper-container {
    width: 100%;
    height: 600px; /* メインビジュアルと同じ */
    max-height: none !important;
    min-height: none !important;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== コンテンツエリア ===== */
.content-wrapper {
    padding: 20px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.section-wrap {
    background: white;
    padding: 40px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* index - policy */
.section-wrap .policy{
    display: flex;
    flex-direction: row;
    gap:45px;
    margin-bottom: 20px;
}
.policy_txt {
    padding-top: 17px;
    font-size: 17px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}
.policy_txt p{
    margin-bottom: 10px;
}
.policy_txt p:last-child{
    margin: 0;
}

/* index - news */
.news_wrap {
    display: flex;
    flex-direction: row;
    gap:25px;
}
.news_wrap .news{
    min-width: 720px;
    font-size: 12px;
    font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}
.news_wrap .section-wrap {
    padding: 20px 40px 15px;
}
.news_wrap .section-wrap h3 {
	background: none;
	padding: 0;
}
.news_wrap .news ul {
    height: 139px;
    overflow: auto;
    margin-bottom: 10px;
}
.news_wrap .news li{
    margin-bottom: 5px;
}
.news_wrap .news h3{
    margin-bottom: 10px;
}
.news_wrap .ruiji {
    text-align: center;
}
.news_wrap .bnr_wrap li{
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* index - campaign */
.section-wrap .campaign{
    display: flex;
    flex-direction: row;
    gap:45px;
    margin: 20px auto 0;
}
.section-wrap .campaign img{
	width: 80%;
}

/* ===== フッター ===== */
footer {
    color: #fff;
    margin-top: 80px;
}
footer a {
    color: white;
	text-decoration: none;
}
footer a:hover{
    color: #ffeecf;
}
.company-info a {
    color: white;
	text-decoration: none;
}

/* フッターメニュー部分 - 全幅背景 */
.footer-menu-section {
    background: #6b5c50;
    padding: 20px 0;
}

/* グループリンク部分 - 全幅背景 */
.footer-group-section {
    background: #342e2e;
    padding: 20px 0;
}

.fmenu_inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* フッターナビゲーション */
.footer-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-nav li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.footer-nav li a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.footer-nav li a:hover::after {
    width: 100%;
}

.footer-nav li a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* フッターナビに縦線を追加 */
.footer-nav li:not(:last-child)::after {
    content: '|';
    color: rgba(255, 255, 255, 0.6);
    margin-left: 15px;
    font-size: 16px;
}

/* グループリンクエリア */
.grouplink_wrap {
    text-align: center;
}

.grouplink {
    display: flex;
    flex-direction: column;
}

.grouplink ul {
    list-style: none;
    padding: 0;
}

/* ブランドリンク - 横並び中央寄せ */
.brand-links {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 60px;
}

.brand-links li {
    display: flex;
    align-items: flex-start;
    gap: 45px;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px;
}

.brand-item img {
    height: 25px;
    width: auto;
    object-fit: contain;
}

.store-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.store-links a:first-child {
    margin-left: 10px;
}

.store-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* 配送バナー */
.haiso {
    text-align: center;
    padding: 0;
}

.haiso img {
    height: 55px !important;
    width: auto;
    opacity: 1; 
    transition: opacity 0.3s ease; /* ゆっくりとした変化 */
}

.haiso a:hover img {
    opacity: 0.8;
}

/* 会社情報 - 最下段横並び */
.grouplink ul.company-info {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding-top: 25px;
    padding-bottom: 30px;
}

.company-info li {
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.company-info li:first-child {
    font-size: 16px;
}

.company-info li:last-child {
    font-size: 14px;
    margin-top: 2px;
}

.company-info li:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ===== レスポンシブ対応（3段階） ===== */

/* 1. タブレット対応（769px〜1100px） */
@media (max-width: 1100px) and (min-width: 769px) {
    /* 固定バナー */
    .fixed-banner {
        top: 180px;
    }
    
    /* ヘッダー */
    .nav-container {
        padding: 0 30px;
        height: 65px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-menu a {
        font-size: 15px;
    }
    
    /* メインビジュアル */
    .main-visual {
        width: 90%; /* タブレット：90% */
        height: auto; /* 高さは内容に合わせる */
        max-width: none; /* max-width制限解除 */
    }
    
    .swiper-container {
        height: auto; /* 内容に合わせる */
        aspect-ratio: 16/9; /* 横縦比で調整 */
    }
    
    /* コンテンツエリア */
    .content-wrapper {
        width: 95%;
        max-width: 1000px;
        padding: 30px 0;
    }
    
    .section-wrap {
        padding: 30px;
    }
    
    /* policy - 少し縮める */
    .section-wrap .policy {
        gap: 30px;
    }
    
    .policy_txt {
        font-size: 16px;
        padding-top: 15px;
    }
    
    /* news - レイアウト調整 */
    .news_wrap {
        gap: 20px;
    }
    
    .news_wrap .news {
        min-width: 500px; /* PCより小さく */
        font-size: 11px;
    }
    
    .news_wrap .section-wrap {
        padding: 18px 30px 12px;
    }
    
    /* campaign - 少し縮める */
    .section-wrap .campaign {
        gap: 30px;
    }
    
    .section-wrap .campaign img {
        max-width: 45%;
        height: auto;
    }
    
    /* フッター */
    .fmenu_inner {
        padding: 0 30px;
    }
    
    .footer-nav {
        gap: 25px;
    }
    
    .footer-nav li a {
        font-size: 15px;
    }
    
    .brand-links {
        gap: 40px;
    }
    
    .brand-links li {
        gap: 30px;
    }
    
    .brand-item img {
        height: 22px;
    }
    
    .store-links a {
        font-size: 13px;
    }
}

/* 2. モバイル対応（768px以下） */
@media (max-width: 768px) {
    .sp {display: none;}

    /* 固定バナー */
    .fixed-banner {
        top: 120px;
        box-shadow: -2px 0 3px rgba(0, 0, 0, 0.3);
    }

    .banner-content img{
        width: 30px;
    }
    
    /* ヘッダー */
    .nav-container {
        padding: 10px 20px;
        height: 50px;
    }
    .logo img{
        height: 30px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* メインビジュアル */
    .main-visual {
        width: 90%; /* モバイル：90% */
        height: auto; /* 高さは内容に合わせる */
        padding-top: 60px;
        max-width: none; /* max-width制限解除 */
    }
    
    .swiper-container {
        height: auto; /* 内容に合わせる */
        aspect-ratio: 4/3; /* モバイルは少し縦長に */
    }
    
    .swiper-slide {
        height: auto; /* 高さ自動調整 */
    }
    
    .swiper-slide img {
        width: 100%;
        height: auto; /* 画像の自然な比率 */
        object-fit: cover;
    }
    
    /* コンテンツエリア */
    .content-wrapper {
        max-width: none;
        width: 90%;
        padding-top: 40px;
    }
    
    /* policy */
    .section-wrap .policy{
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    .policy_txt {
        padding-top: 0px;
    }
    
    /* news*/
    .news_wrap {
        display: flex;
        flex-direction: column;
        gap: 25px;
        margin-bottom: 20px;
    }

    .news_wrap .news{
        min-width: auto;
    }
    .news_wrap .ruiji img {
        max-width: 400px;
        width: 100%;
    }
    .news_wrap .bnr_wrap li{
        margin-bottom: 20px;
        box-shadow: none;
        text-align: center;
    }
    .news_wrap .bnr_wrap li img {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        max-width: 354px;
        width: 100%;
    }

    /* キャンペーン */
    .section-wrap .campaign{
        display: flex;
        flex-direction: column;
        gap: 45px;
        margin: 20px auto 0;
    }
    
    /* フッター */
    footer {
        margin-top: 40px;
    }
    
    .footer-menu-section {
        padding: 20px 0;
    }
    
    .footer-group-section {
        padding: 20px 0;
    }
    
    .fmenu_inner {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* モバイルでは縦線を非表示 */
    .footer-nav li:not(:last-child)::after {
        display: none;
    }
    
    /* ブランドリンクを縦並びに */
    .grouplink_wrap {
        text-align: center;
    }
    
    .brand-links {
        flex-direction: column !important;
        gap: 20px;
        align-items: center;
    }
    
    .brand-links li {
        flex-direction: column !important;
        align-items: center;
        gap: 20px;
    }
    
    .brand-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .company-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .company-info li {
        text-align: center;
    }
    
    .brand-item img {
        height: 30px;
    }
    
    .haiso img {
        height: 45px !important;
    }
}




/* ===== 下層ページ用メインビジュアル ===== */
.sub-visual {
    height: 550px; /* PC基準：550px */
    width: 1100px; /* PC：固定幅 */
    position: relative;
    margin: 0 auto;
    overflow: hidden; /* 画像がはみ出ないように */
}

.sub-visual-content {
    width: 100%;
    height: 100%;
}

.sub-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を綺麗にフィット */
    display: block;
}

.title_wrap {
	margin: 40px auto;
}
.title_wrap h2{
	margin-bottom: 30px;
}
.subtitle_wrap {
	margin: 20px auto;
}

.section-wrap h3 {
	background-image: url("../takeout/images/bg_title.png");
	background-repeat: no-repeat;
	background-position:  bottom center;
	padding-left: 1em;
}
.section-wrap h3.bgnone {
	background:none;
	padding: 0;
}
.pb13 {padding-bottom: 13px;}

.attention {
	margin-top: 40px;
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
	font-size: 14px;
}

/* タブレット対応（769px〜1100px） */
@media (max-width: 1100px) and (min-width: 769px) {
    .sub-visual {
        width: 90%;
        height: auto;
        max-width: none;
        aspect-ratio: 16/9; /* 横長キープ */
    }
}

/* モバイル対応（768px以下） */
@media (max-width: 768px) {
    .sub-visual {
        width: 90%;
        height: auto;
        padding-top: 60px;
        max-width: none;
        aspect-ratio: 4/3; /* 少し縦長 */
    }
	
	.title_wrap {
	width: 90%;
	margin-left: auto;
	margin-right: auto;
}
.subtitle_wrap {
	width: 90%;
}

.section-wrap h3 {
	background-image:  none;
	padding: 0;
}
}