@charset "UTF-8";


/* header, navtoggle
------------------------------------------------- */
#header,
#navtoggle {
    opacity: 0;
}


/* service
------------------------------------------------- */
.service {
    width: 100%;
}
.service .box1 {
    width: 100%;
    height: 100vh;
    min-height: 5.5rem;
    position: relative;
    z-index: 5;
}
.service .box1 .sec {
    color: #fff;
    position: absolute;
    left: 0.45rem;
    bottom: 0.45rem;
    opacity: 0;
}
.service .box1 .sec .tit {
    font-size: 0.25rem;
    line-height: 1.28;
    letter-spacing: 0.04em;
}
.service .box1 .sec .copy {
    font-size: 0.7rem;
    line-height: 1.414;
    letter-spacing: 0.04em;
    padding: 0.1rem 0 0.25rem;
    clip-path: inset(0 100% 0 0);
}
.service .box1 .sec.on1 .copy {
    animation: mask 0.6s ease-in-out 0.5s 1 forwards
}
.service .box1 .sec .txt1 {
    font-size: 0.18rem;
    line-height: 1;
    clip-path: inset(0 100% 0 0);
}
.service .box1 .sec.on1 .txt1 {
    animation: mask 0.6s ease-in-out 1s 1 forwards
}
.service .box1 .scroll {
    width: 0.78rem;
    position: absolute;
    left: 50%;
    bottom: 0.15rem;
    margin-left: -0.39rem;
    z-index: 10;
    opacity: 0;
}
.service .box1 .scroll span {
    display: block;
    animation: scroll 2s infinite;
}
.service .box2 {
    height: 11rem;
    padding-top: 2.1rem;
    color: #fff;
    box-sizing: border-box;
}
.service .box2 .headline1 {
    margin-bottom: 0.7rem;
}
.service .box2 .headline1 .tit1 {
    font-size: 0.35rem;
    letter-spacing: -0.05em;
}
.service .box2 .txt2 {
    margin-bottom: 0.4rem;
}
.service .box2 .txt2 .txtst1 {
    display: block;
    font-size: 0.18rem;
    line-height: 2.77;
}
.service .box2 .txt2 .txtst1 i {
    font-style: normal;
}
.service .box3 {
    height: 100vh;
    min-height: 11rem;
    background: url("../img/top/service_bg2.jpg") center top no-repeat;
    background-size: cover;
    padding: 1rem 0 2.5rem;
    box-sizing: border-box;
    position: relative;
    z-index: 3;
}
.service .box3::after {
    content: '';
    width: 100%;
    height: 5.3rem;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,1));
    position: absolute;
    left: 0;
    bottom: 0;
}
.service .box3 ul li {
    width: 83vw;
    height: 7.5rem;
    position: absolute;
    top: 1rem;
    right: 0;
    z-index: 1;
    transition: 0.8s;
}
.service .box3 ul li.list2 {
    right: calc(1.5rem - 83vw);
    z-index: 2;
}
.service .box3 ul li.list2.is-active {
    right: -0.5rem;
}
.service .box3 ul li.list3 {
    right: calc(1rem - 83vw);
    z-index: 3;
}
.service .box3 ul li.list3.is-active {
    right: -1rem;
}
.service .box3 ul li.list4 {
    right: calc(0.5rem - 83vw);
    z-index: 4;
}
.service .box3 ul li.list4.is-active {
    right: -1.5rem;
}
.service .box3 ul li a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0.05rem 0 0 0.05rem;
    color: #fff;
    overflow: hidden;
    position: relative;
}
.service .box3 ul li a::before {
    content: '';
    width: 100%;
    height: 100%;
    background: url("../img/top/service_photo1.jpg") center center no-repeat;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.4s;
    z-index: 2;
}
.service .box3 ul li.list2 a::before {
    background-image: url("../img/top/service_photo2.jpg");
}
.service .box3 ul li.list3 a::before {
    background-image: url("../img/top/service_photo3.jpg");
}
.service .box3 ul li.list4 a::before {
    background-image: url("../img/top/service_photo4.jpg");
}
.service .box3 ul li a::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.43);
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.4s;
    z-index: 2;
}
.service .box3 ul li.list2 a::after {
    background-color: rgba(0,0,0,0.54);
}
.service .box3 ul li.list3 a::after {
    background-color: rgba(0,0,0,0.47);
}
.service .box3 ul li a .tit {
    font-size: 0.13rem;
    line-height: 3.846;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    white-space: pre;
    position: absolute;
    left: 0;
    top: 0.22rem;
    z-index: 3;
}
.service .box3 ul li a .sec {
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%) translateX(-50%);
    z-index: 3;
}
.service .box3 ul li.list2 a .sec {
    padding-right: 0.5rem;
}
.service .box3 ul li.list3 a .sec {
    padding-right: 1rem;
}
.service .box3 ul li.list4 a .sec {
    padding-right: 1.5rem;
}
.service .box3 ul li a .sec h3 {
    font-size: 0.42rem;
    font-weight: 500;
    line-height: 1;
}
.service .box3 ul li a .sec .copy {
    font-size: 0.18rem;
    font-weight: 500;
    line-height: 2.11;
    padding: 0.15rem 0 0.45rem;
}
.service .box3 ul li a .sec .btnst2 span {
    margin: 0 auto;
}
.service .box3 .side-scroll {
    width: 100%;
    height: 1px;
    position: relative;
}
.service .box3 .side-scroll .scroll-list {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
}
.service .box3 .side-scroll .scroll-list .wa {
    width: 83vw;
    height: 1px;
}
@media screen and (min-width:751px){
.service .box2 .txt2 .txtst1 {
    opacity: 0.2;
}
.service .box2 .txt2 .txtst1.isAnimate {
	opacity: 1;
}
.service .box2 .txt2 .txtst1 i {
	opacity: 0.2;
}
.service .box2 .txt2 .txtst1.isAnimate i {
	animation: txtst2 0.2s ease-in-out 0.6s 1 forwards;
}
.service .box3 ul li a:hover::after {
    background-color: rgba(0,0,0,0.2);
}
}
@media screen and (max-width:750px){
.service {
    width: 100%;
}
.service .box1 {
    height: 100dvh;
    min-height: 4.5rem;
}
.service .box1 .sec {
    position: absolute;
    left: 0.2rem;
    bottom: 0.9rem;
}
.service .box1 .sec .tit {
    font-size: 0.18rem;
}
.service .box1 .sec .copy {
    font-size: 0.42rem;
    padding: 0.1rem 0 0.25rem;
}
.service .box1 .sec .txt1 {
    font-size: 0.16rem;
    line-height: 1.75;
}
.service .box1.scroll {
    width: 0.7rem;
    margin-left: -0.35rem;
}
.service .box2 {
    height: 8.5rem;
    padding-top: 2rem;
}
.service .box2 .inner {
    padding: 0 0.2rem;
}
.service .box2 .headline1 {
    margin-bottom: 0.4rem;
}
.service .box2 .headline1 .tit1 {
    font-size: 0.3rem;
    letter-spacing: normal;
    line-height: 1.5;
}
.service .box2 .txt2 {
    margin-bottom: 0.25rem;
}
.service .box2 .txt2 .txtst1 {
    display: inline;
    font-size: 0.16rem;
    line-height: 2;
}
.service .box3 {
    height: auto;
    min-height: inherit;
    padding: 0.75rem 0 1rem;
}
.service .box3::after {
    height: 5.3rem;
}
.service .box3 ul li {
    position: static;
}
.service .box3 ul li {
    width: 90%;
    height: 2.5rem;
    margin-left: 10%;
    margin-bottom: 0.25rem;
}
.service .box3 ul li a .tit {
    font-size: 0.12rem;
    line-height: 3;
    top: 0.2rem;
}
.service .box3 ul li a .sec {
    width: 75%;
}
.service .box3 ul li.list2 a .sec,
.service .box3 ul li.list3 a .sec,
.service .box3 ul li.list4 a .sec {
    padding-right: 0;
}
.service .box3 ul li a .sec h3 {
    font-size: 0.25rem;
}
.service .box3 ul li a .sec .copy {
    font-size: 0.16rem;
    line-height: 1.5;
    padding: 0.15rem 0 0.3rem;
}
.service .box3 .side-scroll {
    display: none;
}
}


/* company
------------------------------------------------- */
.company {
    background-color: #fff;
    padding-bottom: 1.5rem;
    position: relative;
    z-index: 3;
}
.company .headline1 .tit1 {
    font-size: 0.35rem;
}
.company .copy {
    font-size: 0.18rem;
    line-height: 2.33;
    padding: 2.4rem 0 0.3rem;
}
.company ul li a {
    display: block;
    width: 100%;
    height: 100%;
    border-bottom: 0.005rem dashed #716F6F;
    padding: 0.38rem 0 0.15rem;
    box-sizing: border-box;
    position: relative;
}
.company ul li a::after {
    content: '';
    width: 100%;
    height: 0.01rem;
    background-color: #0F58AA;
    position: absolute;
    left: 0;
    bottom: -0.005rem;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform 1.2s;
}
.company ul li a h3 {
    font-size: 0.3rem;
    line-height: 1;
    color: #0F58AA;
}
.company ul li a h3 span {
	display: block;
	overflow: hidden;
}
.company ul li a h3 span b {
	display: block;
    font-weight: 500;
	position: relative;
	transition: 0.4s;
}
.company ul li a h3 span b::after {
	position: absolute;
	left: 0;
	top: 1.5em;
}
.company ul li:nth-child(1) a h3 span b::after {
	content: '玉川グループとは';
}
.company ul li:nth-child(2) a h3 span b::after {
	content: '代表挨拶・理念';
}
.company ul li:nth-child(3) a h3 span b::after {
	content: '100年の歩み';
}
.company ul li:nth-child(4) a h3 span b::after {
	content: '拠点・グループ紹介';
}

.company ul li.active a::after {
    transform-origin: left top;
    transform: scale(1, 1);
}
.company ul li.active a h3 span b {
	transform: translateY(-1.5em);
}
.company picture {
	width: 6.9rem;
    height: 6.9rem;
    background-color: #fff;
    border-radius: 0.05rem 0 0 0.05rem;
    position: absolute;
    right: 0;
    bottom: 1.5rem;
    overflow: hidden;
    z-index: -999;
    transition: 0.2s;
    opacity: 0;
}
.company picture.active {
    z-index: 5;
    opacity: 1;
}
.company picture a {
	display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.company picture a::after {
	content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(93,135,157,0.5);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    transition: 0.4s;
}
.company picture a img {
	display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
.company picture.active a::after {
    background-color: rgba(93,135,157,0.2);
}
.company picture.active a img {
	transform: scale(1.08);
}
@media screen and (min-width:751px){
.company ul li a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}
.company ul li a:hover h3 span b {
	transform: translateY(-1.5em);
}
.company picture a:hover::after {
    background-color: rgba(93,135,157,0.2);
}
.company picture a:hover img {
	transform: scale(1.08);
}
}
@media screen and (max-width:750px){
.company {
    padding-bottom: 1rem;
}
.company .inner {
    padding: 0 0.2rem;
}
.company .headline1 .tit1 {
    font-size: 0.3rem;
}
.company .copy {
    font-size: 0.16rem;
    line-height: 1.75;
    padding: 0.5rem 0 0.2rem;
}
.company ul li a {
    border-bottom: 0.01rem dotted #716F6F;
    padding: 0.7rem 0 0.1rem;
    margin-top: 0.2rem;
}
.company ul li a h3 {
    font-size: 0.2rem;
}

.company picture {
	width: 1.4rem;
    height: 1rem;
    bottom: 1rem;
    opacity: 1;
}
.company picture.photo1 {
    bottom: 4.62rem;
}
.company picture.photo2 {
    bottom: 3.41rem;
}
.company picture.photo3 {
    bottom: 2.21rem;
}
.company picture.photo2 img {
	object-position: center top;
}
}


/* news
------------------------------------------------- */
.news {
    background-color: #F7F6F5;
    padding: 1.35rem 0 1.1rem;
    position: relative;
    z-index: 3;
}
.news .headline1 {
    margin-bottom: 0.6rem;
}
.news .headline1 .tit1 {
    font-size: 0.35rem;
}
.news .all {
    font-size: 0.14rem;
    line-height: 1.5;
    text-align: right;
    padding-top: 0.3rem;
}
.news .all a {
    position: relative;
}
.news .all a::after {
    content: '';
    width: 100%;
    height: 0.01rem;
    background-color: #1A1A1A;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: scale(1, 1);
    transform-origin: left top;
    transition: transform 0.4s;
}
@media screen and (min-width:751px){
.news .all a:hover::after {
    transform-origin: right top;
    transform: scale(0, 1);
}
}
@media screen and (max-width:750px){
.news {
    padding: 1rem 0;
}
.news .inner {
    padding: 0 0.2rem;
}
.news .headline1 {
    margin-bottom: 0.35rem;
}
.news .headline1 .tit1 {
    font-size: 0.3rem;
}
.news .newslist {
    width: calc(100% + 0.4rem);
    margin-left: -0.2rem;
}
.news .all {
    padding-top: 0.25rem;
    margin-right: -0.2rem;
}
}


/* y100-btn
------------------------------------------------- */
.y100-btn {
    width: 1.42rem;
    height: 1.42rem;
    position: fixed;
    right: 0.5rem;
    bottom: 0.48rem;
    z-index: 20;
    opacity: 0;
}
.y100-btn a {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    font-size: 0.18rem;
    line-height: 1.38;
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
    font-style: italic;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 0.35rem;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}
.y100-btn a::before {
    content: '';
    width: 0.16rem;
    height: 0.18rem;
    background: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2218%22%20viewBox%3D%220%200%2016%2018%22%3E%20%3Cpath%20id%3D%22%E5%A4%9A%E8%A7%92%E5%BD%A2_2%22%20data-name%3D%22%E5%A4%9A%E8%A7%92%E5%BD%A2%202%22%20d%3D%22M9%2C0l9%2C16H0Z%22%20transform%3D%22translate(16)%20rotate(90)%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E') right center no-repeat;
    background-size: cover;
    position: absolute;
    left: 50%;
    bottom: 0.28rem;
    margin-left: -0.08rem;
    z-index: 2;
}
.y100-btn a::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0,64,209,0.2);
    backdrop-filter: blur(15px);
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.4s;
}
.y100-btn a span {
    position: relative;
    z-index: 2;
}
@media screen and (min-width:751px){
.y100-btn a:hover {
    transform: scale(0.9);
}
.y100-btn a:hover::after {
    background-color: rgba(0,64,209,0.5);
}
}
@media screen and (max-width:750px){
.y100-btn {
    width: 1rem;
    height: 1rem;
    right: 0.14rem;
    bottom: 0.35rem;
}
.y100-btn a {
    font-size: 0.16rem;
    line-height: 1.2;
    padding-bottom: 0.25rem;
}
.y100-btn a::before {
    width: 0.128rem;
    height: 0.144rem;
    bottom: 0.175rem;
    margin-left: -0.064rem;
}
}


/* mask
------------------------------------------------- */
.mask {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: url("../img/top/service_bg1.jpg") center center no-repeat;
    background-size: cover;
    mask-image: url("../img/top/mask.svg");  
    mask-repeat: no-repeat;
    mask-position: center center;
    mask-size: 22%;
    z-index: 2;
    opacity: 0;
}
.mask::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(26,26,26,0.7);
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transition: 0.8s;
}
body.is-mask .mask::after {
    opacity: 1;
}
@media screen and (max-width:750px){
.mask {
    height: 100dvh;
    background-image: url("../img/top/service_bg1_sp.jpg");
    mask-size: 40%;
}
.mask::after {
    opacity: 0.5;
}
}


/* movie
------------------------------------------------- */
.movie1 {
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
}
.movie1::after {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(26,26,26,0.1);
    position: absolute;
    left: 0;
    top: 0;
}
.movie1 video {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    object-fit: cover;
}
@media screen and (max-width:750px){

}