@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Oswald:wght@200..700&display=swap');

/* メイン */
main {
    padding-top: 104px;
    padding-bottom: 120px;
}

#main_container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-wrap: nowrap;
    gap: 0 40px;
}

#contents {
    width: 100%;
}

#contents h1 {
    font-size: 46.6px;
    font-weight: 700;
    line-height: 150%;
    margin: 0;
    color: #333333;
}

#contents img {
    width: 100%;
}

#main_img {
    margin-top: 48px;
}

#table_top {
    width: 90%;
    margin: 32px auto 0;
}

#table_top h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 200%;
    margin: 0;
    color: #f5f4f0;
    background: #1c4a58;
    text-align: center;
}

#table_top ul {
    width: 100%;
    background: #f5f4f0;
    border: 1px solid #1c4a58;
    padding: 32px;
    list-style: none;
    margin: 0;
}

#table_top ul li+li {
    margin-top: 8px;
}

#table_top ul li a {
    font-size: 18px;
    font-weight: 400;
    line-height: 177%;
    text-decoration: none;
    color: #333333;
    transition: opacity 0.3s;
}

#table_top ul li a:hover {
    opacity: 0.6;
}

#table_top ul ul {
    padding: 8px 0 0 32px;
    border: none;
}

.text_top {
    font-size: 18px;
    font-weight: 400;
    line-height: 177%;
    color: #333333;
    margin: 0;
    margin-top: 96px;
}

.text_top+.text_top {
    margin-top: 24px;
}

.section_guide {
    margin-top: 96px;
}

.section_guide section+section {
    margin-top: 96px;
}

.section_guide h3 {
    font-size: 40px;
    font-weight: 700;
    line-height: 150%;
    color: #f5f4f0;
    margin: 0;
    padding: 16px 56px;
    background: #333333;
    border-radius: 4px;
}

.section_guide.section_guide_white h3 {
    background: #f5f4f0;
    color: #333333;
}

.section_guide h4 {
    font-size: 28px;
    font-weight: 500;
    line-height: 150%;
    color: #333333;
    margin: 0;
    margin-top: 32px;
    padding: 12px 28px;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
}

.section_guide h5 {
    font-size: 24px;
    font-weight: 500;
    line-height: 150%;
    color: #333333;
    margin: 0;
    margin-top: 16px;
    padding: 10px 28px;
    border-bottom: 1px solid #333333;
}

.section_guide p {
    font-size: 18px;
    font-weight: 400;
    line-height: 177%;
    margin: 0;
    margin-top: 24px;
    color: #333333;
}

.section_img {
    margin-top: 32px;
}

.section_guide a {
    display: inline-block;
    font-size: 18px;
    font-weight: 400;
    line-height: 177%;
    color: #3ea3c2;
    margin-top: 24px;
    transition: opacity 0.3s;
}

.section_guide a:hover {
    opacity: 0.6;
}

.section_title_number {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.section_title_number span:nth-child(1) {
    white-space: nowrap;
}

.section_recommendation {
    margin-top: 32px;
}

.section_recommendation p {
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    padding: 10px 28px;
    color: #f5f4f0;
    background-color: #582a1c;
}

.section_recommendation ul {
    margin: 0;
    padding: 28px 28px 28px 42px;
    border: 1px solid #582a1c;
    list-style-position: outside;
}

.section_recommendation ul li {
    font-size: 18px;
    font-weight: 400;
    line-height: 177%;
    margin: 0;
    color: #333333;
}

.section_recommendation ul li+li {
    margin-top: 16px;
}

#table {
    width: 320px;
    height: 412px;
    border: 1px solid #582a1c;
    overflow-y: scroll;
    padding: 24px;
}

#table h2 {
    font-size: 18px;
    font-weight: 400;
    line-height: 100%;
    margin: 0;
    color: #582a1c;
}

#table ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#table ul ul {
    margin-left: 16px;
}

#table ul li {
    margin-top: 12px;
}

#table ul li a {
    font-size: 16px;
    font-weight: 300;
    line-height: 150%;
    color: #582a1c;
    text-decoration: none;
    transition: opacity 0.3s;
}

#table ul li a:hover {
    opacity: 0.6;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    /* メイン */
    main {
        padding-top: 176px;
    }

    #main_container {
        max-width: none;
        width: 100%;
        padding: 0 8vw;
        display: block;
        flex-wrap: initial;
        gap: 0;
    }

    #table_top {
        width: 100%;
    }

    #table_top ul li a {
        transition: opacity 0s;
    }

    #table_top ul li a:hover {
        opacity: 1;
    }

    .section_guide a {
        transition: opacity 0s;
    }

    .section_guide a:hover {
        opacity: 1;
    }

    .section_recommendation {
        margin-top: 32px;
    }

    #table {
        display: none;
    }
}