/* ===================================================
   浅草中屋 リンク集 - リデザイン
   本家デザイン踏襲: 線画 + グレー + 青(#0050A0)
   =================================================== */

:root {
    --blue: #0050A0;
    --blue-hover: #0099FF;
    --blue-pale: #EDF4FA;
    --gray-dark: #333333;
    --gray-mid: #999999;
    --gray-light: #CCCCCC;
    --gray-bg: #F5F5F5;
    --gray-border: #DDDDDD;
    --white: #FFFFFF;
    --text: #333333;
    --text-sub: #666666;
    --text-muted: #999999;
    --accent: #E66A00;
    --accent-hover: #CC5D00;
    --accent-pale: #FFF7F0;

    --container: 900px;
    --font: 'Noto Sans JP', 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 13px;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; border: 0; display: block; }

/* --- Header --- */
.header {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px 16px 0;
    border-top: 1px solid var(--gray-mid);
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-bottom: 12px;
}

.header-logo img {
    height: 48px;
    width: auto;
    display: block;
}

.header-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text);
    letter-spacing: 0.1em;
    margin: 0;
}

/* --- Header Nav (5-menu) --- */
.header-nav {
    display: flex;
    gap: 0;
    margin-top: 12px;
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
}

.header-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 3px solid var(--blue);
    padding: 6px 10px;
    text-decoration: none;
    transition: background 0.2s ease;
    border-right: 1px solid var(--gray-border);
}

.header-nav a:last-child {
    border-right: none;
}

.header-nav a:hover {
    background: var(--blue-pale);
    text-decoration: none;
}

.header-nav .nav-ja {
    font-size: 11px;
    font-weight: bold;
    color: var(--text);
    line-height: 1.3;
    white-space: nowrap;
}

.header-nav .nav-en {
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
    border-top: 1px solid var(--gray-border);
    padding-top: 2px;
    white-space: nowrap;
}

/* --- Notice Bar --- */
.notice-bar {
    width: calc(100% - 32px);
    max-width: calc(var(--container) - 32px);
    margin: 16px auto 0;
    padding: 10px 16px;
    background: var(--gray-bg);
    border: 1px solid var(--gray-mid);
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.6;
}

.notice-bar i {
    color: var(--blue);
    margin-right: 6px;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* --- Section --- */
.section {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Section Header (青左線 + 日英表記) --- */
.section-title {
    border-left: 4px solid var(--blue);
    padding: 4px 0 4px 12px;
    margin: 0 0 16px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: transparent;
    height: auto;
}

.section-title .title-ja {
    font-size: 14px;
    font-weight: bold;
    color: var(--text);
    line-height: 1.4;
}

.section-title .title-en {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-top: 1px solid var(--gray-border);
    padding-top: 3px;
    margin-top: 3px;
    font-weight: 500;
}

/* --- Link List --- */
.link-list {
    border: 1px solid var(--gray-mid);
    border-radius: 4px;
    background: var(--white);
    overflow: hidden;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--gray-light);
    gap: 10px;
    transition: background 0.2s ease;
    text-decoration: none;
    color: var(--text);
    min-height: 44px;
}

.link-item:last-child {
    border-bottom: none;
}

.link-item:hover {
    background: var(--blue-pale);
    text-decoration: none;
    color: var(--text);
}

/* アイコン (SNS・お問い合わせ用 36x36) */
.link-item__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-border);
    border-radius: 4px;
    background: var(--white);
    flex-shrink: 0;
    font-size: 15px;
    color: var(--blue);
    overflow: hidden;
}

.link-item__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* サムネイル (店舗写真用 80x50) */
.link-item__thumb {
    width: 80px;
    height: 50px;
    border: 1px solid var(--gray-mid);
    overflow: hidden;
    flex-shrink: 0;
}

.link-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-item__thumb--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    background: var(--white);
}

.link-item__thumb--logo img {
    object-fit: contain;
}

.link-item__body {
    flex: 1;
    min-width: 0;
}

.link-item__name {
    font-size: 13px;
    font-weight: bold;
    color: var(--blue);
    line-height: 1.4;
}

.link-item__name small {
    font-weight: normal;
    color: var(--text-muted);
    font-size: 11px;
}

.link-item__desc {
    font-size: 11px;
    color: var(--text-sub);
    margin-top: 1px;
}

.link-item__value {
    font-size: 13px;
    color: var(--text);
    flex-shrink: 0;
}

.link-item__value a {
    color: var(--blue);
}

.link-item__arrow {
    color: var(--gray-light);
    font-size: 11px;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.link-item:hover .link-item__arrow {
    color: var(--blue);
    transform: translateX(3px);
}

/* Contact items - not links */
.link-item--static { cursor: default; }
.link-item--static:hover { background: transparent; }

/* --- SNS Icons Row --- */
.sns-icon-row {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--gray-mid);
    border-radius: 4px;
    background: var(--white);
    overflow: hidden;
    margin-bottom: 16px;
}

.sns-icon-row + .link-list {
    margin-top: 0;
}

.sns-icon-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 12px 4px;
    border-right: 1px solid var(--gray-border);
    text-decoration: none;
    color: var(--text-sub);
    font-size: 10px;
    transition: background 0.2s ease;
}

.sns-icon-item:last-child { border-right: none; }

.sns-icon-item:hover {
    background: var(--blue-pale);
    text-decoration: none;
    color: var(--blue);
}

.sns-icon-item i {
    font-size: 20px;
    color: var(--blue);
    transition: transform 0.2s ease;
}

.sns-icon-item:hover i { transform: scale(1.15); }

.sns-icon-item .sns-label {
    text-align: center;
    line-height: 1.3;
}

/* SNS brand colors on hover */
.sns-icon-item--x:hover i { color: #0F1419; }
.sns-icon-item--ig:hover i { color: #E1306C; }
.sns-icon-item--fb:hover i { color: #1877F2; }
.sns-icon-item--yt:hover i { color: #FF0000; }
.sns-icon-item--blog:hover i { color: #1ABC9C; }

/* --- Banner Cards (ショッピング・運営サイト用) --- */
.banner-grid {
    display: flex;
    border: 1px solid var(--gray-mid);
    border-radius: 4px;
    overflow: hidden;
    background: var(--white);
}

.banner-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border-right: 1px solid var(--gray-border);
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s ease;
}

.banner-card:last-child { border-right: none; }
.banner-card:hover { background: var(--blue-pale); text-decoration: none; }

.banner-card__thumb {
    width: 100%;
    border: 1px solid var(--gray-mid);
    overflow: hidden;
    margin-bottom: 6px;
    line-height: 0;
}

.banner-card__thumb img {
    width: 100%;
    height: auto;
    transition: opacity 0.2s ease;
}

.banner-card:hover .banner-card__thumb img { opacity: 0.85; }

.banner-card__name {
    font-size: 12px;
    font-weight: bold;
    color: var(--blue);
    text-align: center;
    line-height: 1.4;
}

.banner-card__name small {
    display: block;
    font-weight: normal;
    color: var(--text-muted);
    font-size: 10px;
}

/* --- CTA Banner (お祭り写真) --- */
.cta-section {
    position: relative;
    margin: 24px 0 32px;
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--accent-pale);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cta-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-section__badge {
    position: absolute;
    top: -10px;
    left: 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 0.1em;
}

.cta-section__thumb {
    width: 100px;
    flex-shrink: 0;
    border: 1px solid var(--gray-mid);
    overflow: hidden;
    line-height: 0;
}

.cta-section__thumb img {
    width: 100%;
    height: auto;
}

.cta-section__body {
    flex: 1;
    min-width: 0;
}

.cta-section__body h3 {
    font-size: 14px;
    font-weight: bold;
    color: var(--accent);
    background: transparent;
    height: auto;
    padding: 0;
    margin: 0 0 4px;
    float: none;
    width: auto;
    text-indent: 0;
}

.cta-section__body p {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.5;
}

.cta-section__body strong { color: var(--accent); }

.cta-section__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.cta-section__btn:hover {
    background: var(--accent-hover);
    color: var(--white);
    text-decoration: none;
}

/* --- Corporate Footer --- */
.corporate-bar {
    margin-top: 20px;
    border-top: 1px solid var(--gray-mid);
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.corporate-bar__logo img {
    height: 32px;
    width: auto;
    display: inline-block;
}

.corporate-bar__info {
    font-size: 12px;
    color: var(--text-sub);
}

.corporate-bar__info a { color: var(--blue); }

/* --- Site Footer --- */
.site-footer {
    margin-top: 16px;
    border-top: 1px solid var(--gray-mid);
    padding: 12px 16px;
    text-align: right;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    font-size: 10px;
    color: var(--text-muted);
}

/* --- Utility --- */
.sp-br { display: none; }

/* --- Responsive --- */
@media screen and (max-width: 640px) {
    .pc-only { display: none; }
    .sp-br { display: block; }

    .header-nav { display: none; }

    .sns-icon-row { flex-wrap: wrap; }

    .sns-icon-item {
        flex: 0 0 33.33%;
        border-bottom: 1px solid var(--gray-border);
    }

    .sns-icon-item:nth-child(3) { border-right: none; }

    .banner-grid { flex-direction: column; }

    .banner-card {
        border-right: none;
        border-bottom: 1px solid var(--gray-border);
        flex-direction: row;
        gap: 10px;
        padding: 12px;
        align-items: center;
    }

    .banner-card:last-child { border-bottom: none; }

    .banner-card__thumb {
        width: 120px;
        flex-shrink: 0;
        margin-bottom: 0;
        border: 1px solid var(--gray-border);
    }

    .cta-section {
        flex-direction: column;
        text-align: center;
    }

    .cta-section__thumb { width: 160px; }

    .link-item__value {
        font-size: 12px;
    }

    .corporate-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}
