body {
    width: 100%; 
    margin: 0 auto; 
    background-image: url("https://onphoto.lom-inc.jp/summer2025/movie/1.jpeg");
    background-position: center center;   /* 中央寄せ */
    background-repeat: no-repeat;         /* 繰り返し無し */
    background-size: cover;               /* 画面いっぱいに拡大（切れます） */
    font-family: "Noto Serif", Georgia, serif;
    font-feature-settings: "palt";
    box-sizing: border-box;
    color: white;
  }
  

/* Basic settings before editing css */

img {
    width: 100%;
}

/* template design command */

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

.content_flex {
    display: flex;
}

@media (max-width: 700px) {
    body {
        /* ビューポートいっぱいにはならず、最大720px幅に制限 */
        width: 100%;
        max-width: 720px;
        /* これで左右の余白を自動調整して中央寄せ */
        margin: 0 auto;
    
        /* 背景画像は「真ん中を見せたい」のでこのまま */
        background-image: url("https://onphoto.lom-inc.jp/summer2025/movie/1.jpeg");
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    
        font-family: "Noto Serif", Georgia, serif;
        font-feature-settings: "palt";
        box-sizing: border-box;
        color: white;
      }
    

    .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%;
}

.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 の半透明黒だけ残す */
#header {
    background-color: transparent;
  }
  
  /* gradient オーバーレイを無効化 */
  #header_visual::before {
    content: none !important;
    background: none   !important;
  }
  
  
  /* 動画本体 */
  #header_visual img {
    display: block;
    width: 100%;
    max-height: 720px;
    position: relative;
    z-index: 0;
  }
  

/* main */
#main {
    /* 上端を header 側の最終色（白っぽい透過）から始め、
       ちょっと進んだ位置で黒半透明に切り替え */
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.8) 0%,   /* header の bottom と同じ白っぽさ */
      rgba(0, 0, 0, 0.4)       10%,  /* 10% のところで黒半透明に */
      rgba(0, 0, 0, 0.4)      100%
    );
  }
  

#interest {
    margin: 0rem 1rem;
}

/* ①winner-section */

#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);
    }
}

/* ②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: 1.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-color: #36363680;
    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;
    transition: transform 0.4s ease-in-out;
}
#cta-footer.hidden {
    transform: translateY(100%);
}
#cta-footer .cta-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}
#cta-footer .cta-text {
    font-size: 1rem;
    font-weight: 400;
}
#cta-footer .cta-button {
    border: 1px solid white;
    box-shadow: #fc0 1px 0 10px;
    text-shadow: #fc0 1px 0 10px;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

/* ===== 通常フッター ===== */
#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;
}
