:root{
    --gray1:#908b88;
}
*{
    font-family: "Helvetica light", "Noto Sens", sans-serif;
    font-weight: 400;
}
html, body{
    overflow-x: hidden;
    background: #f7f4ed;
}
html{
    width:100vw;
}
body{
    width:100%;
}
html:has(body.navigation-menu-show), html.noscroll{
    overflow-y: hidden;
}
a{
    text-decoration: none;
}
img{
    max-width:100%;
}
section{
    max-width:1024px;
    margin:0 auto;
    position: relative;
}
.ellipsis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    overflow: hidden;
}
.swiper{
    width:100%;
    overflow: hidden;
    position: relative;
}
.swiper-wrapper{
    position: relative;
}
.swiper-slide{
    display: flex;
    flex-wrap: wrap;
}
.swiper-button-prev, .swiper-button-next{
   display: none;
}
.swiper-button-prev{
    left:0;
}
.swiper-button-next{
    right:0;
}
.ad1box{
    background: var(--gray1);
}
.ad1box .title{
    color: #fff;
    margin:0;
    line-height: 1.6;
    font-size: 28px;
    font-weight: 600;
}
.ad1{
    width:100%;
    height: 400px;
}
.ad1 .swiper-slide, .ad2 .swiper-slide{
    margin-bottom:10px;
    margin-top:0 !important;
    overflow: hidden;
}
.ad1 .swiper-slide a, .ad2 .swiper-slide a{
    display: block;
}
.ad1 .swiper-slide img, .ad2 .swiper-slide img{
    border-radius: 16px;
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ad1 >.swiper-wrapper{
    flex-direction: unset !important;
}
.ad1 .swiper-slide a{
    height: calc(100% - 60px);
}
.ad1 .txt{
    color:#fff;
    height: 50px;
    padding: 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.ad2box{
    background: var(--gray1);
    padding:20px 10px;
}
.ad2 .swiper-wrapper{
    flex-direction: unset !important;
}
.ad21{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.ad21 a{
    display: block;
    width:calc(50% - 15px);
}
.ad21 a img{
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}
.media .swiper-button-prev, .media .swiper-button-next{
    background: rgba(255,255,255,0.7);
    padding: 30px 20px;
}
.media .swiper-button-prev{
    border-radius: 0 8px 8px 0;
    left:0;
}
.media .swiper-button-next{
    border-radius: 8px 0 0 8px;
    right: 0;
}
.marquee{
    height: 24px;
    display: inline-block;
}
.marquee a{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
#headshot, #approach{
    background: no-repeat center;
    background-size: cover;
    width:100%;
    height: calc(100vh - 34px);
    position: relative;
    overflow: hidden;
}
#headshot .mask, #approach .mask, .bg1 .mask{
    width:100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}
.bg1 .mask{
    height: auto;
}
#headshot img, #approach img{
    width: 100%;
    height: 100vh;
    object-fit: contain;
    object-position: center;
    position: absolute;
    z-index: 1;
    left:0;
    top:0;
    transform:scale(1,1);
    transition: all 2s ease-out;
}
#approach img.in{
    transform:scale(1.5,1.5);
}
#headshot .txt, #approach .txt{
    width: 100%;
    text-align: center;
    position: absolute;
    z-index: 2;
    top:30vh;
    height: 70vh;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .1s ease;
}
#headshot h1, #approach h1{
    color: rgba(255, 255, 255, 1);
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    text-transform: none;
    line-height: 1.2;
    letter-spacing: normal;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
}
#headshot h2, #approach h2, #headshot h3{
    color: rgba(255, 255, 255, 1);
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    text-transform: none;
    line-height: 1.8;
    letter-spacing: normal;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
}
#headshot h1, #headshot h2, #headshot h3{
    line-height: 1.4;
}
#headshot h1{
    font-size: 36px;
}
#headshot h2{
    font-size: 22px;
}
#headshot h3{
    font-size: 18px;
}
#approach{
    width:100vw;
    height: 100vh;
    position: fixed;
    z-index: 20;
    left:0;
    top:0;
}
#approach.out{
    opacity: 0;
}
.headshotbox{
    opacity: 0;
    position: absolute;
    z-index: 12;
    left:10px;
    top:5px;
    transition: all .3s ease;
}
.headshot{
    width:80px;
    height: 80px;
    display: block;
    background: no-repeat;
    background-size: cover;
    border-radius: 50%;
}
.headshotbox.show, body.navigation-menu-show .headshotbox, body.scroll  .headshotbox{
    opacity: 1;
}
.headshotbox .txt{
    position: absolute;
    width: 75vw;
    left: 85px;
    top: 45px;
    -webkit-line-clamp: 1;
}
.headshotbox .txt span{
    display: inline-block;
    background: rgba(255,255,255,0.6);
    padding:0 5px;
    font-weight: 600;
}
header{
    background: var(--gray1);
    position: fixed;
    z-index: 10;
    width:100%;
    left:0;
    top:0;
    padding:5px 0;
    margin:0 !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
}
#navigation{
    font-size: 26px;
    line-height: 1;
}
#navigation-menu{
    background: var(--gray1);
    position: fixed;
    z-index: 11;
    left:0;
    top:36px;
    width:100%;
    height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transition: all .3s ease-in-out;
}
body.navigation-menu-show #navigation-menu{
    height: calc(100vh - 40px);
    padding-bottom: 80px;
}
#navigation-menu ul{
    margin:60px 20px 0 20px;
    padding: 0;
}
#navigation-menu ul li{
    list-style: none;
    margin:15px 0;
}
#navigation-menu ul li button, #navigation-menu ul li a{
    width:100%;
    display: block;
}
header .headshot{
    z-index: 11;
}
header a{
    cursor:pointer;
}
marquee{
    color:#fff;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
}
header .marqueebox{
    max-width:800px;
    margin:0 auto;
}
main section{
    padding:0 10px;
}
footer{
    position: fixed;
    z-index: 7;
    width:100%;
    left:0;
    bottom:0;
    background: #666;
    margin:0 !important;
    padding:5px 0;
}
footer *{
    color:#fff;
    font-weight: 700;
}
footer a{
    text-decoration: none;
}
footer span{
    background: #ffc107;
    padding:0px 5px;
    border-radius:5px;
    display: inline-block;
    margin-right: 5px;
}
.footer-contact a{
    color:#FFFF00;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 10px;
    display: inline-block;
}
.footer-contact a i{
    background: #FF8800;
    color:#fff;
    border-radius: 50%;
    font-size: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width:30px;
    height: 30px;
    margin-right: 10px;
}
.mediabox{
    margin:0px auto;
    padding:30px 10px 10px 10px;
    text-align: center;
    background: #333;
}
.mediabox iframe{
    margin:20px 0;
}
.mediabox .swiper{
    width: 100%;
    max-width:800px;
    margin:0 auto;
    padding-bottom: 40px;
}
.mediabox iframe{
    width: 100%;
    max-width:800px;
    aspect-ratio: 16 / 9.66;
    border-radius: 15px;
}
.mediabox .swiper-pagination .swiper-pagination-bullet{
    background: #fff;
    width:12px;
    height: 12px;
}
#infobox{
    padding:20px 0 40px 0;
    background: #333;
}
.txtbox{
    padding:20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.txtbox1{
    background-size: cover;
}
.txtbox1 .txtbox{
    font-size: 19px;
}
.txtbox2 .txtbox{
    background: rgba(0, 0, 0, 0.4);
}
.linkbox{
    display: flex;
    flex-wrap: wrap;
    gap:15px;
    margin-top:20px;
}
.linkbox a, .btn1 {
    position: relative;
    z-index: 1;
    width: calc(50% - 10px);
    border: 1px solid #eee;
    background: var(--gray1);
    border-radius: 25px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 0 rgba(0, 0, 0, 0.2);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    padding: 10px 20px;
}
.linkbox a:after, .btn1:after {
    content: "";
    position: absolute;
    height: 0%;
    left: 50%;
    top: 50%;
    width: 150%;
    z-index: -1;
    background: #ffc107;
    -moz-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    transform: translateX(-50%) translateY(-50%) rotate(-25deg);
    -webkit-transition: all 0.75s ease 0s;
    -moz-transition: all 0.75s ease 0s;
    -o-transition: all 0.75s ease 0s;
    transition: all 0.75s ease 0s;
}
.linkbox a:hover, .btn1:hover {
    color: #FFFFFF;
    text-shadow: none;
}
.linkbox a:hover:after, .btn1:hover:after {
    height: 450%;
}
#frb{
    position: fixed;
    z-index: 8;
    right:10px;
    bottom:50px;
    opacity: 1;
    transition: all .3s ease;
}
body.scroll #frb{
    opacity: 1;
}
.comment-list{
    margin:40px 0;
}
.comment-list .item{
    background: rgb(242, 242, 242,0.4);
    border-radius: 8px;
    padding:10px 15px;
    margin-bottom: 25px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    position: relative;
}
.comment-list .pic{
    width:80px;
}
.comment-list .pic img{
    width:100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}
.comment-list .name, .comment-list .title{
    width:calc(100% - 100px);
}
.comment-list .txt{
    -webkit-line-clamp: 1;
}
.comment-list .txt.show{
    -webkit-line-clamp: unset;
}
.comment-list .more{
    min-width:80px;
    text-align: center;
    cursor: pointer;
}
.comment-list .btn-more{
    position: absolute;
    right: 10px;
    bottom:10px;
    background: var(--gray1);
    border:1px var(--gray1) solid;
    color:#fff;
    padding:5px 10px;
    font-size: 14px;
}
.comment-list .btn-more:hover{
    color:var(--gray1);
    background: #fff;
}
.bg1{
    background: no-repeat center;
    background-size: cover;
    text-align: center;
}
.cooperation{
    width:220px;
    margin:0 auto;
    padding: 10px;
}
.cooperation a{
    width:100%;
    display: block;
}

@media screen and (max-width:768px) {
    body{
        margin-bottom: 58px;
    }
    header, footer{
        transition:All 0.2s ease;
    }
    header{
        top:-100px;
    }
    footer{
        bottom:-100px;
    }
    body.scroll header{
        top:0;
    }
    body.scroll footer{
        bottom:0;
    }
    body.scroll.scroll1 footer{
        bottom:-100px;
    }
    #headshot{
        height: 100vh;
    }
    body.scroll #headshot{
        height: calc(100vh - 58px);
    }
    #headshot img, #approach img{
        object-fit: cover;
        object-position: center;
    }
    #approach img{
        width:100%;
        height: 100vh;
    }
    #approach .txt{
        top:10vh
    }
    #headshot .txt{
        background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.59) 47%,rgba(0,0,0,0.65) 52%);
        top:auto;
        bottom:0;
        height: 40vh;
        align-items: center;
        padding-top:30px;
        padding-bottom: 40px;
    }
    #headshot .txt > div{
        margin:0 70px 0 30px;
    }
    #headshot .txt *{
        color:#fff;
    }
    header .marqueebox{
        margin-left: 90px;
        margin-right: 10px;
    }
    marquee{
        font-size: 16px;
    }
    .linkbox{
        margin:20px 0;
        justify-content: center;
    }
    .linkbox a{
        width: calc(90%);
        margin:5px 0;
        font-size: 18px;
    }
    .ad1{
        width:100%;
        height: calc(100vh - 140px);
    }
    .ad1 .swiper-button-prev, .ad1 .swiper-button-next{
        display: flex;
    }
    .ad1 .swiper-slide{
        margin-bottom:0px !important;
    }
    .ad1 .swiper-slide a{
        height: calc(100% - 50px);
    }
    .ad1 .txt{
        font-size: 15px;
        height: 44px;
        padding: 0 5px;
    }
    .ad1box .title{
        width:100%;
        writing-mode: unset;
        border-radius: 8px;
    }
    .txtbox1, .txtbox2 {
        background: none;
    }
    .txtbox2, .txtbox2 .txtbox{
        background: #333;
    }
    .adbgmob{
        background: var(--gray1);
    }
    .adbgmob2{
        background: #f7f4ed;
    }
    .mediabox iframe{
        margin:10px 0;
    }
}