html {
    scroll-behavior: smooth;
}

#wrapper section:nth-child(n+4) .section-inner {
    border-top: 1px dotted #000000;
    padding-top: 80px;
}

#wrapper section:last-child .section-inner {
    border-top: 0;
}

.contents_frame_half {
    width: 75%;
    margin: 0 auto;
}

h1 {
    border: 0;
}

h2 {
    margin-bottom: 80px;
    padding: 0;
}

h2 span {
    font-size: 1.2rem;
    font-weight: 100;
    color: #555555;
}

h3 {
    text-align: center;
    line-height: 1.5;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #888888;
}

p>span+span {
    margin-left: 20px;
}

strong {
    font-weight: 700;
}

.text_c {
    text-align: center;
}

.open_btn_text a {
    background: #eee;
    border-radius: 3px;
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 10px 30px;
    color: #313131;
    transition: 0.3s ease-in-out;

    font-size: 2rem;
    font-weight: 500;
}

.open_btn_text a:after {
    content: '';
    background-image: url(img/arrow.svg);
    width: 10px;
    height: 10px;
    position: absolute;
    top: calc(50% - 5px);
    right: 30px;
    transform-origin: center center;
    transform: rotate(0deg);
}

.open_btn_text a.rotated:after {
    transform: rotate(90deg);
}

.detail_open,
.detail_close {
    position: relative;
    display: block;
    width: fit-content;
    padding: 0 20px 0 0;
    margin: 0 auto;
    color: #313131;
    transition: 0.3s ease-in-out;

    font-size: 1.4rem;
    font-weight: 400;
}

.detail_close:after {
    content: '';
    background-image: url(img/arrow.svg);
    width: 10px;
    height: 10px;
    position: absolute;
    top: calc(50% - 5px);
    right: 0;
    transform-origin: center center;
    transform: rotate(270deg);
}

.open_list dt+dd {
    margin-top: 20px;
}

.open_list dd {
    padding: 0 20px;
}

.open_list dd li {
    position: relative;
    border-bottom: 1px solid #aaaaaa;
    padding: 10px 20px 10px 10px;
}

.open_list dd li+li {
    margin-top: 15px;
}

.open_list dd li {
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1.5;
}

.open_list dd li:after {
    content: '';
    background-image: url(img/arrow.svg);
    width: 10px;
    height: 10px;
    position: absolute;
    top: calc(50% - 5px);
    right: 0;
    transform-origin: center center;
    transform: rotate(90deg);
}

.text_notes {
    color: #555555;
    line-height: 1.5;
}

.text_notes ul {
    padding-left: 0.5em
}

.text_notes p,
.text_notes li {
    font-size: 1.0rem;
}

.festival_detail+.festival_detail {
    margin-top: 100px;
}

.festival_detail>div {
    padding: 20px 10px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.festival_detail>div+div {
    border-top: 1px dotted #000000;
}

.festival_detail tr td:first-child {
    width: 15px;
}

.festival_detail tr td:last-child {
    vertical-align: middle;
    padding: 10px 0 10px 30px;
    font-size: 1.2rem;
    color: #555555;
}

.festival_detail tr td:first-child {
    background-image: url(img/bar_v.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 10px 100%;
    padding: 10px 0;
    vertical-align: middle;
}

.festival_detail tr:nth-child(odd) td:last-child {
    padding: 10px 0 10px 20px;
    font-size: 1.4rem;
    color: #9A3079;
    font-weight: 400;
}

.festival_detail tr:first-child td:first-child {
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 10px 55%;
}

.festival_detail tr:last-child td:first-child {
    background-image: none;
}

.festival_detail tr.last_tr td:first-child {
    background-image: url(img/bar_v.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 10px 55%;
}

.acc_circle {
    width: 15px;
    height: 15px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid #aaaaaa;
    background: white;
}

.acc_circle_start {
    border: 0;
    background: #aaaaaa;
}

.acc_circle_last {
    border: 0;
    background: #F55A5A;
}

a.big_button {
    display: block;
    width: 100%;
    background-color: #9A3179;
    border-radius: 5px;
    color: white;
    font-size: 1.4rem;
    text-align: center;
    padding: 15px;
}

.small_button_frame {
    margin: 10px 0;
}

a.small_button {
    border: 1px solid #777777;
    border-radius: 5px;
    color: #555555;
    font-size: 1.0rem;
    text-align: center;
    padding: 5px 8px;
}

@media screen and (max-width: 750px) {
    #wrapper section:first-child {
        margin-bottom: 0;
    }

    #wrapper section:nth-child(n+4) .section-inner {
        padding-top: 40px;
    }

    .contents_frame_half {
        width: 90%;
    }

    h1 {
        padding: 10px;
    }

    h2 {
        margin-bottom: 40px;
    }

    h2 span {
        font-size: 1.0rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1.2rem;
    }

    .open_btn_text a {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .open_btn_text a:after {
        right: 15px;
    }

    .open_list dd li {
        font-size: 1.0rem;
    }

    .festival_detail+.festival_detail {
        margin-top: 40px;
    }

    .festival_detail tr td:last-child {
        padding: 5px 0 5px 20px;
        font-size: 0.8rem;
    }

    .festival_detail tr:nth-child(odd) td:last-child {
        padding: 5px 0 5px 10px;
        font-size: 1.0rem;
    }

    a.big_button {
        font-size: 1.0rem;
        padding: 10px;
    }

    .small_button_frame {
        margin: 10px 0;
    }

    a.small_button {
        font-size: 0.6rem;
        padding: 5px 8px;
    }

    .detail_open,
    .detail_close {
        padding: 0 20px 0 0;
        font-size: 1.0rem;
    }
}