/**************************************************
**
**	OPTION
**	-----------------------------------------------
**	layout.css / style.css で上書きしたいスタイルを
**	ここに記入
**
***************************************************/

/**************************************************
**
**	LAYOUT ID
**	-----------------------------------------------
**	DEFAULT SETTING
**
***************************************************/

/***********************************
**
**	HEADER
**
***********************************/

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: url("/images/pc/background.png") repeat center top;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/***********************************
**
**	HEADER
**
***********************************/

header {
    background-image: url("/images/pc/header.png");
    width: 830px;
    height: 40px;
    z-index: 20;
}

#headerMargin {
    height: 0px;
}

/***********************************
**
**	FOOTER
**
***********************************/

footer {
    background-image: url("/images/pc/footer.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 830px;
    height: 40px;
    z-index: 20;
}

/***********************************
**
**	LAYOUT
**
***********************************/

/* header / footer の高さ差分 */
#wrapper {
    background-color: #ffffff;
    width: 830px;
    height: calc(100% - 80px);
    margin: 0 auto;
    padding: 40px 0 40px 0;
    border-left: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    overflow: hidden;
}

/* NAVIGATION AREA */
#navigationArea {
    width: 42%;
    height: 100%;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

/* MAIN AREA */
#mainArea {
    position: relative;
    width: var(--main-area-width);
    height: 100%;
    border: none;
    white-space: -moz-pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    overflow-x: hidden;
    overflow-y: hidden;
}

.container {
    padding: 0px;
    border-left: 1px solid #000;
}

.contents {
    /* padding: 10px; */
}

/***********************************
**
**	NAVIGATION
**
***********************************/

#navigationMenu {
    width: 100%;
    background-color: #ededed;
    border-radius: 0 0 10px 10px;
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
}


#navigationMenuHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navigationMenuHeaderLeft {
    width: 50%;
    padding: 50px 0px 40px 5px;
    transform: scaleY(3);
}

#navigationMenuHeaderLeft span {
    color: #ffffff;
    font-size: 45px;
    font-weight: bold;
    letter-spacing: 2px;
}

#navigationMenuHeaderRight {
    width: 25%;
}

#navigationMenuHeaderRight img {
    width: 100%;
}

#navigationMenuFooterArea {
    display: flex;
    align-items: center;
}

#navigationMenuFooter {
    width: 50%;
    padding: 10px 0px 10px 5px;
}

#navigationMenuFooterRight {
    width: 50%;
}

#navigationMenuFooterRight img {
    width: 100%;
}

#navigationMenu ul {
    padding: 5px;
    padding-bottom: 0px;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

#navigationMenu ul li {
    position: relative;
    width: 25%;
    padding: 0px;
    list-style-type: none;
}

#navigationMenu ul li p {
    position: relative;
    margin: 0 auto;
    margin: 0px 3px 5px 3px;
    display: block;
}

#navigationMenu ul li p img {
    width: 100%;
    border-radius: 8px;
}

/***********************************
**
**	SIDE NEWS
**
***********************************/

#side-news-list {
    width: 90%;
    height: 30%;
    background-color: #FFFFFF;
    margin: 0 1% 5% 1%;;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
    border: 1px solid #e0e0e0;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    /** 子要素の設定*/
    display: flex;
    flex-direction: column;
}


#side-news-list::-webkit-scrollbar {
  display: none;
}

.side-news-title {
    font-weight: bold;
    font-size: 14px;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    color: #333;
}

.side-news-item {
    width: 96%;
    height: 20%;
    padding: 3% 2%;
    border-radius: 6px;
}

.side-news-item:hover {
    background: rgba(0, 0, 0, 0.06);
}

.side-news-item:last-child {
    margin-bottom: 0;
}

.side-news-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.side-news-date {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
    font-weight: 500;
}

.side-news-text {
    font-size: 13px;
    color: #888;
    line-height: 1.4;
    word-break: break-word;
}

/**************************************************
**
**	FULL SCREEN
**	-----------------------------------------------
**	FULL SCREEN SETTING
**
***************************************************/

.fullScreenBackgroundImage img,
.fullScreenBackgroundImage video {
    border: 1px solid #000;
    position: relative;
    width: 100%;
    display: block;
}

/**************************************************
**
**	各コンテンツ上書き
**	-----------------------------------------------
**	CONTENTS REWRITE SETTING
**
***************************************************/

#fullWideView {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    margin: auto;
    width: 830px;
    height: calc(100% - 80px);
    overflow-x: hide;
    overflow-y: auto;
}

/*
#fullWideView .contents{
	width: 500px;
	margin: 0 auto;
}
*/

#noAuthArea {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    margin: auto;
    width: 500px;
    height: calc(100% - 80px);
}

#indexArea {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    margin: auto;
    width: 500px;
    height: calc(100% - 80px);
}

#homeHeaderMenu{
    width: 110px;
}

#homeHeaderMenu ul li {
    width: 70px;
}

#homeBannerListArea {
    height: 91%;
}

#homeShowButton {
    width: 45px;
}

#chatContentsArea {
    position: fixed;
    top: 0%;
    bottom: 0;
    left: 0;
    right: 33%;
    margin: auto;
    /*background-color: #999999;*/
    width: 26%;
    height: calc(100% - 10%);
}

#pointArea {
    /*
	top: 40px;
	left: 70px;
	*/
    top: 87px;
    left: 10px;
}

#messageListArea {
    top: 20%;
    height: 75%;
}

.chatOptionArea {
    display: none;
}

#chatBackground {
    position: relative;
    top: 0;
    left: 44%;
    width: 56%;
}

.messageTextArea {
    width: 88%;
}

/**************************************************
**
**	CONTENTS
**	-----------------------------------------------
**	CONTENTS SETTING
**
***************************************************/
.formList {
    width: 80%;
}

/**************************************************
**
**	MODAL
**	-----------------------------------------------
**	MODAL SETTING
**
***************************************************/



.modalContentFullHeight {
    width: 530px;
}

.movieFullModal {
    width: 600px;
}

.photoFullModal {
    width: 370px;
}

.albumDetailVideoArea {
    max-width: 100%;
    margin: 5px 15px;
}

.albumDetailPhotoArea {
    max-width: 100%;
    margin-top: 5px;
}

.albumDetailVideoArea video {
    width: 100%;
}

.modalResizePc {
    width: 440px;
}

.lschg {
    display: flex;
    height: 4em;
    padding-top: 0px;
    margin-bottom: -8px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family:
        "M PLUS Rounded 1c", "メイリオ Regular", "ヒラギノ角ゴシック",
        sans-serif;
}

.lschg div {
    width: calc(100% / 4);
    text-align: center;
    position: relative;
}

.lschg div[data-mail-cnt]:before {
    position: absolute;
    top: 4px;
    right: 2px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    background: #ff2d74;
    color: #fff;
    /* border: solid 1px #fff; */
    text-align: center;
    font-size: 10px;
    border-radius: 50%;
    font-weight: bold;
    content: attr(data-mail-cnt) "";
}

.lschg img {
    max-width: 90%;
}

.modalFooter {
    gap: 5px;
}

/**************************************************
**
**	FAVORITE
**	-----------------------------------------------
**	FAVORITE CHARACTER SETTING
**
***************************************************/

/* favorite modal: improve readability for character names + selection state */
.modalContent .favGrid.boxColumn {
    padding: 10px 8px;
    gap: 20px;
    row-gap: 20px;
}

@media (max-width: 520px) {
    .modalContent .favCard {
        width: calc(50% - 20px);
    }
}

.modalContent .favButton:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.modalContent .favButton:hover .favThumb::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}
.modalContent .favButton:hover .favName {
    background: #e0e0e0;
    color: #111;
}
.modalContent .favButton:focus {
    outline: 2px solid #0099ff;
    outline-offset: 2px;
}

.modalContent .favCard.is-selected .favName {
    background: #d5d5d5;
    color: #000;
}
/* reuse existing overlay, but only over the thumbnail */
.modalContent .favThumb .boxColumnScreen {
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.55);
}
.modalContent .favThumb .boxColumnScreen .favSelectedBadge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
/* hide checkbox but keep for accessibility/state */
.modalContent input.fav-check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/**************************************************
**
**	GACHA STYLE
**	-----------------------------------------------
**	SITE STYLE SETTING
**
***************************************************/
#prizeButton{
    width: 12%;
}

#historyButton{
    width: 12%;
}

.modalContent{
    width: 530px;
}

/**************************************************
**
**	TALK STYLE
**	-----------------------------------------------
**	TALK STYLE SETTING
**
***************************************************/

.banner.characterBanner{
    flex-direction: unset;
    justify-content: unset;
    margin:  0% 0% 0% 3%;
}

.banner.characterBanner .badge{
    position: absolute;
    left: 96%;
    top: -13px;
}

.characterSelect {
    position: absolute;
    bottom:2px;
}


/**************************************************
**
**	STORY STYLE
**	-----------------------------------------------
**	STORY STYLE SETTING
**
***************************************************/

.banner.storyBanner .badge {
    position: absolute;
    left: 96%;
    top: -13px;
}

.storySelect {
    position: absolute;
    bottom: 2px;
}