*,
*:before,
*:after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    min-height: 100%;
    font-size: 62.5%;
}

body {
    font-family: sans-serif;
    background-image:url(colorful.jpg);
    background-repeat:repeat;
    padding: 0;
    min-height: 100%;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.6rem;
}

li {
    list-style: none;
}

.over {
    z-index: 1;
    background: #fff;
    position: relative;
}

.overblack {
    z-index: 2;
    background: #000;
    position: relative;
    margin: 0;
    padding: 0;
}

.star-wars {
    background-image: url(brackbox.png);
    background-position: center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    height: 100px;
    color: #feda4a;
    font-family: sans-serif;
    font-weight: 500;
    perspective: 950px;
    text-align: justify;
    z-index: 0;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.star-wars2 {
    background-image: url(brackbox.png);
    background-position: center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    height: 200px;
    color: #feda4a;
    font-family: sans-serif;
    font-weight: 500;
    perspective: 950px;
    text-align: justify;
    z-index: 0;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin: 0 auto;
}


/* Header */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(#97b3f0, #51a2ff);
    box-shadow: 5px 5px 5px #00000033;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 0.5rem;
    z-index: 2;
}

.headerLine {
    margin-top: 20px;
    height: 50px;
    width: 100%;
    background-image: url(haru_line.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.headerImage {
    display: flex;
    width: 95%;
    box-shadow: -3px 3px 12px #00000050;
    margin: 3rem auto 0;
    border-radius: 20px;
}

.headerImageDiv {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

@media (min-width:768px) {
    .headerImage {
        width: 80%;
    }
}
.headerTitle5 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background: linear-gradient( 240deg, #ffde45, #ffffff 16%, #ffde45 21%, #ffffff 24%, #ffde45 27%, #ffde45 36%, #ffffff 45%, #ffffff 60%, #ffde45 72%, #ffffff 80%, #ffde45 84%, #452100);
    /* Change the colors above depending on the event*/
    box-shadow: 3px 3px 10px #947e00df;
    text-align: left;
    font-size: 2.5rem;
    color: #000000;
    text-shadow: 0px 2px 2px #ffffff;
    padding: 0.7rem;
    border-radius: 3rem;
    font-weight: 800;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    background-size: 200% 100%;
    animation: rankAnimation 12s ease-in-out infinite;
}


.kurooru {
    position: relative;
    transform-origin: 50% 100%;
    animation: kurooru 60s;
    animation-fill-mode: forwards;
}
.kurooru3 {
    position: relative;
    transform-origin: 50% 100%;
    animation: kurooru 25s infinite;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}



@keyframes kurooru {
    0% {
        top: 50px;
        transform: rotateX(10deg) translateZ(-0px);
    }
    100% {
        top: -700px;
        transform: rotateX(30deg) translateZ(50px);
    }
}

.kurooruEN {
    position: relative;
    transform-origin: 50% 100%;
    animation: kurooruEN 35s forwards;
}

@keyframes kurooruEN {
    0% {
        top: 350px;
        transform: rotateX(10deg) translateZ(-0px);
    }
    100% {
        top: -700px;
        transform: rotateX(25deg) translateZ(50px);
    }
}

.accordion-007 {
    max-width: 600px;
    margin-bottom: 7px;
    background-color: #fff;
}

.accordion-007 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    border: 2px solid #0385e2;
    border-radius: 25px;
    color: #0385e2;
    font-weight: 600;
    cursor: pointer;
}

.accordion-007 summary::-webkit-details-marker {
    display: none;
}

.accordion-007 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    border-bottom: 3px solid #0385e2;
    border-right: 3px solid #0385e2;
    content: '';
    transition: transform .3s;
}

.accordion-007[open] summary::after {
    transform: rotate(225deg);
}

.accordion-007 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin-top: 20px;
    padding: .8em 1.2em;
    border: 2px solid #0385e2;
    border-radius: 25px;
    background-color: #fff;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.accordion-007[open] p {
    transform: none;
    opacity: 1;
}

.accordion-007 p::before,
.accordion-007 p::after {
    position: absolute;
    top: -15px;
    left: 1.2em;
    width: 30px;
    height: 15px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    content: '';
}

.accordion-007 p::before {
    background-color: #0385e2;
}

.accordion-007 p::after {
    top: -12px;
    background-color: #fff;
}


/* ??? */

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.plusFont {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.si8 {
    font-size: 0.8rem;
}

.si10 {
    font-size: 1rem;
}

.si12 {
    font-size: 1.2rem;
}

.si125 {
    font-size: 1.23rem;
}

.si13 {
    font-size: 1.3rem;
}

.si14 {
    font-size: 1.4rem;
}

.si15 {
    font-size: 1.5rem;
}

.si16 {
    font-size: 1.6rem;
}

.si18 {
    font-size: 1.8rem;
}

.si20 {
    font-size: 2rem;
}

.si22 {
    font-size: 2.2rem;
}

.si26 {
    font-size: 2.6rem;
}

.si30 {
    font-size: 3rem;
}

.we400 {
    font-weight: 400;
}

.we600 {
    font-weight: 600;
}

.we800 {
    font-weight: 800;
}

.ma05 {
    margin: 0.5rem;
}

.ma1 {
    margin: 1rem;
}

.ma2 {
    margin: 2rem;
}

.ma3 {
    margin: 3rem;
}

.maTB1 {
    margin: 1rem auto;
}

.maLR1 {
    margin: auto 1rem;
}

.pa1 {
    padding: 1rem;
}

.bo1 {
    border-radius: 2rem;
}


/* image */
.image1 {
    width: 100%;
    height: 0;
    background-image: url('LoginUPEN.png'); 
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: calc((401 / 1086) * 100%);
  }

  .image2 {
    width: 100%;
    height: 0;
    background-image: url('image2.png'); 
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: calc((401 / 1086) * 100%);
  }

  .image3 {
    width: 100%;
    height: 0;
    background-image: url('image3.png'); 
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: calc((401 / 1086) * 100%);
  }







.headerimg {
    display: block;
    box-shadow: 0px 0px 12px #c9c9c9aa;
    width: 100%;
    margin: 1rem auto;
}

.chart {
    width: 90%;
    display: block;
    margin: 1rem auto;
}

@keyframes rankAnimation {
    0% {
        background-position: 0% 50%
    }
    50% {
        background-position: 100% 50%
    }
    100% {
        background-position: 0% 50%
    }
}

.tabcontent {
    display: none;
}

.arrow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrowimg {
    width: 20%;
}


/* 繝輔か繝ｳ繝� */

.shiroi {
    color: #ffe100;
}

.white {
    color: #ff0000;
}

.akai {
    color: #ff0000;
}


.kuroi {
    color: #000000;
}

.aoi {
    color: #0085c2;
}

.infohead {
    background: linear-gradient( #000, #000);
    background-size: 150% 10%;
    box-shadow: 0px 0px 12px #c9c9c9aa;
    animation: rankAnimation 4s ease-in-out infinite;
}

.infoTab {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    background: linear-gradient(
        240deg,
        #003366, #001f3f 16%, #003366 21%,
        #001f3f 24%, #003366 27%, #003366 36%,
        #001f3f 45%, #001f3f 60%, #003366 72%,
        #001f3f 80%, #003366 84%, #002244
    );
    box-shadow: 3px 3px 10px #001a33;
    text-align: center;
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 0px 2px 2px #000000;
    padding: 0.7rem;
    border-radius: 0;
    font-weight: 800;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-size: 200% 100%;
    animation: rankAnimation 12s ease-in-out infinite;
}


.higlight1 {
    color: #ffffff;
    margin: 0.5rem 0;
}

.higlight2 {
    color: #d3b700;
    margin: 0.5rem 0;
}

.higlight3 {
    color: #ff0808;
    margin: 1rem 0;
}

.halfTitle {
    background: linear-gradient(#3aff4b7a, #ffffff00);
}


/* ??? */

.points {
    display: flex;
    align-content: center;
    justify-content: center;
}

.pointName {
    font-size: 1.6rem;
    color: #ff12a8;
    margin-right: 2rem;
}

.pointName2 {
    font-size: 1.6rem;
    color: #ff4fbe;
    margin-left: 1rem;
    margin-right: 2rem;
}

.point {
    color: #ff5100;
    font-size: 1.6rem;
}


/* ??? */

#confetti {
    height: 100%;
    left: 0px;
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: -1;
}

.chuui {
    color: #ff0808;
    animation: chuui 0.5s infinite;
}

@keyframes chuui {
    0% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.0;
    }
}

.chuuiText {
    color: #690000;
}

/* Footer */

footer {
    width: 100%;
    text-align: center;
    color: #000;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 2rem auto;
    padding: 2rem;
}

.bottomline {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


/* ??? */

.charts {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
}

.chart .svg-item {
    width: 200px;
    margin: 0 auto;
    animation: donutfade 1s;
    padding: 20px;
    display: flex;
    flex-direction: row;
}

@keyframes donutfade {
    0% {
        opacity: .2;
    }
    100% {
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .svg-item {
        width: 250px;
    }
}

.donut-segment-2 {
    stroke: #df0000;
    animation: donut1 3s;
}

.donut-segment-3 {
    stroke: #00bd16;
    animation: donut2 3s;
}

.donut-percent {
    animation: donutfadelong 2s;
}

@keyframes donutfadelong {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes donut1 {
    0% {
        stroke-dasharray: 0, 100;
    }
    100% {
        stroke-dasharray: 69, 31;
    }
}

@keyframes donut2 {
    0% {
        stroke-dasharray: 0, 100;
    }
    100% {
        stroke-dasharray: 30, 70;
    }
}

.donut-text-1 {
    font-size: 1rem;
    fill: #ff0000;
}

.donut-text-2 {
    font-size: 1rem;
    fill: #00bd16;
}

.donut-percent {
    font-size: 0.5em;
    line-height: 1;
    transform: translateY(0.5em);
    font-weight: bold;
}

.donut-data {
    font-size: 0.3rem;
    line-height: 1;
    transform: translateY(0.5em);
    text-align: center;
    text-anchor: middle;
    color: #000000;
    fill: #000000;
    animation: donutfadelong 1s;
}


/* ??? */

@media (min-width:768px) {
 
    }
    .chuuiText {
        font-size: 2rem;
    }
    .points {
        margin: 0 auto;
        width: 50%;
    }
    .pointName {
        font-size: 2rem;
    }
    .pointName2 {
        font-size: 2rem;
    }
    .point {
        font-size: 2rem;
    }
    .fixed-header .b-back-button img {
  height: 30px;
}

.fixed-header .logo-center img {
  height: 40px;
}

.main > p.center {
  margin-bottom: 0;
}

.shiroi.infoTab:first-of-type {
  margin-top: 0;
}
/* === ヘッダー全体を左右に分ける === */
.fixed-header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* ← 中央揃えではなく左右分散 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  background: linear-gradient(90deg, rgba(214, 194, 116, 1) 0%, rgba(231, 226, 215, 1) 46%, rgba(214, 194, 116, 1) 100%);
  border-bottom: 2px solid #bda85c;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* 戻るボタン（左） */
.b-back-button {
  margin-left: 10px;
}

/* ロゴ（右） */
.logo-center {
  margin-right: 10px;
}

.logo-center img {
  height: 40px;
  width: auto;
}



