  /* styles.css */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'MS PMincho', serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f9fa;
            font-size: 14px;
        }

        /* Header */
        header {
            background-color: #474747;
            color: white;
            padding: 1rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 2rem;
            position: relative;
        }

        .logo img {
            height: 40px;
        }

        .main-nav {
            position: absolute;
            right: 2rem;
        }

        .nav-toggle {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            width: 40px;
            height: 40px;
        }

        .hamburger {
            width: 25px;
            height: 3px;
            background-color: white;
            margin: 3px 0;
            transition: 0.3s;
            display: block;
            border-radius: 2px;
        }

        .nav-menu {
            position: fixed;
            left: -100%;
            top: 70px;
            flex-direction: column;
            background-color: #474747;
            width: 100%;
            text-align: center;
            transition: 0.3s;
            box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
            padding: 2rem 0;
            gap: 2rem;
            z-index: 999;
            list-style: none;
            margin: 0;
        }

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

        .nav-menu li {
            margin: 0;
            list-style: none;
        }

        .main-nav a {
            color: white;
            text-decoration: none;
            transition: opacity 0.3s ease;
            font-size: 1.1rem;
            white-space: nowrap;
            display: block;
            padding: 0.5rem;
        }

        .main-nav a:hover {
            opacity: 0.8;
        }

        .instagram-link {
     display: flex !important;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    color: #333 !important;
    font-size: 16px;
}

.instagram-link img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.instagram-link:hover {
    opacity: 0.7;
}


        /* Main Content */
        .main-content {
            min-height: calc(100vh - 120px);
            padding: 2rem 0;
        }

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

        .page-title {
            font-size: 2rem;
            text-align: center;
            margin-bottom: 1rem;
            color: #474747;
            font-weight: bold;
        }

        .terms-intro {
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .terms-intro p {
            font-size: 0.95rem;
            color: #666;
        }

        .revision-info {
            text-align: right;
            margin-bottom: 2rem;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 5px;
            font-size: 0.85rem;
            color: #666;
        }

        /* Terms Content */
        .terms-content {
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
            padding: 3rem;
            margin-bottom: 2rem;
        }

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

        .terms-section:last-child {
            margin-bottom: 0;
        }

        .terms-section h2 {
            font-size: 1.3rem;
            color: #474747;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #474747;
        }

        .terms-section h3 {
            font-size: 1.1rem;
            color: #474747;
            margin: 2rem 0 1rem 0;
            font-weight: 600;
        }

        .terms-section p {
            margin-bottom: 1rem;
            line-height: 1.8;
            color: #555;
            font-size: 0.9rem;
        }

        .terms-section ul, .terms-section ol {
            margin: 1rem 0 1rem 2rem;
        }

        .terms-section li {
            margin-bottom: 0.8rem;
            line-height: 1.7;
            color: #555;
            font-size: 0.9rem;
        }

        .company-info {
            background: #f8f9fa;
            padding: 2rem;
            border-radius: 8px;
            margin: 2rem 0;
            border-left: 4px solid #474747;
        }

        .company-info h3 {
            color: #474747;
            margin-bottom: 1rem;
            border-bottom: none;
            font-size: 1rem;
        }

        .company-info p {
            margin-bottom: 0.5rem;
            color: #555;
            line-height: 1.6;
            font-size: 0.85rem;
        }

        .contact-section {
            background: #474747;
            color: white;
            padding: 2rem;
            border-radius: 10px;
            margin-top: 3rem;
            text-align: center;
        }

        .contact-section h3 {
            color: white;
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .contact-section p {
            color: white;
            margin-bottom: 0.5rem;
            font-size: 0.85rem;
        }

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 80px 0 0px 0px;
}

.cta-section h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.cta-section h3.desktop-text,
.cta-section h3.mobile-text {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.contact-info-button {
    margin: 0;
}

.contact-info-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 120px;
    border: 2px solid #333;
    background-color: transparent;
    color: #333;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: normal;
    transition: all 0.3s ease;
    position: relative;
}

.contact-info-btn:after {
    content: '>';
    margin-left: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.contact-info-btn:hover {
    background-color: #333;
    color: #fff;
}

.contact-info-btn:hover:after {
    transform: translateX(5px);
}

/* デスクトップ・モバイル用テキスト表示切り替え */
.desktop-text {
    display: block;
}

.mobile-text {
    display: none;
}


        /* Footer */
        footer {
            background-color: #474747;
            color: white;
            padding: 2rem;
            margin-top: 3rem;
        }

        footer img {
            height: 60px;
            flex-shrink: 0;
        }

        footer > div {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center; 
        }

        footer .inner {
            border: 2px solid white;
            padding: 1.2rem 2rem;
            margin-bottom: 2rem;
            display: flex;
            align-items: center;
            gap: 2rem;
            position: relative;
        }

        footer .inner::after {
            content: '';
            position: absolute;
            left: 50%;
            top: 0%;
            bottom: 0%;
            width: 1px;
            background-color: white;
            transform: translateX(-50%);
        }

        footer .inner > div:first-child {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        footer address {
            flex: 1;
            font-style: normal;
            line-height: 1.5;
            font-size: 0.9rem;
            font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'MS PMincho', serif;
            text-align: left; 
        }

        footer address p {
            margin-bottom: 0.3rem;
        }

        footer nav ul {
            list-style: none;
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
            margin-bottom: 1rem;
        }

        footer nav a {
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
            transition: opacity 0.3s ease;
            white-space: nowrap;
        }

        footer nav a:hover {
            opacity: 0.8;
        }

        footer small {
            font-size: 0.85rem;
            opacity: 0.9;
            margin: 0;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .header-inner {
                padding: 0 1rem;
            }

            .main-nav {
                right: 1rem;
            }

   .instagram-link img {
        width: 24px;  /* モバイルでは24px */
        height: 24px; /* モバイルでは24px */
        margin-bottom: 8px;
    }

            .container {
                padding: 0 1rem;
            }

            .page-title {
                font-size: 1.6rem;
            }

            .terms-content {
                padding: 2rem;
            }

            .terms-section h2 {
                font-size: 1.2rem;
            }

            .terms-section h3 {
                font-size: 1rem;
            }

           .cta-section {
    text-align:center;
    margin: 80px 0 0px 0px;
}

    .cta-section h3 {
        margin-left: 0;
      font-size: 18px;
    }
  
   .cta-section h3.desktop-text {
        display: none;
    }
    
    .cta-section h3.mobile-text {
        display: block;
    }

    .contact-info-btn {
        padding: 14px 80px;
        font-size: 15px;
    }

            footer {
                padding: 1rem;
            }

            footer .inner {
                border: 1px solid white;
                flex-direction: column;
                gap: 1rem;
                padding: 1rem 1.5rem;
                margin-bottom: 1.5rem;
            }

            footer .inner::after {
                display: none;
            }

            footer .inner > div:first-child {
                flex: none;
                justify-content: center;
            }

            footer address {
                flex: none;
            }

            footer nav ul {
                justify-content: center;
                gap: 1rem;
                font-size: 0.85rem;
            }

            footer nav a {
                font-size: 0.85rem;
            }

/* モバイル表示：mobile-text表示、desktop-text非表示 */
    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: block;
    }

        }

        @media (max-width: 480px) {
            .page-title {
                font-size: 1.4rem;
            }

            .terms-intro {
                padding: 1.5rem;
            }

            .terms-content {
                padding: 1.5rem;
            }

            .terms-section {
                margin-bottom: 2rem;
            }

            .company-info {
                padding: 1.5rem;
            }
        }

        /* Animation for smooth transitions */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .terms-content {
            animation: fadeIn 0.5s ease;
        }