.flow-container p:empty,
.cost p:empty,
a.button-L p:empty {
    display: none !important;
}

h4.override {
    box-shadow: none;
}


/*ボタン大*/
a.button-L {
    text-decoration: none;
}

a.button-L .box {
    background-color: var(--color-main);
    color: #fff;
    border: none;
    border-radius: 8px;
    transition: .5s;
}

a.button-L .box.--personal {
    background-color: #edd75b;
    color: #333;
}
a.button-L:hover .box.--personal {
    background-color: #efe3a0;
    color: #333;
}

a.button-L .box.--corporate {
    background-color: #7eca7c;
    color: #333;
}
a.button-L:hover .box.--corporate {
    background-color: #c4dfc3;
    color: #333;
}

/*フロー*/
/* 1. 横スクロールを可能にするコンテナ */
.flow-container {
    display: flex;
    padding: 20px 0;
    margin: 0;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.flow-container .flow-step-item:nth-child(n+2) {
    margin-top: 0;
}

.flow-step-item {
    flex-shrink: 0 !important;
    width: 200px !important;
    margin-right: 20px !important;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.flow-image,
.flow-content {
    align-self: center;
}

.flow-container::after {
    content: '';
    flex-shrink: 0;
    width: 1px;
}

@media (min-width: 768px) {
    .flow-container {
        overflow-x: hidden !important;
        width: 100%;
        justify-content: space-between;
        padding-right: 0 !important;
    }

    .flow-step-item {
        flex-grow: 1;
        flex-shrink: 1;
        width: auto;
        width: calc((100% - 50px) / 6) !important;
        margin-right: 10px !important;
        &:last-child {
            margin-right: 0 !important;
        }
    }
}

/*料金エリア*/
.cost {
    background-color: #ffeb7c;
    border-radius: 8px;
    text-align: center;
    padding: 30px;
}
.cost *:first-child {
    margin-top: 0;
    padding-top: 0;
}
.cost h2 {
    padding-bottom: 1em !important;
}
.cost .price {
    font-size: 1.5em;
    font-weight: bold;
}
h2 + .price {
    margin-top: 0 !important;
}
* + .note {
    margin-top: 0 !important;
}

.accent {
    border: 3px solid #fff;
    padding: 30px;
    border-radius: 8px;
}
.accent *:last-child {
    margin-bottom: 0;
}

/*table調整*/
@media (max-width: 1080px) {

    table.vertical-type,
    table.vertical-type tr,
    table.vertical-type th,
    table.vertical-type td {
        display: block;
        border: none;
        margin-top: 0;
    }
}

@media (max-width: 1080px) {

    table.vertical-type table,
    table.vertical-type table tr,
    table.vertical-type table th,
    table.vertical-type table td {
        display: contents;
        border: solid 1px #ccc;
        margin-top: 0;
    }
}

@media (max-width: 1080px) {
    table.history tr,
    table.history th,
    table.history td,
    table.vertical-type tr,
    table.vertical-type th,
    table.vertical-type td {
        width: 100% !important;
    }
}

.mContact-btn {
    margin-top: 1em !important;
}

@media (min-width: 768px) {
    .mContact-btn {
        margin-top: 0 !important;
    }
}

.mTop-section {
    margin-top: clamp(30px, -2.72rem + 9.58vw, 60px) !important;
}