@charset "utf-8";
/*------------------------------------------------------------
	movie
------------------------------------------------------------*/
#main .movie .headLine03 {
    padding-top: 16px;
    margin-bottom: 31px;
}
#main .movie .headLine03 img {
    width: 32px;
}
#main .movie .sec01 {
    margin: 0 9px 35px;
}
#main .movie .col2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 1% 3%;
    justify-content: space-between;
}
#main .movie .col2 .movie_btn {
    border-radius: 5px;
    margin: 0 auto;
    width: 100%;
    height: auto;
    border: 1px #ccc solid;
    background: rgba(245, 245, 244, 1.00);
    aspect-ratio: 1.66666666666667 / 1;
    padding: 10px;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    align-items: center;
    align-content: space-between;
    justify-content: space-evenly;
    justify-items: center;
}
#main .movie .col2 .movie_btn p {
    font-size: 1.0rem;
    text-align: center;
    margin: 10px auto 4px;
}
#main .movie .col2 .movie_btn h3 {
    font-size: 1.3rem;
    text-align: center;
}
#main .movie .col2 .movie_btn h3 span {
    font-size: 0.8rem;
    text-align: center;
    line-height: 2.0;
}
/*----------------------
	矢印
----------------------*/
.ya {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ya .field {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height:30px;
}
.ya .field .scroll {
    position: relative;
    animation: down 1.5s infinite;
    -webkit-animation: down 1.5s infinite;
}
.ya .field .scroll::before {
        content: '';
        position: absolute;
        top: -5px;
        left: 0px;
        width: 14px;
        height: 14px;
        border-left: 2px solid #333;
        border-bottom: 2px solid #333;
        transform: rotate(-45deg);
}

@keyframes down {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translateY(5px);
    }
    40% {
        transform: translate(0);
    }
}
@-webkit-keyframes down {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translateY(5px);
    }
    40% {
        transform: translate(0);
    }
}
/*----------------------
	ルームツアー
----------------------*/
#main .movie #roomtour {
    padding: 29px 8px 32px;
    background-color: rgba(248, 248, 248, 1.00);
}
#main .movie #roomtour .bgTxt {
    padding: 14px 10px 18px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    line-height: 1.48;
    background-color: rgba(236, 135, 137, 1.00);
    border-radius: 5px;
}
#main .movie #roomtour .bgTxt span {
    font-size: 1.3rem;
    text-align: center;
    line-height: 2.0;
}
#main .movie #roomtour .introduction {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 10px 10px;
    justify-content: space-between;
    align-items: start;
    width: 96%;
    height: auto;
    margin: 20px auto 40px;
}
#main .movie #roomtour .introduction .video-containerShort {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
}
#main .movie #roomtour .introduction .text {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
}
#main .movie #roomtour .introduction .text h4 {
    font-size: 1.6rem;
    color: rgba(70, 55, 55, 1.00);
    line-height: 1.6;
    margin-bottom: 10px;
}
#main .movie #roomtour .introduction .text p {
    font-size: 1.4rem;
    color: #323232;
    line-height: 1.55;
    margin-bottom: 10px;
}
.popup-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}
.popup-content iframe {
    aspect-ratio: 16 / 9;
    width: 90%;
    height: auto;
}
.close-popup {
    background: #fff;
    padding: 0px 6px;
    font-weight: bold;
}
/*----------------------
	ショートルームツアー
----------------------*/
#main .movie #roomtourshort {
    padding: 29px 8px 32px;
    background-color: rgba(255, 255, 255, 1.00);
}
#main .movie #roomtourshort .bgTxt {
    padding: 14px 10px 18px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    line-height: 1.48;
    background-color: rgba(243, 75, 75, 1.00);
    border-radius: 5px;
}
#main .movie #roomtourshort .bgTxt span {
    font-size: 1.3rem;
    text-align: center;
    line-height: 2.0;
}
#main .movie #roomtourshort .introduction {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 10px 10px;
    justify-content: space-between;
    align-items: start;
    width: 96%;
    height: auto;
    margin: 20px auto 40px;
}
#main .movie #roomtourshort .introduction .video-containerShort {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    margin-bottom: 30px;
}
#main .movie #roomtourshort .introduction .video-containerShort h4 {
    font-size: 1.6rem;
    color: rgba(70, 55, 55, 1.00);
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: center;
}
.popup-contentShort {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
}
.popup-contentShort iframe {
    aspect-ratio: 9 / 16;
    width: auto;
    height: 70vh; /* 変数をサポートしていないブラウザのフォールバック */
    height: calc(var(--vh, 1vh) * 70);
}
.close-popupShort {
    background: #fff;
    padding: 0px 6px;
    font-weight: bold;
}


/* overlay */
.popup-overlay,
.popup-overlayShort{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.7);
  z-index:9998;
}

/* modal box */
.popup-content,
.popup-contentShort{
  display:none;
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  z-index:9999;
  width:min(92vw, 960px);
  background:#fff;
  padding:12px;
  border-radius:4px;
  box-sizing:border-box;
}

/* 通常動画は16:9 */
.popup-content .popup-video{
  aspect-ratio:16/9;
}

/* Shortsは9:16（縦） */
.popup-contentShort{
  width:min(92vw, 420px);
}
.popup-contentShort .popup-video{
  aspect-ratio:9/16;
}

/* iframeは枠にフィット */
.popup-video iframe{
  width:100%;
  height:100%;
  display:block;
}
