/*******************************************************
  1. BASE & COMMON (全デバイス共通)
*******************************************************/
html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

article {
    margin: 0 auto;
}

body {
    background-color: #fffdf4;
    background-image: url(../img/back.png);
    background-repeat: repeat;
    background-size: 100%;
    background-attachment: fixed;
    overflow-x: hidden;
}

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.slider_1,
.slider_2 {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.slider-track {
  display: flex;
  width: max-content;
}

.slider_1 .slider-track {
  animation: marquee-left 20s linear infinite;
}

.slider_2 .slider-track {
  animation: marquee-right 20s linear infinite;
}

.slider-track img {
  height: 180px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/*******************************************************
  2. PC STYLE (min-width: 751px以上)
*******************************************************/
@media only screen and (min-width: 751px) {
    h1 {
        display: flex;
        justify-content: center;
    }

    #sns {
        width: 75%;
        margin: auto;
        margin-bottom: 3rem;
    }

    .bnrarea {
        margin: 20px auto;
        width: 100%;
        text-align: center;
    }

    .bnrarea img {
        display: inline-block;
        margin: 1rem;
        width: 550px;
        transition: 0.3s;
    }

    .bnrarea img:hover {
        opacity: 0.8;
    }

    .bnr_182ch {
        margin-bottom: 50px;
        width: 100%;
        text-align: center;
    }

    .bnr_182ch img {
        display: inline-block;
        margin: 5px 10px;
        width: 800px;
        transition: 0.3s;
    }

    .bnr_182ch img:hover {
        opacity: 0.8;
    }

    /*------------INTRODUCTION--------------*/
    #introduction {
        width: 70%;
        height: auto;
        margin-bottom: 5rem;
    }

    #introduction .inner {
        width: 800px;
        margin: 0 auto;
        padding: 0;
    }

    .intro_img {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    #introduction h1 {
        width: 60%;
        height: auto;
        margin: 3rem auto;
    }

    .intro_maintxt span {
        font-size: 40px;
        color: #ff2a98;
    }

    .intro_maintxt p {
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 30px;
        line-height: 1.4;
        text-align: center;
        color: #333;
        width: 100%;
        height: auto;
        margin-bottom: 3rem;
    }

    #introduction h2 {
        display: flex;
        color: #fff;
        padding: 1.5rem;
        margin: 0 auto;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 22px;
        line-height: 1.2;
        align-items: center;
    }

    .point h2{
        background: #ff5400;
        color: #fff;
    }

    .point p{
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 18px;
        line-height: 1.5;
        background-color: #ff9500;
        color: #fff;
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

.point h2:nth-child(4n+3) {
    background-color: #0092d8;
}
.point p:nth-child(4n+4) {
    background-color: #29baff;
}

    /*------------arasuji--------------*/
    #arasuji {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        height: auto;
    }

    #arasuji img {
        width: 100%;
        height: auto;
    }

    #arasuji h1 {
        width: 500px;
        height: auto;
        margin: auto;
        margin-top: 3rem;
        margin-bottom: 1.5rem;
    }

    #arasuji p {
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 19.5px;
        background-color: #fce66738;
        color: #333;
        line-height: 1.7;
        width: 100%;
        padding: 3rem;
        margin: 0 auto;
    }

    #arasuji span {
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 30px;
        line-height: 1;
        color: #e13348;
    }

    /*------------STORY AREA--------------*/
    #story {
        width: 70%;
        display: flex;
        flex-direction: column;
        margin: auto;
        margin-top: 100px;
        margin-bottom: 100px;
    }

    #story h1 {
        height: auto;
        margin: auto;
    }

    .storynumber img {
        width: 30px;
        height: auto;
        margin-right: 0.5rem;
    }

    .tab_wrap {
        width: 100%;
        margin: auto;
    }

    .storynumber {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        line-height: 1;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        margin-bottom: 2rem;
        background: linear-gradient(180deg, #2151b0 50%, #8edaff 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
        padding-bottom: 15px;
    }

    .storynumber::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        border-bottom: 5px dotted #ff5400;
    }

    #story h1.storynumber em {
        font-size: 80px;
        font-style: normal;
    }

    #story h1.storynumber i {
        font-size: 40px;
        font-style: normal;
        line-height: 1.8;
    }

    #story h1.storynumber span {
        font-size: 35px;
        line-height: 2;
        margin-left: 0.5rem;
    }

    #story section p {
        text-align: left;
        line-height: 1.3;
        color: #333;
        font-size: 18px;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        margin-top: 1rem;
        padding: 1.5rem;
        background-color: #fce66738;
    }

    .notice {
        background-color: #4f7dd9;
        color: #fff;
        font-family: sans-serif;
        font-weight: 700;
        font-style: normal;
        padding: 0.5rem;
        text-align: center;
        margin-top: 1rem;
    }

    /*------------CHART--------------*/
#chart {
    background-color: #fff;
    opacity: 1;
    background-image: linear-gradient(#c8eeff 1.5px, transparent 1.5px), linear-gradient(to right, #c8eeff 1.5px, #ffffff 1.5px);
    background-size: 35px 35px;
    margin: 5rem auto;
}
#chart .inner {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
#chart h1 {
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    }

#chart section {
    width:100%;
    margin: 0 auto; 
    text-align: center;
    }
#chart section img {
    width:60%;
    height: auto;
    margin: auto;
    padding-bottom: 6em;
    }

    /*------------CAST&STAFF--------------*/
    #cast {
        width: 70%;
        height: auto;
        margin: 0 auto;
    }

    #cast h1 {
        width: 80%;
        height: auto;
        margin: auto;
        background: linear-gradient(180deg, #2151b0 50%, #8edaff 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 25px;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        margin: 3rem auto;
    }

    #cast h1 img {
        width: 470px;
        height: auto;
    }

    .cast_box {
        margin: 0 auto;
        width: 100%;
        display: flex;
        gap: 3rem;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .cast_photobox{
        display: flex;
    }

    #cast section .castpro h1 {
        display: flex;
        margin: 0 auto 0.5rem;
        background: linear-gradient(180deg, #2151b0 50%, #8edaff 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 42px;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        width: 100%;
        height: auto;
        align-items: center;
    }

    #cast .castpro {
        display: flex;
        width: 90%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #ffffffad;
    }

    #cast .castpro p {
        width: 90%;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        line-height: 1.5;
        color: #333;
        font-size: 18px;
        margin: 1.5rem auto;
    }

    #cast .castpro .cast_drama {
    text-align: center;
    }

    #cast section h2 {
        color: #2151b0;
        font-size: 25px;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        line-height: 1.5;
        border-bottom: 5px dotted #2151b0;
        text-align: center;
    }

    #staff {
        width: 70%;
    }

    #staff h1 {
        width: 40%;
        margin: auto;
        margin-top: 3rem;
        margin-bottom: 1rem;
    }

    .staff_name {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        align-items: center;
        background-color: #ffffffad;
    }

    #staff h2 {
        background: linear-gradient(180deg, #2151b0 50%, #8edaff 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 42px;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
    }

    #staff h3 {
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-style: normal;
        line-height: 1.5;
        color: #333;
        font-size: 25px;
        margin-bottom: 1rem;
    }

    #sns #twbnr {
        display: none;
    }

    #sns .lnkbnr {
        width: 90%;
        text-align: center;
        margin: 2em auto 1em auto;
    }

    #sns .lnkbnr img {
        width: inherit;
        margin-bottom: 0;
    }

    #sns .lnkbnr.tokubansp img {
        width: 657px;
        margin-bottom: 0;
    }

    #sns .bnr_video {
        width: 672px;
        margin: 2em auto 0 auto;
    }

    #sns .bnr_video img {
        width: 100%;
    }

    #sns #present {
        width: 1000px;
        margin: 0 auto;
        padding-top: 3em;
        text-align: center;
    }

    #sns h1 {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 26px;
        text-align: center;
        font-weight: 700;
        font-style: italic;
        color: #fff;
        text-shadow: 2px 2px #f93d9e;
    }

    #sns h1::before,
    #sns h1::after {
        content: '';
        width: 3px;
        height: 30px;
        background-color: #f93d9e;
    }

    #sns h1::before {
        margin-right: 30px;
        transform: rotate(-35deg);
    }

    #sns h1::after {
        margin-left: 30px;
        transform: rotate(35deg);
    }

    #copy {
        width: 100%;
        text-align: center;
        margin: 1rem auto;
    }

    #copy p {
        color: #333;
        font-size: 120%;
    }

    .bar {
        display: flex;
        width: 100%;
        height: auto;
        justify-content: center;
        margin: 3rem auto;
    }

    .bar img {
        transition: 0.3s;
    }

    .bar img:hover {
        opacity: 0.8;
    }
}

/*******************************************************
  3. TABLET STYLE (768px - 1024px)
*******************************************************/
@media only screen and (min-width: 768px) and (max-width: 1024px) {

    .bnrarea {
        margin: 0 auto;
        margin-top: 2rem;
        width: 90%;
        text-align: center;
    }

    .bnrarea img {
        display: inline-block;
        width: 400px;
        transition: 0.3s;
    }

    .bnr_182ch {
        margin: 0 auto;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
        margin-bottom: 3rem;
    }

    .bnr_182ch img {
        display: inline-block;
        margin: auto;
        width: 400px;
    }

    #arasuji p {
        width: 100%;
        height: auto;
        font-size: 17px;
        line-height: 1.5;
        margin: 0 auto;
    }

    #arasuji span {
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 29px;
        line-height: 1;
        color: #e13348;
    }

    #introduction {
        width: 75%;
        margin: 3rem auto;
    }

    #introduction h1 img {
        width: 400px;
        height: auto;
    }

    .intro_maintxt p {
        font-size: 20px;
        width: 90%;
        margin: auto auto 1rem auto;
    }

    #introduction h2 {
        padding: 1rem;
        font-size: 16px;
    }

    #story {
        width: 75%;
        margin-bottom: 2rem;
    }

    #story h1 img {
        width: 70%;
    }

    #cast {
        width: 80%;
        margin: 2rem auto;
    }
 
    /* --- キャスト見出し画像 --- */
    #cast h1 img {
        width: 360px;
        height: auto;
    }
 
    /* --- キャスト名（castpro 内の h1） --- */
    #cast section .castpro h1 {
        font-size: 30px;
    }
 
    /* --- キャストボックス全体: 縦並び維持、幅を広げる --- */
    .cast_box {
        width: 100%;
        gap: 2rem;
        flex-direction: column;
    }
 
    /* --- 写真＋テキストの横並びコンテナ --- */
    .cast_photobox {
        display: flex;
        flex-direction: row;
        width: 100%;
    }
 
    /* --- キャスト写真 --- */
    .cast_photobox img,
    .castphoto img {
        display: block;
    }
 
    /* --- テキストエリア（castpro） --- */
    #cast .castpro {
        width: 100%;
        padding: 1.5rem;
    }
 
    /* --- キャラクター説明文 --- */
    #cast .castpro p {
        font-size: 15px;
        line-height: 1.6;
        margin: 1rem auto;
    }
 
    /* --- 出演作品（cast_drama） --- */
    #cast .castpro .cast_drama {
        font-size: 13px;
    }
 
    /* --- 役名見出し（h2） --- */
    #cast section h2 {
        font-size: 22px;
        text-align: left;
        border-bottom-width: 4px;
    }

    #staff {
        width: 85%;
        padding: 1rem;
    }

    #staff h1 {
    		width: 60%;
    }

    #staff h2 {
        font-size: 35px;
    }

    #staff h3 {
        font-size: 20px;
    }

    #sns #twbnr {
        width: 90%;
    }

    body {
        font-size: 95%;
    }
}

/*******************************************************
  4. SMARTPHONE STYLE (max-width: 767px以下)
*******************************************************/
@media only screen and (max-width: 767px) {

    body,
    #introduction,
    #story,
    #cast,
    #staff {
        font-family: "fot-chiaro-std", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 14px;
        color: #fff;
        overflow-x: hidden;
    }

    h1,
    h2,
    p {
        font-family: inherit;
    }

    #sns {
        margin: 2rem auto;
        width: 90%;
    }

    .bnrarea {
        margin: auto;
        text-align: center;
    }

    .bnrarea img {
        width: 90%;
        margin-bottom: 1rem;
    }

    .bnr_182ch {
        text-align: center;
    }

    .bnr_182ch img {
        width: 90%;
    }

    #twbnr {
    	display: none;
    }

    .slider-track img {
        height: 80px;
    }

    #introduction {
        width: 80%;
        height: auto;
    }

    #introduction .inner {
        width: 100%;
        padding: 0;
    }

    .intro_img img {
        width: 100%;
    }

    #introduction h1 {
        display: flex;
        justify-content: center;
        width: 100%;
        height: auto;
        margin: auto;
    }

    .intro_maintxt {
        display: flex;
        flex-direction: column;
        margin: 1rem auto;
    }

    .intro_maintxt span {
        font-size: 24px;
        color: #ff2a98;
    }

    .intro_maintxt p {
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 16px;
        line-height: 1.6;
        text-align: center;
        color: #333;
        width: 100%;
        margin-bottom: 1rem;
    }

    #introduction h2 {
        display: flex;
        color: #fff;
        padding: 1rem;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 14px;
        line-height: 1.4;
        align-items: center;
    }

    .point h2{
        background: #ff5400;
        color: #fff;
    }

    .point p {
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 14px;
        color: #fff;
        line-height: 1.5;
        background: #ff9500;
        padding: 1rem;
        margin-bottom: 1.6rem;
    }

.point h2:nth-child(4n+3) {
    background-color: #0092d8;
}
.point p:nth-child(4n+4) {
    background-color: #29baff;
}

    #arasuji {
        margin: 2rem auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 90%;
        height: auto;
    }

    #arasuji img {
        width: 100%;
    }

    #arasuji h1 {
        width: 80%;
    }

    #arasuji p {
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 16px;
        background-color: #fce66738;
        color: #333;
        line-height: 1.6;
        margin-bottom: 3rem;
        width: 80%;
        padding: 1.5rem;
    }

    #arasuji span {
        font-size: 20px;
        color: #e13348;
    }

    #story {
        margin: auto;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        width: 70%;
    }

    #story h1 {
        margin: 0.5rem auto;
        padding-bottom: 1rem;
    }

    #story h1 img {
        width: 100%;
    }

    .storynumber {
        display: flex;
        justify-content: center;
        align-items: flex-end;
        line-height: 1;
        font-family: "fot-chiaro-std", sans-serif;
        margin-bottom: 1rem;
        background: linear-gradient(180deg, #2151b0 50%, #8edaff 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
    }

    .storynumber::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        border-bottom: 3px dotted #ff5400;
    }

    #story h1.storynumber em {
        font-size: 50px;
        font-style: normal;
        margin-right: 0.5rem;
    }

    #story h1.storynumber span {
        font-size: 25px;
        line-height: 1.7;
    }

    #story section p {
        text-align: left;
        line-height: 1.3;
        color: #333;
        font-size: 16px;
        margin-top: 1rem;
        padding: 1rem;
        background-color: #fce66738;
    }

    .notice {
        background-color: #4f7dd9;
        color: #fff;
        font-family: sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 14px;
        text-align: center;
        padding: 0.5rem;
    }

    /*------------CHART--------------*/
#chart {
    background-color: #fff;
    opacity: 1;
    background-image: linear-gradient(#c8eeff 1.5px, transparent 1.5px), linear-gradient(to right, #c8eeff 1.5px, #ffffff 1.5px);
    background-size: 25px 25px;
    margin: 3rem auto;
}
#chart .inner {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
#chart h1 {
    margin: auto;
    width: 70%;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

#chart h1 img{
    width: 100%;
    height: auto;
}

#chart section {
    width:100%;
    margin: 0 auto; 
    text-align: center;
}
#chart section img {
    width:90%;
    height: auto;
    margin: auto;
    padding-bottom: 6em;
}

/* セクション全体の背景と枠 */
#cast {
    width: 75%;
    height: auto;
    margin: 2rem auto;
}

/* メインの見出し画像とテキスト */
#cast h1 {
    width: 90%;
    height: auto;
    margin: auto;
    padding-top: 0;
    font-size: 15px;
    font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    line-height: 1.3;
}

#cast h1 img {
    width: 100%;
    height: auto;
}

.castphoto{
    margin: 0;
}

/* キャストごとのボックス設定 */
.cast_box {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    justify-content: center;
    gap: 1rem;
}

#cast section .castpro h1 {
    display: flex;
    margin: 0 auto;
    background: linear-gradient(180deg, #2151b0 50%, #8edaff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px; /* スマホ用に少し縮小 */
    font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
}

/* キャスト間の区切り線 */
#cast .castpro {
    margin-bottom: 1rem;
    background-color: #ffffffad;
    padding: 1rem;
}

#cast section h2 {
        color: #2151b0;
        font-size: 20px;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        line-height: 1.5;
        border-bottom: 5px dotted #2151b0;
        text-align: center;
}

#cast .castpro p {
    font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    line-height: 1.5;
    color: #333;
    font-size: 16px;
    text-align: left;
    margin: 1rem auto;
}

#cast .castpro .cast_drama {
    font-size: 15px;
    text-align: center;
}

/* STAFF セクション */
#staff {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 5rem;
}

#staff h1 {
    margin: 0;
    text-align: center;
}

#staff h1 img {
    width: 100%;
    height: auto;
}

.staff_name {
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: center;
    background-color: #ffffffad;
    padding: 1rem;
}

#staff h2 {
    background: linear-gradient(180deg, #2151b0 50%, #8edaff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 30px;
    font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#staff h3 {
    font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-style: normal;
    line-height: 1.5;
    color: #333;
    font-size: 16px;
    margin-bottom: 1rem;
}

    #copy {
        width: 100%;
        text-align: center;
        margin: 1rem auto;
    }

    #copy p {
        color: #333;
        font-size: 8px;
    }

    .bar {
        width: 80%;
        margin: 1em auto;
    }

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

/*******************************************************
  5. MOBILE EXTRA (550px以下)
*******************************************************/
@media only screen and (max-width: 550px) {
    #movie h1 img {
        width: 100%;
    }

    #introduction h1 img {
        width: 100%;
    }

    #story h1 img {
        width: 100%;
    }

/* セクション全体の背景と枠 */
#cast {
    width: 75%;
    height: auto;
    margin: 2rem auto;
}

/* メインの見出し画像とテキスト */
#cast h1 {
    width: 90%;
    height: auto;
    margin: auto;
    padding-top: 0;
    font-size: 15px;
    font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    line-height: 1.3;
}

#cast h1 img {
    width: 100%;
    height: auto;
}

.castphoto{
    margin: 0;
}

/* キャストごとのボックス設定 */
.cast_box {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    justify-content: center;
    gap: 1rem;
}

#cast section .castpro h1 {
    display: flex;
    margin: 0 auto;
    background: linear-gradient(180deg, #2151b0 50%, #8edaff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
}

/* キャスト間の区切り線 */
#cast .castpro {
    margin-bottom: 1rem;
    background-color: #ffffffad;
    padding: 1rem;
}

#cast section h2 {
        color: #2151b0;
        font-size: 20px;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        line-height: 1.5;
        border-bottom: 3px dotted #2151b0;
        text-align: center;
}

#cast .castpro p {
    font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    line-height: 1.5;
    color: #333;
    font-size: 16px;
    text-align: left;
    margin: 1rem auto;
}

#cast .castpro .cast_drama {
    font-size: 16px;
}

/* STAFF セクション */
#staff {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 5rem;
}

#staff h1 {
    margin: 0;
    text-align: center;
}

#staff h1 img {
    width: 100%;
    height: auto;
}

.staff_name {
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: center;
    background-color: #ffffffad;
    padding: 1rem;
}

#staff h2 {
    background: linear-gradient(180deg, #2151b0 50%, #8edaff 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 30px;
    font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#staff h3 {
    font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-style: normal;
    line-height: 1.5;
    color: #333;
    font-size: 16px;
    margin-bottom: 1rem;
}
}

footer small {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Hiragino Sans", Meiryo, Arial, sans-serif;
    color: #222;
}

footer {
    font-weight: normal;
}

