/* ===================================================
  File:        about.css
  Description: 自己紹介ページのスタイルシート
  Author:      H.Y
  Version:     1.0.0
  Last Update: 2025-10-12 : H.Y
  Log:
    - 2025-10-12: 初版　: H.Y
==================================================== */

/* PC Role */
/* 
・タイトルの余白：下36px
・小タイトルの余白：下15px
・説明文間の余白：下70px
*/

/* SP Role */
/* 
・タイトルの余白：下32px
・小タイトルの余白：下12px
・説明文間の余白：下60px

*/



@charset "UTF-8";

/* =============================
Article header
===============================*/

.topic {
    font-family: "Playfair Display";
    /* padding: 14px 32px 0 32px; */
    padding: 14px 8% 0 8%;
    font-size: 2.6rem;
    font-weight: 400;
    line-height: normal;
}

.topic--about {
    background-color: var(--primary-white);

}

/* Article header */
@media screen and (min-width:769px){
    .topic {
        /* padding: 0 120px 0 120px; */
        padding: 0 8%;
        font-size: 4.8rem;
    }
}


/* =============================
about
===============================*/

.section--profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    /* padding: 42px 32px 80px 32px; */
    padding: 42px 8% 80px 8%;
    gap: 42px;
    background-color: var(--primary-white);
}

.profile__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 39px;
}

.profile__name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 9px;
}

.profile__alpha {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: normal;
}

.profile__kana {
    font-size: 2rem;
    font-weight: 400;
    line-height: normal;
    visibility: hidden;
}

.profile__text {
    text-align: justify;   /* 両端揃え */
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 190%;
}

.mainVisual__icon {
    display: flex;
    flex: 1 0 0;
    align-items: center;
    align-self: stretch;
    gap: 21px;
}

.mainVisual__icon img {
    width: 28px;
    height: auto;
    aspect-ratio: 1/1;
}


/* Article header */
@media screen and (min-width:769px){

    .section--profile {
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;
        width: 100%;
        /* padding: 62px 8% 112px 8%; */
        padding: 62px 10% 180px 10%;
        /* gap: 164px; */
        gap: 10%;
    }

    .profile__img {
        position: relative;
        height: auto;
        width: 35%;
        max-width: 383px;
        /* margin-left: 82px; */
        margin-left: 5%;
    }

    .profile__img::after {
        /* position: absolute;
        content: "";
        background: url(../images/about/about_focus.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-color: red;
        width: 272px;
        height: 272px;
        top: 50%;
        left:0; */
    }

    .profile__content {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        align-self: normal;
        width: 65%;
        /* padding-right: 67px; */
        padding-right: 5%;
        gap: 39px;
    }

    .profile__kana {
        font-size: 2.8rem;
    }

    .profile__text {
        font-size: 1.6rem;
        line-height: 1.9em;
    }

    .mainVisual__icon {
        display: flex;
        flex: 0 0 0;
        align-items: center;
        align-self: stretch;
        gap: 21px;
    }
}


/* =============================
strengths
===============================*/

.section--strengths {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    /* padding: 34px 32px 80px 32px; */
    padding: 34px 8% 80px 8%;
    /* background-color: #B2C3C3; */
    background-color: var(--primary-gray,#C6D1D1); 
}

.sectionTitle {
    display: flex;
    align-items: flex-end;
    align-self: stretch;
    width: 100%;
    margin-bottom: 42px;
}

.sectionTitle img {
    width: 25px;
    height: 25px;
    aspect-ratio: 1/1;
}

.sectionTitle__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sectionTitle__text p {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 120%; /* 16.8px */
}

.sectionTitle__text h2 {
    font-family: "Playfair Display";
    font-size: 2rem;
    font-weight: 400;
    line-height: normal;
}

.strengths {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 11px;
    /* 20251102 修正　start */
    /* margin-top: 20px; */
    /* 20251102 修正　end */
    gap: 53px;
}

.strengths__item {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 32px;
    width: 290px;
    aspect-ratio: 328 / 429;
    padding: 31px 8%;
    background: linear-gradient(180deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%);
    border: 1px solid #FFF;
    /* border-radius: 50% 50% 0 0 / 154px 154px 0 0; */
    border-radius: 50% 50% 0 0 / 35% 35% 0 0;
}

.strengths__item::before {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: 
        linear-gradient(#fff 1px, transparent 1px),
        linear-gradient(#fff 1px, transparent 1px),
        linear-gradient(#fff 1px, transparent 1px)
    ;
    background-size: 100% 2px; /* 線の間隔 */
    background-repeat: no-repeat;
    background-position: 0 10px, 0 22px, 0 35px; 
    content: "";
}

.strengths__title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.strengths__num {
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-family: "Playfair Display";
    font-size: 3rem;
    font-weight: 400;
    line-height: normal;
}

.strengths__name {
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.strengths__name {
    visibility: hidden;
}

.strengths__en {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: normal;
}

.strengths__text {
    text-align: justify;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 190%;
}

/* strengths header */
/* 769px以上1024px未満 */
@media screen and (min-width: 769px) and (max-width: 1024px){

    .strengths {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        width: 100%;  
    }

    .strengths__item {
        gap: 36px;
        aspect-ratio: 328 / 429;
    }
    
    .strengths__item:nth-child(1) {
        grid-column: 1;
    }
    .strengths__item:nth-child(2) {
        grid-column: 2; 
    }

    .strengths__item:nth-child(3) {
        grid-column: 1 / 3; 
        justify-self: center; 
        padding: 31px 4%;
    }
}

/* strengths header */
/* 1024px未以上 */
@media screen and (min-width: 1024px){

    .strengths {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        max-width: 1240px;
        gap: 3%;
        padding: 0;
    }

    .strengths__item {
        width: 28%;
        min-width: 270px;
        aspect-ratio: 328 / 429;
        gap: 36px;
        padding: 34px 3%;
    }

    .strengths__item:nth-child(1) {
        grid-column: auto;
    }
    .strengths__item:nth-child(2) {
        grid-column: auto; 
    }
    .strengths__item:nth-child(3) {
        grid-column: auto; 
    }
}


/* strengths header */
@media screen and (min-width:769px){

    .section--strengths {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-self: stretch;
        /* padding: 34px 32px 80px 32px; */
        /* padding: 112px 8% 80px 8%; */
        /* padding: 112px 8% 180px 8%; */
        /* padding: 112px 10% 180px 10%; */
        padding: 80px 10% 140px 10%;
    }

    .sectionTitle {
        /* margin-bottom: 70px; */
        margin-bottom: 36px;
    }

    .sectionTitle img {
        width: 35px;
        height: 35px;
        margin-bottom: 2px;
    }

    .sectionTitle__text p {
        font-size: 1.4rem;
    }

    .sectionTitle__text h2 {
        font-size: 3.2rem;
    }

    .strengths__num {
        margin-bottom: 25px;
        font-size: 3.2rem;
    }

    .strengths__name {
        font-size: 2rem;
    }

    .strengths__en {
        font-size: 1.2rem;
    }

    .strengths__text {
        font-size: 1.5rem;
        line-height: 1.9em;
    }
}

/* =============================
skills
===============================*/

.section--skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    /* padding: 34px 32px 80px 32px; */
    padding: 34px 8% 80px 8%;
    background-color: var(--primary-gray,#C6D1D1); 
}

.skills {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 42px;
    padding: 0 11px;
    /* 20251102 修正　start */
    /* margin-top: 20px; */
    /* 20251102 修正　end */
}

.skills__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.skills__name {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: normal;
    visibility: hidden;
}


/* skills header */
@media screen and (min-width:769px){

    .section--skills {
        /* padding: 112px 8% 80px 8%; */
        /* padding: 112px 10% 180px 10%; */
        padding: 40px 10% 140px 10%;
    }

    .skills {
        display: grid;
        grid-template-rows: repeat(3, auto);
        /* 縦に流して次の列へ */
        grid-auto-flow: column; 
        flex-direction: column;
        align-items: flex-start;
        align-self: center;
        width: 100%;
        max-width: 1140px;
        gap: 10%;
        /* 20251102 修正　start */
        /* row-gap: 70px; */
        row-gap: 30px;
        /* 20251102 修正　end */
        /* padding: 0 50px; */
        padding: 0 4%;
        justify-items: center;
    }

    .skills__item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: auto;
    }

    .skills__name {
        font-size: 2rem;
    }
}


/* =============================
biogrpahy
===============================*/

.section--biogrpahy {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    /* padding: 34px 32px 80px 32px; */
    padding: 34px 8% 80px 8%;
    /* background-color: #A8B7B7; */
    background-color: var(--primary-gray,#C6D1D1);
}

.biogrpahy {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 50px;
    padding-left: 28px;
    /* 20251102 修正　start */
    /* margin-top: 20px; */
    /* 20251102 修正　end */
}

.biogrpahy::before {
    position: absolute;
    /* 上からはみ出るのを防ぐ */
    top: 0px; 
    left: 9px;
    width: 1px;
    height: 100%;
    background-color: var(--primary-white);
    content: "";
}

.biogrpahy__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 8px;
}

.biogrpahy__year {
    position: relative;
    font-family: "Playfair Display";
    font-size: 1.8rem;
    font-weight: 500;
    line-height: normal;
}

.biogrpahy__year::before {
    position: absolute;
    bottom:0;
    left: -25px;
    height: 13px;
    width: 13px;
    background-image: url(../images/works/circle_img.svg);
    background-repeat: no-repeat;
    background-size: contain; /* 画像全体を収める */
    content: "";
}

.biogrpahy__text {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 190%;
}


/* skills header */
@media screen and (min-width:769px){
    .section--biogrpahy {
        /* padding: 112px 8% 80px 8%; */
        padding: 40px 10% 140px 10%;
    }

    .biogrpahy {
        gap: 55px;
        padding-left: 0;

        padding: 0 4%;
    }

    /* 線 */
    .biogrpahy::before {
        position: absolute;
        /* 上からはみ出るのを防ぐ */
        top: 0px; 
        /* left: calc(7% + 32px); */
        /* left: 110px; */
        left: calc(4% + 110px); 
        /* left: 7%; */
        width: 1px;
        height: 100%;
        background-color: var(--primary-white);
        content: "";
    }

    .biogrpahy__item {
        flex-direction: row;
        align-items: flex-start;
        gap: 80px;
    }

    .biogrpahy__year {
        position: relative;
        width: 7%;
        text-align: right;
        font-size: 2rem;
    }

    /* 丸 */
    .biogrpahy__year::before {
        bottom:0;
        left: 110px;
        width: 16px;
        height: 16px;
        transform: translateX(-50%);
    }

    .biogrpahy__text {
        margin-top: 4px;
        width: 93%;
        font-size: 1.6rem;
        /* 年数と高さを揃える */
        line-height: 1.9em;
    }
}


/* =============================
gallery
===============================*/

.section--gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    /* padding: 34px 32px 80px 32px; */
    padding: 34px 8% 80px 8%;
    background-color: var(--primary-white);
}

.gallery {
    display: flex;
    width: 100%;
}

.gallery__item {
    margin: 0 1%;
}

.gallery__item img {
    display: block;
    width: 100%;
    height: auto;
}

.gallery__category {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: normal;
}

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(3px);
    pointer-events: none;
    opacity: 0;
    transition: 0.25s ease-out;
}

.modal-wrapper.show {
    z-index: 1000;
     opacity: 1;
     pointer-events: all;
}

.modal-image {
     position: absolute;
     top: 50%;
     left: 50%;
     max-height:514px;
     max-width: 80%;
     transition: 0.5s ease-out;
     transform: translate(-50%, -50%);
     opacity: 0;
     object-fit: cover;
}

.modal-image.show {
     opacity: 1;
}

.slick-arrow {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    top: 50%;
    width: 6%;
    min-width: 40px;
    aspect-ratio: 1/1;
    transform: translateY(-50%);
    cursor: pointer;
}

/* 左右位置 */
.prev-arrow { 
    left: -7%;        
}

.next-arrow { 
    right: -7%;
}

.arrow-img {
    width: 100%;
    height: auto;
    transition: transform 0.8s ease;
}

.arrow-img:hover {
    transform: rotate(360deg);
}

.prev-arrow::before,
.next-arrow::before {
    position: absolute;
    margin: auto;
    width: 35%;
    inset: 0;  /* 親にフィット */
    background: url(../images/works/arrowBtn_arrow_left.svg) no-repeat center / contain;
    pointer-events: none;  /* 画像1にホバーが効くように */
    content: "";
}

.next-arrow::before {
    background: url(../images/works/arrowBtn_arrow_right.svg) no-repeat center / contain;
}


@media screen and (min-width:769px){

    .modal-image {
        position: absolute;
        top: 50%;
        left: 50%;
        max-height:514px;
        transform: translate(-50%, -50%);
        transition: 0.5s ease-out;
        object-fit: cover;
        opacity: 0;
    }

    .section--gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        align-self: stretch;
        /* padding: 112px 8% 80px 8%; */
        /* padding: 112px 10% 180px 10%; */
        padding: 80px 10% 180px 10%;
        background-color: var(--primary-white);
    }

    .gallery__category {
        font-size: 1.6rem;
        font-weight: 400;
        line-height: normal;
    }

    .gallery {
        padding: 0;
    }

    .gallery__item {
        margin: 0 0.5%;
    }

}

/* ローディング */
/* 背景部分 */
.worksLoading {
    position: fixed;
    z-index: 3000;
    width: 100%;
    height: 100vh;
    background:var(--primary-lightblack);

    justify-content: center;
    align-items: center;
    display: flex;

    opacity: 1;
  visibility: visible;
  transition: all 3s ease;
  /* 消えるまでの待機時間 */
  transition-delay: 2s; 
}

.worksLoading.is-active {

  opacity: 0;
  visibility: hidden;
}

.worksLoading__text {
    font-size: 2.5vw;
    letter-spacing: 2.4px;
    color: var(--primary-white);
    font-weight: 300;
    display: flex;
}

.worksLoading__text.is-active .char{
    opacity: 1;
}

.char {
  display: inline-block;
  opacity: var(--opacity, 0);
  transition: opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: calc(0.05s * var(--char-index));
}

@media screen and (min-width:769px){

    .worksLoading__text {
        font-size: 1vw;
    }
}



