/* =========================================
   麺巡り（一期一献 スピンオフ）
   ラーメン記録用スタイル
========================================= */

/* ▼ ヒーロー */
.hero-ramen {
    background: linear-gradient(150deg, #1c1613 0%, #2b1512 55%, #3f1512 100%);
    color: #f5ece0;
    text-align: center;
    padding: 70px 20px 54px;
    position: relative;
}

.hero-ramen h1 {
    font-size: 2.1rem;
    letter-spacing: 0.14em;
    margin: 0 0 10px;
}

.hero-ramen .sub {
    display: inline-block;
    color: #e8b46a;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    opacity: 0.92;
}

.hero-ramen .spinoff-tag {
    display: block;
    margin-bottom: 14px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #c96a4f;
    text-transform: uppercase;
}

/* ▼ 麺トップ専用：FV画像入りヒーロー */
.hero-ramen-fv {
    padding: 24px 0 0;
}

.hero-ramen-fv .spinoff-tag {
    margin-bottom: 16px;
}

.fv-ramen-img {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    display: block;
}

/* ▼ 視覚的には隠すが読み上げ・SEO用に残すテキスト */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ▼ パンくず（麺巡り用） */
.breadcrumb {
    max-width: 1000px;
    margin: 20px auto 10px;
    padding: 0 20px;
    font-size: 14px;
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.breadcrumb li::after {
    content: ">";
    margin-left: 6px;
    color: #999;
}

.breadcrumb li:last-child::after {
    content: "";
}

.breadcrumb a {
    color: #a11c1c;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ▼ コンテナ */
.ramen-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.ramen-intro p {
    line-height: 1.9;
    margin-bottom: 30px;
}

.ramen-intro h2,
.ramen-list h2 {
    color: #2b1512;
    border-left: 4px solid #a11c1c;
    padding-left: 12px;
    margin-bottom: 18px;
}

/* ▼ 店舗カードグリッド */
.ramen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.ramen-card {
    text-decoration: none;
    color: #2b1512;
    text-align: left;
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(43, 21, 18, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ramen-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(161, 28, 28, 0.18);
}

.ramen-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.ramen-card-body {
    padding: 12px 14px 16px;
}

.ramen-name {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 6px;
}

.ramen-meta {
    font-size: 0.82rem;
    color: #6b5a52;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ramen-tag {
    display: inline-block;
    padding: 2px 10px;
    border: 1px solid #a11c1c;
    color: #a11c1c;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

/* ▼ 閉業バッジ */
.ramen-card {
    position: relative;
}

.closed-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(60, 56, 52, 0.88);
    color: #f5ece0;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 999px;
}

.ramen-card.is-closed img {
    filter: grayscale(55%);
    opacity: 0.85;
}

.ramen-status {
    font-weight: bold;
}

.ramen-status.status-open {
    color: #1a7a3c;
}

.ramen-status.status-closed {
    color: #8a6a5a;
}

/* ▼ 麺一覧（年別） */
.ramen-year-block {
    margin-bottom: 40px;
}

.ramen-year-block h2 {
    color: #2b1512;
    border-left: 4px solid #a11c1c;
    padding-left: 12px;
    margin-bottom: 14px;
    font-size: 1.25rem;
}

.ramen-year-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ramen-year-list li {
    border-bottom: 1px solid #ecdfd4;
}

.ramen-year-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 6px;
    text-decoration: none;
    color: #2b1512;
}

.ramen-year-list a:hover {
    background: #fbeee6;
}

.ramen-year-list .entry-date {
    font-size: 0.82rem;
    color: #8a7264;
    white-space: nowrap;
}

.ramen-year-list .entry-name {
    font-weight: bold;
    flex: 1;
}

.ramen-year-list .entry-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ▼ お店がまだ登録されていない時のプレースホルダー */
.ramen-empty {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border: 1px dashed #d8c6b8;
    border-radius: 10px;
    color: #6b5a52;
    line-height: 1.9;
}

/* ▼ 店舗詳細ページ */
.ramen-detail {
    max-width: 820px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.ramen-detail .ramen-photo img {
    width: 100%;
    max-width: 480px;
    display: block;
    margin: 0 auto 30px;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(43, 21, 18, 0.18);
}

.ramen-detail h2 {
    color: #2b1512;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.ramen-detail h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #2b1512;
    border-left: 4px solid #a11c1c;
    padding-left: 10px;
}

.ramen-detail p {
    line-height: 1.9;
}

.ramen-spec {
    width: 100%;
    max-width: 620px;
    margin: 15px auto 0;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.ramen-spec th,
.ramen-spec td {
    border: 1px solid #e8d9cc;
    padding: 9px 12px;
}

.ramen-spec th {
    background: #fbeee6;
    color: #7a2a1a;
    width: 32%;
    text-align: left;
}

.ramen-spec td {
    background: #fffaf5;
}

/* ▼ 一期一献に戻るリンク */
.back-to-ramen-top,
.back-to-ichigo {
    text-align: center;
    margin: 40px 0 20px;
}

.back-to-ramen-top a,
.back-to-ichigo a {
    display: inline-block;
    padding: 10px 22px;
    color: #a11c1c;
    background: #fff;
    border: 1px solid #a11c1c;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: 0.25s ease;
}

.back-to-ramen-top a:hover,
.back-to-ichigo a:hover {
    background: #a11c1c;
    color: #fff;
}

/* ▼ 麺巡りフッター */
.ramen-footer {
    text-align: center;
    padding: 30px;
    background: #1c1613;
    color: #f5ece0;
    margin-top: 40px;
}

.ramen-footer a {
    color: #e8b46a;
}
