@charset "utf-8";



body {
            margin: 0;
            overflow-x: hidden;
            background: #fff;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
        }

        a img:hover {
            opacity: 0.8;
        }


        /* 背景関連 */
        #confetti-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .confetti {
            position: absolute;
            width: 4px;
            height: 12px;
            background: linear-gradient(135deg, #FFD700, #FFA500);
            opacity: 0.9;
            animation: fall linear infinite;
            box-shadow: 0 0 4px rgba(255, 215, 0, 0.8);
        }


        @keyframes fall {
            0% {
                transform: translateY(0) translateX(0) rotate(0deg);
                opacity: 1;
            }

            25% {
                transform: translateY(25vh) translateX(-20px) rotate(90deg);
            }

            50% {
                transform: translateY(50vh) translateX(20px) rotate(180deg);
            }

            75% {
                transform: translateY(75vh) translateX(-15px) rotate(270deg);
            }

            100% {
                transform: translateY(100vh) translateX(0px) rotate(360deg);
                opacity: 0;
            }
        }




        /* 表示関連 */

        .pop-in {
            opacity: 0;
            transform: scale(0.99);
            transition: opacity 0.4s ease-out, transform 0.4s ease-out;
        }

        .pop-in.visible {
            opacity: 1;
            transform: scale(1);
        }



        .pop-in.vote-banner {
            gap: 0.6rem;
            line-height: 1;
        }


        .slashes {
            display: inline-block;
            font-weight: 500;
            min-width: 1.2em;
            text-align: center;
        }

        .sl-x {
            display: inline-block;
            /* transform を効かせるため inline-block */
            transform: scaleX(-1);
            transform-origin: center;
        }


        .sl-right {
            display: inline-block;
        }


        .slashes .small {
            font-size: 1.4rem;
            display: inline-block;
            line-height: 1;
        }


        @media (max-width: 480px) {
            .pop-in.vote-banner {
                gap: 0.3rem;
            }

            .slashed .small {
                font-size: 1.1rem;
            }
        }



        /* トップイメージ */

.vibrate-img {
  width: 100%;
  transition: transform 0.2s ease;
}

.pop-once {
  animation: popIn 0.6s ease-out 1;
}

@keyframes popIn {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(0.8);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}


        /* hero */

        .hero {
            position: relative;
            width: 100%;
            height: 700px;
            background: url('https://www.golfdo.com/wp/wp-content/uploads/2025/10/bftopbg-image.jpg') no-repeat center center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* 初期状態：PC用を表示、スマホ用を非表示 */
        .img-sp {
            display: none;
        }

        .img-pc {
            display: block;
        }

        /* スマホ用メディアクエリ */
        @media screen and (max-width: 768px) {
            .img-sp {
                display: block;
            }

            .img-pc {
                display: none;
            }
        }


        @media screen and (max-width: 768px) {
            .hero {
                position: relative;
                width: 100%;
                height: 480px;
                background: url('https://www.golfdo.com/wp/wp-content/uploads/2025/10/bftopbg-image.jpg') no-repeat center center/cover;
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }


  #sparkle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 9998;
  }

  .sparkle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, white 0%, gold 40%, transparent 80%);
    border-radius: 50%;
    box-shadow: 0 0 10px gold, 0 0 20px white;
    animation: sparkleBurst 1.2s ease-out forwards;
    pointer-events: none;
    z-index: 9999;
  }

  @keyframes sparkleBurst {
    0% {
      opacity: 1;
      transform: scale(0.5) rotate(0deg);
    }
    50% {
      transform: scale(1.5) rotate(180deg);
    }
    100% {
      opacity: 0;
      transform: scale(2) rotate(360deg);
    }
  }


        .title-icon {
            color: #fff;
            display: inline-block;
            font-size: 16px;
            margin-bottom: 20px;
            background-color: #000;
            padding: 7px 20px;
            border-radius: 50px;
        }

        .title-icon::before {
            content: "";
            display: inline-block;
            width: 20px;
            height: 20px;
            background-image: url('https://www.golfdo.com/wp/wp-content/uploads/2025/10/gd-icon.png');
            background-size: contain;
            background-repeat: no-repeat;
            vertical-align: middle;
            margin-right: 6px;
        }


        .cate-icon {
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            margin: 20px 0px;
            background-color: #000;
            padding: 7px 20px;
            border-radius: 50px;
            width: 200px;
            height: 40px;
            text-align: center;
            white-space: nowrap;
            box-sizing: border-box;
        }

        .cate-icon::before {
            content: "";
            display: inline-block;
            width: 20px;
            height: 20px;
            background-image: url('https://www.golfdo.com/wp/wp-content/uploads/2025/10/gd-icon.png');
            background-size: contain;
            background-repeat: no-repeat;
            vertical-align: middle;
            margin-right: 6px;
        }

        @media screen and (max-width: 768px) {
            .cate-icon {
                width: auto;
                max-width: 100%;
                padding: 7px 12px;
                font-size: 0.7rem;
            }

            .cate-icon::before {
                width: 18px;
                height: 18px;
                margin-right: 4px;
            }
        }


        .cate-icon:hover {
            background-color: #f4621c;
            transition: .5s;
        }

        .cate-icon:hover::before {

            background-image: url('https://www.golfdo.com/wp/wp-content/uploads/2025/10/gd-icon-o.png');

        }



        @media screen and (max-width: 768px) {
            .vote-banner {
                font-size: 1.6rem !important;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .vote-banner .slashes {
                font-size: 1rem !important;
            }
        }



        /* ライン関連 */
        .hr-gold {
            width: 100%;
            height: 1px;
            background: linear-gradient(90deg,
                    rgba(255, 255, 255, 0),
                    rgba(255, 215, 0, 0.8),
                    rgba(255, 255, 255, 0));
            border: none;
            margin: 2rem 0;
        }

        .bg-color {
            background-color: #fce4d6;
        }


        .bg-image {
            background-image: url("https://www.golfdo.com/wp/wp-content/uploads/2025/10/bg-image-pc.jpg");
        }

        @media (max-width: 768px) {
            .bg-image {
                background-image: url("https://www.golfdo.com/wp/wp-content/uploads/2025/10/bg-image-sp-scaled.jpg");
                background-position: center;
                background-size: cover;
            }
        }