@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;800;900&display=swap');
/* common-b.css - 5r4ce2 Design System : 案B "Highway Modern" (2026-03-17)
   White/light content areas, navy header/footer, clean corporate feel.
   Yellow as accent only. Same selectors as common.css.
   ========================================= */

/* =========================================
   CSS Variables
   ========================================= */
:root {
    /* Brand Colors */
    --c542-navy: #1d2e61;
    --c542-navy-dark: #141f45;
    --c542-navy-light: #2a4080;
    --c542-yellow: #FDD200;
    --c542-yellow-dark: hsl(50, 93%, 40%);
    --c542-yellow-light: hsl(50, 80%, 72%);
    --c542-white: #ffffff;

    /* Semantic Colors — light theme overrides */
    --c542-bg-dark: #f5f5f5;
    --c542-bg-section: #ffffff;
    --c542-bg-light: #F5F0E8;
    --c542-text-on-dark: #1d2e61;
    --c542-text-on-light: #1d2e61;
    --c542-text-muted: rgba(29, 46, 97, 0.55);

    /* Status */
    --c542-green: #2E7D32;
    --c542-red: #C62828;
    --c542-orange: #EF6C00;

    /* 9-Color System Palette (500 = recommended base) */
    --c542-red-500: hsl(8, 97%, 50%);
    --c542-orange-500: hsl(32, 97%, 50%);
    --c542-yellow-500: #FDD200; /* = var(--c542-yellow) */
    --c542-lime-500: hsl(120, 85%, 38%);
    --c542-green-500: hsl(156, 90%, 35%);
    --c542-cyan-500: hsl(190, 97%, 50%);
    --c542-blue-500: hsl(215, 97%, 50%);
    --c542-purple-500: hsl(282, 97%, 50%);
    --c542-pink-500: hsl(336, 97%, 50%);

    /* Heading accent — default yellow, overridable per section */
    --heading-accent: var(--c542-yellow);

    /* Shared Layout */
    --header-height: 80px;
    --footer-height: 80px;

    /* Typography */
    --font-main: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;

    /* Effects — softer for light theme */
    --shadow-text: none;
    --shadow-text-strong: none;
    --shadow-card: 0 2px 8px rgba(29, 46, 97, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 6px 20px rgba(29, 46, 97, 0.13), 0 2px 6px rgba(0, 0, 0, 0.08);
    --glow-yellow: 0 0 0 3px rgba(252, 205, 44, 0.25);
    --glow-yellow-strong: 0 0 0 4px rgba(252, 205, 44, 0.4);
}

/* =========================================
   Reset & Base
   ========================================= */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    scrollbar-width: none;
    background-color: #f0f2f5;
    font-size: 17px;
    line-height: 1.8;
}

.show-scrollbar::-webkit-scrollbar {
    display: block;
    width: 0;
}
.show-scrollbar {
    scrollbar-width: auto;
}

/* =========================================
   Header
   ========================================= */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--c542-navy);
    padding: 5px;
    color: var(--c542-white);
    z-index: 2147483647;
    border-bottom: 3px solid var(--c542-yellow);
    box-shadow: 0 2px 12px rgba(29, 46, 97, 0.15);
}

.header-container {
    height: var(--header-height);
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.header-logo {
    flex-shrink: 0;
    max-width: 180px;
    max-height: 80px;
    height: auto;
    display: flex;
    align-items: center;
}

#header_logo {
    width: clamp(45px, 100%, 180px);
    max-width: 100%;
    height: auto;
}

.breadcrumb-container {
    display: flex;
    align-items: flex-end;
    min-width: 0;
    flex: 1;
    padding-bottom: 6px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2em 0.4em;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85em;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.breadcrumb-item {
    white-space: nowrap;
}

#parentIcon,
#currentIcon {
    height: 1em;
    vertical-align: middle;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}
.breadcrumb-sep {
    opacity: 0.6;
    font-size: 0.7em;
}

/* =========================================
   Footer
   ========================================= */
#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: var(--footer-height);
    background-color: var(--c542-navy);
    color: var(--c542-white);
    z-index: 2147483646;
    display: flex;
    justify-content: center;
    align-items: center;
    word-break: break-all;
    white-space: normal;
    text-align: center;
    padding: 10px;
    overflow-wrap: anywhere;
    text-shadow: none;
    border-top: 3px solid var(--c542-yellow);
    box-shadow: 0 -2px 12px rgba(29, 46, 97, 0.1);
}

.copyright {
    display: inline-block;
    max-width: 100%;
    word-wrap: break-word;
    white-space: normal;
    font-size: 0.9em;
    letter-spacing: 0.02em;
}

/* =========================================
   Main Content Area
   ========================================= */
main {
    padding-top: var(--header-height);
    padding-bottom: var(--footer-height);
    overflow: hidden;
}

/* =========================================
   Common Section Styles
   ========================================= */
.contents_text {
    color: var(--c542-navy);
    text-shadow: none;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.contents_text h1,
.contents_text h2 {
    text-shadow: none;
    color: var(--c542-navy);
    font-weight: 900;
    margin-bottom: 0.5em;
    line-height: 1.23;
    width: 100%;
    transform: scaleY(1.136);
    transform-origin: top left;
    letter-spacing: -0.04em;
    border-left: 12px solid var(--heading-accent);
    border-image: linear-gradient(to bottom, transparent 12%, var(--heading-accent) 12%) 1;
    padding-left: 4px;
    padding-bottom: 2px;
    background: linear-gradient(to right, rgba(150,150,150,0.3) 0%, transparent 80%) no-repeat bottom left / 100% 8px;
}

.contents_text p {
    margin-bottom: 1em;
}

.contents_text h3,
.contents_text h4,
.contents_text h5,
.contents_text h6 {
    font-weight: 800;
    margin-bottom: 0.4em;
    line-height: 1.26;
    width: 100%;
    transform: scaleY(1.111);
    transform-origin: top left;
    letter-spacing: -0.03em;
    border-left: 8px solid var(--heading-accent);
    border-image: linear-gradient(to bottom, transparent 12%, var(--heading-accent) 12%) 1;
    padding-left: 4px;
    padding-bottom: 2px;
    background: linear-gradient(to right, rgba(150,150,150,0.25) 0%, transparent 60%) no-repeat bottom left / 100% 5px;
}

/* Heading accent color overrides — set on parent or heading itself */
.heading-red    { --heading-accent: var(--c542-red-500); }
.heading-orange { --heading-accent: var(--c542-orange-500); }
.heading-yellow { --heading-accent: var(--c542-yellow); }
.heading-lime   { --heading-accent: var(--c542-lime-500); }
.heading-green  { --heading-accent: var(--c542-green-500); }
.heading-cyan   { --heading-accent: var(--c542-cyan-500); }
.heading-blue   { --heading-accent: var(--c542-blue-500); }
.heading-purple { --heading-accent: var(--c542-purple-500); }
.heading-pink   { --heading-accent: var(--c542-pink-500); }

/* Text links — exclude styled buttons/links with explicit classes */
.contents_text a:not([class]) {
    color: var(--c542-navy-light);
    text-decoration: underline;
    text-decoration-color: var(--c542-yellow);
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.contents_text a:not([class]):hover {
    color: var(--c542-navy);
}

/* Button-style links (yellow bg + navy text, navy bg + white text on hover) */
.btn-542 {
    display: inline-block;
    padding: 6px 14px;
    background: var(--c542-yellow);
    color: var(--c542-navy) !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
    border: 2px solid var(--c542-navy);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-542:hover {
    background: var(--c542-navy);
    color: var(--c542-yellow) !important;
    border-color: var(--c542-yellow);
}
/* Outline variant (navy border, transparent bg) */
.btn-542-outline {
    display: inline-block;
    padding: 6px 14px;
    background: transparent;
    color: var(--c542-navy) !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9em;
    border: 2px solid var(--c542-navy);
    transition: background 0.2s, color 0.2s;
}
.btn-542-outline:hover {
    background: var(--c542-navy);
    color: var(--c542-white) !important;
}

/* Section backgrounds — light */
.section-542 {
    position: relative;
    background-color: #ffffff;
    background-image: none;
    z-index: 100;
    padding: 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #e8e8e8;
}

.section-542-alt {
    position: relative;
    background-color: #f7f8fa;
    background-image: none;
    z-index: 100;
    padding: 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #e8e8e8;
}

.section-542-top {
    position: relative;
    background-color: #ffffff;
    background-image: linear-gradient(
        180deg,
        rgba(29, 46, 97, 0.03) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    z-index: 100;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    border-bottom: 1px solid #e8e8e8;
}

/* =========================================
   Category Title (yellow left border)
   ========================================= */
.category-title {
    margin: 30px 0 16px;
    color: var(--c542-navy);
    text-shadow: none;
    font-weight: 900;
    width: 100%;
    transform: scaleY(1.136);
    transform-origin: top left;
}

/* =========================================
   Cards (catalog items, info boxes)
   ========================================= */
.catalog {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    width: 220px;
    flex-shrink: 0;
    box-shadow: var(--shadow-card);
    transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.catalog-item .item-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 6px;
    background: #f7f8fa;
    margin-bottom: 8px;
}

.catalog-item:hover {
    background-color: #ffffff;
    border-color: var(--c542-yellow);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.catalog-item h3 {
    font-size: 1em;
    margin: 8px auto 4px;
    color: var(--c542-navy);
    width: 100%;
    transform: scaleY(1.111);
    transform-origin: top center;
    border-left: none;
    border-image: none;
    padding-left: 0;
    padding-bottom: 0;
    background: none;
}

.catalog-item .price {
    font-size: 1.1em;
    font-weight: bold;
    color: #B8860B;
    text-shadow: none;
}

.catalog-item .status {
    font-size: 0.85em;
    margin-top: 4px;
}

.catalog-item .status.in-stock { color: var(--c542-green); }
.catalog-item .status.low-stock { color: var(--c542-orange); }
.catalog-item .status.sold-out { color: var(--c542-red); }

/* =========================================
   Buttons
   ========================================= */
.catalog-item .item-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 6px 14px;
    background-color: var(--c542-navy);
    color: var(--c542-white) !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    transition: background-color 0.2s, box-shadow 0.2s;
    text-shadow: none;
}
.catalog-item .item-link::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 2h8v8m0-8L3 13' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 2h8v8m0-8L3 13' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    flex-shrink: 0;
}

.catalog-item .item-link:hover {
    background-color: var(--c542-yellow);
    color: var(--c542-navy) !important;
    box-shadow: 0 2px 8px rgba(29, 46, 97, 0.3);
}

/* Store banner */
.store-banner {
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin: 20px auto;
    max-width: 700px;
    box-shadow: var(--shadow-card);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.store-banner:hover {
    border-color: var(--c542-yellow);
    box-shadow: var(--shadow-card-hover);
}

.store-banner h2 {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.4em;
    color: var(--c542-navy);
    text-shadow: none;
    transform-origin: top center;
    border-left: none;
    border-image: none;
    padding-left: 0;
    background: linear-gradient(to right, transparent 0%, rgba(150,150,150,0.3) 30%, rgba(150,150,150,0.3) 70%, transparent 100%) no-repeat bottom center / 100% 8px;
}

.store-banner .store-link {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--c542-navy);
    color: var(--c542-white) !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
    margin: 8px 4px;
    text-shadow: none;
}

.store-banner .store-link:hover {
    background-color: var(--c542-yellow);
    color: var(--c542-navy) !important;
    box-shadow: 0 4px 12px rgba(29, 46, 97, 0.25);
    transform: translateY(-1px);
}

.store-banner .twitter-link {
    display: inline-block;
    padding: 12px 32px;
    background-color: #f0f2f5;
    color: var(--c542-navy);
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    border: 1px solid #d0d0d0;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
    margin: 8px 4px;
    text-shadow: none;
}

.store-banner .twitter-link:hover {
    background-color: #e4e6ea;
    transform: translateY(-1px);
}

/* Category navigation pills */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px auto;
    max-width: 960px;
}

.category-nav a {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ffffff;
    border: 1px solid #d0d0d0;
    color: var(--c542-navy);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.95em;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
    text-shadow: none;
}

.category-nav a:hover {
    background-color: rgba(252, 205, 44, 0.1);
    border-color: var(--c542-yellow);
    color: var(--c542-navy);
    box-shadow: var(--glow-yellow);
}

/* =========================================
   Teaser / Info boxes
   ========================================= */
.teaser {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.teaser h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: var(--c542-navy);
}

.teaser p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--c542-navy);
}

.teaser img.teaser-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
}

.teaser a.teaser-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--c542-navy);
    color: var(--c542-white) !important;
    text-decoration: none !important;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s, box-shadow 0.2s;
    text-shadow: none;
}

.teaser a.teaser-link:hover {
    background-color: var(--c542-yellow);
    color: var(--c542-navy) !important;
    box-shadow: 0 4px 12px rgba(29, 46, 97, 0.25);
}

.info {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.info img.info-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
}

/* =========================================
   Sitemap
   ========================================= */
#sitemap {
    height: auto;
    min-height: auto;
    background-color: var(--c542-navy-dark);
    background-image: none;
    z-index: 500;
    display: block;
    padding: 20px;
    word-break: keep-all;
    overflow-wrap: anywhere;
    border-top: 3px solid var(--c542-yellow);
}

#sitemap h5 {
    color: var(--c542-yellow);
    margin-bottom: 8px;
    font-size: 0.9em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

#sitemap a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

#sitemap a:hover {
    color: var(--c542-yellow);
}

.sitemapIcon {
    height: 1em;
    vertical-align: middle;
    margin-right: 5px;
    filter: invert(100%) sepia(0%) saturate(0%) brightness(80%);
    transition: filter 0.2s;
}

#sitemap a:hover .sitemapIcon {
    filter: invert(82%) sepia(60%) saturate(500%) hue-rotate(5deg) brightness(105%);
}

/* =========================================
   Back to Top / Chevrons
   ========================================= */
.chevron_up {
    display: block;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    border-top: 5px solid rgba(253, 210, 0, 0.6);
    border-left: 5px solid rgba(253, 210, 0, 0.6);
    transform: rotate(45deg);
    opacity: 0.6;
    animation: bounce542 1.5s infinite;
}

.chevron {
    display: block;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid rgba(253, 210, 0, 0.6);
    border-right: 5px solid rgba(253, 210, 0, 0.6);
    transform: rotate(45deg);
    opacity: 0.6;
    animation: bounce542 1.5s infinite;
}

.chevron + .chevron {
    margin-top: -10px;
}

@keyframes bounce542 {
    0%, 100% { border-color: rgba(253, 210, 0, 0.4); }
    50% { border-color: rgba(253, 210, 0, 0.9); }
}

.chevron:nth-child(1) { animation-delay: 0s; }
.chevron:nth-child(2) { animation-delay: 0.2s; }
.chevron:nth-child(3) { animation-delay: 0.4s; }
.chevron:nth-child(4) { animation-delay: 0.6s; }
.chevron:nth-child(5) { animation-delay: 0.8s; }

.back-to-top {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1000;
}

/* =========================================
   Utility
   ========================================= */
.note {
    font-size: 0.9em;
    color: var(--c542-text-muted);
    text-shadow: none;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
    .catalog-item {
        width: 160px;
    }

    .store-banner {
        padding: 16px;
    }

    .store-banner .store-link,
    .store-banner .twitter-link {
        padding: 10px 20px;
        font-size: 1em;
    }
}
