/*--------------------

single-youtube-movie-text.css

--------------------*/
#container{
	margin-top:50px;
}
@media screen and (max-width:864px) {
	#container{
	margin-top:clamp(100px,60vw,700px);
}
}
@media screen and (max-width:810px) {
	#container{
	margin-top:clamp(40px,10vw,100px);
}
}
.content-in{
    display: block;
}
.post-template-single-base-youtube-movie-text.no-sidebar .content-in{
    max-width: 100%;
}
.wrap{
    width: auto;
}
#main{
    padding: 0;
}
.main{
    width: auto;
}
ul {
    padding-inline-start: 2em;
}
.footer {
    margin-top: 0;
}
:root{
    --header-height:7vh;
    --column-width: clamp(400px, 45vw, 1024px);
    --area-one-height: calc(var(--column-width) * 9 / 16);
    --footer-height: 5vh;
    --area-three-height: calc(93vh - var(--area-one-height) - var(--footer-height));
  }
.layout{
    display: grid;
    grid-template-areas: "area-one area-two"
                         "area-three area-two"
                         "area-footer area-two";
    grid-template-columns: var(--column-width) minmax(400px, 1fr);
/*     grid-template-rows: var(--area-one-height) var(--area-three-height) var(--footer-height); */
	grid-template-rows:auto;
    overflow: hidden;
    margin: 0 auto;
    max-width: 2048px;
}
.area-one{
    grid-area: area-one;
    overflow-y: hidden;
    height: auto;
    aspect-ratio: 16 / 9;
    padding: 2em;
}
.area-two{
    grid-area: area-two;
    overflow-y: auto;
    min-height: 100vh;
}
.area-three{
    grid-area: area-three;
    height: auto;
    overflow-y: hidden;
}
.appeal{
    height: auto;
}
.about{
    height: 100%;
}
@media screen and (max-width: 1024px) {
    .area-one{
        padding: 0;
    }
}
@media screen and (min-width: 865px) {
	
}
@media screen and (max-width: 864px) {
    .layout{
        grid-template-areas: "area-one"
                             "area-two"
                             "area-three"
                             "area-footer";
        grid-template-columns: 100%;
        grid-template-rows: auto;
        overflow: auto;
        height: auto;
    }
    .area-two{
        height: auto;
    }
    .area-one{
        height: auto;
        overflow-y: auto;
        aspect-ratio: auto;
    }
    .area-three{
        height: auto;
        overflow-y: auto;
    }
    .header{
        height: auto;
    }
    .appeal{
        height: auto;
    }
    .about{
        height: auto;
    }
    .information-area{
        height: auto;
    }
    .recommend{
        height: auto;
    }

}
.appeal{
    background-color: var(--base-light-gray-color);
}
.about{
    background-color: var(--base-light-gray-color);
}
.area-two-main{
    background-color: var(--base-white-color);
}
.information-area{
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
    linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
    background-size: 32px 32px;
    background-repeat: repeat;
    background-position: center center;
}
.recommend{
    background: var(--base-white-color);
}

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

    .appeal{
        height: auto;
    }
    .appeal .youtubearea{
        position: fixed;
        top: 52px;
        z-index: 9999;
        width: 100%;
    }
    .area-two{
        padding-top: calc(43.25% + 52px);
    }
}
@media screen and (max-width:480px) {
    .area-two{
        padding-top: calc(38.15% + 110px);
    }
}
.area-two .container{
    max-width: 1024px;
    margin-left: 0;
    margin-right: auto;
}
@media screen and (max-width: 864px) {
    .area-two-main .container{
        border-left: 0;
        border-right: 0;
    }
}
.appeal .container{
    padding: 0;
}
.appeal .youtube{
    width: 100%;
    aspect-ratio: 16 / 9;
}
.appeal .youtube iframe{
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}
.appeal .titlearea .container{
    width: 100%;
    margin: 0 auto;
    padding: 1vh 20px;
}
.area-two-main .container{
    padding: 2em;
}
.area-two-main .maintitle{
    margin-bottom: 0;
    font-size: 20px;
    font-size: clamp(20px, 3vw, 24px);
    min-height: 0vw;
    font-weight: 900;
}

.area-two-main .description{
    padding-bottom: 0.1em;
    border-bottom: 1px solid var(--base-black-color);
    font-size: 14px;
    font-size: clamp(12px, 2vw, 14px);
    min-height: 0vw;
    align-items: center;
}
.area-two-main .description .date time{
    margin: 0;
    font-weight: 400;
    font-size: 12px;
    font-size: clamp(12px, 2vw, 14px);
    min-height: 0vw;
}
.area-two-main .content{
    padding-top: 2em;
}
.area-two-main ul{
    padding-inline-start: 2em;
}
.area-two-main .png-img{
    width: 65%;
}
.information-area .container{
    padding: 2em;
}
.recommend .container{
    padding: 2em 2em 4em;
}
.recommend .articlelayout{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    max-width: 700px;
    margin: 0 auto;

}
.recommend .articlelayout .articletitle{
    font-size: 12px;
    font-size: clamp(12px, 2vw, 14px);
    min-height: 0vw;
    font-weight: 600;
}
.recommend .articlelayout .article{
    width: clamp(200px, 25vh, 350px);
}
.recommend .articlelayout .article img{
    width: 100%;
}
.area-three .about .container{
    padding-left: 2em;
    padding-right: 2em;
}
.area-three .about .steps .titlearea{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
}
.area-three .about .steps .titlearea h2{
    font-size: 10px;
    font-size: clamp(10px, 1.2vw, 12px);
    min-height: 0vw;
}
.area-three .about .steps .titlearea .favorite-button a{
    font-size: 8px;
    font-size: clamp(8px, 1vw, 10px);
    min-height: 0vw;
    position: relative;
    padding-left: 1.2em;
    text-decoration: none;
}
.area-three .about .steps .titlearea .favorite-button a::before{
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-image: url('../images/icon/star-white.svg');
    background-size: cover;
}
.area-three .about .steps .contentarea ul{
    list-style: none;
    font-size: 10px;
    font-size: clamp(10px, 1.2vw, 12px);
    min-height: 0vw;
    padding-left: 0;
}
.area-three .about .steps .contentarea li{
    padding: 0.5em 1em;
    border:1px solid var(--base-black-color);
    margin-bottom: 1em;
}
.area-three .about .steps .contentarea li .check-button{
    padding: 0.3em;
    border:1px solid var(--base-black-color);
    margin-right: 2em;
    font-size: 8px;
    font-size: clamp(8px, 1vw, 10px);
    min-height: 0vw;
}
.area-three .about .next-nav{
    background-color: var(--quaternary-color);
    padding: 1em 2em;
    border-radius: 10px;
}
.area-three .about .next-nav h3{
    font-size: 10px;
    font-size: clamp(10px, 1.2vw, 12px);
    min-height: 0vw;
    text-align: center;
}
.area-three .about .next-nav h3 a{
    font-size: 10px;
    font-size: clamp(10px, 1.2vw, 12px);
    min-height: 0vw;
}
.area-three .about .next-nav .attention-button{
    padding: 0.5em 0;
}

.single-base-movie-text .area-three .items{
    display: flex;
    column-gap: 1em;
    justify-content: space-between;
}
@media screen and (max-width: 2177px) {
    .single-base-movie-text .area-three .items{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .single-base-movie-text .area-three .blogcard{
        max-width: 650px;
}
}
.single-base-movie-text .area-three .blogcard-snippet {
    display: none;
}
.single-base-movie-text .area-three .blogcard-footer{
    display: none;
}
.single-base-movie-text .area-three .course-navigation h3{
    line-height: 1.2em;
    font-size: 12px;
    font-size: clamp(12px, 1.6vw, 16px);
    min-height: 0vw;
}
.attention-button a{
    padding: 1em 2em;
    padding-right: 4em;
    background-color: var(--primary-color);
    color: var(--base-white-color);
    font-size: 10px;
    font-size: clamp(10px, 1.2vw, 12px);
    min-height: 0vw;
    max-width: 350px;
    margin: 0 auto;
}
.attention-button a::after{
    content: '';
    position: absolute;
    right: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-image: url('../images/icon/checkbox-icon.svg');
    background-size: cover;
}
.area-three .small-btn-group{
    display: flex;
    gap: 2em;
}
.footer .container{
    padding: 1vh 20px;
}
@media (orientation: landscape) and (max-width: 864px){
body, html {
    height: 100%;
    margin: 0;
}

.header {
    position: fixed;
    top: -52px;
    width: 100%;
    height: 52px;
    transition: top 0.3s;
    z-index: 1000;
}

.appeal {
    width: 100%;
    height: 100vh;
    background-color: var(--base-black-color);
    z-index: 999;
}
.area-two{
    padding-top: 0;
}


body.scrolled .header {
    top: 0;
}
    
    .appeal .container{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .appeal .youtubearea{
        position: static;
        max-width: 80%;
        max-height: 100%;
        margin: 0 auto;
    }
    
    .appeal .youtubearea iframe{
        max-height: 100vh;
    }
    }
.post-template-single-base-youtube-movie-text #main{
    position: relative;
}
.post-template-single-base-youtube-movie-text .content > .is-provider-youtube{
    position: fixed;
    top: 80px;
    left: 0;
    padding-left: 2em;
    padding-right: 2em;
    z-index: 9999999999;
    width: clamp(400px, 45vw, 1024px);
}
.post-template-single-base-youtube-movie-text .content > .is-provider-youtube .video-container{
    max-width: 100%;
}
@media screen and (max-width: 864px) {
    .post-template-single-base-youtube-movie-text .content > .is-provider-youtube{
        position: fixed;
        top: 34px;
        left: 0;
        padding-left: 0;
        padding-right: 0;
        z-index: 99998;
        width: 100%;
        margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    vertical-align: top;
    }   
}

/*
 公式サイト調整
*/
body {
	background-color:#fff;
}
#content {
    padding-top: 0px;
}
.area-two-main .maintitle {
	border:0;
}
.related-entry-card-content .related-entry-card-title{
	border:0;
	font-size: clamp(12px,2vw,20px);
}
.area-two-main .content {
    padding-top: 0;
}

@media screen and (max-width: 480px) {
	.area-two-main .container {
    padding-top: 0.5em;
}
    .article h3 {
        margin-left:0;
    }
}

#footer{
	background-color:#efefef;
	color:#333;
	margin-top: clamp(20px, 5vw, 100px);
}
.footer-bottom {
    margin-top:0;
}
#footer, #footer a:not(.sns-button), .footer-title {
    color:#333;
	padding:0;
}

/*動画を閉じる開くボタン*/
/* デスクトップではボタン非表示 */
@media screen and (min-width: 865px) {
  #toggle-button {
    display: none !important;
  }
}

/* モバイル/タブレット：ボタンを固定表示 */
@media screen and (max-width: 864px) {
  #toggle-button {
    display: block !important;
    position: fixed;
    right: 0;
    /* top は JS で動的にセット */
    padding: 3px 5px;
    background-color: #07387f;
    color: #fff;
    border: none;
    border-radius: 0 0 0 5px;
    font-size: clamp(10px,1.2vw,12px);
    cursor: pointer;
    z-index: 99999!important;
  }
	/* ボタンのアイコン */
   /* デフォルトは「下向きキャレット」 */
	#toggle-button::before {
		font-family: "FontAwesome";
		content: "\f0d7"; /* fa-caret-down */
		margin-right: 0.25em;
	}

	/* open＝閉じる状態（上向きキャレットに） */
	#toggle-button.open::before {
		content: "\f0d8"; /* fa-caret-up */
	}

	/* closed＝動画非表示状態（下向きキャレットに） */
	#toggle-button.closed::before {
		content: "\f0d7"; /* fa-caret-down */
	}
}