@media (max-width: 800px) {
    .birth-mobile {
        display: block;
        font-size: 1em;
        text-align: center;
        line-height: 1.3;
    }
    .birth-mobile .birth-md {
        display: block;
        margin-top: 0.1em;
    }
}
@media (max-width: 800px) {
    section.feature-section {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto;
        gap: 10px;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto 1.5em auto;
        text-align: center;
    }
    section.feature-section > div {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    section.feature-section h2.prf-color {
        display: block;
        font-size: 1.1em;
        min-width: 0;
        margin: 0 auto 0.3em auto;
        padding: 0.4em 0.2em;
        box-sizing: border-box;
    }
    section.feature-section p {
        font-size: 0.95em;
        margin: 0.2em 0 0.5em 0;
    }
}
/* main color */
body{
    color: #535353;
    background-color: dimgray;
}

.head{
    text-align: center;
}

/* 画像とテキストを横並びにするためのレイアウト */
.profile-content {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px;
    align-items: flex-start;
    justify-content: center; /* コンテナ全体を中央配置 */
}

/* 画像が Flexbox の子要素になった場合のサイズ調整 */
.profile-content img {
    max-width: 100%;
    height: auto;
    display: block;
    padding : 20px;
}

.profile-text {
    flex: 1 1 0;            /* 残り幅をテキストが占有 */
    min-width: 200px;
    text-align: left;       /* テキストは左寄せ */
}

.profile-words {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* 画面幅が狭い場合*/
@media (max-width: 800px) { 
    .profile-content {
        flex-direction: column;
        align-items: center; 
    }
}

/* slider styles */
.profile-image {            /* 画像カラム内で中央に寄せる */
    flex: 0 0 420px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 500px;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 90vw;
    max-width: 400px;
    /* height: auto;
    overflow: hidden; */
}

.slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 800ms ease;
    display: block;
    object-fit: cover;
}

.slider .slide.active {
    opacity: 1;
    position: relative; /* 表示中は相対でもよい */
}

/* レスポンシブ: スマホで縦並びにする */
@media (max-width: 800px) {
    .profile-content { flex-direction: column; align-items: center; }
    .profile-image { flex: none; }
    .slider { width: 90vw; max-width: 400px; }
}

.btn-umemiyu{
    /* 中央寄せのためフレックスにして左右パディングを均等にする */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 .9rem;
    border-radius: 999px;
    /* 濃いめの見やすいグラデーションに変更 */
    background-color: #ff6b8a; /* フォールバック */
    background: linear-gradient(90deg, #ff6b8a, #8b5cff, #ff6b8a);
    background-size: 200% 100%;
    background-position: 100% 0; 
    color: #ffffff;
    font-weight: 800;
    border: 1px solid rgba(0,0,0,0.12);
    cursor: pointer;
    /* 視認性を高めるためのシャドウとテキストシャドウ */
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
    /* padding-right の直接トランジションは使わず、擬似要素で矢印を伸ばす */
    transition: background-position 0.45s ease, filter 0.18s ease, transform 120ms ease, box-shadow 120ms ease;
    height: 40px;
    line-height: 40px;
    min-width: 180px;
    text-align: center;
    position: relative; /* 擬似要素を絶対配置するため */
}

.btn-umemiyu:hover{
    color: #fff;
    background-position: 0% 0;
    filter: brightness(0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
}

.btn-umemiyu:active{
    transform: scale(0.98);
    filter: brightness(0.8);
}

.btn-artisthome{
    position: relative; /* 擬似要素を絶対配置するため */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 .9rem;
    border-radius: 999px;
    /* 濃いめにして視認性を高める */
    background-color: #0099cc; /* フォールバック */
    background: linear-gradient(90deg, #00a3cc, #2b7bff, #00a3cc);
    background-size: 200% 100%;
    background-position: 100% 0; 
    color: #ffffff;
    font-weight: 800;
/* 共通: 右側にラインと矢印を擬似要素で作り、ホバーで伸ばす */
    border: 0;
    cursor: pointer;
    transition: background-position 0.5s ease, filter 0.2s ease;
    height: 40px;
    line-height: 40px;
    min-width: 180px;
    text-align: center;
}

.btn-artisthome:hover{
    color: #fff;
    background-position: 0% 0;
    filter: brightness(0.95);
    transform: translateY(-2px);
}

.btn-artisthome:active{
    transform: scale(0.98);
    filter: brightness(0.8);
}

/* 共通: 右側にラインと矢印を擬似要素で作り、ホバーで伸ばす */
.btn-umemiyu::after,
.btn-artisthome::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 100%; /* ボタンの右端外側に開始位置を設定 */
    transform: translateY(-50%) translateX(8px); /* ボタンと矢印の隙間 */
    height: 2px;
    width: 0; /* ホバーで幅を伸ばす（右方向） */
    /* 矢印ラインをほんの少し薄く（透け感を少し持たせる） */
    background: rgba(0,0,0,0.75);
    /* 軽い影で浮き上がらせる */
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.18));
    will-change: width, transform;
    transition: width 220ms ease;
    pointer-events: none;
}

.btn-umemiyu::before,
.btn-artisthome::before{
    /* 矢印の頭（三角） */
    content: "";
    position: absolute;
    top: 50%;
    /* ラインの終端（ボタン右端 + gap + line-length）に置く */
    left: calc(100% + 8px + 14px);
    transform: translateY(-50%) translateX(-6px);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    /* 矢印の頭をほんの少し薄く（透け感を少し持たせる） */
    border-left: 6px solid rgba(0,0,0,0.75);
    /* 三角にも影を付ける（境界ベースの三角にも効くことが多い） */
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.18));
    will-change: transform, opacity;
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
    pointer-events: none;
}

.btn-umemiyu:hover::after,
.btn-artisthome:hover::after{
    width: 14px; /* ラインが右に伸びる長さ */
}

.btn-umemiyu:hover::before,
.btn-artisthome:hover::before{
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

/* アニメーションを省略したいユーザー対応 */
@media (prefers-reduced-motion: reduce) {
    .btn-umemiyu::after, .btn-artisthome::after,
    .btn-umemiyu::before, .btn-artisthome::before {
        transition: none !important;
    }
}

.footer{
    display: flex;
    /* 縦並びにする */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px; /* 縦方向の間隔を少し詰める */
    padding: 1rem 0;
    margin-top: 2rem;
    text-align: center; /* テキスト（p）を中央寄せ */
}

/* footer 内の段落とボタンの余白を調整 */
.footer p{
    margin: 0;
}

/* Social icons: 横並びで 20px の間隔 */
.social-icons{
    display: flex;
    flex-direction: row;
/* アニメーションを省略したいユーザー対応 */
    align-items: center;
    gap: 10px; /* 横方向の余白 */
    margin-top: 0.5rem;
}

.social-icon{
    width: 30px; /* 統一サイズ */
    height: auto;
    display: inline-block;
}

.h1-member_name{
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    border-radius: 999px;
}

/* プロフィール身長等 */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    text-align: center;
    grid-template-rows: 100px;
    margin: 0;
    margin-top: 0;
}

@media (max-width: 800px) {
    .feature-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 16px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .feature-section > div {
        width: 100%;
    }
}

.prf-color{
    background: linear-gradient(90deg, #E6E6FA, #B090D0, #E6E6FA);
    color: #fff;
    background-size: 200% 120%;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 999px;
    margin: 0;
    opacity: 1;
}





/* フェードイン */
/* --- アニメーションの定義 --- */
/* 文字を左からフェードインさせるアニメーション */
@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}
/* ↓↓ -webkit- 接頭辞を追加 ↓↓ */
@-webkit-keyframes slideInFromLeft {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

/* 画像をフェードインさせるアニメーション */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
/* ↓↓ -webkit- 接頭辞を追加 ↓↓ */
@-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}



/* --- 要素へのアニメーション適用 --- */

/* 見出しとテキストを左からフェードイン */
.h1-member_name {
    animation: slideInFromLeft 1.0s ease-out forwards; 
    -webkit-animation: slideInFromLeft 1.0s ease-out forwards; /* ← 追加 */
    opacity: 0; 
}

.profile-text {
    animation: slideInFromLeft 1.0s ease-out 0.3s forwards; 
    -webkit-animation: slideInFromLeft 1.0s ease-out 0.3s forwards; /* ← 追加 */
    opacity: 0;
}

/* 画像コンテナをフェードイン */
.profile-image {
    animation: fadeIn 1.5s ease-in 0.5s forwards; 
    -webkit-animation: fadeIn 1.5s ease-in 0.5s forwards; /* ← 追加 */
    opacity: 0;
}

/* ボタン（btn-umemiyu, btn-artisthome）にも遅延フェードインを適用したい場合 */
.btn-umemiyu, .btn-artisthome {
    animation: slideInFromLeft 1.0s ease-out 0.8s forwards; 
    -webkit-animation: slideInFromLeft 1.0s ease-out 0.8s forwards; /* ← 追加 */
    opacity: 0;
}

/* フッターにも遅延フェードインを適用したい場合 */
.footer {
    animation: fadeIn 1.0s ease-out 1.5s forwards; 
    -webkit-animation: fadeIn 1.0s ease-out 1.5s forwards; /* ← 追加 */
    opacity: 0;
}

/* アニメーションを滑らかに、確実に実行させるため */
.h1-member_name,
.profile-text,
.btn-umemiyu, .btn-artisthome {
    /* わずかな3D変換でハードウェアアクセラレーションを有効化 */
    transform: translate3d(0, 0, 0); 
    -webkit-transform: translate3d(0, 0, 0);
}