* {
  box-sizing: border-box;
  font-family: sans-serif;
  font-feature-settings: "palt";
  margin: 0;
  padding: 0;
}

body,
.container,
#result,
#result-text,
h1,
h2,
p,
#question {
  width: 100%;
  text-align: center;
}

body {
  margin: 0;
  padding: 0;
  background: url('bg-net-pc.jpg') no-repeat center/cover;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #000;
}

h1, h2, h3, p, .question, .answer, .result {
  text-align: center;
}

a{
  text-decoration-line: underline;
  text-underline-offset: 0.25em;
}

.container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}

/*
.container:before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: #A3A3A3;
  mix-blend-mode: multiply;
}
*/

@media (max-width: 750px) {
  body {
    background: url('bg-net-sp.jpg') no-repeat center/cover;
  }
  
  .container {
    width: 100%;
    padding: 0;
  }
  
  .btn-container button {
    font-size: 1rem;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
}

#start-screen,
#quiz,
#result {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#start-screen{
  transform:translateY(-30px);
}

@media screen and (max-width:750px) {
  #start-screen{
    transform: translateY(max(-30px,30/750*100vw*-1));
  }

  #start-screen h1 img{
    width: min(655px,655/750*100vw);
  }
}

.hide {
  display: none!important;
}

#question {
  width: 455px;
  height: 41px;
  border: none;
  border-radius: 41px;
  color: #fff;
  cursor: pointer;
  font-size:16px;
  margin-bottom: 35px;
  padding: 0.5rem 1rem;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.73em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right,  #58f1ff 0%,#3579d2 70%,#3579d2 100%);
  border: 1px solid #fff;
}

@media screen and (max-width:750px) {
  #question {
    width: min(608px,608/750*100vw);
    height: min(87px,87/750*100vw);
    margin-bottom: min(65px,65/750*100vw);
    border-radius: min(87px,87/750*100vw);
    font-size: min(28px,28/750*100vw);
  }
}

.btn-container{
  display: flex;
  justify-content: center;
  gap: 15px;
}

@media screen and (max-width:750px) {
  #answer-buttons{
    flex-direction: column;
    gap: min(40px,40/750*100vw);
    width: 100%;
  }

  .btn-container{
    width: max-content;
    justify-content: flex-start;
  }
}

.btn,
.btn-result{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 240px;
  padding: 8px 10px 15px;
  border: none;
  border-radius: 6px;
  background-color: #fff;
  color: #000000;
  font-size: 12px;
  letter-spacing: 0.27em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #F1F1F1;
}

@media screen and (max-width:750px) {
  #answer-buttons .btn{
    width: 100%;
    height: min(292px,292/750*100vw);
    font-size:  min(32px,32/750*100vw);
    border-radius: min(15px,15/750*100vw);
  }
}

#result-text{
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.73em;
}

.result-recommend{
  margin-bottom: 10px;
  font-size: 16px;
}

.result-headline{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 1px solid #58F1FF;
  border-radius: 56px;
  width: 480px;
  height: 56px;
  margin-bottom: 20px;
  margin-inline: auto;
}

.result-headline span{
  background: linear-gradient(to right,  #58f1ff 0%,#3579d2 60%,#3579d2 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color: transparent;
}

.result-lead{
  margin-bottom: 30px;
  font-size: 14px;
  letter-spacing: 0.68em;
  line-height: calc(26/14);
}

.btn-result{
  display: grid;
  grid-template-rows: 1fr max-content max-content;
  gap: 8px;
  padding: 8px 20px 15px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(to bottom,  #519fee 0%,#2f73c6 100%);
  transition: 0.3s ease;
}

.btn-result:hover{
  background: linear-gradient(to bottom,  #335DA6 0%,#395D88 100%);
}

.btn-result a{
  display: flex;
}

.btn-result a img{
  vertical-align: bottom;
}

@media screen and (max-width:750px) {
  .result-recommend{
    margin-bottom: min(23px,23/750*100vw);
    font-size: min(28px,28/750*100vw);
  }
  
  .result-headline{
    width: min(648px,648/750*100vw);
    height: min(87px,87/750*100vw);
    margin-bottom: min(35px,35/750*100vw);
    border-radius: min(87px,87/750*100vw);
    font-size: min(30px,30/750*100vw);
  }
  
  .result-lead{
    margin-bottom: min(50px,50/750*100vw);
    font-size: min(26px,26/750*100vw);
    letter-spacing: 0.27em;
  }
  
  .btn-result{
    gap: min(10px,10/750*100vw);
    width: min(316px,316/750*100vw);
    height: min(420px,420/750*100vw);
    padding-inline: min(44px,44/750*100vw);
    border-radius: min(15px,15/750*100vw);
    font-size: min(26px,26/750*100vw);
  }

  .scroll{
    width: 100%;
    margin-inline: auto;
    overflow-x: auto;
    padding-inline: min(44px,44/750*100vw);
  }
}

.start-btn {
  width: 208px;
  height: 35px;
  margin-top: 44px; 
  border-radius: 35px;
  box-sizing: border-box;
  margin-top: 1rem;
  padding: 1px;
  background: linear-gradient(to right,  #58f1ff 0%,#3579d2 70%,#3579d2 100%);
}

.start-btn button{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 33px;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  background: transparent;
  transition: 0.3s ease;  
}

.start-btn button:hover{
  background:#fff;
}

.start-btn button:hover span{
  display: inline-block;
    background: linear-gradient(to right, #58f1ff 0%, #3579d2 60%, #3579d2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width:750px) {
  .start-btn{
    width: min(430px,430/750*100vw);
    height: min(117px,117/750*100vw);
    margin-top: min(100px,100/750*100vw);
    border-radius: min(117px,117/750*100vw);
  }
  .start-btn button {
    font-size: min(45px,45/750*100vw);
  }
}

.details-btn {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4em;
  color: white;
  font-size: 10px;
  font-weight: 400;
}

.details-btn:after{
  content: "";
  display: inline-block;
  width: 1.0em;
  height: 1.0em;
  background: url("blank.svg") no-repeat center/contain;
}

@media screen and (max-width:750px) {
  .details-btn {
    margin-block: min(10px,10/750*100vw);
    font-size: min(22px,22/750*100vw);
  }
}

#result > button {
  display: block;
  background: none;
  border: none;
  margin: 20px auto 0;
  color:  #fff;
  font-size: 12px;
  letter-spacing: 0.19em;
  text-decoration-line: underline;
  text-underline-offset: 0.25em;
  cursor: pointer;
}

@media screen and (max-width:750px) {
  #result > button {
    margin-top: min(87px,87/750*100vw);
    font-size: min(28px,28/750*100vw);
  }
}