@charset "utf-8";
body{
    font-family: "Noto Serif JP", serif;
    font-size: max(1.4vw,14px);
    color: #4d4d4d;
}
.ffLato{
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
}
.ffBarlow{
    font-family: "Barlow Condensed", sans-serif;
    letter-spacing: .1em;
}
.innerWrap{
    width: 85%;
    margin: 0 auto;
}

/*ローディングアニメーション--------------------------------------------------*/
#loadingLogo{
    width: 100vw;
    height:100vh;
    background-color: #fff;  
    z-index: 10000;
    display: none;
    position: fixed;
}
#loadingLogo svg{
    font-weight:bold;
    font-size: max(5vw, 25px);;
    height:auto;
    width: fit-content;
    margin-top: 40vh;
}
#loadingLogo.show {
	display: block;
	animation: fadein-keyframes 1s ease 2.5s 1 forwards;
}
@keyframes fadein-keyframes {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0;
    }
  }
/* スクロールアニメーション */
.fadein{
    opacity: 0;
    transform: translate(0,100px);
    transition: all 2s;
}
.fadein.left{
    transform: translate(-100px,0);
    transition: all 3.5s;
}
.fadein.left.leftdelay{
    transform: translate(-100px,0);
    animation-name: fadeInleft2s;
    animation-delay: 2s;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}
.fadein.right{
    transform: translate(100px,0);
    transition: all 3.5s;
}
@keyframes fadeInleft2s {
    0% {
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/* スクロール後のこと */
.fadein.scrollin{
    opacity: 1;
    transform: translate(0,0);
}

/*ヘッダー--------------------------------------------------*/
header{
    height: 11vw;
    min-height: 50px;  
}
.header__container{
    display: flex;
    align-items: center;
    height: 100%;
    justify-content:space-between;
}
header h1{
    width: 11vw;
    height: 8vw;
    margin-left: 3vw;
}
header h1 img{
    width: 100%;
    height: 100%;
}
header nav ul{
    display: flex;
    justify-content:space-between;
    letter-spacing: .06em;
}
header nav ul li{
    margin-right: 4vw;
    font-weight: 500;
    position: relative;
}
header nav ul li::before {
	background: hsl(170, 37%, 81% ,0.9);
	bottom: -10px;
	content: '';
	display: block;
	height: 2px;
	left: 0;
	position: absolute;
	width: 100%;
	z-index: -1;
}
header nav ul li::after {
	background: #2c9ee1;
	bottom: -10px;
	content: '';
	display: block;
	height: 2px;
	left: 0;
	position: absolute;
	transition: all .4s ease-in-out;
	width: 0;
	z-index: 0;
}
header nav ul li:hover::after {
	width: 100%;
}
input[type="checkbox"] {
    visibility: hidden;
}

/*メインビジュアル--------------------------------------------------*/
.mvSec{
    margin-bottom: 10vw;
    background: url(../images/mainvisual.jpg)no-repeat center/cover;
    height: 56vw;
    width: 100%;
    padding-top: 22vw;
    position: relative;
}
/* ボカしスクロール */
.blur{
    filter: blur(5px);
    transition: all 1s;
}
.blur.notblur{
    filter: blur(0);
}
h2{
    text-transform: uppercase;
    font-size: max(5vw,25px);
    font-weight: 500;
    color: #fff;
    letter-spacing: .04em;
    margin-left: 3vw;
    margin-bottom: -7px;
}
.mvSec>p{
    height: max(3.5vw, 23px);
    width: max(32vw, 170px);
    margin-top: max(1vw,6px);
}
.mvSec p img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* スクロールバー */
.scroll {
    position  : absolute;
    font-size : max(1.8vw,12px);
    writing-mode : vertical-rl;
    bottom : 5%;
    left : 50%;
    transform: translateX(-50%) translateY(-50%);
}
.scroll::after {
    content : '';
    display : inline-block;
    position : absolute;
    background-color: #000;
    right : 50%;
    bottom : -115px;
    transform : translateX(-50%);
    width : 1px;
    height : 100px;
    animation: scroll 1.5s infinite;
}
@keyframes scroll {
    0% {
      transform: scale(1, 0);
      transform-origin: 0 0;
    }
    50% {
      transform: scale(1, 1);
      transform-origin: 0 0;
    }
    50.1% {
      transform: scale(1, 1);
      transform-origin: 0 100%;
    }
    100% {
      transform: scale(1, 0);
      transform-origin: 0 100%;
    }
  }

/*アバウト--------------------------------------------------*/
.aboutSec{
    margin-bottom: 17vw;
}
/* 各セクションタイトル文字 */
h3{
   font-size: max(3vw,20px);
   text-align: center;
   color: #122d5e;
   letter-spacing: .05em;
   position: relative;
   margin: 0 auto 10vw;
   width: fit-content;
}
h3::after{
    content: '';
    position: absolute;
    top: max(3.5vw, 21px);
    left: 0;
    width: max(11.4vw, 75px);
    height: max(2.3vw, 15px);
    background:  url(../images/tittle_about.png) no-repeat center / cover;
}
.aboutSecDescription{
    width: 90%;
    margin:0 auto;
}
.aboutSecDescription .ffLato {
    color: #122d5e;
    text-transform: capitalize;
    text-align: center;
}
.aboutSubtittle{
    font-weight: 300;
    font-style: italic;
    font-size: max(2.4vw,20px);
}
.aboutTittle{
    font-size: max(3vw,25px);
    position: relative;
    margin-bottom: max(4vw,30px);
}
.aboutSecDescription p:nth-child(3){
    width: 24vw;
    height: 24vw;
    min-width: 140px;
    min-height: 140px;
    border-radius: 50%;
    margin: 0 auto max(3vw,25px);
}
.aboutSecDescription p img{
    height: 100%;
    width: 100%; 
    object-fit: cover;
}
.aboutFirstp{
    margin-bottom: 6vw;
    line-height: 1.7;
    letter-spacing: .1em;
}
.aboutFirstp span{
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.03em;
    color: #01afb9;
}
.aboutSecondp{
    margin-bottom: max(0.7vw,15px);
    letter-spacing: .08em;
}
.aboutSec ul{
    margin-bottom: max(7vw,70px);
    letter-spacing: .1em;
}
.aboutSec ul li{
    margin-bottom: max(0.9vw,20px);
}
/* ヒトデ */
.aboutSec ul ::before{
    content: "";
    position: relative;
    display: inline-block;
    background: url(../images/about_list.svg)no-repeat center/cover;
    width: max(2vw,16px);
    height: max(2vw,16px);
    top: max(0.5vw,2px);
    margin-right: max(0.4vw,4px);
}
.aboutBackground .ffLato{
    font-size: max(2.4vw,20px);
    color: #122d5e;
    text-align: center;
    margin-bottom: max(2.4vw,15px);
    letter-spacing: .06em;
}
/* 経歴の年表 */
.aboutBackground dl>div{
    display: flex;
    margin: 0  auto max(7.7vw,40px) 3vw;
    width: 80%;
    position: relative;
}
.aboutBackground dl div dt{
    margin-right: 9vw;
}
.backgroundDescription :first-child{
    font-weight: 700;
    margin-bottom: 1.5vw;
    letter-spacing: .08em;
}
.backgroundDescription :last-child{
    line-height: 1.6;
    letter-spacing: .1em;
}
/* 経歴の縦棒 */
.aboutBackground dl{
    border-left: 3px solid #e3e3e3;
    position: relative;
}
/* 経歴のさめ */
.aboutBackground dl::before {
    content: "";
    position: absolute;
    display: block;
    background: url(../images/about_backgroundlist.svg)no-repeat center/cover;
    width: max(2.9vw,25px);
    height: max(4.3vw,34px);
    bottom: 100%;
    left: min(-2vw,-17px);
    animation-duration: 6s;
    animation-name: top-to-bottom;
    animation-iteration-count: infinite;
}
@keyframes top-to-bottom {
    0% {
      opacity: 1;
    }
    90%{
      opacity: .9;
    }
    100% {
      opacity: 0;
      bottom: 0;
    }
  }

/*ワークス--------------------------------------------------*/
.worksSec{
    margin-bottom: max(7vw,50px);
    background-color: #01afb9;
    padding: 1vw 0 0;
    position: relative;
}
/* 下波の調整 */
@media screen and (min-width:1730px) {
    .worksSec{
        margin-bottom: 5%;}
}
.worksSec h3::after{
    content: '';
    background: url(../images/tittle_works.png) no-repeat center/cover;
    width: max(11.8vw,79px);
}
/* ワークス波の部分 */
.waves{
    width: 100vw;
    height:15vh;
    margin-bottom:-7px; /*サファリとのギャップ*/
    min-height:100px;
    max-height:150px;
  }
.waves_down{
    transform: scale(1 , -1);
    margin-top: min(-10vw,-50px);
}
/* アニメーション */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}
@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% { 
        transform: translate3d(85px,0,0);
    }
}
.worksList ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3vw;
    margin-top: -4vw;
}
.worksList ul li img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
/* ワークス実績ホバー時のモーション */
.worksList ul li {
	width: 270px;
	height:	195px;
	margin:	10px 8px 30px 16px;
	position: relative;
}
/* ホバー時の文字 */
.worksList ul li .caption {
	font-size: 20px;
	text-align: center;
	padding-top: 80px;
	color: #fff;
}
/* ホバー時の背景 */
.worksList ul li .mask {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(22,56,116,0.4);
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}
.worksList ul li:hover .mask {
	opacity:		1;
}
.worksList ul li:hover{
    transform: scale(1.15);
    opacity: 0.8;
}

/*スキル--------------------------------------------------*/
.skillsSec{
    margin-bottom: 13vw;
}
.skillsSec h3::after{
    content: '';
    background: url(../images/tittle_skills.png)no-repeat center/cover;
    width: max(10.1vw, 68px);
    height: max(2.5vw, 17px);
}
.skillsDetail{
    display: flex;
    justify-content: space-around;
}
.skillsDetail div:last-child{
    background: linear-gradient(to bottom, #01afb9 40%, #53b5a3)
}
.skillsDescription{
    background-color: #53b5a3;
    width: 30vw;
    height: 30vw;
    min-width: 275px;
    min-height: 275px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    padding: 3vw 2vw;
    position: relative;
}
.skillsDescription p:first-child{
    font-size: max(1.9vw,18px);
    margin-bottom: max(2.4vw,10px);
    letter-spacing: .08em;
}
.skillsDescription p:nth-child(2){
    margin-bottom: max(2.4vw,10px);
    line-height: 1.7;
    letter-spacing: .05em;
}
.skillsDescription p:last-child{
    letter-spacing: .07em;
    line-height: 1.5;
}
/* スキルデザインの周りの装飾 */
.skillsDetail >.skillsDescription:first-child::before, .skillsDetail >.skillsDescription:first-child::after{
    content: '';
    position: absolute;
    display: block;
    background: url(../images/skills_waterball.png)no-repeat center/cover;
    width: max(5.8vw, 30px);
    height: max(24.2vw, 125px);
    z-index: -1;
}
.skillsDetail >.skillsDescription:first-child::before{
    top: min(-22vw, -120px);
    left: max(10vw, 40px);
}
.skillsDetail >.skillsDescription:first-child::after{
    bottom: min(-18vw, -72px);
    right: max(3vw, 25px);
    transform: scale(-1, -1);
}
/* スキルコーディングの周りの装飾 */
.skillsDetail >.skillsDescription:last-child::before, .skillsDetail >.skillsDescription:last-child::after{
    content: '';
    position: absolute;
    display: block;
}
.skillsDetail >.skillsDescription:last-child::before{
    background: url(../images/skills_water\ drop.png)no-repeat center/cover;
    width: max(12vw, 92px);
    height: max(21vw, 180px);
    top: min(-22.7vw, -239px);
    right: 8vw;
}
.skillsDetail >.skillsDescription:last-child::after{
    background: url(../images/skills_waterdrop2.png)no-repeat center/cover;
    width: max(17.9vw, 30px);
    height: max(8.3vw, 28px);
    bottom: min(-18vw, -99px);
    left: 9vw;
}

/*コンタクト--------------------------------------------------*/
.contactSec{
    margin-bottom: 7vw;
    background: url(../images/contact_background.png)no-repeat center/cover;
    padding: 12.5vw 0;
    position: relative;
    height: 60.2vw;
    text-align: center;
}
.contactSec h3::after{
    background: url(../images/tittle_contact.png)no-repeat center/cover;
    width: max(15.3vw, 101px);
    height: max(2.2vw, 15px);
}
.contactSec p{
    font-size: max(1.5vw,10px);
    color: #fff;
    font-weight: bold;
    margin-bottom: max(3.5vw,13px);
    letter-spacing: .1em;
}
.contactSec .innerWrap div{
    background-color: #fff;
    color: #122d5e;
    width: 70%;
    height: 7.1vw;
    line-height: 7.1vw;
    border-radius: 5px;
    margin: 0 auto;
    font-size: max(3vw,16px);
}
.contactSec .innerWrap div .ffLato{
    text-transform: lowercase;
    letter-spacing: .05em;
}

/*フッター--------------------------------------------------*/
footer{
    background-color: #fff;
}
footer p:first-child{
    font-size: max(1.8vw,12px);
    font-weight: 600;
    color: #122d5e;
    text-align: center;
    margin-bottom: max(4.9vw,25px);
    letter-spacing: .1em;
}
footer nav ul{
    display: flex;
    justify-content: space-between;
    width: 35%;
    margin: 0 auto 7.9vw;
}
footer .ffLato{
    font-weight: 500;
    text-align: center;
}
footer small{
    text-transform: capitalize;
    letter-spacing: .1em;
}

/*ワークス詳細*/
/*山田建設会社の詳細ページ--------------------------------------------------*/
.worksDetailSec h3{
    margin-bottom: 0;
}
.worksDetailSec h3::after{
    background: url(../images/tittle_works.png) no-repeat center / cover;
    width: max(11.8vw, 79px);
}
.worksDetailPhoto{
    width: 90%;
    height: auto;
    margin: 0 auto;
}
.worksDetailSec img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.worksDescription{
    width: 85%;
    margin: 0 auto 10vw;
}
.worksDescriptionTittle{
    display: flex;
    align-items: center;
    margin-bottom: max(5vw,40px);
}
.worksDescriptionTittle h4{
    font-size: max(3vw,18px);
    margin-right: max(3vw,15px);
    letter-spacing: .1em;
}
.worksDescriptionTittle p{
    font-size: max(1.9vw,16px);
}
/* 実績説明文の前後の波の部分 */
.worksDescriptionList{
    position: relative;
    margin-bottom: max(13vw,75px);
}
.worksDescriptionList::after,.worksDescriptionList::before{
    content: url(../images/wave.svg);
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
}
.worksDescriptionList::before{
    top: min(-3vw,-29px);
}
.worksDescriptionList::after{
    bottom: min(-3vw,-29px);
}
.worksDescriptionList dl div{
    display: flex;
    font-size: max(1.6vw,12px);
    margin-bottom: max(4vw,40px);
    justify-content: center;
}
.worksDescriptionList dl div:last-child br{
    display: none;
}
.worksDescriptionList dl dt{
    color: #53b5a3;
    width: max(20%,80px);
}
.worksDescriptionList dl dd{
    line-height: 1.7;
    letter-spacing: .08em;
    width: 75%;
}
.worksDescriptionImg{
    display: flex;
    width: 100%;
    height: 23vw;
    justify-content: space-between;
    margin-bottom: max(10vw,60px);
}
.worksDescriptionImgPC{
    border: 2px outset #00688c;
    flex-basis: 60%;
    overflow: scroll;
}
.worksDescriptionImgSP{
    border: 2px outset #00688c;
    flex-basis: 35%;
    overflow: scroll;
}
/* 次へ,戻るボタン */
.worksDescription .btn{
    display: flex;
    justify-content: space-around;
}
.worksDescription .btn div:hover {
    background-color: #fff;
    border: 2px solid #53b5a3;
}
.worksDescription .btn div{
    background-color: #53b5a3;
    width: 23vw;
    height: 23vw;
    min-width: 180px;
    min-height: 180px;
    border-radius: 50%;
    color: #122d5e;
    text-align: center;
    padding: max(7.6vw,54px) 0;
}
.btnGradetion{
    background: linear-gradient(to bottom, #53b5a3,#01afb9 60%);
}
.btnGradetion:hover{
    background: none;
}
.worksDescription .btn div p:last-child{
    font-size: max(3vw,20px);
    font-weight: 500;
}
/*リラックスセント--------------------------------------------------*/
.design{
    justify-content: center;
    height: 29vw;
}


/*スマホサイズ--------------------------------------------------*/
@media screen and (max-width:700px){
/*ヘッダー--------------------------------------------------*/
    
/*メインビジュアル--------------------------------------------------*/
        .scroll::after{
            height: 50px;
            bottom: -55px;
        }
/*アバウト--------------------------------------------------*/
        h3{
            margin-bottom: 15vw;
        }
        .aboutSecDescription{
            width: 100%;
        }
        .aboutFirstp{
            margin-bottom: 10vw;
        }
        .backgroundDescription :first-child {
            margin-bottom: 4vw;
        }
        .backgroundDescription :last-child {
            line-height: 2;
        }

/*ワーク--------------------------------------------------*/
        .worksSec{
            padding: 9vw 0;
        }
        .worksSec .innerWrap::before{
            top: min(-10vw,-58px);
        }
        .worksSec .innerWrap::after{
            bottom: min(-10vw,-58px);
        }
        .worksList ul{
            justify-content: center;
        }
        .worksList ul li{
            width: 100%;
            height: 100%;
            margin-bottom: 50px;
        }
        .worksList ul li .caption{
            padding-top: 29vw;
        }
/*スキル--------------------------------------------------*/
        .skillsDetail{
            display: block;
        }
        .skillsDescription{
            margin: 0 auto 70px;
            width: 47vw;
            height: 47vw;
            padding: 7vw 4vw;    
        }
        .skillsDetail >.skillsDescription:last-child::before{
            display: none;
        }
/*コンタクト--------------------------------------------------*/
        .contactSec .innerWrap div{
            width: 100%;
        }
        .contactSec h3{
            margin-bottom: 8vw;
        }
/*フッター--------------------------------------------------*/
        footer nav ul{
            width: 78%;
        }

/*ワークス詳細*/
/*山田建設会社の詳細ページ--------------------------------------------------*/
        .worksDetailPhoto{
            margin-bottom: 3vw;
        }
        .worksDescriptionTittle{
            display: block;
        }
        .worksDescriptionList dl div:last-child br{
            display: block;
        }
        .worksDescription .btn{
            display: block;
        }
        .worksDescription .btn div{
            margin: 0 auto 7vw;
        }
}