@charset "UTF-8";

html{
      font-size:16px;
}
body{
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.7;
    background-color: #F7F6F5;
    color: #333;
}
ol,ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: #000000;
    font-size: 20px;
    letter-spacing: 0.1em;
}
nav{
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 5rem;
    z-index: 9999;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0; 
  }
.drawer{
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    box-sizing: border-box;
  }
.menu{
    position: fixed;
    top: 0;
    right: 0;
    height: 100svh;
    width: min(78vw, 340px);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(0,0,0,0.06);
    padding-top: 6rem;
    z-index: 10000;
    transform: translateX(110%);
    transition: transform .35s ease;
  }
.menu ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 22px;
  }
.menu ul li a {
    display: block;
    font-family: "Nunito", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: #333;
  }
.menu ul li a:hover{
    background-color:rgba(0,0,0,0.5);
    color:#999999;
  }
.menu.open{ 
    transform: translateX(0);
  }
.site_name{
    font-family: "Nunito", sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #333;
    white-space: nowrap;
    line-height: 1;
    display: inline-block;
    transition: opacity .3s ease;
  }
.site_name:hover{ 
    opacity: .6; 
  }
.Toggle{
    width: 44px;
    height: 44px;
    position: relative; 
    cursor: pointer;
    z-index: 10001;
    right: auto;
  }
.Toggle span{
    position: absolute;
    left: 8px;
    width: 28px;
    border-bottom: solid 2px #333;
    transition: .35s ease;
  }
.Toggle span:nth-child(1){ 
    top: 14px;
  }
.Toggle span:nth-child(2){
    top: 22px; 
  }
.Toggle span:nth-child(3){
    top: 30px;
  }
.Toggle.active span:nth-child(1){
    top: 22px;
    transform: rotate(-45deg);
  }
.Toggle.active span:nth-child(2){ 
    opacity: 0; 
  }
.Toggle.active span:nth-child(3){
    top: 22px;
    transform: rotate(45deg);
  }
.nav_overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: .35s ease;
    z-index: 9998;
  }
.nav_overlay.open{
    opacity: 1;
    pointer-events: auto;
  }
.menu ul li a,
.site_name{
    position: relative;
    display: inline-block;
  }
.menu ul li a::after,
.site_name::after{
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -6px;
    height: 1px;
    background: #8FA5C3;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    opacity: .7;
  }
.menu ul li a:hover::after,
.site_name:hover::after{
    transform: scaleX(1);
  }
.content_area{
    padding-top: 5rem;
  }
.content_main{
    width: min(86%, 980px);
    margin-inline: auto;
    padding-block: clamp(48px, 6vw, 80px);
  }
h1{
    margin: 0;
    text-decoration: none;
  }
.works_header_area{
    margin-block: clamp(40px, 6vw, 72px) clamp(32px, 5vw, 56px);
    display: grid;
    place-items: center;
    text-align: center;
    gap: 14px;
  }
.works_header_area p{
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
.works_title{
    margin: 0;
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: clamp(34px, 5.2vw, 52px);
    line-height: 1.1;
    position: relative;
  }
.works_title::after{
    content: "";
    display: block;
    inline-size: 56px;
    block-size: 1px;
    margin-inline: auto;
    margin-block-start: 16px;
    background: rgba(143,165,195,0.9);
  }
.works_lead{
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.9;
    color: #444;
  }
.works_main_img{
    margin-block: 0 clamp(28px, 4vw, 48px);
    display: grid;
    place-items: center;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  }
.works_main_img img{
    inline-size: 100%;
  }
.works_overview{
    margin-block-start: clamp(20px, 3vw, 36px);
  }
.works_meta{
    margin: 0;
    padding-block: clamp(18px, 3vw, 28px);
    padding-inline: clamp(18px, 3vw, 28px);
    border-radius: 20px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  }
.meta_row{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 16px;
  }
.meta_row + .meta_row{
    border-top: 1px solid rgba(0,0,0,0.06);
  }
.meta_label{
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    color: rgba(60,60,60,0.7);
  }
.meta_value{
    margin: 0;
    font-size: 1rem;
    line-height: 1.95;
    color: #333;
  }
.works_img{
    margin-block: 0 5rem;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.6);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  }
.screen{
    margin-inline: auto;
    margin-block: clamp(48px, 4vw, 56px) clamp(40px, 6vw, 80px);
  }
.screen_head{
    display: grid;
    gap: 12px;
    margin-block-end: 14px;
  }
.screen_title{
    margin: 0;
    padding: 0 0 0 8px;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 1.1rem;
    color: #333;
  }
.scsreen_tab_wrap{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(10px);
    width: fit-content;
  }
.screen_tab{
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: "Nunito", sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    color: #555;
    transition: background-color .25s ease, color .25s ease;
  }
.screen_tab:focus-visible{
    outline: 2px solid #8FA5C3;
    outline-offset: 2px;
  }
.screen_tab:hover{
    background: rgba(0,0,0,0.04);
  }
.screen_tab.is-active{
    background: #c3cfe4;
    color: #ffffff;
  }
.screen_viewer{
    max-block-size: 70svh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 18px;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    padding: clamp(10px, 2vw, 16px);
  }
.screen_viewer img{
    display: block;
    inline-size: 100%;
    max-inline-size: 100%;
    block-size: auto;
  }
.screen_viewer.is-hidden{
    display: none;
  }
.screen_note{
    margin: 10px 0 0;
    font-size: 0.9rem;
    color: #777;
    letter-spacing: 0.04em;
    line-height: 1.7;
  }

@media screen and (max-width: 767px){
  body{
      font-size: 80%;
    }
}

@media screen and (min-width: 768px){
  header::after{
      display:none;
    }
  nav{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 80px;
      box-sizing: border-box;
    }
  .drawer{
      padding: 0;
      margin: 0;
    }
  .Toggle{
      display: none;
    }
  .nav_overlay{ 
      display: none; 
    }
  .menu{
      position: static;
      height: auto;
      width: auto;
      padding-top: 0;
      border-left: none;
      background: transparent;
      backdrop-filter: none;
      transform: none;
      transition: none;
    }
  .menu ul{
      height: 5rem;
      flex-direction: row;
      align-items: center;
      justify-content: flex-end;
      gap: 32px;
      padding: 0;
    }
  .menu ul li a{
      padding: 0;
      border-bottom: none;
    }
  .menu ul li a:hover{
      background-color:transparent;
    }
  .meta_row{
      grid-template-columns: 180px 1fr;
      gap: 24px;
      align-items: start;
      padding-block: 18px;
    }
  .meta_label{
      padding-block-start: 2px;
   }
   .screen_head{
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    .screen_title{
      flex: 0 1 auto;
    }
    .scsreen_tab_wrap{
      flex: 0 0 auto;
      margin-left: auto;
    }


}
