*{
    box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body{
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: #505050;
  background-color: #f9f9f9;
}
.inner{
    max-width: 1000px;
    margin: 0 auto 70px auto;
    padding: 0 20px;
}
.en{
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
section{
    padding-bottom: 170px;
}
.title{
    color: #749EB6;
    font-size: 34px;
    display: flex;
    justify-content: center;
}
/* header */
.nav-inner{
    max-width: 1000px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
}
.headernav-ul{
    display: flex;
    justify-content: center;
    gap: 43px;
    padding-top: 63px;
}
.headernav-ul li{
    width: 58px;
    border-top: solid 1px #749EB6;
    padding-top: 27px;
    text-align: center;
}
.headernav-ul li:hover{
    border-top: solid 2px #749EB6;
}
.headernav-ul a{
    color: #749EB6;
    font-size: 14px;
}
.fadeIn{
    opacity: 0;
    transition: 2s;
}
.fadeIn.is-show{
    opacity: 1;
}
/* fv */
.fv{
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 13px;
}
.fv-text{ 
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.fv-name{
    font-size: 24px;
    font-weight: 400;
}
.fv-photo img{
    width: 552px;
}
.scroll-indicator{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: rgba(0,0,0,0.2);
    overflow: hidden;
}
.scroll-indicator span{
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #749EB6;
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% {
    top: -100%;
  }
  50% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}
/* about */
#about{
    margin-top: 100px;
}
.about-inner{
    display: flex;
    justify-content: center;
    gap: 52px;
    padding-top: 106px;
}
.about-left{
    width: 317px;
}
.about-left h3{
    font-size: 24px;
}
.h3-blue{
    color: #749EB6;
    font-size: 14px;
    padding-left: 13px;
}
.about-left p{
    padding-top: 34px;
    line-height: 25px;
}
.about-p2{
    padding-top: 25px;
    padding-bottom: 30px;
}
.about-left a{
    color: #505050;
    display: block;
    text-align: right;
    margin-right: 23px;
}
.about-left a::after{
    content:"";
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url(images/＋.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 5px;
    vertical-align: middle;
}
.about-right img{
    width: 427px;
}
/* works */
.works-inner{
    display:flex;
    gap: 36px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 92px;
}
.works-image{
    border: solid 1px rgba(80, 80, 80, 0.2);
    overflow: hidden;
}
.works-image img{
    width: 264px;
    transition: transform .6s ease;
}
.works-image img:hover{
    transform: scale(1.1);

}
/* contact */
.contact-tx{
    display: flex;
    justify-content: center;
    text-align: center;
    line-height: 25px;
    padding-top: 17px;
}
.contact-button{
    background-color: #ffffff;
    width: 276px;
    border-radius: 30px;
    padding: 16px 60px;
    border: solid 0.5px #749EB6;
    display: flex;
    justify-content: center;
    margin: 40px auto;
    color: #749EB6;
    transition: all 0.5s;
}
.contact-button a{
    color: #749EB6;
}

.contact-button:hover{
    background-color: #749EB6;
    color:#ffffff;
}
.contact-button a:hover{
    color: #ffffff;
}
/* footer */
.footer-nav{
    display: flex;
    justify-content: space-between;
}
.footernav-ul{
    display: flex;
    gap: 35px;
}
.footernav-ul a{
    color: #505050;
    transition: all 0.5s ease;
}
.footernav-ul a:hover{
    opacity: 0.7;
}
footer p{
    font-size: 10px;
}
/* about */
.about-grid{
    display: grid;
    grid-template-columns: 1fr 317px 427px 1fr;
    grid-template-rows: auto auto;
    gap: 52px;
    padding-top: 106px;
}
.about-grid-item1{
    grid-column: 2/3;
    grid-row: 1/2;
}
.about-grid-item2{
    grid-column: 3/4;
    grid-row: 1/2;
}
.about-grid-item3{
    grid-column: 2/4;
    grid-row: 2/3;
}
.about-grid h3{
    font-size: 24px;
}
.about-grid-item1 p{
    padding-top: 34px;
    line-height: 25px;
}
.about-p2{
    padding-top: 25px;
    padding-bottom: 30px;
}
.about-grid-item2 img{
    width: 427px;
}
.about-grid-item3 p{
    line-height: 25px;
    padding-bottom:30px; 
}
/* skills */
.skills{
    display: flex;
    justify-content: center;
    gap: 80px;
}
.skills-inner{
    width: 317px;
    padding-top: 65px;
}
.skills-title{
    display: flex;
    gap: 20px;
}
.skills-title img{
    width: 73px;
}
.skills-title-inner span{
    color: #749EB6;
    font-size: 34px;
}
.skills-title-inner h3{
    font-size: 24px;
    color: #749EB6;
    padding-top: 10px;
}
.skills-inner >p{
    line-height: 25px;
    padding-top: 17px;
}
.skills-detail{
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 40px;
}
.skills-detail p{
    font-size: 12px;
    padding: 10px 36px;
    background-color: #ffffff;
    border-radius: 20px;
    border: solid 0.5px #505050;
}
/* favorite */
.favorite-inner{
    display: flex;
    gap: 34px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 80px;
}
.favorite-image{
    position: relative;
}
.favorite-image img{
    width: 263px;
    opacity: 0.9;
    transition: all 0s ease;
}

.favorite-explain{
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
    padding: 5px 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.5s ease;
    font-size: 12px;
    bottom: -15px;
}
.favorite-image img:hover{
    transform: scale(0.9);
}
.favorite-image:hover .favorite-explain{
    opacity: 1;
    visibility: visible;
}
/* works */
.workspage-inner{
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 30vw;
}
.workspage-inner img{
    width: 25vw;
    padding-top: 55px;
    margin: 0 auto;
}
.works-office{
    padding-top: 35px;
    font-size: 24px;
}
.workspage-inner >p{
    padding-top: 12px;
    line-height: 25px;
}
.pagetop{
    position: fixed;
    bottom: 38px;
    right: 20px;
    background-color: #749EB6;
    width: 80px;
    height: 80px;
    color: #ffffff;
    text-align: center;
    padding: 28px 24px;
    border-radius: 50%;
}
@media screen and (max-width: 768px) {
.inner{
    max-width: 100%;
}
section{
    padding-bottom: 100px;
}
.headernav-ul{
    padding-top: 40px;
}
nav{
    position: fixed;
    background-color: #f9f9f9;
    z-index: 100;
}
main{
    padding-top: 100px;
}
/* fv */

.fv-photo img{
    width: 100%;
}
/* about */
.about-inner{
    display: flex;
    justify-content: center;
    gap: 52px;
    padding-top: 100px;
    flex-direction: column;
}
.about-left{
    order: 2;
    width: 100%;
}
.about-right{
    order: 1;
}
.about-right img{
    width: 100%;
}
/* footer */
.footer-nav{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.footernav-ul{
    justify-content: center;
}
footer p{
    width: 100px;
    margin: 20px auto;
}
/* about */
.about-grid{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding-top: 60px;
}
.about-grid-item1{
    grid-column: 1/2;
    grid-row: auto;
}
.about-grid-item2{
    grid-column: 1/2;
    grid-row: auto;
}
.about-grid-item3{
    grid-column: 1/2;
    grid-row: auto;
}
.about-grid-item2 img{
    width: 100%;
}
.skills{
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.skills-inner{
    width: 100%;
}
.favorite-image.is-active .favorite-explain{
    opacity: 1;
    visibility: visible;
}
/* works */
.workspage-inner img{
    width: 100%;
}
.workspage-inner{
    margin-top: 100px;
}
}



