.subtitle {
    margin-top: 1em;
}

.movie-section {
    margin: 0 auto;
    padding: 30px 0;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.movie-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.movie-img {
    width: 100%;
    height: auto;
}

.movie-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.movie-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.movie-title_oage {
    color: #333;
    font-size: 17px;
}

.movie-price {
    font-size: 1rem;
    font-weight: bold;
    color: #e53935;
}

.movie-tags {
    padding: 10px 0;
    font-size: 0.85rem;
    color: #777;
    margin-left: 10px;
}

.movie-tags span {
    margin-right: 8px;
    color: #666;
}

.movie-tags {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.movie-tags span {
    background: #f5f5f5;
    color: #333;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.movie-tags span:hover {
    background: #e53935;
    color: #fff;
}

/* iframeを16:9でレスポンシブ対応 */

.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9比率 (9 ÷ 16 = 0.5625) */
    overflow: hidden;
    border-radius: 12px;
    /* 角丸にしたい場合 */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- YouTube埋め込み --- */

/* iframeを16:9でレスポンシブ対応 */

.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9比率 (9 ÷ 16 = 0.5625) */
    overflow: hidden;
    border-radius: 12px;
    /* 角丸にしたい場合 */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- 下の画像4枚 --- */

.movie-gallery {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 20px auto;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.movie-gallery div {
    flex: 1 1 22%;
    /* 4枚でちょうど収まる */
    min-width: 180px;
    text-align: center;
}

.movie-gallery img {
    width: 100%;
    aspect-ratio: 16/9;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 6px;
}

.movie-gallery p {
    font-size: 0.85rem;
    color: #444;
    margin: 0;
}

@media (max-width: 768px) {
    .movie-gallery {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0;
        /* ← 親のmarginリセット */
        padding: 0;
        /* ← 親のpaddingリセット */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 1em auto;
        gap: 0;
    }
    .movie-gallery div {
        /* 1枚が画面の7割くらい */
        scroll-snap-align: start;
        margin-right: 12px;
        /* ← 各カードの間隔を margin-right で統一 */
    }
    .movie-gallery div:first-child {
        margin-left: 12px;
        /* ← 最初の要素にだけ左余白 */
    }
    .movie-gallery div:last-child {
        margin-right: 12px;
        /* ← 最後も少し余白 */
    }
}

.movie-detail {
    margin: 30px auto;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 1.8;
}

.movie-note {
    color: #e53935;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.movie-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #222;
}

.movie-title .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #444;
}

.movie-desc {
    font-size: 14px;
    margin-bottom: 14px;
    color: #555;
}

.movie-spec-simple {
    margin: 40px auto;
    padding: 10px 20px;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    line-height: 1.7;
}

.movie-spec-simple h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0 8px;
    border-bottom: 1px solid #eee;
    padding-bottom: 4px;
    color: #444;
}

.movie-spec-simple p,
.movie-spec-simple ul {
    margin: 0 0 16px;
    font-size: 0.95rem;
}

.movie-spec-simple strong {
    color: #e53935;
}

.movie-spec-simple small {
    color: #777;
    font-size: 0.85rem;
}

.faq {
    margin: 20px auto;
}

.faq-item {
    background: #f5f5f5;
    border-radius: 30px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    /* 左: Q+テキスト / 右: アイコン */
    align-items: center;
    cursor: pointer;
    color: #333;
}

.faq-question .q-box {
    display: flex;
    align-items: center;
    /* ← Q丸とテキストを縦中央にそろえる */
    flex: 1;
}

.faq-question .q-label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    background: #333;
    color: #fff;
    font-size: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    font-size: 15px;
    line-height: 1.6;
}

.faq-answer .a-label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    background: #e53935;
    color: #fff;
    font-size: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

.faq-item.active .faq-question {
    color: #e53935;
}

.faq-icon {
    font-size: 20px;
    margin-left: 10px;
    color: #333;
}

.faq-item.active .faq-icon {
    color: #e53935;
}



