@charset "UTF-8";

/* 
-------------------------------------
Variables & Custom Properties:
-------------------------------------
*/
:root {
    --site-width: min(96%, 1400px);
    --site-padding-inline: 3rem;
    --blue-primary: #0053A6;
    --blue-secondary: #e9f8ff;
    --gradient-primary: linear-gradient(to left, #dfe9f3 0%, white 100%);
    --radius-s: 4px;
}

:where(html) {
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
}

a {
    color: #29a7e1;
    text-decoration: none;
}

/* 
-------------------------------------
Fonts: 
-------------------------------------
*/

/* 
-------------------------------------
Typography:
-------------------------------------
*/


.page-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 50px;
}

/* 
-------------------------------------
Layouts & Grids:
-------------------------------------
*/

.l-header {
    padding: 20px;
    border-bottom: solid 2px;
    background-color: #fff;
}

.l-hero {
    width: 100%;
    margin: 0 auto 100px;
}

.l-bread-crumbs {
    width: 100%;
    font-size: 11px;
    padding: 10px 0;
    margin: 0 auto;
    background-image: var(--gradient-primary);
}

.bread-crumbs--wrapper {
    width: var(--site-width);
    margin: 0 auto;
}

.l-section__site-width {
    width: var(--site-width);
    margin: 0 auto;
}

.l-section__title {
    margin-bottom: 50px;
}

/* 
-------------------------------------
Components/Modules:
-------------------------------------
*/

.c-button--wrapper {
    display: flex;
}

.c-button {
    display: block;
    width: 300px;
    max-width: 100%;
    color: #fff;
    text-align: center;
    padding: 10px;
    background-color: var(--blue-primary);
    border-radius: 100vw;
    transition: all .3s;
}

.c-button--hp {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    max-width: 200px;
    color: #fff;
    padding: 3px 10px;
    background-color: #bda16e;
    text-align: center;
    border-radius: var(--radius-s);
    transition: all .3s;
}

.c-button.c-button--card {
    width: 170px;
    background-image: linear-gradient(-60deg, #ff5858 0%, #f09819 100%);
}

.c-button.c-button--back {
    padding: 10px;
    margin-inline: auto;
    background-color: #555;
}

.c-button.c-button--regist {
    background-color: #8bc34a;
}

.c-button.c-button--login {
    background-color: #ff903f;
}

.has-arrow {
    position: relative;
}

.has-arrow:before {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    display: block;
    width: 8px;
    height: 8px;
    border-top: solid 2px;
    border-right: solid 2px;
    transform: translateY(-50%) rotate(45deg);
}

.day-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 20px 2%;
}

.day-buttons .c-button--navi {
    width: 48%;
    max-width: 100%;
    font-size: 18px;
    padding: 25px;
    border-radius: 4px;
}

.day-buttons .c-button--navi.has-arrow:before {
    right: 10px;
    width: 12px;
    height: 12px;
    border-top: solid 3px;
    border-right: solid 3px;
    transform: translateY(-50%) rotate(135deg);
}

.c-button--back.has-arrow:before {
    left: 15px;
    right: auto;
    transform: translateY(-50%) rotate(225deg);
}

.public-day-label {
    color: #fff !important;
    letter-spacing: 1px;
    padding: 0 20px;
    background-color: #0053a6;
    margin-right: 20px;
    border-radius: 3px;
}

.public-sanka-day .bm-day {
    margin-right: 20px;
}

/*--------------Page------------*/

.buyer-match .public-day-heading {
    font-size: 24px;
    /* padding: 30px 20px; */
    margin-bottom: 40px;
    /* background-image: url(https://kyoshin-business-assist.jp/spiral-app/images/buyer-info-background.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100%;
    border-radius: 4px; */
}

.buyer-match .section-flow {
    padding-block: 100px 50px;
    background-color: #f7f7f7;
    margin-bottom: 50px;
}

.buyer-match .section-heading {
    font-size: 32px;
    padding-left: 30px;
    margin-bottom: 50px;
    border-left: 5px solid var(--blue-primary);
}

.buyer-match .flow-box {
    background-color: #fff;
}

.buyer-match .notes-heading {
    background-color: #fff;
}

.buyer-match .section-cta .c-button--wrapper {
    justify-content: center;
    gap: 3%;
    margin-bottom: 50px;
}

.buyer-match .section-cta .c-button {
    padding: 20px;
}

/*--------------List------------*/

.c-buyer-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto 100px;
}

.c-buyer-list__card {
    position: relative;
    width: calc((100% - 30px) / 2);
    padding: 10px;
    background-image: url(https://kyoshin-business-assist.jp/spiral-app/images/card-background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--radius-s);
    box-shadow: 0 0 6px rgb(211 168 46 / 40%);
}

.c-buyer-list__row--top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
    background-image: url(https://kyoshin-business-assist.jp/spiral-app/images/card-name-background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--radius-s);
}

.c-buyer-list__row--bottom {
    display: block;
    width: 100%;
    padding-inline: 10px;
    border-radius: var(--radius-s);
}

.c-buyer-list__row .column-logo {
    width: 30%;
    padding: 10px;
}

.c-buyer-list__row .column-information {
    width: 68%;
    padding: 10px;
}

.c-button--hp .svg--icon {
    width: 20px;
    margin-left: 5px;
}

.c-button--hp .svg--icon path {
    fill: #fff;
}

.c-buyer-list__card .column-heading {
    position: relative;
    border-bottom: solid 2px #ffffff;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.c-buyer-list__card .column-heading:before {
    content: "";
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: #0053a6;
    z-index: 10;
}

.c-buyer-list__row .column-logo .buyer-logo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: solid 1px #eee;
    background-color: #fff;
}

.c-buyer-list__row .buyer-name {
    font-size: 20px;
    margin-bottom: 20px;
}

.c-buyer-list__row .buyer-desired {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-buyer-list__row .buyer-desired li {
    font-size: 14px;
    font-weight: 700;
    padding: 3px 10px;
    background-color: #fff;
    border-radius: 3px;
}

.c-buyer-list__row .desired-item.food-group {
    background-color: #8fdb93;
}

.c-buyer-list__row .desired-item.drink-group {
    background-color: #90c6f7;
}

.c-buyer-list__row .desired-item.goods-group {
    background-color: #d9ab92;
}

/*--------------Single------------*/

.p-buyer-single {
    background-image: url(https://kyoshin-business-assist.jp/spiral-app/images/card-name-background.jpg);
}

.svg--icon {
    width: 20px;
}

.svg--icon path {
    fill: rgb(41 167 225);
    transition: all .3s;
}

.svg--icon.svg--icon__external {
    margin-left: 10px;
}

.p-buyer-single .l-title-bar.l-title-bar--single {
    position: relative;
    width: 100%;
    padding-top: 50px;
}

.p-buyer-single .background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-color: var(--blue-primary);
    z-index: -1;
}

.p-buyer-single .l-title-bar__contents {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: var(--site-width);
    padding: 20px;
    margin: 0 auto 50px;
    gap: 5%;
    background-image: url(https://kyoshin-business-assist.jp/spiral-app/images/buyer-info-background.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 100%;
    border-radius: 4px;
}

.p-buyer-single .l-title-bar__image {
    width: 30%;
}

.p-buyer-single .l-title-bar__title {
    width: 65%;
}

.p-buyer-single .single-title {
    color: var(--blue-primary);
    font-size: 24px;
}

.p-buyer-single .single-title__sub {
    letter-spacing: 2px;
}

.p-buyer-single .l-contents {
    width: var(--site-width);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto 50px;
}

.p-buyer-single .l-aside {
    width: 25%;
    padding: 0 50px 0 30px;
}

.p-buyer-single .l-page--bottom {
    width: var(--site-width);
    margin: 0 auto 100px;
}

.l-aside .page-navigation li {
    position: relative;
}

.p-buyer-single .heading-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    font-weight: 700;
    margin-right: 20px;
    background-color: var(--blue-primary);
    border-radius: 4px;
}

.p-buyer-single .l-aside .heading-number {
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.p-buyer-single .l-aside .page-link {
    display: block;
    width: 100%;
    color: var(--blue-primary);
    padding: 20px 20px 20px 30px;
    margin-bottom: 30px;
    border-radius: 4px;
    background-image: var(--gradient-primary);
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
}

.p-buyer-single .l-main {
    width: 74%;
    padding: 0 0 0 50px;
    border-left: solid 1px #eee;
}

.p-buyer-single .c-information__heading {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
}

.p-buyer-single .c-information__heading:after {
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    position: absolute;
    bottom: 2px;
    left: 0;
    background-image: var(--gradient-primary);
    z-index: -1;
}

.p-buyer-single .c-information__homepage {
    display: flex;
    align-items: baseline;
    padding-inline: 30px 0;
}

.p-buyer-single .c-information__homepage .hp-link {
    display: inline-flex;
    align-items: center;
    word-break: break-all;
}

.p-buyer-single .c-information__homepage .svg--icon.svg--icon__external {
    flex-shrink: 0;
}

.c-information__homepage .hp-link:hover .svg--icon path {
    fill: var(--blue);
}

.c-information__homepage .label {
    flex-shrink: 0;
    min-width: 50px;
    color: #fff;
    font-weight: 700;
    padding: 5px 20px;
    margin-right: 10px;
    background-color: #bda16e;
    border-radius: 3px;
}

.p-buyer-single .c-information__heading .heading-text {
    flex-shrink: 0;
    color: var(--blue-primary);
    font-size: 20px;
}

.p-buyer-single .c-information__row {
    margin-bottom: 80px;
}

.p-buyer-single .c-information__row--top {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.c-information__row--top .buyer-logo {
    flex-shrink: 0;
    width: 200px;
    padding: 5px;
    border: solid #eee 2px;
    background-color: #fff;
}

.c-information__row--top .buyer-name-wrapper {
    width: calc(100% - 200px);
}

.c-information__row--top .buyer-name {
    font-size: 24px;
    padding: 30px;
    margin-block: 20px;
    background-image: url(https://kyoshin-business-assist.jp/spiral-app/images/card-background.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: 0 var(--radius-s) var(--radius-s) 0;
}

.buyer-desired {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.buyer-desired .desired-item {
    font-size: 14px;
    font-weight: 700;
    padding: 3px 10px;
    background-color: #ededed;
    border-radius: 3px;
}

.buyer-desired .desired-item.food-group {
    background-color: #8fdb93;
}

.buyer-desired .desired-item.drink-group {
    background-color: #90c6f7;
}

.buyer-desired .desired-item.goods-group {
    background-color: #d9ab92;
}

/* 
-------------------------------------
States:
-------------------------------------
*/

.c-button:hover,
.c-button--hp:hover {
    color: #fff;
    opacity: .7;
}

/* 
-------------------------------------
Media Queries:
-------------------------------------
*/
/* PC Over */
/* PC Under */
@media screen and (max-width: 1023px) {
    :root {
        --site-width: 96%;
    }

    .mobile-hide {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .c-buyer-list__row .column-information {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        margin-inline: auto;
    }

    .p-buyer-single .l-title-bar__image {
        width: 40%;
    }

    .p-buyer-single .l-title-bar__title {
        width: 55%;
    }

    .p-buyer-single .l-aside {
        display: none;
        /* width: var(--site-width);
        padding: 0;
        margin-inline: auto; */
    }

    .p-buyer-single .l-main {
        width: 100%;
        padding: 0;
        border-left: none;
    }

    .c-button--hp {
        font-size: 12px;
    }

    .c-button--hp .svg--icon {
        width: 14px;
    }

    .c-buyer-list__row .buyer-name {
        font-size: 14px;
    }

    .c-button.c-button--card {
        font-size: 12px;
    }

    /* .p-buyer-single .l-aside .page-navigation {
        display: flex;
        flex-wrap: wrap;
        gap: 20px 40px;
    }

    .l-aside .page-navigation li {
        flex-grow: 2;
        width: 30%;
    }

    .p-buyer-single .l-aside .page-link {
        padding: 10px 20px;
        margin-bottom: 0;
    } */

}

/* タブレット */
@media only screen and (min-width: 767px)and (max-width: 1023px) {
    .c-buyer-list__row--top {
        display: block;
    }

    .c-buyer-list__row .column-logo {
        width: 100%;
        padding: 10px;
        margin-inline: auto;
    }

    .c-buyer-list__row .column-logo .buyer-logo {
        aspect-ratio: 16 / 6;
    }

    .c-buyer-list__row .column-information {
        width: 100%;
    }

}

/* SP */
@media screen and (max-width: 767px) {
    .l-hero {
        margin: 0 auto 50px;
    }

    .day-buttons {
        flex-wrap: wrap;
    }

    .day-buttons .c-button--navi {
        width: 100%;
    }

    .buyer-match .section-heading {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .c-buyer-list__card {
        width: 100%;
    }

    .c-buyer-list__row .column-logo {
        width: 40%;
        padding: 5px;
    }

    .c-buyer-list__row .buyer-desired li {
        font-size: 11px;
        padding: 3px 5px;
    }

    .buyer-match .section-flow {
        padding-block: 50px;
        margin-bottom: 50px;
    }

    .syodan-single .form-table {
        width: 100%;
    }

    .p-buyer-single .single-title {
        font-size: 18px;
    }

    .p-buyer-single .l-title-bar__contents {
        flex-direction: column;
        margin: 0 auto 20px;
    }

    .p-buyer-single .l-title-bar__image {
        width: 100%;
        margin-bottom: 20px;
    }

    .p-buyer-single .l-title-bar__title {
        width: 100%;
        text-align: center;
    }

    /* .p-buyer-single .c-information__row--top {
        flex-wrap: wrap;
    } */

    .p-buyer-single .c-information__row {
        margin-bottom: 50px;
    }

    .c-information__row--top .buyer-logo {
        width: 25%;
        padding: 0;
    }

    .c-information__row--top .buyer-name-wrapper {
        width: 75%;
        padding-left: 10px;
    }

    .c-information__row--top .buyer-name {
        width: 100%;
        font-size: 14px;
        padding: 10px;
        margin-block: 10px;
    }

    .c-information__homepage .label {
        font-size: 11px;
        padding: 5px;
        margin-right: 5px;
    }

    .p-buyer-single .c-information__homepage {
        padding-inline: 0;
    }

    .buyer-match .section-cta .c-button--wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .buyer-match .section-cta .c-button {
        padding: 10px 20px;
    }

    .p-buyer-single .c-information__homepage .hp-link {
        font-size: 12px;
        line-height: 1.4;
    }

    .p-buyer-single .c-information__homepage .svg--icon.svg--icon__external {
        width: 14px;
        margin-left: 5px;
    }

    .p-buyer-single .c-information__heading .public-day-label {
        width: 100px;
        flex-shrink: 0;
        font-size: 18px;
    }

    .p-buyer-single .public-sanka-day .bm-day {
        margin-right: 10px;
    }

}

/* 
-------------------------------------
Utilities/Helpers:
-------------------------------------
*/
.mobile-hide {
    display: block;
}

.mobile-only {
    display: none;
}

.red {
    color: var(--red);
}

.mg-b0 {
    margin-bottom: 0;
}

.mg-b1 {
    margin-bottom: 1rem;
}

.mg-b2 {
    margin-bottom: 2rem;
}

.mg-b3 {
    margin-bottom: 3rem;
}

.mg-b5 {
    margin-bottom: 5rem;
}

.bold {
    font-weight: 700;
}

.sup {
    font-size: 35%;
    vertical-align: top;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.underline {
    text-decoration: underline;
}

.flex-container {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-space-between {
    justify-content: space-between;
}

.flex-align-center {
    align-items: center;
}

.no-shrink {
    flex-shrink: 0;
}
