body {
    max-width: 500px;
    color: #353535;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 2px;
    margin: auto;
}

a {
    text-decoration: none;
}

section {
    padding: 100px 32px 80px 32px;
}

section#tsurai {
    padding-top: 160px;
    background: linear-gradient(#CFCFCF, #f2f2f2);

}

section#tsurai img {
    margin: 0 auto;
    margin-bottom: 24px;
}

.box-tsurai {
    background: #fff;
    border: 1.6px solid #353535;
    border-radius: 30px;
    padding: 12px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 16px;
}

ul {
    list-style: none;
}

.container-happy {
    font-size: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: space-between;

}

.box-happy {
    width: 45%;
    padding: 24px 0;
    border-radius: 10px;
    border: 1.6px solid #353535;
    background-color: #fff;
    text-align: center;
}


section#happy {
    padding-top: 160px;
    background: #F1FEFF;
    position: relative;
}

section#happy img {
    margin: 0 auto;
    margin-bottom: 24px;
}

section#happy::before {
    /* beforeでもafterでも*/
    content: "";
    position: absolute;
    height: 60px;
    width: 100%;
    clip-path: polygon(50% 100%, 100% 0%, 0% 0%);
    /* ココ */
    background-color: #f2f2f2;
    /* デモは赤色の部分 */
    left: 0;
    top: 0;
    /* topにピッタリくっつけたいので0にする */
}

section#voice {
    background-color: #FFFDEF;
}

section#price {
    background-color: #E8F5F3;
}

section#greeting {
    background-color: #E8F5F3;
}

img {
    display: block;
    max-width: 100%;
}

h2 {
    position: relative;
    font-weight: bold;
    font-size: 22px;
    text-align: center;
    margin-bottom: 40px;
    z-index: 0;
}

h2::before {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    color: #E8F5F3;
    font-size: 72px;
    text-transform: uppercase;
    z-index: -1;
}

h2#tsurai::before {
    content: 'TSURAI';
    color: #fff;
    top: -64px;
}

h2#happy::before {
    content: 'HAPPY';
    color: #C8EFF3;
    top: -64px;
}

h2#voice::before {
    content: 'VOICE';
    color: #fff;
}

h2#price::before {
    content: 'PRICE';
    color: #fff;
}

h2#faq::before {
    content: 'FAQ';
}

h2#greeting::before {
    content: 'GREETING';
    color: #fff;
}

h2#access::before {
    content: 'ACCESS';
}

h3 {
    font-size: 24px;
    text-align: center;
    color: #00AD9F;
}

.heading {
    position: relative;
    padding-top: .75em;
    font-size: 22px;
}

.heading::before {
    position: absolute;
    bottom: 20px;
    bottom: .5em;
    left: 0;
    z-index: -1;
    color: #e8f5f3;
    font-size: 72px;
    line-height: 1;
    content: attr(data-word);
    pointer-events: none;
}

.box-voice {
    position: relative;
    max-width: 100%;
    margin: 1em auto;
    padding: 24px;
    border: 1.6px solid #353535;
    border-radius: 10px;
    background: #fff;
}

.voice-lavel {
    text-align: right;
    margin-top: 12px;
    font-weight: 600;
    font-size: 12px;
    color: #00AD9F;
}

.box-price {
    max-width: 100%;
    background: #fff;
    border: 2px solid #00AD9F;
    border-radius: 10px;
}

.box-price span {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .5em 0;
    background-color: #00AD9F;
    color: #fff;
    font-weight: 600;
}

.box-price p {
    margin: 0;
    padding: 1em 1.5em;
    color: #333;
}

.table_access {
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
    margin-bottom: 12px;
}

.table_access tr:nth-child(odd) {
    background-color: #fff;
}

.table_access th,
.table_access td {
    padding: 12px 0;
}

.table_access th {
    text-align: left;
    font-weight: bold;
    width: 20%;
    min-width: 4em;
    color: #00AD9F;
    font-size: 16px;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 64px;
    margin: 0px auto;
    border: 1.6px solid #00ad9f;
    border-radius: 32px;
    background-color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-top: 24px;
}

.button a {
    color: #353535;
}

.accordion {
    max-width: 500px;
    margin-bottom: 7px;
}

.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    border: 2px solid #00ad9f;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::before,
.accordion summary::after {
    width: 3px;
    height: .9em;
    border-radius: 5px;
    background-color: #00ad9f;
    content: '';
}

.accordion summary::before {
    position: absolute;
    right: 2em;
    rotate: 90deg;
}

.accordion summary::after {
    transition: rotate .3s;
}

.accordion[open] summary::after {
    rotate: 90deg;
}

.accordion p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    padding: .8em 1.2em;
    border-radius: 5px;
    background-color: #fff;
    color: #353535;
    transition: transform .5s, opacity .5s;

}

.accordion[open] p {
    transform: none;
    opacity: 1;
}

.accordion p::before,
.accordion p::after {
    position: absolute;
    top: -15px;
    left: 1.2em;
    width: 30px;
    height: 15px;
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    content: '';
}

.accordion p::after {
    top: -12px;
    background-color: #fff;
}

@media screen and (max-width: 600px) {
    body {
        max-width: 100%;
    }

    section {
        padding: 100px 24px 80px 24px;
    }

    .table_access th {
        width: 25%;
    }
}