:root {
    --main: #c71b18;
    --sub1: #873332;
    --sub2: #c61917;
    --sub3: #472d2c;
    --sub4: #C7A318;
    --back: #f1f1f1;
}
.pageinside_anchor_container {
    padding: 40px 10px;
    align-items: center;
    gap: 40px;
}
.section_content_container.container_2 {
    max-width: 1400px;
    justify-content: center;
}
.pageinside_anchor {
    flex: 1;
    max-width: 240px;
    height: 60px;
    align-items: center;
    justify-content: center;
    background: var(--back);
    border: 3px solid var(--main);
}
.pageinside_anchor::before,.pageinside_anchor::after {
    content: "";
    position: absolute;
}
.pageinside_anchor::before {
    inset: 3px;
    border: 1px dotted var(--main);
}
.pageinside_anchor::after {
    width: 12px;
    aspect-ratio: 2 / 1;
    background: var(--sub3);
    clip-path: polygon(100% 0, 0 0, 50% 100%);
    top: calc(50% - 3px);
    right: 20px;
}
.pageinside_anchor_text {
    font-size: 1.4rem;
    z-index: 1;
}
.pageinside_anchor_image {
    position: absolute;
    height: 25px;
}
.pageinside_anchor_image.image_1 {
    top: -15px;
    left: -20px;
}
.pageinside_anchor_image.image_2 {
    bottom: -15px;
    right: -20px;
}
.pageinside_anchor_image img {
    width: auto;
    height: 100%;
}
.section_content_column{
    &.type_1{
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(max-content, max-content);
        gap: 20px;
    }
    &.type_2{
        align-self: center;
        max-width: 1000px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(max-content, max-content);
        gap: 40px;
    }
    &.type_3{
        align-self: center;
        max-width: 480px;
    }
}
.section_content_box{
    &.type_1{
        align-items: center;
        gap: 10px;
    }
    &.type_2{
        align-items: center;
    }
}
.section_content_title_box{
    &.type_1{
        padding: 20px;
        align-items: center;
        gap: 20px;
        background-size: 25px 25px;
        background-image: radial-gradient(farthest-corner, transparent 68%, #f1f1f18c 68% 70%,transparent 70% 100%),
        radial-gradient(circle at top left, transparent 34%, #f1f1f18c 34% 35%,transparent 35% 100%),
        radial-gradient(circle at top right, transparent 34%, #f1f1f18c 34% 35%,transparent 35% 100%),
        radial-gradient(circle at bottom left, transparent 34%, #f1f1f18c 34% 35%,transparent 35% 100%),
        radial-gradient(circle at bottom right, transparent 34%, #f1f1f18c 34% 35%,transparent 35% 100%);
        background-repeat: repeat;
        background-position: center center;
        border: 2px solid var(--sub4);
        &.box_1{
            background-color: var(--main);
        }
        &.box_2{
            background-color: var(--sub1);
        }
    }
}
.content_title{
    font-size: 2rem;
    &.type_1{
        color: white;
    }
}
.section_text_box{
    &.type_1{
        padding: 40px;
        background: white;
        border: 4px solid var(--sub4);
        align-items: center;
    }
    &.type_2{
        padding: 5px 10px;
        align-items: center;
        background: var(--sub3);
    }
    &.type_3{
        padding: 20px;
        align-items: center;
        gap: 20px;
        background: var(--back);
        border: 2px solid var(--sub3);
    }
    &.type_4{
        align-items: center;
        gap: 20px;
        padding: 20px 0;
    }
    &.type_5{
        padding: 20px;
        align-items: center;
        background: white;
        border: 1px solid var(--main);
    }
    &.type_6{
        max-width: 800px;
        padding: 40px;
        align-self: center;
        background: white;
        align-items: flex-start;
        gap: 40px;
    }
}
.section_text_asset{
    &.type_1{
        flex: 1;
        height: 1px;
        background: var(--sub4);
    }
}
.text_row{
    &.type_1{
        align-items: flex-start;
    }
}
.section_text{
    &.type_1{
        font-size: 1.6rem;
        font-weight: 500;
        &.for_label{
            color: var(--back);
        }
    }
    &.type_2{
        font-size: 4.8rem;
        color: var(--sub4);
    }
    &.type_3{
        font-size: 2rem;
    }
    &.type_4{
        font-size: 2rem;
        color: var(--main);
        font-weight: bold;
    }
    &.type_5{
        font-size: 3.2rem;
        span{
            font-size: 1.6rem;
        }
    }
    &.for_bottom{
        z-index: 1;
        font-size: 1.4rem;
        font-weight: 600;
    }
}

.section_bottom_text_box{
    align-self: center;
    padding: 40px;
    border: 2px dashed var(--main);
    &::before{
        content: "";
        position: absolute;
        inset: 5px;
        background: white;
    }
}
.section.for_message{
    background: linear-gradient(to top, var(--sub3) 50%, transparent 50%);
}
.section_content_title.type_2{
    color: var(--main);
}
@media all and (max-width:1280px){
    .content_title{
        font-size: 1.8rem;
    }
    .section_text{
        &.type_2{
            font-size: 4.2rem;
        }
    }
}
@media all and (max-width:960px){
    .section_content_container.container_2{
        flex-wrap: wrap;
        gap: 20px;
    }
    .pageinside_anchor{
        flex-basis: 240px;
    }
    .section_content_column{
        &.type_1, &.type_2{
            gap: 10px;
        }
        &.type_1{
            grid-template-columns: repeat(3, 1fr);
        }
        &.type_2{
            padding: 0 40px;
        }
    }
    .section_text_box{
        &.type_1{
            padding: 40px 20px;
        }
    }
    .section_text{
        &.type_1{
            font-size: 1.4rem;
        }
        &.type_2{
            font-size: 3.6rem;
        }
        &.type_5{
            font-size: 2.8rem;
            span{
                font-size: 1.4rem;
            }
        }
    }
    .section_content_title_box{
        &.type_1{
            padding: 20px 10px;
        }
    }
    .content_title{
        font-size: 1.8rem;
    }
    .section_content_box{
        &.type_1{
            gap: 5px;
        }
    }
}

@media all and (max-width:768px){
    .section_content_column{
        &.type_1{
            grid-template-columns: repeat(2, 1fr);
        }
    }
    .section_content_box{
        &.type_1{
            gap: 5px;
        }
    }
    .content_title{
        font-size: 2rem;
    }
    .section_text{
        &.type_4{
            font-weight: 500;
        }
    }
    .section_text_box{
        &.type_6{
            gap: 20px;
        }
    }
}

@media all and (max-width:450px){
    .pageinside_anchor{
        flex-basis: 150px;
    }
    .pageinside_anchor_text{
        font-size: 1.2rem;
    }
    .pageinside_anchor_image{
        height: 20px;
    }
    .pageinside_anchor_image.image_1{
        top: -10px;
        left: -15px;
    }
    .pageinside_anchor_image.image_2{
        bottom: -10px;
        right: -15px;
    }
    .section_content_container{
        &.container_1{
            gap: 20px;
        }
    }
    .section_content_column{
        &.type_1, &.type_2{
            grid-template-columns: 1fr;
        }
        &.type_2{
            gap: 0;
        }
        &.type_3{
            padding: 0 40px;
        }
    }
    .content_title{
        font-size: 1.8rem;
    }
    .section_text{
        &.type_2{
            font-size: 3.2rem;
            span{
                font-size: 1.6rem;
            }
        }
        &.type_5{
            font-size: 2.4rem;
        }
    }
}
@media (any-hover: hover){
    .pageinside_anchor::before,.pageinside_anchor:after{
        transition: background ease 0.15s;
    }
    .pageinside_anchor_text{
        transition: color ease 0.15s;
        transition-delay: 0.1s;
    }
    .pageinside_anchor_image{
        transition: all ease 0.25s;
        pointer-events: none;
    }
    .pageinside_anchor_image.image_1{
        opacity: 0;
        transform: translateX(-20px);
    }
    .pageinside_anchor_image.image_2{
        opacity: 0;
        transform: translateX(20px);
    }
    .pageinside_anchor:hover::before{
        background: var(--main);
    }
    .pageinside_anchor:hover::after{
        background: white;
    }
    .pageinside_anchor:hover .pageinside_anchor_text{
        color: white;
    }
    .pageinside_anchor:hover .pageinside_anchor_image{
        opacity: 1;
        transform: translateX(0px);
    }
}
