/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ベーススタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-text {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.05em;
    white-space: nowrap; /* ヘッダー改行禁止 */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap; /* ヘッダー改行禁止 */
}

.nav-menu a:hover {
    color: #ff6b35;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.phone-button {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.phone-icon {
    font-size: 0.8rem;
    filter: grayscale(100%) brightness(0) invert(1);
}

.phone-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
}

.hours {
    color: #666;
    font-size: 0.7rem;
    text-align: center;
    margin-top: 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* ヒーローセクション */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 6rem; /* 上下余白を統一 */
    padding-bottom: 6rem; /* 上下余白を統一 */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* ヒーローオーバーレイ */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-text {
    text-align: center;
    max-width: 800px;
    margin-top: 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.accent-text {
    color: #ff6b35;
}

.title-line {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.title-line:nth-child(1) {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.title-line:nth-child(2) {
    color: #ffffff;
}

.title-line:nth-child(3) {
    color: #ffffff;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 2rem;
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 1;
    transform: translateY(0);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ヒーロー画像セクションを削除 */

.cta-button {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: #ff6b35;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #ff6b35;
    border-bottom: 2px solid #ff6b35;
    transform: rotate(45deg);
}

/* セクション共通 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #2c3e50;
    position: relative;
    line-height: 1.2; /* テキスト上の余白を削除（デフォルト1.7から1.2に調整） */
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1rem);
    font-weight: 400;
    color: #ff6b35;
}


/* 会社概要セクション - 重厚感のあるデザイン */
.company {
    position: relative;
    padding: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
    overflow: hidden;
}

.company-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
}

.company-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 215, 0, 0.02) 2px,
            rgba(255, 215, 0, 0.02) 4px
        );
}

.company-content-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.company-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.company-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: #ffd700;
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    line-height: 1.5;
}

.company-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: #ffffff;
    margin: 2rem 0 0 0;
    font-weight: 500;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* 会社概要セクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .company-hero {
        min-height: 50vh;
    }
    
    .company-content-center {
        padding: 3rem 1.5rem;
    }
    
    .company-description {
        text-align: center;
        margin: 1.5rem 0 0 0;
    }
}

/* サービスセクション */
.services {
    padding: 8rem 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(255, 107, 53, 0.2) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(255, 107, 53, 0.3) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem 1.5rem;
}

.service-content h4 {
    font-size: 1.5rem;
    color: #ff6b35;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-content p {
    line-height: 1.7;
    color: #34495e;
}

.certification {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border-radius: 20px;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 実績セクション */
.performance {
    position: relative;
    padding: 8rem 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.performance-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(255, 107, 53, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

.performance .container {
    position: relative;
    z-index: 2;
}

/* 選ばれる理由セクションのレスポンシブ対応 */
@media (max-width: 768px) {
    .performance {
        background-attachment: scroll;
    }
    
    .performance-overlay {
        background: linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(255, 107, 53, 0.4) 50%,
            rgba(0, 0, 0, 0.8) 100%
        );
    }
}

/* 選ばれる理由 見出しカラー */
.performance .section-title {
    color: #ffffff;
}

.reasons-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.reason-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: start;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    padding: 1.25rem 1.25rem;
}

.reason-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    color: #ff6b35;
}

.reason-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.25rem 0;
}

.reason-text {
    margin: 0;
    color: #34495e;
    line-height: 1.8;
}

/* お客様の声セクション */
.testimonials-section {
    padding: 8rem 0;
    background: #f8f9fa;
}

.testimonials-section .container {
    margin-top: 0;
}

/* ギャラリーセクション */
.gallery {
    padding: 6rem 0 6rem 0;
    background: #ffffff;
}

.gallery-view {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-list {
    display: flex;
    gap: 12px;
    will-change: transform;
    transition: transform 0.3s ease;
}

.gallery-list img {
    width: 420px;
    height: 260px;
    object-fit: cover;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
    background: #f5f5f5;
    user-select: none;
}

/* ギャラリーのレスポンシブ調整（末尾集約） */
@media (max-width: 992px) {
    .gallery-list img { width: 720px; height: 450px; }
}
@media (max-width: 768px) {
    .gallery-list img { width: 675px; height: 420px; }
}
@media (max-width: 480px) {
    .gallery-list img { width: 570px; height: 360px; }
}

/* FAQセクション */
.faq {
    padding: 6rem 0 0 0;
    background: #ffffff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.faq-item > summary {
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    list-style: none;
    position: relative;
    padding-right: 2rem;
}

.faq-item[open] > summary {
    color: #ff6b35;
}

.faq-item > summary::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 8px;
    background: currentColor;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    opacity: 0.9;
    transition: transform 0.2s ease;
}

.faq-item[open] > summary::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding-top: 0.75rem;
    color: #34495e;
    line-height: 1.7;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-item {
    opacity: 1;
}

.testimonial-content {
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #34495e;
    line-height: 1.7;
    position: relative;
}

.testimonials-section .testimonial-content .testimonial-text p {
    font-style: italic !important;
    color: #34495e !important;
}

.testimonials-section .testimonial-content .testimonial-author h4 {
    color: #ff6b35 !important;
}

.testimonial-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic !important;
    text-align: left;
}

.testimonial-text p {
    margin: 0;
    font-style: italic !important;
    text-align: left;
}

.testimonial-author h4 {
    color: #ff6b35 !important;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

/* お客様の声のレスポンシブ対応 */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-content {
        padding: 2rem 1.5rem;
    }
}






/* お問い合わせセクション */
.contact {
    padding: 8rem 0;
    background: transparent;
    background-image: url('img/gazou67.jpg');
    background-size: cover;
    background-position: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #34495e;
}

.required {
    color: #ff6b35;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.9rem;
    color: #666;
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.submit-button:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    transform: translateY(-2px);
}

.target-description p {
    line-height: 1.8;
    color: #34495e;
    font-size: 1.1rem;
}


/* お問い合わせセクション */
.contact {
    position: relative;
    padding: 8rem 0;
    background: transparent;
    background-image: url('img/gazou67.jpg');
    background-size: cover;
    background-position: center;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

/* お問い合わせ見出しの視認性向上 */
.contact .section-title {
    color: #ffffff;
}

.contact .section-subtitle {
    color: #ffffff;
    opacity: 0.95;
}

.response-time {
    font-size: 1.1rem;
    color: #ff6b35;
    font-weight: 600;
    margin-top: 1rem;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* フォームスタイル */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 600px;
    width: 100%;
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.98);
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.required {
    color: #ff6b35;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e8ecf0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 320px;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    min-width: auto;
    flex-shrink: 0;
}

.checkbox-text {
    font-size: 0.9rem;
    line-height: 1.2;
}

.privacy-link {
    color: #ff6b35;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #ff8c42;
}

.submit-button {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* お問い合わせ情報のスタイルを削除 */

/* フッター */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    color: #ff6b35;
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
    color: #999;
}

/* アニメーション */
@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* スクロールアニメーション用のクラス */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-contact {
        display: none;
    }
    
    .hero {
        min-height: calc(80vh - 60px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 60px;
    }
    
    .hero-content {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: calc(80vh - 60px);
    }
    
    .title-line:nth-child(1) {
        display: none;
    }
    
    .title-line:nth-child(2) {
        display: none;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }
    
    .reason-item {
        padding: 2rem 1.5rem;
        min-height: 200px;
        display: grid;
        grid-template-columns: 56px 1fr;
        gap: 1.5rem;
    }
    
    .reason-title {
        font-size: 1.3rem;
    }
    
    .reason-text {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }
    
    
    .performance-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .area-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-content {
        justify-content: center;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .checkbox-group {
        flex-direction: row !important;
        align-items: center;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-width: 100%;
        padding: 1rem;
        font-size: 0.95rem;
        height: auto;
        min-height: 3.2rem;
    }
    
    .form-group textarea {
        min-height: 120px;
        padding: 1rem; /* textareaのパディングを1remに統一（従来は0.7rem） */
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .footer {
        padding: 2rem 0 0.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-info p,
    .footer-contact p {
        margin-bottom: 0.3rem;
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.85rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1500px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        padding: 1rem 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .services, .performance, .target-area, .contact {
        padding: 4rem 0;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .achievement-item, .testimonials {
        padding: 1.5rem;
    }
}
