@charset "UTF-8";

/* 背景画像 */
.wrapper {
    background: url(../img/works_bg.png) no-repeat 50% 400px;
    /* background-size: 2880px auto ; */
}

main {
    padding: 0 20px 20px;
}

/* .top-img-type-a > img {
    background: url(../img/message_fig1.png) no-repeat center top, url(../img/message_bg.png) no-repeat center top;
    background-size: auto auto, auto auto;
} */

.svg {
    margin-bottom: 50px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.svg svg {
    width: 100%;
    /* height: fit-content; */
}

.flex-columns.sales {
    justify-content: space-between;
}

.flex-columns.sales > p {
    /* width: 620px; */
    padding-right: 40px;
}

/* 空き */
.sales-blank {
    margin: 60px 0 70px;
}

/* 人物リンク */
.flex-columns.links {
    width: 490px;
    margin: auto;
    justify-content: center;
    margin-bottom: 30px;
}

.links div {
    text-align: center;
    line-height: 1.5;
}
.links a {
    color: #333333;
    text-decoration: none;
    display: block;
}
.links a:hover {
    color: blue;
    text-decoration: underline;
}
.links span {
    display: inline-block;
    font-size: 1.5em;
    font-weight: bold;
}

/* 追加項目 */
.card-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.card {
    position: absolute;
    background: #fff;
    width: 35rem;
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1.5rem;
    border: 3px solid #f36251;
    border-radius: 0.5rem;
    /* margin-top: -19rem; */
    align-items: center;
    top: 41%;
    /*  */
    opacity: 0;
    /* display: none; */
    /*  */
    transition: all 200ms 0s ease;
}

.card img {
    display: block;
}

.card p {
    margin: 0;
}

.card > * {
    height: fit-content;
}

.clickable {
    fill: transparent;
    cursor: pointer;
}

.card_content > .indent {
    display: inline-block;
    padding-left: 1em;
    text-indent: -1em;
    line-height: 1.4;
}

/* アイコンカラー */
.icon_color {
    filter: brightness(0) saturate(100%) invert(27%) sepia(93%) saturate(2988%) hue-rotate(7deg) brightness(108%) contrast(104%);
}

/** --------------------------------
* タブレット
*/

.tablet main {
    padding: 0 20px 20px;
}


.tablet .svg {
    padding-bottom: 20px;
}

/* .tablet .svg svg {
    width: 100%;
    height: fit-content;
} */

.tablet .flex-columns.links {
    margin-bottom: 30px;
}

.tablet .card-container {
    display: none;
}

.tablet .clickable {
    display: none;
}

/** --------------------------------
* sp
*/
@media screen and (max-width: 767px) {
    /* html {
        width: 375px;
        height: inherit;
        min-height: 100%;
    } */

    /* .wrapper {
        width: 100%;
        border: 1px solid red;
    } */

    /* 背景画像 */
    /* .wrapper.message {
        background: url(../../img/bg.png) repeat-y 50% 6em;
        background-size: 300% auto;
    } */

    .top-img-type-a > img {
        background-size: auto 100%, 100% 100%;
    }

    .svg {
        margin-bottom: 0;
    }

    .svg > svg {
        width: 100%;
        height: inherit;
    }

    .clickable {
        display: none;
    }

    .flex-columns {
        margin-bottom: 50px;
    }

    .flex-columns.sales {
        flex-direction: column;
    }
    
    .flex-columns.sales > p {
        width: 100%;
        padding-right: 0;
    }

    .flex-columns.sales > * > img {
        width: 100%;
    }

    /* 空き */
    .sales-blank {
        margin: 30px 0 0;
    }


    /* 人物リンク */
    .flex-columns.links {
        width: 100%;
        flex-direction: column;
    }

    .flex-columns.links > * {
        margin-bottom: 25px;
    }

    .flex-columns.links > * > * {
        text-align: center;
    }

    /*  */
    .card-container {
        display: none;
    }
}


