@charset "utf-8";

@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css);


/*
	font-family:"FontAwesome";
	font-family:"Font Awesome 5 Free";
*/


/*========================================
 Base／固定
========================================*/
body {font-family:"メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;}


/*===== FontSize 早見表(必要なもののみ残す) 　※ 16pxは1remで記載 ※ =====*/
html {
    --12px:calc(12 / 16 * 1rem);
    --13px:calc(13 / 16 * 1rem);
    --14px:calc(14 / 16 * 1rem);
    --15px:calc(15 / 16 * 1rem);
    --20px:calc(20 / 16 * 1rem);
    --24px:calc(24 / 16 * 1rem);
    --30px:calc(30 / 16 * 1rem);
}


/* topへ戻る */
footer #totop{
    width:40px;
    height:40px;
    padding:0;
    text-indent:-9999px;
    background-color:#0079c7;
    border-radius:100%;
    position:fixed;
    bottom:10px;
    right:0;
    z-index:800;
    display:none;
    cursor:pointer;
}
footer #totop a {display:block;}
footer #totop::after{
    content:"\f106";
    font-family:"FontAwesome";
    font-size:40px;
    line-height:35px;
    text-indent:0;
    text-align:center;
    color:#fff;
    display:block;
    position:absolute;
    top:0;
    left:0;
    right:0;
}



/*========================================
 カスタム用 ／PC&SP
========================================*/
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    color: #333;
    font-size: 1rem;
    background-image: url(../images/ptn.png);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}

/* --- 全体レイアウト --- */
.pageContainer {
    max-width: 1200px;
    background: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 22%);
}
main {
    width: 90%;
}
.attention {
    font-size: .85rem;
    line-height:1.6;
}

/* --- トップ --- */
.topBanner {
    margin-bottom: 1rem;
}
.eventPeriod {
    margin: 1.5rem auto 2rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
    width: 90%;
}

/* --- ナビゲーション --- */
.navButtons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1rem auto 2rem;
    max-width: 900px;
    width: 90%;
}
.navButton {
    display: inline-block;
    padding: 1rem 2rem;
    width: 100%;
    color: #385dab;
    border: 2px solid #385dab;
    background-color: #fff;
    border-radius: 99px;
    text-align: center;
    font-weight: 700;
    transition: background-color 0.2s;
}
.navButton:hover {
    background-color: #f5f5f5;
}

/* --- 共通 --- */
.section {
    padding: 3rem 0;
    border-top: 2px dotted #385dab;
}
.sectionTitle {
    position: relative;
    text-align: center;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color:#385dab;
    letter-spacing: .2em;
    text-shadow: 2px 2px 0px rgb(255 255 255), 4px 4px 0px rgb(250 191 5);
}
.infoWrap {
    margin: 0 auto 4rem;
}
.btnWrap {
    margin: 1rem auto;
    text-align: center;
}
.btn {
    display: inline-block;
    position: relative;
    padding: 1rem 2.4rem 1rem 1.4rem;
    min-width: 300px;
    color: #fff;
    border: 2px solid #385dab;
    background-color: #385dab;
    border-radius: 99px;
    text-align: center;
    font-weight: 700;
    transition: all 0.2s;
}
.btn::before {
	position: absolute;
    content: "\f138";
	font-family: "FontAwesome";
	font-weight: 700;
	font-size: 1rem;
	top: 50%;
	right: 1rem;
	transform: translatey(-50%);
}
.btn:hover {
    color: #385dab;
    background-color: #fff;
}
.btnGoku {
    border: 2px solid #fabf05;
    background-color: #fabf05;
}
.btnGoku:hover {
    color: #fabf05;
    background-color: #fff;
}

/* --- 開催概要 --- */
.outlineContent {
    padding-bottom: 1rem;
    font-size: .95rem;;
    line-height: 1.6;
    max-width: 900px;
}

.dataList {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    border-top: 1px solid #ddd;
    align-content: space-around;
    max-width: 900px;
}
.dataCap {
    position: relative;
    padding: .8em 2em;
    width: 10em;
    border-bottom: 1px solid #ffffff;
    line-height: 1.6;
    display: flex;
    align-items: center;
    background:#fabf05;
}
.dataText {
    margin: 0;
    padding: .8em;
    line-height: 1.6;
    width: calc(100% - 10em);
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

/* --- IPアイコン --- */
.ipIconGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.ipIcon {
    border: 2px solid #ccc;
    background-color: #fff;
    text-align: center;
    padding: 0.5rem;
    border-radius: 4px;
    transition: transform 0.2s;
}
.ipIcon:hover {
    transform: scale(1.02);
}
.ipIcon.idolmaster:hover {
    border-color: #f34e6c;
}
.ipIcon.cinderellagirls:hover {
    border-color: #2581c7;
}
.ipIcon.millionlive:hover {
    border-color: #ffc20b;
}
.ipIcon.sidem:hover {
    border-color: #11be93;
}
.ipIcon.shinycolors:hover {
    border-color: #8dbaff;
}
.ipIcon.gakuen:hover {
    border-color: #f39800;
}

/* --- IP別 --- */
.ipSection {
    padding-top: 3rem;
    margin-bottom: 3rem;
}
.ipBanner {
    margin-bottom: 2rem;
    border-radius: 25px;
}

.storeTitle {
    text-align: center;
    font-size: .85rem;
    font-weight: bold;
    padding: .4em;
    background: #eee;
    border-radius: 99px;
}
.storeList {
    list-style: none;
    padding: 0;
    margin: 1rem auto 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    line-height: 1;
}
.storeItem {
    margin: 0;
    font-size: .75rem;
}
.storeItem::before {
    content: "・";
    margin-right: 0.5em;
}

.targetStores {
    margin: 2rem auto;
    font-weight: 500;
    line-height: 1.6;
}
.storePhotoGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
}
.storePhotoItem {
    border-top: 4px solid;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 1px 3px rgb(0 0 0 / 22%);
    width: 100%;
}
.storeImage {
    background-color: #e9e9e9;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 250px;
    height: 250px;
    object-fit: cover;
}
.storeImage:hover {
    opacity: 0.8;
}
.storeName {
    font-weight: 500;
    margin: 0.75rem 0.5rem;
}
.voteButton {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1px solid #385dab;
    background-color: #385dab;
    color: #fff;
    border-radius: 99px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}
.voteButton:hover {
    color: #385dab;
    background-color: #f0f0f0;
}
#idolmaster .storePhotoItem {
    border-color: #f34e6c;
}
#cinderellagirls .storePhotoItem {
    border-color: #2581c7;
}
#millionlive .storePhotoItem {
    border-color: #ffc20b;
}
#sidem .storePhotoItem {
    border-color: #11be93;
}
#shinycolors .storePhotoItem {
    border-color: #8dbaff;
}
#gakuen .storePhotoItem {
    border-color: #f39800;
}


/* --- フェアPOP --- */
.fairPop {
    text-align: center;
}
.fairImage {
    width: 90%;
}

/* --- フッター --- */
.footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
}
.copyright {
    margin: 0;
    padding-bottom: 1rem;
}

/* --- モーダル --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}
.modal.active {
    display: flex;
}
.modalContent {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    animation-name: zoom;
    animation-duration: 0.3s;
}
@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}
.closeButton {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.closeButton:hover,
.closeButton:focus {
    color: #bbb;
    text-decoration: none;
}


/*投票結果*/
.completed {
    margin: 2rem auto;
    padding: 1rem;
    max-width: 900px;
    width: 80%;
    text-align: center;
    line-height:1.6;
    background: #fff;
    border-radius: 20px;
}
.completed a {
    display:inline-block;
    padding:.5rem 1.5rem;
    text-decoration:none;
    color:#fff;
    border-radius:99px;
    background:#325fab
}

/* --- 結果 --- */
#result{
    border: none;
    text-align: center;
}
.resultTitle {
    margin: 2rem auto 4rem;
    width: 40%;
    z-index: 1;
    color: #fff;
    text-shadow: 2px 2px 0px rgb(62 93 171), 3px 3px 0px rgb(245 168 38);
}
.resultTitle:before,
.resultTitle:after {
    position: absolute;
    z-index: -1;
    bottom: -0.5em;
    display: block;
    content: '';
    border: 1em solid #3e5dab;
}
.resultTitle:before {
    left: -1em;
    border-left-width: 0.5em;
    border-left-color: transparent;
}
.resultTitle:after {
    right: -1em;
    border-right-width: 0.5em;
    border-right-color: transparent;
}
.resultTitle span {
    position: relative;
    z-index: 1;
    display: block;
    padding: .8rem 2rem;
    background: #3e5dab;
}
.resultTitle span:before,
.resultTitle span:after {
    position: absolute;
    bottom: -0.5em;
    display: block;
    width: 0.5em;
    height: 0.5em;
    content: '';
    border-style: solid;
    border-color: #6988d5 transparent transparent transparent;
}
.resultTitle span:before {
    left: 0;
    border-width: 0.5em 0 0 0.5em;
}
.resultTitle span:after {
    right: 0;
    border-width: 0.5em 0.5em 0 0;
}

.resultText {
    margin:2rem auto;
    padding: 1.5rem;
    border-radius: 20px;
    max-width: 900px;
    font-size:1.2rem;
    line-height:1.6;
    background: #eeeeee;
}
.prizeItem {
    font-weight: 900;
    color: #3e5dab;
}
.date {
    font-size: 1rem;
}
.notes {
    margin-bottom: 0;
    font-size: .95rem;
}

.resultGrid {
    margin-bottom: 4rem;
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}
.resultItem {
    width: 100%;
}
.resultItem .storeImage {
    background-color:#fff;
    height: 500px;
    width:100%;
    border: 10px solid;
    border-image: linear-gradient(to right bottom, #ffdb6b, #e9ab10) 1 / 8px;
    transition: transform 0.2s;
}
.resultItem .storeImage:hover {
    transform: scale(1.02);
    opacity:10;
}
.resultIp {
    padding: .5rem;
    font-weight: bold;
    background: #385dab;
    border-radius: 99px;
    color:#fff;
}
.idolmaster .resultIp {
    background:#f34e6c;
}
.cinderellagirls .resultIp {
    background:#2581c7;
}
.millionlive .resultIp {
    background:#ffc20b;
}
.sidem .resultIp {
    background:#11be93;
}
.shinycolors .resultIp {
    background:#8dbaff;
}
.gakuen .resultIp {
    background:#f39800;
}
/*.resultIp::before, .resultIp::after {
    content: "\f521";
    font-family: "FontAwesome";
    font-size: 1rem;
}
.resultIp::before {
    padding-right: .5em; 
}
.resultIp::after {
    padding-left: .5em; 
}*/


/* PC */
@media screen and (min-width: 768px) {
    .sp {display: none;}
    
    .outlineContent {
        font-size: 1.1rem;
        text-align: center;
        line-height: 1.8;
    }

    .storePhotoGrid {
        grid-template-columns: repeat(5, 1fr);
    }
    .storeList {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem 1.5rem;
    }
    .storeItem {
        font-size: .85rem;
    }
}



/* スマホ */
@media screen and (max-width: 767px) {
    /* --- 全体レイアウト --- */
    .pc {display: none;}

    
    /* --- トップ --- */
    .eventPeriod {
        font-size: 1rem;
    }
    
    /* --- ナビゲーション --- */
    .navButtons {
        gap:1rem;
    }
    .navButton {
        padding: .8rem 1rem;
        font-size: .95rem;
    } 
    
    /* --- 共通 --- */
    .sectionTitle {
        font-size: 1.5rem;
    }
    .btn {
        padding: .8rem 2.4rem .8rem 1.4rem;
    }
    
    /* --- 開催概要 --- */
    .dataList {
        display: block;
        width: 100%;
        font-size: var(--15px);
    }
   .dataCap {
        padding: .5em .8em;
        width: 100%;
        border:none;
        justify-content: center;
    }
    .dataText {
        width: 100%;
        font-size: var(--14px);
        border-left:1px solid #ddd;
    } 
    
    /* --- IPアイコン --- */
    .ipIconGrid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* --- IP別 --- */
    .ipSection {
        padding-top: 1rem;
        margin-bottom: 3rem;
    }
    .ipBanner {
        border-radius: 8px;
    }
    
    .fairImage {
        width: 100%;
    }
    
    .storeImage {
        width: 200px;
        height: 200px;
    }
    
    /* --- 結果 --- */
    #result {
        padding: 2rem 0 4rem;
    }
    .resultText {
        font-size: 1rem;
    }
    .notes {
        font-size: .75rem;
        text-align:left;
    }
    
    .resultTitle {
        width: 80%;
        font-weight:bold;
    }
    .resultGrid {
        gap: 20px;
    }
    .resultIp {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        font-size: .75rem;
        padding: .5em 1em;
        word-break: auto-phrase;
    }
    .resultItem {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 3;
        gap:0;
    }
    .resultItem .storeImage {
        max-width: 200px;
        max-height: 200px;
        border: 8px solid;
        border-image: linear-gradient(to right bottom, #ffdb6b, #e9ab10) 1 / 6px;
    }
    .storeName.resultName {
        margin: .5rem auto;
    }
    
    
}