:root {
  --inner__pdding: 20px;
  --color_gold:#A58B56;
  --color_red:#ED1919;
  --font-size:16px;
}

@media screen and (max-width:500px) {
    :root {
        --inner__pdding: 10px;
        --font-size:14px;
    }
}

.l-inner {
    padding: 0 var(--inner__pdding);
}

body {
    font-size: var(--font-size);
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-style: normal;
    line-height: 1.7;
    overflow-y: scroll;
    background-size: 50%;
    background-attachment: fixed;
    font-family: "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "Noto Sans JP",
        sans-serif;
    min-height: 100dvh;
}


.wrapper {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    background: #fff;
    z-index: inherit;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;

}

img{
  width: 100%;
  height: auto;
}
.mincho {
    font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
}

.indexDescription {
    text-align: center;
    text-shadow: 0px 0px 5px #fff, 0px 0px 5px #fff, 0px 0px 5px #fff;
    font-weight: bold;
    font-size: clamp(10px, calc((14/ 425)*100vw), 14px);
}

.header__image{
width: 100px;
z-index: 10;
position:relative;
}

.topwrapper{
  background:  url(../../../../images/sp/minashigo/bg-top.webp);
  background-size: cover;
      padding-bottom: 150px;
}

.c-card {
  background-color: #fff;
  border-radius:20px;
  border:2px solid var(--color_gold);
  padding: 20px;
  padding: clamp(12px, calc((20/ 600)*100vw), 20px);
  position: relative;
}

.indexMv h1{
  margin-bottom: 20px; 
}

.indexMv{
  margin-bottom: 40px;
}

.indexEntry {
    margin-bottom: 20px;
}
.indexEntry__present img{
  width:60px;
}
@media screen and  (max-width:600px) {
  .indexEntry__present img{
  
  width: clamp(40px, calc((60/ 600)*100vw), 60px);
}
}

.indexEntry__present--outer{
  text-align:center;
  margin-bottom: 10px;
}
.indexEntry__present {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: clamp(16px, calc((20/ 600)*100vw), 20px);
    font-weight: bold;
    background: #FBFAF0;
    border-radius: 20px;
    padding: 10px 15px;
}

.coution {
    color: var(--color_red);
    
    font-size: clamp(12px, calc((14/ 600)*100vw), 14px);
    text-align: center;
    margin-top: 10px;
}

.indexEntry__sub {
    font-weight: bold;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
    margin:10px 0;
}
@media screen and (min-width:450px) {
 .spbr{
    display:none;
  }
}
@media screen and (max-width:450px) {
 .pcbr{
    display:none;
  }
}

.indexEntry__sub:before,.indexEntry__sub:after {
    content: "";
    display: block;
    aspect-ratio: 359/151;
    
   width: clamp(50px, calc((70/ 600)*100vw), 70px);
    background:  url(../../../../images/sp/minashigo/frame1.png);
    background-size: cover;
}

.indexEntry__sub:after {
    transform: rotate(180deg);
}

.cp-title{
  width:90%;
  max-width: 333px;
  aspect-ratio: 333 / 30;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin:auto;
  transform: translateY(-50%);
}



.ctaBtn{
  background-image: linear-gradient(0deg, #872f18, #b35c41);
    font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
    font-weight: bold;
    font-size: clamp(20px, calc((30/ 600)*100vw), 30px);
    border: 1px solid #111;
    color: #fff;
    display: block;
    text-align: center;
    padding:10px 0;
    box-shadow: inset 0px 0px 0px 1px #EDDEC1, inset 0px 0px 10px 0px #000;
}

.bottomwrapper{
    background:  url(../../../../images/sp/minashigo/bg_paper.webp);
    padding-top: 20px;
    padding-bottom:40px;
}

.bottomwrapperinner {
    border: 1px solid var(--color_gold);
    background:#fff;
        padding-top: 100px;
        padding-bottom: 30px;
}
.bottomwrapper__outeline{
    border: 1px solid var(--color_gold);
    padding: 3px;
    position:relative;
    color: var(--color_gold);
}
.cp__logo {
    position: absolute;
    top: 0;
    transform: translateY(-50%);
    left:0;
    right:0;
    margin:auto;
    max-width:493px;
}
.cp__decotop:before,
.cp__decotop:after,
.cp__decobottom:before,
.cp__decobottom:after{
  content: "";
  display: block;
  background:  url(../../../../images/sp/minashigo/frame2.png);
  background-size: cover;
  aspect-ratio:1/1;
  width:clamp(12px, calc((100/ 600)*100vw), 100px);
  
  position:absolute;
}

.cp__decotop:before{
  top:0;
  left:0;
  rotate: 180deg;
}
.cp__decotop:after{
  top:0;
  right:0;
  rotate: 270deg;
}
.cp__decobottom:before{
  bottom:0;
  right:0;
}
.cp__decobottom:after{
  bottom:0;
   left:0;
  rotate: 90deg;
}

.cp-heading{
  text-align: center;
  color:var(--color_gold);
  font-weight:bold;
  padding:15px 10px;
  border-top:1px solid var(--color_gold);
  border-bottom:1px solid var(--color_gold);
}

.cp-heading span{
  display:inline-block;
}

.indexCp__present{
   color:var(--color_gold);
   position:relative;
}

.indexCp__presentBody{
  margin:24px 0;
}
.indexCp__date{
  font-size: 14px;
  display:flex;
  justify-content: center;
  align-items:center;
  gap: 10px;
 font-family: "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "Noto Sans JP",
        sans-serif;
        
}
@media screen and (max-width:600px) {
  .indexCp__date{
  flex-direction:column;
        
}
}

.indexCp__date--label{
    background: var(--color_gold);
    color: #fff;
    padding: 5px;
    line-height: 1;

}
.indexCp__date{

}


.indexCp__presentleft {
    width: calc(70% + 20px);
}
@media screen and  (max-width:600px) {
 .indexCp__presentleft {
    width: 100%;
}
}
.indexCp__presentchara {
    position: absolute;
    right: 0px;
    width: 30%;
    bottom: 0;
}
@media screen and  (max-width:600px) {
.indexCp__presentchara {

    bottom: -70px;
}
}

.indexCp__presenttext {
        display: inline-flex;
    flex-direction: column;
    font-size: clamp(18px, calc((24/ 600)*100vw), 24px);
}

.indexCp__presenttext span {
    display: block;
}

span.indexCp__presentstrong {
  background: var(--color_red);
  color: #fff;
}

.indexCp__youtubemain{
  text-align: center;
      margin: 24px 0;
}

@media  screen and (max-width:500px) {
  .indexCp__youtubemain{
  text-align: left;
      
}
}

.howto__card {
    background: #FFFDF7;
    padding: 10px;
}

.howto__card {
    padding: 10px;
    border: 1px solid;
}

.howto__heading {
    text-align: center;
    padding: 18px;
    border-bottom: 1px dotted;
    margin-bottom: 20px;
}


.indexCp__youtubeWrapper{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.indexCp__youtubeWrapper iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}



.indexCp__present,
.indexCp__youtube {
    margin-bottom: 45px;
}


.deadline{
font-size: 14px;
text-align: center;
}
header {
    position: absolute;
    top: 0;
    padding:10px 0;
}
footer{
  font-size:14px;
  font-weight:400;
  padding:40px 0;
  background-color: #252525;
  color:#949494;
}
@media screen and (max-width:450px) {
  footer{
    font-size: 12px;
  }
}
.footer_copy{
  text-align:center;
}
.indexCta__bottom{
  margin-top:40px;
}

.howto__body ul {
     padding-left: 1rem;
}
.howto__body li{
  position:relative
}
.howto__body li:before{
    content: "・";
    position: absolute;
    left: -1rem;
}


.modal-overlay.is-open {
   display: flex;
}
.modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal {
    background: #fff;
}

.modal-answer-row {
    text-align: center;
}

#modal-judge-image {
    width: 90px;
    height: auto;
}
@media screen and  (max-width:500px) {
  #modal-judge-image {
    width: 70px;
   
}
}
.choices {
  display: flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
  gap: 10px;
  padding-bottom: 10px;
  }

.choices button {
    border: 1px solid;
}
.question__header{
  position:relative;
}

.progress-bar {
  border:1px solid var(--color_gold);
    background: #fff;
    width: 100%;
    height: 20px;
    padding: 3px;
    border-radius:100px;
}

.progress-bar-fill {
    background:  var(--color_gold);
    height: 100%;
    border-radius:100px;
}

.progress-label {
    text-align: center;
}

.quiz-card {
 
    height: 200px;
    padding:  20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.choices .choice-btn {
    border: 1px solid;
    display: flex;
    width: 100%;
    border: 1px solid var(--color_gold);
    padding: 15px;
    align-items:center;
    gap:10px;
        line-height: 1;
        background-color: #fff;
        box-shadow:0 0 0 2px #fff;
}

.choice-btn:before{
  content:"";
  display:block;
  height:20px;
  aspect-ratio:1/1;
  background-image:  url(../../../../images/sp/minashigo/quiz_select.png);
  background-size: contain;
}
.choice-btn:hover:before{
  background-image:  url(../../../../images/sp/minashigo/quiz_selected.png);
}

.question .wrapper{
  background: url(../../../../images/sp/minashigo/bg-top.jpg);
    background-size: cover;
}
.question main{
  flex:1;
  position: relative;
}
.progress{
  margin-bottom: 20px;
}
.quiz__outer{
  margin-bottom: 40px;
}

.progress-wrap{
  position:relative;
}
.progress__image {
    width: 50px;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
}

.modal {
    background: #fff;
    max-height: 95dvh;
    overflow-y: scroll;
    overflow-x: hidden;
    background: #fff;
    padding: 20px;
    width: 90%;
    max-width: 550px;
    border-radius: 8px;
    text-align: center;
    position: relative;
}
.modal-explanation {
    text-align: left;
    font-size: 14px;
}
.btn-next {
    display: block;
    width: 100%;
}

.modal-answer-row,
.modal-explanation {
    margin-bottom: 10px;
}
.modal__title {
    margin-top: 20px;
    font-size: 20px;
}

.modal-image-wrap img {
    max-height: 300px;
        object-fit: contain;
}




.animate__bounceIn2 {
    -webkit-animation-duration: .75s;
    animation-duration: .75s;
    -webkit-animation-duration: calc(var(--animate-duration) * 0.75);
    animation-duration: calc(var(--animate-duration) * 0.75);
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
}

@keyframes bounceIn {

    0%,
    20%,
    50%,
    55%,
    to {
        -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }

    0% {
        opacity: 0;
    }

    20% {
        opacity: 0;
        -webkit-transform: scale3d(.7, .7, .7);
        transform: scale3d(.9, .9, .9)
    }

    50%,
    55% {
        opacity: 1;
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1)
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, .1)
    }
}

.result__share:before {
    content: "";
    width: 36px;
    aspect-ratio: 1 / 1;
    background-image: url(../../../../images/sp/minashigo/x_white.png);
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
}
.result__share {
    background: #000;
    color: #fff;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 16px;
    width: 230px;
    height: 66px;
    border-radius: 100px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: auto;
}

.resultGrade{
  text-align: center;
}
.resultGrade__num {
    font-size: 40px;
}

.resultGrade__name {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 16px;
}

.resultbottomwrapper{
  padding-top: 120px;
  margin-bottom: 40px;
}
.result .wrapper{
background:  url(../../../../images/sp/minashigo/bg_paper.webp);  
}



.resultGrade__decotop:before,
.resultGrade__decotop:after,
.resultGrade__decobottom:before,
.resultGrade__decobottom:after{
  content: "";
  display: block;
  background:  url(../../../../images/sp/minashigo/frame3.png);
  background-size: cover;
  aspect-ratio:1/1;
  width:50px;
  position:absolute;
}

.resultGrade__decotop:before{
  top:5px;
  left:5px;
  rotate: 180deg;
}
.resultGrade__decotop:after{
  top:5px;
  right:5px;
  rotate: 270deg;
}
.resultGrade__decobottom:before{
  bottom:5px;
  right:5px;
}
.resultGrade__decobottom:after{
  bottom:5px;
   left:5px;
  rotate: 90deg;
}
.resultGrade__wrapper{
  position: relative;
      background: #fff;
    border-radius: 10px;
    padding: 30px 3px;
    border:2px solid var(--color_gold);
}
.resultHowTo{
  margin-bottom: 40px;
}




.resultEntry__present {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: clamp(16px, calc((20 / 600) * 100vw), 20px);
    font-weight: bold;
    background: #fff;
    border-radius: 20px;
    padding: 10px 30px;
}


.resultEntry__present img{
  width:60px;
}
@media screen and  (max-width:600px) {
  .resultEntry__present img{
  
  width: clamp(40px, calc((60/ 600)*100vw), 60px);
}
}
.result__serialCode--small{
  font-size: 12px;
}

.result__serialCode{
  font-weight:bold;
  font-size: clamp(12px, calc((25/ 600)*100vw), 25px);
}

.result__serialCodeWrapper{
  padding:17px 10px;
  background-color: #F5F2E5;
  text-align:center;
  color:#000;
  border-radius:50px;
  position:relative;
  cursor:pointer;
  line-height: 1;
  display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 10px;
}

  .result__serialCodeWrapper::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -960 960 960' fill='%231f1f1f'%3E%3Cpath d='M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top:0;
  right: 10px;
  bottom: 0;
  margin: auto;
}

.resultMv {
  margin-bottom: 30px;
}

.resultGrade.mincho {
    margin-bottom: 30px;
}
.resultShare {
    margin-bottom: 30px;
}

.resultOfficial{
 background:  url(../../../../images/sp/minashigo/bg-official.jpg);
  background-size: cover;
  padding: 30px 0 40px;
  position:relative;
}

  .resultOfficial:before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00000087;
}

.resultOfficial .l-inner {
    position: relative;
}

.appGroup {
  display: flex;
  align-items: center;
  justify-content:center; /* 均等配置、お好みで center や gap に変更可 */
  width: 100%; /* 全体の横幅(親要素に合わせる) */
  gap:10px;
}

.leftpain .appGroup {
      flex-direction:column;
  display: flex;
  align-items: center;
  justify-content:center; /* 均等配置、お好みで center や gap に変更可 */
  width: 100%; /* 全体の横幅(親要素に合わせる) */
  gap:10px;
}

.app_item {
  display: flex;
  align-items: center;
  min-width: 0; /* 縮小を許可してはみ出しを防ぐ */
 
}
.app_item img {
  height: 50px; /* ここで高さを統一(お好みの値に調整) */
  width: auto;
  max-width: 100%; /* 親の幅を超えないように制限 */
  object-fit: contain;
}

.leftpain .app_item img {
    width: 200px;
    height:auto;
    object-fit: contain;
}
.result__officiallogo{
  max-width:350px;
  width:90%;
  margin:0 auto 10px;
}
.app_item{
  cursor: pointer;
}
.resultCta__bottom{
  margin-bottom: 40px;
}
 .resultForm__container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 100%;
  }
  .responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
.resultForm{
    margin-bottom:40px;
  }

#loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;

}

.result main {
  opacity: 0;
}


.loading__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loading__image {
  width: 150px;
  height: auto;
}

.loading__text {
  margin-top: 20px;
  
  font-weight: bold;
  color: var(--color_gold);
}

.loading__text::after {
  content: ".";
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: loading-dots 1.8s steps(1, end) infinite;
}

@keyframes loading-dots {
  0%,
  32% {
    content: ".";
  }

  33%,
  65% {
    content: "..";
  }

  66%,
  100% {
    content: "...";
  }
}

.howto__body a {
    background: #000;
    color: #fff;
    padding: 3px 5px;
    border-radius: 3px;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 1;
    opacity: 1;
    animation: mask-fade-out 0.5s ease forwards;
    pointer-events: none;
}

@keyframes mask-fade-out {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@media screen and (max-width: 600px) {
.leftpain{
  display:none;
}
}

@media screen and (min-width: 601px) {

  body {
      
    background:  url(../../../../images/sp/minashigo/bg-top.webp);
      background-size: cover;
        background-attachment: fixed;
  }
  body:before{
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    content:"";
    background:#000;
    opacity: .2;
  }

  .leftpain {
      position: fixed;
      top: 0;
      height: 100%;
      display: block;
      flex: 1;
      width: calc((100% - 600px) / 2);
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .wrapper{
    margin-left: calc((100% - 600px) / 2);
    border-left:2px solid #fff;
    border-right:2px solid #fff;
    box-shadow:0 0 10px 0 #fff;
    width:600px;
    margin-right: 50px;
  }

  #loading{
        left:0;
  }
}

@media screen and (max-width:1100px) {
  #loading{
    left: 0;
    right: 0;
    margin: auto;
  }

  .leftpain,.rightpain {
    display:none;
  }

  .wrapper{
    margin-left:initial;
    margin:auto;
  }
}


.tee__coution {
    font-size: 12px;
    opacity: .6;
}