:root {
    --main: #c18d00;
    --main-clear: rgba(194, 142, 0, 0.152);
    --b-gray: #777;
    --line: #ccc;
    --border: rgba(0, 0, 0, 0.1);
    --gray: #999;
    --b-left: #bbb5a491;
    --red: #ed4937;
    --orange: #f5a623;
    --brown: #793600;
    --green: #81bc63;
    --koigreen: #36a300;
    --focus: hsla(44, 100%, 38%, 0.071);
    --blue: #2594a1;
    --foreground: #241103;
    --card: #fff;
    --primary: #130702;
    --secondary: #f1f1f1;
    --muted: #f0edec;
    --hover: #fbfaf9;
    --muted-foreground: #827771;
    --input-background: #fbfaf9;
    --input-background2: #eae3dd;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, "M PLUS 1p", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.04em;
    color: var(--foreground);
    background: linear-gradient(180deg, #fff 0%, var(--hover) 50%, #fff 100%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(193, 141, 0, 0.01) 35px, rgba(193, 141, 0, 0.01) 70px);
    pointer-events: none;
    z-index: 1;
}

.pcbr {
    display: block;
}


.container1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, var(--card) 0%, var(--input-background) 100%);
    box-shadow: 0 2px 12px rgba(193, 141, 0, 0.08);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}


.logo img {
    display: block;
    width: 150px;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
    }
}

/* ファーストビュー */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 中央寄せしたい場合 */
    overflow: cover;
    /* 中身がはみ出さないように */
    z-index: 0;
    /* 背景を下げる */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 113%;
    /* ← 要素より背景を大きく伸ばす */
    background: url("../images/wave.png") no-repeat bottom center;
    background-size: cover;
    /* cover で全体に敷く */
    z-index: -1;
    /* 背景をコンテンツの後ろに */
    opacity: 1;
    /* 必要なら透明度調整 */
}


.hero-content {
    position: relative;
    z-index: 2;
    /* 背景より前に出す */
    animation: slideUp 0.8s ease-out;
}

.hero-content img:not(.horse-run) {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.horse-run {
    position: absolute;
    top: 47%;
    /* ← 垂直位置 */
    left: -300px;
    /* ← 初期位置：画面の外 */
    transform: translateY(-50%);
    /* 中央揃え */
    z-index: 5;
    width: 200px;
    /* ← 画像サイズを調整 */
    animation: horseRun 6s ease-out forwards;
}

@keyframes horseRun {
    0% {
        left: -300px;
        /* ← 左端の外から開始 */
    }

    100% {
        left: 80%;
        /* ← 画面の右端の外まで移動 */
    }
}

.hero .cta-container {
    padding: 0 10px;
}


@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    transform: rotate(-2deg);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

h1 {
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--primary);
    position: relative;
}

.highlight {
    background: linear-gradient(transparent 60%, var(--main-clear) 60%);
    padding: 0 4px;
    position: relative;
    display: inline-block;
}

.sub-copy {
    font-size: 20px;
    color: var(--brown);
    margin-bottom: 40px;
    font-weight: 500;
}

/* CTA Button */
.cta-button {
    align-items: baseline;
    display: inline-flex;
    background: linear-gradient(135deg, var(--main) 0%, var(--orange) 100%);
    color: white;
    padding: 20px 48px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.big {
    font-size: 24px;
}

.mg40 {

    margin-bottom: 40px;
}

.cta-button:hover {
    transform: rotate(0deg) translateY(-2px);
    box-shadow: 0 12px 32px rgba(193, 141, 0, 0.45);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-note,
.cta-noti {
    font-size: 14px;
    color: var(--brown);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-note::before {
    content: '☑️';
    color: var(--green);
    font-weight: bold;
}

.cta-red {
    max-width: 500px !important;
    text-align: center;
    display: block;
    padding: 18px 48px;
    font-size: 44px;
    margin: 0 auto 20px;
    width: 100%;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    background: linear-gradient(to bottom, #ff4d4d 0%, #d60000 100%);

    /* ぷっくり 内側の光沢 文字の影
  background: linear-gradient(to bottom, #ff4d4d 0%, #d60000 100%); 
  box-shadow:
    inset 0 3px 6px rgba(255,255,255,0.4),
    0 6px 12px rgba(0,0,0,0.25);
    text-shadow: 0 2px 3px rgba(0,0,0,0.3);
*/

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー時に少し浮かせる */
.cta-red:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 3px 6px rgba(255, 255, 255, 0.4),
        0 4px 12px rgba(245, 166, 35, 0.6);
}



/* Whatisjam Section */

.whatisjam {
    padding: 40px 0;

}

.whatisjam .container {
    display: block;
    margin: 0 auto;
    text-align: center;
}


.whatisjam h3 {
    font-size: 36px;
    margin-bottom: 60px;
}

.whatisjam .logo {
    display: block;
    width: 200px;
    margin: 0 auto 60px;
}

.wave {
    display: block;
    width: 100%;

    max-width: 1200px;
    margin: 0 auto;
}


.whatisjam p {
    font-size: 20px;
}




/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--card) 0%, var(--input-background) 100%);
    position: relative;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--main);
    border-radius: 2px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: var(--card);
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:nth-child(2) {
    transform: translateY(20px);
}

.feature-card:nth-child(3) {
    transform: translateY(-10px);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--main-clear);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transform: rotate(-5deg);
}

.feature-icon img {
    width: 35px;
    height: 35px;
    animation: spinHold 4s cubic-bezier(0.4, 0, 0.7, 1.4) infinite;
}

@keyframes spinHold {
  0% {
    transform: rotateY(0deg);   /* 正面 */
  }
  40% {
    transform: rotateY(360deg); /* 一周して正面に戻る */
  }
  100% {
    transform: rotateY(360deg); /* 正面のまま静止 */
  }
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--foreground);
}

.feature-card p {
    color: var(--muted-foreground);
    line-height: 1.7;
}

.feature-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 900;
    color: var(--main);
    opacity: 0.5;
}

.features-bottom-text {
    margin-top: 70px;
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg,
            var(--brown) 0%,
            /* さらに濃い焦げ茶 */
            #793600 40%,
            /* あなたの指定の茶色 */
            #f5a623 80%,
            /* オレンジゴールド */
            #ffd27f 100%
            /* 柔らかい金色 */
        );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Safari以外用 */
}



/* Results Section */
/* Header Styles */
.header {
    text-align: center;
    padding: 60px 0;
    animation: fadeInUp 0.8s ease-out;
}

.header h1 {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #d97706 0%, #eab308 50%, var(--koigreen) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: scaleIn 0.8s ease-out 0.2s both;
}

.header p,
.lookup .title-section h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--foreground);
    animation: fadeIn 0.8s ease-out 0.5s both;
}

/* Grid Styles */
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    padding-bottom: 80px;
}

/* Card Styles */
.result-item {
    position: relative;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 32px 64px -12px rgba(122, 57, 8, 0.117);
    border: 2px solid #fbbf24;
    text-align: center;
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
    transition: all 0.3s ease;
}

.result-item:nth-child(1) {
    animation-delay: 0s;
}

.result-item:nth-child(2) {
    animation-delay: 0.1s;
}

.result-item:nth-child(3) {
    animation-delay: 0.2s;
}

.result-item:nth-child(4) {
    animation-delay: 0.3s;
}

.result-item:nth-child(5) {
    animation-delay: 0.4s;
}

.result-item:nth-child(6) {
    animation-delay: 0.5s;
}


.result-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 32px 64px -12px rgba(255, 179, 64, 0.327);
    border-color: #eab308;
}

.result-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #fbbf24 0%, var(--koigreen) 100%);
    opacity: 0.1;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.result-item p {
    margin-bottom: 8px;
}

.result-item:hover::before {
    opacity: 0.1;
}

/* Badge Styles */
.result-badge {
    position: absolute;
    top: -16px;
    right: -8px;
    background: linear-gradient(135deg, var(--koigreen) 0%, #00953c 50%, var(--koigreen) 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    transform: rotate(3deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: bounceIn 0.6s ease-out;
}

.result-badge::before {
    content: '🏆';
    font-size: 19px;
}

/* Content Styles */
.result-date {
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.result-race {
    font-size: 18px;
    font-weight: 800;
    color: var(--brown);
}

.result-race-name {
    font-size: 14px;
    font-weight: 800;
    color: #92400e;
}

.result-amount {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--koigreen) 0%, #00953c 50%, var(--koigreen) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: glow 2s ease-in-out infinite;
}

.result-type {
    font-size: 18px;
    font-weight: 800;
    color: var(--foreground);
}

/* Background Animation 
.sparkle {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--main);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    animation: sparkleFloat 3s linear infinite;
}
*/

.noti {
    line-height: 1.5;
    font-size: 14px;
    font-weight: 600;
}

.noti::before {
    content: '※';
    margin-right: 2px;
    font-weight: bold;
    vertical-align: text-bottom;
}


/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: rotate(-15deg) scale(0);
        opacity: 0;
    }

    50% {
        transform: rotate(5deg) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: rotate(3deg) scale(1);
        opacity: 1;
    }
}

@keyframes glow {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

@keyframes sparkleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.3;
        transform: translateY(90vh) scale(1);
    }

    90% {
        opacity: 0.3;
        transform: translateY(10vh) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 40px;
    }

    .header p {
        font-size: 18px;
    }

    .header-inner {
        padding: 8px 0px;
    }

    .sub-copy {
        margin-bottom: 30px;
    }

    .result-item {
        padding: 24px;
    }

    .result-amount {
        font-size: 2rem;
    }

    .result-grid {
        gap: 24px 10px;
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    }

    .cta-button {
        padding: 20px 32px;
    }

    .cta-red {
        display: inline-block;
        padding: 18px 25px;
        font-size: 20px;
        margin: 5px auto 30px;
    }


    .logo img {
        width: 120px;
    }

    .feature-cards {
        gap: 18px;
    }

    .br {
        display: block;
    }

    .voice-text {
        font-size: 14px !important;
        padding-left: 30px !important;
    }

    .voice-author {
        padding-left: 30px !important;
    }

    /* Badge Styles */
    .result-badge {
        top: -20px;
        right: -10px;
        padding: 4px 14px 4px 16px;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 1px;
        border: 2px solid #fff;
        display: flex;
        gap: 4px;
        animation: bounceIn 0.6s ease-out;
    }

    .result-badge::before {
        font-size: 16px;
    }

    .result-item p {
        line-height: 1.4;
    }

    .section-title,
    .whatisjam h3 {
        font-size: 28px;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    .features {
        padding: 30px 0;
    }

    .features-bottom-text {
        font-size: 28px;
        line-height: 1.5;
        margin-top: 30px;
    }

    .features-bottom-text p {
        padding-bottom: 20px;
    }

    .whatisjam img,
    .whatisjam h3 {
        margin-bottom: 30px!important;
    }

    .whatisjam p {
        font-size: 16px;
        text-align: left;
    }


    .horse-run {
        position: absolute;
        top: 44%;
        /* ← 垂直位置 */
        left: -300px;
        /* ← 初期位置：画面の外 */
        transform: translateY(-50%);
        /* 中央揃え */
        z-index: 5;
        width: 80px;
        /* ← 画像サイズを調整 */
        animation: horseRun 4s ease-out forwards;
    }

    @keyframes horseRun {
        0% {
            left: -300px;
            /* ← 左端の外から開始 */
        }

        100% {
            left: 76%;
            /* ← 画面の右端の外まで移動 */
        }
    }


}

/* Voice Section */
.voice {
    padding: 100px 0;
    background: var(--card);
}

.voice-cards {
    display: grid;
    gap: 32px;
    margin-top: 48px;
}

.voice-card {
    background: linear-gradient(135deg, var(--input-background) 0%, var(--card) 100%);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    border: 1px solid var(--border);
}

.voice-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 48px;
    color: var(--main-clear);
    font-family: Georgia, serif;
}

.voice-text {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
    padding-left: 40px;
}

.voice-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 40px;
}

.voice-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--main) 0%, var(--orange) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.voice-info {
    flex: 1;
}

.voice-name {
    font-weight: 600;
    color: var(--primary);
}

.voice-detail {
    font-size: 14px;
    color: var(--gray);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--input-background) 0%, var(--card) 100%);
}

.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: var(--card);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--hover);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--main);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 24px;
    max-height: 300px;
}

.lookup {
    padding: 0px 20px 50px;

}

.lookuplast {
    padding: 10px 0;


}

.last-ima img{

        display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

}

.highlight-line {
    position: relative;
    display: inline;
    /* inline-block ではなく inline の方が自然 */
    background-image: linear-gradient(90deg,  #f5a5234a, var(--main-clear));
    background-size: 0% 40%;
    /* 横幅を 0% から開始 */
    background-repeat: no-repeat;
    background-position: 0 100%;
    /* 下に寄せる */
    transition: background-size 1s ease;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* 可視化されたときに横に伸びる */
.highlight-line.visible {
    background-size: 100% 60%;
    /* 横幅を100%に広げる */
}


/* アニメーションカード */
.animated-card {
    position: relative;
    background-color: var(--card);
    border-radius: 16px;
    border: 2px solid var(--main);
    padding: 2rem;
    box-shadow:
        0 20px 25px -5px rgba(193, 141, 0, 0.2),
        0 10px 10px -5px rgba(193, 141, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);

    animation: cardEntrance 0.8s ease-out forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.animated-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 20px 25px -5px rgba(193, 141, 0, 0.2),
        0 10px 10px -5px rgba(193, 141, 0, 0.1);
}

@keyframes cardEntrance {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}



@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* タイトル部分 */
.title-section {
    position: relative;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--main);
    padding-bottom: 1rem;
}

.title {
    line-height: 1.6;
    opacity: 0;
    animation: titleSlide 0.6s ease-out 0.3s forwards;
}

.underline {
    background: linear-gradient(to right, #f5a5238c, var(--main-clear));
    height: 10px;

}

@keyframes titleSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* タイトル下の装飾ライン */
.title-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(to right, var(--main), var(--orange));
    width: 0;
    animation: lineExpand 1s ease-out 0.6s forwards;
}

@keyframes lineExpand {
    to {
        width: 100%;
    }
}

/* コンテンツ部分 */
.content-section {
    position: relative;
}

.content-text {
    color: var(--foreground);
    line-height: 1.6;
    font-size: 16px;
    opacity: 0;
    animation: contentFade 0.5s ease-out 0.9s forwards;
}

@keyframes contentFade {
    to {
        opacity: 1;
    }
}

/* タイピングカーソル */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1rem;
    background-color: var(--main);
    margin-left: 2px;
    animation: cursorBlink 1s infinite;
}

@keyframes cursorBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}



/* コーナー装飾 */
.corner-decoration {
    position: absolute;
    width: 12px;
    height: 12px;
    opacity: 0.8;
}


.corner-decoration.bottom-right {
    bottom: 8px;
    right: 8px;
}


.corner-decoration.bottom-right::after {
    content: '🏇';
    position: absolute;
    bottom: -10px;
    right: 10%;
    font-size: 32px;
    opacity: 1;
    animation: float 6s infinite ease-in-out reverse;
}

/* Final CTA */


.final-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--main-clear) 0%, var(--input-background) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta h2 img.bigg {
    width: 30px !important;
}

.final-cta::after {
    content: '';
    position: absolute;
    bottom: 50px;
    right: 5%;
    font-size: 32px;
    opacity: 0.8;
    animation: float 3s infinite ease-in-out reverse;
}

.final-cta img.emoji {
    width: 40px;
    vertical-align: middle;
}


.last {

    padding-bottom: 24px;
}

.last-noti {
    font-size: 24px;

}



@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.final-cta h2 {
    font-size: 34px;
    margin-bottom: 24px;
    color: var(--foreground);
}

.final-cta p {
    color: var(--brown);
}


.final-cta .cta-note {
    margin-bottom: 10px !important;
}



/* Footer */
footer {
    background: var(--foreground);
    color: var(--card);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--card);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {

    .hero::before {
        height: 115%;
    }


    .hero-content {
        text-align: center;
    }

    h1 {
        font-size: 32px;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .feature-card:nth-child(2),
    .feature-card:nth-child(3) {
        transform: none;
    }

    .footer-content {
        flex-direction: column;
    }

    .final-cta {
        padding: 50px 0;
    }

    .final-cta h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .final-cta h2 img.bigg {
        display: none;
    }


    .last-noti {
        font-size: 14px;
    }

    .last {
        padding-bottom: 10px;
    }

    .cta-note,
    .cta-noti {
        font-size: 12px;
        margin-bottom: 0;
    }

    .final-cta::after {
        bottom: 0px;
    }


}

/* Scroll Animation */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



footer {
    width: 100%;
    font-size: 13px;
    margin: 0 auto;
    padding: 8px 8px 16px;
    color: #fff;
    background-color: var(--foreground);

}

footer .copyright {
    text-align: center;

}

footer ul {
    padding: 0 0 16px;
}

footer li {
    list-style: none;
    padding: .3em 0;
    text-align: left;
}

footer li a {
    color: #fff;
    text-decoration: none;
}