/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* text color from YAML */
    background-color: #FFFFFF; /* primary color from YAML */
}

/* ========================================
   Accessibility
   ======================================== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   Layout & Container
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   Header - クールでクリエイティブなデザイン
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95); /* primary with transparency */
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333333; /* text color */
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a:hover {
    color: #007BFF; /* accent color */
}

.logo-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: #333333; /* text color */
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #007BFF; /* accent color */
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link--active {
    color: #007BFF; /* accent color */
}

.nav-link:hover::after,
.nav-link--active::after {
    width: 100%;
}

/* ========================================
   Main Content
   ======================================== */
main {
    margin-top: 60px;
}

/* ========================================
   Hero Section - クリエイティブなデザイン
   ======================================== */
.hero {
    background: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 50%, #F5F5F5 100%); /* secondary to primary gradient */
    padding: 2rem 0 8rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/BG_img/backgroundimg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: flex-start;
    min-height: 55vh;
    padding-top: 0;
}

.hero-text {
    padding: 1rem 0;
    text-align: left;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #333333; /* text color */
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.highlight-text {
    color: #007BFF; /* accent color - same as primary button */
}

/* デスクトップでのタイトル調整 */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 5rem;
        line-height: 1.15;
        margin-bottom: 3rem;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .hero-title {
        font-size: 4rem;
        line-height: 1.2;
        margin-bottom: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 3.5rem;
    line-height: 1.7;
    max-width: 500px;
}

.hero-image {
    position: relative;
    height: 550px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1rem;
}

.hero-image-bg {
    position: relative;
    width: 100%;
    height: 480px;
    background-image: url('../images/BG_img/herosectionBGimg1280.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.hero-image-bg::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0.05));
    border-radius: 35px;
    z-index: -1;
}

.hero-image-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.1) 0%, 
        transparent 40%, 
        transparent 60%, 
        rgba(0, 123, 255, 0.05) 100%);
    border-radius: 30px;
}

.hero-image:hover .hero-image-bg {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ========================================
   Buttons - クールなデザイン
   ======================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: #007BFF; /* accent color */
    color: #FFFFFF; /* primary color */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #007BFF; /* accent color */
    border: 2px solid #007BFF; /* accent color */
}

.btn-secondary:hover {
    background-color: #007BFF; /* accent color */
    color: #FFFFFF; /* primary color */
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* ========================================
   Section Styles
   ======================================== */
.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #333333; /* text color */
    letter-spacing: -0.02em;
}

.section-description {
    text-align: center;
    color: rgba(51, 51, 51, 0.7);
    margin-bottom: 4rem;
    font-size: 1.125rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   About Section
   ======================================== */
.about {
    padding: 8rem 0;
    background-color: #FFFFFF; /* primary color */
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
}

.about-image {
    text-align: center;
}

.profile-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #FFFFFF; /* primary color */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-occupation {
    font-weight: 600;
    color: #007BFF; /* accent color */
    font-size: 1.25rem;
    margin-top: 2rem;
}

/* ========================================
   Skills Section - 3カラムレイアウト
   ======================================== */
.skills {
    padding: 8rem 0;
    background-color: #FFFFFF; /* primary color */
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/BG_img/backgroundimg.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.skills .container {
    position: relative;
    z-index: 2;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.skill-item {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background-color: #FFFFFF; /* primary color */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(245, 245, 245, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007BFF, #4dabf7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.skill-item:hover::before {
    transform: scaleX(1);
}

.skill-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

/* アイコン画像 - 100px四方 */
.skill-icon-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.skill-item:hover .skill-icon-image {
    transform: rotate(5deg) scale(1.1);
}

.skill-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333333; /* text color */
}

.skill-description {
    color: rgba(51, 51, 51, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Skills CTA - 制作実績へのリンク */
.skills-cta {
    text-align: center;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.skills-cta-text {
    color: #666666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.skills-cta .btn-large {
    font-size: 1.1rem;
    padding: 1rem 3rem;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.2);
}

.skills-cta .btn-large:hover {
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.3);
}

/* ========================================
   WebAR Intro Section - WebAR紹介
   ======================================== */
.webar-intro {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    position: relative;
    overflow: hidden;
}

.webar-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.webar-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.webar-intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

.webar-intro-description {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(51, 51, 51, 0.85);
    margin: 0 0 2rem 0;
}

.webar-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.webar-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #333333;
}

.feature-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.webar-intro-action {
    margin-top: 2rem;
}

.webar-intro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.webar-visual-card {
    background: linear-gradient(135deg, #007BFF 0%, #0056b3 100%);
    border-radius: 25px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 123, 255, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.webar-visual-card:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 123, 255, 0.4);
}

.webar-visual-icon {
    font-size: 6rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.1em;
}

.webar-visual-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0;
    line-height: 1.6;
    opacity: 0.95;
}

/* ========================================
   Pricing Section - 料金表
   ======================================== */
.pricing {
    padding: 8rem 0;
    background-color: #FFFFFF; /* primary color */
}

.pricing-category {
    margin-bottom: 4rem;
    background-color: #FFFFFF; /* primary color */
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(245, 245, 245, 0.8);
}

.pricing-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333333; /* text color */
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #007BFF; /* accent color */
    position: relative;
}

.pricing-category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #007BFF; /* accent color */
}

.pricing-subcategory {
    margin-bottom: 2.5rem;
}

.pricing-subcategory:last-child {
    margin-bottom: 0;
}

.pricing-subcategory-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #007BFF; /* accent color */
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 123, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #007BFF; /* accent color */
}

.pricing-subcategory-note {
    font-size: 0.875rem;
    color: rgba(51, 51, 51, 0.7);
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background-color: #F5F5F5; /* secondary color */
    border-radius: 8px;
    font-style: italic;
}

.pricing-table {
    display: grid;
    gap: 0.75rem;
}

.pricing-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #FFFFFF; /* primary color */
    border: 1px solid #F5F5F5; /* secondary color */
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-item:hover {
    border-color: #007BFF; /* accent color */
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.pricing-service {
    font-weight: 500;
    color: #333333; /* text color */
    font-size: 0.95rem;
}

.pricing-price {
    font-weight: 600;
    color: #007BFF; /* accent color */
    font-size: 1rem;
    white-space: nowrap;
}

.pricing-note {
    grid-column: 1 / -1;
    font-size: 0.8rem;
    color: rgba(51, 51, 51, 0.6);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #F5F5F5; /* secondary color */
}

/* 全体注意事項 */
.pricing-note-general {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #FFFFFF; /* primary color */
    border-radius: 15px;
    border-left: 4px solid #007BFF; /* accent color */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.pricing-note-general p {
    margin: 0;
    color: rgba(51, 51, 51, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
}

/* FAQ CTA in Pricing Section */
.pricing-faq-cta {
    margin-top: 3rem;
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.pricing-faq-text {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    color: #333333;
    font-weight: 500;
}

.pricing-faq-cta .btn-large {
    display: inline-block;
    min-width: 260px;
}

/* ========================================
   Links Section - SNS・その他リンク
   ======================================== */
.links {
    padding: 6rem 0;
    background-color: #FFFFFF; /* primary color */
}

.links-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #007BFF; /* accent color - same as hero button */
    color: #FFFFFF; /* primary color */
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 120px; /* 統一されたボタン幅 */
    justify-content: center;
}

.link-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.link-btn:hover::before {
    left: 100%;
}

.link-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.link-name {
    color: inherit;
}

.link-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* アイコンを白色にする */
}

/* ========================================
   Products Section - 商品リンク
   ======================================== */
.products {
    padding: 8rem 0;
    background-color: #FFFFFF; /* primary color */
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/BG_img/backgroundimg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.products .container {
    position: relative;
    z-index: 2;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background-color: #FFFFFF; /* primary color */
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(245, 245, 245, 0.8);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #007BFF; /* accent color */
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #F5F5F5; /* secondary color */
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-thumbnail {
    transform: scale(1.05);
}

.product-content {
    padding: 2rem;
}

.product-category {
    font-size: 1.25rem;
    font-weight: 600;
    color: #007BFF; /* accent color */
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 123, 255, 0.1);
    padding-bottom: 0.5rem;
}

.product-description {
    color: rgba(51, 51, 51, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.btn-outline {
    background-color: transparent;
    color: #007BFF; /* accent color */
    border: 2px solid #007BFF; /* accent color */
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: #007BFF; /* accent color */
    color: #FFFFFF; /* primary color */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* ========================================
   Contact Section - Googleフォーム版
   ======================================== */
.contact {
    padding: 8rem 0;
    background-color: #F5F5F5; /* secondary color */
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/BG_img/backgroundimg.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    margin-top: 3rem;
}

.contact-description {
    font-size: 1.125rem;
    color: rgba(51, 51, 51, 0.8);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.contact-action {
    margin-top: 2rem;
}

.btn-large {
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
    min-width: 240px;
}

/* ========================================
   Works Page Styles
   ======================================== */
.page-header {
    padding: 6rem 0 3rem;
    text-align: center;
    background: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 100%); /* secondary to primary */
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/BG_img/backgroundimg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333333; /* text color */
    letter-spacing: -0.02em;
}

.page-description {
    font-size: 1.125rem;
    color: rgba(51, 51, 51, 0.7);
}

/* Filter Buttons */
.works-filter {
    padding: 2rem 0;
    background-color: #F5F5F5; /* secondary color */
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid rgba(51, 51, 51, 0.1);
    background-color: #FFFFFF; /* primary color */
    color: rgba(51, 51, 51, 0.7);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn--active {
    border-color: #007BFF; /* accent color */
    background-color: #007BFF; /* accent color */
    color: #FFFFFF; /* primary color */
    transform: translateY(-2px);
}

/* Works Grid */
.works-grid {
    padding: 4rem 0;
    background-color: #FFFFFF; /* primary color */
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.work-item {
    background-color: #FFFFFF; /* primary color */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(245, 245, 245, 0.8);
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.work-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background-color: #F5F5F5; /* secondary color */
}

/* 画像表示 */
.work-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-item:hover .work-image-img {
    transform: scale(1.05);
}

.work-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.work-category {
    background-color: rgba(0, 123, 255, 0.902); /* accent color with transparency */
    color: #FFFFFF; /* primary color */
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.work-content {
    padding: 2rem;
}

.work-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333333; /* text color */
}

.work-description {
    color: rgba(51, 51, 51, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.work-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.tech-tag {
    background-color: #F5F5F5; /* secondary color */
    color: rgba(51, 51, 51, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* CTA Section */
.works-cta {
    padding: 6rem 0;
    background-color: #F5F5F5; /* secondary color */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.works-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/BG_img/backgroundimg.jpg');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.works-cta .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333333; /* text color */
    line-height: 1.2;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(51, 51, 51, 0.7);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.cta-actions {
    margin-top: 2rem;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 4rem 0;
    color: rgba(51, 51, 51, 0.6);
    font-size: 1.125rem;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: #333333; /* text color as background */
    color: #FFFFFF; /* primary color */
    padding: 3rem 0;
    text-align: center;
}

.footer-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ========================================
   Animation Classes (for JavaScript)
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 20px;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .logo a {
        font-size: 1.5rem;
        gap: 0.5rem;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    main {
        margin-top: 140px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: auto;
        padding-top: 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        order: 2;
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.75rem;
        line-height: 1.3;
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero-image {
        order: 1;
        height: 300px;
        padding-top: 0;
        align-items: center;
    }
    
    .hero-image-bg {
        height: 250px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .contact-content {
        margin-top: 3rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* WebAR Intro - Mobile */
    .webar-intro {
        padding: 4rem 0;
    }
    
    .webar-intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .webar-intro-title {
        font-size: 2rem;
    }
    
    .webar-intro-description {
        font-size: 1rem;
    }
    
    .webar-feature-item {
        font-size: 0.95rem;
    }
    
    .webar-visual-card {
        padding: 3rem 2rem;
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .webar-visual-icon {
        font-size: 4.5rem;
    }
    
    .webar-visual-text {
        font-size: 1.1rem;
    }
    
    .pricing-category {
        padding: 2rem 1.5rem;
        margin-bottom: 2.5rem;
    }
    
    .pricing-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
        padding: 1rem;
    }
    
    .pricing-price {
        font-size: 0.9rem;
    }
    
    .pricing-note-general {
        padding: 1.5rem;
    }
    
    .links-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .link-btn {
        min-width: 150px;
        justify-content: center;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        min-width: 250px;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .filter-btn {
        min-width: 200px;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .page-title {
        font-size: 2.75rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.25rem;
    }
    
    .skill-item {
        padding: 2rem 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .btn {
        min-width: 100%;
    }
    
    /* WebAR Intro - Small Mobile */
    .webar-intro {
        padding: 3rem 0;
    }
    
    .webar-intro-title {
        font-size: 1.75rem;
    }
    
    .webar-intro-description {
        font-size: 0.9rem;
    }
    
    .webar-feature-item {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }
    
    .feature-check {
        width: 24px;
        height: 24px;
        font-size: 0.95rem;
    }
    
    .webar-visual-card {
        padding: 2.5rem 1.5rem;
    }
    
    .webar-visual-icon {
        font-size: 4rem;
    }
    
    .webar-visual-text {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        margin: 0 auto;
        max-width: 350px;
    }
}
