/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 10 2025 | 01:43:43 */
.hero-image {
    background-image: url('https://o-ff.org/2026/wp-content/uploads/2025/12/top_pc-scaled.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    width: 100%; 
    aspect-ratio: 1440 / 780; 
    margin-bottom: -20px;
    font-family: "Noto Sans JP", sans-serif;
}

.sticky-header {
    background-color: #c41515;
    width: 100%;
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}

/* ヘッダーの中身を横並びにする Flexbox コンテナ */
.header-content {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 10px; 
    height: 60px; 
    max-width: 1200px; 
    margin-left: auto; 
    margin-right: auto;
	position: relative;
}
.header-group {
    display: flex;
    align-items: center; 
}

/* --- 左側: ロゴ --- */
.header-left .logo {
    height: 40px;
    vertical-align: middle;
}
.header-group {
    display: flex;
    align-items: center; 
}

/* --- 中央: メニュー --- */
.header-center {
    margin-left: 0; 
}
.header-center ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}
.header-center ul li a {
	font-family: "Noto Sans JP", sans-serif;
    color: white;
    text-decoration: none;
    padding: 10px 10px;
    font-weight: 600;
	letter-spacing: 1px;
    display: block;
}
.header-center ul li a:hover {
    color: #62090B; 
    transition: color 0.3s ease; 
}

/* --- ドロップダウンメニューの基本設定 --- */
.header-center ul li.has-submenu {
    position: relative; 
}
.header-center ul li .submenu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    z-index: 1000;
    min-width: 150px; 
    background-color: #c41515; 
    padding: 0;
    margin: 0;
    list-style: none;
}

/* サブメニューの項目（li）のスタイル */
.submenu li {
    display: block; 
    white-space: nowrap; 
}

.submenu li a {
    color: white;
    padding: 10px 15px;
    border-bottom: none; 
    font-weight: 400; 
}
.submenu li a:hover {
    background-color: #A7090E; 
}


/* --- ホバーで表示する設定 --- */
.header-center ul li.has-submenu:hover > .submenu {
    display: block; 
}

/* --- 右側: SNSアイコン --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px; 
    margin-left: 30px; 
}

.header-right .sns-icon {
    height: 30px; /* アイコンのサイズを調整 */
    width: 30px;
    vertical-align: middle;
}


/* --- 新規CSS: ハンバーガーメニューアイコン --- */
.menu-icon {
    display: none; /* PCサイズでは非表示 */
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 9999; 
    margin-left: 20px; /* SNSアイコンとの間隔を調整 */
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: white;
    opacity: 1;
    left: 0;
    transition: 0.3s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon span:nth-child(3) {
    bottom: 0;
}

/* メニューオープン時のアイコン（Xマーク） */
.menu-icon.open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-icon.open span:nth-child(2) {
    opacity: 0;
}

.menu-icon.open span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}


@media (max-width: 768px) {
	.hero-image {
        background-image: url('https://o-ff.org/2026/wp-content/uploads/2025/12/top_sp.jpg'); 
        height: auto;
		margin-bottom: 0;
		margin-top:20px;
		background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
		aspect-ratio: 375 / 600; 
    }
}
@media (max-width: 1023px) {
    /* ハンバーガーアイコンを表示 */
    .menu-icon {
        display: block;
        margin-left: 0; 
    }
	.header-group {
        display: flex;
        align-items: center;
        margin-left: auto;
        z-index: 1000; 
    }
    .header-center {
        display: none; 
        position: fixed;
        top: 60px; 
        left: 0;
        width: 100%;
        height: calc(100vh - 60px); 
        background-color: #c41515; 
        z-index: 998; 
        overflow-y: auto; 
        margin: 0;
    }
    
    /* メニュー開閉時の表示/非表示 */
    .header-center.open {
        display: block;
    }
    
    /* メニュー項目の縦並び */
    .header-center ul {
        flex-direction: column;
        align-items: center;
		margin-bottom: 20px;
    }
    
    .header-center ul li {
        width: 100%; /* 幅いっぱいに広げる */
        text-align: center;
    }
	header-right {
        /* メニュー内で中央寄せにする */
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px; /* アイコン間隔を少し広げる */
        margin-top: 20px;
        padding-bottom: 40px; /* メニューの底との間隔 */
        width: 100%;
    }
    
    /* ドロップダウンメニューのスタイル変更 */
    .header-center ul li.has-submenu {
        position: static; /* position: relative;を解除 */
    }
    
    .header-center ul li .submenu {
        position: static; /* 固定配置を解除し、通常フローに */
        min-width: 100%;
        background-color: #A7090E; /* サブメニューの背景色 */
        border-top: 1px solid #c41515; /* サブメニューとの区切り線 */
        padding-left: 0; /* 左の余白をリセット */
    }
    
    /* ホバー表示をタップ/クリックで表示に変更するため、ホバー設定を削除 */
    .header-center ul li.has-submenu:hover > .submenu {
        display: none; /* スマホではJSで制御するため、ホバーでは表示しない */
    }
    
    /* SNSアイコンの配置を調整 */
    .header-right {
        display: flex;
        justify-content: center; 
        align-items: center;
        gap: 15px; 
        margin-top: 20px;
        padding-bottom: 40px; 
        width: 100%; 
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: 769px) {
    .header-content .header-group {
        position: relative;
        flex-grow: 1; /* 空間を占有させる */
        justify-content: flex-end; /* 右端に寄せる */
    }
    
    .header-center {
        margin: 0 auto;
    }
    
    .header-right {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 30px; /* 既存の設定を維持 */
    }
}