@charset "utf-8";

header {
    z-index: 999;
}

.page-head__title img {
    height: 55px;
    width: auto;
}
.breadcrumb {
    margin-top: 1.4rem;
    margin-bottom: 1.4rem;
}
#casacube .concept {
    padding: 0;
    background: #ece7e2;
    position: relative;
    display: flex;
}
#casacube .concept ul.imgUl {
    width: 100%;
    position: relative;
    display: flex;
}
#casacube .concept ul.imgUl li {
    width: 50%;
}
#casacube .concept ul.imgUl li img {
    width: 100%;
}
#casacube .concept .ttlBox {
    position: relative;
    top: -10rem;
    margin-left: 5rem;
    padding-left: 8rem;
    padding-top: 8rem;
    background: #ece7e2;
    width: 100%;
    height: 680px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#casacube .concept .ttlBox .headLine01 {
    text-align: left;
    font-family: "a-otf-ud-shin-go-pr6n", sans-serif;
    font-weight: bold;
    font-style: normal;
    color: #000;
    width: 100%;
    margin-bottom: 5rem;
}
#casacube .concept .ttlBox .txtBox {
    max-width: 640px;
    width: 50%;
}
#casacube .concept .ttlBox p.ttl {
    font-size: 30px;
    line-height: 1.8;
    margin-bottom: 70px;
}
#casacube .concept .ttlBox p.desc {
    font-size: 16px;
    line-height: 1.75;
}
#casacube .concept .ttlBox .photos {
    max-width: 100%;
    width: 50%;
}
#casacube .concept .ttlBox .photos ul {
    gap: 2rem;
    justify-content: flex-end;
}
#casacube .concept .ttlBox .photos li:nth-child(1) {
    max-width: 333px;
    width: 45%;
    position: relative;
    top: 120px;
}
#casacube .concept .ttlBox .photos li:nth-child(2) {
    max-width: 463px;
    width: 55%;
    position: relative;
    top: 0;
}

#casacube .movie {
    text-align: center;
    padding: 15rem 0 13rem;
}
#casacube .movie h3 {
    font-size: 3.6rem;
    font-weight: bold;
    margin-bottom: 7rem;
    color: #221815;
}
#casacube .movie iframe {
    width: 100%;
    height: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
}

#casacube .tech {
    padding-top: 8rem;
    background: #ece7e2;
}
#casacube .tech h3 {
    font-size: 5rem;
    letter-spacing: 0.2em;
    text-align: center;
    color: #221815;
    line-height: 3;
    background-image: url("../img/casacube/cube_logo.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
#casacube .tech .flex {
    display: flex;
    max-width: 1640px;
    margin: 8rem auto;
}
#casacube .tech .flex .lBox {
    width: 50%;
    padding: 3rem;
}
#casacube .tech .flex .lBox h4 {
    font-size: 3rem;
    line-height: 1.6;
    padding: 0 5rem 5rem 14rem;
    font-weight: bold;
    color: #221815;
}
#casacube .tech .flex .rBox {
    width: 50%;
    padding: 3rem;
}
#casacube .tech .flex .rBox p {
    padding: 1rem 2rem 4rem;
    line-height: 1.6;
}
#casacube .tech .fBox {
    position: relative;
    max-width: 1440px;
    margin: 0 auto 12rem;
}
#casacube .tech .fBox.box03 {
    margin-bottom: 0;
}
#casacube .tech .fBox .txtBox {
    background: #FFF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
    padding: 6rem 4rem 4rem;
    position: absolute;
    line-height: 1.65;
}
#casacube .tech .fBox.box01 .txtBox {
    max-width: 500px;
    top: 60px;
    right: 0;
    padding: 8rem 5rem 10rem;
}
#casacube .tech .fBox.box01 .txtBox h4 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}
#casacube .tech .fBox.box02 .txtBox,
#casacube .tech .fBox.box03 .txtBox {
    max-width: 750px;
    top: 60px;
    left: 0;
    position: absolute;
    padding: 6rem 5rem 7rem;
}
#casacube .tech .fBox .txtBox .catch {
    position: absolute;
    top: -30px;
    left: 30px;
    background: #221815;
    color: #FFF;
    border-radius: 30px;
    height: 60px;
    padding: 15px;
    line-height: 30px;
    font-size: 24px;
    text-align: center;
    min-width: 320px;
}
#casacube .tech .fBox.box02 .txtBox h4,
#casacube .tech .fBox.box03 .txtBox h4 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: left;
}
#casacube .tech .fBox .photo {
    max-width: 960px;
    max-height: 570px;
    z-index: 1;
}
#casacube .tech .fBox.box02 .photo,
#casacube .tech .fBox.box03 .photo {
    margin: 0 0 0 auto;
}
#casacube .fImg {
    width: 100%;
    height: 810px;
    overflow: hidden;
}
#casacube .fImg img {
    object-fit: cover;
    width: 100%;
}

#casacube .gallery {
    max-width: 1440px;
    margin: 0 auto;
}
#casacube .gallery .title h4 {
    font-size: 3.8rem;
    margin-bottom: 2rem;
    font-weight: bold;
}
#casacube .gallery .title h4 span {
    font-style: italic;
}
#casacube .gallery ul {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1440px;
    margin: 20px auto;
}
#casacube .gallery ul li {
    width: 25%;
    padding: 10px 10px 30px;
}
#casacube .gallery ul li a {
    height: auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
}
#casacube .gallery ul li a::before {
    font-family: 'Font Awesome 6 Free';
    content: "\f061";
    font-weight: 900;
    color: #FFF;
    font-size: 18px;
    line-height: 30px;
    display: block;
    text-align: center;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 30px;
    height: 30px;
    width: 30px;
    position: absolute;
    bottom: 10px;
    right: 10px;
}
#casacube .gallery ul li a img {
    object-fit: cover;
}
#casacube .gallery ul li h5 {
    text-align: center;
    font-weight: bold;
    line-height: 1.6;
    padding: 15px 0 0;
}
#casacube .gallery ul li h5::after {
    content: "";
    display: block;
    height: 1px;
    width: 50px;
    background: #999;
    margin: 10px auto;
}
#casacube .gallery ul li p {
    text-align: center;
}
#casacube .gallery ul li p img {
    height: 30px;
    width: auto;
}
#casacube div.consult {
    padding: 5rem 2rem 5rem;
    position: relative;
    width: 90%;
    margin: 0 auto;
    max-width: 110rem;
}
#casacube div.consult p {    background: #D8D0C2;
    border-radius: 600px;
    padding: 140px 90px 0 150px;
    box-sizing: border-box;
    max-width: 600px;
    height: 600px;
    position: absolute;
    top: 50px;
    left: 490px;
    z-index: 1;
    font-size: 2.4rem;
    font-weight: bold;
    line-height: 2;
}
#casacube div.consult img {
    max-width: 580px;
    position: relative;
    z-index: 2;
}
#casacube div.consult a {
    position: relative;
    z-index: 10;
}
#casacube div.consult a:hover img {
    transform: scale(1);
}


.sp {display: none;}
.pc {display: block;}

@media screen and (max-width: 896px) {
    #casacube .concept {
    }
    #casacube .concept .ttlBox {
        top: -3rem;
        padding: 2rem;
        left: 1rem;
        margin-left: 2rem;
        width: calc(100% - 3rem);
    }
    #casacube .concept .ttlBox .headLine01 {
        margin-bottom: 2rem;
    }
    #casacube .concept .ttlBox .txtBox {
        width: 100%;
    }
    #casacube .concept .ttlBox p.ttl {
        font-size: 20px;
        margin-bottom: 30px;
    }
    #casacube .concept .ttlBox p.desc {
        font-size: 14px;
    }
    #casacube .concept .ttlBox .photos {
        width: 100%;
    }
    #casacube .concept .ttlBox .photos li:nth-child(1) {
        top: 50px;
    }
    #casacube .movie {
        text-align: center;
        padding: 15rem 0 5rem;
    }
    #casacube .movie h3 {
        font-size: 2.4rem;
        margin-bottom: 4rem;
    }
    #casacube .tech {
        padding-top: 5rem;
    }
    #casacube .tech h3 {
        font-size: 2.4rem;
    }
    #casacube .tech .flex {
        display: block;
        margin: 4rem auto;
    }
    #casacube .tech .flex .lBox {
        width: 100%;
        padding: 1rem 3rem;
    }
    #casacube .tech .flex .lBox h4 {
        padding-left: 0;
        padding-right: 0;
        font-size: 2.4rem;
    }
    #casacube .tech .flex .rBox {
        width: 100%;
        padding: 1rem;
    }
    #casacube .tech .fBox {
        padding-bottom: 0;
    }
    #casacube .tech .fBox.box01 .txtBox {
        padding: 3rem;
        position: static;
    }
    #casacube .tech .fBox.box01 .txtBox h4 {
        font-size: 2.4rem;
    }
    #casacube .tech .fBox.box02 .txtBox, #casacube .tech .fBox.box03 .txtBox {
        position: static;
        padding: 5rem 3rem 3rem;
    }
    #casacube .tech .fBox.box02 .txtBox h4, #casacube .tech .fBox.box03 .txtBox h4 {
        font-size: 2.4rem;
    }
    #casacube .tech .fBox .txtBox .catch {
        font-size: 16px;
        min-width: 200px;
        height: 50px;
        line-height: 30px;
        padding: 10px 0;
        top: -25px;
    }
    #casacube .fImg {
        height: 260px;
    }
    #casacube .fImg img {
        width: auto;
        height: 100%;
    }
    
    
    
    
    #casacube .gallery {
        padding: 40px 10px;
    }
    #casacube .gallery ul {
        gap: 10px;
    }
    #casacube .gallery ul li {
        width: calc(50% - 5px);
        padding: 0 0 20px;
    }
    #casacube div.consult {
        padding: 0;
    }
    #casacube div.consult p {
        position: relative;
        font-size: 1.6rem;
        padding: 40px 15px;
        border-radius: 50px;
        left: 0;
        top: -10px;
        height: auto;
    }
    
    .sp {display: block;}
    .pc {display: none;}
}



/* オーバーレイ 初期状態 */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  transition: all .3s ease-out;
}
/* オーバーレイ 表示アニメーション */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: .8;
}
/* オーバーレイ 非表示アニメーション */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* コンテンツ 初期状態 */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all .3s ease-out;
  -moz-transition: all .3s ease-out;
  transition: all .3s ease-out;
}
/* コンテンツ 表示アニメーション */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}
/* コンテンツ 非表示アニメーション */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}