@charset "UTF-8";

html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0 auto;
}

body {
  color: #333;
  line-height: 1.6;
  padding: 0 10px;
  overflow-x: hidden;
}

.media_pc {
  display: block !important;
}
.media_sp {
  display: none !important;
}
.mainvisual img {
  width: 100%;
}

header {
  text-align: center;
  padding: 40px 20px 20px;
  background-color: #f7f7f7;
}

section.intro,
section.faq,
section.candidates {
  padding: 40px 20px;

  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  section.candidates {
    padding: 40px 5px;
    }

  section.faq {
    padding: 10px 20px;
    }  
}

section.faq {
  background-color: #f5f5f5;
}

li strong {
  font-weight: bold !important;
}

h1 {
    font-weight: bold;
    margin: 10px 0 30px;
    font-size: 26px;
}

h2 {
    font-weight: bold;
    margin: 10px 0 30px;
    font-family: 'pragmatica-extended';
    font-size: 37px;
}

h4 {
    font-weight: bold;
    margin: 10px 0 30px;
    font-family: 'Poppins';
    font-size: 18px;
}

p, ul, dl {
    font-family: "IBM Plex Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 2;
}
ul { 
  font-size: 17px;
  line-height: 2;
}
dl dt {
    font-weight: bold;
    margin-top: 1em;
}

.note small {
  font-size: 12px;
  line-height: 1.4;
}

.lead {
  margin: 10px 0 20px;
  font-size: 16px;
}

.vote-btn {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 14px 100px;
  text-decoration: none;
  font-size: 16px;
  margin: 0 0 40px;
  text-align: center;
  transition: background-color 0.3s ease;
}
.vote-btn:hover {
  text-decoration: none;
  background-color: #e9e5dd; 
  color: #333;
}

main {
  padding: 30px 10px;
  width: 100%;
  margin: auto;
  text-align: center;
}

.brand-block {
  margin-bottom: 60px;
}

.brand-block h2 {
  font-size: 20px;
  border-bottom: 2px solid #003366;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

.brand-logo {
  max-width: 280px;
  margin: 0 auto; 
  text-align: center; 
  margin-bottom: 50px;
}

.brand-logo img {
  display: inline-block; 
  padding-top: 40px;
  max-width: 70%;
}

.brand-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-left: -20px;
  margin-right: -20px;
  overflow-x: hidden;
}

.brand-items > * {
  margin-left: 20px;
  margin-right: 20px;
}

.brand-items.single .pattern {
  flex: 1 1 100%; 
}

.pattern {
  padding: 33px 33px 33px 33px;
  max-width: 500px;
  background-color: #fef6e1;
  box-sizing: border-box;
}

.pattern h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.swiper-button-next,
.swiper-button-prev {
    --swiper-navigation-color: #000000; 
}
.swiper-button-prev,
.swiper-button-next {
  display: none !important;
}

.swiper{
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box;
  overflow-x: hidden;
}

.swiper-wrapper {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden;
}

.swiper-slide {
  box-sizing: border-box;
  width: 100% !important; 
  max-width: 100vw !important;
}

.swiper-slide img {
  width: 100%;
  display: block;
}

#vote {
  text-align: center;
  margin-top: 60px;
}


@media screen and (max-width: 896px) {
  body {
    padding: 0 10px;
  }

  .mainvisual img {
    width: 100%;
  }
  .media_pc {
    display: none !important;
  }
  .media_sp {
    display: block !important;
    text-align: center;
  }

  main {
    padding: 30px 10px;
    box-sizing: border-box;
  }

  .brand-items {
    flex-direction: column;
    margin-left: 0;
    margin-right: 0;
    gap: 30px;
  }
  .brand-items > * {
    margin-left: 0;
    margin-right: 0;
  }

  .pattern {
    flex: 1 1 100%;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .vote-btn { 
    width: 100%; 
    font-size: 14px; 
  }

  h1, h2, h3 {
    margin-top: 1.2em;
  }

  h2 {
    font-size: 30px;
  }

  ul {
    font-size: 15px;
  }

  .brand-block {
    margin-bottom: 40px;
  }
  .brand-logo {
    max-width: 280px;
    margin-bottom: 20px;
  }

  a.vote-btn {
    padding: 12px 24px;
    font-size: 16px;
  }

  .swiper {
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }  
    
}
