﻿@charset "utf-8";

/* ============================================================
   Travel Fortune
   既存テンプレートのコンテンツ部分へ入れても崩れにくいよう、
   .travel-fortune配下に限定しています。
============================================================ */

.travel-fortune {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    color: #243044;
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.8;
}

.travel-fortune * {
    box-sizing: border-box;
}

.tf-hero {
    padding: 32px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f5efe3 0%, #eef3f7 100%);
    border: 1px solid #e5dccb;
    text-align: center;
}

.tf-kicker {
    margin: 0 0 8px;
    color: #8a6a35;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.tf-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.35;
    color: #18243a;
}

.tf-hero p {
    margin: 0;
}

.tf-form {
    margin: 28px 0;
    padding: 24px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #e7e0d3;
    box-shadow: 0 10px 30px rgba(20, 30, 45, 0.06);
}

.tf-form h2 {
    margin: 0 0 18px;
    font-size: 1.3rem;
}

.tf-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 14px;
}

.tf-form label span {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #4d586a;
}

.tf-form input,
.tf-form select {
    width: 100%;
    padding: 13px 12px;
    border: 1px solid #cfd7df;
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
}

.tf-form button {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 15px 20px;
    border: 0;
    border-radius: 999px;
    background: #253a5c;
    color: #fff;
    font-weight: 700;
    font-size: 1.04rem;
    cursor: pointer;
    transition: transform 0.08s ease, opacity 0.2s ease;
}

.tf-form button:active {
    transform: translateY(2px) scale(0.99);
}

.tf-form button:hover {
    opacity: 0.92;
}

.tf-error {
    margin: 24px 0;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff3f0;
    border: 1px solid #f1c7bf;
    color: #a13a2b;
    font-weight: 700;
}

.tf-result-head {
    margin: 32px 0 22px;
    padding: 24px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.tf-result-head h2 {
    margin: 4px 0 12px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    color: #18243a;
}

.tf-date {
    margin: 0;
    color: #8a6a35;
    font-weight: 700;
}

.tf-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.tf-numbers span {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e1e7ef;
    font-size: 0.92rem;
}

.tf-results {
    display: grid;
    gap: 24px;
}

.tf-area-card {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 24px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid #e7e0d3;
    box-shadow: 0 14px 34px rgba(20, 30, 45, 0.07);
}

.tf-rank {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #253a5c;
    color: #fff;
    font-weight: 800;
    font-size: 1.45rem;
}

.tf-region {
    margin: 0 0 4px;
    color: #8a6a35;
    font-size: 0.92rem;
    font-weight: 700;
}

.tf-area-card h3 {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.45;
    color: #18243a;
}

.tf-catch {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2f527e;
}

.tf-desc {
    margin: 0 0 14px;
}

.tf-tags,
.tf-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.tf-tags span {
    padding: 6px 12px;
    border-radius: 999px;
    background: #eaf1f7;
    color: #284765;
    font-weight: 700;
    font-size: 0.9rem;
}

.tf-keywords span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #f7f2e7;
    color: #6c5426;
    font-size: 0.86rem;
}

.tf-attr {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    color: #526070;
    font-size: 0.9rem;
}

.tf-hotel-section {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.tf-hotel-section > h4 {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.tf-api-note,
.tf-note {
    margin: 0 0 14px;
    color: #687386;
    font-size: 0.9rem;
}

.tf-hotels {
    display: grid;
    gap: 14px;
}

.tf-hotel-card {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
    background: #fbfcfe;
    border: 1px solid #e2e8f0;
}

.tf-hotel-img {
    display: block;
    width: 130px;
    height: 98px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef2f7;
    color: #7a8699;
    text-decoration: none;
}

.tf-hotel-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tf-hotel-img--empty {
    display: grid;
    place-items: center;
    font-size: 0.82rem;
}

.tf-hotel-body h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    line-height: 1.5;
}

.tf-hotel-body h4 a {
    color: #203a5f;
    text-decoration: none;
}

.tf-hotel-body h4 a:hover {
    text-decoration: underline;
}

.tf-hotel-meta,
.tf-hotel-special,
.tf-hotel-address {
    margin: 4px 0;
    font-size: 0.9rem;
}

.tf-hotel-meta {
    color: #8a6a35;
    font-weight: 700;
}

.tf-hotel-address {
    color: #687386;
}

@media (max-width: 720px) {
    .travel-fortune {
        padding: 16px 12px 40px;
    }

    .tf-form-grid {
        grid-template-columns: 1fr;
    }

    .tf-area-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .tf-rank {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .tf-hotel-card {
        grid-template-columns: 1fr;
    }

    .tf-hotel-img {
        width: 100%;
        height: 170px;
    }
}

.tf-hotel-loader {
    min-height: 80px;
}

.tf-hotel-loader .tf-note {
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}


/* ============================================================
   Mood SEO Travel Pages
   index.asp / mood.asp / mood_type.asp / area_detail.asp
   既存の travel_fortune.asp 用クラスは変更せず、SEOページ用だけ追記。
============================================================ */

.travel-fortune.mood-top,
.travel-fortune.mood-page,
.travel-fortune.mood-detail {
    max-width: 1120px;
    font-size: 18px;
}

.travel-fortune .mood-hero {
    text-align: left;
}

.travel-fortune .mood-hero-catch {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2f527e;
}

.travel-fortune .mood-section {
    margin: 32px 0;
    padding: 28px;
    border: 1px solid #e7e0d3;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(20, 30, 45, 0.055);
}

.travel-fortune .mood-section-head {
    margin-bottom: 20px;
}

.travel-fortune .mood-section-head h2,
.travel-fortune .mood-detail-text h2,
.travel-fortune .mood-next-links h2 {
    margin: 0 0 10px;
    color: #18243a;
    font-size: clamp(1.45rem, 3vw, 2.05rem);
    line-height: 1.4;
}

.travel-fortune .mood-section-head p,
.travel-fortune .mood-detail-text p {
    margin: 0;
    font-size: 1.03rem;
}

.travel-fortune .mood-area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.travel-fortune .mood-area-card {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fbfcfe;
}

.travel-fortune .mood-area-card--today {
    background: linear-gradient(135deg, #ffffff 0%, #f7f2e7 100%);
}

.travel-fortune .mood-area-region {
    margin: 0 0 8px;
    color: #8a6a35;
    font-size: 0.95rem;
    font-weight: 700;
}

.travel-fortune .mood-area-card h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
    line-height: 1.55;
}

.travel-fortune .mood-area-card h3 a {
    color: #203a5f;
    text-decoration: none;
}

.travel-fortune .mood-area-card h3 a:hover {
    text-decoration: underline;
}

.travel-fortune .mood-catch {
    margin: 0 0 10px;
    color: #2f527e;
    font-size: 1.05rem;
    font-weight: 700;
}

.travel-fortune .mood-desc {
    margin: 0 0 12px;
    color: #3a4657;
    font-size: 1rem;
}

.travel-fortune .mood-tags,
.travel-fortune .mood-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.travel-fortune .mood-tags span {
    padding: 7px 12px;
    border-radius: 999px;
    background: #eaf1f7;
    color: #284765;
    font-size: 0.95rem;
    font-weight: 700;
}

.travel-fortune .mood-keywords span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7f2e7;
    color: #6c5426;
    font-size: 0.92rem;
}

.travel-fortune .mood-keywords--large span {
    font-size: 1rem;
}

.travel-fortune .mood-attr {
    margin: 12px 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: #f8fafc;
    color: #526070;
    font-size: 0.94rem;
}

.travel-fortune .mood-link {
    margin: 16px 0 0;
}

.travel-fortune .mood-link a {
    display: inline-flex;
    padding: 9px 16px;
    border-radius: 999px;
    background: #253a5c;
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
}

.travel-fortune .mood-choice-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.travel-fortune .mood-choice-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.travel-fortune .mood-choice {
    display: block;
    min-height: 168px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #fbfcfe;
    color: #243044;
    text-decoration: none;
    transition: transform 0.08s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.travel-fortune .mood-choice:hover {
    border-color: #b8c7dc;
    box-shadow: 0 10px 24px rgba(20, 30, 45, 0.08);
}

.travel-fortune .mood-choice:active {
    transform: translateY(2px) scale(0.99);
}

.travel-fortune .mood-choice strong {
    display: block;
    margin-bottom: 10px;
    color: #203a5f;
    font-size: 1.18rem;
    line-height: 1.45;
}

.travel-fortune .mood-choice span {
    display: block;
    font-size: 1rem;
    line-height: 1.75;
}

.travel-fortune .mood-breadcrumb {
	margin-top: 20px;
	margin-left: 10px;
	margin-bottom: 20px;
	color: #667085;
	font-size: 0.96rem;
}

.travel-fortune .mood-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.travel-fortune .mood-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.travel-fortune .mood-breadcrumb a {
    color: #2f527e;
    text-decoration: none;
}

.travel-fortune .mood-breadcrumb a:hover {
    text-decoration: underline;
}

.travel-fortune .mood-bc-sep {
    color: #98a2b3;
}

.travel-fortune .mood-detail-text {
    font-size: 1.06rem;
}

.travel-fortune .mood-next-links .mood-choice-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.travel-fortune .mood-inline-form.tf-form {
    margin-top: 18px;
}

@media (max-width: 900px) {
    .travel-fortune .mood-area-grid,
    .travel-fortune .mood-choice-grid,
    .travel-fortune .mood-choice-grid--three,
    .travel-fortune .mood-next-links .mood-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .travel-fortune.mood-top,
    .travel-fortune.mood-page,
    .travel-fortune.mood-detail {
        font-size: 17px;
    }

    .travel-fortune .mood-section {
        padding: 20px;
    }

    .travel-fortune .mood-area-grid,
    .travel-fortune .mood-choice-grid,
    .travel-fortune .mood-choice-grid--three,
    .travel-fortune .mood-next-links .mood-choice-grid {
        grid-template-columns: 1fr;
    }

    .travel-fortune .mood-choice {
        min-height: auto;
    }
}
