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

html,body{background-color:#f4f6f6;width:100%;}
img{border:none;}

*,*::before,*::after{box-sizing:border-box}
html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}
body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}
ul,ol,li{list-style:none;padding:0;margin:0;}
body{min-height:100vh;line-height:1.5}
h1,h2,h3,h4,button,input,label{line-height:1.1}
h1,h2,h3,h4{text-wrap:balance}
a:not([class]){text-decoration-skip-ink:auto;color:currentColor}
img,picture{max-width:100%;display:block}
input,button,textarea,select{font:inherit}
textarea:not([rows]){min-height:10em}:target{scroll-margin-block:5ex}
*{padding:0;}

*html.clearfix{height:1px;height:auto;overflow:hidden;}
.clearfix:after{content:"";display:block;clear:both;}
.clearfix:before{content:"";display:block;clear:both;} 
.clearfix {display:block;}

body{
    font-size:14px;
    font-weight:normal;
    line-height:1.5;
    font-family:'Meiryo','Yu Gothic UI','Lucida Grande','Hiragino Kaku Gothic ProN',sans-serif;
    display:flex;
    flex-direction:column;
}

a{text-decoration:none;}
a:focus {outline:none;}
.no-scroll { overflow: hidden; }

header{
    position:fixed;
    top: 0; left: 0;
    width:100%;
    background-color:#232f3e;
    color:#FFF;
    font-family:'M PLUS Rounded 1c',sans-serif;
    /* フッターメニューよりも上に表示させるため数値を引き上げ */
    z-index: 10001;
}
.HeaderTop{
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

hgroup{
    height:120px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    transition: all 0.3s ease;
}
h1.SiteLogo, .SiteLogo{
    font-size:50px;
    font-weight:bold;
    letter-spacing:0.3em;
    transition: all 0.3s ease;
    white-space: nowrap; /* text-wrap:balanceによる文字サイズ変更時の再計算（チラつき）を防止 */
}
hgroup p{
    font-size:14px;
    transition: all 0.3s ease;
    opacity: 1;
    max-height: 30px; /* height:autoから変更し、アニメーションを有効化 */
    overflow: hidden;
}
.is-scrolled hgroup{
    height:60px;
}
.is-scrolled h1.SiteLogo, .is-scrolled .SiteLogo{
    font-size:30px;
}
.is-scrolled hgroup p{
    opacity:0;
    max-height: 0; /* スムーズに高さを消す */
    margin:0;
}

.PCNav{
    background-color:#131a22;
}
.PCNav ul{
    display:flex;
    justify-content:center;
    max-width: 1200px;
    margin: 0 auto;
}
.PCNav li a{
    display:block;
    padding:12px 20px;
    color:#fff;
    font-weight:bold;
}
.PCNav li a:hover{
    color:#ff8400;
}

.BreadCrumb{
    width:100%;
    font-size:12px;
    margin-bottom: 10px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.BreadCrumb::-webkit-scrollbar { display: none; }
.BreadCrumbInner{
    display:flex;
    flex-direction:row;
    justify-content:flex-start;
    flex-wrap: nowrap;
    padding: 0 10px;
}
.BreadCrumbInner>li{
    flex-shrink: 0;
}
.BreadCrumbInner>li>a{
    color:#2162a1;
}
.BreadCrumbInner>li>a:hover{
    color:#0C3353;
    text-decoration:underline dotted red;
}
.BreadCrumbInner>li:not(:first-child)::before{
    display:inline-block;
    margin:0 .25rem;
    content:'>';
}

main{
    flex-grow:1;
    display:flex;
    justify-content:center;
    align-items:stretch; /* コンテンツ不足時も下部まで伸ばす */
}
.MainSect {
    background-color:#fff;
    border-radius:10px;
    padding:15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ==================================================
   タイトル装飾
================================================== */
.TitlePrefix {
    color: #cc0c39;
    font-weight: bold;
}

/* ==================================================
   見出しデザイン強化
================================================== */
.MainSect>h1.ArticleH1, .MainSect>h2 {
    width: 100%;
    margin: 0 auto 20px;
    padding: 12px 15px;
    font-size: 22px;
    font-weight: bold;
    color: #111;
    background: #f4f6f6;
    border-left: 6px solid #232f3e;
    border-bottom: 1px solid #ddd;
    border-radius: 4px;
    text-wrap: initial;
    word-break: normal;
    line-height: 1.4;
}

.SideNav {
    background-color:#fff;
    width:180px;
    justify-content:center;
    text-align:center;
    border-radius:10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.SideNavInner{
    border-top:1px solid #ecf0f1;
}
.SideNavInner>li{
    width:180px;
    border-bottom: 1px solid #ddd;
}
.SideNavInner>li>a{
    display: block;
    padding: 15px 0;
    font-weight: bold;
    color: #424949;
}
.SideMenuTitle{
    padding:15px;
    border-radius:10px 10px 0 0;
    background-color:#232f3e;
    font-size:18px;
    color: #f8f9f9;
}
.SideNavInner>li>a:hover{
    background-color:#ecf0f1;
    font-size:15px;
}

/* ==================================================
   カレンダーウィジェット（サイドナビ＆ドロワー共通）
================================================== */
.SideCalendarWrapper {
    border-top: 1px solid #ecf0f1;
}
.SideCalendar {
    padding: 15px;
    background: #fff;
    border-radius: 0 0 10px 10px;
}
.DrawerMenu .SideCalendar {
    padding: 10px 0 20px;
    background: transparent;
}
.CalHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}
.CalNav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f4f6f6;
    color: #007185;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.2s;
}
.CalNav:hover {
    background: #e8f0fe;
}
.CalTitle {
    font-size: 14px;
}
.CalTable {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 13px;
    table-layout: fixed;
}
.CalTable th {
    padding: 4px 0;
    color: #666;
    font-weight: normal;
    font-size: 11px;
}
.CalTable th:first-child { color: #cc0c39; } /* 日曜を赤く */
.CalTable th:last-child { color: #007185; }  /* 土曜を青く */

.CalTable td {
    padding: 3px 0;
    height: 32px;
    vertical-align: middle;
    color: #767676; /* セールがない日は薄いグレー */
}
.CalTable td.has-sale {
    color: #333;
}
.CalTable td a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    margin: 0 auto;
    background: #fffaf0;
    color: #d67a00;
    border: 1px solid #ffcc80;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}
.CalTable td a:hover {
    background: #ff9900;
    color: #fff;
    border-color: #ff9900;
}
.CalTable td.is-today {
    background: #f4f6f6;
    border-radius: 4px;
}


/* カード共通パーツ */
.CardLink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}
.CardBody {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.MenuBtn{
    position:absolute; right:15px; top:50%; transform:translateY(-50%);
    width:40px; height:40px; z-index:10001;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    border: none;
    padding: 0;
    background: transparent;
    appearance: none;
}
.MenuBtn span{ display:block; width:30px; height:3px; background:#fff; transition:0.3s; margin-bottom: 6px; }
.MenuBtn span:last-child { margin-bottom: 0; }
.MenuBtn.active span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.MenuBtn.active span:nth-child(2){ opacity:0; }
.MenuBtn.active span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

/* ドロワーメニュー幅を広げてカレンダーが押しやすく */
.DrawerMenu{
    position:fixed; top:0; right:-320px; width:320px; max-width:90vw; height:100%;
    background:#fff; z-index:10003; transition:0.3s; padding:20px; overflow-y:auto;
    box-shadow:-4px 0 10px rgba(0,0,0,0.1);
}
.DrawerMenu.active{ right:0; }
.DrawerOverlay{
    position:fixed; inset:0; background:rgba(0,0,0,0.5); z-index:10002;
    opacity:0; visibility:hidden; transition:0.3s;
}
.DrawerOverlay.active{ opacity:1; visibility:visible; }
.DrawerMenu li{ border-bottom:1px solid #eee; font-weight:bold; }
.DrawerMenu li a{ display:block; padding:15px 0; color: inherit; }
.MenuTitle{ font-size:18px; border-bottom:2px solid #232f3e !important; margin-bottom:10px; padding-bottom:10px; }
.MenuDivider{ background:#f4f6f6; padding:10px !important; font-size:12px; color:#666; margin:10px 0; }

.tooltip{
    position: absolute;
    display: none;
    width:250px;
    padding:5px;
    background-color:#EEE;
    border:1px solid #AAA;
    z-index: 10004;
}
.tooltip>p{
    padding:5px 10px;
    background-color:#222;
    color:#FFF;
}

/* フッターのレイアウト調整 */
footer{
    background-color:#000;
    width:100%;
    padding: 15px 0;
    color:#FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.FooterInner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
footer p {
    margin: 0;
    text-align: center;
    font-size: 13px;
}
.PoweredBy {
    font-size: 11px;
    color: #ccc;
}
.PoweredBy a {
    color: #ccc;
    text-decoration: underline;
    transition: color 0.2s;
}
.PoweredBy a:hover {
    color: #fff;
}

@media screen and (min-width: 1250px) {
    main { 
        width: 100%;
        /* サイドナビ(180) + 余白 + メイン(1035) + 余白 + ダミー(180) の最大幅 */
        max-width: 1450px; 
        margin: 130px auto 10px; 
        display: flex;
        justify-content: center;
        align-items: stretch; 
        gap: 15px;
        padding: 0 10px;
    }
    
    /* メインカラムを完全な中央に配置するための透明なダミー要素 */
    main::after {
        content: "";
        display: block;
        width: 180px; /* 左のサイドナビと同じ幅 */
        flex-shrink: 3; /* 画面が狭いときはダミーが優先して潰れることでメインカラムを守る */
    }

    .PCNav, .MobileBottomNav, .MenuBtn { display: none; }
    .SideNav { 
        display: block; 
        position: sticky; 
        top: 130px; 
        transition: top 0.3s ease;
        align-self: flex-start; 
        flex-shrink: 0; /* サイドナビの幅は固定 */
    }
    .is-scrolled .SideNav {
        top: 70px;
    }
    .MainSect { 
        width: 1035px; 
        flex-shrink: 1; /* 画面が狭いときは自動で縮む */
        margin: 0; 
    }
}

@media screen and (min-width: 820px) and (max-width: 1249px) {
    main { width: 100%; max-width: 780px; margin: 174px auto 10px; padding: 0 10px; }
    .SideNav, .MobileBottomNav { display: none; }
    .PCNav, .MenuBtn { display: block; }
    .MainSect { width: 100%; margin: 0 auto; }
}

@media screen and (max-width: 819px) {
    main { width: 100%; margin: 130px auto 10px; padding: 0 10px; }
    .SideNav, .PCNav { display: none; }
    .MainSect { width: 100%; margin: 0 auto; }
    
/* モバイル下部ナビゲーション */
    .MobileBottomNav{
        position:fixed; bottom:0; left:0; width:100%; 
        background:#232f3e; color:#fff; z-index:10000;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .MobileBottomNav ul{ 
        display:flex; width:100%; justify-content:space-around; 
        align-items: stretch; /* li の高さを親(ul)の高さに合わせる */
        height: 60px; 
    }
    .MobileBottomNav li{ 
        font-weight:bold; 
        flex: 1; /* 横幅を均等に分割 */
    }
    .MobileBottomNav li a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
    }
    
    .MenuBtn{
        position:fixed; bottom:calc(100px + env(safe-area-inset-bottom)); right:20px; top:auto; transform:none;
        width:60px; height:60px;
        background-color:#ff8400;
        border-radius:50%; box-shadow:0 4px 10px rgba(0,0,0,0.3);
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        padding: 0;
    }
    .MenuBtn span { margin-bottom: 5px; }
    .MenuBtn span:last-child { margin-bottom: 0; }
    .MenuBtn.active span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
    .MenuBtn.active span:nth-child(2){ opacity:0; }
    .MenuBtn.active span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }
    
    footer {
        padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
}

@media screen and (min-width: 560px) and (max-width: 819px) {
    .MainSect { width: 525px; }
}

@media screen and (max-width: 559px) {
    .MainSect { width: 100%; padding: 10px; }
    .CardBody {
        padding: 10px;
        width: calc(100% - 120px);
        gap: 2px;
    }
}
/* ==================================================
   大見出し・トグルボタン構造（共通）
================================================== */
.SectionTitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.MainSect h2.SectionTitle,
.SubSectTitle {
    width: 100%;
    margin: 30px 0 15px;
    padding: 12px 15px;
    font-weight: bold;
    color: #111;
    background: #f4f6f6;
    border-left: 6px solid #ff8400;
    border-bottom: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.4;
}

.MainSect h2.SectionTitle { font-size: 22px; }
.SubSectTitle { font-size: 18px; }

.ViewToggleBtn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s;
    height: 34px;
    outline: none;
}
.ViewToggleBtn:hover {
    background: #f4f6f6;
    border-color: #007185;
}
.ViewToggleBtn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.ViewToggleBtn:hover img {
    opacity: 1;
}