/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,*::before,*::after{box-sizing:border-box}*{margin:0}@media (prefers-reduced-motion:no-preference){html{interpolate-size:allow-keywords}}body{line-height:1.5;-webkit-font-smoothing:antialiased}img,picture,video,canvas,svg{display:block;max-width:100%}input,button,textarea,select{font:inherit}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}p{text-wrap:pretty}h1,h2,h3,h4,h5,h6{text-wrap:balance}#root,#__next{isolation:isolate}

html{scroll-behavior: smooth;}

body{
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

p{
  font-size: 16px;
  line-height: 2;
  color:#000;
  letter-spacing: 0; 
}
li{  font-size: 16px;
  letter-spacing: 0; }
a{text-decoration: none!important;transition: 0.3s!important;}
a.op:hover{opacity: 0.7;}
button{transition: 0.2s!important;}
header{
  text-align: center;
  /*background-image:url(/column/wp-content/themes/megla-grid/assets/img/senkyo/header_bg.webp), url(/column/wp-content/themes/megla-grid/assets/img/senkyo/bg1.webp);
  background-size: contain, cover;
  background-position:top center, bottom center;
  background-repeat: no-repeat, no-repeat;*/
  background-image:url(/column/wp-content/themes/megla-grid/assets/img/senkyo/bg1.webp);
  background-size: cover;
  background-position:bottom center;
  background-repeat: no-repeat;
}

header h1{
  /* width:43%; */
  width:39%;
  margin:0 auto 4%;
  /* padding-top: 20.7%; */
  padding-top:3%;
}

header .fuki{
  font-size: 24px;
  font-weight: bold;
  background: #fff;
  display: inline-block;
  padding:8px 1.2em 10px;
  line-height: 1;
  position: relative;
  color: #000;
}
header .fuki::after{
  content:"";
  display: block;
  position: absolute;
  bottom:-15px;
  left: calc(50% - 10px);
  border-top: 16px solid #fff;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

header .fuki + p{
  color: #fff;
  font-size: 18px;
  margin: 40px 0;
}

header a{
  display: inline-block;
  width:80%;
  max-width: 400px;
}

header .line{
  font-size: 30px;
  color: #fff;
  background: linear-gradient(to right,#efcc7d 0%,#e0b561 15%,#c98c09 60%,#f0d39c 85%,#f3e6ca 100%);
  font-weight: bold;
  margin: 20px 0 0;
}
header .line_w {
  background: #fff;
  padding:18px;
}
header .line_w img{
  max-width: 700px;
  width:100%;
  margin: 0 auto;
}

section.entry{
  background-image:url(/column/wp-content/themes/megla-grid/assets/img/senkyo/bg2.webp);
  background-size: cover;
  background-position:top center;
  background-repeat: no-repeat;
  padding:100px 1.5em 80px;
  text-align: center;
}


section.entry .sokuhou{
  padding:0;
  text-align: center;
  /* max-width:1240px; */
  max-width:1080px;
  margin: 0 auto 100px;
  background: #e6e6e6;;
  border-radius: 24px;
  letter-spacing: 3px;
}

section.entry .sokuhou h2{
  background: linear-gradient(to right,#efcc7d 0%,#e0b561 15%,#c98c09 60%,#f0d39c 85%,#f3e6ca 100%);
  font-size: 40px;
  color: #fff;
  border-radius: 24px 24px 0 0;
  padding: 10px;
}
section.entry .sokuhou h2 span{
  font-size: 30px;
}
section.entry .sokuhou h2 span:last-child{
  font-size: 22px;
}

section.entry .sokuhou .count{
  font-size: 38px;
  font-weight: bold;
}
section.entry .sokuhou .count span{
  font-size: 66px;
  letter-spacing: 1px;
  margin-left: 20px;
  margin-right: 8px;
}
section.entry .sokuhou > div{
  background:#fff;
  padding:2.5em 3em;
  border-radius: 24px;
}

section.entry .inner{
  max-width: 1040px;
  margin: 0 auto;
  width:100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap:40px;
}
section.entry .inner .entries{
  width:calc(33% - 40px);
  background: #999;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

/* 投票前後 */
.ranking_before section.entry .inner .entries,
.ranking_after section.entry .inner .entries{
  aspect-ratio: 306 / 580;
}
.ranking_before section.entry .inner .entries > img,
.ranking_after section.entry .inner .entries > img{
  position: absolute;
  top:0;
  max-width: 100.1%;
} 

/* 投票中 */

.ranking_voting section.entry .wpcf7{
  display: none;
}
.ranking_voting section.entry .inner .entries{
  aspect-ratio: 306 / 680;
}
.ranking_voting section.entry .inner .entries > img{
  position: absolute;
  top:0;
}

section.entry .inner .entries p.sh{
  font-size: min(1.28vw,14px);
  text-align: center;
  position: absolute;
  bottom: 23.2%;
  width:100%;
  color: #fff;
  letter-spacing: 0;
}
section.entry .inner .entries p.sh::before{
  content: "＼";
  font-size: 12px;
}
section.entry .inner .entries p.sh::after{
  content: "／";
  font-size: 12px;
}
section.entry .inner .entries button.vt{
  background: #ffffffaa;
  border-radius: 50px;
  margin:0 5%;
  padding: 3px 5px 6px 20px;
  border: none;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 13%;
  width: 90%;
  font-size: min(3.8vw,40px);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 2px;
  gap:16px;
  z-index: 2;
}
section.entry .inner .entries button.vt i{
  content:"";
  display: block;
  position: relative;
  height:50px;
  width:50px;
  border-radius: 50%;
  margin-top: 4px;
}
section.entry .inner .entries button.vt i::after{
  content:"";
  display: block;
  position: absolute;
  border-left: 18px solid #000;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  top:calc(50% - 13px);
  right: 26%;
}

section.entry .inner .entries a.mani{
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  width:100%;
  height: 100%;
  /* padding:14px 0 16px 10px; */
}
section.entry .inner .entries a.mani:hover{
  background: #ffffff33!important;
}
section.entry .inner .entries a.mani img{
  width:90%;
  position: absolute;
  bottom:16px;
  left:5%;
}

section.entry .inner .entries.e3 a.mani::before,
section.entry .inner .entries.e6 a.mani::before,
section.entry .inner .entries.e7 a.mani::before,
section.entry .inner .entries.e8 a.mani::before,
section.entry .inner .entries.e9 a.mani::before{
  content:"";
  width:100%;
  height:12%;
  display:block;
  position:absolute;
  bottom:0;
  transition: 0.3s;
}

section.entry .inner .entries a.mani:hover::before{
  opacity: 0.7;
}

section.entry .inner .entries.e1 button.vt{  color:#16294f; background: #d7e3f3; }
section.entry .inner .entries.e1 button.vt i{ background: #16294f; }
section.entry .inner .entries.e1 button.vt i::after{border-left-color:#d7e3f3; }

section.entry .inner .entries.e2 button.vt{  color:#c95248; background: #f7d7cb; }
section.entry .inner .entries.e2 button.vt i{ background: #c95248; }
section.entry .inner .entries.e2 button.vt i::after{border-left-color:#f7d7cb; }

section.entry .inner .entries.e3 button.vt{  color:#ea9e00; background: #f5efc1; }
section.entry .inner .entries.e3 button.vt i{ background: #ea9e00; }
section.entry .inner .entries.e3 button.vt i::after{border-left-color:#f5efc1; }
section.entry .inner .entries.e3 a.mani::before{  background: #bc851baa;}

section.entry .inner .entries.e4 button.vt{  color:#82934f; background: #e7eece; }
section.entry .inner .entries.e4 button.vt i{ background: #82934f; }
section.entry .inner .entries.e4 button.vt i::after{border-left-color:#e7eece; }

section.entry .inner .entries.e5 button.vt{  color:#9a458c; background: #f2eaf2; }
section.entry .inner .entries.e5 button.vt i{ background: #9a458c; }
section.entry .inner .entries.e5 button.vt i::after{border-left-color:#f2eaf2; }

section.entry .inner .entries.e6 button.vt{  color:#cc6d82; background: #fdf7f8; }
section.entry .inner .entries.e6 button.vt i{ background: #cc6d82; }
section.entry .inner .entries.e6 button.vt i::after{border-left-color:#fdf7f8; }
section.entry .inner .entries.e6 a.mani::before{  background: #c2697daa;}

section.entry .inner .entries.e7 button.vt{  color:#35803b; background: #e7eece; }
section.entry .inner .entries.e7 button.vt i{ background: #35803b; }
section.entry .inner .entries.e7 button.vt i::after{border-left-color:#e7eece; }
section.entry .inner .entries.e7 a.mani::before{  background: #1f7d3bcc;}

section.entry .inner .entries.e8 button.vt{  color:#9e5824; background: #f5f3c5; }
section.entry .inner .entries.e8 button.vt i{ background: #9e5824; }
section.entry .inner .entries.e8 button.vt i::after{border-left-color:#f5f3c5; }
section.entry .inner .entries.e8 a.mani::before{  background: #985724cc;}

section.entry .inner .entries.e9 button.vt{  color:#231815; background: #eeeeef; }
section.entry .inner .entries.e9 button.vt i{ background: #231815; }
section.entry .inner .entries.e9 button.vt i::after{border-left-color:#eeeeef; }
section.entry .inner .entries.e9 a.mani::before{  background: #221714cc;}

section.entry .inner .entries button.vt:hover{background: #fff;transform: translateY(-4px);}
section.entry .inner .entries button.vt:hover i::after{border-left-color: #fff;}

/* fancybox POPUP */

.fancybox__carousel.is-draggable .fancybox__slide, .fancybox__carousel.is-draggable .fancybox__slide .fancybox__content{
  cursor: default!important;
}

.fancybox__content{
  padding: 0!important;
  max-width: 430px;
  background-size: cover!important;
  background-position: top center!important;
}

.fancybox__content ul{
  color: #fff;
  list-style: none;
  font-size: 18px;
  padding: 0 20px;
}
.fancybox__content ul li{
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap:16px;
  margin-bottom: 1em;
  letter-spacing: 1px;
}
.fancybox__content ul li::before{
  content:"";
  display: block;
  background: url(/column/wp-content/themes/megla-grid/assets/img/senkyo/pop_check.png);
  background-repeat: no-repeat;
  background-size: contain;
  width:20px;
  height: 13px;
  margin-top: 8px;
}
.fancybox__content ul li p{
  line-height: 1.4;
  color: #fff;
}
.fancybox__content ul li span{
  font-size: 20px;
  display: block;
  font-weight: bold;
}

.fancybox__content .share{
  font-size: 12px;
  color: #fff;
  text-align: center;
}
.fancybox__content .share::before{
  content: "＼";
  font-size: 10px;
  margin-right: 2px;
}
.fancybox__content .share::after{
  content: "／";
  font-size: 10px;
  margin-left: 2px;
}

.fancybox__content .vt{
  font-size: 17px;
  border-radius: 30px;
  padding: 10px 24px 8px;
  margin:5px auto 16px;
  border: none;
  outline: none!important;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-weight: 900;
}

.fancybox__content .vt:hover{
  background: #fff!important;
  transform: translateY(-4px);
}

.fancybox__content .vt span{
  font-size: 28px;
  vertical-align: sub;
  padding: 0 1px 3px 3px;
}

.fancybox__content .vt img,
.fancybox__content > div p:first-child img{
  height: 15px;
  width: auto;
  margin: 2px 3px 0 0;
  display: inline-block;
}
.fancybox__content > div p:first-child img{
  margin:0 5px 4px 0;
}

.fancybox__content .vt i{
  content:"";
  width:30px;
  height: 30px;
  border-radius: 50%;
  display: block;
  margin-left: 10px;
  position: relative;
}
.fancybox__content .vt i::before{
  content:"";
  display: block;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #000;
  position: absolute;
  top:calc(50% - 8px);
  right:7px;
}
.fancybox__content .vt:hover i::before{
  border-left-color: #fff!important;
}

.fancybox__content > div{
  background: #fff;
  padding:10px 10px 16px;
  margin:4px;
}

.fancybox__content > div p:first-child{
  text-align: center;
  letter-spacing: 2px;
  font-size: 18px;
  line-height: 1.5;

}
.fancybox__content > div p:first-child span{
  font-size: 20px;
  font-weight: bold;
}
.fancybox__content > div > img{
  max-height: 110px;
  width: auto;
  margin: 10px auto 16px;
}
.fancybox__content > div p:last-child{
  text-align: center;
}
.fancybox__content > div p:last-child a{
  color: #fff;
  font-size: 15px;
  padding: 5px 1em;
  margin: 0 auto;
  display: inline-block;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 1.4;
}
.fancybox__content > div p:last-child a img{
  width:17px;
  height: 14px;
  display: inline-block;
  margin: 0 0 2px 5px;
  vertical-align: middle;
}

.fancybox__content > div .flex{
  display: flex;
  justify-content: center;
  align-items: center;
  gap:16px;
  margin: 10px 0;
}
.fancybox__content > div .flex img{
  width: 70px;
}
.fancybox__content > div .flex p{
  text-align: left;
  font-size:14px;
  line-height: 1.8;
  margin:5px 0 10px;
  font-weight:500;
}
.fancybox__content > div .flex + p{
  font-size: 12px;
  letter-spacing: -1px!important;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.4;
}

#no1_box{  background-color: #16294f;}
#no1_box .vt{  color: #16294f;  background: #d7e3f3;}
#no1_box .vt i{  background-color: #16294f;}
#no1_box .vt i::before{  border-left-color: #d7e3f3;}
#no1_box > div p{ color: #16294f; }
#no1_box > div a{ background-color: #16294f;}

#no2_box {background-color:#de6961 }
#no2_box .vt{  color: #c95248;  background: #f7d7cb;}
#no2_box .vt i{  background-color: #c95248}
#no2_box .vt i::before{  border-left-color: #f7d7cb;}
#no2_box > div p{ color: #de6961; }
#no2_box > div a{ background-color: #de6961;}

#no3_box {background-image: url(/column/wp-content/themes/megla-grid/assets/img/senkyo/no3_popbg.png);}
#no3_box .vt{  color: #ea9e00;  background: #f5efc1}
#no3_box .vt i{  background-color: #ea9e00;}
#no3_box .vt i::before{  border-left-color: #f5efc1;}
#no3_box > div p{ color: #ea9e00; }
#no3_box > div a{ background-color: #ff9c00;}

#no4_box {background-color: #82934f;}
#no4_box .vt{  color: #82934f;  background: #e7eece;}
#no4_box .vt i{  background-color: #82934f;}
#no4_box .vt i::before{  border-left-color: #e7eece;}
#no4_box > div p{ color: #82934f; }
#no4_box > div a{ background-color: #82934f;}

#no5_box {background-color: #9c7290;}
#no5_box .vt{  color: #9a458c;  background: #f2eaf2;}
#no5_box .vt i{  background-color: #9a458c;}
#no5_box .vt i::before{  border-left-color: #f2eaf2;}
#no5_box > div p{ color: #9c7290; }
#no5_box > div a{ background-color: #9c7290;}

#no6_box {background-image: url(/column/wp-content/themes/megla-grid/assets/img/senkyo/no6_popbg.png);}
#no6_box .vt{  color: #cc6d82;  background: #fdf7f8;}
#no6_box .vt i{  background-color: #cc6d82;}
#no6_box .vt i::before{  border-left-color: #fdf7f8;}
#no6_box > div p{ color: #cc6d82; letter-spacing: 0;}
#no6_box > div a{ background-color: #cc6d82;}

#no7_box {background-image: url(/column/wp-content/themes/megla-grid/assets/img/senkyo/no7_popbg.png);}
#no7_box .vt{  color: #35803b;  background: #e7eece;}
#no7_box .vt i{  background-color: #35803b;}
#no7_box .vt i::before{  border-left-color: #e7eece;}
#no7_box > div p{ color: #37813d; }
#no7_box > div a{ background-color: #35803b;}
#no7_box .vt > img,#no7_box > div p:first-child img,
.ranking_thanks section.entry.et7 .fuki span img{filter: invert(35%) sepia(65%) saturate(446%) hue-rotate(75deg) brightness(101%) contrast(87%);}

#no8_box {background-image: url(/column/wp-content/themes/megla-grid/assets/img/senkyo/no8_popbg.png);}
#no8_box .vt{  color: #9e5824;  background: #f5f3c5;}
#no8_box .vt i{  background-color: #9e5824;}
#no8_box .vt i::before{  border-left-color: #f5f3c5;}
#no8_box > div p{ color: #9e5824; }
#no8_box > div a{ background-color: #9e5824;}
#no8_box .vt > img,#no8_box > div p:first-child img,
.ranking_thanks section.entry.et8 .fuki span img{filter: invert(36%) sepia(55%) saturate(815%) hue-rotate(345deg) brightness(91%) contrast(82%);}

#no9_box {background-image: url(/column/wp-content/themes/megla-grid/assets/img/senkyo/no9_popbg.png);}
#no9_box .vt{  color: #231815;  background: #eeeeef;}
#no9_box .vt i{  background-color: #231815;}
#no9_box .vt i::before{  border-left-color: #eeeeef;}
#no9_box > div p{ color: #231815; }
#no9_box > div a{ background-color: #000;}

section.compare,
section.present{
  background: #fff;
  padding-bottom: 30px;
}

section.compare h3,
section.present h3{
  font-size: 24px;
  color: #fff;
  background: linear-gradient(to right,#efcc7d 0%,#e0b561 15%,#c98c09 60%,#f0d39c 85%,#f3e6ca 100%);
  font-weight: bold;
  padding: 14px 16px;
  text-align: center;
  letter-spacing: 2px;
  line-height: 1.4;
}

section.compare h3 span,
section.present h3 span{
  font-size: 22px;
  margin-bottom: 2px;
  display: inline-block;
}

section.compare .inner{
  padding: 0 1.5em;
  max-width: 780px;
  margin: 0 auto;
}

section.compare .inner p{
  line-height: 1.5;
}
section.compare .start{
  text-align: center;
  margin-top: 2em;
  margin-bottom: 1.5em;
}
section.compare .start > span{
  display: inline-block;
  margin: 0 auto;
  /* background: #d7a438; */
  background:#B82922;
  padding:5px 2em;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 2px;
  color: #fff;
}
section.compare .start > span > span{
  font-size: 16px;
}

section.compare .flex{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap:20px;
  margin: 1.5em 0 1em;
}
section.compare .flex img{
  width:280px;
  height: auto;
}
section.compare .flex div p:first-child{
  font-size: 20px;
  margin-bottom: 10px;
}
section.compare .flex div ul{
  padding-left: 0px;
  column-count: 2;
  list-style: none;
  margin-top: 8px;
}
section.compare .flex div ul li::before{
  content:"・";
  display: inline-block;
}

section.compare .gray{
  color: #666666;
}
section.compare p.btnb{
  text-align: center;
  margin:30px 0;
}
section.compare p.btnb a{
    background: #000;
    color: #fff;
    font-weight: bold;
    padding: 8px 16px;
}
section.compare p.btnb a img{
    width: 17px;
    height: 14px;
    display: inline-block;
    margin: 0 0 2px 10px;
    vertical-align: middle;
}

section.present h3{
  letter-spacing: 0;
}

section.present h3 span span{
  font-size: 36px;
  line-height: 1;
}

section.present .inner{
  padding: 0 1.5em;
}

section.present .flex{
  max-width: 700px;
  margin: 0 auto;
  padding: 18px 0 22px;
  border-bottom: 1px solid #b9b9b9;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  gap:38px;
}
section.present .flex img{
  width: 180px;
}
section.present .flex p.rank{
  font-size: 22px;
  font-weight: bold;
  flex-shrink: 0;
}
section.present .flex p.item{
  line-height: 1.6;
}
section.present .flex p.item .att{
  font-size:80%;
  text-indent: -1em;
  margin-left: 1em;
  line-height: 1.5;
  margin-top:0.5em;
  color:#999;
}

section.present .flex > div{
  display: flex;
  gap:20px;
  align-items: center;
}
section.present .flex > div p.item span{
  font-size: 14px;
  line-height: 1.2;
  display: block;
}
section.present .flex > div .itemB{
  display: flex;
  gap:1.5em;
}

section.present .attention{
  font-size:14px;
  max-width: 700px;
  margin: 10px auto 0;
  line-height: 1.4;
}

section.present .howto{
  max-width: 700px;
  margin: 30px auto;
}

section.present .howto p:first-child{
    background: linear-gradient(to bottom, transparent 50%, #e0b256 50%);
    font-size: 22px;
    font-weight: bold;
    padding: 0 0.5em 5px;
    display: inline;
    letter-spacing: 1px;
}

section.present .howto .pattern{
  display: flex;
  font-size: 20px;
  font-weight: bold;
  gap:10px;
  align-items: center;
  margin: 22px 0 16px;
}

section.present .howto .insta,
section.present .howto .x{
background: #000;
border-radius: 5px;
display: flex;
justify-content: center;
align-content: center;
width:42px;
height: 42px;
}
section.present .howto .insta img{
  filter:invert(100%) sepia(0%) saturate(0%) hue-rotate(189deg) brightness(103%) contrast(101%);
  width:32px;
  height:auto;
}
section.present .howto .insta:hover{
  opacity: 0.7;
}

section.present .howto .x img{
  width:24px;
  height: auto;
}

section.present .howto .step{
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
  margin-bottom: 14px;
}
section.present .howto .step.sp{
  display: none;
}
section.present .howto .step .fl{
  color: #fff;
  background: #cd9317;
  font-size: 12px;
  margin: 2px 20px 0 0;
  font-weight: normal;
  padding:3px 15px;
  line-height: 1.2;
}
section.present .howto .step .fl span{
  font-size: 14px;
  font-weight: bold;
}

section.present .howto .step .fsm{
  font-size:14px;
}

section.present .howto .text{
  margin-top:16px;
  line-height: 1.8;
}

section.present .howto .period{
  margin: 20px 1em 40px;
}
section.present .howto .period span{
  background: linear-gradient(to bottom,transparent 50%,#e0b256 50%);
  color: #570b10;
  font-size: 18px;
  font-weight: bold;
  padding: 0 0.5em 5px;
  display: inline;
}

section.detail{
  padding-top:30px;
  background: url(/column/wp-content/themes/megla-grid/assets/img/senkyo/bg1.webp);
  background-size: cover;
}
section.detail h3{
  background: #fff;
  color: #570b10;
  font-size: 20px;
  padding: 16px;
}
section.detail h3 span{
  max-width: 700px;
  display: block;
  margin: 0 auto;
}
section.detail ul{
  max-width: 700px;
  display: block;
  margin: 16px auto 24px;
  padding: 0;
  list-style: none;
}
section.detail ul li{
  color: #fff;
  display: flex;
  line-height: 2;
}
section.detail ul li::before{
  content: "・";
}
section.detail ul:last-child{
  padding-bottom: 30px;
  margin-bottom: 0;
}


footer .inner{
  background: #fff;
  padding:30px 1.5em 1em;
  text-align: center;
}
footer a{
  display: inline-block;
  vertical-align: bottom;
}
footer .insta img{
  width: 33px;
  height: 32px;
}
footer .x{
  background: #000;
  border-radius: 5px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
}
footer .x img{
  width: 20px;
  height: 20px;
}
footer .flex{
  display: flex;
  align-items: center;
  justify-content: center;
  gap:30px;
  margin:30px 0;
}
footer .flex .logo{
  height: 40px;
  width: auto;
}
footer .target {
  background: #000;
  color: #fff;

  font-weight: bold;
  padding:8px 16px;
}
footer .target img{
  width:17px;
  height: 14px;
  display: inline-block;
  margin: 0 0 2px 3px;
  vertical-align: middle;
}
footer p{
  font-size: 14px;
  font-weight: bold;
}

/* 投票前 */
.ranking_before section.entry .inner .entries.e3 a.mani::before,
.ranking_before section.entry .inner .entries.e6 a.mani::before,
.ranking_before section.entry .inner .entries.e7 a.mani::before,
.ranking_before section.entry .inner .entries.e8 a.mani::before,
.ranking_before section.entry .inner .entries.e9 a.mani::before{
  height: 14.5%;
}

/* 投票中_thanks */
.ranking_thanks .bg{
 background:url(/column/wp-content/themes/megla-grid/assets/img/senkyo/bg2.webp);
  background-size:cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.ranking_thanks header{
  /* background-image: url(/column/wp-content/themes/megla-grid/assets/img/senkyo/header_bg.webp);
  background-size: contain;
  background-position: top center;
  background-repeat: no-repeat; */
  background: none;
}
.ranking_thanks header h1 + p{
  width:40%;
  margin:0 auto;
}
.ranking_thanks section.entry{
  background: transparent;
  padding-top:26px;
}
.ranking_thanks section.entry .inner{
  display: block;
}
.ranking_thanks section.entry .fuki{
background: #fff;
display: inline-flex;
align-items: center;
justify-content: center;
min-width:500px;
padding:8px 40px;
margin: 0 auto;
position: relative;
font-size:22px;

font-family:"Noto Serif JP", serif;
letter-spacing: 1px;
gap:5px;
}
.ranking_thanks section.entry.et1 .fuki{color: #16294f;}
.ranking_thanks section.entry.et2 .fuki{color: #de6961;}
.ranking_thanks section.entry.et3 .fuki{color: #ea9e00;}
.ranking_thanks section.entry.et4 .fuki{color: #82934f;}
.ranking_thanks section.entry.et5 .fuki{color: #9c7290;}
.ranking_thanks section.entry.et6 .fuki{color: #cc6d82;}
.ranking_thanks section.entry.et7 .fuki{color: #37813d;}
.ranking_thanks section.entry.et8 .fuki{color: #9e5824;}
.ranking_thanks section.entry.et9 .fuki{color: #231815;}

.ranking_thanks section.entry .fuki span{
  font-size: 32px;
  line-height: 1;
  margin-bottom: 4px;
}
.ranking_thanks section.entry.et7 .fuki span img,
.ranking_thanks section.entry.et8 .fuki span img,
.ranking_thanks section.entry.et9 .fuki span img{
  display: inline-block;
  width:110px;
  height:32px;
  padding:0 5px 5px 0;
}

.ranking_thanks section.entry .fuki::after{
  content:"";
  display: block;
  position: absolute;
  bottom: -18px;
  left:6%;
  border-top:10px solid #fff;
  border-right:14px solid #fff;
  border-bottom: 10px solid transparent;
  border-left: 14px solid transparent;
}
.ranking_thanks section.entry .inner .entries{
  margin: 40px auto;
  justify-content: flex-start;
  aspect-ratio: 306 / 520;
}
.ranking_thanks section.entry .sh{
  color: #fff;
  font-size:24px;
  font-weight: bold;
}
.ranking_thanks section.entry .sh::before{
  content: "＼";
  font-size: 18px;
  font-weight: bold;
  margin-right: 2px;
}
.ranking_thanks section.entry .sh::after{
  content: "／";
  font-size: 18px;
  font-weight: bold;
  margin-left: 2px;
}
.ranking_thanks section.entry .insta a,
.ranking_thanks section.entry .x a{
  background: #fff;
  max-width:500px;
  width: 100%;
  border-radius: 50px;
  text-align: center;
  padding: 8px 10px;
  margin: 10px auto 20px;
  color: #000;
  display: block;
  cursor: pointer;
}

.ranking_thanks section.entry .insta img{
  width:150px;
  margin: 0 auto;
}
.ranking_thanks section.entry .x img{
  width:30px;
  margin: 0 auto;
  display: inline;
  filter: invert(1);
}
.ranking_thanks section.entry .x span{
  margin-right:-1em;
}

.ranking_thanks section.entry .back a{
  background: #000;
  font-size:24px;
  color: #fff;
  width: 300px;
  display: inline-block;
  margin-top: 50px;
}

.ranking_thanks #enquete{
  position: fixed;
  bottom:20px;
  right:20px;
  width:295px;
  height: 90%;
  max-height: 540px;
  background: #fff;
  box-shadow: 0 0 10px #000;
  transition: 0.3s;
  opacity: 1;
  pointer-events: auto;
}

.ranking_thanks #enquete.hidden{
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.ranking_thanks .enq_inner{
  margin: 20px 10px 5px;
  height: calc(100% - 25px);
  overflow:hidden;
}
.ranking_thanks .enq_inner div.scrollarea{
  height: 100%;
  padding: 0 5px 47px;
  overflow-y: scroll;
  -ms-overflow-style: auto;
  scrollbar-width: thin;
}
.ranking_thanks .enq_inner div.scrollarea::-webkit-scrollbar {
   display:initial;
}
  

.ranking_thanks .enq_inner > p:first-child{
  padding:0 10px;
}
.ranking_thanks #enquete .cl{
  background: #666;
  color: #fff;
  border-radius: 50%;
  position:absolute;
  top:-12px;
  right: -12px;
  width:26px;
  height: 26px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.ranking_thanks #enquete p{
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 0.5em;
}
.ranking_thanks #enquete .wpcf7-form-control-wrap{
  display: block;
  margin:5px 0;
}
.ranking_thanks #enquete .wpcf7-form-control-wrap + br{
  display: none;
}

.ranking_thanks #enquete .wpcf7-form-control-wrap .wpcf7-list-item{
  display: block;
  margin: 0;
}
.ranking_thanks #enquete .wpcf7-form-control-wrap .wpcf7-list-item label{
  border-radius: 3px;
  border:1px solid #ccc;
  padding:7px 7px 7px 10px;
  margin: 0;
  display: flex;
  align-items: center;
  gap:10px;
  height: 100%;
  cursor: pointer;
}
.ranking_thanks #enquete .wpcf7-form-control-wrap .wpcf7-list-item label:hover{
  background:#fff6dd;
}
.ranking_thanks #enquete .wpcf7-form-control-wrap .wpcf7-list-item input{
  flex-shrink: 0;
}
.ranking_thanks #enquete .wpcf7-submit{
  background: linear-gradient(to right,#e7c67c 0%, #c38a1a 60%, #eeddbc 100%);
  padding:8px 40px;
  color: #fff;
  margin: 10px auto 0;
  border: none;
  outline: none;
  border-radius:30px;
}

.ranking_thanks #enquete .wpcf7-spinner,
.ranking_thanks #enquete .wpcf7-response-output{
  display: none;
}

.ranking_thanks #enquete .enq_tnk{
  opacity: 0;
  pointer-events: none;
  display: flex;
  position: absolute;
  top:0px;
  left: 0px;
  width:100%;
  height:100%;
  background: #fff;
  justify-content: center;
  align-items: center;
}

.ranking_thanks #enquete.tnk .enq_tnk{
  opacity: 1;
  transition: 0.5s;
}
.ranking_thanks #enquete.tnk .enq_tnk p{
  font-size:20px;
  font-family: "Noto Serif JP",serif;
  writing-mode: vertical-rl;
  line-height: 2;
}

/* 投票後 */
.ranking_after section.entry .inner{
  display: block;
}

.ranking_after .no1{
  background:#fff;
  width:calc(100vw + 2px);
  position: relative;
  left: 50%;
  transform: translateX(calc(-50% - 1px));
  padding:100px 0 50px;
}

.ranking_after .no1 h2{ 
  position: absolute;
  top:0;
  left: 50%;
  transform: translate(-50%, -50%);
  width:80%;
  max-width: 500px;
}

.ranking_after .no1 > div{
  max-width: 648px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap:40px;
}

.ranking_after section.entry .inner .entries{
  flex-shrink: 0;
}

.ranking_after section.entry .inner .no1 .entries{
  width:234px;
}

.ranking_after .no1 > div p{
  text-align: justify;
  font-size: 18px;
  line-height: 1.8;
}

.ranking_after .no1 > div p.name{
  color: #fac84a;
  font-size: 30px;
  font-family: "Noto Serif JP", serif;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  gap:12px;
  margin-bottom: 20px;
}

.ranking_after .no1 > div p.name img,
.ranking_after .no2-3 > div > img{
  height: 64px;
  width: auto;
}
.ranking_after .no1 > div p.name span{
  margin-bottom: 5px;
  display: block;
  line-height: 1;
}


.ranking_after .no2-3{
  display: flex;
  max-width:640px;
  margin: 0 auto;
  gap:60px;
  padding: 50px 20px 20px;
}

.ranking_after .no2-3 > div > img{
  margin: 0 auto;
}
.ranking_after section.entry .inner .no2-3 .entries{
  width: 70%;
  margin: 15px auto 30px;
}
.ranking_after section.entry .inner .no2-3 .entries a.mani img{
  bottom:8px;
}
.ranking_after .no2-3 p,
.ranking_after .no_other p{
  color: #fff;
  text-align: justify;
  line-height: 1.8;
}
.ranking_after .no2-3 p.name,
.ranking_after .no_other p.name{
  font-size: 28px;
  font-family: "Noto Serif JP", serif;
  text-align: center;
}

.ranking_after .no_other{
  display: flex;
  max-width:640px;
  margin: 30px auto;
  gap:40px;
  padding: 0 20px;
}

.ranking_after section.entry .inner .no_other .entries{
  width:110px;
  height: 208px;
}
.ranking_after section.entry .inner .no_other .entries a.mani img{
  bottom:5px;
}
.ranking_after section.entry .inner .entries.e3 a.mani::before,
.ranking_after section.entry .inner .entries.e6 a.mani::before,
.ranking_after section.entry .inner .entries.e7 a.mani::before,
.ranking_after section.entry .inner .entries.e8 a.mani::before,
.ranking_after section.entry .inner .entries.e9 a.mani::before{
  height: 14.5%;
}

.ranking_after .no_other p.name{
  text-align: left;
}
.ranking_after .no_other p.name span{
  background: #fff;
  color: #681216;
  font-family: "Noto Sans JP",sans-serif;
  font-weight: bold;
  width:42px;
  height: 42px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  line-height: 1;
  margin-right: 16px;
  padding-bottom: 3px;
}

.ranking_after .no_other p.name i{
  font-style: normal;
}

.ranking_after .no_other p.name img{
  width:100px;
  display: inline-block;
  filter: invert(1);
  margin:0 10px 6px 0;
}

.ranking_after section.present p.end{
  max-width: 700px;
  text-align: center;
  margin: 45px auto 30px;
  padding:0 20px;
}

.pc{display: inline;}
.sp{display: none}

@media screen and (max-width:1000px){
  section.entry .inner .entries button.vt{
    padding:0 5px 0 20px;
    bottom: 14%;
  }
  section.entry .inner .entries button.vt i{
    height: 34px;
    width: 34px;
    margin-top: 2px;
  }
  section.entry .inner .entries button.vt i::after{
    border-left-width: 15px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    top: calc(50% - 10px);
  }
  section.entry .inner .entries a.mani img{
    bottom: 2%;
  }
}

@media screen and (max-width:767px){
  p,li{font-size: 14px;}

  /*header{
  background-image:url(/column/wp-content/themes/megla-grid/assets/img/senkyo/header_bg_sp.webp), url(/column/wp-content/themes/megla-grid/assets/img/senkyo/bg1.webp);
  padding-bottom: 30px;
  }*/
  header h1{
    width:80%;
    /* padding-top: 48.5% */
    padding-top: 5%;
  }
  header .fuki{
    font-size: 20px;
  }
  header .fuki + p{
    font-size: 16px;
    line-height: 1.8;
    margin-top: 20px;
  }
  header .center{
    text-align: left;
    padding: 0 1.5em;
  }
  header .line{
    font-size: 20px;
  }
  header .line_w img{
    width:70%;
  }
  
  section.entry .sokuhou{
    border-radius: 0;
    margin-bottom: 30px;
  }
  
  section.entry .sokuhou h2{
    font-size: 36px;
    border-radius: 0;
    padding: 10px 0;
  }
  section.entry .sokuhou h2 span{
    font-size: 26px;
  }
  section.entry .sokuhou h2 span:last-child{
    font-size: 18px;
  }
  section.entry .sokuhou .count{
    font-size: 28px;
  }
  section.entry .sokuhou .count span{
    font-size: 48px;
  }
  section.entry .sokuhou > div{
    border-radius: 0;
    padding:0.5em 0 0;
    border: 1em solid #fff;
    overflow-y: scroll;
  }
  section.entry .sokuhou > div figure img{
    width: 150%;
    max-width: none;
  }
  section.entry .sokuhou .scroll-hint-text{
    letter-spacing: 0;
  }
  
  section.entry .inner .entries p.sh{
    font-size: 2.4vw;
  }
  section.entry .inner .entries p.sh::before,
  section.entry .inner .entries p.sh::after{
    font-size: 2vw
  }
  section.entry .inner .entries button.vt{
    font-size: 7vw;
  }
  section.entry .inner .entries button.vt:hover{transform: translateY(0);}
  section.entry .inner .entries button.vt i{
    width:7vw;
    height:auto;
    aspect-ratio:1 / 1;
  }
  
  section.entry{
    padding:50px 0 0;
    background-size: 200%;
    background-repeat: repeat-y;
  }
  section.entry .inner{
    gap:10px;
    justify-content: center;
    padding-bottom: 10px;
  }
  section.entry .inner .entries{
    width:calc(50% - 15px);
  }
  .fancybox__content ul li span{
    font-size: 18px;
  }
  .fancybox__content .vt{
    padding:10px 14px;
    font-size: 14px;
  }
  .fancybox__content .vt:hover{transform: translateY(0);}
  
  .fancybox__content .vt span{
    font-size: 22px;
  }
  .fancybox__content .vt i{
    width:26px;
    height: 26px;
    margin-left: 10px;
  }
  .fancybox__content .vt i::before{
    border-top-width:6px;
    border-bottom-width:6px;
    border-left-width: 10px;
    top:calc(50% - 6px);
  }
  
  .fancybox__content > div p:first-child{
    letter-spacing: 1px;
    font-size: 14px;
  }
  .fancybox__content > div p:first-child span{
    font-size: 16px;
  }
  .fancybox__content > div > img{
    width: 80%;
    max-height: none;
    height: auto;
  }
  .fancybox__content > div p:last-child a{
    font-size: 14px;
    letter-spacing: 0;
  }
  section.compare h3, section.present h3{
    letter-spacing: 1px;
    font-size: 21px;
    padding: 22px 16px;
  }
  section.compare .start > span{
    font-size: 20px;
  }
  section.compare .flex{
    flex-direction: column;
    align-items: center;
  }
  section.compare .flex p:first-child{
    text-align: center;
  }
  section.compare .flex p:nth-child(2){
    font-size: 16px;
  }
  section.compare .flex ul li{
    font-size: 13px;
  }
  section.compare .start > span{
    line-height: 1.4;
    padding: 10px 0;
    display: block;
  }
  section.present .inner{
    padding: 0 20px;
  }
  section.present h3 span span{
  font-size: 30px;
  }
  section.present .inner .container .flex:nth-child(2) > div,
  section.present .inner .container .flex:nth-child(3) > div{
    align-items: flex-start;
  }
  section.present .inner .container .flex:nth-child(2) > div p.rank,
  section.present .inner .container .flex:nth-child(3) > div p.rank{
    margin-top: -8px;
  }
  section.present .flex{
    flex-direction: column;
    gap: 14px 20px;
  }
  section.present .flex img{
    margin:0 auto;
  }
  section.present .flex > div{
    justify-content: flex-start;
    align-items: baseline;
    max-width: 270px;
    width: 100%;
    margin: 0 auto;
  }
  section.present .flex > div p.item span{
    line-height: 1.6;
  }
  section.present .howto p:first-child,
  section.present .howto .pattern,
  section.present .howto .step{
    font-size: 16px;
  }
  section.present .howto .step .fl{
    margin-right: 10px;
  }
  section.present .howto .step.sp{
  display: flex;
  }
  section.present .howto .step.pc{
  display: none;
  }
  section.present .howto .period{
    text-align: center;
    display: block;
    margin: 20px 0;
  }
  section.present .howto .period.pc{
    display: none;
  }
  section.present .howto .insta, section.present .howto .x{
    width:30px;
    height: 30px;
  }
  section.present .howto .insta img{
    width:24px;
  }
  section.present .howto .x img{
    width:20px;
  }
  section.present .flex > div .itemB{
    flex-direction: column;
    gap:0;
  }
  section.present .attention{
    font-size: 12px;
  }
  section.detail h3{
    padding: 16px 24px;
  }
  section.detail ul{
    margin: 16px 1.5em 24px;
  }
  section.detail ul li{
    line-height: 1.6;
  }
  footer .flex{
    margin: 20px 0;
    gap:20px;
  }
  footer .flex .logo{
    height:30px;
  }
  footer .target{
    font-size: 14px;
    padding: 6px 12px;
  }
  footer .target img{
    width:16px;
    height: 13px;
  }
  footer p{
    font-size: 12px;
  }
  
  /* 投票中 _thanks */
  
  .ranking_thanks header h1 + p{
    width:80%;
    margin-top: 50px;
  }
  .ranking_thanks section.entry .fuki{
    font-size: 14px;
    min-width: auto;
    padding: 8px 20px 10px;
    flex-direction: column;
    gap:0;
  }
  .ranking_thanks section.entry .fuki span{
    font-size: 22px;
  }
  .ranking_thanks section.entry.et7 .fuki span img, .ranking_thanks section.entry.et8 .fuki span img, .ranking_thanks section.entry.et9 .fuki span img{
    height:22px;
    width: 88px;
    padding:1px 5px 0 0;
    vertical-align: top;
  }
  
  .ranking_thanks section.entry .fuki::after{
    border-top: 5px solid #fff;
    border-right: 7px solid #fff;
    border-bottom: 5px solid transparent;
    border-left: 7px solid transparent;
    bottom: -9px;
  }
  .ranking_thanks section.entry .inner .entries{
    margin:20px auto 10px;
  }
  .ranking_thanks section.entry .sh{
    font-size: 18px;
  }
  .ranking_thanks section.entry .insta{
    width:80%;
    margin:10px auto 20px;
  }
  .ranking_thanks section.entry .insta img{
    width: 120px;
  }
  .ranking_thanks section.entry .x{
    width:80%;
    margin:0 auto 30px;
  }
  .ranking_thanks section.entry .x a{
    padding:5px 10px 11px;
  }
  .ranking_thanks section.entry .x img{
    height:24px;
    vertical-align: text-top;
  }
  .ranking_thanks section.entry .back{
    padding-bottom: 30px;
    margin-bottom: 0;
  }
  .ranking_thanks section.entry .back a{
    font-size: 18px;
    width:160px;
    margin-top: 0px;
  }

  .ranking_thanks #enquete{
    max-height: 30%;
    bottom:0;
    width:calc(100% - 40px);
  }
  .ranking_thanks .enq_inner  div.scrollarea{
   height:22vh;
   padding-right: 10px;
   padding-bottom: 0;
  }
  
  .ranking_thanks #enquete .enq_inner .scrollarea div p{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .ranking_thanks #enquete .wpcf7-form-control-wrap{
    width:49%;
  }
  .ranking_thanks #enquete .wpcf7-form-control-wrap .wpcf7-form-control,
  .ranking_thanks #enquete .wpcf7-form-control-wrap .wpcf7-form-control .wpcf7-list-item{
    height: 100%;
  }
  .ranking_thanks #enquete.tnk .enq_tnk p{
    writing-mode:horizontal-tb;
    text-align: center;
    font-size: 6vw;
  }
  
  /* 投票後 */
  
  .ranking_after section.entry{
    padding-top: 60px;
  }
  .ranking_after .no1{
    padding:50px 0 25px;
  }
  .ranking_after .no1 h2{
    width:70%;
  }
  
  .ranking_after .no1 > div{
    flex-direction: column;
  }
  
  .ranking_after .no1 > div p.name,
  .ranking_after .no2-3 > div p.name{
    font-size: 24px;
    display: flex;
    align-items: end;
    justify-content: flex-start;
    column-gap: 12px;
    margin-bottom: 20px;
  }
  .ranking_after .no1 > div p.name span{
    margin-bottom: 5px;
    display: block;
    line-height: 1;
  }
  .ranking_after .no1 > div p{
    font-size:16px;
  }
  .ranking_after .no2-3{
    flex-direction: column;
  }
  .ranking_after .no1 > div p.name img,
  .ranking_after .no2-3 > div p.name img{
    height: 48px;
  }
  .ranking_after section.entry .inner .no1 .entries,
  .ranking_after section.entry .inner .no2 .entries,
  .ranking_after section.entry .inner .no3 .entries{
    width:200px;
  }
  .ranking_after .no2-3 p.name{
    font-size: 24px;
    display: flex;
    align-items: flex-end;
  }
  
  .ranking_after .no_other p.name{
    font-size: 24px;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    margin: -6px 0 14px;
  }
  .ranking_after .no_other p.name span{
    font-size: 28px;
    width:36px;
    height: 36px;
    margin-top: 6px;
  }
  .ranking_after .no_other p.name i{
    font-style: normal;
  }
  
  .ranking_after section.present p.end{
    max-width: 400px;
    width:80%;
    margin: 30px auto 20px;
  }
  
  .sp{display: inline;}
  .pc{display: none}
}

@media screen and (max-width:480px){
  header .fuki + p{
    font-size:14px;
  }
  header .line{
    font-size: 16px;
    padding:0 20px;
  }
  section.entry .sokuhou h2{
    font-size: 30px;
  }
  section.entry .sokuhou h2 span{
    font-size: 22px;
    letter-spacing: 0;
  }
  section.entry .sokuhou h2 span:last-child{
    font-size: 16px;
  }
  section.entry .sokuhou .count{
    font-size: 20px;
  }
  section.entry .sokuhou .count span{
    font-size: 38px;
    letter-spacing: 0;
  }
  section.entry .inner .entries button.vt{
    line-height: 1.3;
  }
  section.entry .inner .entries button.vt i{
    margin-top:2px;
  }
  section.entry .inner .entries button.vt i::after{
    border-left-width: 10px;
    border-top-width: 6px;
    border-bottom-width: 6px;
    top:calc(50% - 6px);
  }
  section.compare h3, section.present h3{
    letter-spacing: 0;
  }
  section.present .flex p.rank{
    white-space: nowrap;
  }
  .ranking_thanks #enquete {
    max-height: 40%;
  }
  .ranking_thanks .enq_inner  div.scrollarea{
   height:28vh;
  }
}