/* ───────────── 固定背景のためのリセット＆ベース ───────────── */
body {
    width: 100%; /* 小画面では縮小、 */
    max-width: 720px; /* それ以上は広がらない */
    margin: 0 auto; /* 中央寄せ */
    box-sizing: border-box;
    font-family: "Noto Serif", Georgia, serif;
    font-feature-settings: "palt";
    color: white;

    /* 背景は疑似要素に移すのでここでは消去 */
    /* background-image: url("…"); */
    /* background-attachment: fixed; */
    /* background-position: center center; */
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
    position: relative; /* ::before を背面表示するため */
    z-index: 0;
}

/* ───────────── body の背後に固定背景 ───────────── */
body::before {
    content: "";
    position: fixed; /* ビューポートに貼り付け */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("https://aus.kids-tokei.com/2025/en/TEST/assets/img/GUCCI/LP_element/05-Kids-Tokei%20on%20Runway%20Magazine%20Vol08%202025.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1; /* コンテンツの背後に配置 */
}

/* あとは既存の各セクション(css)がそのままスクロールします */

/* Basic settings before editing css */

img {
    width: 100%;
}

/* template design command */

.tx-center {
    text-align: center;
}

.tx-top-margin {
    padding-top: 1rem;
}

.content_flex {
    display: flex;
}

.model_share {
    padding-bottom: 1rem;
    font-size: 1.2rem;
}

@media (max-width: 700px) {
    .content_flex {
        display: block;
    }
}

.explain {
    line-height: 1.6;
}

.caption {
    margin-top: 1rem;
    font-size: 0.7rem; /* 読みやすいサイズ */
    line-height: 1.6; /* 行間を広く */
}

.title {
    text-shadow: #fc0 1px 0 10px;
    font-family: bold;
    font-size: 2rem;
    padding-bottom: 1rem;
}

.img_top_margin {
    margin-top: 2rem;
}

.note {
    text-align: center;
    border: 1px solid white;
    font-size: 1rem;
    margin-top: 2rem;
}

.spot_img {
    box-shadow: rgb(230, 228, 220) 1px 0 30px;
    height: 100%;
    margin: 0rem 1rem;
}

.section_title {
    font-size: 45px;
    letter-spacing: 0.02em;
    color: white;
    text-shadow: #fc0 1px 0 10px;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-style: normal;
    padding-top: 3rem;
}

.section-sub-title {
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.detail {
    color: white;
    text-shadow: #fc0 1px 0 10px;
    font-family: bold;

    text-align: center;
    padding: 0.5rem 0;
    border: 0.8px dotted #044c40; /* ドットを細め・間隔詰め */
    border-radius: 4px; /* やわらかい角丸 */
}

/* header */

#header {
    background-color: #00000090;
}

#header_visual video {
    width: 100%;
    max-height: 720px;
    box-shadow: rgb(230, 228, 220) 2px 0 1000px;
}

/* main */

#main {
    background-color: #00000090;
}

#interest {
    margin: 0rem 1rem;
}

/* ①winner-section */

.model_share a {
    color: rgba(255, 255, 255, 0.643);
}

#instagram_reel video {
    /* 親幅に合わせてリサイズ */
    width: 100%;
    max-height: 500px;
    display: block;
    /* 必要なら角丸に */
    border-radius: 8px;
}

#main_phrase {
    text-align: center;
    padding: 3rem 0rem;
    font-size: 2rem;
    text-shadow: #fc0 1px 0 10px;
}

#instagram_reel {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
#instagram_reel video {
    width: 100%;
    display: block;
    border-radius: 8px;
    padding: 2rem 0rem;
    box-shadow: 0 0 10px 2px rgba(255, 215, 0, 0.7);
    animation: glow 3s ease-in-out infinite;
}

#instagram_reel .hover-label {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    background: rgba(255, 215, 0, 0.8);
    font-size: 0.85rem;
    font-weight: bold;
    color: #222;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
}
#instagram_reel:hover .hover-label {
    opacity: 1;
}

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 5px 1px rgba(255, 215, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 20px 5px rgba(255, 215, 0, 1);
    }
}

/* ────────────────────────────────────── */
.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4rem 2rem;
    padding: 2rem 0;
}

/* 中央のラインにグラデーションをかける */
.timeline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.9), rgba(255, 215, 0, 0.1));
    transform: translateY(-50%);
    z-index: 0;
    filter: blur(1px);
}

/* ──────────────────────────────────────
   高級感アップ版：各ステップの丸
────────────────────────────────────── */
.step {
    position: relative; /* ← 追加 */
    z-index: 1; /* ← 追加 */
    background: radial-gradient(
        circle at top left,
        rgba(255, 249, 230, 0.4) 0%,
        rgba(255, 224, 130, 0.4) 60%,
        rgba(255, 215, 0, 0.4) 100%
    );
    border: 2px solid #ffd700;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    width: 5rem;
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.6);
}

/* ──────────────────────────────────────
   ステップ下のラベル表示（高級セリフ体）
────────────────────────────────────── */
.step[data-label]::after {
    content: attr(data-label);
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.75rem;
    font-family: "Noto Serif", Georgia, serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

/* ②runway-magazine */
#runway-magazine {
    margin-top: 6rem;
}

#main_keyword {
    position: relative;
    overflow: hidden;
    padding-left: 1rem; /* 棒線分のスペース */
    margin: 1rem 0rem 0rem;
}

#main_keyword::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px; /* 黒い縦棒線 */
    height: 100%;
    background: white;
    border-radius: 2px;
}

#main_keyword h1 {
    display: inline-block;
    opacity: 0; /* 透明スタート */
    transform: translateX(-20px); /* 少し左から */
    animation: slideFadeIn 1s ease-out forwards;
    font-weight: 450;
    font-size: 1.4rem;
    line-height: 2;
    color: white;
    text-shadow: #fc0 1px 0 10px;
    letter-spacing: 1px;
}

/* ── runnway magazine のロゴ */

#runway_magazine_logo {
    text-align: center;
}

#runway_magazine_logo img {
    max-width: 600px;
    height: auto; /* アスペクト比を保つ */
    background-color: transparent;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.5);
    margin: 0 auto;
    transition: box-shadow 0.3s ease-in-out;
    border-radius: 8px;
}

/* ホバー時にさらに光らせたい場合 */
#runway_magazine_logo img:hover {
    box-shadow: 0 0 12px rgba(255, 215, 0, 1), 0 0 30px rgba(255, 215, 0, 0.6);
}

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

#semi_winner {
    margin-top: 3rem;
}

#event-name {
    font-size: 1.5em;
}

/* ③Photographer */
#photographer {
    margin-top: 3rem;
    margin-right: 1rem;
}

@media (max-width: 700px) {
    #photographer {
        max-width: 400px;
        margin: 0 auto;
    }

    #photographer img {
        max-width: 100%;
        height: auto;
    }
}

/* ④detail */
.marker {
    position: relative;
    display: inline-block;
    z-index: 1;
    font-weight: bold;
}
.marker::before {
    content: "";
    position: absolute;
    top: 1em;
    left: 0;
    width: 100%;
    height: 0.4em;
    background: rgb(171, 210, 121);
    opacity: 0.3;
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 0;
    /* アニメーションは .animate クラスが付いてから */
}
.marker.animate::before {
    animation: highlight-slide 1.5s ease-out forwards;
}
@keyframes highlight-slide {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

#event {
    padding-top: 2rem;
}

.detail_section {
    margin-top: 3rem;
    padding: 0rem 1rem;
}

.content_box {
    padding-top: 3rem;
}

/* swiper js css setting */

.swiper-container {
    width: 100%; /* 必要に応じて max-width を指定 */
    overflow: hidden; /* はみ出し部分を隠す */
    margin-bottom: 1.5rem; /* お好みで調整 */
    position: relative; /* Swiper の内部で transform を使うので念のため */
}

/* ドットのサイズ */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: white;
    opacity: 1;
}

/* アクティブなドット */
.swiper-pagination-bullet-active {
    background: #fc0;
}

/* 絶対配置をやめて、疑似的に下に置く */
.swiper-pagination {
    position: static !important;
    margin-top: 0.5rem; /* 画像との間隔 */
    text-align: center; /* 中央揃え */
}

.swiper-slider img {
    box-shadow: #fc0 1px 0 10px !important;
}

/* ─── Service Cards ─── */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 0;
}

/* カード本体 */
.card {
    position: relative;
    width: 220px;
    padding: 4rem 1rem 1.5rem;
    background-clip: padding-box;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    font-family: "Noto Serif", Georgia, serif;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 215, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;

    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 215, 0, 0.2);
}

/* 背景色バリエーション（内側） */
.card--green {
    background-color: #0c332060;
}
.card--red {
    background-color: #4f1b2e60;
}
.card--navy {
    background-color: #1a2a3b60;
}
.card--purple {
    background-color: #3a2f3f60;
}

/* 丸いアイコン */
.card__img {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    /* リングを細くする */
    padding: 2px;
    /* グラデーションの中心位置もお好みで調整可 */
    background: radial-gradient(circle at 10% 10%, #ffd9008a, #ffdd55c0);
    /* 光彩を弱く狭くする */
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

.card__img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* タイトル */
.card__title {
    margin: 1.5rem 0 0.8rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 4px rgba(255, 215, 0, 0.8);
}
.card__title::before,
.card__title::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #ffd700, #ffdd55);
    margin: 0.5rem auto;
}

/* 説明文 */
.card__desc {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0 0.8rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}

/* レスポンシブ */
@media (max-width: 600px) {
    .card {
        width: 45%;
    }
}
@media (max-width: 400px) {
    .card {
        width: 100%;
    }
}

/* Pricing */
.price-tag {
    display: inline-block;
    margin-bottom: 2rem;
    font-family: "Noto Serif", Georgia, serif;
    font-size: 2.5rem;
    color: #fff;
    position: relative;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    background: radial-gradient(circle at top left, rgba(255, 217, 51, 0.4), rgba(0, 0, 0, 0.2));
    box-shadow: 0 0 8px rgba(255, 217, 51, 0.8), inset 0 0 20px rgba(255, 217, 51, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 6px rgba(255, 217, 51, 0.8);
    overflow: visible;
}

/* 通貨単位を小さく、下寄せに */
.price-tag span {
    font-size: 1rem;
    display: inline-block;
    position: relative;
    top: 0em; /* 上に上がりすぎなら負の値、下に落としたいなら正の値を調整 */
    margin-left: 0.2em;
}
/* キラキラしたパーティクル（疑似要素） */
.price-tag::before,
.price-tag::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #ffd700, transparent);
    border-radius: 50%;
    opacity: 0.8;
    animation: sparkle 2s infinite ease-in-out;
}
.price-tag::before {
    top: -6px;
    left: 10%;
}
.price-tag::after {
    bottom: -6px;
    right: 15%;
    animation-delay: 1s;
}

@keyframes sparkle {
    0%,
    100% {
        transform: scale(0.5);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

#desire {
    padding-bottom: 200px;
}

/* Footer */
#dynamic-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

/* 隠すとき */
#dynamic-footer.hidden {
    transform: translateY(100%);
}

/* フッターナビ・マルキ */
#footer_nav {
    overflow: hidden;
    background: #333;
}
#footer_nav ul {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
}
#footer_nav li {
    display: inline-block;
    margin: 0 2rem;
}
#footer_nav a {
    color: #fff;
    text-decoration: none;
}

/* marquee */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* ===== CTA用の動くフッター ===== */
#cta-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /* グラデーションで背景を強調 */
    background: linear-gradient(90deg, rgba(54, 54, 54, 0.8), rgba(30, 30, 30, 0.9));
    color: #fff;
    z-index: 1000;
    padding: 1rem;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    /* 初期は隠しておく */
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}
/* 表示用クラス */
#cta-footer.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== 言語切り替え ===== */
.lang-switch {
    display: flex;
    gap: 1rem;
    margin-right: 1.5rem;
}
.lang-link {
    color: #fff;
    text-decoration: none;
    padding-bottom: 0.2rem;
    font-weight: bold;
    transition: color 0.2s ease;
}
.lang-link .flag-icon {
    margin-right: 0.3rem;
    vertical-align: middle;
    font-size: 1.2rem;
}
/* アクティブな言語に下線（ボーダー） */
.lang-link.active {
    border-bottom: 2px solid #fc0;
}

/* ===== CTAコンテナ（テキスト＋ボタン） ===== */
#cta-footer .cta-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
#cta-footer .cta-text {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

/* ===== CTAボタン ===== */
#cta-footer .cta-button {
    background: none; /* 背景色をクリア */
    border: 1px solid white; /* 白い境界線 */
    color: white; /* 文字色を白に */
    box-shadow: #fc0 1px 0 10px; /* 元の光彩 */
    text-shadow: #fc0 1px 0 10px; /* 元の文字光彩 */
    padding: 0.8rem 1.2rem; /* 元の余白 */
    border-radius: 4px; /* 角丸 */
    text-decoration: none; /* 下線なし */
    font-weight: bold; /* 太文字 */
    transition: none; /* アニメーションは無効化 */
}

/* 押したときの挙動も元に戻す場合 */
#cta-footer .cta-button:active {
    transform: none;
    box-shadow: #fc0 1px 0 10px;
}

#cta-footer .cta-button {
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}
#cta-footer .cta-button:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: none;
}

#cta-footer .cta-button:hover {
    transform: translateY(-1px);
    box-shadow: #fc0 1px 0 15px;
}

/* ===== レスポンシブ（モバイル微調整） ===== */
@media (max-width: 480px) {
    #cta-footer .cta-text {
        font-size: 0.9rem;
    }
    #cta-footer .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* ===== 通常フッター ===== */
#static-footer {
    /* display:block がデフォルトなので何も指定不要ですが */
    padding: 2rem 1rem;
    color: #ccc;
    text-align: center;
    position: relative; /* 固定じゃなく、ページフロー内 */
}
#static-footer .footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 0.5rem;
}

/* ─── Dress Code (MODELS FITS) ─── */
.rule-box {
    margin: 3rem auto;
    padding: 2.5rem 1.5rem;
    max-width: 680px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.15), inset 0 0 30px rgba(255, 255, 255, 0.05);
}

.rule-heading {
    font-family: "Noto Serif", Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 8px rgba(255, 215, 0, 0.8);
    position: relative;
    margin-bottom: 1.5rem;
}
.rule-heading::after {
    content: "";
    position: absolute;
    bottom: -0.6rem;
    left: 50%;
    width: 80px;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ffd700 0%, rgba(255, 215, 0, 0.2) 50%, #ffd700 100%);
}

.rule-text {
    line-height: 1.8;
    font-size: 0.95rem;
    color: #eee;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 1.2rem;
}

.rule-text.--important {
    border: 1px dashed #ffd700aa;
    padding: 1.2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 480px) {
    .rule-box {
        padding: 2rem 1rem;
    }
    .rule-text {
        font-size: 0.9rem;
    }
}

#runway_logo_width {
    padding: 0rem 2rem;
}

#adress {
    border-bottom: 2px solid rgba(255, 255, 255, 0.506);
    display: inline-block;
}
