/* ---ハンバーガーメニュー--- */

/* ---ハンバーガーボタン--- */
.humburger{
    position: relative;
    z-index: 1100;
    width: 30px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
}

.humburger span{
    display: block;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease; 
}

.humburger.active span:nth-child(1){
    transform: translateY(5.5px) rotate(45deg);
}
.humburger.active span:nth-child(2){
    opacity: 0;
}
.humburger.active span:nth-child(3){
    transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width:768px){
    .site-nav{
        display: none;
    }
    .humburger{
        display: flex;
    }
}

.mobile-nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-base);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

/* ---上スライド(ドロップ) classで使い分け--- */

.drawer-top{
    transform: translateY(-100%);
}
.drawer-top.active{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ---右スライド classで使い分け--- */

.drawer-right{
    transform: translateX(100%);
}
.drawer-right.active{
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}

/* --- プロフィール --- */

.profile-area{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 3vw, 30px);
}

.profile-area .profile-img{
    width: clamp(180px, 30%, 280px);
    height: clamp(180px, 30%, 280px);
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* --- 汎用ナビゲーション(縦) --- */

.nav-links{
    list-style-type: none;
    text-align: center;
    padding: 0;
}

.nav-links li a{
    font-weight: 700;
}

.nav-links li a:hover{
    color: var(--color-accent);
}

/* --- 汎用SNSリンク --- */

.social-links{
    display: flex;
    gap: clamp(10px, 1.5vw, 15px);
    list-style: none;
    padding: 0;
}
/* ---汎用SNSアイコン --- */

.sns-icon{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-block;
    background-size: 60% auto;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
}
.sns-icon:hover{
    transform: scale(1.3);
}

/* --- SNSごとのアイコン画像 --- */

.sns-icon.twitter{
    background-image: url(../images/icon/Twitter_icon.png);
}
.sns-icon.instagram{
    background-image: url(../images/icon/Instagram_icon.png);
}
.sns-icon.line{
    background-image: url(../images/icon/LINE_icon.png);
}

/* --- サンプルエリア --- */

.sample{
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(30px, 4vw, 60px);
    border-top:0;
}

.fv-descrition{
    text-align: center;
}

.sample-cards{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: clamp(20px, 3vw, 30px);
    flex-wrap: wrap;
    margin-top: 40px;
}

.sample-card{
    width: clamp(250px, 33.333%, 360px);
    background-color: var(--color-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: center;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sample-card:hover{
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--color-accent);
}

.sample-card-content-area{
    padding-top: 15px;
    background-color: var(--color-gray);
}

.sample-card img{
    width: 100%;
}

.sample-card p{
    padding: 10px 15px 20px;
    text-align: center;
}

.sample-card a{
    display: block;
}

/* --- 個別サンプルエリア --- */

.sample-pic{
    margin-top: 40px;
    margin-bottom: 40px;
}

/* --- profileカード --- */

.profile-card{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    background-color: var(--color-base);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: clamp(20px, 4vw, 40px);
}

.profile-image-area{
    width: clamp(180px, 30%, 280px);
    height: clamp(180px, 30%, 280px);
}

.profile-image-area img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.profile-content-area{
    width: calc(100% - clamp(180px, 30%, 280px) - 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
}

.profile-btn{
    display: block;
    text-align: center;
    background-color: var(--color-accent);
    color: var(--color-base);
    width: 100%;
    border-radius: 5px;
    font-weight: 700;
    padding: 10px 20px;
    transition: opacity 0.3s ease,transform 0.3s ease;
}

.profile-btn:hover{
    opacity: 0.8;
    transform: translateY(-2px);

}

@media (max-width:768px){
    .profile-card{
        flex-direction: column;
    }
    .profile-content-area{
        width: 100%;
        height: 600px;
    }
}

/* --- contact area --- */

.contact iframe{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
