body {
    font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 600;
	line-height: 40px;
    margin: 0;
    word-break: keep-all;
    overflow-x: hidden;
}

.logo {
    width: 200px;
}

section {
    width: auto;
    height: 100vh;
    position: relative;
}

.section-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

.section-inner2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}

.section1 {
    text-align: center;
    background-image: linear-gradient(180deg, rgba(0, 147, 131, 1), rgba(0,87,78,1));
    color: #fff;
}

.section3 {
    background-image: linear-gradient(180deg, rgba(0, 147, 131, 1), rgba(0,87,78,1));
    color: #fff;
}

.section3 h2 {
    font-size: 24px;
}

h1 {
    font-size: 48px;
    line-height: 1.3;
}

h1 strong {
    font-size: 60px;
    line-height: 2;
    color: #009383;
    background-image: linear-gradient(180deg, rgba(0, 147, 131, 1), rgba(0,87,78,1));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*------ スクロールアニメーション ------*/

/*スクロールダウン全体の場所*/
.scrolldown {
    position:absolute;
    left: 50%;
    height: 50px;
    margin-top: 50px;
}
  
/*Scrollの描写*/
.scrolldown span {
    position: absolute;
    left:-15px;
    top: -30px;
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}
  
  /* 線の描写 */
.scrolldown::after {
    content: "";
    position: absolute;
    top: 0;
    width: 1px;
    height: 30px;
    background: #fff;
    animation: pathmove 1.4s ease-in-out infinite;
    opacity: 0;
    margin-top: 5px;
}
  
  /*線が上から下に動く*/
@keyframes pathmove {
    0%{
      height:0;
      top:0;
      opacity: 0;
    }

    30%{
      height:30px;
      opacity: 1;
    }

    100%{
      height:0;
      top:50px;
      opacity: 0;
    }
}

.chart-box {
    background-color: #fff;
    padding: 30px 0 1px 0;
}

.chart-container {
    position: relative;
    width: 200px;
    height: 100px;
    margin: auto;
    overflow: hidden;
    background-color: #fff;
}

.chart {
    width: 200px;
    height: 200px;
    background: conic-gradient(
        #009383 0% calc(1096 / 15225 * 100%),
        #ccc calc(1096 / 15225 * 100%) 100%
    );
    border-radius: 50%;
    transform: rotate(-90deg);
    top: -100px;
}

.chart::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 25%;
    width: 50%;
    height: 50%;
    background: #fff;
    border-radius: 50%;
}

.label {
    margin-top: 40px;
    font-size: 18px;
    color: #000;
    text-align: center;
}

.percentage {
    font-size: 36px;
}

.copy {
    font-size: 12px;
}

.compare-box {
    margin: 30px;
}

.compare-box h1 {
    text-align: center;
    margin-top: 60px;
}

.compare-box h2 {
    text-align: center;
    margin-top: 50px;
}

.compare-box p {
    text-align: center;
}

.compare-container {
    display: flex;
}

.compare {
    margin: 20px 10px 0 10px;
}

.mode {
    width: 50%;
}

.screen {
    width: 50%;
}

.mode-btn {
    width: 50%;
    height: 80px;
    font-size: 24px;
    margin-top: 20px;
    cursor: pointer;
    margin-left: 25%;
    font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 600;
}

#aed-mode {
    color: #009383;
    background-color: #fff;
    border: 1px solid #000;
}

#aed-mode.active {
    color: #fff;
    background-image: linear-gradient(180deg, rgba(0, 147, 131, 1), rgba(0,87,78,1));
    border: 1px solid #000;
}

#auto-mode {
    color: #009383;
    background-color: #fff;
    border: 1px solid #000;
}

#auto-mode.active {
    color: #fff;
    background-image: linear-gradient(180deg, rgba(0, 147, 131, 1), rgba(0,87,78,1));
    border: 1px solid #000;
}

.balloon1 {
    position: relative;
    display: inline-block;
    margin: 1.5em 15px 1.5em 0;
    padding: 7px 10px;
    width: 500px;
    color: #555;
    font-size: 16px;
    background: #efefef;
    border-radius: 10px;
}
  
.balloon1:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -15px;
    border: 15px solid transparent;
    border-left: 15px solid #efefef;
}
  
.balloon1 p {
    margin: 0 0 0 5px;
    padding: 0;
    text-align: left;
    color: #000;
}

.balloon2 {
    position: relative;
    display: inline-block;
    margin: 1.5em 15px 1.5em 0;
    padding: 7px 10px;
    width: 500px;
    color: #555;
    font-size: 16px;
    background: #009383;
    border-radius: 10px;
}
  
.balloon2:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -15px;
    border: 15px solid transparent;
    border-left: 15px solid #009383;
}
  
.balloon2 p {
    margin: 0 0 0 5px;
    padding: 0;
    text-align: left;
    color: #fff;
}

#aed-screen {
    display: none;
}

#aed-screen.active {
    display: block;
}

#auto-screen {
    display: none;
}

#auto-screen.active {
    display: block;
}

.mark {
    text-align: center;
    background-image: linear-gradient(180deg, rgba(0, 147, 131, 1), rgba(0,87,78,1));
    color: #fff;
    width: auto;
    height: 100vh;
    position: relative;
}

.guide {
    text-align: center;
    width: auto;
    height: 100vh;
    position: relative;
}

.guide h1 {
    line-height: 2;
}

.summary {
    display: flex;
    justify-content: space-around;
    padding-bottom: 20px;
}

.quiz {
    text-align: center;
    background-image: linear-gradient(180deg, rgba(0, 147, 131, 1), rgba(0,87,78,1));
    color: #fff;
    width: auto;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60vw;
    margin: 50px auto;
    padding: 50px;
    border: 1px solid #fff;
}

.choice {
    margin-top: 15px;
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.choice button {
    color: #009383;
    background-color: #fff;
    border: none;
    font-size: 16px;
    width: 23%;
    padding: 15px;
    cursor: pointer;
    font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 600;
}

.question-container {
    background-color: #fff;
    margin: 15px auto;
    padding: 10px;
    position: relative;
    overflow: hidden;
    width: 70%;
    justify-content: center;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 300px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
}

.explanation h1 {
    color: #fff;
}

.explanation-button {
    color: #009383;
    background-color: #fff;
    border: none;
    font-size: 16px;
    width: 23%;
    padding: 15px;
    cursor: pointer;
    font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 600;
    text-align: center;
    display: block;
    margin: 10px auto 10px auto;
}

.retry-button {
    color: #009383;
    background-color: #fff;
    border: none;
    font-size: 16px;
    width: 23%;
    padding: 15px;
    cursor: pointer;
    font-family: "BIZ UDPGothic", sans-serif;
	font-weight: 600;
    text-align: center;
    display: block;
    margin: 10px auto 10px auto;
}

.explanation {
    text-align: center;
    background-image: linear-gradient(180deg, rgba(0, 147, 131, 1), rgba(0,87,78,1));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 0;
    white-space: pre-line;
    min-height: calc(100svh - 60px);
}

.explanation a {
    text-decoration: none;
}

.explanation a:visited {
    color: #009383;
}

.explanation ul {
    width: fit-content;
    margin: auto;
    text-align: left;
    list-style-type: square;
}

.answer {
    display: inline-block;
    border-bottom: 2px solid #000;
}

.error-h2 {
    color: #fff;
}

.error-p {
    color: #fff;
    margin-bottom: 30px;
    overflow-wrap: keep-all;
}

@media screen and (max-width: 1024px) {
    .section3 {
        overflow-wrap: anywhere;
        height: 100svh;
        margin: 0;
        padding: 0;
    }

    .section-inner {
        width: calc(100% - 50px);
        max-width: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    .compare {
        margin: 0;
    }

    .compare-container {
        flex-direction: column;
    }

    .mode {
        width: 100%;
    }

    .mode-btn {
        width: 100%;
        margin: 15px 0;
    }

    .screen {
        width: 100%;
    }

    .balloon1 {
        overflow-wrap: keep-all;
        width: auto;
        display: block;
    }

    .balloon2 {
        overflow-wrap: keep-all;
        width: auto;
        display: block;
    }

    .summary {
        flex-direction: column;
    }

    .quiz {
        height: 100svh;
        white-space: pre-line;
    }

    .choice {
        flex-direction: column;
    }

    .choice button {
        width: 100%;
        margin-top: 15px;
    }

    .explanation-button {
        width: 50%;
    }

    .retry-button {
        width: 50%;
    }
}

@media screen and (max-width: 480px) {
    section {
        height: 100svh;
    }

    .section-inner {
        width: calc(100% - 50px);
        max-width: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

    h1 {
        font-size: 24px;
        line-height: 1.3;
    }
    
    h1 strong {
        font-size: 28px;
        line-height: 2;
    }

    h2 {
        font-size: 18px;
    }

    p {
        font-size: 16px;
        line-height: 1.8;
    }

    .section3 {
        overflow-wrap: anywhere;
        height: 150svh;
    }

    .compare {
        margin: 0;
    }

    .compare-container {
        flex-direction: column;
    }

    .mode {
        width: 100%;
    }

    .mode-btn {
        width: 100%;
        margin: 15px 0;
    }

    .screen {
        width: 100%;
    }

    .balloon1 {
        overflow-wrap: keep-all;
        width: auto;
        min-height: 32px;
    }

    .balloon2 {
        overflow-wrap: keep-all;
        width: auto;
        min-height: 32px;
    }

    .summary {
        flex-direction: column;
    }

    .mark {
        overflow-wrap: anywhere;
    }

    .quiz {
        height: 100svh;
        white-space: pre-line;
    }

    .choice {
        flex-direction: column;
    }

    .choice button {
        width: 100%;
        margin-top: 15px;
    }
    
    .explanation-button {
        width: 70%;
    }

    .retry-button {
        width: 70%;
    }

    .question-container {
        width: 85%;
    }
}