/* 旅行紹介ページ専用CSS */

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本スタイル */
body {
    font-family: 'Hiragino Sans', 'Noto Sans JP', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, #ffd3e1 0%, #ffe4d6 100%);
    color: #333;
    text-align: center;
    padding: 3rem 2rem;
}

header h1 {
    font-family: 'Hiragino Sans', 'Noto Sans JP', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

/* ナビゲーション */
.navigation {
    margin-top: 2rem;
}

.navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.navigation li {
    margin: 0;
}

.navigation a {
    font-family: 'Hiragino Sans', 'Noto Sans JP', Arial, sans-serif;
    color: #333;
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid transparent;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    text-transform: capitalize;
    backdrop-filter: blur(10px);
}

.navigation a:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.3);
    border-color: #ff9a9e;
}

.navigation a.active {
    background: #ff9a9e;
    color: white;
    border-color: #ff9a9e;
}

.navigation a.active:hover {
    background: #ffa8cc;
    border-color: #ffa8cc;
}

/* メインコンテンツ */
main {
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
}

section h2 {
    font-family: 'Hiragino Sans', 'Noto Sans JP', Arial, sans-serif;
    color: #8B4B8B;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    letter-spacing: 1.2px;
    text-transform: capitalize;
    position: relative;
}

/* 旅行紹介セクション */
.travel-intro {
    text-align: center;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.travel-intro h2 {
    border: none;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8B4B8B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.travel-intro h2::after {
    display: none;
}

.travel-intro p {
    font-family: 'Hiragino Sans', 'Noto Sans JP', Arial, sans-serif;
    font-size: 1.3rem;
    color: #5a6c7d;
    line-height: 2;
    letter-spacing: 0.8px;
    font-weight: 400;
    text-align: justify;
}

/* 旅行セクション */
.travel-section {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid transparent;
    margin-bottom: 3rem;
}

.travel-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 旅行画像 */
.travel-image {
    text-align: center;
    margin-bottom: 2rem;
}

.travel-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.travel-placeholder:hover {
    transform: scale(1.1) rotate(10deg);
}

/* 地域別の色分け（パステル調に変更） */
.travel-placeholder.hokkaido {
    background: linear-gradient(135deg, #f5b7c8 0%, #e8839b 100%);
}

.travel-placeholder.okinawa {
    background: linear-gradient(135deg, #f4c2a1 0%, #e09c6f 100%);
}

.travel-placeholder.kankoku {
    background: linear-gradient(135deg, #f5d795 0%, #e6b85c 100%);
}

.travel-placeholder.thailand {
    background: linear-gradient(135deg, #e8c5d4 0%, #d8a3b8 100%);
}

/* 旅行情報 */
.travel-info h2 {
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
    text-align: center;
}

.travel-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.travel-details p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.travel-details strong {
    color: #ff9a9e;
    display: inline-block;
    width: 120px;
    font-weight: 600;
}

.travel-description {
    background: linear-gradient(145deg, #ffd3e1 0%, #ffe4d6 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid #ff9a9e;
}

.travel-description p {
    font-size: 1rem;
    line-height: 1.8;
    color: #2d3436;
}

/* 学びセクション */
.learning-section {
    background: linear-gradient(145deg, #ffd3e1 0%, #ffe4d6 50%, #fff2d1 100%);
    color: #5a5a5a;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(255, 211, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.learning-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 20px;
}

.learning-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #8B4B8B;
    text-shadow: 0 2px 10px rgba(139, 75, 139, 0.2);
    border: none;
}

.learning-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.learning-item {
    background: rgba(255, 255, 255, 0.4);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    cursor: pointer;
}

.learning-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.learning-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #8B4B8B;
}

.learning-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6B4B6B;
}

/* グルメセクション */
.food-section {
    background: linear-gradient(145deg, #ffd3e1 0%, #ffe4d6 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 25px rgba(255, 211, 225, 0.2);
}

.food-section h2 {
    text-align: center;
    border: none;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #8B4B8B;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.food-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.15);
    transition: transform 0.3s ease;
}

.food-item:hover {
    transform: translateY(-5px);
}

.food-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.food-placeholder:nth-of-type(1) {
    background: linear-gradient(135deg, #f5b7c8 0%, #e8839b 100%);
}

.food-placeholder:nth-of-type(2) {
    background: linear-gradient(135deg, #f4c2a1 0%, #e09c6f 100%);
}

.food-placeholder:nth-of-type(3) {
    background: linear-gradient(135deg, #f5d795 0%, #e6b85c 100%);
}

.food-placeholder:nth-of-type(4) {
    background: linear-gradient(135deg, #e8c5d4 0%, #d8a3b8 100%);
}

.food-placeholder:nth-of-type(5) {
    background: linear-gradient(135deg, #f5e6a3 0%, #e6cc5c 100%);
}

.food-item h3 {
    color: #8B4B8B;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.food-item p {
    font-size: 0.9rem;
    color: #6B4B6B;
    margin-bottom: 0.3rem;
}

/* 将来の旅行セクション */
.future-section {
    background: linear-gradient(145deg, #fff2d1 0%, #ffe8e8 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 25px rgba(255, 234, 209, 0.2);
}

.future-section h2 {
    border: none;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #8B4B8B;
}

.future-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.future-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.15);
    transition: transform 0.3s ease;
}

.future-item:hover {
    transform: translateY(-5px);
}

.future-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
}

.future-item:nth-child(1) .future-icon {
    background: linear-gradient(135deg, #f5b7c8 0%, #e8839b 100%);
}

.future-item:nth-child(2) .future-icon {
    background: linear-gradient(135deg, #f4c2a1 0%, #e09c6f 100%);
}

.future-item:nth-child(3) .future-icon {
    background: linear-gradient(135deg, #f5d795 0%, #e6b85c 100%);
}

.future-item h3 {
    color: #8B4B8B;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.future-item p {
    font-size: 1rem;
    color: #6B4B6B;
    line-height: 1.6;
}

/* コツセクション */
.tips-section {
    background: linear-gradient(145deg, #ffe4d6 0%, #fff2d1 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(255, 228, 214, 0.2);
}

.tips-section h2 {
    text-align: center;
    color: #8B4B8B;
    border: none;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.tips-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.tips-list li {
    background: white;
    color: #6B4B6B;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 154, 158, 0.1);
}

.tips-list li:hover {
    transform: translateY(-3px) scale(1.02);
    background: white;
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.2);
}

/* フッター */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1.5rem;
    font-family: 'Hiragino Sans', 'Noto Sans JP', Arial, sans-serif;
    font-size: 0.9rem;
}

/* ===== アニメーション ===== */

/* キーフレーム定義 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* アニメーションクラス */
.animate-container {
    animation: fadeInUp 0.8s ease-out;
}

.animate-header {
    animation: slideInDown 1s ease-out 0.2s both;
}

.animate-intro {
    animation: fadeInScale 0.8s ease-out 0.4s both;
}

.animate-travel-1 {
    animation: fadeInLeft 0.8s ease-out 0.6s both;
}

.animate-travel-2 {
    animation: fadeInRight 0.8s ease-out 0.8s both;
}

.animate-travel-3 {
    animation: fadeInLeft 0.8s ease-out 1s both;
}

.animate-learning {
    animation: fadeInScale 0.8s ease-out 1.2s both;
}

.animate-food {
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.animate-future {
    animation: fadeInScale 0.8s ease-out 1.6s both;
}

.animate-tips {
    animation: fadeInUp 0.8s ease-out 1.8s both;
}

.animate-footer {
    animation: fadeInUp 0.8s ease-out 2s both;
}

/* 学習アイテムの個別アニメーション */
.learning-item {
    opacity: 0;
    animation: bounceIn 0.6s ease-out both;
}

.learning-item:nth-child(1) { animation-delay: 1.4s; }
.learning-item:nth-child(2) { animation-delay: 1.5s; }
.learning-item:nth-child(3) { animation-delay: 1.6s; }
.learning-item:nth-child(4) { animation-delay: 1.7s; }

/* グルメアイテムの個別アニメーション */
.food-item {
    opacity: 0;
    animation: fadeInScale 0.5s ease-out both;
}

.food-item:nth-child(1) { animation-delay: 1.6s; }
.food-item:nth-child(2) { animation-delay: 1.7s; }
.food-item:nth-child(3) { animation-delay: 1.8s; }
.food-item:nth-child(4) { animation-delay: 1.9s; }

/* 将来の旅行アイテムのアニメーション */
.future-item {
    opacity: 0;
    animation: bounceIn 0.6s ease-out both;
}

.future-item:nth-child(1) { animation-delay: 1.8s; }
.future-item:nth-child(2) { animation-delay: 1.9s; }
.future-item:nth-child(3) { animation-delay: 2s; }
.future-item:nth-child(4) { animation-delay: 2.1s; }

/* コツリストのアニメーション */
.tips-list li {
    opacity: 0;
    animation: fadeInUp 0.4s ease-out both;
}

.tips-list li:nth-child(1) { animation-delay: 2s; }
.tips-list li:nth-child(2) { animation-delay: 2.1s; }
.tips-list li:nth-child(3) { animation-delay: 2.2s; }
.tips-list li:nth-child(4) { animation-delay: 2.3s; }
.tips-list li:nth-child(5) { animation-delay: 2.4s; }
.tips-list li:nth-child(6) { animation-delay: 2.5s; }

/* 初期状態 */
.animate-header,
.animate-intro,
.animate-travel-1,
.animate-travel-2,
.animate-travel-3,
.animate-learning,
.animate-food,
.animate-future,
.animate-tips,
.animate-footer {
    opacity: 0;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 0;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .navigation ul {
        gap: 0.8rem;
        flex-wrap: wrap;
    }
    
    .navigation a {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .travel-section {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
    }
    
    .travel-image {
        flex: none;
        align-self: center;
    }
    
    .travel-placeholder {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    main {
        padding: 1.5rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .travel-details strong {
        width: auto;
        display: block;
        margin-bottom: 0.2rem;
    }
    
    .learning-content,
    .food-grid,
    .future-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tips-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .navigation a {
        width: 100%;
        text-align: center;
    }
    
    main {
        padding: 1rem;
    }
    
    .travel-intro,
    .food-section,
    .tips-section {
        padding: 1.5rem;
    }
    
    .learning-section {
        padding: 2rem 1rem;
    }
}
