@charset "UTF-8";

/*インデント*/
.inner_item_txt ul.indent {
    padding-left: 2rem;
}
.inner_item_txt ul.indent li {
    list-style-position: outside;
}
/*余白調整*/
.mt20 {
    margin-top: 20px;
}
a[id^="yuigon_frame"] + .block_text_4 {
    padding-left: 20px;
    padding-right: 20px;
}
a[id^="yuigon_frame"] + .block_text_4 > .content_wrapper {
    width: 100%;
}
/*遺言書を作りましょう (青)*/
#yuigon_frame01 + div .content_wrapper {
    padding: 0 0 40px;
    border: 2px solid var(--i_main_color);
}
#yuigon_frame01 + div .heading.block_header_4 {
    background: var(--i_btn_hover_color);
    padding: 1.5rem 0 1rem;
}
#yuigon_frame01 + div .content_wrapper .heading.block_header_4 .h {
    color: var(--i_bg_color);
}
#yuigon_frame01 + div .content_wrapper .inner_item .heading.block_header_4 {
    position: absolute;
    left: 0;
    width: 40%;
    background: transparent;
    padding: 0 20px;
    text-align: center;
}
#yuigon_frame01 + div .content_wrapper .inner_item .heading.block_header_4 .h {
    color: var(--i_txt_color);
    font-size: 1.6rem !important;
    font-weight: bold;
}
#yuigon_frame01 + div .content_wrapper .inner_item {
    position: relative;
    padding: 25px 40px 0;
    align-items: stretch;
}
#yuigon_frame01 + div .content_wrapper .inner_item_img {
    margin-top: 7rem;
}
#yuigon_frame01 + div .content_wrapper .inner_item_img img {
    object-fit: contain;
    max-width: 100px;
}
#yuigon_frame01 + div .content_wrapper .inner_item_txt {
    border-left: 2px solid var(--i_main_color);
}
@media screen and (max-width: 768px) {
    #yuigon_frame01 + div .content_wrapper .inner_item .heading.block_header_4 {
        top: 0;
        width: 100%;
        padding: 0 40px;
    }
    #yuigon_frame01 + div .content_wrapper .inner_item {
        padding: 0 40px;
    }
    #yuigon_frame01 + div .content_wrapper .inner_item_txt {
        border-left: none;
    }
}
/*遺言書の種類 (ピンク)*/
#yuigon_frame02 + section.block_text_4 > .content_wrapper {
    border: 2px solid var(--i_sub_color);
    background: var(--i_sub_color);
}
#yuigon_frame02 + section .heading.block_header_4 .h {
    color: var(--i_bg_color);
}
#yuigon_frame02 + section .block_table_7 table th {
    writing-mode: vertical-rl;
}
@media screen and (max-width: 768px) {
    #yuigon_frame02 + section .block_table_7 table {
        white-space: normal;
    }
    #yuigon_frame02 + section .block_table_7 table td {
        min-width: 200px;
    }
}
/*相続発生後、遺言の内容はどう実現されるのか 費用 (緑)*/
#yuigon_frame03 + section.block_text_4 > .content_wrapper, #yuigon_frame07 + section.block_text_4 > .content_wrapper {
    border: 2px solid #f18d9e;
    background: #fbe2e7;
}
#yuigon_frame03 + section .heading.block_header_4 .h{
    color: var(--i_txt_color);
}

 #yuigon_frame07 + section .heading.block_header_4 .h {
    color: var(--i_bg_color);
}
/*当法人がサポートできること (青)*/
#yuigon_frame04 + section.block_text_4 > .content_wrapper {
    border: 2px solid var(--i_sub_color);
    background: var(--i_sub_color);
}
#yuigon_frame04 + section .heading.block_header_4 .h {
    color: var(--i_bg_color);
}
/*手続きの流れ (ピンク)*/
a[id^="yuigon_frame05"] + section, a[id^="yuigon_frame05"] + div {
    position: relative;
}
a[id^="yuigon_frame05"] + section:after, a[id^="yuigon_frame05"] + div:after {
    content: "▼";
    color: #fbe2e7;
    font-size: 30px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: -3px;
    transform: translateX(-50%) scaleY(.5);
}
#yuigon_frame05_3 + section:after {
    display: none;
}
#yuigon_frame05_1 + section .content_wrapper {
    border-top: 2px solid #f18d9e;
    border-left: 2px solid #f18d9e;
    border-right: 2px solid #f18d9e;
    background: #fbe2e7;
}
#yuigon_frame05_1 + section .heading.block_header_4 .h {
    margin-bottom: 0;
    padding: 15px 0;
    color: var(--i_txt_color);
}
a[id^="yuigon_frame05_img"] + section, a[id^="yuigon_frame05_txt"] + section, #yuigon_frame05_2 + section, #yuigon_frame05_3 + section {
    max-width: 1156px;
    margin: 0 auto;
    border-left: 2px solid #f18d9e;
    border-right: 2px solid #f18d9e;
}
#yuigon_frame05_3 + section {
    border-bottom: 2px solid #f18d9e;
    padding-bottom: 30px;
}
a[id^="yuigon_frame05"] + section .icon_area {
    position: absolute;
    right: 60%;
    top: 50%;
    transform: translateY(-50%);
    min-width: 303px;
    text-align: right;
}
a[id^="yuigon_frame05"] + section .icon_area:after {
    content: "▶";
    display: block;
    color: #e5f6f1;
    font-size: 20px;
    position: absolute;
    right: -35%;
    top: 50%;
    transform: translateY(-50%);
}
a[id^="yuigon_frame05"] + section .customer {
    position: relative;
    color: #f18d9e;
    margin-right: 10px;
}
a[id^="yuigon_frame05"] + section .customer:before {
    content: " ";
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url(/common/upload_data/kobe-shihoorjp/image/20240920134300.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}
a[id^="yuigon_frame05"] + section .corporation {
    position: relative;
    color: #50b2c7;
    margin-left: 70px;
}
a[id^="yuigon_frame05"] + section .corporation:before {
    content: " ";
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url(/common/upload_data/kobe-shihoorjp/image/20240920134303.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
}
a[id^="yuigon_frame05_img"] + section.contents_box01.block_image_text_4 .wrapper_item {
    flex-direction: column-reverse;
}
a[id^="yuigon_frame05_img"] + section.contents_box01 .inner_item_img {
    margin-left: auto;
    width: 40%;
}
a[id^="yuigon_frame05_img"] + section.contents_box01.block_image_text_4 .inner_item_txt {
    display: flex;
    flex-direction: row-reverse;
    max-width: 100%;
    width: 100%;
    flex-basis: 100%;
}
a[id^="yuigon_frame05_txt"] + section .heading.block_header_2 {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
a[id^="yuigon_frame05_img"] + section.contents_box01 .inner_item_txt .heading {
    width: 40%;
    border-bottom: none;
    padding-bottom: 0;
}
a[id^="yuigon_frame05_img"] + section.contents_box01 .inner_item_txt .heading .h {
    font-size: 1.8rem !important;
}
a[id^="yuigon_frame05_txt"] + section .heading.block_header_2 .h {
    width: 40%;
    border-bottom: none;
    margin: 0 0 0 auto;
     font-size: 1.8rem;
}
a[id^="yuigon_frame05"] + .dec1_3:not(.block_images_21) > .content_wrapper {
    border: 1px solid #fbe2e7;
}
#yuigon_frame05_3 + .dec1_3:not(.block_images_21) > .content_wrapper {
    border: 1px solid var(--i_main_color);
}
@media screen and (max-width: 1240px) {
    a[id^="yuigon_frame05_img"] + section, a[id^="yuigon_frame05_txt"] + section, #yuigon_frame05_1 + section, #yuigon_frame05_2 + section, #yuigon_frame05_3 + section {
        margin: 0 20px;
    }
}
@media screen and (max-width: 900px) {
    a[id^="yuigon_frame05_img"] + section.contents_box01:not(.block_image_text_2):not(.block_image_text_6):not(.block_text_6) .wrapper_item {
        display: flex;
    }
    a[id^="yuigon_frame05"] + section .icon_area {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        right: initial;
        left: 2rem;
        font-size: 1.6rem;
        min-width: initial;
    }
    a[id^="yuigon_frame05"] + section .customer {
        margin-right: 0;
        font-size: 1.6rem;
    }
    a[id^="yuigon_frame05"] + section .customer:before, a[id^="yuigon_frame05"] + section .corporation:before {
        right: -60px;
        left: initial;
    }
    a[id^="yuigon_frame05"] + section .icon_area:after {
        right: calc(-70% - 60px);
    }
    a[id^="yuigon_frame05"] + section .corporation {
        margin-left: 0;
        font-size: 1.6rem;
    }
    a[id^="yuigon_frame05"] + section .heading.block_header_2 .h {
        font-size: 1.6rem !important;
    }
    a[id^="yuigon_frame05_txt"] + section .content_wrapper {
        min-height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    a[id^="yuigon_frame05_img"] + section.contents_box01 .inner_item_txt .heading .h {
        font-size: 1.6rem !important;
    }
}

@media screen and (max-width:375px){
  a[id^="yuigon_frame05"] + section .icon_area:after {
     right: calc(-70% - 60px);
     right: -23vw;
     font-size: 4vw;
  }
}


/*必要書類*/
#yuigon_frame06 + section.block_text_4 > .content_wrapper {
    border: 2px solid var(--i_sub_color);
    background: var(--i_sub_color);
}
#yuigon_frame06 + section .heading.block_header_4 .h {
    color: var(--i_bg_color);
}
@media screen and (max-width: 768px) {
    #yuigon_frame02 + section .block_table_7 table {
        white-space: normal;
    }
    #yuigon_frame02 + section .block_table_7 table td {
        min-width: 200px;
    }
}
/*費用*/
#yuigon_frame07 + .contents_box01[class*="block_text"] .inner_item_txt .contents_btn01 {
    padding-bottom: 20px;
}
#yuigon_frame07 + section.block_text_4 > .content_wrapper {
    border: 2px solid var(--i_main_color);
    background: var(--i_main_color);
}
#yuigon_frame07 + section .heading.block_header_4 .h {
    color: var(--i_bg_color);
}
