@charset "utf-8";

/* h1 {
    font-size: 1rem;
} */

/* .lead {
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
} */

html {
    scroll-behavior: smooth;
}


.container {
    overflow: auto;
    max-width: 1024px;
    max-height: 1221px;

    /* grid レイアウトの設定 */
    display: grid;

    grid-template-columns: auto repeat(4, max-content minmax(300px, 1fr));
    grid-template-rows: auto repeat(calc(4 * 60), 0.2rem);

    /* カラムの間隔 */
    grid-column-gap: 3px;
    column-gap: 3px;

    /* 行の間隔 */
    grid-row-gap: 3px;
    row-gap: 3px;

}

.containers{
    overflow: auto;
    max-width: 1024px;
    max-height: 1221px;

    /* grid レイアウトの設定 */
    display: grid;

    grid-template-columns: auto repeat(5, max-content minmax(300px, 1fr));
    grid-template-rows: auto repeat(calc(3 * 60), 0.2rem);

    /* カラムの間隔 */
    grid-column-gap: 3px;
    column-gap: 3px;

    /* 行の間隔 */
    grid-row-gap: 3px;
    row-gap: 3px;
}

/* アコーディオン系 */
.title {
    position: relative;
    cursor: pointer;
    /* font-size: 1rem; */
    font-weight: normal;
    padding: 3% 3% 1% 50px;
    transition: all .5s ease;
    margin-bottom: 25px;
}

/*アイコンの＋と×*/
.title::before,
.title::after {
    position: absolute;
    content: '';
    width: 25px;
    height: 2px;
    background-color: #333;

}

.title::before {
    top: 66%;
    left: 25%;
    transform: rotate(0deg);

}

.title::after {
    top: 66%;
    left: 25%;
    transform: rotate(90deg);
}


.table_01 th {
    text-align: center;
}

.pro_user {
    margin: 0 auto;
} 


/*　closeというクラスがついたら形状変化　*/
.title.close::before {
    transform: rotate(45deg);
}

.title.close::after {
    transform: rotate(-45deg);
}


/*アコーディオンで現れるエリア*/
.box {
    /* display: none; */
    /*はじめは非表示*/
    background: #fcfcfc;
    margin: 0px 3% 3% 1%;
    padding: 3%;
}




/* 時間軸 */
.time-axis {
    border: solid 1px gray;
    border-radius: 3px;

    background-color: gainsboro;

    grid-column: 1 / 2;

    left: 0px;
    z-index: 3;
    position: sticky;
}

/* 放送局の見出し */
.channel-title {
    /* 枠 */
    border: solid 1px gray;
    border-radius: 3px;

    /* 背景色 */
    background-color: lightgray;

    /* 中央揃え・太字 */
    text-align: center;
    font-weight: bold;

    /* 表示位置を固定 */
    top: 0;
    z-index: 2;
    position: sticky;

    grid-row: 1 / 2;
}

/* 番組の枠 */
.content-box {
    border: solid 1px gray;
    border-radius: 3px;
}

/* 番組の枠（上なしバージョン） */
.content-box-break-top {
    border-top: none;
    border-bottom: solid 1px gray;
    border-left: solid 1px gray;
    border-right: solid 1px gray;

    border-radius: 3px;
}

/* 番組の枠（下なしバージョン） */
.content-box-break-bottom {
    border-bottom: none;
    border-top: solid 1px gray;
    border-left: solid 1px gray;
    border-right: solid 1px gray;

    border-radius: 3px;
}

/* 放送開始時間 */
.content-minute {
    margin-left: 3px;
    color: gray;
    overflow: hidden;
}

/* 番組名 */
.content-title {
    overflow-wrap: break-word;
    overflow: hidden;
}

/* 番組内容 */
.content-discription {
    margin-top: 3px;
    color: darkgray;
}

.table_06 {
    margin: 0 auto;
}

h5 {
    text-align: left;
}


@media screen and(max-width: 9%){
    .table_01 th {
        width: 9%;
    }
}