﻿/* 繝ｪ繧ｻ繝・ヨ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 蜈ｨ菴・*/
body {
    font-family: 'Noto Sans JP', "Yu Gothic", sans-serif;
}

/* 繝倥ャ繝繝ｼ */
header {
    background-color: #b92a2a;
    padding: 18px 0;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

header h1 {
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 36px;
}

header h1 a {
    color: #fff;
    text-decoration: none;
}

header h1 a:visited {
    color: #fff;
}

header .logo {
    width: 80px;
    /* 繝倥ャ繝繝ｼ蜀・〒隕句・縺励・讓ｪ縺ｫ荳ｦ縺ｹ繧・*/
    position: static;
    margin-left: 12px;
}

/* 繝翫ン繧ｲ繝ｼ繧ｷ繝ｧ繝ｳ */
nav {
    background-color: #f1918f;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 48px;
    list-style: none;
    max-width: 1100px;
    margin: 0 auto;
}

nav li {
    padding: 14px 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.12);
}

/* 繝｡繧､繝ｳ */
main {
    display: flex;
    min-height: 480px;
    max-width: 1200px;
    margin: 0 auto; /* 荳翫・菴咏區繧定ｩｰ繧√※繝翫ン縺ｨ謗･縺吶ｋ繧医≧縺ｫ */
    gap: 0;
    padding-top: 12px;
}

/* 蟾ｦ蛛ｴ */
.left-content {
    width: 40%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.hero-text p {
    font-size: 56px;
    line-height: 1.3;
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-weight: 900;
    color: #111;
    margin: 0 0 6px 0;
}

.hero-text {
    transform: translateY(-22px); /* 繝・く繧ｹ繝亥・菴薙ｒ荳翫↓遘ｻ蜍・*/
}

.hero-text p:last-child {
    margin-bottom: 0;
}

/* 蜿ｳ蛛ｴ */
.right-content {
    width: 60%;
}

.right-content img {
    width: 100%;
    max-width: 860px;
    height: auto;
    object-fit: cover;
    display: block;
    margin: -12px 0 0 0;
    border-radius: 0;
    box-shadow: none;
}

.hero-banner {
    background-color: #b92a2a;
    padding: 0 20px 40px;
    margin: 0 auto 0;
}
.hero-banner__inner {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 24px;
    background-color: #b92a2a;
    padding: 40px 32px;
}
.hero-banner__inner p {
    color: #fff;
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    line-height: 1.8;
    text-align: center;
    letter-spacing: .03em;
    margin: 0;
}

@media (max-width: 900px) {
    main {
        flex-direction: column;
        margin: 0 18px;
    }
    .left-content, .right-content {
        width: 100%;
        padding: 24px;
    }
    header h1 {
        font-size: 24px;
    }
    nav ul {
        gap: 18px;
        flex-wrap: wrap;
    }
    .hero-text p {
        font-size: 28px;
    }
}

.list-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 80px;
    align-items: flex-start;
}
.ramen-card {
    width: 260px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.ramen-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
    border-radius: 10px;
    background-color: #fff;
}
.rank-badge {
    position: absolute;
    top: -28px;
    left: 16px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    z-index: 2;
}
.rank-badge.rank-1 {
    background-color: #f5a623;
}
.rank-badge.rank-2 {
    background-color: #b0b0b0;
}
.rank-badge.rank-3 {
    background-color: #cc7b4f;
}
.rank-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.ramen-card__img--contain {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #fff;
}
.ramen-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 22px;
    color: #111;
    margin-top: 12px;
}
.rank-desc {
    font-family: 'Noto Serif JP', serif;
    font-size: 16px;
    color: #222;
    max-width: 300px;
    margin: 12px auto 0;
    line-height: 1.8;
    text-align: center;
}
.back-button {
    display: inline-block;
    padding: 10px 22px;
    border: 2px solid #b92a2a;
    color: #b92a2a;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: background-color 0.2s, color 0.2s;
}
.back-button:hover {
    background-color: #b92a2a;
    color: #fff;
}

/* 蠎励°繧画爾縺咏畑繧ｰ繝ｪ繝・ラ・井ｸ頑ｮｵ3蛻励∽ｸ区ｮｵ2蛻暦ｼ・*/
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 40px;
    max-width: 920px;
    margin: 0 auto 24px;
}
.shop-grid .ramen-card {
    width: auto;
}

/* 蜻ｳ縺九ｉ謗｢縺吶・繝ｼ繧ｸ縺縺托ｼ壽ｨｪ荳蛻苓｡ｨ遉ｺ */
.taste-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.taste-grid .ramen-card {
    width: auto;
    flex: 0 0 auto;
}
.taste-grid .ramen-card img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
}
.taste-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 22px;
    font-weight: 700;
    color: #111;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .list-grid {
        gap: 28px 24px;
    }
    .ramen-card {
        width: 45%;
    }
    .ramen-card img {
        width: 100%;
        max-width: 200px;
    }
}