@charset"utf-8";
body{
    line-height: 1.5;
    font-size: 1.6rem;
}
.nav__header{
    margin-top: 73px;
}
/* ===== about===== */
.about__title{
    margin: 30px auto 0px calc(var(--primary-margin25pxsp) + 10px);
    position: relative;
}
.about__title::before{
    content: '';
    display: block;
    width: var(--primary-margin25pxsp);
    height: 1px;
    background-color: var(--primary--black);
    top: 15px;
    left: calc(-6.7vw - 10px);
    position: absolute;
}
.about__titleen{
    font-family: var(--primary--font--title);
    font-size: 2.4rem;
}
.about__titleja{
    font-size: 1.6rem;
    position: absolute;
    top: 7px;
    left: 111px;
}
/* pc */
@media screen and (min-width:756px){
    .about__title{
        margin: 70px auto 0px calc(var(--primary-margin120pxpc) + 10px);
    }
    .about__title::before{
        width: var(--primary-margin120pxpc);
        top: 25px;
        left: calc(-8.34vw - 10px);
    }
    .about__titleen{
        font-size: 3.6rem;
    }
    .about__titleja{
        font-size: 2rem;
        top: 15px;
        left: 161px;
    }
}

/* =====profile===== */
.profile__group{
    position: relative;
}
.profile__group::after{
    content: '';
    display: block;
    background-image: url(../images/item/profile__sp.webp);
    background-repeat: no-repeat;
    background-size: contain;
    width: 90.93vw;
    height: 100%;
    position: absolute;
    /* top: 120px; */
    left: -6.7vw;
    z-index: -1;
    top: 15vh;
}
.section__profile{
    margin: 0px var(--primary-margin25pxsp) 100px;
}
.profile__title,
.reason__title,
.strength__title,
.like__title{
    font-size: 1.8rem;
    color: var(--primary--worksgreen);
}
.profile__title,
.strength__title{
    margin-top: 30px;
}
.profile__img{
    width: 86.67vw;
    max-width: 350px;
    margin: 10px 0px;
}
.profile__img img{
    width: 100%;
}
.profile__nameen{
    font-size: 2.4rem;
    font-weight: bold;
}
.profile__txtgroup{
    line-height: 1.8;
}
.profile__list,
.reason__group,
.strength__item,
.profile__list1{
    margin-top: 30px;
}
.profile__txttitle,
.reason__txttitle,
.strength__txttitle{
    font-size: 1.6rem;
    font-weight: 500;
}
.profile__txt,
.reason__txt,
.strength__txt{
    margin-top: 10px;
}
/* 348px以下 */
@media screen and (max-width:348px){
    .profile__group::after{
        top: 80vh;
    }
}
/* 348px以下↑ */

/* pc */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .section__profile{
        margin: 0px var(--primary-margin120pxpc) 0px;
    }
}
@media screen and (min-width:769px){
    .profile__group::after{
        background-image: url(../images/item/profile__pc.webp);
        width: 100vw;
        max-height: 1550px;
        left: -11.11vw;
        top: 15vh;
        background-size: cover;
        background-position: right center;
    }
    .section__profile{
        margin: 0px 11.11vw 0px;
    }
    .profile__title,
    .reason__title,
    .strength__title,
    .like__title{
        font-size: 2rem;
    }
    .profile__title,
    .strength__title{
        margin-top: 70px;
    }
    .profile__grouppc{
        display: flex;
        justify-content: space-between;
        margin-top: 30px;
    }
    .profile__img{
        /* width: 26.39vw;
        max-width: 450px; */
        width: 380px;
        margin:0px;
    }
    .profile__nameen{
        font-size: 3.6rem;
    }
    .profile__nameja{
        font-size: 2rem;
    }
    .profile__txtgroup{
        line-height: 2;
    }
    .profile__list1,
    .profile__list{
        width: 42.45vw;
    }
    .profile__list{
        margin-bottom: 80px;
        min-width: 520px;
    }
    .profile__list--1{
        margin-left: 21.32vw;
    }
    .profile__list--3{
        margin-left: auto;
    }
    .profile__list--4{
        margin: 0px auto 80px;
    }
    .profile__list,
    .reason__group,
    .strength__item,
    .profile__list1{
        margin-top: 0px;
    }
    .profile__txttitle,
    .reason__txttitle,
    .strength__txttitle{
        font-size: 2rem;
    }
    .profile__txt,
    .reason__txt,
    .strength__txt{
        margin-top: 20px;
    }
    
}
/* pc↑ */
/* =====reason===== */
.section__reason{
    padding: 30px var(--primary-margin25pxsp);
    background-color: #F0F7F5;
    position: relative;
    z-index: 1;
}
/* pc */
@media screen and (min-width:769px){
    .section__reason{
        padding: 50px var(--primary-margin120pxpc);
    }
    .reason__group{
        margin-top: 50px;
    }
}
/* pc↑ */
/* =====strength===== */
.section__strength{
    margin: 0px var(--primary-margin25pxsp) 30px;
}
.strength__img{
    width: 70.77vw;
    margin: 30px auto 0px;
}
/* pc */
@media screen and (min-width:769px){
    .section__strength{
        margin: 0px var(--primary-margin120pxpc) 50px;
    }
    .strength__img{
        width: 26.39vw;
        margin: 0px;
        max-width: 550px;
    }
    .strength__group{
        display: flex;
        justify-content: space-between;
        gap: 8.34vw;
    }
    .strength__txt{
        width: 43.05vw;
    }
    .strength__item{
        margin-top: 50px;
    }
    .strength__item:first-child{
        margin-top: 0px;
    }
}
/*=====like===== */
.section__like{
    padding: 30px var(--primary-margin25pxsp);
}
/* サムネイル画像 */
#photo {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.photo__item {
    width: 86.77vw;
    max-width: 400px;
    position: relative;
}
/* キャプション（文字）の初期状態 */
.photo__item .caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    padding: 8px 16px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* ホバーしてないときはクリックできない */
}
.photo__item a img {
    transition: 0.4s;
}
.photo__item a:hover img {
    opacity: 0.5;
    background-color: white;
}
.photo__item:hover .caption {
    opacity: 1;
    pointer-events: auto; /* ホバー中はクリック可能に */
  }

  
/*modal*/
/* モーダル画像 */
.modal__item{
    /* display: none; */
    z-index: -10;
    /* 背景に隠している */
    opacity: 0;
    /* 不透明度の設定 */
    transition: 0.5s;
    width: 50%;
    max-width: 768px;
    background-color: white;
    padding: 8px;
    box-shadow: 2px 4px 12px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.modal__item.open{
    /* display: block; */
    z-index: 10;
    opacity: 1;
}
.modal__itemtxt{
    margin-top: 20px;
    color: var(--primary--black);
    font-size: 1.4rem;

}

/* 背景のグリーン */
.container::after{
    display: none;
    content: '';
    background-color: #F0F7F5;
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.container.open::after{
    display: block;
}

/* 閉じるボタン */
.close{
    display: none;
    /* padding: 3px; */
    position: fixed;
    right: var(--primary-margin25pxsp);
    top: 25px;
    z-index: 100;
    /* 手前に出ていて欲しい */
    /* background-color: white; */
    width: 20px;
    height: 20px;
}
.close img{
    width: 100%;
    height: auto;
}
.close.open{
    display: block;
}