@charset "utf-8";

.l-footer {
    background-color: inherit;
    padding: 0 0 0;
    position: relative;
    background: #fff;
}

.l-footer *,
.float__wrap * {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    box-sizing: border-box;
    color: inherit;
}

.l-footer a,
.float__wrap a {
    transition: .2s;
}

.l-footer a:hover,
.float__wrap a:hover {
    opacity: 1;
    transition: .2s;
}

.footer__inner {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding-block: 37px 15px;
}

.footer__info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
    width: 1140px;
    margin: 0 auto;
}

.footer__company {
    width: 364px;
}

.footer__name {
    margin: 0 0 21px;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.385;
    color: #e31d1d;
    display: block;
}

.footer__address {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.688;
    color: #000;
    overflow-wrap: break-word;
    word-break: break-all;
}

.footer__nav {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 1px 0 0;
}

.footer__nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__nav-item {
    margin-bottom: 22px;
}

.footer__nav-item:last-child {
    margin-bottom: 0;
}

.footer__nav-item a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    display: block;
}

.footer__nav-item a:hover {
    color: #e3401d;
}

.footer__copyright {
    margin: 80px 0 0;
    padding-top: 15px;
    border-top: 1px solid #cfd8dc;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: #000;
    text-align: center;
}

.float__wrap {
    position: fixed;
    right: 0;
    top: 54%;
    z-index: 2;
    transform: translateY(-50%);
}

.l-wrapper:has(.map__section) .float__wrap {
    display: none;
}

.float__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.float__item a,
.float__item--tel .float__tel-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 82px;
    height: 103px;
    padding: 15px 9px 15px 0;
    border-radius: 10px 0 0 10px;
    text-decoration: none;
    transform: translateX(10px);
}

.float__item a:hover {
    transform: translateX(0);
}

.float__item--tel {
    position: relative;
}

.float__item--tel .float__tel-btn {
    cursor: default;
}

.float__tel-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: absolute;
    top: 55%;
    right: calc(100% + -3px);
    z-index: 1;
    width: 399px;
    height: 123px;
    padding: 30px 55px 30px 40px;
    background: url(/images/top/bg_tel-f.webp) no-repeat center / 399px 123px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .2s, visibility 0s linear .2s;
}

.float__tel-popup:before {
    content: "";
    position: absolute;
    top: 0;
    right: -36px;
    width: 36px;
    height: 100%;
}

.float__item--tel:hover .float__tel-popup {
    visibility: visible;
    opacity: 1;
    transition: opacity .2s, visibility 0s;
}

.float__item--tel .float__tel-popup .header__tel-caption {
    color: #333;
}

.float__item--tel .float__tel-popup .header__tel-number {
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    color: #e31d1d;
    position: relative;
    bottom: 2px;
}

.float__item--tel .float__tel-popup img {
    width: 37px;
    height: 37px;
}

.float__item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.float__item span {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-align: center;
}

.float__item--plan a {
    background-color: #ff6a00;
    color: #fff;
}

.float__item--assessment a {
    background-color: #ffd900;
    color: #e31d1d;
}

.float__item--tel .float__tel-btn {
    background-color: #ffefef;
    color: #e31d1d;
}

.float__item--mail a {
    background-color: #E31D1D;
    color: #fff;
}

.float__item--line a {
    background-color: #06c755;
    color: #fff;
}