@charset "UTF-8";

/* 01_base
================================================ */
html {
    font-size: 62.5%;
    word-break: break-all;
    overflow: auto;
    font-size: clamp(15px, 1vw + 12px, 18px);
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    color: #180614;
}

img {
    width: 100%;
}


/* 02_common text,margin,padding,only
================================================ */
.br-sp {
    display: none;
}

.only_pc {
    display: block;
}

.only_sp {
    display: none;
}

h2.ttl {
    margin: 0 0 16px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
}

h2.ttl>img {
    display: block;
    height: clamp(18px, 5vw, 26px);
    width: auto;
    margin: 0 auto 15px;
}

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

    .br-sp {
        display: block;
    }

    .only_pc {
        display: none;
    }

    .only_sp {
        display: block;
    }
}

/* loading
================================================ */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 101;
    background-color: #0072a0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1.5s 2.5s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.loading__logo {
    opacity: 0;
    animation: logo_fade 2s 0.5s forwards;
    width: 175px;
}

@keyframes logo_fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    60% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
    }
}






/* ===== NAV (:target / JSなし) ===== */
:root {
    --brand: #0072a0;
    --bar: 64px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--bar);
    background: var(--brand);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    color: #fff;
}

.topbar__btn{
  width:44px; height:44px; cursor:pointer; user-select:none;
  display:grid; place-items:center; color:#fff;
}
/* デフォルト：≡ */
.topbar__btn::before{
  content:"≡";
  font-size:24px; line-height:1;
}
/* 開いたとき：× に切替 */
#nav-toggle:checked ~ .topbar .topbar__btn::before{
  content:"✕";
  font-size:24px; line-height:1;
}

.topbar__sns {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
}

.sns-img {
    height: clamp(16px, 2vw, 22px);
    width: auto;
    display: block;
}

/* 全画面ドロワー（バーの下から全面／上下スクロール可能） */
.drawer {
    position: fixed;
    top: var(--bar);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brand);
    z-index: 99;
    transform: translateY(-100%);
    transition: transform .25s ease;
    /* 少しだけ滑らかに */
    will-change: transform;
    /* パフォーマンス改善 */
    display: flex;
    justify-content: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 16px;
}

.menu {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: min(88vw, 420px);
    justify-content: center;
}

.menu-img {
    height: clamp(28px, 3.2vw, 48px);
    width: auto;
    display: block;
}

/* 開閉 */
#nav-toggle:checked~.drawer {
    transform: none;
}

/* 固定バー分のスクロール補正（ページ内リンクの着地点ずれ対策） */
:where([id]) {
    scroll-margin-top: var(--bar);
}

/* ===== SP（768px以下） ===== */
@media (max-width:768px) {
    :root {
        --bar: 56px;
    }

    .topbar__btn {
        font-size: 22px;
    }

    .sns-img {
        height: clamp(16px, 3.2vw, 20px);
    }

    .menu {
        width: min(92vw, 360px);
        gap: 14px;
    }

    .menu-img {
        height: clamp(26px, 5vw, 44px);
    }
}






/* top
================================================ */
#top {
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    background: rgba(0, 114, 160, 0.2);
    background: linear-gradient(to bottom, rgba(0, 114, 160, 0.2) 0%, #fff 100%);
    padding-top: 64px;
}

#top .hero {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

#top img.kv_pc {
    width: 100%;
    margin: 0 auto;
    display: block;
}

#top img.catchtxt {
    width: 96%;
    padding: 30px 0 40px;
}

#top img.hero_date {
    width: 96%;
    margin: 15px auto 0;
    display: block;
}

#top .promos {
    position: absolute;
    top: 8%;
    right: 2%;
    width: 11%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#top .promos img {
    display: block;
    width: 100%;
    height: auto;
}

/* 脈打つ */
.pulse {
    -webkit-animation: pulse 1s infinite linear alternate;
    animation: pulse 1s infinite linear alternate;
}

@keyframes pulse {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

#top .badge {
    position: absolute;
    top: 8%;
    left: 2%;
    width: 14%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#top .badge img {
    display: block;
    width: 100%;
    height: auto;
    transition: 1s;
}

#top .badge img:hover {
    opacity: .8;
}

@media screen and (max-width: 1130px) {
    #top .promos {
        position: static;
        width: 100%;
        max-width: 760px;
        margin: 0 auto 0;
        padding-bottom: 20px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 20px;
    }

    #top .promos a {
        flex: 0 1 170px;
        max-width: 170px;
        width: 50%;
        display: block;
    }

    #top .promos img {
        width: 100%;
        height: auto;
        display: block;
    }

    #top .badge {
        position: static;
        width: 100%;
        max-width: 760px;
        margin: 20px auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }

    #top .badge a {
        flex: 0 1 200px;
        max-width: 200px;
        width: 50%;
        display: block;
    }

    #top .badge img {
        width: 100%;
        height: auto;
        display: block;
    }
}

@media screen and (max-width: 768px) {
    #top {
        padding-top: 56px;
    }

    #top img.kv_pc {
        width: 100%;
        margin: 0 auto;
        display: block;
    }

    #top img.catchtxt {
        width: 82%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 425px) {
    #top .promos a {
        flex: 0 1 130px;
        max-width: 130px;
    }
}

/* trailer
================================================ */
/* trailer */
section#trailer {
    background: #0072a0;
    padding: clamp(40px, 10vw, 80px) 0;
}

#trailer .cont_wd {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

#trailer .video {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

#trailer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@supports not (aspect-ratio:16/9) {
    #trailer .video {
        height: 0;
        padding-bottom: 56.25%;
    }
}


/* intro
================================================ */
#intro {
    background: rgba(0, 114, 160, 0.2);
    background: linear-gradient(to bottom, #fff 0%, rgba(0, 114, 160, 0.2) 100%);
    padding: clamp(40px, 10vw, 80px) 0;
}

#intro .cont_wd {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}




/* story
================================================ */
#story {
    background: #fff;
    background: linear-gradient(to bottom, #fff 0%, #e6e6e6 100%);
    padding: clamp(40px, 10vw, 80px) 0;
}

#story .cont_wd {
    max-width: 800px;
    width: 96%;
    margin: 0 auto;
}

#story img.story-img01 {
    width: 100%;
    margin: 0 auto;
    display: block;
}

#story img.story-img02 {
    width: 100%;
    margin: 0 auto;
    display: block;
}

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

    #story img.story-img01,
    #story img.story-img02 {
        width: 100%;
    }
}







/* cast
================================================ */
#cast {
    background: #0072a0;
    color: #fff;
    padding: clamp(40px, 10vw, 80px) 0;
}


#cast .cont_wd {
    max-width: 800px;
    width: 80%;
    margin: 0 auto;
}

/* コンテナ（中央・2カラム） */
.cast-compact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 900px) {
    .cast-compact {
        grid-template-columns: 1fr;
    }
}


.cc__item:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, .25);
}

/* サマリー行：画像・テキスト・矢印を軸揃え */
.cc__sum {
    display: grid;
    align-items: center;
    cursor: pointer;
    grid-template-columns: auto 1fr auto;
    column-gap: 12px;
    /* padding: 8px 6px 10px; */
}

.cc__sum::-webkit-details-marker {
    display: none;
}

/* 画像：小さめ固定＋3:5。無画像でも高さが暴れない */
.cc__img {
    inline-size: clamp(96px, 12vw, 132px);
    /* aspect-ratio: 3 / 5; */
    aspect-ratio: 800 / 1627;
    object-fit: cover;
    display: block;
    background: #e5e7eb;
}

.cc__img--placeholder {
    background: #0b1f2a;
    opacity: .35;
}

/* 見出し塊（サイズを一段小さく） */
.cc__head {
    display: grid;
    gap: .16rem;
}

.cc__role {
    margin: 0;
    color: #cbd5e1;
    /* font-size: clamp(.8rem, .22vw + .78rem, .9rem); */
    font-size: clamp(.9rem, .35vw + .9rem, 1.05rem);
    line-height: 1.15;
}

.cc__role-suffix {
    font-size: .8em;
    line-height: 1;
    vertical-align: baseline;
}

.cc__name {
    margin: 0;
    /* font-size: clamp(.98rem, .6vw + .95rem, 1.18rem); */
    font-size: clamp(1.05rem, 4.5vw, 1.6rem);
    line-height: 1.2;
}

/* 矢印：常に行の中央に来るよう調整 */
.cc__chev {
    inline-size: 20px;
    block-size: 20px;
    position: relative;
    justify-self: end;
    align-self: center;
}

.cc__chev::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 60%;
    height: 60%;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

details[open] .cc__chev::before {
    transform: rotate(225deg);
}

/* 展開部：中身は列幅内で完結（長い行を抑える） */
.cc__body {
    padding: 0 6px 10px;
}

.cc__label {
    margin: .15rem 0 .25rem;
    color: #94a3b8;
    font-size: clamp(.8rem, .2vw + .78rem, .9rem);
    line-height: 1.2;
}

.cc__text {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(.86rem, .24vw + .84rem, .96rem);
    line-height: 1.7;
    text-align: start;
    max-inline-size: 68ch;
}

/* SP微調整：さらに画像を抑え、余白も圧縮 */
@media (max-width: 600px) {
    .cc__sum {
        column-gap: 10px;
        padding: 8px 4px 8px;
    }

    .cc__img {
        inline-size: min(88px, 34vw);
    }

    .cc__name {
        font-size: clamp(.96rem, 4.2vw, 1.12rem);
    }

    .cc__text {
        font-size: clamp(.9rem, 3.6vw, 1rem);
        line-height: 1.8;
    }
}




/* staff
================================================ */
#staff {
    background: #0072a0;
    color: #fff;
    padding: clamp(40px, 10vw, 80px) 0;
    margin-top: clamp(5px, 10vw, 10px);
}

#staff .cont_wd {
    max-width: 640px;
    width: 80%;
    margin: 0 auto;
}

/* グリッド版レイアウト（CASTの .cast-compact と同等） */
.staff-compact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(1, minmax(320px, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

@media (max-width:900px) {
    .staff-compact {
        grid-template-columns: 1fr;
    }
}

.sf__item:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, .25);
}

.sf__sum {
    display: grid;
    align-items: center;
    cursor: pointer;
    grid-template-columns: auto 1fr auto;
    column-gap: 12px;
    /* padding: 8px 6px 10px; */
}

.sf__sum::-webkit-details-marker {
    display: none;
}

.sf__img {
    inline-size: clamp(96px, 12vw, 132px);
    /* aspect-ratio: 3/5; */
    aspect-ratio: 800 / 1029;
    object-fit: cover;
    display: block;
    background: #e5e7eb;
}

.sf__img--placeholder {
    background: #0b1f2a;
    opacity: .35;
}

.sf__head {
    display: grid;
    gap: .16rem;
}

.sf__role {
    margin: 0;
    color: #cbd5e1;
    /* font-size: clamp(.8rem, .22vw + .78rem, .9rem); */
    font-size: clamp(.9rem, .35vw + .9rem, 1.05rem);
    line-height: 1.15;
}

.sf__name {
    margin: 0;
    /* font-size: clamp(.98rem, .6vw + .95rem, 1.18rem); */
    font-size: clamp(1.05rem, 4.5vw, 1.6rem);
    line-height: 1.2;
}

.sf__chev {
    inline-size: 20px;
    block-size: 20px;
    position: relative;
    justify-self: end;
    align-self: center;
}

.sf__chev::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 60%;
    height: 60%;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

details[open] .sf__chev::before {
    transform: rotate(225deg);
}

.sf__body {
    padding: 0 6px 10px;
}

.sf__label {
    margin: .15rem 0 .25rem;
    color: #94a3b8;
    font-size: clamp(.8rem, .2vw + .78rem, .9rem);
    line-height: 1.2;
}

.sf__text {
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(.86rem, .24vw + .84rem, .96rem);
    line-height: 1.7;
    text-align: start;
    max-inline-size: 68ch;
}

@media (max-width:600px) {
    .sf__sum {
        column-gap: 10px;
        padding: 8px 4px 8px;
    }

    .sf__img {
        inline-size: min(88px, 34vw);
    }

    .sf__name {
        font-size: clamp(.96rem, 4.2vw, 1.12rem);
    }

    .sf__text {
        font-size: clamp(.9rem, 3.6vw, 1rem);
        line-height: 1.8;
    }
}








/* comment
================================================ */
#comment {
    background: #0072a0;
    color: #fff;
    padding: clamp(40px, 10vw, 80px) 0;
    margin-top: clamp(5px, 10vw, 10px);
}

#comment .cont_wd {
    max-width: 800px;
    width: 80%;
    margin: 0 auto;
}

#comment .cm {
    padding-block: clamp(12px, 1.8vw, 24px);
}

/* 区切り線 */
#comment .cm__item {
    padding-block: clamp(16px, 2.2vw, 28px);
    border-top: 1px solid rgba(255, 255, 255, .25);
}

#comment .cm__item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

#comment .cm__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

#comment .cm__summary::-webkit-details-marker {
    display: none;
}

#comment .cm__title {
    /* font-size: clamp(1.1rem, 1.6vw + 1rem, 2.2rem); */
    font-size: clamp(1.05rem, 4.5vw, 1.6rem);
    line-height: 1.28;
}

#comment .cm__chev {
    flex: none;
    inline-size: clamp(18px, 1.2vw, 22px);
    block-size: clamp(18px, 1.2vw, 22px);
    position: relative;
}

#comment .cm__chev::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 60%;
    height: 60%;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    opacity: .95;
}

#comment details[open] .cm__chev::before {
    transform: rotate(225deg);
}

/* 本文 */
#comment .cm__content {
    margin-top: clamp(10px, 1.2vw, 16px);
}

#comment .cm__content p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: clamp(.9rem, .35vw + .9rem, 1.05rem);
    line-height: 1.9;
    text-align: start;
    max-inline-size: 78ch;
}

@media (max-width: 600px) {
    #comment .cm__item {
        padding-block: 18px;
    }

    #comment .cm__title {
        font-size: clamp(1.05rem, 4.5vw, 1.6rem);
        line-height: 1.32;
    }

    #comment .cm__content p {
        font-size: clamp(.92rem, 3.6vw, 1.02rem);
        line-height: 1.95;
    }
}






/* Production Note
================================================ */

#productionnote .cont_wd {
    max-width: 800px;
    width: 80%;
    margin: 0 auto;
}

#productionnote {
    background: #0072a0;
    color: #fff;
    padding: clamp(40px, 10vw, 80px) 0;
    margin-top: clamp(5px, 10vw, 10px);
}

#productionnote .pn {
    padding-block: clamp(12px, 1.8vw, 24px);
}

#productionnote .pn__item {
    padding-block: clamp(16px, 2.2vw, 28px);
    border-top: 1px solid rgba(255, 255, 255, .25);
}

#productionnote .pn__item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

#productionnote .pn__summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

#productionnote .pn__summary::-webkit-details-marker {
    display: none;
}

/* タイトル */
#productionnote .pn__title {
    /* font-size: clamp(1.1rem, 1.6vw + 1rem, 2.2rem); */
    font-size: clamp(1.05rem, 4.5vw, 1.6rem);
    line-height: 1.28;
}

/* 右端の山形（閉：▼ / 開：▲） */
#productionnote .pn__chev {
    flex: none;
    inline-size: clamp(18px, 1.2vw, 22px);
    block-size: clamp(18px, 1.2vw, 22px);
    position: relative;
}

#productionnote .pn__chev::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 60%;
    height: 60%;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    opacity: .95;
}

/* open時は▲に */
#productionnote details[open] .pn__chev::before {
    transform: rotate(225deg);
}

#productionnote .pn__content {
    margin-top: clamp(10px, 1.2vw, 16px);
}

#productionnote .pn__content p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: clamp(.9rem, .35vw + .9rem, 1.05rem);
    line-height: 1.9;
    text-align: start;
    max-inline-size: 78ch;
}

@media (max-width: 600px) {
    #productionnote .pn__item {
        padding-block: 18px;
    }

    #productionnote .pn__title {
        font-size: clamp(1.05rem, 4.5vw, 1.6rem);
        line-height: 1.32;
    }

    #productionnote .pn__content p {
        font-size: clamp(.92rem, 3.6vw, 1.02rem);
        line-height: 1.95;
    }
}





/* footer
================================================ */
footer {
    background: #FFFFFB;
}

footer img.credit {
    max-width: 800px;
    width: 90%;
    display: block;
    margin: 0 auto;
    padding: 80px 0;
}