/* CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html, body {
    height: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* Root Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-elevated: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent: #1B3A6B;
    --accent-hover: #122A4F;
    --accent-warm: #3A5A8C;
    --map-dot: #c0c0c0;
    --border: #e0e0e0;
    --coming-soon: #999999;
    
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Typography */
body {
    font-family: var(--font-ja);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-en);
    font-weight: 700;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.header--scrolled {
    background-color: rgba(255, 255, 255, 0.98);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header__logo a {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
}

.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav__list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 32px;
}

.nav__link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    line-height: 1.5;
    vertical-align: middle;
}

.nav__link:hover {
    color: var(--text-primary);
}

/* Mega Menu Styles */
.megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(27, 58, 107, 0.77) 0%, rgba(18, 42, 79, 0.77) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    overflow: hidden;
    max-height: 80vh;
    border-bottom: 1px solid rgba(27, 58, 107, 0.2);
    color: #ffffff;
}

.nav__item.has-megamenu:hover .megamenu,
.nav__item.has-megamenu:focus-within .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.megamenu__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    position: relative;
    min-height: 360px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
}

.btn--primary {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.btn--primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn--outline {
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Header Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__search-btn,
.header__menu-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--accent);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__search-btn:hover,
.header__menu-btn:hover {
    color: var(--accent-hover);
}

.header__search-btn svg,
.header__menu-btn svg {
    fill: currentColor;
    width: 24px;
    height: 24px;
}

/* Search Drawer */
.search-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    max-width: 90vw;
    background: linear-gradient(135deg, rgba(27, 58, 107, 0.92) 0%, rgba(18, 42, 79, 0.92) 100%);
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.search-drawer--active {
    transform: translateX(0);
}

.search-drawer__header {
    display: flex;
    justify-content: flex-end;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.search-drawer__close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #ffffff;
    transition: var(--transition);
}

.search-drawer__close:hover {
    color: rgba(255, 255, 255, 0.7);
}

.search-drawer__close svg {
    fill: currentColor;
    width: 24px;
    height: 24px;
}

.search-drawer__content {
    padding: 32px 24px;
}

.search-drawer__section {
    margin-bottom: 48px;
}

.search-drawer__section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.search-drawer__freeword {
    display: flex;
    gap: 12px;
}

.search-drawer__input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    background-color: #ffffff;
    color: #333333;
    font-size: 16px;
    transition: var(--transition);
}

.search-drawer__input:focus {
    outline: none;
    border-color: #ffffff;
}

.search-drawer__submit {
    padding: 12px 23px;
    background-color: #122A4F;
    color: #ffffff;
    border: none;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.search-drawer__submit svg {
    fill: #ffffff;
}

.search-drawer__submit:hover {
    background-color: #002D6A;
}

.search-drawer__note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.search-drawer__tag-group {
    margin-bottom: 32px;
}

.search-drawer__tag-group h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.search-drawer__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-drawer__tag {
    padding: 8px 20px;
    background-color: #ffffff;
    color: #1B3A6B;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.search-drawer__tag:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.search-drawer__tag--selected {
    background-color: #1B3A6B;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.search-drawer__tag-submit {
    width: 100%;
    padding: 16px 32px;
    background-color: #122A4F;
    color: #ffffff;
    border: none;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 32px;
}

.search-drawer__tag-submit:hover:not(:disabled) {
    background-color: #002D6A;
}

.search-drawer__tag-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Hero Section - Media Style */
.hero {
    padding-top: 64px;
}

.hero--media {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__slide--active {
    opacity: 1;
}

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

.hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.65);
    border: none;
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__arrow:hover {
    background-color: rgba(0, 0, 0, 0.75);
    transform: translateY(-50%) scale(1.05);
}

.hero__arrow--prev {
    left: 24px;
}

.hero__arrow--next {
    right: 24px;
}

.hero__arrow svg {
    width: 20px;
    height: 20px;
}

.hero__content {
    text-align: center;
    padding: 0 24px;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero--media .hero__content {
    max-width: 600px;
}

.hero__logo {
    margin-bottom: 24px;
}

.hero__logo img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero__title {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 900;
    margin-bottom: 16px;
    font-family: 'Zen Kaku Gothic New', var(--font-ja);
    white-space: nowrap;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.nobr {
    white-space: nowrap;
}

.hero__subtitle {
    font-size: clamp(20px, 3vw, 28px);
    color: #ffffff;
    margin-bottom: 32px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.search-box {
    margin-top: 32px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 16px 56px 16px 20px;
    border: 2px solid rgba(27, 58, 107, 0.2);
    border-radius: 32px;
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--text-primary);
    font-size: 16px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #f8f8f8;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--accent);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-button:hover {
    background-color: var(--accent-hover);
}

.search-button svg {
    fill: #ffffff;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 40px);
    text-align: center;
    margin-bottom: 32px;
}

.section-subtitle {
    display: inline-block;
    margin-left: 16px;
    font-size: 0.6em;
    font-weight: 400;
    color: var(--text-secondary);
    font-family: var(--font-ja);
}

/* Article Cards */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.article-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.article-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-card__image img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background-color: rgba(27, 58, 107, 0.88);
    color: var(--text-secondary);
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-muted);
}

.article-card__content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card__excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.article-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.article-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f0f0f0;
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.article-tag:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
}

.article-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* Mega Menu Updates */
.megamenu--area .area-selector {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.area-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 0;
    align-self: flex-start;
}

.area-tab {
    padding: 12px 32px;
    background: none;
    border: 2px solid #ffffff;
    border-radius: 24px;
    /*
    color: var(--text-secondary);
    */
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    white-space: nowrap;
    display: inline-block;
    text-align: center;
    min-width: 140px;
}

.area-tab--active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.area-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    position: relative;
    overflow: hidden;
    /*
    background-color: rgba(27, 58, 107, 0.1);
    */
    border-radius: 8px;
    margin: 0 20px;
}

.area-map {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.area-map--active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.area-map img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.map-pins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--map-dot);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    padding: 0;
}

.map-pin--active {
    background-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(27, 58, 107, 0.8);
}

.pin-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    font-size: 12px;
    white-space: nowrap;
    /*
    color: var(--text-secondary);
    */
    color: #ffffff;
}

.map-pin--active .pin-label {
    color: var(--accent);
}

.area-list {
    min-width: 250px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
}

.area-list h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 600;
}

.area-link {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 8px;
    background-color: rgba(255, 255, 255, 0.15);
}

.area-link:hover {
    color: var(--accent);
}

.area-link--active {
    color: #ffffff;
}

.area-link--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: var(--map-dot);
}

/* Mood Tags Mega Menu */
.mood-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.mood-group h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #ffffff;
}

.mood-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.mood-tag {
    padding: 8px 20px;
    background-color: #f8f8f8;
    border: 1px solid var(--border);
    border-radius: 24px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.mood-tag:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

/* Special Menu */
.special-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.special-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    /*
    color: var(--text-primary);
    */
    color: #ffffff;
}

.special-links, .service-links, .domain-links {
    list-style: none;
    padding: 0;
}

.special-links li, .service-links li, .domain-links li {
    margin-bottom: 12px;
}

.special-links a, .service-links a, .domain-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.special-links a:hover, .service-links a:hover, .domain-links a:hover {
    color: #ffffff;
}

.service-status {
    margin-left: 8px;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
}

.service-status--active {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.service-status--coming {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Area Search Section */
.area-search {
    background-color: #f0f0f0;
}

.area-search__tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.area-search__tab {
    padding: 12px 32px;
    background: none;
    border: 2px solid rgba(27, 58, 107, 0.2);
    border-radius: 32px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.area-search__tab--active {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

.area-search__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.area-search__map {
    display: none;
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.area-search__map--active {
    display: block;
}

.area-highlights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.area-highlight {
    position: absolute;
    background-color: var(--accent);
    opacity: 0.3;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.area-highlight--okinawa {
    bottom: 15%;
    left: 20%;
    width: 10%;
    height: 10%;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0.3; }
}

.area-search__list {
    width: 100%;
    max-width: 1000px;
}

.area-search__list--japan {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.area-card {
    background-color: #f8f8f8;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.area-card:hover:not(.area-card--disabled) {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.area-card--active {
    border-color: var(--accent);
}

.area-card--disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.area-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.area-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.article-count {
    font-size: 14px;
    color: var(--accent);
}

.coming-badge {
    font-size: 12px;
    color: var(--coming-soon);
    background-color: rgba(94, 107, 126, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
}

/* Mood Search Section */
.mood-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.mood-category h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Ranking Section */
.ranking {
    background-color: #f0f0f0;
}

.ranking-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #f8f8f8;
    padding: 16px;
    border-radius: 12px;
    transition: var(--transition);
}

.ranking-item:hover {
    transform: translateX(4px);
}

.ranking-number {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    min-width: 40px;
    text-align: center;
}

.ranking-item__content {
    display: flex;
    gap: 16px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.ranking-item__image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.ranking-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption--small {
    font-size: 9px;
    padding: 2px 4px;
    bottom: 4px;
    right: 4px;
}

.article-image-placeholder--small {
    font-size: 24px;
}

.ranking-item__text {
    flex: 1;
}

.ranking-item__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.ranking-item__tags {
    display: flex;
    gap: 8px;
}

.article-tag--small {
    font-size: 11px;
    padding: 2px 8px;
}

/* Pick Up Section */
.pickup-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.article-card--large .article-card__image {
    height: 300px;
}

.article-card--large .article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card--large .article-card__title {
    font-size: 24px;
}

/* Services Compact Section */
.services-compact {
    background-color: #f0f0f0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.service-item {
    background-color: #f8f8f8;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    position: relative;
}

.service-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.service-item__icon {
    fill: var(--accent);
    margin-bottom: 16px;
}

.service-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.service-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    padding: 4px 8px;
    background-color: rgba(94, 107, 126, 0.2);
    color: var(--coming-soon);
    border-radius: 12px;
}

/* Trending Tags Section */
.trending-tags__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.trending-tag {
    display: inline-block;
    padding: 10px 24px;
    background-color: #f8f8f8;
    border: 1px solid var(--border);
    border-radius: 24px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}

.trending-tag:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--bg-primary);
}

/* Footer */
.footer {
    background-color: #f0f0f0;
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__logo {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 800;
}

.footer__tagline {
    color: var(--text-secondary);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer__column h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer__column ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__column a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer__column a:hover {
    color: var(--accent);
}

.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social a {
    display: block;
    width: 40px;
    height: 40px;
    padding: 8px;
    background-color: #f8f8f8;
    border-radius: 8px;
    transition: var(--transition);
}

.footer__social a:hover {
    background-color: var(--accent);
}

.footer__social svg {
    fill: var(--text-secondary);
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.footer__social a:hover svg {
    fill: #ffffff;
}

.footer__bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

/* Fade-in animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Vertical Side Buttons */
.vertical-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 996;
    display: flex;
    flex-direction: column;
}

.vertical-button {
    width: 50px;
    height: 100px;
    background-color: var(--accent);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.vertical-button:last-child {
    border-bottom: none;
}

.vertical-button:hover {
    background-color: var(--accent-hover);
}

.vertical-button svg {
    fill: currentColor;
    width: 20px;
    height: 20px;
}

.vertical-button span {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.1em;
}

/* Responsive Styles */
@media (max-width: 1023px) {
    .mood-groups, .special-content {
        grid-template-columns: 1fr;
    }
    
    .area-selector {
        flex-direction: column;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .footer__links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .header__nav {
        display: none;
    }
    
    .header__actions {
        gap: 12px;
    }
    
    .search-drawer,
    .drawer-menu,
    .reservation-panel {
        width: 85vw;
    }
    
    .vertical-button {
        width: 40px;
        height: 80px;
        font-size: 11px;
    }
    
    .vertical-button svg {
        width: 16px;
        height: 16px;
    }
    
    .hero__title {
        white-space: normal;
        word-break: keep-all;
    }
    
    .area-tabs {
        width: 100%;
    }
    
    .area-tab {
        flex: 1;
        text-align: center;
    }
    
    .area-search__list--japan {
        grid-template-columns: 1fr;
    }
    
    .mood-categories {
        grid-template-columns: 1fr;
    }
    
    .ranking-list {
        grid-template-columns: 1fr;
    }
    
    .pickup-carousel {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .service-item {
        padding: 16px;
    }
    
    .service-item h3 {
        font-size: 14px;
    }
    
    .service-item p {
        font-size: 12px;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Drawer Menu */
.drawer-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 360px;
    max-width: 90vw;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    color: #374151;
}

.drawer-menu--active {
    transform: translateX(0);
}

.drawer-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.drawer-menu__title {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-en);
    color: #1B3A6B;
}

.drawer-menu__close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #374151;
    transition: var(--transition);
}

.drawer-menu__close:hover {
    color: #1B3A6B;
}

.drawer-menu__close svg {
    fill: currentColor;
    width: 24px;
    height: 24px;
}

.drawer-menu__content {
    padding: 24px;
}

.drawer-menu__section {
    margin-bottom: 32px;
}

.drawer-menu__section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #374151;
}

.drawer-menu__nav {
    padding: 24px 0;
}

.drawer-menu__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.drawer-menu__list li {
    border-bottom: 1px solid #e5e7eb;
}

.drawer-menu__link {
    display: block;
    padding: 20px 24px;
    text-decoration: none;
    color: #374151;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.drawer-menu__link:hover {
    background-color: #f3f4f6;
    color: #1B3A6B;
}

.drawer-menu__link::after {
    content: '>';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

.drawer-menu__link--active {
    color: #1B3A6B;
    background-color: #f0f4f8;
}

.drawer-menu__badge {
    display: inline-block;
    margin-left: 8px;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: rgba(94, 107, 126, 0.2);
    color: var(--coming-soon);
}

.drawer-menu__link--expandable {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: inherit;
    font-family: inherit;
}

.drawer-menu__link--expandable::after {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.drawer-menu__link--expandable.expanded::after {
    transform: rotate(270deg);
}

.drawer-menu__expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.drawer-menu__expand.expanded {
    max-height: 500px;
    padding: 16px 24px 24px;
}

.area-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ffffff;
    color: #1B3A6B;
    border: 1px solid #1B3A6B;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.area-button:hover {
    background-color: #1B3A6B;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Reservation Panel */
.reservation-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 90vw;
    background: linear-gradient(135deg, rgba(27, 58, 107, 0.92) 0%, rgba(18, 42, 79, 0.92) 100%);
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.reservation-panel--active {
    transform: translateX(0);
}

.reservation-panel__header {
    display: flex;
    justify-content: flex-end;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.reservation-panel__close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #ffffff;
    transition: var(--transition);
}

.reservation-panel__close:hover {
    color: rgba(255, 255, 255, 0.7);
}

.reservation-panel__close svg {
    fill: currentColor;
    width: 24px;
    height: 24px;
}

.reservation-panel__content {
    padding: 24px;
    display: flex;
    justify-content: center;
}

#portai-booking-widget {
    width: 100%;
    max-width: 360px;
}


/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 997;
}

.overlay--active {
    opacity: 1;
    visibility: visible;
}

/* Panel Drawer (Weather, Radar, Status) */
.panel-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    max-width: 90vw;
    background: linear-gradient(135deg, rgba(27, 58, 107, 0.92) 0%, rgba(18, 42, 79, 0.92) 100%);
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
    z-index: 999;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.panel-drawer--active {
    transform: translateX(0);
}

.panel-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.panel-drawer__title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.panel-drawer__close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #ffffff;
    transition: var(--transition);
}

.panel-drawer__close:hover {
    color: rgba(255, 255, 255, 0.7);
}

.panel-drawer__close svg {
    fill: currentColor;
    width: 24px;
    height: 24px;
}

.panel-drawer__content {
    padding: 32px 24px;
}

.panel-notice {
    text-align: center;
    padding: 40px 20px;
}

.panel-notice p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.external-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.external-link {
    display: inline-block;
    padding: 14px 24px;
    background-color: #ffffff;
    color: var(--accent);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.external-link:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Trending Keywords */
.trending-keywords {
    padding: 24px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.trending-keywords__wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.trending-keywords__label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
    white-space: nowrap;
}

.trending-keywords__list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.trending-keyword {
    display: inline-block;
    padding: 6px 16px;
    background-color: #ffffff;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.trending-keyword:hover {
    background-color: var(--accent);
    color: #ffffff;
}