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

:root {
    /* 和風カラーパレット - 白と水色ベース */
    --primary-color: #6fbbd3;  /* 瑠璃色（水色） */
    --primary-light: #a4d4e1;  /* 薄い水色 */
    --primary-dark: #4a9fb5;   /* 濃い水色 */
    --accent-color: #e6b8a2;   /* 珊瑚色（アクセント） */
    --secondary-color: #2c4f5d; /* 藍鉄色 */

    /* テキストカラー */
    --text-dark: #1a1a1a;      /* 墨色 */
    --text-medium: #4a4a4a;
    --text-light: #6b6b6b;
    --text-lighter: #8b8b8b;

    /* 背景色 */
    --bg-white: #fafafa;        /* 胡粉色（純白より柔らかい） */
    --bg-light: #f5f5f5;
    --bg-pattern: #f0f4f7;      /* 薄藍 */

    /* その他 */
    --border-color: #d4dce2;
    --border-light: #e8edf0;

    /* シャドウ - 柔らかく */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.12);

    /* トランジション */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;

    /* フォント */
    --font-main: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
    --font-heading: 'Noto Serif JP', 'Mincho', serif;
    --font-english: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    width: 100%;
}

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

/* 和風パターン背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(111, 187, 211, 0.02) 50px,
            rgba(111, 187, 211, 0.02) 51px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 50px,
            rgba(111, 187, 211, 0.02) 50px,
            rgba(111, 187, 211, 0.02) 51px
        );
    pointer-events: none;
    z-index: -1;
}

/* Loading Screen - 和風 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
}

.loader-logo {
    width: 200px;
    height: 200px;
    animation: float 3s ease-in-out infinite;
}

.circle-loader {
    animation: dash 2.5s ease-in-out infinite;
}

@keyframes dash {
    0% {
        stroke-dashoffset: 565;
    }
    50% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -565;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.loading-text {
    margin-top: 20px;
    font-family: var(--font-main);
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-weight: 300;
}

/* カスタムカーソル - 和風 */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 32px;
    height: 32px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
    opacity: 0.5;
}

body.cursor-hover .custom-cursor {
    transform: scale(2);
    background-color: var(--accent-color);
}

body.cursor-hover .cursor-follower {
    transform: scale(1.5);
    border-color: var(--accent-color);
}

/* ヘッダー - 和風 */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    background: rgba(250, 250, 250, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.navbar {
    padding: 1.2rem 0;
    transition: var(--transition);
}

.header.scrolled .navbar {
    padding: 0.8rem 0;
}

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

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-svg {
    width: 45px;
    height: 45px;
    margin-right: 12px;
}

.logo-text {
    font-family: var(--font-english);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
}

/* ナビゲーションメニュー */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
    display: block;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ヒーローセクション - 和風 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafb 0%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
}

/* 波紋アニメーション */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--primary-light);
    opacity: 0.3;
    animation: ripple 4s linear infinite;
}

.hero::before {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 10%;
}

.hero::after {
    width: 400px;
    height: 400px;
    bottom: 10%;
    left: 5%;
    animation-delay: 2s;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-subtitle {
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 1rem;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 3rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* ボタンスタイル - 和風 */
.btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(111, 187, 211, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(111, 187, 211, 0.2);
}

/* セクション共通 */
.section {
    padding: 100px 0;
    position: relative;
}

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

/* セクションタイトル - 和風 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--primary-color);
}

.section-subtitle::before {
    right: calc(100% + 15px);
}

.section-subtitle::after {
    left: calc(100% + 15px);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-description {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Aboutセクション */
.about {
    background: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--primary-light);
    border-radius: 10px;
    z-index: -1;
    opacity: 0.5;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* 特徴リスト - 和風 */
.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-medium);
}

.feature-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* サービスセクション */
.services {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

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

.service-card {
    background: var(--bg-white);
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-medium);
    line-height: 1.7;
}

/* 実績セクション - 和風 */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-family: var(--font-english);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* お問い合わせセクション */
.contact {
    background: var(--bg-white);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 15px;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(111, 187, 211, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* フッター - 和風 */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p,
.footer-section ul {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 大画面PC用 (1920px以上) */
@media (min-width: 1920px) {
    :root {
        font-size: 18px;
    }

    .container {
        max-width: 1600px;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        max-width: 1200px;
    }

    .hero-title {
        font-size: 5.5rem;
        margin-bottom: 2rem;
    }

    .hero-subtitle {
        font-size: 20px;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 20px;
        max-width: 800px;
        margin: 0 auto 3rem;
    }

    .btn {
        padding: 18px 40px;
        font-size: 18px;
    }

    .section {
        padding: 120px 0;
    }

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

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        max-width: 1400px;
    }

    .service-card {
        padding: 3rem;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }

    .about-content {
        gap: 6rem;
        max-width: 1400px;
        margin: 0 auto;
    }

    .stats-grid {
        max-width: 1200px;
        margin: 0 auto;
        gap: 4rem;
    }

    .stat-number {
        font-size: 4rem;
    }

    .contact-content {
        max-width: 900px;
    }

    .footer-content {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* デスクトップ (1440px以上) */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

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

    .section-header {
        margin-bottom: 5rem;
    }

    .services-grid {
        max-width: 1320px;
    }

    .about-content {
        max-width: 1200px;
    }
}

/* ラージデスクトップ (1200px以上) */
@media (min-width: 1200px) {
    .nav-container {
        max-width: 1400px;
    }

    .nav-menu {
        gap: 3rem;
    }

    .nav-link {
        font-size: 16px;
        padding: 8px 0;
    }

    /* ホバーエフェクト強化 */
    .service-card {
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .service-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 25px 50px rgba(111, 187, 211, 0.2);
    }

    .btn {
        position: relative;
        overflow: hidden;
    }

    .btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn:hover::after {
        width: 400px;
        height: 400px;
    }

    /* パララックス効果強化 */
    .hero::before {
        width: 400px;
        height: 400px;
    }

    .hero::after {
        width: 500px;
        height: 500px;
    }

    /* アニメーション追加 */
    .about-image {
        transition: transform 0.5s ease;
    }

    .about-image:hover {
        transform: scale(1.05) rotate(1deg);
    }

    .stat-item {
        transition: transform 0.3s ease;
    }

    .stat-item:hover {
        transform: translateY(-5px);
    }

    /* グリッドレイアウト最適化 */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* レスポンシブデザイン */

/* タブレット (1024px以下) */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 80px 0;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        gap: 3rem;
    }
}

/* モバイルタブレット (768px以下) */
@media (max-width: 768px) {
    /* ヘッダー・ナビゲーション */
    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    /* ハンバーガーメニュー表示 */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1002;
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 2px;
        margin: 5px auto;
        transition: all 0.3s ease;
        background-color: var(--text-dark);
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    /* モバイルメニュー */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0,0,0,0.08);
        padding: 2rem 0;
        gap: 0;
        z-index: 1001;
        max-height: calc(100vh - 65px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        padding: 0.8rem 0;
        width: 100%;
    }

    .nav-link {
        font-size: 16px;
        padding: 10px 20px;
        display: block;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background-color: rgba(111, 187, 211, 0.1);
        color: var(--primary-color);
    }

    /* ヒーローセクション */
    .hero {
        min-height: calc(100vh - 65px);
        padding: 40px 0;
    }

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

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 0.8rem;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 15px;
    }

    /* セクション共通 */
    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

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

    .section-subtitle {
        font-size: 13px;
    }

    .section-subtitle::before,
    .section-subtitle::after {
        width: 20px;
    }

    /* About セクション */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text h3 {
        font-size: 1.6rem;
    }

    /* サービスセクション */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    /* 統計セクション */
    .stats {
        padding: 60px 0;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Contact フォーム */
    .contact-form {
        padding: 2rem;
        border-radius: 10px;
    }

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

    .form-control {
        padding: 10px 14px;
        font-size: 14px;
    }

    /* フッター */
    .footer {
        padding: 50px 0 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* カーソル非表示 */
    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-follower {
        display: none;
    }

    /* 波紋アニメーション調整 */
    .hero::before,
    .hero::after {
        display: none;
    }

    /* パターン背景を薄く */
    body::before {
        opacity: 0.5;
    }
}

/* スマートフォン (480px以下) */
@media (max-width: 480px) {
    /* ナビゲーション */
    .nav-container {
        padding: 0 1rem;
    }

    .logo-svg {
        width: 35px;
        height: 35px;
    }

    .logo-text {
        font-size: 20px;
    }

    /* ヒーローセクション */
    .hero {
        padding: 30px 0;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* セクション */
    .section {
        padding: 50px 0;
    }

    .container {
        padding: 0 1rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .section-description {
        font-size: 14px;
        padding: 0 1rem;
    }

    /* About */
    .about-text h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 14px;
    }

    .feature-list li {
        font-size: 14px;
        padding: 0.6rem 0;
    }

    /* サービス */
    .service-card {
        padding: 1.8rem 1.5rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .service-card p {
        font-size: 13px;
    }

    /* 統計 */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Contact */
    .contact-form {
        padding: 1.5rem;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-control {
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 6px;
    }

    textarea.form-control {
        min-height: 120px;
    }

    /* フッター */
    .footer {
        padding: 40px 0 20px;
    }

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

    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .footer-section p,
    .footer-section ul li {
        font-size: 13px;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 12px;
    }
}

/* 極小画面対応 (360px以下) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

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

    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .service-card {
        padding: 1.5rem 1.2rem;
    }
}

/* ランドスケープモード対応 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .nav-menu {
        max-height: calc(100vh - 65px);
        overflow-y: auto;
    }
}

/* スクロールバー - 和風 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 選択時のカラー */
::selection {
    background: var(--primary-light);
    color: var(--text-dark);
}

::-moz-selection {
    background: var(--primary-light);
    color: var(--text-dark);
}