/* リセットCSS */
html,
body,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
div {
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Hiragino Kaku Gothic ProN W3', sans-serif;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

img {
    width: 100%;
}


/* 共通 */

main {
    max-width: 375px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.container {
    max-width: 350px;
    padding: 0 5%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.container h1 {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
}


#toast {
    display: flex;
    align-items: center;
    visibility: hidden;
    height: 100px;
    max-width: 350px;
    width: 90%;
    border: 0;
    border-radius: 5px;
    z-index: 999;
    background-color: #29aba4;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}
#toast > p {
    margin-left: 8px;
    color: #fff;
    font-weight: bold;
}

/* 一個目 */

.tex-a {
    margin-top: 60px;
    font-size: 18px;
    /* letter-spacing: -5.5px; */

}

.center-a {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 15px;

}

.left-a {
    max-width: 160px;
    width: 100%;
    height: 131px;
}

.right-a {
    max-width: 160px;
    width: 100%;
    height: 131px;
}

.btn-a {
    border-color: transparent;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    font-size: 22px;
    padding: 10px;
    font-weight: bold;
    background-color: #DDDDDD;
}

.text-a {
    margin-top: 20px;
    line-height: 2;
    text-align: left;

}





/* 二個目 */

.top-b {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 60px;
}

.btn-b {
    border-color: transparent;
    width: 100%;
    height: 131px;
    border-radius: 20px;
    font-size: 1em;
    padding: 10px;
    font-weight: bold;
    background-color: #DDDDDD;
}





/* 三個目 */

.top-c {
    height: 400px;
    width: 100%;
    border-color: transparent;
    background-color: #DDDDDD;
    border-radius: 20px;
    margin-top: 40px;
    padding: 12% 4%;
    line-height: 2;
    text-align: left;

}

.center-c {
    padding: 0 5%;
}

h2 {
    font-size: 1em;
    text-align: center;
    margin-top: 12px;
    width: 100%;
}

.btn-mainc {
    margin-top: 15px;
    max-width: 288.5px;
    width: 100%;
    border-color: transparent;
    border-radius: 20px;
    font-weight: bold;
    height: 38.8px;
    font-size: 23px;
    color: white;
    background-color: #4CD964;
    padding: 0 8%;
}

.spa {
    float: right;
    transform: translateY(30%);

}



.right-c {

    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    position: relative;
    width: 0.8em;
    height: 0.8em;
    border: 0.075em solid currentColor;
    background: currentColor;
    border-radius: 50%;
    box-sizing: content-box;
    color: white;
}


.right-c::before {
    content: '';
    color: #fff;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-width: 0.18em 0.31177em;
    border-left-color: currentColor;
    border-right: 0;
    transform: translateX(15%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    color: #4CD964;
}

.bottom-c {

    height: 400px;
    width: 100%;
    border: #c0c0c0 1px solid;
    border-radius: 20px;
    margin-top: 10px;
    padding: 12% 4%;
    line-height: 2;
    text-align: left;
}

.lastbtn-c {
    display: flex;
    justify-content: end;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.lastbtn-c p {
    letter-spacing: 0.4px;
    font-size: 14px;
}

.btn-c {
    border-radius: 50%;
    border-color: transparent;
    background-color: #4CD964;
    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;

}

.max-c {
    display: inline-block;
    vertical-align: middle;
    color: white;
    line-height: 1;
    width: 1em;
    height: 0.1em;
    background: currentColor;
    border-radius: 0.1em;
    position: relative;

}

.max-c::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}





/* 四個目 */

.top-d {
    margin-top: 40px;
    height: 214px;
    width: 100%;
    background-color: #DDDDDD;
    border-radius: 20px;
    padding: 8% 4%;
    border-color: transparent;
    text-align: left;
}

.center {
    text-align: center;
}







/* 5個目 */

.btn-e {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-color: transparent;
    margin-top: 20px;
    width: 100%;
    height: 35px;
    background-color: #DDDDDD;
    font-size: 1em;


}

.box-e {
    position: relative;
}

.box-e::after {
    content: "";
    position: absolute;
    top: 12.8px;
    right: 12px;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-top: 10px solid #555;
    border-bottom: 0;
    pointer-events: none;
}

select {
    text-align: center;
    appearance: none;
    border-radius: 7px;
}


.right-e {
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-top: 14px solid #555555;
    border-bottom: 0;
}

.text-e {
    margin-top: 25px;
}

.text-e p:nth-child(2) {
    margin-top: 10px;
}

.text-e p:nth-child(3) {
    margin-top: 8px;
    text-align: right;

}

.text-e p:nth-child(4) {
    margin-top: 10px;
    border-bottom: #DDDDDD 1px solid;
    padding-bottom: 20px;

}


.text-e:last-child {
    margin-bottom: 40px;
}