/* 
 * 株式会社フリークス - ウェブサイトCSS
 * ボタンホバー問題修正版
 */

/* フォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700&display=swap');

/* ベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'M PLUS Rounded 1c', 'Kosugi Maru', 'Hiragino Maru Gothic Pro', 'ヒラギノ丸ゴ Pro W4', 'メイリオ', Meiryo, 'MS Pゴシック', 'MS PGothic', sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    font-family: 'M PLUS Rounded 1c', 'Kosugi Maru', 'Hiragino Maru Gothic Pro', 'ヒラギノ丸ゴ Pro W4', 'メイリオ', Meiryo, 'MS Pゴシック', 'MS PGothic', sans-serif;
}

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

/* ナビゲーションスタイル */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #0054a6;
    position: relative;
    transition: transform 0.3s ease;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    max-height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #0054a6;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active-link {
    color: #f7cd00;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #f7cd00;
    transition: width 0.3s ease;
    z-index: 1;
}

.nav-links a:hover::after, .nav-links a.active-link::after {
    width: 100%;
}

/* モバイルメニュー */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #0054a6;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ヒーローヘッダースタイル */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 1.5s ease;
}

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

.hero-slide.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.zoom-in {
    transform: scale(1.05);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s ease;
}

.hero-slide.active img {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 80%;
    max-width: 800px;
}

/* ヒーローヘッダーコンテンツ - フォント強化 */
.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease forwards;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease forwards 0.5s;
    opacity: 0;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* ボタンスタイル - 修正・洗練版 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0054a6;
    color: white !important; /* 文字色を強制的に白に */
    text-decoration: none;
    border-radius: 8px; /* より丸みを持たせる */
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    opacity: 1 !important; /* 常に表示 */
    animation: none; /* アニメーション無効化 */
    transform: translateY(0) !important; /* 位置固定 */
    font-family: 'M PLUS Rounded 1c', sans-serif;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 15px rgba(0, 84, 166, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1; /* 背景エフェクトは下に */
}

.btn:hover {
    background-color: #004080;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(0, 84, 166, 0.4);
    color: white !important; /* ホバー時も白色を維持 */
}

.btn:hover::before {
    left: 100%;
}

.btn-accent {
    background-color: #f7cd00;
    color: #333 !important;
    box-shadow: 0 4px 15px rgba(247, 205, 0, 0.3);
}

.btn-accent:hover {
    background-color: #e0bb00;
    box-shadow: 0 8px 25px rgba(247, 205, 0, 0.4);
    color: #333 !important; /* ホバー時も色を維持 */
}

/* パラックス要素 */
.parallax {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* スクロールダウンアイコン */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-down svg {
    width: 40px;
    height: 40px;
    fill: white;
}

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

/* セクションスタイル */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* アニメーション用クラス - 修正版 */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.slide-in-left {
    animation: slideInLeft 0.8s forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.6s forwards;
}

.fade-in-right {
    animation: fadeInRight 0.6s forwards;
}

.bounce-in {
    animation: bounceIn 0.8s forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(247, 205, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(247, 205, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(247, 205, 0, 0);
    }
}

/* 事業概要セクション - 改良版 */
.services {
    background-color: #f9f9f9;
    padding: 150px 0;  /* パディングを増やして余白を広く */
    position: relative;
    overflow: hidden;
}

/* 背景装飾 */
.services::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(0, 84, 166, 0.05);
    z-index: 1;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(247, 205, 0, 0.05);
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;  /* タイトル下の余白を増やす */
    position: relative;
}

.section-title h2 {
    font-size: 42px;  /* フォントサイズを大きく */
    color: #0054a6;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;  /* 線を太く */
    background-color: #f7cd00;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.section-title:hover h2::after {
    width: 150px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;  /* カード間の余白を増やす */
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: white;
    border-radius: 15px;  /* 角を丸く */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    height: 100%;  /* 高さを揃える */
    display: flex;
    flex-direction: column;
    opacity: 1 !important; /* 常に表示 */
    transform: translateY(0) !important; /* 位置固定 */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(0, 84, 166, 0.03), transparent);
    transition: height 0.5s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-20px) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-img {
    height: 250px;  /* 画像部分を大きく */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.service-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
}

.service-icon {
    position: absolute;
    bottom: -25px;
    left: 30px;
    width: 70px;
    height: 70px;
    background-color: #f7cd00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: transform 0.3s ease;
}

.service-icon i {
    font-size: 30px;
    color: #0054a6;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-content {
    padding: 40px 30px 30px;  /* 内側のパディングを広げる */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 28px;  /* タイトルを大きく */
    color: #0054a6;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #f7cd00;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.service-card:hover .service-content h3::after {
    width: 100px;
}

.service-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #666;
    flex-grow: 1;
}

/* サービスリンク修正 */
.service-link {
    display: inline-flex !important;
    align-items: center !important;
    color: #0054a6 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    margin-top: auto !important;
    transition: transform 0.3s !important;
    position: relative !important;
    z-index: 2 !important;
    opacity: 1 !important;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.service-link:hover {
    transform: translateX(5px);
    color: #0054a6 !important;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 求人情報スタイル - 文字色を白に設定 */
.careers {
    background-color: #0054a6;
    color: white;
    position: relative;
    overflow: hidden;
}

.careers .section-title h2 {
    color: white;
}

.careers-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.careers-content p {
    margin-bottom: 30px;
    font-size: 18px;
    color: white !important; /* 文字色を白に明示的に設定 */
}

.careers-content .btn {
    opacity: 1 !important; /* 常に表示 */
    transform: translateY(0) !important; /* 位置固定 */
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

/* 背景デザイン要素 */
.careers::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.careers::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    z-index: 1;
}

/* 会社概要スタイル */
.company-info {
    background-color: #f9f9f9;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item h3 {
    font-size: 18px;
    color: #0054a6;
    margin-bottom: 10px;
}

/* お問い合わせスタイル */
.contact {
    text-align: center;
}

.contact p {
    margin-bottom: 30px;
}

.contact .btn {
    opacity: 1 !important; /* 常に表示 */
    transform: translateY(0) !important; /* 位置固定 */
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

/* フッタースタイル - おしゃれなバージョン */
footer {
    background: linear-gradient(135deg, #003366, #0054a6, #0066cc);
    color: white;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

/* フッターの波形装飾 */
.footer-wave {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' style='fill: %23f9f9f9'/%3E%3C/svg%3E");
    background-size: cover;
}

/* グラデーション装飾 */
.footer-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(247, 205, 0, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.footer-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    max-width: 170px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #f7cd00;
    position: relative;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-column h3::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #f7cd00;
    border-radius: 2px;
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    list-style: none;
    margin-bottom: 30px;
}

.footer-links li {
    margin-bottom: 12px;
    transition: transform 0.3s;
}

.footer-links li:hover {
    transform: translateX(5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 10px;
    background-color: #f7cd00;
    border-radius: 50%;
    transition: transform 0.3s, background-color 0.3s;
    z-index: 1;
}

.footer-links a:hover {
    color: white !important;
}

.footer-links a:hover::before {
    transform: scale(1.5);
    background-color: white;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info li:hover {
    color: white;
}

.contact-info i {
    margin-right: 15px;
    color: #f7cd00;
    font-size: 18px;
    min-width: 20px;
    text-align: center;
    transform: translateY(3px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f7cd00;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    color: #003366 !important;
    transform: translateY(-5px);
}

.social-icon:hover::before {
    transform: translateY(0);
}

.social-icon i {
    position: relative;
    z-index: 2;
}

.footer-form {
    margin-top: 25px;
}

.form-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.subscribe-form {
    display: flex;
    max-width: 100%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.form-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    outline: none;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background-color 0.3s;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    background-color: rgba(255, 255, 255, 0.2);
}

.form-button {
    padding: 0 25px;
    background-color: #f7cd00;
    color: #003366 !important;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    opacity: 1 !important; /* ボタン表示を保証 */
}

.form-button i {
    margin-left: 5px;
    transition: transform 0.3s;
    position: relative;
    z-index: 2;
}

.form-button:hover {
    background-color: white;
    color: #003366 !important;
}

.form-button:hover i {
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #f7cd00;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: white;
}

/* レスポンシブスタイル */
@media screen and (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 36px;
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 700;
    }
    
    .hero-content p {
        font-size: 18px;
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 400;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    /* モバイルのボタンスタイル強化 */
    .btn {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 500;
        letter-spacing: 0.03em;
    }
}

@media screen and (max-width: 768px) {
    .section-title h2 {
        font-size: 36px;
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 700;
    }
    
    .hero-content h1 {
        font-size: 32px;
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 700;
    }
    
    .hero-content p {
        font-size: 16px;
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 400;
    }
    
    .services, 
    .careers, 
    .company-info, 
    .contact {
        padding: 80px 0;
    }
    
    .service-card {
        margin-bottom: 30px;
    }
    
    .service-content h3 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 600;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
    
    .footer-column h3 {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 600;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 700;
    }
    
    .btn {
        padding: 10px 25px;
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 500;
        border-radius: 8px; /* より丸みを持たせる */
    }
    
    .section-title h2 {
        font-size: 30px;
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 700;
    }
    
    .service-content h3 {
        font-size: 24px;
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 600;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    /* モバイル専用のフォント調整 */
    .service-content p,
    .careers-content p,
    .contact p,
    .info-item p {
        font-family: 'M PLUS Rounded 1c', sans-serif;
        font-weight: 400;
        font-size: 15px;
        letter-spacing: 0.01em;
        line-height: 1.7;
    }
}