@charset "UTF-8";

/*当事務所が選ばれる理由*/
#reason + div .inner_item_txt{
    aspect-ratio: 1/1;
    /*border: 1px solid #91C665;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: repeating-linear-gradient(-45deg, #ddd 0, #ddd 2px, white 2px, white 6px);*/
}
#reason + div .inner_item_txt p{
    font-size: 2.2rem;
    line-height: 1.2;
    padding-inline: 0.5em;
    color: #91C665;
}

#nbp3945178\ 3945178 .composite_box01 .wrapper_item {
    overflow: visible;
}

#nbp3945178\ 3945178 .inner_item {
    position: relative;
}

#nbp3945178\ 3945178 .inner_item:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: "";
    background: url(/common/upload_data/takashita-lawjp/image/20231220130548.png) no-repeat center center / contain;
    width: 100%;
    height: 250px;
    z-index: -1;
}

#reason + div .inner_item_txt p {
    font-size: 1.8rem;
    color: #91C665;
    color: #008000;
}

@media screen and (max-width: 480px){
#reason + div .inner_item_txt p{
   font-size: 4.8vw;
}
}

/*当事務所が選ばれる理由(2*3カラム)*/
a[id*="reason"] + div .inner_item_txt{
    aspect-ratio: 1/1;
    /*border: 1px solid #91C665;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background: repeating-linear-gradient(-45deg, #ddd 0, #ddd 2px, white 2px, white 6px);*/
}
a[id*="reason"] + div .inner_item_txt p{
    font-size: 2.2rem;
    line-height: 1.2;
    padding-inline: 0.5em;
    color: #bd9428;
}
a[id*="reason"]+div .wrapper_item {
    overflow: visible;
    justify-content: center;
}
a[id*="reason"]+div .inner_item {
    position: relative;
    width: 31%!important;
    margin-left: 3.5%;
}
a[id*="reason"]+div .inner_item:nth-of-type(1) {
    margin-left: 0;
}
a[id*="reason"]+div .inner_item:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    content: "";
    background: url(/common/upload_data/takashita-lawjp/image/20231220130548.png) no-repeat center center / contain;
    width: 100%;
    height: 250px;
    z-index: -1;
}
a[id*="reason"] + div .inner_item_txt p {
    font-size: 1.8rem;
    color: #91C665;
    color: #008000;
    text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
}

@media screen and (max-width: 700px){
a[id*="reason"]+div .inner_item {
    margin-bottom: 0;
}
}
@media screen and (max-width: 480px){
a[id*="reason"] + div .inner_item_txt p{
   font-size: 2.8vw;
}
}

/*当事務所が選ばれる理由(2つ目カラー変更)*/
#reason3 + div .inner_item_txt p {
    color: #bd9428;
}
#reason4 + div .inner_item_txt p {
    color: #bd9428;
}