body {
    margin: 0;
    font-family: 'Noto Serif JP', serif;
    background: #fffdf7;
    color: #333;
    line-height: 1.6;
}

header {
    background: #ffffff;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    position: relative;
    overflow: hidden;
}

/* ================================================ */
/* メインビジュアル */
/* ================================================ */
/* 背景画像を暗くする */
.main-visual::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* ← 暗さを調整（0.4〜0.6が推奨） */
    z-index: 1;
}
/* メインビジュアル */
.main-visual {
    background-image: url('../img/backimg2.jpg'); /* ← ここを実際の画像URLに置き換えてください */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    position: relative;
    overflow: hidden;
    color: #fff;
}
/* テキストを前面に出す */
.main-visual > * {
    position: relative;
    z-index: 2;
}
/* ロゴ */
.logo {
    max-width: 180px;
    margin-bottom: 1rem;
}
/* テキスト：祝・凄麺の日 */
.hero-title {
    font-size: 2.6rem;
    color: #b30000;
    margin-bottom: 0.5rem;
}
/* テキスト：凄麺の日は今年で24周年 */
.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

/* テキスト：縁取り */
.hero-title{
    z-index: 3;
    font-weight: 700; /* もしくは bold */
    text-shadow:
        -1px -1px 2px #fff,
         1px -1px 2px #fff,
        -1px  1px 2px #fff,
         1px  1px 2px #fff;
}
.hero-subtitle {
    z-index: 3;
    font-weight: 700; /* もしくは bold */
    text-shadow:
        -1px -1px 2px #000,
         1px -1px 2px #000,
        -1px  1px 2px #000,
         1px  1px 2px #000;
}

/* ================================================ */
/* 特別企画 */
/* ================================================ */
.events {
    background: #fef9f3;
    padding: 3rem 1.5rem;
    text-align: center;
}

.events h2 {
    color: #b30000;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.events h2 .small-note {
    font-size: 0.65em;     /* h2に対して小さく */
    color: #b30000;      /* 色も少し落ち着かせる（任意） */
}


.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.event-card {
    background: white;
    border: 2px solid #f0d6aa;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: transform 0.3s;
    text-decoration: none;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 100%;
    height: auto;
    display: block;
}

.event-card h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem;
    color: #b30000;
}

.event-card p {
    font-size: 0.95rem;
    padding: 0 1rem 1rem;
    color: #444;
}

/* ================================================ */
/* 更新メニュー */
/* ================================================ */
.update-info {
    background: #fff8ec;
    padding: 2.5rem 1rem;
    text-align: center;
}

.update-info h2 {
    font-size: 1.5rem;
    color: #b30000;
    margin-bottom: 1.5rem;
}

.update-info ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 850px;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
    border: 1px solid #f0d6aa;
}

.update-info li {
    padding: 0.6rem 0;
    font-size: 1rem;
    border-bottom: 1px dashed #eee0c5;
}

.update-info li:last-child {
    border-bottom: none;
}

.update-info .date {
    display: inline-block;
    width: 110px;
    color: #9c3c00;
    font-weight: bold;
}

.new-badge {
    display: inline-block;
    background-color: #d42a00;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* スマホ表示用調整：画面幅 767px 以下 */
@media screen and (max-width: 767px) {
    .update-info {
        padding: 2rem 1rem;
    }

    .update-info h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .update-info ul {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .update-info li {
        padding: 0.8rem 0;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .update-info .date {
        display: block;
        width: auto;
        margin-bottom: 0.2rem;
        font-size: 0.85rem;
    }

    .new-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
        margin-left: 0.3rem;
    }
}

/* ================================================ */
/* ファンサイトへ戻るボタン */
/* ================================================ */
.back-button {
    display: inline-block;
    background: #b30000;
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-size: 1rem;
    transition: background 0.3s;
    width: 100%;            /* コンテナの幅いっぱいに広げる */
    max-width: 350px;       /* 任意の最大幅に制限（お好みで調整） */
}

.back-button-area {
    text-align: center;
    margin: 1rem 1rem 4rem 1rem;
}

.back-button:hover {
    background: #d10000;
}

/* ✅ スマホ画面用（幅が600px以下の端末に適用） */
@media screen and (max-width: 600px) {
    .back-button {
        font-size: 14px;
        max-width: 80%;       /* 任意の最大幅に制限（お好みで調整） */
        padding: 0.8rem 2rem;
        margin: 1rem 0 1rem 0;
    }

    .back-button-area {
        text-align: center; 
        margin:2rem 0;
        padding:0;
    }
}

/* ================================================ */
/* 凄麺の日説明 */
/* ================================================ */
.anniversary-section {
    background: linear-gradient(to bottom, #fffaf0, #f3e4c8);
    padding: 4rem 1.5rem;
    position: relative;
}

.anniv-inner {
    max-width: 840px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    border: 3px solid #f5d8a8;
    text-align: center;
    font-size: 1.05rem;
    color: #3a2a1f;
    line-height: 1.9;
}

.anniv-inner h2 {
    font-size: 2.2rem;
    color: #b30000;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.anniv-inner .highlight {
    background: linear-gradient(transparent 70%, #ffe39b 70%);
    font-weight: bold;
}

.anniv-inner p {
    margin-bottom: 1.2rem;
    text-indent: 1em;
}

.anniv-inner strong {
    color: #b30000;
    font-weight: bold;
}

.anniv-inner .note {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    text-align: center;
    margin-top: 2rem;
}

@media screen and (max-width: 767px) {
    .anniversary-section {
        padding: 2.5rem 1rem;
    }

    .anniv-inner {
        padding: 1.5rem 1rem;
        font-size: 0.95rem;
        line-height: 1.75;
        text-align: left;
    }

    .anniv-inner h2 {
        font-size: 1.6rem;
        text-align: left;
        line-height: 1.4;
    }

    .anniv-inner .highlight {
        background: linear-gradient(transparent 70%, #ffe39b 70%);
        display: inline-block;
    }

    .anniv-inner p {
        margin-bottom: 1rem;
        text-indent: 0; /* スマホではインデントなしで読みやすく */
    }

    .anniv-inner .note {
        font-size: 0.8rem;
        text-align: left;
    }
}



/* ================================================ */
/* カレンダー */
/* ================================================ */
.calendar-section {
    background: #fffaf2;
    padding: 3rem 1rem;
    text-align: center;
}

.calendar-section h2 {
    font-size: 2rem;
    color: #b30000;
    margin-bottom: 2rem;
}

.calendar-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.calendar-month {
    background: #ffffff;
    border: 2px solid #f0d6aa;
    border-radius: 10px;
    padding: 1rem;
    width: 340px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.calendar-month h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #b30000;
}

.calendar-month table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.calendar-month th,
.calendar-month td {
    width: 14.2%;
    height: 2.5rem;
    border: 1px solid #eee;
    text-align: center;
    vertical-align: middle;
}

.calendar-month td.event {
    background: #ffe8cc;
    font-weight: bold;
    color: #b30000;
}

.calendar-month td.highlight-day {
    background: #f9d399;
    font-weight: bold;
    color: #ffffff;
    position: relative;
}

.calendar-month td.highlight-day span {
    display: block;
    font-size: 0.7rem;
    color: #000000;
    margin-top: 0.3rem;
}

.calendar-month td.event span {
    display: block;
    font-size: 0.7rem;
    color: #000000;
    margin-top: 0.3rem;
}

.calendar-month td.holiday span {
    display: block;
    font-size: 0.7rem;
    color: #000000;
    margin-top: 0.3rem;
}

/* カレンダーの曜日ヘッダー */
.calendar-month th:first-child { /* 日曜 */
    color: #d42a00;
    background-color: #fff0f0;
}

.calendar-month th:last-child { /* 土曜 */
    color: #003366;
    background-color: #e6f0ff;
}

/* カレンダーの日曜セル */
.calendar-month td:first-child {
    color: #d42a00;
    background-color: #fff6f6;
}

/* カレンダーの土曜セル */
.calendar-month td:last-child {
    color: #003366;
    background-color: #f0f7ff;
}

/* 祝日 */
.calendar-month td.holiday {
    background-color: #ffd6d6; /* 薄い赤ピンク */
    color: #b30000; /* 文字色は赤系で目立たせる */
    font-weight: bold;
}

/* ================================================ */
/* カレンダーリンク */
/* ================================================ */
.calendar-links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1.2rem;
}

.calendar-btn {
    display: inline-block;
    background: #fff5e0;
    color: #b30000;
    font-weight: bold;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    border: 2px solid #f0d6aa;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.calendar-btn:hover {
    background: #ffe6ba;
    transform: translateY(-2px);
}

@media screen and (max-width: 767px) {
    .calendar-btn {
        font-size: 14px;
        padding: 0.8rem 1rem;
    }
}

/* ================================================ */
/* メインビジュアル関連*/
/* ================================================ */
@keyframes steam {
    0% {
        transform: translateX(-50%) translateY(0) scaleX(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-100px) scaleX(0.5);
        opacity: 0;
    }
}


/* ================================================ */
/* ブランドのこれから */
/* ================================================ */
.main-content {
    text-align: center;
    padding: 3rem 1.5rem;
}

.main-content h2 {
    color: #b30000;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.main-content p {
    max-width: 600px;
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .main-content {
        text-align: left;
        padding: 2rem 1rem;
    }

    .main-content h2 {
        font-size: 1.4rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .main-content p {
        font-size: 0.95rem;
        line-height: 1.8;
        max-width: none;
    }
}


/* ================================================ */
/* フッター */
/* ================================================ */
footer {
    background: #eee;
    text-align: center;
    font-size: 0.9rem;
    padding: 1rem 1rem;
    color: #666;
}

footer .anniv {
    font-weight: bold;
    color: #c00;
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
}