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

article {
    margin: 0 auto;
}

body {
    background-image: url(../img/back.jpg);
    background-repeat: repeat;
    background-size: 100%;
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    z-index: -1;
}

body::before {
    content: '';
    position: fixed;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: calc(80% + 80px);
    height: 100vh;
    background-color: #fff;
    z-index: -1;
    mask:
        radial-gradient(33.6px at 47px 50%, #000 99%, transparent 101%) 0 calc(50% - 40px)/40px 80px repeat-y,
        radial-gradient(33.6px at -27px 50%, transparent 99%, #000 101%) 20px 50%/40px 80px repeat-y,
        radial-gradient(33.6px at calc(100% - 47px) 50%, #000 99%, transparent 101%) 100% calc(50% - 40px)/40px 80px repeat-y,
        radial-gradient(33.6px at calc(100% + 27px) 50%, transparent 99%, #000 101%) calc(100% - 20px) 50%/40px 80px repeat-y,
        linear-gradient(#000, #000) center/calc(100% - 80px) 100% no-repeat;
    -webkit-mask:
        radial-gradient(33.6px at 47px 50%, black 99%, transparent 101%) 0 calc(50% - 40px)/40px 80px repeat-y,
        radial-gradient(33.6px at -27px 50%, transparent 99%, black 101%) 20px 50%/40px 80px repeat-y,
        radial-gradient(33.6px at calc(100% - 47px) 50%, black 99%, transparent 101%) 100% calc(50% - 40px)/40px 80px repeat-y,
        radial-gradient(33.6px at calc(100% + 27px) 50%, transparent 99%, black 101%) calc(100% - 20px) 50%/40px 80px repeat-y,
        linear-gradient(black, black) center/calc(100% - 80px) 100% no-repeat;
}

body::after {
    display: none;
}

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

    #sns {
        width: 75%;
        margin: auto;
    }

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

    .bnrarea img {
        display: inline-block;
        margin: 5px 10px;
        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: 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: #623700;
        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: 24px;
        line-height: 1.2;
        align-items: center;
        margin-bottom: 1.5rem;
        border-bottom-left-radius: 30px;
        border-top-right-radius: 30px;
    }

    #introduction h2:nth-child(odd) {
        background: #355aa0;
    }

    #introduction h2:nth-child(even) {
        background: #507dd9;
    }

    #introduction h2 img {
        width: 50px;
        height: auto;
        margin-right: 0.5rem;
    }

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

    #introduction section p {
        width: 100%;
        margin-bottom: 0;
        text-align: left;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 125%;
        line-height: 1.6;
    }

    .multiple-items2 {
        margin-bottom: 2em;
        background-color: none;
    }

    /*------------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-bottom: 2rem;
    }

    #arasuji p {
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 19.5px;
        color: #623700;
        line-height: 1.7;
        width: 100%;
        padding: 15px 0;
        border-top: 3px dashed #2f64ce;
        border-bottom: 3px dashed #2f64ce;
        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, #1d4491 50%, #5780d2 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
        padding-bottom: 15px;
    }

    .storynumber::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 15px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath d='M0 2.5c5 0 5-2 10-2s5 2 10 2' fill='none' stroke='%231d4491' stroke-width='1'/%3E%3C/svg%3E") repeat-x center;
        background-size: 40px 30px;
    }

    #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: #623700;
        font-size: 18px;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        margin-top: 1rem;
        padding: 1rem;
    }

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

    /*------------CAST&STAFF--------------*/
    #cast {
        width: 70%;
        height: auto;
        margin: 0 auto;
        background: #fff8de;
        padding: 2rem;
        position: relative;
        margin-bottom: 4rem;
    }

    #cast::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        border: 2px dashed #2f64ce;
        pointer-events: none;
    }

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

    #cast h1 img {
        width: 470px;
        height: auto;
        margin-top: 1rem;
    }

    .cast_box {
        margin: 0 auto;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        padding: 20px 0;
        justify-content: center;
        gap: 2rem;
    }

    #cast section .castpro h1 {
        display: flex;
        margin: 0 auto 0.5rem;
        background: linear-gradient(180deg, #1d4491 50%, #5780d2 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:not(:last-child) {
        width: 90%;
        border-bottom: 3px dashed #2f64ce;
    }

    #cast .castpro:last-child {
        width: 90%;
    }

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

    #cast section h2 {
        width: 50%;
        display: inline-block;
        color: #1d4491;
        font-size: 25px;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        line-height: 1.5;
        position: relative;
        border-bottom: 5px dotted #1d4491;
    }

    #cast section .castpro h2 em {
        letter-spacing: 0;
        font-size: 14px;
        font-style: normal;
    }

    #staff {
        width: 70%;
    }

    #staff h1 img {
        width: 40%;
    }

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

    #staff h2 {
        background: linear-gradient(180deg, #1d4491 50%, #5780d2 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: #623700;
        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: #623700;
        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) {
    body::before {
        left: 50%;
        width: calc(80% + 80px);
    }

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

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

    .bnr_182ch {
        margin: 0 auto;
        width: 90%;
        text-align: center;
    }

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

    #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: 70%;
    }

    #cast section .castpro h1 {
        font-size: 40px;
        padding: 1rem;
    }

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

    #staff h1 img {
    		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::before {
        left: 50%;
        width: calc(80% + 80px);
    }

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

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

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

    .intro_img img {
        width: 100%;
    }

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

    .intro_maintxt {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

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

    #introduction h2 {
        display: flex;
        color: #fff;
        padding: 0.7rem;
        margin: 0 auto 1rem auto;
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 10px;
        line-height: 1.3;
        align-items: center;
        border-bottom-left-radius: 10px;
        border-top-right-radius: 10px;
    }

    #introduction h2:nth-child(odd) {
        background: #355aa0;
    }

    #introduction h2:nth-child(even) {
        background: #507dd9;
    }

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

    .point p {
        font-family: 'YasashisaGothic', 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size: 14px;
        color: #623700;
        line-height: 1.5;
        margin: 1rem 0;
    }

    #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: 14px;
        color: #623700;
        line-height: 1.5;
        margin-bottom: 3rem;
        width: 80%;
        border-top: 2px dashed #2f64ce;
        border-bottom: 2px dashed #2f64ce;
        padding: 1rem;
    }

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

    #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, #1d4491 50%, #5780d2 80%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
    }

    .storynumber::after {
        content: "";
        position: absolute;
        bottom: -13px;
        left: 0;
        width: 100%;
        height: 15px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath d='M0 2.5c5 0 5-2 10-2s5 2 10 2' fill='none' stroke='%231d4491' stroke-width='1'/%3E%3C/svg%3E") repeat-x center;
        background-size: 25px 15px;
    }

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

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

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

    #story section p {
        text-align: left;
        line-height: 1.3;
        color: #623700;
        font-size: 12px;
        margin-top: 1rem;
        padding: 0;
    }

    #cast {
        width: 60%;
        margin: 0 auto;
        position: relative;
    }

    #cast::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        border: 2px dashed #2f64ce;
        pointer-events: none;
    }

    #cast h1 {
        width: 90%;
        margin: auto;
        padding-top: 0;
        font-size: 18px;
        line-height: 1.3;
    }

    #cast h1 img {
        width: 100%;
    }

    #cast .castpro p {
        width: 90%;
        color: #623700;
        font-size: 14px;
        text-align: left;
        margin: 1rem auto;
    }

    #cast .castpro:not(:last-child) {
        width: 90%;
        border-bottom: 2px dashed #2f64ce;
    }

    #staff {
        width: 80%;
    }

    #staff h1 {
        margin-top: 1rem;
    }

    #staff h1 img {
        width: 100%;
    }

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

    #staff h3 {
        color: #623700;
        font-size: 16px;
    }

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

    #copy p {
        color: #623700;
        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: 80%;
    }

    #story h1 img {
        width: 100%;
    }

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

/* 内側の青い点線枠 */
#cast::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px dashed #2f64ce;
    pointer-events: none;
}

/* メインの見出し画像とテキスト */
#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;
    background: linear-gradient(180deg, #1d4491 50%, #5780d2 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

#cast section .castpro h1 {
    display: flex;
    margin: 0 auto;
    background: linear-gradient(180deg, #1d4491 50%, #5780d2 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:not(:last-child) {
    width: 90%;
    border-bottom: 2px dashed #2f64ce;
    margin-bottom: 1rem;
}

#cast .castpro:last-child {
        width: 90%;
}

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

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

#staff h1 {
    margin-top: 1rem;
    text-align: center;
}

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

.staff_name {
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: center;
}

#staff h2 {
    background: linear-gradient(180deg, #1d4491 50%, #5780d2 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: #623700;
    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;
}