@charset "UTF-8";

/*--- レイアウト調整(2025-05-15) ---*/
#parts01 + .composite_box01 .wrapper_item {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
#parts01 + .composite_box01 .inner_item {
    width: calc((100% - 20px) / 2);
    padding: 0 1rem 1rem 1rem;
    background-color: #f26f5999;
}
#parts01 + .composite_box01 .inner_item:nth-of-type(2) {
    background-color: #ce9bcb99;
}
#parts01 + .composite_box01 .inner_item:nth-of-type(3) {
    background-color: #f8909f99;
}
#parts01 + .composite_box01 .inner_item:nth-of-type(2):nth-last-of-type(2),
#parts01 + .composite_box01 .inner_item:nth-of-type(3):nth-last-of-type(1) {
    margin-left: 0;
}
#parts01 + .composite_box01 .inner_item_txt ul {
    display: flex;
    flex-wrap: wrap;
}
#parts01 + .composite_box01 .heading.block_header_4 .h {
    font-size: 2.4rem !important;
    color: var(--i_txt_color);
}
#parts01 + .composite_box01 .inner_item_txt ul li {
    margin: 3px;
    padding: 3px 5px;
    background: #f26f59;
    color: #fff;
    list-style: none;
    font-size: 1.2rem;
}
#parts01 + .composite_box01 .inner_item:nth-of-type(2) .inner_item_txt ul li {
    background: #ce9bcb;
}
#parts01 + .composite_box01 .inner_item:nth-of-type(3) .inner_item_txt ul li {
    background: #f8909f;
}
#parts01 + .composite_box01 .inner_item_txt table {
    width: 100%;
}
#parts01 + .composite_box01 .inner_item_txt table td {
    font-size: 1.4rem;
    text-align: right;
    padding: 0 5px;
    vertical-align: top;
}
@media only screen and (max-width: 1100px) {
    #parts01 + .composite_box01 .inner_item table tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        gap: 5px;
    }
}
@media only screen and (max-width: 900px) {
    #parts01 + .composite_box01 .inner_item {
        width: 100%;
    }
}
@media screen and (max-width: 700px) {
    #parts01 + .composite_box01 .inner_item{
        margin-left: 0 !important;
    }
}
#image-sp + .contents_box01 {
    display: none;
}
@media only screen and (max-width: 700px) {
    #image-pc + .contents_box01 {
        display: none;
    }
    #image-sp + .contents_box01 {
        display: block;
    }
}

main {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
a[id^="m08-"] + div {
    display: inline-block;
    width: calc((100% - 60px) / 2);
    margin-left: 16px;
    margin: 0 20px;
    vertical-align: top;
}
a[id^="m08-1"] + div,
a[id^="m08-3"] + div,
a[id^="m08-5"] + div,
a[id^="m08-7"] + div {
    margin: 0 0 0 20px;
}
a[id^="m08-2"] + div,
a[id^="m08-4"] + div,
a[id^="m08-6"] + div,
a[id^="m08-8"] + div {
    margin: 0 20px 0 16px;
}
a[id^="m08-"] + div .content_wrapper {
    padding: 0;
}
a[id^="m08-6"] + div .content_wrapper .heading+.add_text {
    min-height: 3.8em;
}
a[id^="m08-"] + div .content_wrapper .heading.block_header_6 {
    margin-bottom: 1rem;
}
a[id^="m08-"] + div .content_wrapper .heading.block_header_6 p {
    font-weight: bold;
}
a[id^="m08-"] + div .content_wrapper .heading+.add_text {
    margin-bottom: 0;
    font-size: min(1.65rem, 1.6vw);
}
@media only screen and (max-width: 700px) {
    a[id^="m08-"] + div {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
    a[id^="m08-"] + div .content_wrapper .heading+.add_text {
        font-size: min(1.4rem, 3vw);
    }
}
a[id="m09"] {
    display: block;
}
/*アンカーリンク*/
@media screen and (max-width: 1000px) {
    a[id^="anc_"] + .contents_btn01 a {
        min-width: 170px;
    }
    a[id^="anc_"] + .contents_btn01 a span {
        font-size: 1.3rem;
    }
}
@media screen and (max-width: 900px) {
    a[id^="anc_"] + .contents_btn01 .content_wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 0 10px;
    }
    a[id^="anc_"] + .contents_btn01 a {
        min-width: initial;
        width: calc(50% - 10px) !important;
        margin-left: 0;
        margin-right: 0;
    }
    a[id^="anc_"] + .contents_btn01 a span {
        padding: 12px 5px;
    }
}