/* 配色　パープルメイン

:root {
    --primary-blue: #7B2D85;
    --light-blue: #9B59B6;
    --lighter-blue: #F3E5F5;
    --dark-blue: #5A1F60;
    --accent-blue: #DC143C;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #495057;
} */

/* 配色　ダークブルーメイン */
:root {
    --primary-blue: #1a3a5c;   /* メイン濃紺（紫→濃紺） */
    --light-blue:   #2e5f8a;   /* ミディアム紺 */
    --lighter-blue: #e8f0f8;   /* 淡い水色（薄紫→薄水色） */
    --dark-blue:    #0f2440;   /* 最暗濃紺 */
    --accent-blue:  #DC143C;  /* アクセント（→オレンジ系） */
    --white:        #ffffff;
    --light-gray:   #f8f9fa;
    --gray:         #6c757d;
    --dark-gray:    #495057;
}

/* Common Utility Classes */
.icon-circle,
.service-icon,
.vehicle-category-icon,
.emergency-card-icon,
.step-number,
.faq-q-icon,
.faq-a-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.brand-logo,
.hero-brand-logo {
    background: var(--white);
    padding: 0.5rem;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-logo:hover,
.hero-brand-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--dark-gray);
    line-height: 1.7;
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}

/* Focus Visibility for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.navbar-nav .nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

.navbar-nav .nav-link:focus {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
    color: var(--primary-blue) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

.navbar-toggler-icon {
    background-image: none;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon::before {
    content: '\f0c9';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

/* Offcanvas Menu */
.offcanvas {
    background: var(--primary-blue);
    color: var(--white);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-close {
    filter: invert(1);
}

.btn-close:focus {
    outline: 3px solid var(--white);
    outline-offset: 2px;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5);
}

.offcanvas-body .nav-link {
    color: var(--white) !important;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: padding-left 0.3s ease;
}

.offcanvas-body .nav-link:hover {
    padding-left: 1rem;
    background: rgba(255, 255, 255, 0.1);
}

.offcanvas-body .nav-link:focus {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

.offcanvas-section-title {
    color: var(--white) !important;
    font-weight: 700;
    padding: 1rem 0 0.5rem 0 !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    cursor: default;
}

.offcanvas-section-title:hover {
    padding-left: 0 !important;
    background: transparent !important;
}

.offcanvas-submenu {
    padding-left: 1.5rem !important;
    font-size: 0.95rem;
    opacity: 0.9;
}

.offcanvas-submenu:hover {
    padding-left: 2rem !important;
}

.contact-buttons {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-contact {
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-phone {
    background: var(--light-gray);
    color: var(--primary-blue);
}

.btn-phone:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-email {
    background: var(--accent-blue);
    color: var(--white);
}

.btn-email:hover {
    color: var(--white);
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.btn-instagram:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(188, 24, 136, 0.4);
}

.copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    height: auto;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-top: 100px;
    padding-bottom: 2rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/idetires_sample_img01.webp');
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    color: var(--white);
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-contacts {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 3;
}

.floating-btn {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInRight 1s ease 0.6s both;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.floating-phone {
    background: var(--white);
    color: var(--primary-blue);
}

.floating-email {
    background: var(--accent-blue);
    color: var(--white);
}

/* Hero Company Photo */
.hero-company-photo {
    margin-top: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.9s both;
}

.hero-company-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Brands Section */
.hero-brands {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 1.2s both;
    z-index: 2;
    margin-top: 1rem;
    border-radius: 8px;
}

.hero-brands-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-brands-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-brand-logo {
    height: 60px;
    overflow: hidden;
}

.hero-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hero Brands Mobile (outside hero, shown only on mobile) */
.hero-brands-mobile {
    display: none;
    padding: 1.5rem;
    background: var(--primary-blue);
}

.hero-brands-mobile .hero-brands-title {
    color: var(--white);
}

.hero-brands-mobile .hero-payment {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Hero Payment Section */
.hero-payment {
    margin-top: 0.8rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    animation: fadeInUp 1s ease 1.4s both;
    text-align: center;
}

.hero-payment-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.hero-payment-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.hero-payment-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    padding: 8rem 0 4rem 0;
    margin-top: 80px;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Main Content */
.main-content {
    padding-top: 5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(123, 45, 133, 0.3);
}

.service-card {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card .service-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card .service-content p {
    flex-grow: 1;
}

.service-btn {
    margin-top: 15px;
    padding: 10px 15px;
    /* background-color: #7B2D85; */
    background-color:#1a3a5c; 
    color: #fff;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.service-image {
    margin: -2rem -2rem 1.5rem -2rem;
}

.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--lighter-blue);
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-size: 2rem;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.price-table {
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.price-table.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.price-table .price-content {
    flex-grow: 1;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.price-row:last-child {
    border-bottom: none;
}

.price {
    font-weight: 600;
    color: var(--primary-blue);
}

.about-section {
    background: var(--light-gray);
}

.owner-message {
    background: var(--white);
    padding: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    line-height: 1.8;
}

.access-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.contact-methods .btn-contact {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
}

.map-container,
.streetview-container {
    overflow: hidden;
}

/* Service Section Specific Styles */
.emergency-service {
    background: var(--lighter-blue);
    border-left: 5px solid var(--primary-blue);
}

.emergency-icon {
    background: var(--primary-blue);
    color: var(--white);
}

/* Pricing Section Specific Styles */
.pricing-section {
    background: var(--light-gray);
}

.price-table-title {
    color: var(--primary-blue);
    font-weight: 600;
}

.price-inquiry-note {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* Slideshow Section Styles */
.slideshow-section {
    background: var(--light-gray);
    padding: 5rem 0;
}

.gallery-swiper {
    width: 100%;
    padding-bottom: 3rem;
    margin-top: 2rem;
}

.gallery-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    aspect-ratio: 16 / 9;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16 / 9;
}

.gallery-swiper .swiper-slide-active img {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.swiper-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    width: auto;
    max-width: 80%;
    z-index: 10;
}

.swiper-caption h5 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.swiper-caption p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--white);
}

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    background-color:#1a3a5c; 
    /* background-color: rgba(123, 45, 133, 0.8); */
    border-radius: 50%;
    color: var(--white);
}

.gallery-swiper .swiper-button-prev:after,
.gallery-swiper .swiper-button-next:after {
    font-size: 1.5rem;
}

.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
    background-color: var(--primary-blue);
}

.gallery-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid var(--primary-blue);
    opacity: 1;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: var(--primary-blue);
}

/* About Section Specific Styles */
.about-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.vehicle-category-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.vehicle-category-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    margin: 0 auto 1.5rem auto;
    color: var(--white);
    font-size: 3rem;
}

.vehicle-category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.vehicle-category-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.vehicle-category-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--dark-gray);
    text-align: left;
    margin-bottom: 1.5rem;
}

.vehicle-support-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.vehicle-support-list li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.vehicle-support-list i {
    color: var(--accent-blue);
    font-size: 1.1rem;
}

.staff-section {
    margin-top: 4rem;
}

.staff-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-blue);
}

.staff-card {
    padding: 3rem 2rem;
}

.staff-photo-wrapper {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.staff-photo {
    width: 100%;
    height: auto;
    display: block;
}

.staff-basic-info {
    text-align: center;
}

.staff-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.staff-position {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.staff-meta {
    background: var(--lighter-blue);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.staff-meta p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.staff-meta p:last-child {
    margin-bottom: 0;
}

.staff-meta i {
    color: var(--accent-blue);
}

.staff-message {
    background: var(--lighter-blue);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.staff-message-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.staff-message p {
    line-height: 1.9;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.staff-message-compact {
    background: var(--lighter-blue);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.staff-message-compact p {
    line-height: 1.8;
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.95rem;
}

.staff-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.staff-detail-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.staff-detail-item h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.staff-detail-item h6 i {
    color: var(--accent-blue);
}

.staff-detail-item p {
    font-size: 0.95rem;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.7;
}

.feature-card-title {
    color: var(--primary-blue);
}

/* Access Section Specific Styles */
.access-title {
    color: var(--primary-blue);
}

.access-col {
    display: flex;
    flex-direction: column;
}

.access-img-wrap {
    height: 340px;
    overflow: hidden;
}

.access-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.access-transport-icon {
    background: var(--lighter-blue);
    color: var(--primary-blue);
    margin: 0 auto 1rem auto;
}

.access-transport-title {
    color: var(--primary-blue);
}

/* Social Links Styles */
.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.instagram-link {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

.instagram-link:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(188, 24, 136, 0.4);
}

.instagram-link i {
    font-size: 1.5rem;
}

/* Contact Section Specific Styles */
.contact-title {
    color: var(--primary-blue);
}

.contact-alert {
    background-color: var(--lighter-blue);
}

.emergency-section .contact-alert {
    background-color: var(--white);
    border: 2px solid var(--white);
    color: var(--dark-gray);
}

.emergency-section .contact-alert i {
    color: var(--accent-blue);
}

/* Emergency Price Cards */
.emergency-icon-large {
    font-size: 4rem;
    color: var(--white);
}

.emergency-subtitle {
    color: var(--white);
    font-weight: 700;
    font-size: 1.8rem;
}

.emergency-price-card {
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.emergency-price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.emergency-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
    margin: 0 auto 1.5rem auto;
}

.emergency-card-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.emergency-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.emergency-card-subtitle {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.emergency-card-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin: 1.5rem 0;
}

.emergency-card-note {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.emergency-price-card--free {
    border: 3px solid #f0a500;
    position: relative;
    overflow: hidden;
}

.emergency-free-badge {
    position: absolute;
    top: 14px;
    right: -28px;
    background: #f0a500;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 36px;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
}

.emergency-card-price--free {
    font-size: 1.4rem;
    color: var(--dark-gray);
}

.emergency-card-price--free span {
    font-size: 3rem;
    color: #e63900;
    font-weight: 900;
    display: inline-block;
    margin-left: 0.2rem;
    line-height: 1;
}

.contact-alert-title {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-alert-text {
    font-size: 0.95rem;
}

/* About Section Feature Cards Flexbox */
.feature-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-card .card-content p {
    flex-grow: 1;
    margin-bottom: 0;
}

/* Access Section Transport Cards Flexbox */
.transport-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem 0;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 2rem 0;
}

.footer-section {
    padding: 0 1rem;
}

.footer-description {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-contact:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.tire-brands {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.brand-logo {
    height: 60px;
    overflow: hidden;
    border-radius: 5px;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem 0;
}

.footer-copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-link:hover {
    color: var(--white);
    transform: translateX(5px);
}

.text-muted {
    color: white;
}

.custom-white {
    color: #ffffff !important;
}

/* News Section Styles */
.news-section {
    background: var(--light-gray);
}

.news-scroll-container {
    max-height: 400px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.news-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.news-scroll-container::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.news-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 4px;
}

.news-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--light-blue);
}

.news-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    transition: background-color 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: var(--lighter-blue);
}

.news-date {
    flex-shrink: 0;
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
    min-width: 100px;
}

.news-category {
    flex-shrink: 0;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 3px;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.news-category.category-info {
    background: var(--accent-blue);
    color: var(--white);
}

.news-category.category-event {
    background:#1a3a5c; 
    /* background: #7B2D85; */
    color: var(--white);
}

.news-category.category-important {
    background: #dc3545;
    color: var(--white);
}

.news-category.category-update {
    background: #DC143C;
    color: var(--white);
}

.news-content {
    flex-grow: 1;
}

.news-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.5;
}

.news-title a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        min-height: auto;
        padding: 80px 0 2rem;
    }

    /* ヒーロー本文テキスト：スマホでは非表示 */
    .hero-content .lead {
        display: none;
    }

    .hero-title {
        font-size: 2.0rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-contacts {
        bottom: 1rem;
        right: 1rem;
        flex-direction: row;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .hero-company-photo {
        margin-top: 2rem;
        border-radius: 5px;
    }

    .hero-brands {
        display: none;
    }

    .hero-brands-mobile {
        display: block;
    }

    .hero-brands-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .hero-brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .hero-brand-logo {
        padding: 0.5rem;
    }

    .hero-brand-logo {
        height: 65px;
        overflow: hidden;
    }

    .hero-payment {
        margin-top: 1.5rem;
        padding: 0.8rem 1rem;
    }

    .hero-payment-title {
        font-size: 0.95rem;
    }

    .hero-payment-item {
        font-size: 0.8rem;
        padding: 0.3rem 0.65rem;
    }

    /* ニュース：スマホ時は日付＋バッジを1行目、本文を2行目に */
    .news-item {
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }

    .news-content {
        width: 100%;
        flex-basis: 100%;
    }
}

/* PC時のハンバーガーメニューを表示、スマホ・タブレット時のメニューを非表示 */
/* @media (max-width: 991px) {
    .navbar-nav {
        display: none !important;
    }

    .navbar-toggler {
        display: block !important;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: block !important;
    }
} */

/* Tire Bring-in Section Styles */
.bring-in-card {
    background: var(--lighter-blue);
    border: 3px solid var(--primary-blue);
    padding: 3rem 2rem;
}

.bring-in-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.bring-in-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.bring-in-icons {
    margin-top: 2rem;
}

.bring-in-feature {
    display: block;
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.bring-in-feature:hover {
    transform: translateY(-5px);
}

.bring-in-feature i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.bring-in-feature p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
}

.bring-in-price-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 2.5rem;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.bring-in-price-btn:hover {
    background: var(--dark-blue);
    color: var(--white);
    /* transform: translateY(-3px); */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Purchase Flow Section Styles */
.flow-steps {
    background: var(--white);
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.flow-step {
    padding: 2rem;
    margin-bottom: 2rem;
    background: var(--light-gray);
    border-left: 5px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.flow-step:hover {
    background: var(--lighter-blue);
    /* transform: translateX(10px); */
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.step-note {
    font-size: 0.95rem;
    color: var(--gray);
    padding: 0.8rem 1rem;
    background: var(--white);
    border-radius: 5px;
    margin-top: 1rem;
}

.step-note i {
    color: var(--accent-blue);
    margin-right: 0.5rem;
}

.payment-methods {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.payment-methods i {
    font-size: 2rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}


.payment-methods i:hover {
    transform: scale(1.2);
}

.payment-methods i {
  font-size: 2rem; /* アイコンサイズ調整（任意） */
}

/* Emergency Section Styles */
.emergency-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
}

.emergency-section .section-title {
    color: var(--white);
}

.emergency-step {
    background: var(--white);
    border-left: 5px solid var(--accent-blue);
}

.emergency-step:hover {
    background: var(--lighter-blue);
}

.emergency-number {
    background: var(--accent-blue);
}

.emergency-phone-box {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--light-blue) 100%);
    border-radius: 10px;
    text-align: center;
}

.emergency-phone-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.emergency-phone-link:hover {
    color: var(--white);
    transform: scale(1.05);
}

.emergency-phone-link i {
    font-size: 2rem;
    animation: ring 1.5s ease-in-out infinite;
}

.phone-number {
    letter-spacing: 2px;
}

.emergency-checklist {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.emergency-checklist li {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--dark-gray);
}

.emergency-checklist i {
    /* color: #7B2D85; */
    color: #1a3a5c;
    font-size: 1.2rem;
    flex-shrink: 0;
}

@keyframes ring {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }
}

/* Service Area Section Styles */
.service-area-section {
    background: var(--light-gray);
}

.area-card {
    background: var(--white);
    padding: 0;
    margin-bottom: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.area-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
}

.area-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.area-title i {
    font-size: 2rem;
}

.area-content {
    padding: 2rem;
}

.area-description {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.area-table-container {
    overflow-x: auto;
}

.area-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
}

.area-table thead {
    background: var(--lighter-blue);
}

.area-table th {
    padding: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
    text-align: left;
}

.area-table tbody tr {
    border-bottom: 1px solid var(--light-gray);
    transition: background-color 0.3s ease;
}

.area-table tbody tr:hover {
    background-color: var(--lighter-blue);
}

.area-table tbody tr:last-child {
    border-bottom: none;
}

.area-table td {
    padding: 1.5rem 1rem;
    vertical-align: top;
}

.prefecture-name {
    font-weight: 600;
    color: var(--primary-blue);
    white-space: nowrap;
    font-size: 1.1rem;
}

.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.city-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--lighter-blue);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.city-tag:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.primary-area .area-header {
    background: linear-gradient(135deg, #8B0000 0%, #B22222 100%);
}

.extended-area .area-header {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--light-blue) 100%);
}

.area-contact-alert {
    background: var(--lighter-blue);
    border: 2px solid var(--primary-blue);
    padding: 2rem;
    border-radius: 10px;
}

.area-contact-title {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.area-contact-title i {
    font-size: 1.8rem;
}

/* FAQ Section Styles */
.faq-section {
    background: var(--light-gray);
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-category-title i {
    font-size: 2rem;
}

.faq-item {
    border: none;
    margin-bottom: 1rem;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.faq-item .accordion-header {
    margin-bottom: 0;
}

.faq-item .accordion-button {
    background: var(--white);
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-item .accordion-button:not(.collapsed) {
    background: var(--lighter-blue);
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

.faq-item .accordion-button:focus {
    outline: 3px solid var(--accent-blue);
    outline-offset: 2px;
}

.faq-item .accordion-button::after {
    margin-left: auto;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23001f3f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-q-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-item .accordion-button:not(.collapsed) .faq-q-icon {
    background: var(--accent-blue);
}

.faq-item .accordion-body {
    padding: 1.5rem;
    background: var(--white);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.faq-a-icon {
    display: inline-flex;
    width: 32px;
    height: 32px;
    background: var(--accent-blue);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-answer {
    flex-grow: 1;
    margin: 0;
    line-height: 1.8;
    color: var(--dark-gray);
}

.tire-size-example {
    background: var(--lighter-blue);
    padding: 1rem;
    border-radius: 5px;
    border-left: 4px solid var(--primary-blue);
    margin: 1rem 0;
}

.tire-size-example strong {
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .bring-in-title {
        font-size: 1.5rem;
    }

    .bring-in-subtitle {
        font-size: 1.1rem;
    }

    .bring-in-feature i {
        font-size: 2.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
    }

    .step-title {
        font-size: 1.2rem;
    }

    .step-description {
        font-size: 1rem;
    }

    .section {
        padding: 20px 10px;
    }

    .payment-methods {
        justify-content: center;
    }

    .payment-methods i {
        font-size: 2rem;
    }

    .area-title {
        font-size: 1.4rem;
    }

    .area-title i {
        font-size: 1.5rem;
    }

    .area-description {
        font-size: 1rem;
    }

    .prefecture-name {
        font-size: 1rem;
    }

    .city-tag {
        font-size: 0.85rem;
        padding: 0.3rem 0.8rem;
    }

    .area-contact-title {
        font-size: 1.2rem;
        flex-direction: column;
    }

    .area-table th,
    .area-table td {
        padding: 0.8rem 0.5rem;
    }

    .about-subtitle {
        font-size: 1.1rem;
    }

    .vehicle-category-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .vehicle-category-title {
        font-size: 1.2rem;
    }

    .staff-card {
        padding: 2rem 1.5rem;
    }

    .staff-name {
        font-size: 1.3rem;
    }

    .staff-position {
        font-size: 1rem;
    }

    .staff-details {
        grid-template-columns: 1fr;
    }

    .staff-message {
        padding: 1.5rem;
    }

    .staff-detail-item {
        padding: 1rem;
    }

    .footer-section {
        margin-bottom: 2rem;
    }



    .brand-logo {
        padding: 0.6rem;
    }

    .swiper-caption {
        padding: 1rem;
        bottom: 1rem;
    }

    .swiper-caption h5 {
        font-size: 1.2rem;
    }

    .swiper-caption p {
        font-size: 0.85rem;
    }

    .gallery-swiper .swiper-button-prev,
    .gallery-swiper .swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .gallery-swiper .swiper-button-prev:after,
    .gallery-swiper .swiper-button-next:after {
        font-size: 1.2rem;
    }

    .emergency-icon-large {
        font-size: 3rem;
    }

    .emergency-subtitle {
        font-size: 1.3rem;
    }

    .emergency-card-icon {
        width: 60px;
        height: 60px;
    }

    .emergency-card-icon i {
        font-size: 2rem;
    }

    .emergency-card-price {
        font-size: 1.5rem;
    }
}

.free-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 0.4em 1.2em;
    border-radius: 6px;
    white-space: nowrap;
}
/* ===== タイヤ価格一覧テーブル ===== */
.tire-price-table {
    font-size: 0.88rem;
    white-space: nowrap;
    background: var(--white);
    margin-bottom: 0;
    table-layout: fixed;
    width: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    /* overflow:hidden を削除 → table-responsive に任せる */
}

/* TOYO列を基準に全メーカー列を均等幅に */
.tire-price-table thead th:not(.col-size):not(.col-kochin):not(.col-pirelli) {
    width: 110px;
}

.tire-price-table tbody td:not(.col-size):not(.col-kochin):not(.col-pirelli) {
    width: 110px;
}

.tire-price-table thead th {
    background: var(--primary-blue);
    color: var(--white);
    text-align: center;
    vertical-align: middle;
    padding: 0.6rem 0.8rem;
    font-weight: 700;
}

.tire-price-table tbody td {
    text-align: center;
    vertical-align: middle;
    padding: 0.45rem 0.7rem;
}

.tire-price-table .col-size {
    font-weight: 600;
    color: var(--primary-blue) !important;
    background: var(--lighter-blue) !important;
    text-align: left !important;
}

.tire-price-table thead th.col-size {
    background: var(--dark-blue) !important;
    color: var(--white) !important;
}

.tire-price-table .col-kochin {
    background: #fff8e1 !important;
    color: #7a5300 !important;
    font-weight: 600;
    text-align: center;
}

.tire-price-table thead th.col-kochin {
    background: #e6a817 !important;
    color: var(--white) !important;
}

.tire-price-table .tbl-group-header td {
    background: var(--primary-blue) !important;
    color: var(--white) !important;
    font-weight: 700;
    text-align: left;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
}

.tire-price-table tbody tr:not(.tbl-group-header):hover {
    background: var(--lighter-blue);
}

@media (max-width: 768px) {
    .tire-price-table {
        font-size: 0.75rem;
        min-width: 560px; /* スマホで列が潰れないよう最小幅を確保 */
    }
    .tire-price-table thead th,
    .tire-price-table tbody td {
        padding: 0.35rem 0.45rem;
    }
}

.tire-price-table .col-pirelli {
    background: #f5f0ff !important;
    color: #5a3e8a !important;
    font-weight: 600;
    font-size: 0.85rem;
}

.free-badge {
   margin: 0 auto; /* 左右自動で中央配置 */
}
/* ===== 料金表 スマホ横スクロール対応 ===== */

/* price-table ラッパー：overflow-x スクロール有効化 */
.price-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOS スムーズスクロール */
    border-radius: 8px;
    position: relative;
}

/* price-table 本体：最小幅を確保して折り返しを防ぐ */
.price-table {
    min-width: 320px;
}

/* price-row：横並びを維持 */
.price-row {
    white-space: nowrap;
}

/* ========================================
   補助金バナー
   再利用時: data-deadline と href の2箇所だけ変更
======================================== */

.subsidy-banner-wrap {
    margin: 1.8rem auto 0;
    max-width: 820px;
    padding: 0 0.25rem;
    animation: subsidyFadeIn 0.6s ease 0.3s both;
}

@keyframes subsidyFadeIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* バナー本体：横並び */
.subsidy-banner-btn {
    display: flex;
    flex-direction: row;      /* 常に横並び */
    align-items: stretch;
    text-decoration: none;
    color: #fff;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b3a5c 60%, #0f3460 100%);
    border: 2px solid rgba(255, 200, 0, 0.55);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease, border-color .2s ease;
    animation: subsidyPulse 3s ease-in-out infinite;
}

@keyframes subsidyPulse {
    0%, 100% { box-shadow: 0 6px 22px rgba(0,0,0,0.5), 0 0 0 0 rgba(255,200,0,0); }
    50%       { box-shadow: 0 6px 22px rgba(0,0,0,0.5), 0 0 0 8px rgba(255,200,0,0.18); }
}

.subsidy-banner-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(108deg, transparent 35%, rgba(255,255,255,.11) 50%, transparent 65%);
    background-size: 220% 100%;
    background-position: 220% 0;
    transition: background-position .55s ease;
    pointer-events: none;
}

.subsidy-banner-btn:hover::before { background-position: -100% 0; }

.subsidy-banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.6), 0 0 0 5px rgba(255,200,0,0.35);
    border-color: rgba(255, 200, 0, 0.9);
    animation: none;
}

/* 左ラベル帯 */
.subsidy-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 64px;
    width: 64px;
    flex-shrink: 0;
    padding: 12px 8px;
    background: linear-gradient(180deg, #e63312 0%, #b51f0a 100%);
    font-size: .72rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    letter-spacing: .03em;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.subsidy-label .fa-file-pdf {
    font-size: 1.2rem;
}

/* 中央テキスト */
.subsidy-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 12px 12px;
    flex: 1;
    min-width: 0;         /* テキストが親を突き破らないよう必須 */
    overflow: hidden;
}

.subsidy-title {
    font-size: clamp(.82rem, 2.8vw, 1.1rem);
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
    white-space: normal;  /* 折り返しを許可 */
    word-break: keep-all;
}

.subsidy-title strong {
    color: #ffd700;
    font-size: 1.15em;
    text-shadow: 0 0 10px rgba(255,215,0,.65);
}

.subsidy-sub {
    font-size: clamp(.62rem, 2vw, .78rem);
    color: rgba(255, 255, 255, .78);
    line-height: 1.4;
    white-space: normal;  /* 折り返しを許可 */
}

/* 右カウントダウン */
.subsidy-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    flex-shrink: 0;
    width: 76px;
    padding: 12px 8px;
    border-left: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .2);
}

.subsidy-countdown-label {
    font-size: .58rem;
    color: rgba(255, 255, 255, .72);
    letter-spacing: .04em;
    white-space: nowrap;
    text-align: center;
}

.subsidy-countdown-days {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    font-weight: 800;
    color: #ffd700;
    line-height: 1;
    text-shadow: 0 0 14px rgba(255,215,0,.7);
    animation: subsidyBlink 1.8s ease-in-out infinite;
}

.subsidy-countdown-days.urgent {
    color: #ff5252;
    text-shadow: 0 0 14px rgba(255,82,82,.8);
}

@keyframes subsidyBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .6; }
}

.subsidy-countdown-unit {
    font-size: .68rem;
    color: rgba(255, 255, 255, .75);
    margin-top: -2px;
}

/* 期限切れは非表示 */
.subsidy-banner-wrap.expired { display: none; }

/* ===== スマホ対応（375px以下でさらに詰める） ===== */
@media (max-width: 400px) {
    .subsidy-label {
        min-width: 52px;
        width: 52px;
        padding: 10px 6px;
        font-size: .65rem;
    }
    .subsidy-label .fa-file-pdf {
        font-size: 1rem;
    }
    .subsidy-main {
        padding: 10px 8px;
    }
    .subsidy-countdown {
        width: 64px;
        padding: 10px 6px;
    }
    .subsidy-countdown-label {
        font-size: .52rem;
    }
}
