@charset "UTF-8";

/* 共通部分
---------------------------------------------------------------------------- */
html {
    font-size: 100%;
    min-height: 100%;
}
body {
    overflow-x: hidden;
    font-family: "Zen Kaku Gothic Antique", serif;
    line-height: 1.7;
    background: #F4F9FF;
    color: #093FCF;
    transform-origin: top center;
    animation: loading 1s;
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}

/* 文字 */
h3 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
}
h4 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    /* margin-top: 1rem; */
}
h5 {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
}
p {
    font-weight: 400;
    letter-spacing: 0.05rem;
}


/* レイアウト */
.wrapper {
    max-width: 1280px;
    margin: auto;
    padding: 0 1.5rem;
}
.basic-wrapper {
    max-width: 1020px;
    margin: auto;
    padding: 0 1.5rem;
}




/* 見出し */
.font-english {
    font-family: "Jost", serif;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
}
.font-japanese {
    font-family: "Zen Kaku Gothic Antique", serif;
    font-weight: 400;
    font-style: normal;
}
.index-title {
    font-size: 3.5rem;
}
.index-title a {
    color: #093FCF;
}
.index-title a:hover {
    font-weight: 400;
}
.page-title {
    font-weight: 350;
    font-style: normal;
    color: #093FCF;
    font-size: 3.5rem;
}
.work-title {
    font-style: normal;
    color: #093FCF;
    font-size: 1.5rem;
    font-weight: 400;
    text-align: left;
}

/* ページ読み込みアニメーション */
@keyframes loading {
	0% {opacity: 0;transform: scale(0.99);}
	100% {opacity: 1;transform: scale(1);}
}

/* ヘッダー
---------------------------------------------------------------------------- */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 2rem;
    /* margin: 2rem 8rem ; */
    padding-top: .5rem;
}
.parent-nav{
    overflow-x: auto;
}
/* ナビゲーション */
.nav-wrapper {
    overflow-x: auto; /* 横スクロールを許可 */
    -webkit-overflow-scrolling: touch; /* スムーズスクロール */
}
.nav-wrapper::-webkit-scrollbar {
    height: 5px; /* スクロールバーの高さ */
}
.nav-wrapper::-webkit-scrollbar-thumb {
    background-color: #093FCF; /* スクロールバーの色 */
    border-radius: 10px; /* スクロールバーの丸み */
}
.nav-wrapper::-webkit-scrollbar-track {
    background-color: #F4F9FF; /* 背景の色 */
}

.main-nav{
    display: flex;
    /* flex-wrap: wrap; */
    white-space: nowrap;
    overflow-x: auto;
    gap: 2.5rem;
    font-size: 2rem;
    list-style: none;
}
.main-nav a {
    color: #093FCF;
    position: relative;
}
.main-nav>li.current>a {
    color: #D621DD;
}
.main-nav a::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 2px;
    background: #D621DD;
    bottom: -1px;
    transform: scale(0,1);
    transform-origin: right top;
    transition: transform 0.3s;
}
.main-nav a:hover::after {
    transform: scale(1,1);
    transform-origin: left top;
}
.nowrap{
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;  
  }


/* ギャラリー
---------------------------------------------------------------------------- */
.gallery {
    display: flex;
    flex-direction: column;
    margin: 5rem auto;
    gap: 1rem;
}
.item img {
    aspect-ratio: 16/9;
    object-fit: cover;
}
.image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden; /* 子要素がはみ出ないようにする */
    text-decoration: none;
    flex: 1; /* 各画像を等幅に設定 */
}
.image-container img {
    width: 100%; /* コンテナの幅にフィット */
    height: 100%;
    object-fit: cover; /* 画像を切り抜いてコンテナにフィット */
    display: block;
    transition: transform 0.3s ease;
}

.image-container .text-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(9, 63, 207, 0.9); /* 半透明の黒 */
    color: #FFFBE6;
    line-height: 1.3;
    padding: 10px 20px;
    font-size: 2rem;
    text-align: left;
    opacity: 0; /* 初期状態では非表示 */
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* テキストボックスがクリックされないようにする */
}

.image-container .text-box .year {
    font-size: 1rem; /* 小さめの文字 */
    display: block;
}

.image-container .text-box .gallery-title {
    font-size: 2rem; /* 大きめの文字 */
    display: block;
}
.image-container:hover .text-box{
    opacity: 1; /* ホバー時に表示 */
    transform: translate(-50%, -50%) scale(1.05); /* 少し拡大 */
}
/* 
.image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 63, 207, 0.6); 
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    transition: opacity 0.3s ease;
}
.image-container .overlay .year,
.image-container .overlay .text{
    color: #FFFBE6;
    line-height: 1;
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
    font-size: 3.5rem;
    text-align: center;
}
.image-container .overlay .year{
    font-size: 1.2rem;
}
.image-container:hover .overlay {
    opacity: 1; 
} */

/* CV
---------------------------------------------------------------------------- */
.basic {
    margin: 5rem auto;
}
.basic h4  {
    margin-top: 1rem
}
.basic h5{
    margin: 0rem;
}
.basic .portrait {
    margin: 3rem auto;
}

/* Works
---------------------------------------------------------------------------- */
.works{
    margin: 4rem auto;
}
.works .main-vis {
    margin: 3rem auto;
}
.works .description {
    margin-bottom: 3rem;
}
.works .description p{
    margin-bottom: 0.8rem;
    text-align: justify;
}

.works .images-flex {
    display: flex;
    flex-direction: column;
    margin: 5rem auto;
    gap: 1rem;
}
.works .images-flex img{
    object-fit: cover;
}

.works .images-grid {
    display: grid;
    gap: 1rem 1rem;
    grid-template-columns: repeat(2, 1fr);
}
.works .images-grid img{
    object-fit: cover;
}
.video {
    position: relative;
    width: 100%; /* 幅は親要素にフィット */
    margin: 5rem auto;
    aspect-ratio: 16/9; /* 16:9 のアスペクト比 */
}
.video iframe{
    position: absolute; /* 親要素に合わせる */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* 不要な枠線を削除 */
}


/* VJ用 */
.vj-title {
    margin: 4rem auto 1rem;
}
.vj-video {
    position: relative;
    width: 100%; /* 幅は親要素にフィット */
    aspect-ratio: 16/9; /* 16:9 のアスペクト比 */
}
.vj-video iframe{
    position: absolute; /* 親要素に合わせる */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* 不要な枠線を削除 */
}

/* コンタクト
---------------------------------------------------------------------------- */
.contact {
    margin-top: 8rem;
    margin-bottom: 8rem;    
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1rem;
    line-height: 2;
}
.contact p {
    margin-bottom: 2rem;
}
.contact a {
    color: #093FCF;
}
.contact a:hover {
    color: #D621DD;
}


/* フッター
---------------------------------------------------------------------------- */
.page-footer {
    padding-top: 5rem;
    padding-bottom: 3rem;
}
.sns-btn {
    display: flex;
    justify-content: center;
    list-style: none;
}
.sns-btn li {
    width: 1.5rem;
    margin-left: 1rem;
    margin-right: 1rem;
}
.sns-btn a {
    position: relative;
}
.sns-btn a::after {
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background: #D621DD;
    bottom: -1px;
    transform: scale(0,1);
    transform-origin: right top;
    transition: transform 0.3s;
}
.sns-btn a:hover::after {
    transform: scale(1,1);
    transform-origin: left top;
}
.copyright {
    text-align: center;
    color: #093FCF;
}

/* モバイル版 */
@media (max-width: 767px){
    /* 共通 */
    .index-title{
        font-size: 2rem;
    }
    .page-title {
        font-size: 2rem;
    }
    .page-header{
        flex-direction: column;
        justify-content: left;
        align-items: flex-start;
    }
    /* ナビゲーション */
    .main-nav {
        font-size: 1.25rem;
        gap: 1.25rem;
    }

    /* ギャラリー */
    .image-container .text-box .year {
        font-size: 0.8rem; /* 小さめの文字 */
        display: block;
    }
    .image-container .text-box .gallery-title  {
        font-size: 1rem;
    }
    /* Works */
    .work-title {
        font-size: 1.2rem;
    }
    .works .description p{
        font-size:0.8rem;
    }
    /* CV */
    .basic {
        margin: 2rem auto;
    }
    .basic h3 {
        font-size: 1.5rem;
    }
    .basic h4 {
        font-size: 1.25rem;
    }
    .basic h5 {
        font-size: 1rem;
    }
    .basic p {
        font-size: 0.8rem;
    }
    /* コンタクト */
    .contact {
        margin-top: 2rem;
        margin-bottom: 2rem;    
        font-size: 1rem;
        line-height: 2;
    }




}