@charset "UTF-8";

/* デスクトップ */
@media (min-width: 1025px) {
    .step {
        width: 800px;
        margin: 0 auto;
        text-align: center;
    }

    .step img {
        width: 100%;
    }

    .h2ttl {
        margin: 20px auto;
    }

.subsidy-cta-section {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin: 100px auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}


.subsidy-cta-section .badge span {
    font-size: 18px;
    font-weight: 900;
}

/* タイトル h2 のスタイル */
.highlight-amount  {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.highlight-amount h2{
    margin-bottom: 0;
}


.subsidy-cta-section .badge {
    /* 既存のスタイルは残しつつ、アニメーション関連を削除 */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg); /* 初期状態 */
    background-color: #333;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    letter-spacing: 0.5px;
    z-index: 2;
    opacity: 0; /* 初期は非表示 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* アニメーション用トランジション */
}

.subsidy-cta-section .badge.animate-in {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-5deg); /* アニメーション後の状態 (fadeInDownと同じ) */
    animation: fadeInDown 0.8s ease-out;
}

.subsidy-cta-section .highlight-amount strong {
    font-size: 50px;
    font-weight: 900;
    color: #ff9a0c;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    opacity: 0; /* 初期は非表示 */
    transform: scale3d(0.3, 0.3, 0.3); /* 初期状態 (bounceInの0%と同じ) */
    transition: opacity 1.2s ease-out, transform 1.2s ease-out; /* アニメーション用トランジション */
}

.subsidy-cta-section .highlight-amount strong.animate-in {
    opacity: 1;
    transform: scale3d(1, 1, 1); /* アニメーション後の状態 (bounceInの100%と同じ) */
    animation: bounceIn 1.2s ease-out;
}


/* 問題提起文のスタイル */
.subsidy-cta-section .problem-statement {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
}

.subsidy-cta-section .problem-statement span {
    display: block;
    margin-top: 8px;
    color: #3283ff;
}

.subsidy-cta-section .problem-statement .fas {
    color: #3283ff;
}


/* 最大補助額の強調部分 */
.subsidy-cta-section .highlight-amount {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.subsidy-cta-section .highlight-amount strong {
    font-size: 50px;
    font-weight: 900;
    color: #ff9a0c;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: bounceIn 1.2s ease-out;
    display: inline-block;
}

.subsidy-cta-section .highlight-amount .yen {
    font-size: 40px;
    font-weight: 900;
    color: #333;
    align-self: flex-end;
}

.subsidy-cta-section .highlight-amount .fas {
    font-size: 60px;
    color: #3283ff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* 1. 画面全幅にする */
.offer-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    z-index: 0;
}

.subsidy-cta-section {
    position: relative;
    z-index: 1;
    margin: 60px auto;
    max-width: 760px;
    width: calc(100% - 40px);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.hiyu{
    width: 800px;
    margin: 80px auto;
    text-align: center;
}
.hiyu h2{
    margin-bottom: 10px;
}
.hiyu img{
    width: 100%;
}
.after {
    width: 1000px;
    margin: 0 auto;
}
.after img{
    width: 100%;
}
}

/* タブレット */
@media (min-width: 641px) and (max-width: 1024px) {
    .step {
        width: 600px;
        margin: 0 auto;
        text-align: center;
    }

    .step img {
        width: 100%;
        margin-top: -40px;
    }
    /* セクション全体のスタイル */

.subsidy-cta-section {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
    margin: 100px auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}


.subsidy-cta-section .badge span {
    font-size: 18px;
    font-weight: 900;
}

/* タイトル h2 のスタイル */
.highlight-amount  {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.highlight-amount h2{
    margin-bottom: 0;
}

.subsidy-cta-section .badge {
    /* 既存のスタイルは残しつつ、アニメーション関連を削除 */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg); /* 初期状態 */
    background-color: #333;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    letter-spacing: 0.5px;
    z-index: 2;
    opacity: 0; /* 初期は非表示 */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* アニメーション用トランジション */
}

.subsidy-cta-section .badge.animate-in {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-5deg); /* アニメーション後の状態 (fadeInDownと同じ) */
    animation: fadeInDown 0.8s ease-out;
}

/* ... 既存のスタイル ... */

.subsidy-cta-section .highlight-amount strong {
    /* 既存のスタイルは残しつつ、アニメーション関連を削除 */
    font-size: 50px;
    font-weight: 900;
    color: #ff9a0c;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    opacity: 0; /* 初期は非表示 */
    transform: scale3d(0.3, 0.3, 0.3); /* 初期状態 (bounceInの0%と同じ) */
    transition: opacity 1.2s ease-out, transform 1.2s ease-out; /* アニメーション用トランジション */
}

.subsidy-cta-section .highlight-amount strong.animate-in {
    opacity: 1;
    transform: scale3d(1, 1, 1); /* アニメーション後の状態 (bounceInの100%と同じ) */
    animation: bounceIn 1.2s ease-out;
}


.subsidy-cta-section .problem-statement {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
}

.subsidy-cta-section .problem-statement span {
    display: block;
    margin-top: 8px;
    color: #3283ff;
}

.subsidy-cta-section .problem-statement .fas {
    color: #3283ff;
}


/* 最大補助額の強調部分 */
.subsidy-cta-section .highlight-amount {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.subsidy-cta-section .highlight-amount strong {
    font-size: 35px;
    font-weight: 900;
    color: #ff9a0c;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: bounceIn 1.2s ease-out;
    display: inline-block;
}

.subsidy-cta-section .highlight-amount .yen {
    font-weight: 900;
    align-self: flex-end;
}

.subsidy-cta-section .highlight-amount .fas {
    font-size: 60px;
    /* 大きく表示 */
    color: #3283ff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* 1. 画面全幅にする */
.offer-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    z-index: 0;
}

/* 3. カード部分は中央に固定幅 */
.subsidy-cta-section {
    position: relative;
    z-index: 1;
    /* Canvas より手前 */
    margin: 60px auto;
    max-width: 580px;
    /* お好みの横幅に調整 */
    width: calc(100% - 40px);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.hiyu{
    width: 600px;
    margin: 60px auto;
    text-align: center;
}
.hiyu h2{
    margin-bottom: 10px;
}
.hiyu img{
    width: 100%;
}

}

/* モバイル */
@media (max-width: 640px) {
    .step {
        width: 90%;
        margin: 60px auto;
        text-align: center;
    }

    .step img {
        width: 100%;
        margin-top: 20px;
    }
    .subsidy-cta-section {
        background-color: #fff;
        padding: 40px 20px;
        text-align: center;
        margin: 100px auto;
        border-radius: 15px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
        overflow: hidden;
        position: relative;
    }
    

    .subsidy-cta-section .badge span {
        font-size: 18px;
        font-weight: 900;
    }
    
    /* タイトル h2 のスタイル */
    .highlight-amount  {
        font-size: 30px;
        font-weight: 700;
        text-align: center;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    }
    .highlight-amount h2{
        margin-bottom: 0;
        font-size: 24px;
    }
    .subsidy-cta-section .badge {
        /* 既存のスタイルは残しつつ、アニメーション関連を削除 */
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-5deg); /* 初期状態 */
        background-color: #333;
        color: white;
        padding: 10px 25px;
        border-radius: 50px;
        font-size: 16px;
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        white-space: nowrap;
        letter-spacing: 0.5px;
        z-index: 2;
        opacity: 0; /* 初期は非表示 */
        transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* アニメーション用トランジション */
    }

    .subsidy-cta-section .badge.animate-in {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(-5deg); /* アニメーション後の状態 (fadeInDownと同じ) */
        animation: fadeInDown 0.8s ease-out;
    }

    /* ... 既存のスタイル ... */

    .subsidy-cta-section .highlight-amount strong {
        /* 既存のスタイルは残しつつ、アニメーション関連を削除 */
        font-size: 50px;
        font-weight: 900;
        color: #ff9a0c;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
        opacity: 0; /* 初期は非表示 */
        transform: scale3d(0.3, 0.3, 0.3); /* 初期状態 (bounceInの0%と同じ) */
        transition: opacity 1.2s ease-out, transform 1.2s ease-out; /* アニメーション用トランジション */
    }

    .subsidy-cta-section .highlight-amount strong.animate-in {
        opacity: 1;
        transform: scale3d(1, 1, 1); /* アニメーション後の状態 (bounceInの100%と同じ) */
        animation: bounceIn 1.2s ease-out;
    }

    
    
    /* 問題提起文のスタイル */
    .subsidy-cta-section .problem-statement {
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 25px;
    }
    
    .subsidy-cta-section .problem-statement span {
        display: block;
        margin-top: 8px;
        color: #3283ff;
    }
    
    .subsidy-cta-section .problem-statement .fas {
        color: #3283ff;
    }
    
    
    /* 最大補助額の強調部分 */
    .subsidy-cta-section .highlight-amount {
        font-size: 28px;
        font-weight: bold;
        color: #333;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }
    
    .subsidy-cta-section .highlight-amount strong {
        font-size: 35px;
        font-weight: 900;
        color: #ff9a0c;
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
        animation: bounceIn 1.2s ease-out;
        display: inline-block;
    }
    
    .subsidy-cta-section .highlight-amount .yen {
        font-weight: 900;
        align-self: center;
        font-size: 20px;
    }
    
    .subsidy-cta-section .highlight-amount .fas {
        font-size: 60px;
        /* 大きく表示 */
        color: #3283ff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    }
    
    /* 1. 画面全幅にする */
    .offer-section {
        position: relative;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        overflow: hidden;
        z-index: 0;
    }
    
    /* 3. カード部分は中央に固定幅 */
    .subsidy-cta-section {
        position: relative;
        z-index: 1;
        /* Canvas より手前 */
        margin: 60px auto;
        max-width: 580px;
        /* お好みの横幅に調整 */
        width: calc(100% - 40px);
        padding: 40px 20px;
        border-radius: 15px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    }
    .hiyu{
        width: 360px;
        margin: 20px auto;
    }
    .hiyu h2{
        font-size: 20px;
        text-align: center;
    }
    .hiyu img{
        width: 100%;
        margin: 10px 0;
    }
}

.benefits-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    /* 各メリット間のスペース */
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-section h2 {
    margin-bottom: 20px;
}

/* Individual Point Item Styles */
.point-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    flex: 1;
    /* Flex item grows to fill space */
    min-width: 280px;
    /* Minimum width for responsiveness */
    max-width: 350px;
    /* Maximum width for larger screens */
    box-sizing: border-box;
    /* Include padding and border in the element's total width and height */
    transition: transform 0.3s ease-out;
    /* For zoom-on-hover */
}

.point-item p {
    font-size: 1.1em;
    color: #555;
}


.point-icon {
    width: 80px;

    height: auto;
    margin: 15px auto 25px auto;
    /* 上下左右の余白 */
    display: block;
}

.fade-slide-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Zoom-on-Hover Effect */
.zoom-on-hover:hover {
    transform: scale(1.03);
    /* わずかに拡大 */
}

/* Counter Animation */
.counter-value {
    font-size: 1.5em;
    /* 数値のフォントサイズ調整 */
    font-weight: bold;
    color: #FF9A0C;
    /* カウンターの色 */
}

main {
    margin: 100px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .point-item {
        max-width: 90%;
        /* On smaller screens, allow items to take more width */
    }
}



/* アニメーションキーフレーム */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate(-50%, -100%) rotate(-5deg);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(-5deg);
    }
}

@keyframes bounceIn {
    0%, 20%, 40%, 60%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        transform: scale3d(.3, .3, .3);
    }

    20% {
        transform: scale3d(1.1, 1.1, 1.1);
    }

    40% {
        transform: scale3d(.9, .9, .9);
    }

    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03);
    }

    80% {
        transform: scale3d(.97, .97, .97);
    }

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

@keyframes rubberBand {
    0% {
        transform: scale3d(1, 1, 1);
    }

    30% {
        transform: scale3d(1.25, 0.75, 1);
    }

    40% {
        transform: scale3d(0.75, 1.25, 1);
    }

    50% {
        transform: scale3d(1.15, 0.85, 1);
    }

    65% {
        transform: scale3d(.95, 1.05, 1);
    }

    75% {
        transform: scale3d(1.05, .95, 1);
    }

    100% {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}


/* 権威生 */

/* Layout */
.wrap {
    max-width: 1000px;
    margin: auto;
    padding: 40px 16px;
}


.hdr {
    margin-bottom: 12px;
}

.reborn h2 {
    margin: 0;
}

.reborn {
    text-align: center;
}

/* ========== 3リンクカード ========== */
.linkgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 18px 0 8px
}

.card {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .08);
}


/* サムネ共通（重複を統合） */
.thumb {
    aspect-ratio: 16/9;
    background: #f4f6fa;
    position: relative;
    overflow: hidden;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .28s ease;
    position: relative;
    z-index: 0;
}

/* ホバー時の微パララックス（card / strip 両方に適用） */
.card:hover .thumb img,
.media-strip .item:hover .thumb img {
    transform: scale(1.03) translateY(-1px);
}

.meta {
    padding: 10px 12px;
}

.tag {
    display: inline-block;
    font-size: 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px 8px;
    margin-bottom: 6px;
    background: #fff;
    color: #475467;
}

.ttl {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 4px;
}

.note {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}

/* グロス（雑誌っぽい光沢）= ::before に統一 */
.card .thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 40%),
        linear-gradient(0deg, rgba(0, 0, 0, .06), transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
    transition: opacity .2s ease;
}

.card:hover .thumb::before {
    opacity: .9;
}

/* グラデ枠（内側1px） */
.card.premium {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #e5e7eb, #cbd5e1, #e5e7eb) border-box;
    border: 1px solid transparent;
}

/* YouTubeカードのみ：ラジアル影を ::before に合体、再生ボタンは ::after で最上位 */
.card.is-youtube .thumb::before {
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 55%),
        linear-gradient(120deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 40%),
        linear-gradient(0deg, rgba(0, 0, 0, .06), transparent 60%);
}

.card.is-youtube .thumb::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    z-index: 2;
    clip-path: polygon(36% 28%, 36% 72%, 74% 50%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    pointer-events: none;
}

/* ========== 横スライド4枚 ========== */
.strip-wrap {
    position: relative;
    margin: 18px 0 8px;
}

.media-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px 10px;
}

.media-strip::-webkit-scrollbar {
    display: none;
}

.media-strip .item {
    flex: 0 0 56%;
    max-width: 56%;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.media-strip .meta {
    padding: 8px 10px;
}

.media-strip .tag {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--line);
    background: #fff;
    color: #475467;
}

.media-strip .ttl {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.35;
    margin: 4px 0 0;
}

.hint {
    margin: 6px 2px 0;
    color: #9aa3af;
    font-size: 12px;
}

/* Responsive */
@media (min-width:900px) {
    .media-strip .item {
        flex: 0 0 24%;
        max-width: 24%;
    }
}

@media (max-width:900px) {
    .linkgrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:640px) {
    .linkgrid {
        grid-template-columns: 1fr;
    }

    .media-strip .item {
        flex: 0 0 80%;
        max-width: 80%;
    }
}

.partnar {
    text-align: center;
    width: 70%;
    margin: 0 auto 60px;
}

.partnar img {
    max-width: 100%;
    margin-top: 20px;
}


.btn-outline {
    display: inline-block;
    background-color: #fff;
    color: #4285F4;
    border: 2px solid #4285F4;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
    margin-top: 10px;
}

.btn-outline:hover {
    background-color: #4285F4;
    color: #fff;
}