/* ==========================================================================
   sp.css (スマホ用スタイル)
   基本となるデザインはここに書きます（モバイルファースト）
   ========================================================================== */

/* 1. Hero Section */
.hero {
    position: relative;
    background-color: var(--brand-light);
    padding: 50px 0 70px; /* 上下余白を元の半分に縮小 */
    overflow: hidden;
}
/* 追加: 背景画像レイヤー (スライドショー) */
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background-color: #e6f2ff; /* 読み込み時のベース色 */
}
.hero-bg img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%; /* 写真の上の方を基準にトリミング */
    opacity: 0;
    /* 3枚の画像で15秒（1枚5秒）のループアニメーション */
    animation: heroFade 15s infinite linear;
}
/* 各画像のアニメーション開始タイミングを5秒ずつずらす */
.hero-bg img:nth-child(1) { animation-delay: 0s; }
.hero-bg img:nth-child(2) { animation-delay: 5s; }
.hero-bg img:nth-child(3) { animation-delay: 10s; }

/* スライドショーのフェード＆ズームアニメーション設定 */
@keyframes heroFade {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; transform: scale(1.02); } /* ふわっと表示 */
    33% { opacity: 1; transform: scale(1.05); } /* 表示キープしつつじわじわ拡大 */
    38% { opacity: 0; transform: scale(1.06); } /* ふわっと消える */
    100% { opacity: 0; transform: scale(1); }
}

/* 追加: テキストを読みやすくするためのグラデーション */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* 上は薄く写真を見せ、下に行くほど白くしてテキストを読みやすく */
    background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,1) 100%);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 10;
}
.hero-text {
    width: 100%;
    text-align: left; /* SP時も左寄せに変更 */
}
.hero-badge {
    display: inline-block;
    background: #ffffff;
    color: var(--brand-main);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e6f2ff;
}
.hero-title {
    /* 11.5vw でSPの画面横幅ギリギリまで拡大、最大値も5.5remにアップ */
    font-size: clamp(3rem, 11.5vw, 5.5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em; /* 文字間を少し詰めて塊感を出す */
}
.hero-title .highlight {
    color: var(--brand-main);
    display: inline-block;
    white-space: nowrap;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 32px;
    letter-spacing: 0.1em;
}
.hero-desc {
    background: rgba(255, 255, 255, 0.85); /* 少し透けさせて奥行きを出す */
    backdrop-filter: blur(8px);
    padding: 24px;
    border-radius: 24px;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.8;
    box-shadow: var(--shadow-soft);
    max-width: 600px; /* PC時に横に広がりすぎないように制限 */
}
.hero-wave {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    transform: translateY(1px);
    z-index: 5;
}
.hero-wave svg { display: block; width: 100%; height: 50px; }

/* 2. 4つの理由 Section */
.reasons { padding: 80px 0; background: #ffffff; }
.section-header { margin-bottom: 60px; }
.section-header h2 {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    line-height: 1.5;
    margin-bottom: 16px;
}
.section-header .num {
    color: var(--brand-main);
    font-size: 1.5em;
    font-weight: 900;
    margin: 0 8px;
}
.section-line {
    width: 60px; height: 4px;
    background: var(--brand-accent);
    margin: 0 auto; border-radius: 2px;
}
.reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.reason-card {
    background: var(--brand-light);
    border-radius: 32px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}
.reason-card:hover { transform: translateY(-8px); }
.reason-img {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
}
.reason-img img {
    transition: transform 0.6s;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}
.reason-card:hover .reason-img img { transform: scale(1.05); }
.reason-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.reason-num {
    background: var(--brand-main);
    color: #ffffff;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.reason-head h3 { font-size: 1.3rem; }
.reason-catch {
    color: var(--brand-main);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.reason-desc { color: var(--text-gray); font-size: 1rem; }

/* 3. 空白セクション & バナー */
.blank-sec { padding: 0px 0px 60px 0px; background: #ffffff; }
.heading-soft {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
    margin-bottom: 0px;
    margin-top: 60px;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 700;
}
.heading-soft::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px;
    background-color: var(--brand-main);
    border-radius: 2px;
}
.dummy-box {
    height: 100px;
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 24px;
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af;
    margin-bottom: 60px;
}
.banners {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 60px;
}
.banner-link {
    display: block;
    width: 100%;
    max-width: 500px; /* PC時に並んだ時に1000pxに収まるように */
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
}
.banner-link:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.banner-link img { transition: transform 0.5s; }
.banner-link:hover img { transform: scale(1.05); }

/* 4. Advantage Section */
.advantage {
    padding: 100px 0;
    background-color: var(--brand-light);
    position: relative;
}
.bg-dots {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--brand-accent) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.4;
    z-index: 0;
}
.advantage .container { position: relative; z-index: 10; }
.adv-label {
    color: var(--brand-main); font-weight: 700; letter-spacing: 0.15em;
    font-size: 0.9rem; display: block; margin-bottom: 12px;
}
.adv-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 16px; }
.adv-subtitle { font-size: 1.1rem; color: var(--text-gray); font-weight: 700; margin-bottom: 60px; }
.adv-row {
    display: flex; flex-direction: column; gap: 30px;
    margin-bottom: 60px; align-items: center;
}
.adv-img {
    border-radius: 32px; overflow: hidden;
    box-shadow: var(--shadow-soft); position: relative;
    transform: rotate(-1deg);
}
.adv-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.adv-num {
    position: absolute; top: 16px; left: 16px;
    background: #ffffff; color: var(--brand-main);
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 900;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.adv-text h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); line-height: 1.6; margin-bottom: 20px; }
.adv-text p { color: var(--text-gray); font-size: 1rem; }

/* 5. Features & Tours Section */
.features { padding: 100px 0; background: #ffffff; }
.feat-summary {
    background: var(--brand-light); border-radius: 32px;
    padding: 40px; margin-bottom: 80px; box-shadow: var(--shadow-soft);
}
.feat-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.feat-list li {
    background: #ffffff; padding: 16px 20px; border-radius: 20px;
    display: flex; align-items: center; gap: 16px; font-weight: 700;
    font-size: 1.05rem; box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.feat-list li.highlight { border: 2px solid var(--brand-accent); }
.feat-list-num {
    background: var(--brand-main); color: #ffffff;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; flex-shrink: 0;
}
.feat-details { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 80px; }
.feat-card {
    background: #ffffff; border: 1px solid #f3f4f6; border-radius: 32px;
    padding: 30px; box-shadow: var(--shadow-soft);
}
.feat-card-head {
    display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
    padding-bottom: 20px; border-bottom: 1px solid #f3f4f6;
}
.feat-card-num { color: var(--brand-accent); font-size: 2rem; font-weight: 900; }
.feat-card h4 { font-size: 1.1rem; }
.feat-card p { font-size: 0.9rem; color: var(--text-gray); }
.separator {
    width: 100px; height: 4px; background: var(--brand-light);
    border-radius: 2px; margin: 0 auto 80px;
}

/* Tours List */
.tours-label {
    display: inline-block; background: var(--brand-light); color: var(--brand-main);
    font-weight: 700; padding: 4px 16px; border-radius: 30px;
    font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 0.1em;
}
.tours-title { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 16px; }
.tours-title .num { color: var(--brand-main); font-size: 1.2em; margin-right: 8px; }
.tour-cat-title {
    font-size: 1.2rem; margin-bottom: 24px; padding-left: 16px;
    border-left: 4px solid var(--brand-main); font-weight: 700;
}
.tour-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
.tour-item {
    display: block; background: #ffffff; border-radius: 24px;
    box-shadow: var(--shadow-soft); overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.tour-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.tour-img { overflow: hidden; }
.tour-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s; }
.tour-item:hover .tour-img img { transform: scale(1.05); }
.tour-info { padding: 24px; }
.tour-info p {
    font-weight: 700; transition: color 0.3s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tour-item:hover .tour-info p { color: var(--brand-main); }

/* Archive (過去実施ツアー) */
.archive { margin-top: 80px; padding-top: 60px; border-top: 2px dashed #e5e7eb; }
.archive-box {
    background: rgba(240, 247, 255, 0.5); border-radius: 32px;
    padding: 30px; box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}
.archive-list { display: grid; grid-template-columns: 1fr; gap: 16px 30px; }
.archive-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 0.95rem; color: var(--text-gray); font-weight: 500;
}
.archive-icon { color: var(--brand-main); font-size: 1.2rem; line-height: 1; margin-top: 2px; }

/* 6. Q&A Section */
.qa { padding: 80px 0 120px; background: var(--brand-light); position: relative; }
.qa-wave {
    position: absolute; top: 0; left: 0; width: 100%;
    transform: rotate(180deg) translateY(1px);
}
.qa-wave svg { display: block; width: 100%; height: 40px; }
.qa-header { margin-bottom: 40px; }
.qa-title-en {
    font-size: clamp(2.5rem, 5vw, 3rem); font-weight: 900;
    color: var(--brand-main); letter-spacing: 0.1em; margin-bottom: 8px;
}
.qa-title-ja { font-size: 1.1rem; font-weight: 700; }
.qa-list { display: flex; flex-direction: column; gap: 16px; }
.qa-item {
    background: #ffffff; border-radius: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    overflow: hidden; cursor: pointer; border: 1px solid #e6f2ff;
}
.qa-head {
    padding: 20px 24px; display: flex; justify-content: space-between;
    align-items: center; gap: 16px;
}
.qa-q-wrap { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 700; }
.qa-q-mark { color: var(--brand-accent); font-size: 1.5rem; font-weight: 900; }
.qa-icon { color: var(--brand-main); font-size: 1.5rem; transition: transform 0.3s; font-weight: 300; }
.qa-item.active .qa-icon { transform: rotate(45deg); }
.qa-body {
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s;
    background: rgba(240, 247, 255, 0.5);
}
.qa-item.active .qa-body { grid-template-rows: 1fr; }
.qa-inner { overflow: hidden; }
.qa-content {
    padding: 16px 24px 24px; border-top: 1px solid var(--brand-light);
    color: var(--text-gray); font-size: 0.95rem;
}
.qa-content hr { border: none; border-top: 1px solid #ffffff; margin: 16px 0; }
.qa-ng {
    background: #ffffff; padding: 16px; border-radius: 16px;
    border: 1px solid #f3f4f6; margin-top: 16px; font-size: 0.85rem;
}

.blank-sec .bn{margin-top: 40px;}