@charset "UTF-8";

/* =========================================
    　　　　　　　　共通
============================================*/

html,
body {
  margin: 0;
  padding: 0;
  border: 0;
}

.page {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    overflow: hidden;
    text-align: center;
}

.page * {
    margin: 0;
    padding: 0;
}

.page ul,
.page ol {
    list-style: none;
}

.page img {
    max-width: 100%;
}

.page picture {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrap {
    padding: 15% 7.5%;
}

.page section:not(:last-of-type) {
    margin-bottom: 15%;
}

/* =========================================
    　　　　　　　　背景
============================================*/

.page::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url("https://cdn.tv-osaka.co.jp/yasashii/news/wp-content/themes/yasashii_news_2025/images/bg_sp.jpg") center/cover no-repeat;
    z-index:-1;
}

/* =========================================
    　　　　　　SNS(class="sns")
============================================*/

.sns {
    background-image: linear-gradient(180deg, rgba(254, 213, 28, 1), rgba(247, 178, 28, 1));
    padding: 1.5% 5%;
}

.sns ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}

/* =========================================
　　　　　　　バナーエリア1(class="bnr_1")
============================================*/

.bnr_1 ul li:not(:last-of-type) {
    margin-bottom: 5%;
}

/* =========================================
　　　　　　　キャスター(class="caster")
============================================*/

.caster h2 {
    width: 75%;
    margin: 0 auto 10% auto;
}

.caster_box:not(:last-of-type) {
    margin-bottom: 8%;
}

.caster_box div {
    position: relative;
}

.caster_box img {
    filter: drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.15));
}

.caster_box dl {
    position: absolute;
    left: -10px;
    bottom: 8%;
    width: 100%;
}

.caster_box dl dt,
.caster_box dl dd {
    background-color: #fff;
    border-radius: 5px;
    width: fit-content;
    padding: 1% 4%;
    font-weight: bold;
}

.caster_box dl dt {
    margin-bottom: 3%;
    font-size: clamp(14px, 5vw, 22px);
}

.caster_box dl dd {
    font-size: clamp(18px, 6vw, 30px);
}

.caster_box ul {
    display: flex;
    justify-content: center;
    gap: .5em;
    margin-top: 2%;
}

.caster_box ul a img {
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.15));
}


/* =========================================
　　　　　　　曜日別コーナー(class="corner")
============================================*/

.corner h2 {
    width: 85%;
    margin: 0 auto 10% auto;
}

.corner_wrap {
    max-width: 400px;
    margin: 0 auto;
}

.corner_box {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
    padding: 7.5%;
    box-sizing: border-box;
}

.corner_box:not(:last-of-type) {
    margin-bottom: 8%;
}

.corner_box span {
    font-size: clamp(20px, 4vw, 24px);
    font-weight: bold;
    color: #108ccf;
    margin: 3% 0;
    display: block;
}

.corner_box p {
    font-size: clamp(14px, 4vw, 16px);
    text-align: left;
}

/* =========================================
　　　　　　　バナーエリア2(class="bnr_2")
============================================*/

.bnr_2 ul li:not(:last-of-type) {
    margin-bottom: 5%;
}

/* =========================================
    　　　　　　トップボタン(id="page-top")
============================================*/

#page-top {
    position: fixed;
    bottom: 3%;
    right: 3%;
    width: 15%;
    aspect-ratio: 125 / 127;
    background: url(https://cdn.tv-osaka.co.jp/yasashii/news/wp-content/themes/yasashii_news_2025/images/btn_top.png) no-repeat center / 100%;
    z-index: 100;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.1));
}

/* =========================================
　　　　　　　アニメーション(class="slidein")
============================================*/

.slidein {
	opacity: 0;
	transform: translateY(100px);
	transition: 0.6s;
}


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

    /* =========================================
        　　　　　　　　共通
    ============================================*/

    .wrap {
        max-width: 1200px;
        margin: 0 auto;
        padding: clamp(50px, 10vw, 100px) 5%;
    }

    .page section:not(:last-of-type) {
        margin-bottom: clamp(70px, 10vw, 120px);
    }

    /* =========================================
        　　　　　　　　背景
    ============================================*/

    .page::before {
        background: url("https://cdn.tv-osaka.co.jp/yasashii/news/wp-content/themes/yasashii_news_2025/images/bg_pc.jpg") center/cover no-repeat;
    }

    /* =========================================
        　　　　　　SNS(class="sns")
    ============================================*/

    .sns {
        padding: clamp(5px, 1vw, 10px) 5%;
    }

    .sns ul {
        width: 70%;
        max-width: 700px;
        margin: 0 auto;
    }

    .sns ul a {
        transition-duration: .2s;
    }

    .sns ul a:hover {
        opacity: .7;
    }


    /* =========================================
    　　　　　　　バナーエリア1(class="bnr_1")
    ============================================*/

    .bnr_1 ul {
        display: flex;
        justify-content: center;
        column-gap: 2%;
    }

    .bnr_1 ul li:not(:last-of-type) {
        margin-bottom: 0;
    }

    .bnr_1 ul a {
        transition-duration: .2s;
    }

    .bnr_1 ul a:hover {
        opacity: .7;
    }

    /* =========================================
    　　　　　　　キャスター(class="caster")
    ============================================*/

    .caster h2 {
        margin-bottom: clamp(40px, 10vw, 70px);
        width: 50%;
        max-width: 450px;
    }

    .caster_wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .caster_box {
        width: 47%;
    }

    .caster_box:not(:last-of-type) {
        margin-bottom: 0;
    }

    .caster_box dl {
        left: -30px;
    }

    .caster_box  dl dt {
        font-size: clamp(14px, 2vw, 26px);
    }

    .caster_box  dl dd {
        font-size: clamp(18px, 3vw, 38px);
    }


    .caster_box ul {
        gap: 1em;
    }

    .caster_box ul a {
        transition-duration: .2s;
    }

    .caster_box ul a:hover {
        opacity: .7;
    }

    /* =========================================
    　　　　　　　曜日別コーナー(class="corner")
    ============================================*/

    .corner h2 {
        margin-bottom: clamp(40px, 10vw, 70px);
        width: 60%;
        max-width: 550px;
    }

    .corner_wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        row-gap: 30px;
        max-width: none;
    }

    .corner_box {
        padding: 2.5%;
        width: 32%;
    }
    .corner_box:not(:last-of-type) {
        margin-bottom: 0;
    }

    .corner_box span {
        font-size: clamp(18px, 2vw, 30px);
        margin: 5% 0;
    }


    /* =========================================
    　　　　　　　バナーエリア2(class="bnr_2")
    ============================================*/

    .bnr_2 ul {
        display: flex;
        justify-content: center;
        column-gap: 2%;
    }

    .bnr_2 ul li:not(:last-of-type) {
        margin-bottom: 0;
    }

    .bnr_2 ul a {
        transition-duration: .2s;
    }

    .bnr_2 ul a:hover {
        opacity: .7;
    }


    /* =========================================
    　　　　　　トップボタン(id="page-top")
    ============================================*/

    #page-top {
        max-width: 110px;
        right: 2%;
        transition-duration: .2s;
    }

    #page-top:hover {
        opacity: .7;
    }

    /* =========================================
　　　　　　　　アニメーション(class="slidein")
    ============================================*/

    .slideIn {
        opacity: 0;
        transform: translateY(100px);
        transition: .6s;
    }


}