@charset "UTF-8";
@font-face {
    font-family: 'Kelvinch';
    src:
      url('../Webfonts/Kelvinch-Roman.woff') format('opentype'),
      url('../Webfonts/Kelvinch-Roman.woff2') format('opentype'),
      url('../Webfonts/Kelvinch-Bold.woff') format('opentype'),
      url('../Webfonts/Kelvinch-Bold.woff2') format('opentype'),
}
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background-color: #EAEAEA;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1.5s 2.5s forwards;
  }
  
  @keyframes fadeOut {
    0% {
      opacity: 1;
    }
  
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }
  
  .loading__logo {
    opacity: 0;
    animation: logo_fade 2s 0.5s forwards;
    width: 175px;
  }
  
  @keyframes logo_fade {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
  
    60% {
      opacity: 1;
      transform: translateY(0);
    }
  
    100% {
      opacity: 0;
    }
  }
/* ハンバーガーボタン制御 */
.hum{
    display: none;
}
#btn01{
    display: none;
    position: fixed;
}
.btn-trigger {
    position: relative;
    width: 30px;
    height: 14px;
    cursor: pointer;
}
.btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #2D2D2D;
    border-radius: 4px;
}
.btn-trigger, .btn-trigger span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
}
.btn-trigger span:nth-of-type(1) {
    top: 0;
}
.btn-trigger span:nth-of-type(2) {
    top: 20px;
}
.btn-trigger span:nth-of-type(3) {
    bottom: 0;
}
#btn01.active span{
    background-color: #fff;
}
#btn01.active span:nth-of-type(1) {
    -webkit-transform: translateY(15px) rotate(-45deg);
    transform: translateY(15px) rotate(-45deg);
}
#btn01.active span:nth-of-type(2) {
    opacity: 0;
}
#btn01.active span:nth-of-type(3) {
    -webkit-transform: translateY(-5px) rotate(45deg);
    transform: translateY(5px) rotate(45deg);
}


body{
    background-color: #EAEAEA;
    max-width: 1920px;
    margin: 0 auto;
}

/* header */
header{
    display: flex;
    margin:16px 2.5%;
    padding-bottom: 16px;
    border-bottom: 1px solid #1E1E1E;
    justify-content: space-between;
    font-size: 24px;
    font-family: "Kelvinch" , serif;
}
header h1 img{
    width: 240px;
}
nav{
    width: 100%;
}
header ul{
    display: flex;
    width: 100%;
    justify-content: space-between;
}
header ul li {
    -webkit-cursol:pointer;
}
.header_container{
    display: flex;
    align-items: center;
    width: 40%;
    min-width: 600px;
}
@media(max-width:940px){
    .header_container{
        min-width: 60%;
    }
    .hum{
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        background: #2D2D2D;
        top: 0;
        left: 0;
        gap: 2em;
        font-size: 32px;
        color:#fff;
        font-weight: bold;
        background-size: 70%;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1000;
    }
    .hum.active {
        display: flex;
    }
    #btn01{
        display: block;
        position: fixed;
        top: 2.5%;
        z-index: 1111;
        right: 5%;
    }
    nav{
        display: none;
    }    
    header h1 img{
        width: 120px;
        min-width: 120px;
    }
    header{
        border:none
    }
}
/* mv */
.mv{
    width: 95%;
    margin:2.5% auto;
}
.mv h2{
    font-size: 52px;
    font-family: "Kelvinch" , serif;
    font-weight: lighter;
    margin-bottom: 2.5%;
}
.mv img{
    width: 100%;
}
@media(max-width:760px){
    .mv h2{
        margin-top: 10%;
        font-size: 28px;
        margin-bottom: 5%;
    }
}
@media(max-width:400px){
    .mv h2{
        font-size: 24px;
    }
}

/* About */
.About{
    width: 95%;
    margin:10% auto;
    gap: 2.5%;
    display: flex;
    justify-content: space-between;
    max-width: 1220px;
}
.About h2{
    font-size: 80px;
    font-family: "Kelvinch" , serif;
    margin-bottom: 32px;
}
.about_left{
    line-height: 2em;
    width: fit-content;
    font-weight: 500;
    font-family: "Noto Sans JP", serif;
}
.about_right{
    line-height: 2em;
    width: fit-content;
    display: flex;
    align-items: center;
    min-width: 520px;
}
.about_right img{
    margin-top: 25%;
    width: 100%;
}
.about_title{
    font-weight: bold;
    font-size: 22px;
}
.about_desc{
    margin-bottom: 2em;
    font-weight: 400;
    font-size: 18px;
}
.ourB{
    width: 95%;
    margin:10% auto;
    display: flex;
    justify-content: space-between;;
    max-width: 1220px;
}
.ourB h2{
    font-family: "Kelvinch" , serif;
    font-size: 40px;
    font-weight: lighter;
}
.our_right{
    margin-top: 1em;
}
.our_right h3{
    font-size: 20px;
    margin-bottom: 1em;
}
.our_right p{
    padding-bottom: 32px;
    margin-bottom:32px;
    font-size: 18px;
}
.our_right p:not(.our_last){
    border-bottom: 1px solid #ACACAC;
}
.tab-br{
    display: none;
}
@media(max-width:1320px){
    .tab-br{
        display: block;
    }
}
@media(max-width:1320px){
    .About{
        flex-direction: column;
        margin-top: 48px;
    }
    .About h2{
        text-align: center;
        font-size: 64px;
        margin-bottom: 12px;
    }
    .about_desc{
        font-size: 16px;
    }
    .about_title{
        font-weight: bold;
        text-align: center;
        color:#808080;
        margin-bottom: 16px;
        margin-top: 16px;
        font-size: 16px;
    }    
    .about_left{
        width: 100%;
        max-width: 600px;
        margin:0 auto;
        line-height: 1.5em;
    }
    .about_right{
        max-width: 600px;
        width: 100%;
        margin:0 auto;
        min-width: 0px;
        margin-top: 16px;
    }
    .pc-br{
        display: none;
    }
    .tab-br{
        display: none;
    }
    .about_right img{
        margin-top: 0px;
    }
    .about_desc{
        margin-bottom: 1em;
    }
    .ourB{
        flex-direction: column;
        margin-top: 15%;
        max-width: 600px;
    }
    .ourB h2{
        margin-bottom: 16px;
    }
    .our_right h3{
        font-size: 20px;
        margin-bottom: .25em;
    }
    .our_right p{
        padding-bottom: 32px;
        margin-bottom:32px;
        font-size: 16px;
    }
    
}
/* philosophy */
.philosophy{
    width: 95%;
    margin:10% auto;
    max-width: 1220px;
}
.philosophy h2{
    text-align: center;
    color:#EAEAEA;
    font-size: 80px;
    padding:16px 0 24px;
    font-family: "Kelvinch" , serif;
}
.philosophy > p{
    font-size: 32px;
    color: #808080;    
    text-align: center;
    font-family: "Noto Sans JP", serif;
    margin: 48px 0 40px;
    font-weight: 500;
}
.philosophy h3{
    text-align: center;
    font-size: 40px;
    font-weight: 400;
}
.philosophy_1 h3{
    margin:48px 0 24px;
    font-family: "Noto Sans JP", serif;
}
.philosophy_1 p{
    text-align: center;
    font-size: 20px;
    font-family: "Noto Sans JP", serif;
}
.philosophy_2 h3{
    margin-top: 96px;
    font-family: "Kelvinch" , serif;
    margin-bottom: 48px;
}
.philosophy_2 p{
    text-align: center;
    font-family: "Noto Sans JP", serif;
    font-size: 18px;
}
.philosophy_3 h3{
    margin-top: 96px;
    font-family: "Kelvinch" , serif;
    margin-bottom: 80px;
}
.philosophy_3 div{
    display: flex;
    justify-content: space-between;
    font-size: 18px;
}
.philosophy_mission{
    width: 25%;
    min-width: 260px;
}
.sp-br{
    display: none;
}
@media(max-width:1320px){
    .philosophy h2{
        font-size: 40px;
        padding:4px 0 8px;
    }
}
@media(max-width:940px){
    .philosophy > p{
        font-size: 24px;
        margin: 24px 0 0;
    }
    .philosophy h3{
        font-size: 24px;
    }
    .philosophy_1 h3{
        margin:24px 0 16px;
        font-family: "Noto Sans JP", serif;
    }
    .philosophy_1 p{
        font-size: 16px;
    }
    .sp-br{
        display: block;
    }
    .philosophy_2 h3{
        margin: 48px 0 16px;
        font-size: 32px;
    }
    .philosophy_2 p{
        font-size: 16px;
    }
    .philosophy_3 h3{
        margin: 48px 0 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid #808080;
        font-size: 32px;
    }
    .philosophy_3 div {
        flex-direction: column;
        font-size: 16px;
    }
    .philosophy_mission{
        width: auto;
        margin-bottom: 8px;
    }
    .philosophy_mission-border::after{
        content:"";
        display: block;
        width: 40px;
        border-bottom: #808080 1px solid;
        margin:16px auto;
    }
    .philosophy_mission h4{
        margin-bottom: 8px;
    }
    .philosophy_mission p{
        min-height: 72px;
    }
}
/* portfolio */
.portfolio{
    width: 95%;
    margin:10% auto;
    max-width: 1120px;
}
.portfolio h2{ 
    font-size: 80px;
    font-family: "Kelvinch" , serif;
}
.portfolio p{
    font-size: 34px;
    color: #808080;    
    text-align: center;
    font-family: "Noto Sans JP", serif;
    margin: 24px 0 48px;
    font-weight: 500;
    margin-left: 10%;
}
.portfolio div{ 
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap:2%;
    width: 120%;
}
.portfolio a{
    display: flex;
    width: 300px;
    height: 180px;
    background-color: #fff;
    margin-bottom: 2%;
    align-items: center;
    overflow: hidden;
}
#space-x img{
    width: 70%;
}
.portfolio img{
    width: 60%;
    margin:0 auto;
}
.portfolio-vertical img{
    width: 40%;
    margin:0 auto;
}
.blank{
    opacity: 0;
    pointer-events: none;
}
@media(max-width:1560px){
    .portfolio div{ 
        width: 100%;
    }
    .portfolio a{
        width: 260px;
        height: 160px;
    }
    .portfolio p{
        margin-left: auto;
    }

}
@media(max-width:1270px){
    .portfolio div{ 
        justify-content: center;
    }
    .portfolio a{
        width: 280px;
        height: 160px;
    }
}
@media(max-width:1320px){
    .portfolio h2{ 
        font-size: 64px;
        text-align: center;
        margin-top: 25%;
    }
    .portfolio p{
        font-size: 24px;
    }
}
@media(max-width:620px){
    .portfolio div{ 
        justify-content: center;
        gap:5%;
    }
    .portfolio a{
        width: 180px;
        height: 130px;
        margin-bottom: 5%;
    }
}
@media(max-width:400px){
    .portfolio a{
        width: 166px;
        height: 104px;
    }
}
@media(max-width:368px){
    .portfolio a{
        width: 140px;
        height: 100px;
    }
}
/* CEO */
.ceo{
    width: 100%;
    background-image: url(../img/background.png);
    background-size: cover;
    background-position: center top 200px;
    background-repeat: no-repeat;
    padding-bottom: 1px;
}
.ceo-h2{ 
    max-width: 1220px;
    margin:0 auto;
    width: 95%;
}
.ceo-h2 h2{
    font-size: 80px;
    font-family: "Kelvinch" , serif;
}
.ceo_container{
    margin-top: 80px;
}
.ceo_container > p{
    font-size: 32px;
    color: #808080;    
    text-align: center;
    font-family: "Noto Sans JP", serif;
    margin: 24px auto 64px;
    font-weight: 500;
    max-width: 1220px;
}
.ceo_aisatsu{
    display: flex;
    gap:10%;
}

.ceo_section1{
    max-width: 660px;
}
.ceo_section1 h3{
    font-size: 38px;
    font-weight: 400;
    margin-top: 10%;
    font-family: "Noto Sans JP", serif;
}
.mission {
    display: flex;
    align-items: center;
    gap: 10px; 
    padding: 10px;
    justify-content: flex-end;
    margin-bottom: 32px;
}
.line {
    flex-grow: 1;
    height: 2px; 
    background-color: black;
    max-width: 100px; 
}
.text {
    text-align: right;
    font-size: 24px;
    font-family: "Noto Sans JP", serif;
}
.ceo_desc{
    color: #fff;
    margin-top: 112px;
    font-family: "Noto Sans JP", serif;
    line-height: 2em;
    font-size: 18px;
}
.ceo_desc p{
    margin-bottom: 32px;
}
.ceo_desc p:nth-last-of-type(1){
    text-align: right;
}
.ceo_prof{
    max-width: 1220px;
    margin:24px auto 60px;
    padding:40px 80px;
    color:#fff;
    border: 1px solid #ffffff2d;
    font-weight: 400;
    font-family: "Noto Sans JP", serif;
    line-height: 2em;
    font-size: 16px;
}
.name{
    font-weight: 900;
}
.ceo-br{
    display: none;
}
@media(max-width:1460px){
    .ceo_aisatsu{
        gap:2%;
    }
}
@media(max-width:1320px){
    .ceo_aisatsu{
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .ceo_img{
        max-width: 360px;
    }
    .ceo {
        background-position: center top 620px;
    }
    .ceo-h2 h2{ 
        font-size: 64px;
        text-align: center;
        margin-top: 25%;
    }
    .ceo_container > p{
        font-size: 20px;
        margin: 16px auto 24px;
    }
    .ceo_section1{
        width: 95%;
        margin:0 auto;
    }
    .ceo_desc{
        margin-top: 62px;
        font-size: 16px;
    }
    .ceo_prof{
        width: 95%;
        padding:32px 5%;
    }
    .name{
        padding-bottom: 24px;
        border-bottom: 1px solid #ffffff2d;
        display: block;
    }
}
@media(max-width:700px){
    .ceo_section1 h3{
        font-size: 32px;
        width: fit-content;
        margin:0 auto;
        margin-top: 10%;
    }
    .ceo{
        background-image: url(../img/background-sp.png);
    }
    .mission {
        padding-right: 0;
        padding-left: auto;
        justify-content: flex-end;
        margin-bottom: 32px;
    }
    .line {
        flex-grow: 1;
        height: 2px; 
        background-color: black;
        max-width: 32px; 
    }
    .text {
        text-align: right;
        font-size: 24px;
    }
    .ceo-br{
        display: block;
    }
}

/* Team */

.team{
    width: 95%;
    margin:10% auto;
    max-width: 1220px;
}
.team h2{ 
    font-size: 80px;
    font-family: "Kelvinch" , serif;
}
.team > p{
    font-size: 32px;
    color: #808080;    
    text-align: center;
    font-family: "Noto Sans JP", serif;
    margin: 24px 0 24px;
    font-weight: 500;
}
.team_container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.member{
    width: calc(100%/3);
    padding:48px;
    min-width: 406px;
    font-family: "Noto Sans JP", serif;
}
.member img{
    width: 100%;
}
.m-box{
    background-color: #EAEAEA;
    padding-top: 14px;
    padding-bottom: 8px;
    margin-top: -40px;
    z-index: 1;
    position: relative;
    width: 80%;
}
.m-position{
    font-size: 14px;
    padding-bottom: 4px;
}
.m-name{
    font-size: 24px;
}
.m-name-en{
    font-size: 14px;
    margin-left: 14px;
}
.m-college{
    font-size: 14px;
    margin-bottom: 8px;
}
.m-detail{
    margin-bottom: 14px;
}
.m-good span{
    font-weight: bold;
}
@media(max-width:1320px){
    .team h2{ 
        font-size: 64px;
        text-align: center;
        margin-top: 25%;
    }
    .team > p{
        font-size: 20px;
    }
}
@media(max-width:700px){
    .member{
        width: 95%;
        margin:0 auto;
        min-width: auto;
        padding:0;
        margin-bottom: 80px;
    }
    .m-name{
        font-size: 16px;
    }
    
    .m-detail{
        font-size: 14px;
    }
    .m-good{
        font-size: 14px;
    }
}
/* Contact */
.contact{
    width: 95%;
    margin:10% auto;
    max-width: 1220px;
}
.contact h2{ 
    font-size: 80px;
    font-family: "Kelvinch" , serif;
}
.contact-title{
    font-size: 32px;
    color: #808080;    
    text-align: center;
    font-family: "Noto Sans JP", serif;
    margin: 24px 0;
    font-weight: 500;
}
.contact-detail{
    text-align: center;
    margin: 48px 0 56px;
    font-size: 18px;
}
label,input:not(#privacy){
    display: block;
    font-family: "Noto Sans JP", serif;
}
.contact > div{
    max-width: 920px;
    background-color: #fff;
    margin:0 auto;
    padding-top: 80px;
    padding-bottom: 80px;
}
form{
    max-width: 560px;
    width: 90%;
    margin:0 auto;
}
input:not(#privacy),textarea{
    width: 100%;
    margin-bottom: 2em;
}
.privacy{
    display: flex;
    justify-content: center;
    text-decoration: underline;
    align-items: center;
}
label{
    margin-bottom: .2em;
}
input,textarea{
    padding:.5em;
    border:none;
    background-color: #F5F5F5;
}
textarea{
    height: 10em;
}
.optional{
    font-size: 14px;
    color:#808080;
    margin-left: 1em;
}
#privacy{
    border-radius: 4px;
    margin-right: .5em;
    margin-bottom: 0;
}
.privacy label{
    margin-bottom: 0;
}
button{
    background-color: #333333;
    padding:1em 5em;
    color:#fff;
    margin:24px auto;
    display: block;
}
@media(max-width:1320px){
    .contact h2{ 
        font-size: 64px;
        text-align: center;
        margin-top: 25%;
    }
    .contact-title{
        font-size: 20px;
        margin:12px 0
    }
    .contact-detail{
        text-align: left;
        margin: 24px 0 40px;
        font-size: 16px;
    }
    .contact > div{
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .privacy{
        font-size: 14px;
    }
}
/* footer */
footer{
    padding-bottom: 24px;
}
footer>div{
    display: flex;
    justify-content: space-between;
    max-width: 1400px;
    margin:0 auto;
    width: 80%;
}
footer > p{
    text-align: center;
    margin-top: 2em;
}
.f-left{
    width: 100%;
    max-width: 240px;
    display: flex;
    align-items: flex-end;
}
.f-left img{
    width: 100%;
}
.f-right ul{
    display: flex;
    flex-wrap: wrap;
    row-gap: 24px;
}
.f-right ul li{
    width: calc(100%/3);
}
@media(max-width:940px){
    .f-right{
        display: none;
    }
    footer>div {
        justify-content: center;
    }
    footer{
        margin-top: 48px;
    }
}

/* animation */
    .mask-bg {
    color: transparent;
    display: inline-block;
    overflow: hidden;
    position: relative;
    transition: color 0ms 450ms;
  }
  .mask-bg::after {
    background: #1E1E1E;
    bottom: 0;
    content: '';
    display: block;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(0, 100%);
  }
   
  .mask-bg.is-active {
    color: #000;
  }
  .mask-bg.is-active::after {
    animation: mask-bg 1.2s cubic-bezier(0.8, 0, 0.170, 1);
  }
  @media(max-width:1320px){
    .mask-bg:not(.not) {
        display: block;
        width: fit-content;
        margin: 0 auto;
      }
  }
  @keyframes mask-bg {
    0% {
      transform: translate(0, 101%)
    }
    40%, 60% {
      transform: translate(0, 0%)
    }
    100% {
      transform: translate(0, -100%)
    }
  }
  .smooth {
    clip-path: inset(0 100% 0 0);
    display: inline-block;
    transition: 1.4s cubic-bezier(0.37, 0, 0.63, 1);
    transition-property: clip-path;
  }
  .smooth.is-active {
    clip-path: inset(0);
  }
.bg .bg-wrap {
  position: relative;
  color: transparent;
}
.bg.is-active .bg-wrap::before {
  animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  background: #000;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  z-index: -1;
  color: transparent;

}
.bg .bg-wrap{
  color: #EAEAEA;
  position: relative;
  z-index: 1;
}
 
@keyframes bg {
  0% {
    opacity: 0;
    transform: scaleX(0) translateX(-5%);
  }
  30% {
    transform: scaleX(1) translateX(0);
  }
  100% {
    transform: scaleX(1) translateX(0);
  }
  30%, 100% {
    opacity: 1;
  }
}
.slide-skew{
    opacity: 0;
}
.slide-skew.is-active {
    animation: slide-skew 5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  }
   
  @keyframes slide-skew {
    0% {
      transform: translate(0px,30px);
      opacity: 0;
    }
    100% {
      transform: translate(0,0);
    }
    50%,100% {
      opacity: 1;
    }
  }
   


  /* pp */
  .privacy-page{
    width: 95%;
    margin:5% auto;
    max-width: 940px;
  }
  .privacy-page h2{
    font-size: 80px;
    text-align: center;
    font-family: "Kelvinch" , serif;
    display: block;
    margin-bottom: 5%;
    padding-bottom: 32px;
  }
  .pp_sub{
    font-size: 32px;
    color: #808080;    
    text-align: center;
    font-family: "Noto Sans JP", serif;
    margin: 0px 0px 40px;
    font-weight: 500;
  }
  .privacy-page h3{
    margin-top: 48px;
    font-size: 16px;
  }
  .privacy-page ul{
    padding-left: 1.5em;
  }
  .privacy-page li{
    list-style:disc;
    margin-top: .5em;
  }
  .privacy-page p:not(.pp_sub){
    line-height: 2em;
  }
@media(max-width:940px){
    .privacy-page h2{
        font-size: 48px;
    }
    .pp_sub{
        font-size: 16px;
        margin: 0px 0px 16px;
    }

}
  /* 成功メッセージのスタイル */
  #successMessage {
    display: none;
    margin-top: 20px;
    padding: 10px;
    color: #1E1E1E;
    border: 1px solid #1E1E1E;
    border-radius: 5px;
  }

  /* detail */
  .detail{
    width: 95%;
    margin:5% auto 80px;
    max-width: 1120px;
    text-align: center;
    font-size: 20px;
  }
  .detail div{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    border-top: 1px solid #808080;
    align-items: center;
    padding: 1em 0;
  }
  .detail div:nth-last-of-type(1){
    border-bottom: 1px solid #808080;
  }
  .detail dl{
    display: flex;
    flex-wrap: wrap;
  }
  .detail dt{
    width: 30%;
    font-weight: bold;
  }
  .detail dd{
    width: 60%;
  }
.bold{
    font-weight: bold;
}
@media(max-width:1320px){
    .detail{
        font-size: 16px;
      }
    .detail div{
        justify-content: space-evenly;
      }
      .detail dd{
        text-align: left;
      }
  }