/* キャラクター紹介セクション */
.character-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;

}



.character-section h2 {
    font-size: 2.5em; /* 文字サイズを24pxに設定 */
}


/* メインキャラクターのレイアウト */
.main-characters{
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: flex-end; /* ←追加 */
    margin-bottom: 20px;
}

.character {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.character-stand {
    width: auto; /* 立ち絵のサイズ */
    height: 430px;
}

.character-stand-mina-stand {
    width: auto; /* 立ち絵のサイズ */
    height: 380px;
}

.character-stand-hisa-stand {
    width: auto; /* 立ち絵のサイズ */
    height: 430px;
}


/* サブキャラクターの丸アイコン */
.sub-characters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.character-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ddd;
    transition: transform 0.2s ease-in-out;
}

.character-icon:hover {
    transform: scale(1.1);
}










/* メインキャラクターの名前スタイル */
.character-name-nobuhisa {
    font-size: 1.5em;
    font-weight: bold;
    color: #006666; /* 名前の色（好みに応じて変更可） */
    text-align: center;
    margin-top: 10px;

    text-decoration: none;
}

/* フリガナ部分のスタイル */
.character-name-ruby-nobuhisa {
    display: block;
    font-size: 1em;
    color: #006666; /* フリガナの色（薄めに） */
    text-align: center;
    position: relative;
    padding-bottom: 5px;

}

/* フリガナの下にラインを追加 */
.character-name-ruby-nobuhisa::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #d45d79; /* 下線の色 */
    position: absolute;
    bottom: 0;
    left: 0;

}

.character-name-nobuhisa:hover {
    color: #00666677;
}









/* メインキャラクターの名前スタイル */
.character-name-mina {
    font-size: 1.5em;
    font-weight: bold;
    color: #CC0033; /* 名前の色（好みに応じて変更可） */
    text-align: center;
    margin-top: 10px;

    text-decoration: none;
}

/* フリガナ部分のスタイル */
.character-name-ruby-mina {
    display: block;
    font-size: 1em;
    color: #CC0033; /* フリガナの色（薄めに） */
    text-align: center;
    position: relative;
    padding-bottom: 5px;

}

/* フリガナの下にラインを追加 */
.character-name-ruby-mina::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #d45d79; /* 下線の色 */
    position: absolute;
    bottom: 0;
    left: 0;

}

.character-name-mina:hover {
    color: #CC003377;
}





















/* メインキャラクターの名前スタイル */
.character-name-hisa {
    font-size: 1.5em;
    font-weight: bold;
    color: #9900CC; /* 名前の色（好みに応じて変更可） */
    text-align: center;
    margin-top: 10px;

    text-decoration: none;
}

/* フリガナ部分のスタイル */
.character-name-ruby-hisa {
    display: block;
    font-size: 1em;
    color: #9900CC; /* フリガナの色（薄めに） */
    text-align: center;
    position: relative;
    padding-bottom: 5px;

}

.character-name-hisa:hover {
    color: #9900CC55;
}


/* フリガナの下にラインを追加 */
.character-name-ruby-hisa::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #d45d79; /* 下線の色 */
    position: absolute;
    bottom: 0;
    left: 0;

}






.character-name a {
    text-decoration: none; /* リンクの下線を消す */
    color: inherit; /* 見た目を名前の色と統一 */
}


/* スマホ用キャラクター紹介のレスポンシブ対応 */
@media (max-width: 768px) {

    .character-section {
        padding: 10px;
    }

    .main-characters {
        flex-direction: column;
        gap: 20px;
        align-items: center; /* スマホでは中央揃えに変更 */
    }

    .character-stand,
    .character-stand-mina-stand, {
        width: 100%;
        max-width: 200px;
        height: auto;
    }

    .character-stand-hisa-stand {
      width: auto; /* 立ち絵のサイズ */
      height: 450px;
    }

    .character {
        margin-bottom: 20px;
    }

    .character-name-mina,
    .character-name-hisa,
    .character-name-nobuhisa,
    .character-name-ruby-mina,
    .character-name-ruby-hisa,
    .character-name-ruby-nobuhisa {
        font-size: 1.2em;
    }

    .character-icon {
        width: 60px;
        height: 60px;
    }

    .sub-characters {
        flex-wrap: wrap;
        gap: 10px;
    }

    .character-icon:hover {
        transform: none;
    }
}
