@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Monda:wght@400..700&family=Noto+Sans+JP:wght@100..900&display=swap');
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

main{
    color: #212121;
    font-size: 12px;
}
nav{
    width: 100%;
    height: 100px;
    color: #212121;
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 1000;
}
header .mobile{
    display: none;

}
nav .desktop{
    font-family: 'Inria Sans', serif;
    font-size: 24px;
    font-weight: 800;
    flex: 1;
    margin-left: 4%;
}
.humburger{
    display: none;
    font-size: 2rem;
    color: #212121;
    z-index: 2000;
}
.nav-links{
    list-style: none;
    flex: 4;
    text-align: right;
    margin-right: 2%;
}
.nav-links li{
    display: inline;    
}

.nav-links li a{
    font-family: 'BIZ UDPGothic', serif;
    font-size: 14px;
    text-decoration: none;
    color: #212121;
    margin: 1em;
}
.nav-links li a:hover{
    color: #737373;
}
.nav-links li a:active{
    color: #a1a1a1;
}

.section-1{
    width: 100%;
    height: 380px;
}
.section-1 div{
    position: absolute;
    top: 200px;
    left: 100px;
    font-size: 20px;
}
.top{
    width: 100%;
    height: 300px;
    /* background: rgb(196, 205, 187); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #212121;
    font-family: 'Inter', sans-serif;
    font-size: 36px;
}
.top-img{
    width: 200px;
    height: 200px;
}
.top-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4%;
}
.top h1{
    font-family: 'Inter', sans-serif;
    margin-left: 50px;
    letter-spacing: 0.2em;
    line-height: 44px;
    font-size: 36px;
    font-weight: 500;
    width: auto;
    height: 88px;
    /* background: linear-gradient(transparent 85%, rgb(236, 195, 71)80%); */

}
.top h1 span{
    background: linear-gradient(transparent 75%, rgb(236, 195, 71)80%);
}



.intro{
    width: 70%;
    height: auto;
    text-align: center;
    margin: 50px auto;
    /* background: #f1f1f1; */
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0.18em;
    position: relative;
    display: flex;
    align-items: center;
    border: solid 1px #7f7f7f;
    background: #ffffff;
    padding: 1.5%;
}
.intro::before,
.intro::after{
    content: "";
    position: absolute;
    display: block;
    background-color: #ffffff;
}
.intro::before{
    top: -10px;
    bottom: -10px;
    left: 50px;
    right: 50px;
}
.intro::after{
    top: 40px;
    bottom: 40px;
    left: -8px;
    right: -8px;
}
.intro p{
    font-family: 'Inter', sans-serif;
    position: relative;

    z-index: 1;

}
.how{
    margin-top: 150px;
    width: 100%;
    height: 1150px;
    position: relative;
}
.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height:1150px;
  background-color: #fff;
  z-index: -1;
}
.Paper_v2 {
  background-image:
    repeating-linear-gradient(to bottom,
      transparent 25px,
      rgba(0, 0, 0, 0.04) 26px,  rgba(0, 0, 0, 0.04) 26px,
      transparent 27px,  transparent 51px, 
      rgba(0, 0, 0, 0.04) 52px,  rgba(0, 0, 0, 0.04) 52px,
      transparent 53px,  transparent 77px, 
      rgba(0, 0, 0, 0.04) 78px,  rgba(0, 0, 0, 0.04) 78px,
      transparent 79px,  transparent 103px, 
      rgba(0, 0, 0, 0.04) 104px,  rgba(0, 0, 0, 0.04) 104px,
      transparent 105px,  transparent 129px, 
      rgba(0, 0, 0, 0.04) 130px,  rgba(0, 0, 0, 0.04) 130px),

    repeating-linear-gradient(to right,
      transparent 25px,
      rgba(0, 0, 0, 0.04) 26px,  rgba(0, 0, 0, 0.04) 26px,
      transparent 27px,  transparent 51px, 
      rgba(0, 0, 0, 0.04) 52px,  rgba(0, 0, 0, 0.04) 52px,
      transparent 53px,  transparent 77px, 
      rgba(0, 0, 0, 0.04) 78px,  rgba(0, 0, 0, 0.04) 78px,
      transparent 79px,  transparent 103px, 
      rgba(0, 0, 0, 0.04) 104px,  rgba(0, 0, 0, 0.04) 104px,
      transparent 105px,  transparent 129px, 
      rgba(0, 0, 0, 0.04) 130px,  rgba(0, 0, 0, 0.04) 130px);
}

.how h1, .projects h1{
    font-family: 'Noto Sans JP', serif;
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
    height: 30px;
    color: #ffe7ab;
    opacity: 0.05;
    /* text-shadow: #888a88 2px 2px 4px; */
    /* background-color: #f1f1f1; */
}
.how h5, .projects h5{
    font-family: 'Inria sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #2e2e2ebb;
    margin-bottom: 50px;
}
.how h5{
    letter-spacing: .5em;
}
.koumoku-wrapper{
    width: 80%;
    height: 900px;
    margin: 50px auto 50px auto;
    display: flex;
    flex-direction: column;
    justify-content: space-around; 
    padding-left: 6%;
}
.koumoku{
    height: 33.3%;
    width: 100%;
    display: flex;
}
.koumoku-sentence{
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.koumoku h2{
    font-family: 'Noto Sans JP', serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 44px;
    color: #4D4E4D;
    margin-bottom: 20px;
}
.koumoku p{
    font-family: 'Noto Sans JP', serif;
    font-size: 18px;
    color: #212121;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.15em;

}
.koumoku-pic{
    width: 350px;
    height: 240px;
    margin-left: 50px;
}
.koumoku-pic2{
    width: 350px;
    height: 240px;
    margin-right: 50px;
}
.koumoku-pic img, .koumoku-pic2 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 4px; */
}
.projects{
    margin-top: 150px;
}
.project-wrapper{
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 50px auto 200px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;

}
.each-project{
    width: 370px;
    height: auto;
    position: relative;
    

}
.big-number{
    font-family: 'Inria Sans', serif;
    font-size: 100px;
    font-weight: 900;
    color: #222222;
    opacity: 0.5;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    position: absolute;
    top: 0;
    right: 1px;
    z-index: 3000;
}
.project-body{
    width: 370px;
    height: 370px;
    background: #f1f1f1;
    border-radius: 7px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.project-pic{
    width: 350px;
    height: 200px;
}
.project-pic img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.project-body h2{
    font-family: 'Noto Sans JP', serif;
    font-size: auto;
    font-weight: 600;
    width: 99%;
    height: 50px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-body button{
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #212121;
    background: none;
    border-bottom: 1px solid #212121;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0px 10px;
    cursor: pointer;
    width: 150px;
    height: 35px;
    font-weight: 500;

}

.project-body button:active{
    color:  #ffffff;
    transition: 0.3s;
}
.project-body button p{
    text-decoration: none;
    color: inherit;
    margin-left: 3px;
}
.project-body button i{
    margin-left: 9px;
}

/* modal のCSS */
.modal-img{
    width: 600px;
    height: auto;
}
.modal-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.modal-content{
    display: flex;
    flex-direction: column;
    width: 400px;
}
.modal-content p{
    font-family: 'Noto Sans JP', serif;
    font-size: 16px;
    line-height: 23px;
    color: #212121;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0.1em;
}
.modal-content h1{
    font-family: 'Noto Sans JP', serif;
    font-size: 18px;
    font-weight: 700;
    color: #2e2e2ebb;
    margin-bottom: 5px;
}
#modal-common{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80vh;
    margin: auto;
    background: #ffffff;
    padding: 60px 40px 40px;
    border-radius: 10px;
    z-index: 4000;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
#close-modal{
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: #212121;
    padding: 10px;
    line-height: 1;
    transition: color 0.3s ease;
}
#close-modal:hover{
    color: #737373;
}

#mask{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    visibility: hidden;
    opacity: 0;
}



/*  */
footer{
    width: 100%;
    height: 8vh;
    background: rgb(110, 140, 77);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
}
