@charset "UTF-8";

/*==========
contents共通
==========*/
section.contents h2{
    font-family: var(--fontM);
    font-size: var(--font-title);
    font-weight:800;
    position: relative;
}

/*===============
loading
===============*/
.loading {
  position: fixed;
  inset: 0;
  z-index: 10;
  height: 100svh;
  background-color: #333;
}

.loading__inner {
  width: 100%;
  height: inherit;
  display: grid;
  place-content: center;
  row-gap: 10px;
}

.loading__text {
  text-align: center;
  color: #fff;
  margin: 0 auto;
  width: max(460px, 100%);
}
.loading__text img{
    display: block;
    width: 100%;
}

/*===============
inner
===============*/
#view{
    width: 100%;
    height: 100dvh;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* #view figure{
    max-width: 460px;
    width: 80%;
    z-index: 1;
} */

#view video{
    object-fit: cover;
    height: 100%;
    /* transform: translate(0, -20%); */
    /* position: absolute; */
}
#strength{
    background:url(/images/strengths/bg.jpg);
    background-size:100%;
    background-position: right center;
    background-repeat: no-repeat;
    width: 100%;
    padding: 12% 0 18%;
}
#strength .inner{
    width: var(--innerwidth);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
#strength .inner p{
    line-height: 2.4em;
    max-width:580px;
    margin: 0 0 3% 0;
}
#business{
    position: relative;
    padding: 10% 0 20%;
}
#business .inner{
    width: var(--innerwidth);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
#business .inner h2{
    margin: 0 2% 3% auto;
}
#business .inner h2 b{
    margin: 0 2% 1% auto;
    width: fit-content;
}
#business .inner h2:after{
    content: "";
    background: var(--color02);
    width: 600px;
    height: 1px;
    position: absolute;
    bottom: -8px;
    right: 0;
}
#business .inner h4{
    margin: 0 2% 3% auto;
}
#business .inner p{
    line-height: 2.4em;
    max-width: 620px;
    margin: 0 2% 3% auto;
}
#business .inner .link{
    margin: 0 2% 0 auto;
}
#business .visual{
    width: 100vw;
    height: 60vw;
    position: absolute;
    top:0;
    left:0;
    z-index: -1;
}
#business .visual img:nth-child(1){
    max-width: 340px;
    max-height: 320px;
    width: 18vw;
    height: 18vw;
    position: absolute;
    top: -5%;
    left: 5%;
}
#business .visual img:nth-child(2){
    max-width: 400px;
    max-height: 490px;
    width: 20vw;
    height: 25vw;
    position: absolute;
    top: 30%;
    left: 20%;
}
#business .visual img:nth-child(3){
    max-width: 430px;
    max-height: 247px;
    width: 23vw;
    height: 13vw;
    position: absolute;
    top: 73%;
    left: 10%;
}

#technology{
    background:url(/images/technology/bg.png);
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    width: var(--innerwidth);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    padding: 10% 0 20%;
}
#technology .inner{
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
#technology .inner h2{
    margin: 0 0 3% 0;
}
#technology .inner h2 b{
    margin: 0 0 1% 0;
    width: fit-content;
}
#technology .inner h2:after{
    content: "";
    background: var(--color02);
    width: 600px;
    height: 1px;
    position: absolute;
    bottom: -8px;
    right: 0;
}
#technology .inner h4{
    margin: 0 0 3% 0;
}
#technology .inner p{
    line-height: 2.4em;
    max-width: 620px;
    margin: 0 0 5% 0;
}
#technology .inner p b{
    display: block;
    border:1px solid var(--colorW);
    width:fit-content;
    height: fit-content;
    padding: 0 3%;
    margin: 0 0 1%;
}
#technology .inner .link{
    margin: 0 0 0 0;
}
#technology .visual{
    width: 40%;
}

#equipment .inner{
    width: 90%;
    padding: 5% 0;
}
#equipment .inner h2{
    margin: 0 0 3% auto;
}
#equipment .inner h2 b{
    margin: 0 0 1% auto;
    width: fit-content;
}
#equipment .inner h2:after{
    content: "";
    background: var(--color02);
    width: 600px;
    height: 1px;
    position: absolute;
    bottom: -8px;
    right: 0;
}
#equipment .inner p{
    line-height: 2.4em;
    text-align: right;
    margin: 0 0 1% auto;
    width: 100%;
}
#equipment .inner .link{
    margin: 0 0 5% auto;
}
#equipment .inner .swiper {
    width: 92%;
    /* z-index: 999; */
}
#equipment .inner .swiper ul li.photo{
    margin: 0 0 4%;
    max-height: 270px;
    overflow: hidden;
}
#equipment .inner .swiper ul li.photo img{
    height: 100%;
    object-fit: contain;
}
#equipment .inner .swiper ul li.title{
    border: 1px solid var(--colorW);
    border-radius:60px;
    text-align: center;
    padding: 2% 0;
    width: 100%;
    min-height: 54px;
    position: relative;
}
#equipment .inner .swiper ul li.title span{
    display: inline-block;
    border: 1px solid var(--colorW);
    border-radius: 100px;
    width: 37px;
    height: 37px;
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translate(0, -50%);
    transition: all ease 0.5s;
}
#equipment .inner .swiper ul:hover li.title span{
    background:  var(--colorB);
    right: 0;
}
#equipment .inner .swiper ul li.title span:after{
    content:"";
    background:url(/images/arrow_w.svg);
    background-size:100%;
    background-repeat: no-repeat;
    width:12px;
    height:8px;
    position: absolute;
    top:50%;
    right:10%;
    transform: translate(0,-50%);
}
#materials{
    background:url(/images/materials/bg.png);
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    width: var(--innerwidth);
    display: flex;
    flex-wrap: wrap;
}
#materials h2{
    display: flex;
    align-items: center;
    padding: 0 12px 5px;
    border-bottom: 1px solid var(--color02);
}
#materials h2 b{
    margin: 0 20px 0 0;
}
#materials .inner{
    width: 50%;
    margin: 0 auto 0 0;
    height: 35vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#materials .innerTitle{
    background: var(--color01);
}
#materials .innerText{
    align-items: center;
}
#materials .innerText p{
    border: 1px solid var(--colorW);
    border-radius: 20px;
    height: fit-content;
    width: fit-content;
    padding: 6% 6%;
}
#about{
    background:url(/images/about/bg.png);
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    width: var(--innerwidth);
    padding: 3% 0 0;
    overflow: hidden;
}
#about figure.role{
    margin: 0 auto 3%;
}
#about .inner{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width:1350px;
    margin: 0 auto 6%;
}
#about .inner a{
    background: var(--color01);
    width: 46%;
    margin: 4% 2% 2%;
    padding: 4% 0;
    /* z-index: 999; */
}
#about .inner a h2{
    text-align: center;
    width: 100%;
    margin: 0 auto 2%;
}
#about .inner a h2 b{
    border-bottom: 1px solid var(--color02);
    margin: 0 auto 2%;
    padding: 0 0 4%;
}
#about .inner a .link{
    margin: 0 auto;
}

@media print, screen and (min-width:769px){

}
@media print, screen and (min-width:769px) and (max-width:1200px){

}
@media print, screen and (max-width:768px){
    /*==========
    contents共通
    ==========*/
    section.contents{
        overflow: hidden;
        width: 90%;
        font-size: var(--font14-16);
    }
    /*==========
    Main
    ==========*/
    main{
        overflow: hidden;
        background-size: cover;
        background-position: center;
    }

    /*===============
    inner
    ===============*/
    #view{
        height: unset;
        padding: 18vw 3vw 0;
    }
    #view video{
        transform: translate(0, 0);
        object-fit: contain;

        height: 60vw;
    }
    #strength{
        width: 90%;
        background-size: cover;
        background-position: right 40% center;
        padding: 0 0 18%;
    }
    #strength .inner{
        padding: 20% 0;
    }
    #business{
        display: flex;
        flex-wrap: wrap;
    }
    #business .inner{
        width: 100%;
        order:2;
    }
    #business .inner .link a{
        padding: 0;
    }
    #business .visual{
        width: 100%;
        order:1;
        position: relative;
    }
    #business .visual img:nth-child(1){
        width: 27vw;
        height: 27vw;
        top: -6%;
        left: 4%;
    }
    #business .visual img:nth-child(2){
        width: 30vw;
        height: 44vw;
        top: 10%;
        left: 62%;
    }
    #business .visual img:nth-child(3){
        width: 33vw;
        height: 22vw;
        top: 50%;
        left: 12%;
    }
    #technology .inner{
        width: 90%;
    }
    #technology .visual{
        width: 70%;
        margin: 10% 0 0 auto;
    }
    #equipment .inner{
        padding: 0 0 0;
        width: 100%;
    }
    #equipment .inner h2{
        margin: 0 auto 5%;
        width: 90%;
    }
    #equipment .inner h2 b{
        margin: 0 0 1%;
    }
    #equipment .inner p{
        line-height: 2.0em;
        text-align: left;
        margin: 0 auto 3%;
        width: 90%;
    }
    #equipment .inner .swiper{
        margin: 10% auto;
        /* z-index: 999; */
        width: 100%;
    }
    #equipment .inner .swiper ul li.title{
        border-radius: 10px;
        font-size:0.8em;
    }
    #equipment .inner .swiper ul li.title span{
        width:17px;
        height:17px;
    }
    #equipment .inner .swiper ul li.title span:after{
        width: 8px;
        height: 6px;
    }
    #materials{
        background-position: right center;
        padding: 10% 0;
    }
    #materials h2{
        flex-wrap: wrap;
    }
    #materials h2 b{
        width:100%;
        margin: 0 0 4%;
    }
    #materials .inner{
        width: 100%;
        padding: 10% 0;
        height: unset;
    }
    #materials .innerTitle{
        background: unset;
    }
    #materials .innerText p{
        border-radius: 10px;
        width: 90%;
    }
    #about{
        padding: 10% 0 0;
    }
    #about .inner{
        padding: 10% 0;
    }
    #about .inner a{
        width:90%;
        padding: 8% 0;
    }
    #about .inner a h2{
        margin: 0 auto 7%;
    }
    #about .inner a h2 b{
        margin: 0 auto 4%;
        padding: 0 0 7%;
    }
}