@charset "UTF-8";

/* Google Fonts：英字用フォント（@importは先頭に置く必要がある） */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #292929;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

.english-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

/* ===== 基本設定 ===== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #101e40;
    font-family: 'メイリオ', Tahoma, Geneva, Verdana, sans-serif;
}

main {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/*rail explorer*/
.site h1 {
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-top: 20px;
}

.site h2 {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    margin-top: 10px;
}

/* ロゴのリンク */
.site a {
    display: block;
}

/* ===== サイトヘッダー ===== */

.box1 {
    position: relative;
    background-color: #101e40;
    padding: 24px 220px;
    text-align: center;
}

/* ロゴ画像 */
.site-logo {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
}

/* 管理者ログインボタン */
.login-button {
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 10;
    display: inline-block;
    padding: 10px 18px;
    background-color: #172744;
    color: #F2E2B8;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid #F2E2B8;
    border-radius: 4px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.login-button:hover {
    background-color: #A64B38;
    color: #FFFFFF;
}

/* ===== ナビゲーションメニュー ===== */

/* ナビゲーション全体 */
.box2 {
    width: 100%;
    background-color: #f5f3ee;
    padding: 16px 20px;
    border-bottom: 1px solid #dedbd3;
}

/* ボタンを横一列に配置 */
.menu ul {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    display: block;
    padding: 0;
    color: #000000;
    font-size: 14px;
    text-decoration: none;
}

.menu li:hover {
    background-color: #101e40;
    color: #fff;
    cursor: pointer;
}

/* 四角いボタン */
.menu-button {
    display: block;
    min-width: 110px;
    padding: 13px 22px;

    background-color: #172744;
    color: #ffffff;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-align: center;
    text-decoration: none;

    border: 1px solid #172744;
    transition: background-color 0.2s ease,
                color 0.2s ease;
}

/* マウスを乗せたとき */
.menu-button:hover {
    background-color: #F2E2B8;
    border-color: #F2E2B8;
    color: #172744;
}

/* スマートフォン対応 */
@media (max-width: 520px) {
    .box2 {
        padding: 12px;
    }

    .menu ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .menu-button {
        min-width: 0;
        padding: 12px 6px;
        font-size: 11px;
    }
}

/* ===== メインレイアウト（BOX3 + BOX4） ===== */

.boxA {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(260px, 3fr);
    align-items: start;
    gap: 0;
    width: 100%;
}

.box3 {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    background-color: #f5f3ee;
}

.box4 {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 28px 24px;
    background-color: #f5f3ee;
    color: #172744;
        position: sticky;
    top: 30px;
    align-self: start;
}

.box4 > aside {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* サイドバーのリストが親の幅からはみ出さないようにする */
.box4 ul {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.box4 img {
    max-width: 100%;
}

/* ===== BOX3：メインビジュアル ===== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 480px;
    padding: 48px;
    box-sizing: border-box;

    /* 写真を設定するまではネイビーで表示 */
    background-color: #172744;
    background-image:
        linear-gradient(
            90deg,
            rgba(15, 29, 53, 0.92),
            rgba(15, 29, 53, 0.25)
        ),
        url("../images/hero-train.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
}

.hero-content {
    max-width: 540px;
}

.hero-label {
    color: #F2E2B8;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 22px;
}

.hero h2 {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
}

.hero-description {
    color: #e5e8ee;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 30px;
}

.hero-button {
    display: inline-block;
    padding: 13px 22px;
    border: 1px solid #F2E2B8;
    color: #F2E2B8;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: background-color 0.2s ease,
                color 0.2s ease;
}

.hero-button:hover {
    background-color: #F2E2B8;
    color: #172744;
}

/* ===== 最新記事 ===== */

#latest-article {
    padding: 36px;
    color: #172744;
    overflow-wrap: anywhere;
}

#latest-article h1 {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.5;
}

#latest-article .article-content {
    font-size: 15px;
    line-height: 2;
}

/* ===== サイドメニュー ===== */

.sidemenu h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #172744;
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #c9c4b8;
    position: relative;
}

/* 見出しの下のアクセント */
.sidemenu h3::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 3px;
    background-color: #F2E2B8;
}

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

.sidemenu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e2ded5;
}

.sidemenu li a {
    display: block;
    padding: 16px 8px;
    color: #34435c;
    font-size: 13px;
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.2s ease,
                padding-left 0.2s ease;
}

.sidemenu li a:hover {
    background-color: #101e40;
    color: #F2E2B8;
    padding-left: 14px;
    cursor: pointer;
}

/* ===== サイドバー共通（おすすめ・人気記事） ===== */

.osusume,
.ranking {
    width: 100%;
    margin-bottom: 36px;
}

.osusume h3,
.ranking h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #172744;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d8d2c6;
    position: relative;
}

.osusume h3::after,
.ranking h3::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 42px;
    height: 3px;
    background-color: #A64B38;
}

.osusume ul,
.ranking ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ===== おすすめ記事：写真にタイトルを重ねる ===== */

.osusume li {
    margin-bottom: 14px;
}

.osusume li a {
    display: block;
    position: relative;
    height: 150px;
    overflow: hidden;
    background-color: #172744;
    text-decoration: none;
}

.osusume li img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

/* 写真の下部を暗くして文字を読みやすく */
.osusume li a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 20, 38, 0.9) 0%,
        rgba(10, 20, 38, 0.15) 65%,
        transparent 100%
    );
}

.osusume li span {
    position: absolute;
    z-index: 1;
    left: 16px;
    right: 12px;
    bottom: 14px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.osusume li a:hover img {
    transform: scale(1.06);
}

.osusume li a:hover span {
    color: #F2E2B8;
}

/* ===== 人気記事：左に写真、右にタイトル ===== */

.ranking li {
    border-bottom: 1px solid #e2ded5;
}

.ranking li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    color: #172744;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
    transition: color 0.2s ease;
}

.ranking li img {
    flex: 0 0 88px;
    width: 88px;
    height: 66px;
    object-fit: cover;
    background-color: #e2ded5;
}

.ranking li span {
    flex: 1;
}

.ranking li a:hover {
    color: #A64B38;
}

.ranking li a:hover img {
    outline: 2px solid #F2E2B8;
    outline-offset: -2px;
}

/* ===== Latest Journal：記事一覧 ===== */

/* 記事一覧は2カラムの下に配置 */
.box5 {
    grid-column: 1 / -1;
    width: 100%;
    background-color: #f5f3ee;
    padding: 48px 6%;
    color: #172744;

}

.box5 h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0 0 28px;
    padding-bottom: 14px;
    border-bottom: 2px solid #172744;
}

/* 記事カードを並べる */
#article-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* 各記事カード */
.article-card {
    background-color: #ffffff;
    padding: 24px;
    border: 1px solid #e2ded5;
    border-top: 4px solid #172744;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(23, 39, 68, 0.10);
}

/* 国名 */
.article-country {
    color: #a64b38;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 12px;
}

/* 記事タイトル */
.article-card h3 {
    font-size: 19px;
    line-height: 1.6;
    margin: 0 0 12px;
}

.article-card h3 a {
    color: #172744;
    text-decoration: none;
}

.article-card h3 a:hover {
    color: #F2E2B8;
}

/* 日付 */
.article-date {
    color: #888888;
    font-size: 12px;
    margin-bottom: 16px;
}

/* 記事の説明 */
.article-card p:last-child {
    color: #555555;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 0;
}

/* ===== SNS共有ボタン ===== */

.share {
    margin-top: 40px;
    text-align: center;
}

.share ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.share li a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    text-align: center;
    background: #000000;
    color: #F2E2B8;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s ease;
}

.share li a:hover {
    opacity: 0.8;
    background: #A64B38;
    color: #fff;
}

/* 丸型のシェアボタン */
.share .share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    transition: opacity 0.2s ease;
}

.share .share-X {
    background-color: #000;
}

.share .share-fb {
    background-color: #1877f2;
    color: #fff;
}

.share .share-line {
    background-color: #06c755;
    color: #fff;
}

.share .share-button:hover {
    opacity: 0.75;
}

/* ===== フッター ===== */

footer {
    padding: 24px;
    text-align: center;
}

/*copyright*/
.copyright p {
    margin: 0;
    color: #F2E2B8;
    font-size: 14px;
}

/* ===== レスポンシブ ===== */

/* タブレット */
@media (max-width: 900px) {
    #article-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

/* スマートフォン */
@media (max-width: 600px) {
    .hero {
        min-height: 380px;
        padding: 28px;
    }

    .osusume li a {
        height: 180px;
    }

    .ranking li img {
        flex-basis: 100px;
        width: 100px;
        height: 72px;
    }

    .box5 {
        padding: 32px 18px;
    }

    .box5 h2 {
        font-size: 20px;
    }

    #article-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-card {
        padding: 20px;
    }
}

/* タブレット・スマートフォン：1カラムにする */
@media (max-width: 800px) {
    .boxA {
        grid-template-columns: minmax(0, 1fr);
    }

    .box3,
    .box4,
    .box5 {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
    }

    .box4 {
        padding: 24px 20px;
    }

    #latest-article {
        padding: 24px 20px;
    }

    .login-button {
        top: 10px;
        right: 10px;
        padding: 8px 10px;
        font-size: 12px;
    }

    .box1 {
        padding: 60px 16px 20px;
    }
}

/* ===== PROFILE PAGE ===== */

.profile-heading {
    text-align: center;
    padding: 85px 20px 45px;
}

.profile-subtitle,
.sns-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    color: #888;
    font-weight: 600;
}

.profile-heading h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 800;
    letter-spacing: 5px;
    margin: 15px 0;
}

.profile-heading h1 span {
    color: #a47c43;
}

.profile-japanese {
    font-size: 14px;
    letter-spacing: 4px;
    color: #666;
}

.profile-hero {
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 0 25px;
}

.profile-image {
    height: 480px;
    overflow: hidden;
    background: #eee;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image-caption {
    text-align: right;
    padding-top: 12px;
    font: 10px 'DM Sans', sans-serif;
    letter-spacing: 2px;
    color: #888;
}

.about-section,
.interest-section,
.equipment-section {
    max-width: 1050px;
    margin: 0 auto 110px;
    padding: 0 30px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 18px;
    margin-bottom: 55px;
}

.section-label span {
    font: 12px 'DM Sans', sans-serif;
    color: #a47c43;
}

.section-label h2 {
    font: 600 17px 'DM Sans', sans-serif;
    letter-spacing: 3px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
}

.about-small,
.equipment-category {
    font: 600 10px 'DM Sans', sans-serif;
    letter-spacing: 2px;
    color: #999;
}

.about-name h2 {
    font: 600 48px 'Playfair Display', serif;
    line-height: 1.2;
    margin-top: 20px;
}

.about-text {
    font-size: 14px;
    line-height: 2.5;
    color: #555;
}

.about-text p {
    margin-bottom: 18px;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.interest-item {
    padding: 35px 25px;
    border: 1px solid #e5e5e5;
    transition: 0.3s;
}

.interest-item:hover {
    border-color: #a47c43;
    transform: translateY(-5px);
}

.interest-item i {
    font-size: 25px;
    color: #a47c43;
    margin-bottom: 25px;
}

.interest-item h3 {
    font: 600 14px 'DM Sans', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.interest-item p {
    font-size: 12px;
    color: #777;
}

.equipment-content {
    padding: 35px;
    background: #f6f6f4;
}

.equipment-content h3 {
    font: 600 24px 'DM Sans', sans-serif;
    margin: 15px 0;
}

.equipment-content p:last-child {
    font-size: 13px;
    color: #777;
}

.sns-section {
    text-align: center;
    background: #f5f5f3;
    padding: 80px 20px;
}

.sns-section h2 {
    font: 700 36px 'DM Sans', sans-serif;
    letter-spacing: 3px;
    margin: 20px 0 35px;
}

.sns-links {
    display: flex;
    justify-content: center;
    gap: 35px;
}

.sns-links a {
    color: #333;
    text-decoration: none;
    font: 500 13px 'DM Sans', sans-serif;
    transition: 0.3s;
}

.sns-links a:hover {
    color: #a47c43;
}

.sns-links i {
    margin-right: 8px;
}

.profile-footer {
    display: flex;
    justify-content: space-between;
    padding: 25px 35px;
    font: 11px 'DM Sans', sans-serif;
    color: #888;
}

.profile-footer a {
    color: #555;
    text-decoration: none;
}

/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .profile-heading {
        padding: 60px 15px 35px;
    }

    .profile-hero {
        margin-bottom: 70px;
        padding: 0 15px;
    }

    .profile-image {
        height: 260px;
    }

    .about-section,
    .interest-section,
    .equipment-section {
        padding: 0 20px;
        margin-bottom: 75px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .about-name h2 {
        font-size: 40px;
    }

    .interest-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sns-links {
        gap: 20px;
    }

    .sns-section h2 {
        font-size: 27px;
    }

    .profile-footer {
        padding: 20px;
    }
}

/* ===== SITE COLOR THEME ===== */

body {
    background-color: #FFFFFF;
    color: #292929;
}





/* メインコンテンツ */
main {
    background-color: #FFFFFF;
}
.box3 {
    margin-left: 30px;
    margin-right: 20px;
}
    .boxA {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 250px;
    gap: 25px;
    align-items: start;
}

.box6 {
    background: #f7f5f0;
    padding: 22px 18px;
    border: 1px solid #e5dfd5;
    box-sizing: border-box;
        position: sticky;
    top: 30px;
    align-self: start;
}

.box6 h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    color: #292929;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #cfc6b8;
}

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

.box6 li {
    border-bottom: 1px solid #e5dfd5;
}

.box6 a {
    display: block;
    padding: 13px 0;
    color: #393630;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: 0.3s;
}

.box6 a:hover {
    color: #a47c43;
    padding-left: 5px;
}
/* ===== HOME 3カラムレイアウト ===== */

.boxA {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 250px;

    grid-template-areas:
        "categories latest sidebar"
        "categories share sidebar"
        "categories articles sidebar";

    gap: 25px;
    align-items: start;
}

/* 左：カテゴリー */
.box6 {
    grid-area: categories;
    min-width: 0;
}

/* 中央：最新記事 */
.box3 {
    grid-area: latest;
    min-width: 0;
    margin: 0;
}

/* 中央：SNS */
.share {
    grid-area: share;
}

/* 右：サイドバー */
.box4 {
    grid-area: sidebar;
    min-width: 0;
}

/* 中央：記事一覧 */
.box5 {
    grid-area: articles;
    min-width: 0;
}

/* スマートフォン */
@media screen and (max-width: 800px) {
    .boxA {
        grid-template-columns: 1fr;

        grid-template-areas:
            "categories"
            "latest"
            "share"
            "articles"
            "sidebar";
    }
}

/* ARTICLE LIST */
.article-card {
    display: flex;
    align-items: center;
    gap: 22px;

    padding: 18px 0;
    border-bottom: 1px solid #ddd;

    text-decoration: none;
    color: inherit;
    min-width: 0;
    transition: 0.3s;
}

.article-card:hover {
    opacity: 0.7;
}

/* サムネイル */
.article-thumbnail {
    width: 180px;
    min-width: 180px;
    height: 115px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.article-card:hover .article-thumbnail img {
    transform: scale(1.05);
}

/* タイトル・日付 */
.article-info {
    flex: 1;
    min-width: 0;
}

.article-info h3 {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.6;
    color: #292929;
    overflow-wrap: anywhere;
}

.article-date {
    margin: 0;
    font-size: 11px;
    color: #999;
    letter-spacing: 1px;
}

/* スマホ */
@media (max-width: 600px) {
    .article-card {
        gap: 12px;
    }

    .article-thumbnail {
        width: 110px;
        min-width: 110px;
        height: 85px;
    }

    .article-info h3 {
        font-size: 13px;
    }
}
.article-card {
    display: flex;
    flex-direction: column;
    gap: 10px;

    padding: 22px 0;
    border-bottom: 1px solid #ddd;

    text-decoration: none;
    color: inherit;
}

/* タイトル */
.article-info h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #292929;
}

/* 日付 */
.article-date {
    margin: 0 0 12px;
    font-size: 11px;
    color: #999;
}

/* サムネイル */
.article-thumbnail {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

/* スマホ版 下部固定ナビゲーション */
@media screen and (max-width: 768px) {

    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        background: #fff;
        border-top: 1px solid #ddd;
        padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
        z-index: 9999;
    }

    body {
        padding-bottom: 75px;
    }
}

/* スマホ専用 下部ナビゲーション */
.mobile-nav {
    display: none;
}

@media screen and (max-width: 768px) {

    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 65px;
        background: #172744;
        border-top: 1px solid #ddd;
        justify-content: space-around;
        align-items: center;
        z-index: 9999;
        padding-bottom: env(safe-area-inset-bottom);
        box-sizing: content-box;
    }

    .mobile-nav-button {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        color: #ffffff;
        text-decoration: none;
        font-size: 11px;
    }

    .mobile-nav-button i {
        font-size: 18px;
    }

    body {
        padding-bottom: calc(80px + env(safe-area-inset-bottom));
    }
}

/* スマホではCategoriesを非表示 */
@media screen and (max-width: 768px) {
    .box6,
    .category-sidebar {
        display: none !important;
    }
}