@charset "UTF-8";

/*-------------------------------------------------------------------------------------------------------------------
    home.css
---------------------------------------------------------------------------------------------------------------------
*/

.details {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 100px;
    margin: 0;
    padding: 0 16px;
    color: #006080;
}

.detail_photo {
    position: relative;
    display: block;
    width: 200px;
    aspect-ratio: 200 / 140;
    border-radius: 4px;
    /*background-color: red;*/
}

.detail_photo img {
    width: 100%;
    border-radius: 4px;
}

.detail_photo span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.0em;
    color: #ffffff;
    text-shadow: 1px 1px #000000;
}

.detail_text {
    width: 80%;
    padding: 0 16px;
}


/*-------------------------------------------------------------------------------------------------------------------
    PC wide
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (min-width: 1920px) {
}

/*-------------------------------------------------------------------------------------------------------------------
    PC narrow
---------------------------------------------------------------------------------------------------------------------
*/

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

/*-------------------------------------------------------------------------------------------------------------------
    Tablet portrait
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 959px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
}

/*-------------------------------------------------------------------------------------------------------------------
    Smartphone portrait
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 520px) and (orientation: portrait) and (hover: none) and (pointer: coarse) {
    .details {
        display: block;
        padding: 8px 0 8px 0;
    }

    .detail_photo {
        width: 100%;
        height: 100px;
        overflow: hidden;
    }

    .detail_photo span {
        font-size: 36px;
    }

    .detail_text {
        width: 100%;
        padding: 4px 0 0 0;
        font-size: 14px;
        letter-spacing: 0.02em;
    }
}

/*-------------------------------------------------------------------------------------------------------------------
    Smartphone landscape
---------------------------------------------------------------------------------------------------------------------
*/

@media screen and (max-width: 896px) and (orientation: landscape) and (hover: none) and (pointer: coarse) {
}
