@charset "utf-8";

/* CSS Document */
:root {
    --report-img-width: 150px;
    --report-img-maxhigh: 230px;
}

/* ------------------------------------------------------------------------- */
/* Breakpoint 2: Tablet (1024px以下) */
/* ------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
    :root {
        --report-img-width: 100px;
        --report-img-maxhigh: 180px;
    }
}

/* ------------------------------------------------------------------------- */
/* Breakpoint 3: SmartPhone (599px以下) */
/* ------------------------------------------------------------------------- */
@media screen and (max-width: 599px) {
    :root {
        --report-img-width: 16vw;
        --report-img-maxhigh: 120px;
    }
}


body#detail {
    position: relative;
    background-color: #c7e8ff;
    background-image: url(images/BG_bottom.webp);
    background-image: url(images/BG_bottom.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: contain;
}

body#detail.cat-0 {
    background-color: #2885c5;
    background-image: url(images/BG_bottom_cat00.avif);
    background-image: url(images/BG_bottom_cat00.webp);
    background-image: url(images/BG_bottom_cat00.png);
}

main {
    position: relative;
}

main::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(images/BG_top_pc.webp);
    background-image: url(images/BG_top_pc.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
}

.cat-0 main::after {
    background-image: url(images/BG_top_cat00.avif);
    background-image: url(images/BG_top_cat00.webp);
    background-image: url(images/BG_top_cat00.png);
}


.container {
    max-width: 800px;
    margin-inline: auto;
    padding: 6.5vw 0 50px;
}



.backORcloseBtn {
    text-align: center;
    padding: 50px 0 100px;
}

.backORcloseBtn>a {
    position: relative;
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    padding: .5em 4em;
    border-radius: 100vh;
    background-color: var(--c-brand-accent);
    color: var(--c-brand);
}

.backORcloseBtn>a::before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 2em;
    margin: auto;
    height: .5em;
    width: .5em;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(45deg);
    transition: left .3s;
}

.backORcloseBtn>a:hover::before {
    left: 1.8em;
}

.cat-0 .contents_wrap {
    padding: 3.5em;
    background-image: url(images/BG_contents_cat00.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.cat-1 .contents_wrap {
    position: relative;
    padding: 4em 2em 2em;
    background-color: var(--c-softwhite);
    border: 8px solid var(--c-brand-accent);
    border-radius: 16px;
}

.title_container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 106%;
    margin: 0 -3%;
}

.title_img {
    pointer-events: none;
}

.title_img img {
    width: var(--report-img-width);
    max-height: var(--report-img-maxhigh);
}

.title_name {
    text-align: center;
    flex: 1;
    padding-bottom: 5vw;
    font-size: 3em;
    font-weight: 900;
    color: var(--c-brand);
}

.cat-0 .title_name {
    padding-bottom: 30px;
    color: var(--c-softwhite);
}

.cat-0 .report_title {
    padding-bottom: 1em;
    text-align: center;
    font-size: 1.6em;
    color: var(--c-brand);
}

.cat-1 .report_title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: calc(100% - (var(--report-img-width) * 1.4));
    max-width: 800px;
    padding: .4em 1.5em;
    text-align: center;
    font-size: 1.8em;
    line-height: 1.1;
    color: #fff;
    background-color: var(--c-brand);
    border-radius: 100vh;
}


.php_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat00_bottomIMG {
    padding-top: 30px;
    pointer-events: none;
}

.cat-1 .cat00_bottomIMG {
    display: none;
}

.detailUpfile {
    margin: 1em 0;
    margin-inline: auto;
    display: inline-block;
    /* サイズに合わせてフィット */
    border-radius: 20px;
    /* 角丸クリップ */
    overflow: hidden;
}

.detailUpfile>img {
    width: auto;
    height: auto;
}

.detailText {
    font-size: 1.1em;
}

.detailText a {
    display: inline-block;
    color: var(--c-brand);
    text-decoration: none;
    font-weight: bold;
    padding: .2em 1.2em;
    margin: .5em 0;
    border-radius: 100vh;
    background-color: var(--c-softwhite);
    border: 1px solid var(--c-brand);
    transition: background-color .3s, color .3s;
}

.detailText a::before {
    content: "→";
    margin-right: .25em;
}

.detailText a:hover {
    background-color: var(--c-brand-accent);
    border: 1px solid var(--c-brand-accent);
}

/* ------------------------------------------------------------------------- */
/* Breakpoint 2: Tablet (1024px以下) */
/* ------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
    .title_name {
        font-size: 2em;
        padding-bottom: 40px;
    }

    .cat-1.report_title {
        font-size: 1.6em;
        width: 80%;
    }


}

/* ------------------------------------------------------------------------- */
/* Breakpoint 3: SmartPhone (599px以下) */
/* ------------------------------------------------------------------------- */
@media screen and (max-width: 599px) {
    main::after {
        background-image: url(images/BG_top_mobile.webp);
        background-image: url(images/BG_top_mobile.png);
    }

    .cat-0 main::after {
        background-image: url(images/BG_top_cat00_mobile.avif);
        background-image: url(images/BG_top_cat00_mobile.webp);
        background-image: url(images/BG_top_cat00_mobile.png);
    }

    .cat-0 .contents_wrap {
        padding: 2em;
    }

    .cat-1 .contents_wrap {
        padding: 1em;
        border-width: 6px;
    }

    .container {
        width: 90%;
    }

    .cat-0 .container {
        padding-top: 55px;
    }

    .title_container {
        width: 100%;
        margin: 0;
    }

    .title_name {
        font-size: 1.5em;
        padding-bottom: .5em;
    }

    .cat-0 .title_name {
        padding-bottom: 20px;
    }

    .cat-0 .report_title {
        text-align: left;
        font-size: 1.4em;
    }

    .cat-1 .report_title {
        position: relative;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        width: 100%;
        text-align: justify;
        font-size: 1.2em;
        background-color: transparent;
        color: var(--c-brand);
        padding-bottom: 1em;
        padding-left: 0;
        padding-right: 0;
    }

    .detailText {
        font-size: .9em;
        line-height: 1.4;
    }

    .backORcloseBtn {
        padding-bottom: 50px;
    }
}