

/* PC */
:root {
    --primary-color: #00A6D3;
    --text-color: #132045;
    --bg-color: #ffffff;
    --gray-bg: #f7f7f7;
    --gradient-bg: linear-gradient(315deg, rgba(21, 176, 218, 0.22) -3.98%, rgba(112, 219, 143, 0.22) 32.03%, rgba(255, 202, 33, 0.22) 62.9%, rgba(255, 147, 194, 0.22) 98.92%);
    --rainbow: linear-gradient(294deg, #00A6D3 -1%, #69B980 34.35%, #F6BB00 64.65%, #EA83B0 100%);
    --cyan-gradient: linear-gradient(90deg, #3EB8E7 0%, #62FFD0 100%);
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.shindan-fv-section {
    position: relative;
    width: 100%;
    min-height: 650px;
    background: var(--gradient-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    overflow: visible;
    z-index: 2;
}

.shindan-fv-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 10;
    width: 100%;
    max-width: 1000px;
}

.shindan-fv-title-area {
    text-align: center;
}

.shindan-fv-title {
    font-family: "SicUVeiw-DspE", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: normal;
    color: transparent;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.shindan-fv-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    text-shadow:
        6px 0 0 #FFF, -6px 0 0 #FFF, 0 6px 0 #FFF, 0 -6px 0 #FFF,
        5px 3px 0 #FFF, -5px 3px 0 #FFF, 5px -3px 0 #FFF, -5px -3px 0 #FFF,
        3px 5px 0 #FFF, -3px 5px 0 #FFF, 3px -5px 0 #FFF, -3px -5px 0 #FFF,
        4px 4px 0 #FFF, -4px 4px 0 #FFF, 4px -4px 0 #FFF, -4px -4px 0 #FFF;
    color: white;
}

.shindan-fv-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    background: var(--rainbow);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.shindan-result-label {
    font-size: 15px;
    font-weight: 600;
    color: #959595;
    margin-bottom: 4px;
}

.shindan-fv-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 100px;
}

.shindan-fv-subtitle .badge {
    width: 48px;
    height: 48px;
    background: url('/wp-content/themes/matchapp/page_templates/questions_assets/img/badge-free.svg') no-repeat center center;
    background-size: contain;
    color: white;
    padding: 0;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
}

.shindan-fv-subtitle-bottom {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin: 0;
}

.shindan-fv-num,
.shindan-fv-text,
.shindan-fv-text-small {
    position: relative;
    z-index: 1;
    color: transparent;
    font-weight: bold;
    line-height: 1;
}

.shindan-fv-num::before,
.shindan-fv-text::before,
.shindan-fv-text-small::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    text-shadow:
        4px 0 0 #FFF, -4px 0 0 #FFF, 0 4px 0 #FFF, 0 -4px 0 #FFF,
        3.5px 2px 0 #FFF, -3.5px 2px 0 #FFF, 3.5px -2px 0 #FFF, -3.5px -2px 0 #FFF,
        2px 3.5px 0 #FFF, -2px 3.5px 0 #FFF, 2px -3.5px 0 #FFF, -2px -3.5px 0 #FFF,
        3px 3px 0 #FFF, -3px 3px 0 #FFF, 3px -3px 0 #FFF, -3px -3px 0 #FFF;
    color: white;
}

.shindan-fv-num::after,
.shindan-fv-text::after,
.shindan-fv-text-small::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.shindan-fv-num {
    font-size: 32px;
    font-weight: 800;
}

.shindan-fv-num::after {
    background: linear-gradient(180deg, #F6BB00 -48.32%, #EA83B0 89.03%);
    background-clip: text;
    -webkit-background-clip: text;
}

.shindan-fv-text {
    font-size: 18px;
}

.shindan-fv-text-small {
    font-size: 17px;
}

.shindan-fv-text::after,
.shindan-fv-text-small::after {
    background: #132045;
    background-clip: text;
    -webkit-background-clip: text;
}

.shindan-fv-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 90%;
    max-width: 480px;
    position: relative;
}

.shindan-fv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rainbow);
    border-radius: 16px 16px 0 0;
}

.shindan-fv-section .shindan-result-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    width: 90%;
    max-width: 525px;
    height: auto;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.shindan-fv-card-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 24px;
    line-height: 1.6;
}

.shindan-fv-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 56px;
    border-radius: 100px;
    background: var(--color, linear-gradient(95deg, #3EB8E7 20.28%, #62FFD0 154.88%));
    box-shadow: 0 4px 0 0 #439FC2;
    color: white;
    font-family: "SicUVeiw-DspE", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s, box-shadow 0.3s;
    border: none;
}

.shindan-fv-btn::after {
    content: '';
    display: inline-block;
    width: 22px;
    height: 21px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='22' viewBox='0 0 21 22' fill='none'%3E%3Cpath d='M7.9695 7.612L11.2035 11L7.9695 14.388L9.45 15.95L14.175 11L9.45 6.05L7.9695 7.612ZM0 11C0 17.072 4.704 22 10.5 22C16.296 22 21 17.072 21 11C21 4.928 16.296 0 10.5 0C4.704 0 0 4.928 0 11ZM18.9 11C18.9 15.862 15.141 19.8 10.5 19.8C5.859 19.8 2.1 15.862 2.1 11C2.1 6.138 5.859 2.2 10.5 2.2C15.141 2.2 18.9 6.138 18.9 11Z' fill='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.shindan-fv-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    box-shadow: 0 6px 0 0 #439FC2;
}

.shindan-fv-note {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.shindan-fv-characters {
    width: 100%;
    overflow: hidden;
    margin-top: 24px;
    z-index: 5;
    padding: 0;
}

.shindan-fv-char-slider {
    display: flex;
    width: max-content;
    gap: 0;
    animation: loop-slide 70s linear infinite;
    will-change: transform;
}

.shindan-fv-char-img {
    width: auto;
    height: 220px;
    max-width: none;
    display: block;
    margin: 0 -16px;
}

@keyframes loop-slide {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.shindan-description-section {
    padding: 60px 24px;
    background: white;
    text-align: center;
}

.shindan-description-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.shindan-description-text p {
    margin-bottom: 16px;
}

.shindan-section-16type {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
}

.shindan-section-16type li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.shindan-section-16type li img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.shindan-section-16type li p {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-color);
}

.shindan-section-16type .shindan-type-link {
    text-decoration: none;
    text-align: center;
}

.shindan-supervisor-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: 342px;
    margin: 0 auto;
    background: white;
}

.shindan-supervisor-image-full {
    width: 100%;
}

.shindan-supervisor-image-full img {
    width: 100%;
    height: auto;
    display: block;
}

.shindan-supervisor-content {
    width: 100%;
    text-align: left;
}

.shindan-supervisor-position {
    font-size: 15px;
    color: #686868;
    margin-bottom: 4px;
    font-weight: bold;
    display: block;
}

.shindan-supervisor-name-large {
    font-size: 21px;
    font-weight: bold;
    color: #132045;
    margin: 0 0 16px 0;
    line-height: 1.4;
    display: block;
}

.shindan-supervisor-desc {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 16px 0;
    display: block;
}

.shindan-share-icon-row {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shindan-share-icon-row img {
    width: 16px;
    height: 16px;
}

.shindan-result-text p {
    font-weight: bold;
}

.shindan-section-white {
    background: white;
    position: relative;
    padding-bottom: 40px;
    z-index: 1;
}

.shindan-section-gray {
    background: #f7f7f7;
    position: relative;
}

.shindan-section-apps {
    background: white;
    padding: 80px 24px;
}

.shindan-app-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.shindan-app-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.shindan-app-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.shindan-app-icon img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.shindan-app-info {
    flex: 1;
}

.shindan-app-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.shindan-app-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.shindan-footer {
    background: #f7f7f8;
    padding: 60px 24px 24px;
    border-top: 1px solid #eee;
}

.shindan-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto 60px;
}

.shindan-footer-logo img {
    height: 24px;
    width: auto;
}

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

.shindan-footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shindan-footer-title {
    font-size: 14px;
    font-weight: bold;
    color: #888;
}

.shindan-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shindan-footer-col ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
}

.shindan-footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

/* SP */
@media (max-width: 768px) {
    .shindan-fv-title {
        font-size: 32px;
        margin-bottom: 4px;
    }

    .shindan-section-16type {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .shindan-description-text {
        font-size: 15px;
    }

    .shindan-app-list-grid {
        grid-template-columns: 1fr;
    }

    .shindan-footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .shindan-footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .shindan-fv-section .shindan-result-card {
        padding: 24px 16px;
        width: 90% !important;
    }

    .shindan-result-text p {
        font-weight: bold;
        font-size: 15px;
    }

    .shindan-fv-btn {
        padding: 8px 40px;
    }

    .shindan-result-label {
        font-size: 14px;
    }

    .shindan-section-white+.shindan-wave-section,
    .shindan-wave-section {
        mask-size: 100% 100%;
        -webkit-mask-size: 100% 100%;
        background-color: #f7f7f7;
    }

    .shindan-section-16type-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .shindan-section-16type-container .shindan-section-inner {
        width: 100%;
        max-width: none;
    }

    .shindan-section-text-feature {
        width: 100%;
    }

    .shindan-section-16type {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: 100%;
    }

    .shindan-section-16type li {
        width: 100%;
    }

    .shindan-section-16type li img {
        width: 100%;
        height: auto;
        max-width: none;
    }
}

/* TAB */
@media (min-width: 600px) and (max-width: 768px) {
    .shindan-section-16type-container {
        padding-left: 80px;
        padding-right: 80px;
    }
}

/* SP */
@media (max-width: 599px) {
    .shindan-fv-characters {
        margin-top: 8px;
    }

    .shindan-fv-char-img {
        margin: 0 -24px;
        height: 200px;
        flex-shrink: 0;
    }

    .shindan-fv-char-slider {
        animation: loop-slide 60s linear infinite;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* PC */
.shindan-section-supervisor {
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .shindan-section-supervisor {
        padding-bottom: 80px;
    }
}