@charset "UTF-8";

/*背景*/
body {
    background-color: #2981C0;
    color: #333333;
    background-attachment: fixed;
    z-index: 1;
    font-family: 'Noto Sans';
    transition: .7s;
}

ul{
    list-style: none;
}

.naiyou {
  font-size: 1.5rem;
  text-align: center;
  margin-top: -50px;
  margin-bottom: 30px;
  color: #1B4965;
}



/*サイドバー*/

.saido{
  position: absolute;
  top: -70%;
  right: 11%;
  width: 150px;
  z-index: 9987;
}

.saido-botann {
  display: flex;
  align-items: center;
  gap: 10px; 
  padding-left: 20px;
  z-index: 9600;
}

.dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

/* 色バリエーション */
.dot.red {
  background-color: #D94F45;
}

.dot.yellow {
  background-color: #FFD447;
}

.dot.blue {
  background-color: #3280C1;
}




.botan {
  position: fixed;
  top: 50%;
  right: 120px;
  transform: translateY(-50%);
  z-index: 999;
  width: auto;
}


.saido-botann {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  text-decoration: none;
  color: #555555;
  font-size: 15px;
  border-radius: 18px;
  width: 200px;
  height: 40px;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0px 6px 0px -2px rgba(163, 189, 211, 1);
  background-color: #f5f7fa;
  margin-bottom: 10px;
  
}

.saido-botann:hover {
box-shadow: 0 0 #fff;
transform: translateY(1px);
}


@media screen and (max-width: 1024px) {
  .botan{
      display: none;
  }
}


/*ここまで*/








/*ハンバーガーメニュー*/

#menu__toggle {
opacity: 0;
position: absolute;
}
#menu__toggle:checked + .menu__btn > span {
transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
top: 0;
transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
top: 0;
transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
left: 0 !important;
}
.menu__btn {
position: fixed;
top: 20px;
left: 20px;
width: 26px;
height: 26px;
cursor: pointer;
z-index: 1000;
display: flex;
justify-content: center;
align-items: center;
row-gap: 6px;
width: 56px;
height: 56px;
border-radius: 8px;   
background-color: #1B4965;

}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
display: block;
position: absolute;
width: 26px;
height: 4px;
background-color: #ffffff;
border-radius: 2px; 
transition: 0.25s ease-in-out;
}
.menu__btn > span::before {
content: '';
top: -8px;
}
.menu__btn > span::after {
content: '';
top: 8px;
}
.menu__box {
display: block;
position: fixed;
top: 0;
left: -100%;
width: 300px;
height: 100%;
margin: 0;
padding: 80px 0;
list-style: none;
background-color: #1B4965;
box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
transition-duration: .25s;
z-index: 999;
}
.menu__item {
display: block;
padding: 12px 24px;
color: #ffffff;
font-family: 'Roboto', sans-serif;
font-size: 20px;
font-weight: 600;
text-decoration: none;
transition-duration: .25s;
}
.menu__item:hover {
background-color: #CFD8DC;
}

.menu__imags{
position: absolute;
width: 90%;
top: 40%;
right: 5%;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

.menu__btn {
  width: 72px;
  height: 72px;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  width: 36px;
  height: 5px;
}

.menu__btn > span::before {
  top: -10px;
}

.menu__btn > span::after {
  top: 10px;
}

.menu__box {
  width: 360px;
  padding: 100px 0;
}

.menu__item {
  font-size: 24px;
  padding: 16px 32px;
}
}

@media screen and (min-width: 1025px) {
.hamburger-menu {
  display: none;
}
}


/*ここまで*/




.article {
  overflow: hidden;
  max-width: 450px;
  margin: 0 auto;
  position: relative;
  z-index: 1;

  @media screen and (max-width:768px) {
      max-width: none;
      width: 100%;
  }
}

* {
  margin: 0;
}

.content {
  padding: 20px;
  height: 790px;
}


.container {
  display: flex;
  width: 300vw;
  height: 100vh;
  z-index: 1;
}

#sec1 {
  /* 方眼紙模様に必須のスタイル */
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #2f9aff calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #2f9aff calc(100% - 1px));
  background-size: 40px 40px;
  background-repeat: repeat;
  background-position: center center;
  background-color: #ffff;

  /* 以下任意のスタイル */
  padding: 20px;
}

.start{
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 30px 20px;
    margin: 60px auto;
    width: 95%;
    max-width: 400px;
    height: 410px;

    top: 20px;
}


.question-box {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 90px 20px;
    margin: 60px auto;
    width: 95%;
    max-width: 420px;
    height: 400px; 
  }
  
  #helmet-info {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
  }

  #mozi{
    font-size: 35px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
  }
  
  .question {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 10px;
  }
  
/* 4K */
@media screen and (min-width: 2500px) {
  .content {
    height: 1460px;
  }
}

/* タブレット縦 */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .content {
    height: 1023px;
  }
}

/* タブレット横 */
@media screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  .content {
    height: 950px;
  }
}

/* スマホ */
@media screen and (max-width: 768px) {
  .content {
    height: 930px;
  }
}

/* スマホ横 */
@media screen and (max-width: 1024px) and (orientation: landscape) and (max-height: 450px) {
  .content {
    height: 500px;
  }
}
















  /*選択肢の装飾*/



  .btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 300px;
    padding: 20px 90px;
    color: #313131;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s ease-in-out;
    background-color: #ffffff;
    box-shadow: none;
    text-decoration: none;
    margin-bottom: 16px;
    
  }
  .start .btn{
    margin-top: 28%;
  }
  
  .btn::before,
  .btn::after {
    content: '';
    width: 18px;
    height: 18px;
    border-color: #FCDD74;
    box-sizing: border-box;
    border-style: solid;
    display: block;
    position: absolute;
    transition: all 0.3s ease-in-out;
  }
  
  .btn::before {
    top: -6px;
    left: -6px;
    border-width: 2px 0 0 2px;
    z-index: 5;
  }
  
  .btn::after {
    bottom: -6px;
    right: -6px;
    border-width: 0 2px 2px 0;
  }
  
  .btn:hover::before,
  .btn:hover::after {
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border-color: #FCDD74;
  }
  
  .btn:hover {
    color: #000000;
    background-color: #FCDD74;
    border-color: #FCDD74;
  }

  @media screen and (max-width: 768px) {
    .btn:active {
      background-color: #FFE98A;
      transform: scale(0.96);
      transition: none;
    }
  }
  





/*ここまで*/



  .botann-dezainn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 300px;
    padding: 20px 90px;
    color: #313131;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s ease-in-out;
    background-color: #ffffff;
    box-shadow: none;
    text-decoration: none;
    margin-bottom: 16px;
  }
  
  .botann-dezainn::before,
  .botann-dezainn::after {
    content: '';
    width: 18px;
    height: 18px;
    border-color: #FCDD74;
    box-sizing: border-box;
    border-style: solid;
    display: block;
    position: absolute;
    transition: all 0.3s ease-in-out;
  }
  
  .botann-dezainn::before {
    top: -6px;
    left: -6px;
    border-width: 2px 0 0 2px;
    z-index: 5;
  }
  
  .botann-dezainn::after {
    bottom: -6px;
    right: -6px;
    border-width: 0 2px 2px 0;
  }
  
  .botann-dezainn:hover::before,
  .botann-dezainn:hover::after {
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border-color: #FCDD74;
  }
  
  .botann-dezainn:hover {
    color: #fff;
    background-color: #FCDD74;
    border-color: #FCDD74;
  }





/*診断結果*/

#result{

    margin-top: 10px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    background-color: #ffffff;
    position: relative;
    z-index: 10;
}




/*診断結果の画像ゾーン*/

.white-box {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;

    position: absolute;
    top: 10%;
    left: 11%;
  }
  
  .white-box img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 16px;
  }
  
  .white-box h4 {
    margin-bottom: 20px;
    font-size: 1.2em;
  }
  
  





.imags0 {
    position: absolute;
    top:2%;
    right: -8%;
    width: 180px;
    z-index: 1234;
  }






  .imags1 {
    position: fixed;
    bottom: 70%;
    right: 80%;
    width: 180px;
    z-index: 1000;
  }

  .imags1-2 {
    position: fixed;
    bottom: 20%;
    left: 90%;
    width: 180px;
    z-index: 1000;
  }
  

  .imags1-3 {
    position: fixed;
    bottom: 80%;
    left: 70%;
    width: 140px;
    z-index: 1000;
  }

  .imags1-4{
    position: fixed;
    bottom: 20%;
    right: 73%;
    width: 300px;
    z-index: 1000;
  }



  @media screen and (max-width: 768px) {
    .imags0, .imags1, .imags1-2, .imags1-3, .imags1-4 {
      display: none !important;
    }
  }


  .herume{
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-top: -30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }





/*フッター*/

.footer{
  z-index: 9000;
}

.footer #button{
  width:35px;
  height:35px;
  border: #727172 12px solid;
  border-radius:35px;
  margin:0 auto;
  position:relative;
  -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.footer #button:hover{
  width:35px;
  height:35px;
  border: #3A3A3A 12px solid;
  -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
  position:relative;
}
.footer {
  bottom:0;
  left:0;
  position:fixed;
    width: 100%;
    height: 2em;
    overflow:hidden;
    margin:0 auto;
  -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.footer:hover {
  -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
  height: 10em;
}
.footer #container{
  margin-top:5px;
  width:100%;
height:100%;
  position:relative;
  top:0;
  left:0;
  background: #ffffff;
}
.footer #cont{
  position:relative;
  top:-45px;
  right:190px;
  width:150px;
  height:auto;
  margin:0 auto;
}
.footer_center{
  width:500px;
  float:left;
  text-align:center;
}
.footer h3{
  font-family: 'Helvetica';
  font-size: 16px;
  font-weight: 100;
  margin-top:70px;
  margin-left:40px;
}
