@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	scroll-behavior: smooth;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
img {
	height: auto;
	vertical-align: bottom;
}
p {
	line-height: 120%;
}
a {
	text-decoration: none;
	color: #fffeef;
	word-break: break-all;
}
ol, ul {
	list-style: none;
}
body {
	text-align: center;
    background-color: #101920;
    font-family: "Hiragino Mincho ProN", "MS PMincho", serif !important;
    font-family: 'Noto Serif JP', "Hiragino Mincho ProN", "MS PMincho", serif !important;
    font-weight: 600; /* 600(SemiBold) または 900(Black) が使えます */
}
input[type="submit"], input[type="button"], input[type="reset"] {
	-webkit-appearance: none;
	border-radius: 0;
}
.pc {
	display: block !important;
}
.sp {
	display: none !important;
}

/* ==========================================================================
   1. PC版スタイル（基本設定）
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* 背景画像の設定 */
    background-image: url("../img/tstb-shindan/tstb-shindan_common_bg_pc.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed; 
    background-color: #101920;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    align-items: flex-start;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
}

.main-container {
    width: 500px;
    background-image: url("../img/tstb-shindan/tstb-shindan_common_bg.png");
    background-size: 500px 1400px;
    background-repeat: no-repeat;
    background-position: top center;
    overflow: hidden;
    position: relative;
}

.section1 {
    width: 500px;
    height: 880px;
    margin-bottom: 60px;
}

.logo-area {
    width: 500px;
    height: 200px;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    width: 430px;
    height: auto;
}

.slider-container {
    width: 500px;
    height: 500px;
    margin-top:20px;
    position: relative;
    overflow: hidden;
}

.slide-item {
    width: 500px;
    height: 500px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeSlideAnim 32.2s infinite;
}

.slide-item img {
    width: 400px;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-item:nth-child(1) { animation-delay: 0s; }
.slide-item:nth-child(2) { animation-delay: 4.6s; }
.slide-item:nth-child(3) { animation-delay: 9.2s; }
.slide-item:nth-child(4) { animation-delay: 13.8s; }
.slide-item:nth-child(5) { animation-delay: 18.4s; }
.slide-item:nth-child(6) { animation-delay: 23s; }
.slide-item:nth-child(7) { animation-delay: 27.6s; }

@keyframes fadeSlideAnim {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    1.86% { 
        opacity: 1;
        transform: translateX(0);
    }
    14.28% {
        opacity: 1;
        transform: translateX(0);
    }
    16.14% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 0;
    }
}

.button-text-area {
    width: 500px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.start-btn {
    display: block;
    line-height: 0;
}

.start-btn img {
    width: 426px;
    height: auto;
}

.description-img {
    margin-top: 10px;
    width: 381.5px;
    height: auto;
    display: block;
}

.start-btn,
.option-btn,
.retry-btn-link,
.share-btn {
    transition: transform 0.1s ease;
    cursor: pointer;
    user-select: none;
}

.start-btn:active,
.option-btn:active,
.retry-btn-link:active,
.share-btn:active {
    transform: scale(0.95);
}

.section2 {
    width: 500px;
    height: 280px;
    background-image: url("../img/tstb-shindan/tstb-shindan_share_bg.png");
    background-size: 500px 283.5px;
    background-repeat: no-repeat;
    background-position: bottom;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sns-icons { 
    display: flex; 
    gap: 50px; 
    margin-top: 80px; 
    margin-bottom: 20px;
}

.sns-icons img { 
    width: 55px; 
    height: 55px;
}

.white-line {
    width: 264px;
    height: 2px;
    background-color: #fffeef;
    margin-bottom: 20px;
}

.section2-logo {
    width: 214px;
    height: 49px;
}

.section3 {
    width: 500px;
    height: 100px;
    background-color: #262626;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.company-logo {
    width: 132px;
    height: 41.5px;
    margin-bottom: 8px;
}

.copyright {
    font-size: 12px;
    color: #edece0;
}

.section-question { 
    width: 500px; 
}

.q-image-area {
    width: 500px;
    height: 430px;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
#q-image {
    width: 455px;
    height: 410px;
    display: block;
}

.options-area {
    width: 500px;
    height: 380px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.option-btn {
    width: 426px;
    height: 121px;
    background: url("../img/tstb-shindan-question/tstb-shindan_question_btn.png") no-repeat center/contain;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.option-btn span {
    font-size: 32px;
    font-weight: bold;
    background: linear-gradient(to bottom, #111111, #323232);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.option-btn {
    opacity: 0;
    transform: translateX(-30px);
    transition: transform 0.1s ease, opacity 0.4s ease;
}

.options-area.is-active .option-btn {
    animation: slideInRight 0.5s ease forwards;
}

.options-area.is-active .option-btn:nth-child(1) { animation-delay: 0.1s; }
.options-area.is-active .option-btn:nth-child(2) { animation-delay: 0.2s; }
.options-area.is-active .option-btn:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.retry-area {
    width: 500px;
    margin-top: 20px;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.retry-btn-link {
    width: 190px;
    height: 65px;
    background: url("../img/tstb-shindan-question/tstb-shindan_question_retry.png") no-repeat center/contain;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.retry-btn-link span {
    font-size: 20px;
    font-weight: bold;
    font-family: inherit;
    background: #fffeef;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result-header {
    width: 500px;
    height: 120px;
    padding-top: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.res-h-img {
    width: 384px;
    height: auto;
}

.result-img-main {
    width: 500px;
    display: flex;
    justify-content: center;
}

.result-img-main img {
    width: 400px;
    height: auto;
}

.result-img-txt {
    width: 500px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.result-img-txt img {
    width: 409px;
    height: auto;
}

.share-area {
    width: 500px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.share-btn img {
    width: 426px;
    height: auto;
    display: block;
}

body, button, span, p, a {
    font-family: "Hiragino Mincho ProN", "MS PMincho", serif !important;
}

/* =================================================rom
   SPレスポンシブ (500px以下で比率を維持してスケーリング)
   ================================================== */
@media screen and (max-width: 500px) {
    .main-container {
        width: 100vw;
        background-size: 100vw 280vw;
    }

    .section1 {
        width: 100vw;
        height: 176vw;
        margin-bottom: 12vw;
    }

    .logo-area {
        width: 100vw;
        height: 40vw;
        padding-top: 4vw;
    }

    .logo-img {
        width: 86vw;
        height: auto;
    }

    .slider-container {
        width: 100vw;
        height: 100vw;
        margin-top: 4vw;
    }

    .slide-item {
        width: 100vw;
        height: 100vw;
    }

    .slide-item img {
        width: 80vw;
        height: 100vw;
    }

    @keyframes fadeSlideAnim {
        0% {
            opacity: 0;
            transform: translateX(6vw);
        }
        1.86% {
            opacity: 1;
            transform: translateX(0);
        }
        14.28% {
            opacity: 1;
            transform: translateX(0);
        }
        16.14% {
            opacity: 0;
            transform: translateX(-6vw);
        }
        100% {
            opacity: 0;
        }
    }

    .button-text-area {
        width: 100vw;
        height: 40vw;
    }

    .start-btn img {
        width: 85.2vw;
    }

    .description-img {
        margin-top: 2vw;
        width: 76.3vw;
        height: auto;
    }

    .section2 {
        width: 100vw;
        height: 56vw;
        background-size: 100vw 56.7vw;
    }

    .sns-icons { 
        gap: 10vw;
        margin-top: 16vw;
        margin-bottom: 4vw;
    }

    .sns-icons img { 
        width: 11vw;
        height: 11vw;
    }

    .white-line {
        width: 52.8vw;
        height: 0.4vw;
        margin-bottom: 4vw;
    }

    .section2-logo {
        width: 42.8vw;
        height: 9.8vw;
    }

    .section3 {
        width: 100vw;
        height: 20vw;
    }

    .company-logo {
        width: 26.4vw;
        height: 8.3vw;
        margin-bottom: 1.6vw;
    }

    .copyright {
        font-size: 2.4vw;
    }

    .section-question { 
        width: 100vw; 
    }

    .q-image-area {
        width: 100vw;
        height: 86vw;
        padding-top: 4vw;
    }

    #q-image {
        width: 91vw;
        height: 82vw;
    }

    .options-area {
        width: 100vw;
        height: 76vw;
        padding-top: 4vw;
    }

    .option-btn {
        width: 85.2vw;
        height: 24.2vw;
    }

    .option-btn span {
        font-size: 6.4vw;
    }

    @media screen and (max-width: 500px) {
    .option-btn {
        transform: translateX(-6vw);
    }

    @keyframes slideInRight {
        0% {
            opacity: 0;
            transform: translateX(-6vw);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
    }

    .retry-area {
        width: 100vw;
        margin-top: 4vw;
        padding-bottom: 10vw;
    }
    .retry-btn-link {
        width: 38vw;
        height: 13vw;
    }
    .retry-btn-link span {
        font-size: 4vw;
    }

    .result-header {
        width: 100vw;
        height: 24vw;
        padding-top: 4vw;
    }

    .res-h-img {
        width: 64.8vw;
    }

    .result-img-main { 
        width: 100vw; 
    }

    .result-img-main img { 
        width: 80vw; 
    }

    .result-img-txt {
        width: 100vw;
        margin-top: 2vw;
    }

    .result-img-txt img { 
        width: 81.8vw; 
    }

    .share-area {
        width: 100vw;
        margin-top: 4vw;
    }

    .share-btn img { 
        width: 85.2vw; 
    }
}


