/* ============================================
   共通フッタースタイル（全ページで読み込み）
   各ページのCSSより後に読み込むこと
   ============================================ */

.footer {
    background: #1E1E1E;
    padding: 56px 100px 5px 100px;
}

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

.footer-contact {
    width: 300px;
}

.phone-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.phone-section i {
    width: 17px;
    height: 23px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.phone-number {
    font-size: 30px !important;
    font-weight: 500;
    color: #ffffff;
    line-height: 50px;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    -moz-text-decoration: none !important;
    -ms-text-decoration: none !important;
    -o-text-decoration: none !important;
}

.phone-text {
    color: #ffffff !important;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    -moz-text-decoration: none !important;
    -ms-text-decoration: none !important;
    -o-text-decoration: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    font-size: 30px !important;
}

.hours-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    align-items: start;
    gap: 8px;
}

.hours-label {
    width: 80px;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.hours-time {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.footer-logo {
    width: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-logo-image {
    width: 10rem;
    height: auto;
    padding-top: 5%;
}

.footer-line {
    width: 140px;
    height: 3px;
    background: #40ACFF;
}

.footer-title {
    font-size: 36px;
    font-family: 'yu-mincho-regular', serif;
    font-weight: 800;
    color: #ffffff;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 69px;
    width: 300px;
}

.nav-column {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-item:hover span {
    color: #fff;
}

.nav-item a {
    text-decoration: none;
    color: #fff;
}

.nav-item span {
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    width: 60px;
}

.footer-copyright {
    font-size: 10px;
}

@media (max-width: 768px) {
    .phone-number img.phone-icon {
            height: 18px !important;
        }

    .footer-content {
            grid-template-columns: 1fr;
            text-align: center;
        }

    .footer-nav ul {
            text-align: center;
        }

    .footer {
            padding: 40px 20px;
        }

    .footer {
            padding: 40px 20px;
        }

    .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            text-align: center;
        }

    .footer-contact {
            width: 100%;
            max-width: 300px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

    .phone-section {
            justify-content: center;
            margin-bottom: 20px;
        }

    .phone-number {
            font-size: 24px !important;
            text-decoration: none;
        }

    .phone-text {
            font-size: 24px !important;
        }

    .hours-section {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

    .hours-row {
            justify-content: start;
            gap: 10px;
        }

    .hours-label {
            width: auto;
            min-width: 80px;
        }

    .footer-logo {
            width: 100%;
            max-width: 251px;
        }

    .footer-nav {
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 100%;
            max-width: 400px;
        }

    .nav-column {
            display: flex;
            flex-direction: row;
            justify-content: center;
            gap: 30px;
        }

    .nav-item {
            text-align: center;
            min-width: 80px;
            padding: 8px 12px;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

    .nav-item:hover {
            background: rgba(255, 255, 255, 0.1);
        }

    .nav-item a {
            display: flex;
            align-items: center;
            gap: 8px;
            justify-content: center;
            white-space: nowrap;
        }
}

@media (max-width: 1200px) {
    .footer-content {
            flex-direction: column;
            gap: 40px;
            align-items: center;
        }

    .footer-nav {
            gap: 20px;
        }

    .nav-column {
            gap: 15px;
        }

    .nav-item {
            min-width: 65px;
            padding: 7px 8px;
        }

    .nav-item a {
            font-size: 14px;
            gap: 6px;
        }
}

@media (max-width: 480px) {
    .footer-nav {
            flex-direction: column;
            gap: 20px;
        }

    .footer {
            padding: 30px 15px;
        }

    .phone-number {
            font-size: 20px;
        }

    .hours-label,
        .hours-time {
            font-size: 16px;
            text-align: left;
        }

    .footer-nav {
            flex-direction: column;
            gap: 0px;
        }

    .nav-column {
            flex-direction: row;
            justify-content: center;
            gap: 15px;
        }

    .nav-item {
            padding: 10px 8px;
            min-width: 70px;
        }

    .nav-item a {
            font-size: 14px;
            gap: 6px;
        }
}

@media (max-width: 1400px) {
    .footer-nav {
            gap: 25px;
        }

    .nav-column {
            gap: 20px;
        }

    .nav-item {
            min-width: 70px;
            padding: 8px 10px;
        }

    .nav-item a {
            font-size: 15px;
            gap: 8px;
        }
}

@media (max-width: 1024px) {
    .footer {
            padding: 50px 30px;
        }

    .footer-content {
            gap: 40px;
        }

    .footer-nav {
            gap: 15px;
        }

    .nav-column {
            gap: 12px;
        }

    .nav-item {
            min-width: 60px;
            padding: 6px 8px;
        }

    .nav-item a {
            font-size: 13px;
            gap: 5px;
        }
}

@media (max-width: 900px) {
    .footer {
            padding: 45px 25px;
        }

    .footer-content {
            gap: 35px;
        }

    .footer-nav {
            gap: 12px;
        }

    .nav-column {
            gap: 10px;
        }

    .nav-item {
            min-width: 55px;
            padding: 5px 6px;
        }

    .nav-item a {
            font-size: 12px;
            gap: 4px;
        }
}

@media (max-width: 600px) {
    .footer {
            padding: 35px 15px;
        }

    .footer-content {
            gap: 20px;
        }

    .footer-nav {
            gap: 0px;
        }

    .nav-column {
            gap: 20px;
        }

    .nav-item {
            min-width: 75px;
            padding: 7px 10px;
        }

    .nav-item a {
            font-size: 13px;
            gap: 6px;
        }
}

@media (max-width: 380px) {
    .nav-column {
            gap: 15px;
        }
}
