@charset "UTF-8";

/* button */
.btn {
    width: min(var(--content),280px);
    margin: 0 auto;
}
.btn.left {
    margin: 0 auto 0 0;
}
.btn a{
    background: #fff;
    color: #333;
    border-radius: 2px;
    display: flex;
    text-decoration: none;
    padding: 1rem;
    gap: 1em;
    align-items: center;
}
.btn.border a{
    border: solid 1px currentColor;
}
.btn.center a {
    justify-content: center;
}

.btn a span.txt{
    flex-grow: 1;
    text-align: center;
}
.btn.left a span.txt{
    text-align: left;
}

.btn a img{
    flex-shrink: 0;
}
.btn a:hover{
    background: #dddddd;
}
.btn a:hover .icon{
    transform: translateX(2px);
}
.btn a:hover .icon.back{
    transform: translateX(-2px);
}
.btn a:hover .icon.scale{
    transform: scale(1.1);
}

.txtlink a{
    display: flex;
    text-decoration: none;
    gap: 1em;
    align-items: center;
    justify-content: end;
}
.txtlink a:hover .icon{
    transform: translateX(2px);
}

/* title */
.ttl_border{
    font-size: var(--f42px);
    position: relative;
}
.ttl_border::before{
    content: "";
    display: block;
    width: calc(var(--side) / 2);
    height: 1px;
    background: currentColor;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(calc(0% - 100% - 0.25em) ,-50%);
}
@media (max-width:1024px) {
    .ttl_border{
        display: flex;
        flex-direction: column;
        gap: 1em;
    }
    .ttl_border::before{
        width: 50px;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        order: 1;
        margin-bottom: 1em;
    }
}

.ttl_slash {
    font-size: var(--f32px);
    display: flex;
    gap: 5px;
    align-items: center;
}
.ttl_slash::before {
    content: "";
    display: inline-block;
    width: 1em;
    aspect-ratio: 2/3;
    background: url("../images/common/icon_slash_big.svg") no-repeat center center;
}