/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

body {
    margin: auto;
    background-color: #dadaab;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    /* 読みやすさを最適化 */
    background-color: #FEFEF9;
    margin: auto;
    overflow-y: scroll;
    overflow-x: hidden;
}

a,
p,
h4,
h3,
h2,
h1 {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    margin: auto;
    color: #202020;
    line-height: 1.5;
    letter-spacing: 0.05rem;
}

.container {
    background-color: #FEFEF9;
    /* padding: 24px; */
}


.content_wrapper {
    width: 100%;
    height: 100vh;
    max-width: 768px;
    border-radius: 25px;
    margin: auto;

}

/* 画像のフェードイン + ブラー消去アニメーション */
@-webkit-keyframes fadeInBlur {
    0% {
        opacity: 0;
        -webkit-filter: blur(30px);
        filter: blur(30px);
    }

    50% {
        opacity: 0.5;
        -webkit-filter: blur(15px);
        filter: blur(15px);
    }

    100% {
        opacity: 1;
        -webkit-filter: blur(0px);
        filter: blur(0px);
    }
}

@keyframes fadeInBlur {
    0% {
        opacity: 0;
        -webkit-filter: blur(30px);
        filter: blur(30px);
    }

    50% {
        opacity: 0.5;
        -webkit-filter: blur(15px);
        filter: blur(15px);
    }

    100% {
        opacity: 1;
        -webkit-filter: blur(0px);
        filter: blur(0px);
    }
}

.min_every_set {
    margin-bottom: 16px;
}

.min_every_set-graph {
    width: 100%;
    max-width: 363px;
}

.min_every_set-title {
    margin-bottom: 16px;
}

:root {

    --blur-value: 200px;
    --bg-opacity: 0;
}

.hero {
    position: relative;
    height: calc(100vh - 32px);
    padding: 16px;
}

.hero::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    max-width: 768px;
    height: 100vh;
    background-image: url(./imgs/main.svg);
    background-size: min(calc(100vh - 15%), 95%);
    background-position: center;
    background-repeat: no-repeat;

    opacity: var(--bg-opacity);
    background-color: rgba(255, 255, 255, 0.1);
    /* 半透明で背景をぼかしやすく */
    -webkit-filter: blur(var(--blur-value, 0px));
    filter: blur(var(--blur-value, 0px));
    /* JavaScript で制御 */
    -webkit-transition: opacity 2s ease-out, -webkit-filter 2s ease-out;
    transition: opacity 2s ease-out, -webkit-filter 2s ease-out;
    -o-transition: opacity 2s ease-out, filter 2s ease-out;
    transition: opacity 2s ease-out, filter 2s ease-out;
    transition: opacity 2s ease-out, filter 2s ease-out, -webkit-filter 2s ease-out;
    ;
    /* なめらかに変化 */
    z-index: -2;
}

.hero_picure_img {
    position: absolute;
    width: 100%;
    max-width: 100%;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


.report-container {
    position: relative;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 64px;
}

.report-item {
    margin-bottom: 64px;
}

.report-item__section {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 16px 1fr;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 64px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
}

.report-item__big-title {
    margin-bottom: 48px;
}


.report-item__graph img {
    width: 100%;
}

.report-item__data {
    margin-bottom: 12px;
}

.report-item__data-number {
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    line-height: 1;
    font-style: normal;
    font-size: 80px;
    color: #0CC6A5;
}

.report-item__data-number .value {
    position: relative;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-size: 30px;
    color: #FF7A00;
    top: -4.5px;
}


.scene-icon {
    width: 24px;
    vertical-align: top;
    margin-right: 8px;
}

.vertical-text {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-align: center;
    font-size: 17px;
    margin-right: 12px;
    color: #404040;
}

.report-item__data-subnumber .value {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    color: #FF7A00;
    position: relative;
    top: -2px;
}

.report-item__data {
    position: relative;
}

.report-item__data-subnumber .data {
    font-size: 32px;
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    line-height: 1;
    color: #0CC6A5;
    letter-spacing: 0.1rem;
}

.data-acquisition-period p {
    font-size: 12px;
    color: #909090;
    padding-bottom: 16px;
    border-bottom: 1px solid #CFCFCF;
    margin-bottom: 64px;
    margin-top: 120px;
}

.sauna_watch-container {
    width: calc(100% -64px);
    margin-top: 48px;
    background-color: #FEFEF9;
    border: 1px solid #CFCFCF;
    padding: 32px;
    border-radius: 16px;
}

.sanokui_header_logo {
    height: 32px;
    margin-top: 24px;
}

.watch {
    text-align: center;
}

.watch .watch_img {
    margin-top: 32px;
    mix-blend-mode: multiply;
    width: 100%;
    max-width: 280px;
}

.mist-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    /* クリックを邪魔しない */
    overflow: hidden;
    z-index: 1;
    /* コンテンツの最前面に配置 */
}

/* 霧の要素 */
.mist {
    position: absolute;
    width: 300px;
    height: 200px;
    background: -o-radial-gradient(circle, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0.3) 80%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 20%, rgba(255, 255, 255, 0.3) 80%);
    opacity: 0.5;
    -webkit-filter: blur(30px);
    filter: blur(30px);
    mix-blend-mode: lighten;
    /* モヤをより自然に見せる */
    -webkit-animation: mistFloat 10s infinite ease-in-out alternate,
        mistWave 6s infinite ease-in-out,
        mistMove 20s infinite linear,
        mistFade 15s infinite ease-in-out;
    animation: mistFloat 10s infinite ease-in-out alternate,
        mistWave 6s infinite ease-in-out,
        mistMove 20s infinite linear,
        mistFade 15s infinite ease-in-out;
}

/* 霧のアニメーション */
/* 浮遊しながらゆらゆら動くアニメーション */
/* 上下にふわふわ浮く */
@-webkit-keyframes mistFloat {
    0% {
        -webkit-transform: translateY(0) scale(1);
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    100% {
        -webkit-transform: translateY(-80px) scale(1.2);
        transform: translateY(-80px) scale(1.2);
        opacity: 0.5;
    }
}

@keyframes mistFloat {
    0% {
        -webkit-transform: translateY(0) scale(1);
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    100% {
        -webkit-transform: translateY(-80px) scale(1.2);
        transform: translateY(-80px) scale(1.2);
        opacity: 0.5;
    }
}

/* 横にゆらゆら揺れる */
@-webkit-keyframes mistWave {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    50% {
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }

    100% {
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
}

@keyframes mistWave {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    50% {
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }

    100% {
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
}

/* ランダムに移動する */
@-webkit-keyframes mistMove {
    0% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    25% {
        -webkit-transform: translate(-10vw, -5vh);
        transform: translate(-10vw, -5vh);
    }

    50% {
        -webkit-transform: translate(5vw, 10vh);
        transform: translate(5vw, 10vh);
    }

    75% {
        -webkit-transform: translate(-5vw, -10vh);
        transform: translate(-5vw, -10vh);
    }

    100% {
        -webkit-transform: translate(10vw, 5vh);
        transform: translate(10vw, 5vh);
    }
}

@keyframes mistMove {
    0% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    25% {
        -webkit-transform: translate(-10vw, -5vh);
        transform: translate(-10vw, -5vh);
    }

    50% {
        -webkit-transform: translate(5vw, 10vh);
        transform: translate(5vw, 10vh);
    }

    75% {
        -webkit-transform: translate(-5vw, -10vh);
        transform: translate(-5vw, -10vh);
    }

    100% {
        -webkit-transform: translate(10vw, 5vh);
        transform: translate(10vw, 5vh);
    }
}

@-webkit-keyframes mistFade {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
    }

    /* 徐々にフェードアウト */
}

@keyframes mistFade {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
    }

    /* 徐々にフェードアウト */
}

.footer {

    border-top: 1px solid #CFCFCF;
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
    padding-top: 64px;
    padding-bottom: 64px;
}

.sanokuni_logo {
    margin-bottom: 64px;
}


.report-item__description .data {
    font-size: 32px;
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    line-height: 1;
}


@media screen and (max-width:768px) {

    .report-item__data-number {
        font-size: 64px;
    }

    .report-item__data-subnumber .value {
        top: -2px;
    }

    .report-item__data-number .value {
        font-size: 24px;
        top: -3.5px;
    }

    .vertical-text {
        font-size: 14px;
    }

    .report-item__section {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}