* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ad-head {
    width: 100vw;
    text-align: center;
    font-size: 4.8rem;
    font-weight: bold;
    color: #fff;
    margin: 20px 0;
    background-color: #fb8316;
    padding: 20px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    letter-spacing: 0.1em;
}

.repair {
    color: #1674FB;
}

@media (max-width: 768px) {
    .ad-head {
        font-size: 2.4rem;
        letter-spacing: 0.08em;
    }
}

.maker-icons-scroll-area {
    margin: 40px 0;
    overflow: hidden;
    position: relative;
}

.maker-icons-ttl {
    text-align: center;
    margin-bottom: 30px;
}

.maker-icons-ttl h3 {
    font-size: 2.4rem;
    color: #333;
    font-weight: bold;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .maker-icons-ttl h3 {
        font-size: 1.8rem;
        letter-spacing: 0.04em;
        white-space: nowrap;
    }
}

@media (max-width: 500px) {
    .maker-icons-ttl h3 {
        font-size: 1.5rem;
        letter-spacing: 0.03em;
    }
}

.icons-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    position: relative;
}

.icons-track {
    display: flex;
    position: relative;
    transition: none;
    will-change: transform;
}

.icons-maker {
    display: grid;
    grid-template-columns: repeat(9, minmax(151px, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    padding: 0 20px;
    min-width: max-content;
    align-items: center;
    flex-shrink: 0;
    justify-content: center;
}

.icons-maker img {
    width: 151px;
    height: 56px;
    object-fit: contain;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    justify-self: center;
    flex-shrink: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1400px) {
    .icons-maker {
        grid-template-columns: repeat(8, minmax(151px, 1fr));
        grid-template-rows: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 1200px) {
    .icons-maker {
        grid-template-columns: repeat(6, minmax(151px, 1fr));
        grid-template-rows: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 1000px) {
    .icons-maker {
        grid-template-columns: repeat(6, minmax(151px, 1fr));
        grid-template-rows: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 950px) {
    .icons-maker {
        grid-template-columns: repeat(6, minmax(151px, 1fr));
        grid-template-rows: repeat(3, 1fr);
        gap: 8px;
    }
}

.contact-button {
    display: inline-block;
    background: linear-gradient(135deg, #1674FB 0%, #0056D2 100%);
    color: #fff;
    padding: 20px 40px;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(22, 116, 251, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    position: relative;
    overflow: visible;
    animation: pulse-glow 2s infinite;
    border: 3px solid transparent;
    z-index: 1;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(22, 116, 251, 0.4);
    background: linear-gradient(135deg, #0056D2 0%, #1674FB 100%);
    animation: none;
    border-color: #FFD60A;
}

.contact-button:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 15px rgba(22, 116, 251, 0.3);
}
/* 
.tel-button {
    display: inline-block;
    background: linear-gradient(135deg, #1674FB 0%, #0056D2 100%);
    color: #fff;
    padding: 20px 40px;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(22, 116, 251, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    position: relative;
    overflow: visible;
    animation: pulse-glow 2s infinite;
    border: 3px solid transparent;
    z-index: 1;
} */

.contact-label {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1e8449;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}


@keyframes glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.tel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.free-badge {
    width: 50px;
    height: auto;
}

.tel-button {
    display: inline-block;
    background: #fff;
    color: #1e8449;
    font-size: 2rem;
    font-weight: bold;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    border: 2px solid #27ae60;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.tel-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.15), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.tel-button:hover::before {
    left: 100%;
}

.tel-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.3);
    background: #f0faf4;
    border-color: #1e8449;
}

.tel-button:active {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 15px rgba(39, 174, 96, 0.2);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(22, 116, 251, 0.3);
    }
    50% {
        box-shadow: 0 8px 30px rgba(22, 116, 251, 0.6);
    }
}

@keyframes float-star1 {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    33% {
        transform: translateY(-10px) rotate(120deg);
        opacity: 1;
    }
    66% {
        transform: translateY(5px) rotate(240deg);
        opacity: 0.6;
    }
}

.contact-section {
    text-align: center;
    margin: 30px 0;
    position: relative;
    padding: 20px;
    overflow: visible;
}

.contact-section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 12px;
}

.contact-sp {
    display: none;
}

@media (max-width: 768px) {
    .contact-button {
        padding: 16px 32px;
        font-size: 1.6rem;
    }
}

@media (max-width: 430px) {
    .maker-icons-scroll-area {
        margin: 20px 0px;
    }

    .contact-section {
    text-align: center;
    margin: 15px 0;
    position: relative;
    padding: 10px;
    overflow: visible;
    }

    .contact-button {
        padding: 14px 20px;
        font-size: 1.3rem;
        white-space: nowrap;
        min-width: 200px;
    }

    .tel-button {
        font-size: 1.5rem;
        text-align: center;
    }

    .contact-sp {
        display: block;
    }

    .contact-pc {
        display: none;
    }
}