/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00A0E9; /* メインの青を変更 */
    --primary-light: #00A0E9; /* 明るい青も同じ色に統一 */
    --primary-dark: #005cb2;
    --secondary-color: #f57c00; /* アクセントカラー（オレンジ） */
    --secondary-light: #ffad42;
    --text-color: #333;
    --text-light: #666;
    --light-gray: #f8f9fa;
    --medium-gray: #e0e0e0;
    --dark-gray: #757575;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* 見出しをゴシックの太字に変更 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
}

.section-title.centered {
    text-align: center;
}

.section-title.centered:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* セクションの装飾要素 */
.bg-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><rect width="20" height="20" fill="none" stroke="%231e88e5" stroke-width="0.5" stroke-opacity="0.05"/></svg>');
    background-size: 20px 20px;
    z-index: 0;
    opacity: 0.5;
}

.accent-shape {
    position: absolute;
    bottom: -50px;
    right: 50px;
    width: 100px;
    height: 100px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.accent-shape:before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 60px;
    height: 60px;
    background-color: rgba(245, 124, 0, 0.1);
    border-radius: 50%;
}

/* 明るい背景のセクション */
.section-light {
    background-color: #ffffff;
    position: relative;
}

.section-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent 30%, var(--primary-light) 100%);
}

/* グラデーション背景のセクション */
.section-gradient {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    position: relative;
}

.section-gradient::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 100%);
}

/* 暗い背景のセクション */
.section-dark {
    background-color: var(--primary-dark);
    color: #fff;
    position: relative;
}

.section-dark .section-title {
    color: #fff;
}

.section-dark .section-title:after {
    background-color: var(--secondary-light);
}

.section-dark .testimonial-item {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.section-dark .quote-icon,
.section-dark .client-name {
    color: var(--secondary-light);
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

/* ヘッダー */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 50%;
}

.logo-text h1 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-light);
}

.accent-text {
    color: var(--secondary-color);
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    position: relative;
    margin-left: 5px;
}

.nav-links a {
    display: block;
    padding: 10px 15px;
    color: #757575;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    color: #00A0E9;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    border-radius: var(--radius);
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    padding: 12px 15px;
    border-bottom: 1px solid var(--medium-gray);
}

.dropdown-menu a:hover {
    background-color: var(--light-gray);
}

.contact-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
    margin-left: 15px;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn {
    display: none; /* PCではデフォルトで非表示 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: content-box;
    z-index: 10000;
    position: absolute;
    right: 20px;
    top: 20px;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s linear;
}

/* PCでは非表示 */
@media screen and (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 80vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

/* ヒーロービデオのコンテナ */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* ヒーロービデオのスタイル */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-video.active {
    opacity: 1;
}

/* ビデオの上に暗めのオーバーレイを追加 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.x-text {
    display: inline-block;
    margin: 0 6px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.03em;
}

.cta-button:hover {
    background-color: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    color: var(--white);
}

/* ウェルカムセクション */
.welcome-content {
    display: flex;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.welcome-text {
    flex: 1;
}

.welcome-text.full-width {
    width: 100%;
}

.welcome-image {
    flex: 1;
    position: relative;
}

.team-image {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.image-caption {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.emphasis {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.stats {
    display: flex;
    margin-top: 2rem;
    text-align: center;
    justify-content: center;
}

.stat-item {
    flex: 0 0 auto;
    width: 180px;
    padding: 20px;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 0 15px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stat-item:last-child {
    margin-right: 0;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 強みセクション */
.strength-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.strength-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.strength-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.strength-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.strength-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.strength-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* 総合力の図 - スタイリッシュなデザイン */
.strength-image {
    margin-top: 70px;
    text-align: center;
    position: relative;
}

.circle-diagram {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(248,249,250,1) 0%, rgba(240,242,245,1) 100%);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    overflow: hidden;
}

.circle-diagram:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent 40%, rgba(30, 136, 229, 0.1) 100%);
    z-index: 1;
}

.circle-diagram:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.circle-center {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 2;
    position: relative;
    transition: all 0.4s ease;
}

.circle-center:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.circle-center:after {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: rgba(245, 124, 0, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(245, 124, 0, 0.5);
}

.circle-center p:first-child {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.circle-center p:last-child {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.circle-item {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--white);
}

.circle-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: glowEffect 1.5s infinite alternate;
}

@keyframes glowEffect {
    0% {
        box-shadow: 0 0 10px rgba(245, 124, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(245, 124, 0, 0.8), 0 0 30px rgba(245, 124, 0, 0.6);
    }
}

.item1 {
    top: 30px;
    left: 140px;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.item2 {
    bottom: 60px;
    left: 40px;
    background: linear-gradient(135deg, #26c6da 0%, #00acc1 100%);
}

.item3 {
    bottom: 60px;
    right: 40px;
    background: linear-gradient(135deg, #7e57c2 0%, #5e35b1 100%);
}

.strength-connection {
    position: absolute;
    background-color: rgba(30, 136, 229, 0.1);
    z-index: 1;
    transform-origin: 0 0;
}

.connection1 {
    width: 2px;
    height: 120px;
    top: 200px;
    left: 200px;
    transform: rotate(45deg);
}

.connection2 {
    width: 2px;
    height: 120px;
    top: 200px;
    left: 200px;
    transform: rotate(135deg);
}

.connection3 {
    width: 140px;
    height: 2px;
    top: 280px;
    left: 130px;
}

/* サービスセクション */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-content p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.7;
}

/* サービスボタン */
.btn-service {
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.9rem;
    padding: 8px 20px;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .btn-service {
        width: 100%;
        text-align: center;
    }
}

/* 強化されたサービスセクション */
.services-enhanced-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.service-enhanced-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    height: 100%;
}

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

.service-enhanced-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.service-enhanced-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-enhanced-card:hover .service-enhanced-image img {
    transform: scale(1.08);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
    opacity: 0.7;
    transition: opacity 0.4s ease;
}

.service-enhanced-card:hover .service-overlay {
    opacity: 0.4;
}

.service-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.service-enhanced-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    background-color: var(--secondary-color);
}

.service-enhanced-content {
    padding: 40px;
    background-color: var(--white);
    position: relative;
}

.service-enhanced-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.service-enhanced-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.service-enhanced-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .services-enhanced-grid {
        grid-template-columns: 1fr;
    }
    
    .service-enhanced-image {
        height: 300px;
    }
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.read-more i {
    margin-left: 8px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* プレースホルダー画像の代わり */
.image-placeholder {
    background-color: var(--light-gray);
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
    text-align: center;
    border-radius: var(--radius);
    transition: var(--transition);
}

.image-placeholder i {
    margin-bottom: 10px;
}

.image-placeholder:hover {
    background-color: var(--medium-gray);
}

.map {
    height: 300px;
}

/* スタッフセクション */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.staff-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.staff-image {
    height: 250px;
    overflow: hidden;
}

.staff-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info {
    padding: 20px;
}

.staff-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.staff-position {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.staff-description {
    margin-bottom: 15px;
    color: var(--text-light);
}

.staff-message {
    background-color: var(--light-gray);
    padding: 15px;
    border-radius: var(--radius);
    font-style: italic;
    position: relative;
    margin-top: 20px;
}

.staff-message:before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--light-gray);
    top: -10px;
    left: 20px;
}

/* お客様の声セクション */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.5;
    margin-bottom: 10px;
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.client-name {
    font-weight: 700;
    color: var(--primary-color);
}

/* 取引先セクション */
.clients-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.client-item {
    background-color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.client-item h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .client-item h3 {
        font-size: 1.2rem;
    }
}

/* 取り組みセクション */
.activities-content {
    max-width: 800px;
    margin: 0 auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.activity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.activity-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.activity-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.activity-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* お問い合わせセクション */
.contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-text {
    flex: 1;
}

.contact-form-container {
    flex: 1;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-right: 30px;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.contact-form {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 160, 233, 0.2);
}

/* 送信ボタン */
.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* スマホ対応スタイル追加 */
@media screen and (max-width: 768px) {
    /* 会社概要セクションのスマホ対応 */
    .about-content {
        flex-direction: column;
    }
    
    .about-info {
        width: 100%;
        margin-bottom: 30px;
        order: 1;
    }
    
    .map-container {
        width: 100%;
        order: 2;
        margin-top: 30px;
    }
    
    .about-table {
        display: block;
        width: 100%;
    }
    
    .about-table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .about-table th, 
    .about-table td {
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .about-table th {
        background-color: #f5f5f5;
        padding: 8px 10px;
        border-bottom: none;
    }
    
    /* お問い合わせフォームのスマホ対応 */
    .contact-content {
        flex-direction: column;
    }
    
    .contact-text,
    .contact-form-container {
        width: 100%;
    }
    
    .contact-text {
        margin-bottom: 30px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-item {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    .contact-form h3 {
        font-size: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
}

/* プライバシーポリシーセクション */
.privacy-policy {
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
}

.privacy-policy h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 10px;
}

.privacy-policy-content {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-light);
}

.privacy-policy-content p {
    margin-bottom: 15px;
}

.privacy-policy-content ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.privacy-policy-content li {
    margin-bottom: 12px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-group label {
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
}

/* 会社概要セクション */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.about-info {
    flex: 1 1 500px;
    order: 1;
}

.map-container {
    flex: 1 1 400px;
    order: 2;
    margin-top: 30px;
}

.about-table {
    width: 100%;
    border-collapse: collapse;
}

.about-table th,
.about-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--medium-gray);
}

.about-table th {
    width: 30%;
    color: var(--primary-color);
    font-weight: 700;
}

/* 社長挨拶セクション */
.president-message {
    position: relative;
}

.president-container {
    max-width: 1000px;
    margin: 0 auto;
}

.president-card {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

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

.president-image {
    flex: 0 0 300px;
    border-radius: var(--radius);
    overflow: hidden;
}

.president-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.president-info {
    flex: 1;
}

.president-info h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.president-position {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-light);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.president-description {
    margin-bottom: 20px;
    line-height: 1.8;
}

.president-message-box {
    background-color: transparent;
    border-left: none;
    padding: 20px 0;
    border-radius: 0;
    font-style: normal;
    line-height: 1.8;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .president-card {
        flex-direction: column;
        gap: 30px;
    }
    
    .president-image {
        width: 100%;
        flex: auto;
    }
}

/* フッター */
.footer-simple {
    background-color: #f8f9fa;
    color: #757575;
    padding: 40px 0 20px;
    margin-top: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    height: auto;
    min-height: 200px;
    will-change: transform;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
    backface-visibility: hidden;
    box-sizing: border-box;
    border-top: 1px solid #e0e0e0;
}

.footer-links-simple a {
    color: #757575;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.footer-links-simple a:hover {
    color: #00A0E9;
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    opacity: 0.7;
    color: #aaa;
}

/* フッターのTOPに戻るボタン */
.back-to-top-btn {
    position: fixed;
    bottom: -100px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 100;
    opacity: 0;
}

.back-to-top-btn.visible {
    bottom: 30px;
    opacity: 1;
}

.back-to-top-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.back-to-top-btn i {
    font-size: 1rem;
}

.back-to-top-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* TOPへ戻るボタン */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: var(--white);
}

.back-to-top-btn i {
    font-size: 1rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .back-to-top-btn span {
        display: none;
    }
    
    .back-to-top-btn i {
        margin: 0;
    }
}

/* セクション要素の強調 */
/* サービスカード */
.services .service-card {
    transform: translateY(0);
    transition: all 0.4s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.services .service-image {
    height: 220px;
    overflow: hidden;
}

.services .service-image img {
    transition: transform 0.5s ease;
}

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

.services .service-content {
    padding: 30px;
    background: #fff;
}

/* お客様の声 */
.testimonials .testimonial-item {
    border-radius: 15px;
    padding: 30px;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.testimonials .testimonial-item:hover {
    transform: translateY(-10px);
}

.testimonials .quote-icon {
    color: var(--secondary-light);
    font-size: 2rem;
    margin-bottom: 15px;
}

/* 社長メッセージ */
.president-card {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 強みのセクション */
.strength-image {
    margin-top: 40px;
}

.strength .circle-item {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* セクションタイトルの強調 */
.section-title {
    position: relative;
    margin-bottom: 50px;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: 15px auto;
}

.section-light .section-title:after {
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
}

.section-gradient .section-title:after {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.section-dark .section-title:after {
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-light));
}

/* 説明ボックス */
.explanation-box {
    background-color: #f9f9f9;
    padding: 25px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-color);
}

.explanation-box h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.explanation-box p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 0.98rem;
}

.explanation-box p:last-child {
    margin-bottom: 0;
}

/* 詳細ページのスタイル */
.page-hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    margin-bottom: 40px;
}

.page-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.service-detail {
    padding: 60px 0;
}

.service-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-content p {
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-benefits, 
.service-process, 
.service-features,
.service-images,
.cta-box {
    margin-bottom: 50px;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-benefits h4,
.service-process h4,
.service-features h4,
.service-images h4,
.cta-box h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.service-benefits ul,
.service-process ol {
    padding-left: 20px;
}

.service-benefits li,
.service-process li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.feature-item h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 10px;
}

.cta-box {
    text-align: center;
    background-color: #f9f9f9;
}

.cta-box .btn {
    margin-top: 20px;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0 40px;
    }
    
    .page-hero h2 {
        font-size: 2rem;
    }
    
    .service-benefits, 
    .service-process, 
    .service-features,
    .service-images,
    .cta-box {
        padding: 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.service-technical,
.service-standards,
.service-materials {
    margin-bottom: 50px;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.service-technical h4,
.service-standards h4,
.service-materials h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.technical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.technical-item {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.technical-item h5 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 10px;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
}

.technical-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.service-standards ul {
    padding-left: 20px;
}

.service-standards li {
    margin-bottom: 12px;
    line-height: 1.5;
}

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

.materials-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.materials-table th {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 15px;
    text-align: left;
}

.materials-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.materials-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.materials-table tr:hover {
    background-color: #f0f0f0;
}

@media (max-width: 768px) {
    .technical-grid {
        grid-template-columns: 1fr;
    }
    
    .service-technical,
    .service-standards,
    .service-materials {
        padding: 20px;
    }
    
    .materials-table th,
    .materials-table td {
        padding: 8px 10px;
    }
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* 見出しスタイル */
.service-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 35px 0 20px;
    font-weight: 600;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.service-content h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin: 15px 0 10px;
    font-weight: 600;
}

.technical-item h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-item h4 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin: 10px 0;
    font-weight: 600;
}

.explanation-box h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-box h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

/* モバイル対応のスタイル */
@media screen and (max-width: 992px) {
    .header-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .logo-container {
        margin-bottom: 10px;
        width: 100%;
        justify-content: center;
    }
    
    .nav-links {
        width: 100%;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0 5px;
    }
    
    .contact-btn {
        margin-left: 5px;
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 15px;
        position: relative;
    }
    
    .logo-container {
        margin-bottom: 0;
        width: auto;
        justify-content: flex-start;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    /* モバイル表示でのハンバーガーメニューボタン */
    .mobile-menu-btn {
        display: flex;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 10000;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -280px; /* メニューを画面外に配置 */
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0; /* 表示時は右端から表示 */
    }
    
    .nav-links li {
        width: 100%;
        margin: 0;
    }
    
    .nav-links a {
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    /* ドロップダウンメニュー */
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none; /* 初期状態は非表示 */
        padding: 0 0 0 15px;
        margin: 0;
        border-radius: 0;
        background-color: #f5f5f5;
    }
    
    .dropdown-menu.active {
        display: block; /* アクティブ時に表示 */
    }
    
    .dropdown-menu li {
        margin: 0;
    }
    
    .dropdown-menu a {
        font-size: 0.85rem;
        padding: 10px 15px;
        border-bottom: 1px dashed #e0e0e0;
    }
    
    .dropdown-menu a:hover {
        background-color: #eeeeee;
    }
    
    .dropdown > a i {
        margin-left: 5px;
        transition: transform 0.3s;
    }
    
    .contact-btn {
        margin: 15px 0 0;
        text-align: center;
        width: 100%;
    }
    
    /* ハンバーガーメニューアイコンのアニメーション */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* メニュー開放時の背景オーバーレイ */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .menu-overlay.active {
        display: block;
    }
}

@media screen and (max-width: 480px) {
    .logo-container img {
        height: 45px !important;
        margin-right: 10px !important;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .tagline {
        font-size: 0.7rem;
    }
}

@media screen and (max-width: 768px) {
    /* クマガエ工業とはセクションのスマホ対応 */
    .welcome-text p {
        font-size: 0.95rem;
    }
    
    .welcome-text p br {
        display: none;
    }
    
    .emphasis {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
        margin: 0 0 15px 0;
    }
    
    /* お客様の声セクションのスマホ対応 */
    .testimonial-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial-item {
        width: 100%;
    }
    
    /* 会社概要セクションのスマホ対応 */
    .about-content {
        flex-direction: column;
    }
    
    .about-info {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .about-table {
        display: block;
        width: 100%;
    }
    
    .about-table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .about-table th, 
    .about-table td {
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .about-table th {
        background-color: #f5f5f5;
        padding: 8px 10px;
        border-bottom: none;
    }
    
    .map-container {
        width: 100%;
        height: 250px;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    /* お問い合わせフォームのスマホ対応 */
    .contact-content {
        flex-direction: column;
    }
    
    .contact-text,
    .contact-form-container {
        width: 100%;
    }
    
    .contact-text {
        margin-bottom: 30px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-item {
        width: 100%;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 480px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }
    
    .section-description {
        font-size: 0.9rem;
    }
    
    .contact-form h3 {
        font-size: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
}

/* ハンバーガーメニュー関連の新しいスタイル */
.hamburger-container {
    display: none; /* PCでは非表示 */
    position: relative;
    z-index: 10000;
}

.hamburger-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #00A0E9;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ハンバーガーボタンのアクティブ状態 */
.hamburger-button.active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger-button.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-button.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* スマホ表示時のハンバーガーメニュー */
@media screen and (max-width: 768px) {
    .hamburger-container {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    
    /* 元のモバイルメニューボタンは完全に非表示に */
    .mobile-menu-btn {
        display: none !important;
    }
}
