/*-------------------------
Movie
-------------------------*/
/* movie */
#movie h1 {
    margin-bottom: 24px;
}

/* アコーディオン */

.accordion-wrapper {
    background-color: var(--color-background-accordion);
    padding: 32px 20px;
    margin-top: 40px;
}

.accordion-wrapper h2 {
    margin-bottom: 16px;
    font-size: 18px;
}

.details {
    background-color: var(--color-white);
    max-width: 750px;
    margin: 0 auto;
    padding: 0 40px;
    cursor: pointer;
}

.details-summary {
    text-align: center;
    padding: 16px;
}

.details-content h3 {
    text-align: center;
    font-size: 24px;
    margin: 40px 0 24px;
}

.details-content p {
    text-align: left;
}

.details-content-list {
    display: flex;
    justify-content: space-between;
}


.details-content-list-item {
    width: calc(50% - 20px);
}


@media screen and (max-width: 769px) {
    .details-content-list {
        display: block;
    }

    .details-content-list-item {
        width: 100%
    }

    .details-content-list-item:nth-child(2) {
        margin-top: 16px;
    }
}


.details-content-list-item picture {
    display: table-cell;
    width: 100px;
    height: auto;
    padding-right: 8px;
}

.details-content-list-item dl {
    display: table-cell;
    vertical-align: middle;
    width: calc(100% - 100px)
}

.details-content-list-item dl dt {
    font-size: 20px;
}

/* accordion-wrapper */
.open-button {
    display: block;
    width: 160px;
    margin: 0 auto;
}

/* デフォルトの三角形アイコンを消去 */
summary::-webkit-details-marker {
    display: none;
    /* Chrome、Safari対応 */
}

summary {
    display: block;
    /* Chrome、Safari以外 */
}

/* 矢印のスタイルを追加 */
summary {
    position: relative;
    display: block;
    padding-left: 24px;
    cursor: pointer;
}

/* 擬似要素でアイコンを追加 */
.summary-icon {
    display: block;
    position: relative;
    width: 24px;
    margin-left: 6px;
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;
    top: 12px;
}

/* アイコンのバーのスタイル */
.summary-icon::before,
.summary-icon::after {
    content: "";
    position: absolute;
    display: block;
    width: 15px;
    height: 3px;
    background-color: var(--color-primary);
}

.summary-icon::before {
    left: 0;
    transform: rotate(45deg);
}

.summary-icon::after {
    right: 0;
    transform: rotate(-45deg);
}

/* アコーディオンが開いた時のスタイル */
details[open] .summary-icon {
    transform: rotate(180deg);
}

/* アコーディオンのタイトル 共通設定 */
.details-summary {
    position: relative;
    cursor: pointer;
    color: var(--color-primary);

}

/* アコーディオン開く時下にpadding */
.details[open] {
    padding-bottom: 40px;
}

/* アコーディオンの開閉設定 */
.details-summary:hover {
    cursor: pointer;
    opacity: 0.6;
}

@media screen and (max-width: 769px) {
    .details-summary:hover {
        opacity: 1;
    }
}

/* アコーディオンを閉じるボタン */
.close-btn {
    margin: 40px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    width: 240px;
    height: 44px;
    position: relative;
    background-color: var(--color-primary);
    border-radius: 22px;
    font-size: 14px;
}

.close-btn::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 40px;
    margin: auto;
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-white);
    border-right: 2px solid var(--color-white);
    transform: translateY(2px) rotate(315deg);
}

/*-------------------------
Movie-BOX
-------------------------*/

/* box-S */
.box--small {
    padding: 64px;
    color: var(--color-white);
    margin-bottom: 40px;
}

@media screen and (max-width: 769px) {
    .box--small {
        padding: 20px;
    }
}

/* box共通設定 */
.box--small h3 {
    text-align: center;
}

.box--small h3 span {
    font-size: 16px;
    color: var(--color-main);
}

.box--small p {
    text-align: left;
    margin-top: 40px;
}

@media screen and (max-width: 769px) {
    .box--small p {
        margin-top: 0;
    }
}

.box--small dl {
    line-height: 2;
    margin-bottom: 40px;
}

@media screen and (max-width: 769px) {
    .box--small dl {
        margin-bottom: 24px;
    }
}

.figure__line {
    padding-top: 40px;
    border-top: 1px solid var(--color-white);
}

.box--small figure {
    margin: 64px 0;
}

@media screen and (max-width: 769px) {
    .box--small figure {
        margin: 32px 0;
    }
}