/* ナビゲーション基本設定 */
.navigation {
    position: relative;
    z-index: 1000;
}

/* 企業ロゴ（左上・固定位置） */
.logo {
    position: absolute;
    top: 50%;
    left: 2%;
    z-index: 1001;
    color: white;
    font-family: 'Georgia', serif;
    width: 20vw;
    padding-top: 0.5vw;
}
.logo img {
	width:100%;
	height:100%;
	object-fit:cover;
}
.logo h1 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 3px;
    margin: 0;
    opacity: 0.9;
}

/* ハンバーガーメニュー（右上・スクロール追従） */
.hamburger-menu {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1002;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(0, 0, 0, 0.1);padding: 15px;
    border-radius: 50%;
       transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



.hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* ハンバーガーアイコン */
.hamburger-icon {
    width: 25px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* メニューオーバーレイ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 閉じるボタン */
.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
}

.menu-close span {
    color: white;
    font-size: 30px;
    font-weight: 300;
}

/* メニューコンテンツ */
.menu-content {
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.active .menu-content {
    transform: translateY(0);
}

/* メニューアイテム */
.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-items li {
    margin: 20px 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.active .menu-items li {
    opacity: 1;
    transform: translateX(0);
}

/* 段階的遅延アニメーション */
.menu-overlay.active .menu-items li:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .menu-items li:nth-child(2) { transition-delay: 0.15s; }
.menu-overlay.active .menu-items li:nth-child(3) { transition-delay: 0.2s; }
.menu-overlay.active .menu-items li:nth-child(4) { transition-delay: 0.25s; }
.menu-overlay.active .menu-items li:nth-child(5) { transition-delay: 0.3s; }
.menu-overlay.active .menu-items li:nth-child(6) { transition-delay: 0.35s; }

/* メニューリンク */
.menu-link {
    color: white;
    text-decoration: none;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-link:hover {
    color: #d4af37;
    transform: scale(1.1);
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #d4af37;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.menu-link:hover::after {
    width: 100%;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .logo {
    top: 25px;
    left: 0;
    width: 165px;
}
    
    .logo h1 {
        font-size: 24px;
    }
    
    .hamburger-menu {
        top: 20px;
        right: 20px;
        padding: 12px;
    }
    
    .hamburger-icon {
        width: 20px;
        height: 16px;
    }
    
    .menu-close {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .menu-link {
        font-size: 24px;
    }
}

.cta-section {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)),
        url('https://www.japanrailpassnow.com/wp-content/uploads/2017/08/Fujiyoshida-Japan-at-Chureito-Pagoda-and-Mt.-Fuji-in-the-spring-with-cherry-blossoms.jpg') center/cover no-repeat;
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.2) 0%, rgba(139, 115, 85, 0.1) 100%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3.2rem;
    font-weight: 300;
    color: #f8f5f0;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    font-family: 'Georgia', serif;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #e8dcc0;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: rgba(212, 196, 160, 0.95);
    color: #3a2f1f;
    padding: 18px 45px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    border: radius;
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 196, 160, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 5vw;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #f8f5f0;
    border-color: #f8f5f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

/* タブレット用（768px以下） */
@media (max-width: 768px) {
    .cta-section {
        padding: 100px 0;
        background-position: center center;
    }
    
    .cta-content h2 {
        font-size: 2.6rem;
        margin-bottom: 18px;
    }
    
    .cta-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }
    
    .cta-button {
        padding: 16px 40px;
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* スマートフォン用（480px以下） */
@media (max-width: 480px) {
    .cta-section {
        padding: 80px 0;
        background: 
            linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)),
            url('https://www.japanrailpassnow.com/wp-content/uploads/2017/08/Fujiyoshida-Japan-at-Chureito-Pagoda-and-Mt.-Fuji-in-the-spring-with-cherry-blossoms.jpg') center/cover no-repeat;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.3;
    }
    
    .cta-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 0.9rem;
        letter-spacing: 0.8px;
    }
    
    .container {
        padding: 0 12px;
    }
}

/* 小さなスマートフォン用（360px以下） */
@media (max-width: 360px) {
    .cta-section {
        padding: 70px 0;
        background: 
            linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
            url('https://www.japanrailpassnow.com/wp-content/uploads/2017/08/Fujiyoshida-Japan-at-Chureito-Pagoda-and-Mt.-Fuji-in-the-spring-with-cherry-blossoms.jpg') center/cover no-repeat;
    }
    
    .cta-content h2 {
        font-size: 1.9rem;
        margin-bottom: 12px;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
        padding: 0 5px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.85rem;
        display: block;
        width: 220px;
        margin: 0 auto;
    }
}

/* 大画面用（1200px以上） */
@media (min-width: 1200px) {
    .cta-section {
        padding: 140px 0;
    }
    
    .cta-content h2 {
        font-size: 3.6rem;
        margin-bottom: 25px;
    }
    
    .cta-subtitle {
        font-size: 1.2rem;
        margin-bottom: 50px;
    }
    
    .cta-button {
        padding: 20px 50px;
        font-size: 1.1rem;
    }
}
/* Find Sections */
.find-section {
    padding: 80px 0;
/*     background: #faf8f5; */
    background: #FCFCFC;
    position: relative;
}

.find-section:nth-child(even) {
    background: #f8f5f0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8b7355;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
/*     font-family: 'Georgia', serif; */
}
/* Category Slider */
.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.category-items {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* gap: 30px; ← これを削除 */
}

.category-item {
    flex: 0 0 calc(33.333% - 20px); /* gapの代わりにmarginを使用 */
    background: #ffffff;
    color: #333333;
    text-decoration: none;
    padding: 25px 30px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-right: 30px; /* gapの代わり */
}

.category-item:last-child {
    margin-right: 0; /* 最後の要素はmarginなし */
}


.category-item:hover {
    background: #ffffff;
    color: #8b7355; /* Amanアクセント */
/*     transform: translateY(-3px); */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #d4c4a0; /* Amanアクセント */
}

.slider-btn {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #666666;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.slider-btn:hover {
    background: #d4c4a0; /* Amanアクセント */
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
    border-color: #d4c4a0;
}

.slider-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Tag Grid */
.tag-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.tag-item {
    background: #ffffff;
    color: #333333;
    text-decoration: none;
    padding: 20px 25px;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tag-item:hover {
    background: #ffffff;
    color: #8b7355; /* Amanアクセント */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: #d4c4a0; /* Amanアクセント */
}

.more-btn {
    background: #f8f8f8;
    border: 1px dashed #cccccc;
    cursor: pointer;
    font-style: italic;
    color: #666666;
}

.more-btn:hover {
    background: rgba(139, 115, 85, 0.1); /* Amanアクセント */
    border-style: solid;
    border-color: #d4c4a0; /* Amanアクセント */
    color: #8b7355; /* Amanアクセント */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .find-section {
        padding: 60px 0;
		padding-bottom: 70px!important;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .slider-container {
        gap: 15px;
    }
    
    .category-item {
        flex: 0 0 calc(50% - 15px);
        padding: 20px 20px;
        font-size: 1rem;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .tag-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
		width:75%;
    }
    
    .tag-item {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .find-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .slider-container {
        gap: 10px;
    }
    
    .category-item {
        flex: 0 0 100%;
        padding: 18px 15px;
        font-size: 0.95rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .tag-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
    
    .tag-item {
        padding: 15px 15px;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 0 15px;
    }
}


/* レスポンシブ対応も修正 */
@media (max-width: 768px) {
    .category-item {
        flex: 0 0 calc(50% - 15px);
        padding: 20px 20px;
        font-size: 1rem;
        margin-right: 15px;
    }
    
    .category-item:last-child {
        margin-right: 0;
    }
	.container {
	padding:0!important
}
}

@media (max-width: 480px) {
    .category-item {
        flex: 0 0 calc(100% - 10px);
        padding: 18px 15px;
        font-size: 0.95rem;
        margin-right: 10px;
    }
    
    .category-item:last-child {
        margin-right: 0;
    }
}

.tag-title {
	color:#3c3c3c;
} 

/* Category Slider */
.slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.category-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.category-items {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item {
    flex: 0 0 calc(33.333% - 20px);
    background: #ffffff;
    color: #333333;
    text-decoration: none;
    padding: 25px 30px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-right: 30px;
}

.category-item:last-child {
    margin-right: 0;
}

.category-item:hover {
    background: #ffffff;
    color: #8b7355;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #d4c4a0;
}

.slider-btn {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #666666;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.slider-btn:hover {
    background: #d4c4a0;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
    border-color: #d4c4a0;
}

.slider-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* レスポンシブ対応 - タブレット */
@media (max-width: 768px) {
    .slider-container {
        gap: 15px;
		    max-width: 93%;
    }
    
    .category-item {
        flex: 0 0 calc(50% - 15px);
        padding: 20px 20px;
        font-size: 1rem;
        margin-right: 15px;
    }
    
    .category-item:last-child {
        margin-right: 0;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
	.cta-button {
    padding: 21px 35px;
    font-size: 14px;
    letter-spacing: 0.8px;
    /* height: 42px; */
    border-radius: 50px;
}
}

/* レスポンシブ対応 - スマホ（1個表示） */
@media (max-width: 480px) {
    .slider-container {
        gap: 10px;
    }
    
.category-item {
    flex: 0 0 88%;
    padding: 18px 15px;
    font-size: 0.95rem;
    margin-right: 15px;
}
    
    .category-item:last-child {
        margin-right: 0;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}


