main {
    background-color: white;
    height: 1500px;
    position: relative;
    z-index: 50;
    top: 100px;
    overflow: auto; /* コンテンツがはみ出したらスクロールバーを表示 */
}
@media screen and (max-width: 1590px) {
    main {
        top: 200px;
    }
}
@media screen and (max-width: 1000px) {
    main {
        top: 100px;
    }
}

a {
    text-decoration: none;
    color: black;
}

.main_title {
    display: grid;
    align-items: center;
    color: white;
    background-color: rgb(14, 154, 14);
    font-size: 2rem;
    height: 90px;
    padding-left: 11%;
    margin: 0;
}

.breadcrumb-001 {
    display: flex;
    gap: 0 22px;
    list-style: none;
    padding: 0;
    padding-left: 10%;
    font-size: 1em;
}
.home_icon {
    width: 1rem;
    height: 1rem;
}

.breadcrumb-001 li {
    display: flex;
    align-items: center;
}


.breadcrumb-001 li:first-child::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 4px;
    background-repeat: no-repeat;
    content: '';
}

.breadcrumb-001 li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: .3em;
    height: .3em;
    margin-left: 10px;
    border-top: 1px solid #1fab03;
    border-right: 1px solid #1fab03;
    content: '';
}

.breadcrumb-001 a {
    color: #1fab03;
    text-decoration: none;
}



.main_body {
    display: grid;
    grid-template-areas:
        "sub_link main_text";
    grid-template-columns: 300px 900px;
    grid-template-rows: 1000px auto;
    padding-top: 50px;
    padding-left: 190px;
}
@media screen and (max-width: 1590px) {
    .main_body {
        grid-template-columns: 200px 700px;
        grid-template-rows: 1250px auto;
        padding-left: 100px;
    }
}
@media screen and (max-width: 1000px) {
    .main_body {
        grid-template-areas:
            "main_text";
        grid-template-columns: 500px ;
        grid-template-rows: 1250px;
        padding-left: 0px;
    }
}
@media screen and (max-width: 600px) {
    .main_body {
        grid-template-areas:
            "main_text";
        grid-template-columns: 350px ;
        grid-template-rows: 1750px;
        padding-left: 0px;
    }
}

.main_body .body_sub {
    grid-area: sub_link;
    text-align: left;
}
@media screen and (max-width: 1000px) {
    .main_body .body_sub {
        display: none;
    }
}

.main_body .body_sub h2{
    display: flex;
    justify-content: left;
    align-items: center;
    border-bottom: 1px solid black;
}

.main_body .body_sub p{
    display: flex;
    justify-content: left;
    align-items: center;
    height: 40px;
    padding-left: 10px;
    font-size: 1.0rem;
    color: black;
    border-bottom: 1px solid rgb(158, 158, 158);
}
.main_body .body_sub p:hover{
    text-decoration: underline;
    background-color: rgb(237, 237, 237);
}
.select_list{
    background-color: rgb(237, 237, 237);
}

.main_body .body_text {
    grid-area: main_text;
    padding-left: 100px;
    width: 100%;
    max-height: auto;

}
@media screen and (max-width: 1000px) {
    .main_body .body_sub {
        padding-left: 0px;
    }
}

.table_item {
    width: 250px;
    height: 50px;
    font-size: 1.0rem;
    font-weight: normal;
    border-bottom: solid 1px rgb(223, 223, 223);
    text-align: left;
    padding-left: 20px;
}

@media screen and (max-width: 1000px) {
    .table_item {
        padding-left: 0px;
        width: 200px;
        font-size: 1rem;
    }    
}

.table_text {
    width: auto;
    height: auto;
    font-size: 1.0rem;
    font-weight: normal;
    border-bottom: solid 1px rgb(223, 223, 223);
    text-align: left;
    /* 画面の大きさに合わせてテキストを折り返すための設定 */
    white-space: normal; /* デフォルトの折り返し設定に戻す（重要） */
    word-wrap: break-word; /* 長い単語を強制的に折り返す（古いブラウザ向け） */
    overflow-wrap: break-word; /* 長い単語を強制的に折り返す（新しいブラウザ向け） */
}
/*
@media screen and (max-width: 768px) {
    .table_item {
        width: auto;
        font-size: 0.8rem;
    }    
}
*/