@charset "UTF-8";

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

html {
    scroll-behavior: smooth;
}

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;
    box-sizing: border-box;
}

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

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

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

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

.page h2 {
    margin-bottom: 7%;
}

.wrap {
    padding: 15% 7.5%;
}

.ib {
    display: inline-block;
    font-style: normal;
}



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

.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_2.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_box:not(:last-of-type) {
    margin-bottom: 8%;
}

.caster_main {
    position: relative;
}

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

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

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

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

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

/* -----キャスターSNS----- */
.caster_box ul {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: .3em;
    margin-top: 2%;
}

.caster_box ul li {
    width: 33%;
}

.caster_box ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 5%;
    height: 100%;
    color: #fff;
    font-size: clamp(12px, 3vw, 20px);
    font-weight: bold;
    text-decoration: none;
    letter-spacing: .03em;
    word-break: break-all;
    border-radius: 5px;
    filter: drop-shadow(1.5px 1.5px 1px rgba(0, 0, 0, 0.2));
    padding: 8% 8%;
}

.caster_box ul li p {
    display: flex;
    align-items: center;
    width: 20%;
    max-width: 30px;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.1));
}

.caster_box ul li span {
    display: block;
    line-height: 1;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.1));
}

.caster_blog a {
    /* background-image: linear-gradient(180deg, rgba(254, 213, 28, 1), rgba(247, 178, 28, 1)); */
    background-image: linear-gradient(180deg, rgba(1, 183, 229, 1), rgba(15, 143, 208, 1));
}

.caster_insta a {
    background-image: linear-gradient(221deg, rgba(91, 49, 204, 1), rgba(138, 55, 177, 1) 25%, rgba(233, 65, 122, 1) 50%, rgba(249, 111, 79, 1) 75%, rgba(249, 225, 65, 1));
}

.caster_tiktok a {
    background-color: #000;
}


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

.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 a {
    display: inline-block;
    text-decoration: underline;
    text-decoration-color: #108ccf;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}

.corner_box a img {
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.2));
}

.corner_box img {
    margin-bottom: 4%;
}

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

.corner_box p {
    font-size: clamp(14px, 3vw, 20px);
    text-align: left;
    margin-top: clamp(10px, 2vw, 20px);
}

.ib {
    display: inline-block;
    font-style: normal;
}


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

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

.bnr_2 img {
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.2));
}

/* =========================================
    　　　　　　トップボタン(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;
}

/* =========================================
　　　　　番組テーマソング(class="song")
============================================*/

.song div {
    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;
}

.song dl dt {
    font-size: clamp(18px, 4vw, 26px);
}

.song dl dt span {
    display: inline-block;
    font-size: clamp(24px, 4.5vw, 34px);
    font-weight: bold;
    color: #f8b217;
    margin-bottom: 1%;
}

.song dl dd {
    font-size: clamp(14px, 3vw, 20px);
    background-color: rgba(248, 178, 23, .15);
    border-radius: 5px;
    padding: 4% 3%;
    margin-top: 3%;
}

.song p {
    max-width: 500px;
    margin: 6% auto 0 auto;
}

/* =========================================
　　　　　ナビゲーション(class="nav")
============================================*/

.nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.nav ul li {
    width: 50%;
    background-image: linear-gradient(180deg, rgba(254, 213, 28, 1), rgba(247, 178, 28, 1));
}

.nav ul li:nth-of-type(odd) {
    border-right: 1px solid #fff;
}

.nav ul li:nth-of-type(-n+2) {
    border-bottom: 1px solid #fff;
}

.nav ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-decoration: none;
    padding: 8% 10%;
}

.nav ul li img {
    filter: drop-shadow(1px 1px 2px rgba(153, 103, 0, .3));
}

/* -----Youtube・x----- */
.nav ul li:last-of-type {
    display: flex;
    justify-content: center;
    padding: 0 5%;
}

.nav ul li div {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 8%;
}

.nav ul li div a {
    padding: 0;
}

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

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

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

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

    .page h2 {
        width: 60%;
        margin: 0 auto clamp(40px, 6vw, 70px) auto;
    }

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

    .page::before {
        background: url("https://cdn.tv-osaka.co.jp/yasashii/news/wp-content/themes/yasashii_news_2025/images/bg_pc_2.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_wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .caster_box {
        width: 47%;
    }

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

    .caster_main dl {
        left: -30px;
    }

    .caster_main dl dt {
        font-size: clamp(14px, 2vw, 26px);
    }
    
    .caster_main dl dd {
        font-size: clamp(18px, 3vw, 38px);
    }

    .caster_box ul li a {
        font-size: clamp(12px, 1.5vw, 20px);
        padding: 6% 4%;
        transition-duration: .2s;
    }

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

    .caster_box ul li p {
        width: 20%;
        max-width: unset;
        margin: 0;
    }

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

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

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

    .corner_box a {
        transition-duration: .2s;
    }

    .corner_box a:hover {
        opacity: .7;
    }

    .corner_box img {
        margin-bottom: clamp(15px, 1vw, 20px);
    }

    .corner_box span {
        font-size: clamp(18px, 2vw, 26px);
    }

    .corner_box p {
        font-size: clamp(14px, 2vw, 18px);
        margin-top: clamp(10px, 1vw, 15px);
    }

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

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

    .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;
    }

    /* =========================================
　　　　　番組テーマソング(class="song")
    ============================================*/

    .song div {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        column-gap: 1%;
        padding: 5%;
    }

    .song dl {
        width: 50%;
        order: 2;
    }

    .song dl dt { 
        font-size: clamp(14px, 3vw, 32px);
    }

    .song dl dt span { 
        font-size: clamp(18px, 3.5vw, 46px);
        margin-bottom: 1%;
    }

    .song dl dd {
        font-size: clamp(14px, 2vw, 24px);
        line-height: 1.7em;
        padding: 5% 3%;
    }

    .song p {
        width: 43%;
        max-width: unset;
        margin: 0;
        order: 1;
    }

    /* =========================================
　　　　　ナビゲーション(class="nav")
    ============================================*/

    .nav {
        background-image: linear-gradient(180deg, rgba(254, 213, 28, 1), rgba(247, 178, 28, 1));
    }

    .nav ul {
        max-width: 1200px;
        margin: 0 auto;
    }

    .nav ul li {
        width: 25%;
        font-size: clamp(14px, 3vw, 24px);
        border-right: 1px solid #fff;
    }

    .nav ul li:first-of-type {
        border-left: 1px solid #fff;
    }

    .nav ul li:nth-of-type(-n+2) {
        border-bottom: none;
    }

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

    .nav ul li a:hover {
        opacity: .6;
    }

    /* -----Youtube・x----- */
    .nav ul li:last-of-type {
        padding: 0 2%;
        border-right: 1px solid #fff;
    }

    .nav ul li div {
        width: 90%;
        column-gap: 8%;
    }

    .nav ul li div a {
        border: 0;
    }

}