@charset "UTF-8";
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "noto-sans-cjk-jp","arial", sans-serif;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

body{
    background-color: #f4f4f4;
    height: 100vh;
    width: 100vw;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: white;
    font-size: 100%;
}

h1{
    margin: 0;
}

p{
    margin: 0;
}

header a:hover, .article button:hover, .site-button:hover, .works-items-detail a:hover, .pdf-page a:hover{
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

ul,li{
    list-style: none;
    padding: 0;
}


/* ヘッダー */
header{
    width: 100%;
    height: 100px;
    padding-top: 20px;
    position: fixed;
    color: white;
    z-index: 999;
}
.header-inner{
    width: 96%;
    max-width: 1600px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative; 
}
.header-logo img{
    height: 80px;
    width: 80px;
}

.header-menu{
    height: 80px;
    width: 100%;
}

.header-menu-item{
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-menu-item li{
    font-size: 25px;
    letter-spacing: 0.1rem;
    font-weight: bold;
    padding: 0 40px;
}

.header-menu-item a.current{
    color: orange;
}

.header a{
    color: black;
}

.header a:hover, .awards-inner a:hover{
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.play-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.button-icon {
    width: 80px; 
    height: 80px;
    transition: opacity 0.3s ease;
}

.play-button:hover .button-icon {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    z-index: 10000;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 25px;
    background-color: #000;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-current{
    top: 0;
    right: 0;
}

.hamburger-current span{
    background-color: white;
}

.hamburger-current.active span {
    background-color: black;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}



/* フッター */
footer{
    width: 100%;
    background-color: transparent;
    color: rgb(102, 102, 102);
    text-align: center;
    position: relative;
    bottom: 0px;
    padding: 20px 0px;
}

footer small {
    font-size: 0.75rem;
}

/* Home　ページ*/
.fastview {
    position: relative;
    height: 100vh;
    overflow: hidden;
}
  
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    animation: zoomOut 1.8s ease-out forwards;
}

.header-home{
    opacity: 0;
    animation: fadeInHeader 1.5s ease-out forwards;
    animation-delay: 2s; 
}

@keyframes zoomOut {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeInHeader {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}



/* Top　ページ */
.top-start{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOut 1s ease-out forwards;
}

.image-link {
    display: inline-block;
    cursor: pointer;
}

.top-start a:hover{
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.image-link img {
    width: 250px; 
    height: auto;
    display: block;
    transform: scale(0.9); 
    transition: transform 1s ease-out;
}

body.loaded .image-link img {
    transform: scale(1) ;
}


/* Works　ページ */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 120px;
    padding-bottom:  95px;
    margin: 0 auto;
    width: 90%;
    max-width: 1366px;
    animation: fadeIn 2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

@keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
}

.grid-item {
    position: relative;
    width: 100%;
    padding: 15px 15px 25px 15px; 
    box-sizing: border-box;
}

.grid-inner {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background-color: white;
}

.grid-inner img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    z-index: 0; 
}

.grid-inner:hover img {
    transform: translate(-50%, -50%) scale(1.05); 
}

.title {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 3px 5px;
}

.text{
    font-size: 15px;
    margin-left: 5px;
}


/* Aboutページ */
.profile-container{   
    padding-top: 120px;
    margin: 0 auto;
    width: 75%;
    max-width: 1600px;
    animation: fadeIn 2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.profile-title{
    border-bottom: 2px solid #000;
    display: inline-block;
    width: 100%;
    padding-bottom: 10px;
    font-size: 25px;
}

.profile-inner{
    display: flex;
    justify-content: center;
    gap: 80px;
    height: auto;
    width: 95%;
    padding: 85px 0 110px;
    margin: 0 auto;
}

.profile-inner img{
    width: 50%;
   aspect-ratio: 1 / 1;
   object-fit: cover;
   max-width: 400px;
   height: auto;
}

.profile-contents {
    width: 50%;
    justify-content: center; 
    margin: auto;
}

.profile-contents h1{
    margin-bottom: 30px ;
    font-size: 30px;
}

.profile-contents p{
    font-size: 16px;
    line-height: 30px;
}


/* skill　項目 */
.skill-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1600px;
    padding: 85px 20px 110px;
    flex-wrap: wrap; 
}
  
.skill-card {
    background-color: white;
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
  
.skill-card img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 25px;
}

.skill-text {
    text-align: center;
}

.skill-title{
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 10px;
}

.awards-inner{
    padding-top: 85px;
    padding-bottom: 110px;
}

.awards-inner a{
    color: #000;
    font-weight: bold;
}

.awards-inner ul{
    margin: 0;
}

.awards-inner li{
    font-size: 20px;
    margin: 15px 30px;
}


/* favorite　項目 */
.favorite-container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1366px;
    margin: auto;
    padding: 85px 20px 100px;
}
  
.favorite-grid-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}
  

.favorite-grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: transform 0.4s ease;
    z-index: 0;
}
  

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    font-weight: bold;
    justify-content: center;
    transition: background-color 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
  
.overlay span {
    color: white;
    font-size: 1.5em;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}
  

.favorite-grid-item:hover img {
    transform: scale(1.1);
}
  
.favorite-grid-item:hover .overlay {
    background-color: rgba(0, 0, 0, 0.5);
}
  
.favorite-grid-item:hover .overlay span {
    opacity: 1;
}

/* Contact　ページ */
article {
    width: 85%;
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 190px;
    padding-bottom: 95px;
  }
.article-container{
    width: 70%;
    margin: auto;
}

label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}
  
input[type="text"],
input[type="email"],
textarea {
    width: 95%;
    padding: 12px;
    margin-bottom: 50px ;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 180px;
}

.article button {
    display: block;
    margin: 0 auto;
    padding: 12px 30px;
    color: black;
    font-size: 20px;
    font-weight: bold;
    background-color: #f4f4f4;
    text-align: center;
    border: none;
    cursor: pointer;
}

/* オーバーレイ */
.thanks-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-content {
    background: white;
    padding: 30px 40px;
    text-align: center;
    border-radius: 8px;
}

.overlay-content h2 {
    margin-bottom: 10px;
    color: orange;
}

.overlay-content p {
    margin-bottom: 10px;
}

.overlay-content button {
    background: black;
    color: white;
    border-radius: 5px;
}

/* works詳細ページ */
.works-container{
    padding-top: 150px;
    padding-bottom: 95px;
    margin: 0 auto;
    width: 85%;
    max-width: 1366px;
    animation: fadeIn 2s cubic-bezier(0.33, 1, 0.68, 1) forwards;
    align-items: center;
}
.works-contents{
    display: flex;
    width: 100%;
    gap: 100px;
}
.works-image{
    width: 45%;
    height: auto;
    margin: auto;
}
.works-contents img{
    width: 100%;
    object-fit: contain;   
}
.works-contents video{
    width: 100%;
    object-fit: contain;
    margin: auto;
}
.works-size{
    height: 65vh;
    padding-bottom: 30px;
}

.works-detail{
    margin: auto;
}
.works-detail-title{
    font-weight: bold;
    font-size: 28px;
    padding-bottom: 20px;
}
.works-inner{
    margin: 0 auto;
    padding-top: 120px ;
    max-width: 1020px;
    width: 90%;
}
.works-items{
   display: flex;
   margin: auto;
   justify-content: center;
   gap: 60px;
   padding-bottom: 60px;
}
.works-title{
    font-weight: bold;
    font-size: 17px;
    width: 20%;
}
.works-items-detail{
    width: 70%;
    font-size: 16px;
    line-height: 1.9;
}
.works-items-detail ul{
    margin: 0;
}
.works-items-detail a{
    color: #000;
}
.site-button {
    display: block;
    width: 120px;
    margin: 40px auto 0;
    padding: 12px 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    background-color: #000;
    border-radius: 5px;
}

.site-button a{
    color: white;
}
.pdf-page{
    font-weight: bold;
}
.pdf-page a:hover, .awards-inner a:hover{
    color: orange;
}

@media (max-width: 1024px){
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile-container{
        width: 85%;
    }

    .profile-title{
        display: inline-block;
        width: 100%;
        padding-bottom: 3px;
        font-size: 22px;
    }

    .profile-inner img{
        width: 55%;
        margin: 0 auto;
    }

    .profile-inner {
        flex-direction: column;
        gap: 25px;
        padding-top: 70px;
        padding-bottom: 95px;
    }

    .profile-contents {
        width: 85%;
        margin: 0px auto;
    }
    
    .profile-contents h1{
        margin-top: 30px;
        font-size: 27px;
        text-align: center;
       
    }
    .profile-contents p{
        font-size: 20px;
        line-height: 35px;
    }

    .awards-inner{
        padding-top: 70px;
        padding-bottom: 95px;
    }


    .favorite-container{
        padding-top: 70px;
        padding-bottom: 95px;
        gap: 20px;
    }
    .article{
        width: 85%;
        padding-top: 170px;
    }

    .works-contents{
        flex-direction: column;
        gap: 40px;
    }
    .works-image{
        width: 85%;
    }
    .works-size{
        height: auto;
        padding-bottom: 0;
    }

}


@media (max-width: 450px){

    .image-link img {
        width: 160px; 
    }

    .play-button{
        display: none;
    }

    .grid-container{
        padding-top: 90px;
    }

    .grid-item{
        padding: 7px 7px 10px 7px;
    }

    .title{
        margin: 5px 0 1px 1px;
        font-size: 12px;
    }

    .text{
        font-size: 10px;
        margin-left: 2px;
    }

    .profile-inner img{
        width: 70%;
        margin: 0 auto;
    }

    .profile-container{
        width: 85%;
    }

    .profile-title{
        display: inline-block;
        width: 100%;
        padding-bottom: 2px;
        font-size: 13px;
    }

    .profile-inner {
        flex-direction: column;
        gap: 25px;
        padding-top: 40px;
        padding-bottom: 50px;
    }

    .profile-contents {
        width: 100%;
        margin: 10px auto;
    }
    
    .profile-contents h1{
        margin: 0 0 15px 0;
        font-size: 15px;
        
    }
    .profile-contents p{
        font-size: 13px;
        line-height: 1.8;
    }

    .skill-inner {
        padding: 40px 0 50px ;
        margin: 0 autO;
        flex-direction: column;
        width: 68%;
    }

    .skill-card {
        padding: 15px 0px;
    }

    .skill-card img{
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
    }

    .skill-title{
        font-size: 20px;
        margin-bottom: 2px;
    }

    .skill-detail{
        font-size: 14px;
    }

    .awards-inner{
        padding-top: 40px;
        padding-bottom: 50px;
    }
    .awards-inner li{
        font-size: 12px;
        margin: 15px 10px;
    }

    .favorite-container{
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 40px 5px 50px 5px ;
    }

    .overlay{
        font-size: 13px;
    }

    .article{
         width: 85%;
        padding-top: 150px;
        padding-bottom: 30px;
    }
    .article-container{
        width: 100%;
    }
    input[type="text"],
    input[type="email"],
    textarea{
        padding: 9px;
        margin-bottom: 40px;
    } 

    .overlay-content {
        background: white;
        padding: 10px 15px;
    }
    
    .overlay-content h2 {
        font-size: 20px;
    }

    header a, .header-menu-item a.current{
        color:  black;
    }
    .hamburger {
        display: flex;
        position: absolute;
        top: 20px;
        right: 10px;
    }
    header{
        padding-top: 20px;
    }

    .header-logo img{
        height: 50px;
        width: 50px;
    }
    .header-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #f4f4f4;
        transition: right 0.4s ease;
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .header-menu.active {
        right: 0;
    }
    .header-menu-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .header-menu-item {
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 16px;
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    
    .header-menu-item li {
        margin-bottom: 10px;
    }

    .works-container{
        padding-top: 120px;
    }

    .works-contents{
        gap: 25px;
    }

    .works-detail{
        width: 90%;
    }

    .works-detail-title{
        font-size: 18px;
        padding-bottom: 8px;
    }

    .works-detail-deatil{
        font-size: 12px;
    }

    .works-inner{
        padding-top: 70px;
    }

    .works-items{
        flex-direction: column;
        gap: 15px;
        padding-bottom: 45px;
    }

    .works-title{
        width: 100%;
        font-size: 15px;
    }
    .works-items-detail{
        width: 100%;
        font-size: 14px;
    }
    .works-image{
        width: 90%;
    }
}


@media (max-width: 1024px) and (min-width: 451px) {
    .profile-container{
        padding-top: 150px;
    }
    .skill-inner {
        padding-top: 70px;
        padding-bottom: 95px;
        flex-direction: column;
    }

    .skill-card {
        flex-direction: row; 
        align-items: center;
        justify-content: flex-start;
        gap: 20px; 
        width: 85%;
        margin: 0 auto;
    }

    .skill-card img{
        margin: 0 auto;
    }

    .skill-text {
        text-align: left;
        align-items: flex-start;
        margin: auto;
    }

    .skill-text p {
        text-align: left;
    }

    .skill-title{
        font-size: 30px;
    }
}