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

html {
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer/Edge */
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

body {
    background: #f7f3ed;
    font-family: 'Noto Sans JP', 'Arial', sans-serif;
    line-height: 1.6;
    color: #000;
    opacity: 0;
    transition: opacity 0.6s ease-out;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

body.loaded {
    opacity: 1;
}

/* 画像保護 */
img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* 対象業界セクション */
.target-industries {
    padding: 60px 0;
    background: #f7f3ed;
}

.target-industries .container {
    padding: 0;
    max-width: none;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #000;
}

.industries-grid {
    display: flex;
    justify-content: center;
    gap: 5px;
    width: 100%;
    margin: 0 auto;
}

.industry-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 15px 15px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


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

.industry-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.industry-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.need-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.need-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.industry-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.industry-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(247, 243, 237, 0.3);
    border-bottom: 2px solid rgba(229, 229, 229, 0.4);
    z-index: 1000;
    backdrop-filter: blur(8px) saturate(1.2);
    -webkit-backdrop-filter: blur(8px) saturate(1.2);
    box-sizing: border-box;
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #333 0%, #666 100%);
    transition: width 0.1s ease;
    width: 0%;
}

nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: transparent;
    color: #333;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    font-style: normal;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a:visited {
    color: inherit;
}

.logo a:hover {
    color: inherit;
    text-decoration: none;
}

.logo .logo-3d {
    color: #333;
    font-weight: 600;
}

/* ハンバーガーメニュー - デフォルトで非表示（メディアクエリで制御） */
.hamburger-menu {
    display: none;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 1001;
}







.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    font-size: 0.875rem;
}

/* ハンバーガーメニューとモバイルメニューは基本的に非表示（モバイルでのみ表示） */
.hamburger-menu,
.mobile-menu {
    display: none;
}

/* この設定は削除 - 最下部のPC版設定を使用 */

.nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    overflow: hidden;
    position: relative;
    padding: 0 30px;
    border-right: 1px solid #e5e5e5;
    height: 40px;
}

.nav-links a:first-child {
    padding-left: 0;
}

.nav-links a:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}


.nav-links a .link-text {
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 1.2em;
}

.nav-links a .link-text span {
    display: block;
    transition: transform 0.4s ease;
}

.nav-links a .link-text span:first-child {
    transform: translateY(0);
}

.nav-links a .link-text span:last-child {
    transform: translateY(100%);
    position: absolute;
    top: 0;
    left: 0;
}

.nav-links a:hover .link-text span:first-child {
    transform: translateY(-100%);
}

.nav-links a:hover .link-text span:last-child {
    transform: translateY(0);
}

.nav-links .arrow {
    font-size: 1.125rem;
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 1em;
    height: 1.2em;
}

.nav-links .arrow::before {
    content: '\2192';
    position: absolute;
    top: 0;
    left: 0;
    transition: none;
    transform: translateX(0);
}

.nav-links a:hover .arrow::before {
    transition: transform 0.3s ease;
    transform: translateX(100%);
}

.nav-links .arrow::after {
    content: '\2192';
    position: absolute;
    top: 0;
    left: 0;
    transition: none;
    transform: translateX(-100%);
}

.nav-links a:hover .arrow::after {
    transition: transform 0.3s ease 0.15s;
    transform: translateX(0);
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 200px;
    text-align: left;
    padding: 200px 60px 300px 120px;
    position: relative;
    overflow: visible;
}

.hero-large-title {
    margin-bottom: 60px;
}

.hero-large-title h1 {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin: 0;
    overflow: visible;
    height: auto;
}

.hero-large-title h1 span {
    display: block;
    transform: translateY(100%);
    animation: slideUpReveal 0.4s ease-out 0s forwards;
}


.hero-subtitle {
    max-width: 800px;
    align-self: flex-start;
}

.hero-subtitle p {
    font-size: 1.2rem;
    margin: 8px 0;
    line-height: 1.6;
    overflow: hidden;
    height: 1.6em;
}

.hero-subtitle p span {
    display: block;
    transform: translateY(100%);
    opacity: 0.8;
}

/* レスポンシブテキスト制御：PC版デフォルト */
.pc-text {
    display: block;
}

.mobile-text {
    display: none !important;
}

.mobile-only {
    display: none !important;
}

.hero-subtitle p:first-child span {
    animation: slideUpReveal 0.4s ease-out 0.3s forwards;
}

.hero-subtitle p:nth-child(2) span {
    animation: slideUpReveal 0.4s ease-out 0.4s forwards;
}

.hero-subtitle p:last-child span {
    animation: slideUpReveal 0.4s ease-out 0.5s forwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s ease;
    overflow: hidden;
    animation: scrollFloat 2s ease-in-out infinite;
}

/* 横並び画像ギャラリー */
.image-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 150px auto 0;
    padding: 0 0;
    position: absolute;
    bottom: -250px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-bottom-image {
    width: 700px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateX(-100vw);
    animation: slideInFromLeft 1s ease-out forwards !important;
}

.hero-bottom-image:hover {
    transform: translateX(0) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-bottom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-bottom-image:hover img {
    transform: scale(1.1);
}

/* 画像説明文 */
.image-captions {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 20px auto 0;
    padding: 0 0;
}

/* 1段目の説明文（heroセクション内） */
.hero .image-captions {
    position: absolute;
    bottom: -290px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.caption-left,
.caption-right {
    width: 700px;
    font-size: 0.9rem;
    color: #666;
    text-align: left;
    line-height: 1.4;
    font-weight: 400;
}

.section-top-image {
    width: 700px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateX(100vw);
    animation: slideInFromRight 1s ease-out forwards;
}

.section-top-image:hover {
    transform: translateX(0) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.section-top-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.section-top-image:hover img {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .image-layout {
        flex-direction: column;
        gap: 40px;
        padding: 0;
        margin: 80px 0 100px 0;
        position: static;
        transform: none;
        width: 100%;
        z-index: 1;
    }
    
    .hero-bottom-image {
        width: 100%;
        height: 250px;
        position: relative;
        z-index: 1;
    }
    
    .section-top-image {
        width: 100%;
        height: 250px;
    }

    .image-layout-second {
        display: none !important;
    }
    
    .second-left-image {
        width: 100%;
        height: 250px;
        transform: translateX(0) !important;
        animation: none !important;
    }
    
    .second-right-image {
        width: 100%;
        height: 250px;
        transform: translateX(0) !important;
        animation: none !important;
    }

    .image-layout-third {
        display: none !important;
    }
    
    .third-left-image {
        width: 100%;
        height: 250px;
        transform: translateX(0) !important;
        animation: none !important;
    }
    
    .third-right-image {
        width: 100%;
        height: 250px;
        transform: translateX(0) !important;
        animation: none !important;
    }

    .image-layout-fourth {
        display: none !important;
    }
    
    .fourth-left-image {
        width: 100%;
        height: 250px;
        transform: translateX(0) !important;
        animation: none !important;
    }
    
    .fourth-right-image {
        width: 100%;
        height: 250px;
        transform: translateX(0) !important;
        animation: none !important;
    }

    /* スマホ版でサービスレイアウトを変更：タブ → アピールポイントの順序 */
    .services {
        padding: 140px 20px 80px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        position: relative;
        z-index: 10;
    }
    
    .services .services-tabs {
        order: 1 !important;
        margin-bottom: 40px !important;
        width: 100% !important;
    }
    
    /* スマホ版タブナビゲーション */
    .services .tab-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }
    
    .services .tab-button {
        width: 100% !important;
        padding: 15px 20px !important;
        text-align: left !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid #ddd !important;
        border-radius: 8px !important;
        font-size: 0.9rem !important;
        color: #333 !important;
        transition: all 0.3s ease !important;
    }
    
    .services .tab-button.active {
        background: rgba(51, 51, 51, 0.1) !important;
        color: #333 !important;
        border-color: #666 !important;
        font-weight: 600 !important;
    }
    
    .services .tab-button .tab-number {
        font-size: 0.8rem !important;
        margin-right: 12px !important;
        opacity: 0.7 !important;
    }
    
    .services .tab-button .tab-title {
        font-weight: 500 !important;
    }
    
    /* スマホ版タブコンテンツ */
    .services .tab-content {
        margin-bottom: 40px !important;
    }
    
    .services .tab-panel {
        padding: 20px !important;
        background: rgba(255, 255, 255, 0.6) !important;
        border-radius: 8px !important;
        border: 1px solid #eee !important;
    }
    
    .services .service-content {
        display: block !important;
    }
    
    .services .service-info h3 {
        font-size: 1.2rem !important;
        margin-bottom: 12px !important;
        color: #333 !important;
    }
    
    .services .service-info p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
        color: #666 !important;
    }
    
    .services .service-features {
        margin: 0 !important;
        padding-left: 20px !important;
    }
    
    .services .service-features li {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
        color: #666 !important;
    }
    
    .services .appeal-points {
        order: 2 !important;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 10px;
        width: 100%;
        display: flex;
    }
    
    .services .service-cta {
        order: 3 !important;
        margin-top: 10px !important;
        margin-bottom: 20px !important;
        padding: 30px 20px !important;
    }
    
    .appeal-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        min-width: auto;
        width: 90%;
        max-width: 280px;
    }
    
    .appeal-icon {
        margin-top: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .appeal-icon img {
        width: 120px !important;
        height: 120px !important;
    }
    
    .appeal-content {
        text-align: center !important;
        width: 100%;
    }
    
    .appeal-item h3 {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
        text-align: center !important;
    }
    
    .appeal-item p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }
    
    
    /* お問い合わせセクションの調整 */
    .contact {
        padding-top: 30px !important;
        padding-bottom: 40px !important;
    }
    
    .contact .section-title {
        font-size: 1.4rem !important;
    }
    
    /* フッターの調整 */
    footer {
        padding: 30px 20px 20px 20px !important;
    }
    
    footer .footer-content {
        gap: 20px !important;
    }
    
    footer .footer-section h4 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    
    footer .footer-section a,
    footer .footer-section {
        font-size: 0.85rem !important;
    }
    
    /* スマホ版キャプション非表示 */
    .image-captions {
        display: none !important;
    }
    
    .caption-left,
    .caption-right {
        width: 100%;
        text-align: center;
        font-size: 0.8rem;
    }
}

.scroll-text {
    font-size: 0.9rem;
    font-weight: 400;
    color: #000;
    opacity: 0.7;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    letter-spacing: 2px;
    overflow: hidden;
    height: 4em;
}

.scroll-indicator .scroll-text span {
    display: block;
    transform: translateY(100%);
    animation: slideUpReveal 0.3s ease-out 0.6s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: transparent;
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.4;
    transform: translateY(100%);
    animation: slideUpReveal 0.3s ease-out 0.7s forwards;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: #000;
    transform: translateY(-20px);
    opacity: 0;
    animation: scrollLine 2s infinite ease-in-out;
    animation-delay: 1.0s;
}

@keyframes scrollLine {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(60px);
        opacity: 0;
    }
}

@keyframes slideUpReveal {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0%);
    }
}

@keyframes scrollFloat {
    0% {
        transform: translateX(-50%) translateY(0px);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
    100% {
        transform: translateX(-50%) translateY(0px);
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100vw);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(0);
    }
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator:hover .scroll-text {
    opacity: 1;
}

.scroll-indicator:hover .scroll-line {
    opacity: 0.7;
}

.cta-button {
    background: transparent;
    border: 2px solid #000;
    color: #000;
    padding: 15px 40px;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #000;
    color: #f7f3ed;
}

/* 2段目画像レイアウト */
.image-layout-second {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 400px auto 0;
    padding: 0 0;
    position: relative;
}

.second-left-image {
    width: 700px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateX(-100vw);
}

.second-left-image:hover {
    transform: translateX(0) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.second-left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.second-left-image:hover img {
    transform: scale(1.1);
}

.second-right-image {
    width: 700px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateX(100vw);
}

.second-right-image:hover {
    transform: translateX(0) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.second-right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.second-right-image:hover img {
    transform: scale(1.1);
}

/* 3段目画像レイアウト */
.image-layout-third {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 150px auto 0;
    padding: 0 0;
    position: relative;
}

.third-left-image {
    width: 700px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateX(-100vw);
}

.third-left-image:hover {
    transform: translateX(0) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.third-left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.third-left-image:hover img {
    transform: scale(1.1);
}

.third-right-image {
    width: 700px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateX(100vw);
}

.third-right-image:hover {
    transform: translateX(0) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.third-right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.third-right-image:hover img {
    transform: scale(1.1);
}

/* 4段目画像レイアウト */
.image-layout-fourth {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 150px auto 0;
    padding: 0 0;
    position: relative;
}

.fourth-left-image {
    width: 700px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateX(-100vw);
}

.fourth-left-image:hover {
    transform: translateX(0) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.fourth-left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.fourth-left-image:hover img {
    transform: scale(1.1);
}

.fourth-right-image {
    width: 700px;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateX(100vw);
}

.fourth-right-image:hover {
    transform: translateX(0) translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.fourth-right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.fourth-right-image:hover img {
    transform: scale(1.1);
}

/* 画像モーダル */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-modal.show .modal-content {
    transform: scale(1);
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: opacity 0.2s ease;
}

.close-modal:hover {
    opacity: 0.7;
}

/* クリック可能な画像にカーソル */
.hero-bottom-image img,
.section-top-image img,
.second-left-image img,
.second-right-image img,
.third-left-image img,
.third-right-image img,
.fourth-left-image img,
.fourth-right-image img {
    cursor: pointer;
}

/* サービスセクション */
.services {
    padding: 200px 60px 120px 60px;
    width: 100%;
    margin: 0;
}

.section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-bottom: 50px;
    text-align: center;
    color: #333;
}

/* アピールポイント */
.appeal-points {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 80px;
    width: 100%;
    padding: 0 40px;
}

.appeal-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
    min-width: 400px;
}

.appeal-icon {
    font-size: 3rem;
    flex-shrink: 0;
    margin-top: -30px;
}

.appeal-icon img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    display: block;
}

.appeal-content {
    text-align: left;
}

.appeal-item h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #000;
    letter-spacing: 0.05em;
}

.appeal-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.services-tabs {
    display: flex;
    flex-direction: column;
}

.tab-nav {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 60px;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 20px 0;
    margin-right: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-button.active {
    border-bottom-color: #333;
}

.tab-number {
    font-size: 0.8rem;
    color: #999;
    font-weight: 300;
}

.tab-button.active .tab-number {
    color: #333;
}

.tab-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    transition: color 0.3s ease;
}

.tab-button.active .tab-title {
    color: #000;
    font-weight: 500;
}

.tab-button:hover .tab-title {
    color: #333;
}

.tab-content {
    position: relative;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-panel.active {
    display: block;
}

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

.service-content {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.service-info h3 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #000;
    letter-spacing: 0.1em;
    line-height: 1.3;
}

.service-info p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #333;
}

.service-image {
    position: relative;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* サービス誘導CTA */
.service-cta {
    text-align: center;
    margin-top: 40px;
    padding: 60px 40px;
    background: rgba(247, 243, 237, 0.5);
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.service-cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.service-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.service-cta-button:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.arrow-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* ポートフォリオセクション */
.portfolio {
    padding: 120px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.portfolio-btn {
    background: transparent;
    border: 1px solid #e5e5e5;
    color: #666;
    padding: 12px 24px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.portfolio-btn.active {
    background: #000;
    color: #f7f3ed;
    border-color: #000;
}

.portfolio-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: #333;
}

.portfolio-3d {
    width: 100%;
    height: 600px;
    position: relative;
}

.three-gallery {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(0,0,0,0.1), rgba(0,0,0,0.05));
}

.gallery-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.05);
}

.portfolio-item img,
.portfolio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img,
.portfolio-item:hover video {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.portfolio-overlay p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.portfolio-item:hover .play-button {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

/* お問い合わせセクション */
.contact {
    padding: 120px 60px;
    background: #f7f3ed;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
    color: #333;
}

.contact p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Services Page Styles */
.page-hero {
    padding: 120px 60px 80px;
    text-align: center;
    background: #f9f6f1;
}

.page-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #000;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
    line-height: 1.0;
    font-family: 'Arial', sans-serif;
}

.page-hero p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

/* フッター */
footer {
    background: #f7f3ed;
    border-top: 1px solid #e5e5e5;
    padding: 60px 0 30px 0;
    text-align: center;
}

footer p {
    text-align: center;
    margin: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-signature {
    font-size: 4rem;
    font-weight: 300;
    color: #333;
    font-style: italic;
    line-height: 1;
}

.footer-right {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.footer-section:nth-child(1) {
    text-align: center;
}

.footer-section:nth-child(2) {
    text-align: center;
}

.footer-section:nth-child(3) {
    text-align: center;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-item a[href^="mailto:"] {
    color: #333;
    text-decoration: none;
    position: relative;
    display: inline-block;
    font-size: 0.85rem;
    width: fit-content;
    margin: 0 auto;
}

.footer-item a[href^="mailto:"]:hover {
    color: #333;
}

.footer-item a[href^="mailto:"]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
}

.footer-item a[href^="mailto:"]:hover::after {
    width: 100%;
}

.footer-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.footer-link {
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.8;
}

.footer-link:hover {
    color: #333;
}

.footer-nav-link {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.nav-number {
    font-size: 0.75rem;
    color: #999;
    font-weight: 400;
    min-width: 24px;
}

.nav-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.footer-nav-link:hover .nav-number {
    color: #666;
}

.footer-nav-link:hover .nav-text {
    color: #333;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: #666;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form button {
    background: none;
    border: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0 0 0 10px;
}

.newsletter-form button:hover {
    color: #333;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
    font-weight: 300;
    margin: 0;
    text-align: center;
}

/* プライバシーポリシー */
.privacy-policy {
    padding: 120px 0 80px 0;
    background: #f7f3ed;
    min-height: 100vh;
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 0.9rem;
}

.privacy-content {
    background: white;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.privacy-section {
    margin-bottom: 40px;
}

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

.privacy-section h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.privacy-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.privacy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-section li {
    line-height: 1.6;
    color: #555;
    margin-bottom: 8px;
}

.contact-info {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 5px;
}

.contact-info a[href^="mailto:"] {
    color: #333;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.contact-info a[href^="mailto:"]:hover {
    color: #333;
}

.contact-info a[href^="mailto:"]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
}

.contact-info a[href^="mailto:"]:hover::after {
    width: calc(100% - 4px);
}

.back-to-home {
    text-align: center;
}

.back-button {
    display: inline-block;
    padding: 12px 30px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.back-button:hover {
    background: #555;
}

/* レスポンシブ */
@media (max-width: 768px) {
    /* PC版ナビゲーションを完全非表示 */
    .nav-links {
        display: none !important;
    }
    
    /* ハンバーガーメニューボタンをモバイルで表示 */
    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        position: absolute !important;
        top: 50% !important;
        right: 24px !important;
        transform: translateY(-50%) !important;
        z-index: 1001;
        transition: all 0.3s ease;
        padding: 0;
    }

    .hamburger-menu span {
        display: block;
        height: 2px;
        width: 100%;
        background: #333;
        border-radius: 1px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    /* ハンバーガーメニューアニメーション */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

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

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

    /* モバイルメニューの基本設定とオープン時の表示 */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(247, 243, 237, 0.95);
        backdrop-filter: blur(10px);
        z-index: 1000;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 70px;
        gap: 20px;
        transition: all 0.3s ease;
    }

    .mobile-menu.open {
        display: flex;
    }

    .mobile-menu a {
        color: #333;
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: 500;
        padding: 15px 20px;
        transition: all 0.3s ease;
    }

    .mobile-menu a:hover {
        color: #666;
        transform: translateX(5px);
    }

    nav {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .logo-section {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .logo {
        font-size: 1.4rem;
    }


    .hero {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services {
        padding: 80px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 60px;
        text-align: center;
    }

    .tab-nav {
        flex-direction: column;
        border-bottom: none;
        gap: 10px;
        margin-bottom: 40px;
    }

    .tab-button {
        margin-right: 0;
        padding: 15px;
        border: 1px solid #e5e5e5;
        border-bottom: 2px solid transparent;
        border-radius: 4px;
    }

    .tab-button.active {
        border-bottom-color: #333;
        background: rgba(0, 0, 0, 0.02);
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-info h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .service-info p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .service-features li {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .portfolio {
        padding: 80px 20px;
    }

    .portfolio-nav {
        gap: 10px;
        margin-bottom: 30px;
    }

    .portfolio-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .portfolio-3d {
        height: 400px;
    }

    .gallery-controls {
        bottom: 10px;
        padding: 8px 16px;
        font-size: 0.7rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-overlay {
        padding: 15px;
    }

    .portfolio-overlay h3 {
        font-size: 0.9rem;
    }

    .portfolio-overlay p {
        font-size: 0.75rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .contact {
        padding-top: 5px !important;
        padding-bottom: 30px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-top: -30px !important;
    }
    
    .contact .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .contact .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 20px !important;
    }
    
    .contact p {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
    }
    
    .contact-info {
        margin-bottom: 15px !important;
        padding: 0 10px !important;
        width: 100% !important;
    }
    
    .contact-form {
        padding: 0 10px !important;
        width: 100% !important;
    }
    
    /* モバイル版改行制御 */
    .br-mobile::before {
        content: "\A";
        white-space: pre;
    }

    footer {
        padding: 20px 0 15px 0 !important;
        margin-top: 30px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    footer .footer-content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin-bottom: 20px !important;
        gap: 10px !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 15px !important;
    }
    
    footer .footer-section {
        display: block !important;
        flex: 1 !important;
        text-align: left !important;
        margin-bottom: 0 !important;
    }
    
    footer .footer-section h4 {
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
        color: #333 !important;
        text-align: left !important;
    }
    
    footer .footer-item {
        margin-bottom: 5px !important;
    }
    
    footer .footer-item a {
        font-size: 0.75rem !important;
        color: #666 !important;
        text-decoration: none !important;
        display: block !important;
        margin-bottom: 6px !important;
        text-align: left !important;
        line-height: 1.3 !important;
    }
    
    footer .footer-item a:hover {
        color: #333 !important;
    }
    
    footer .footer-bottom {
        border-top: 1px solid #ddd !important;
        padding-top: 15px !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    footer .footer-bottom p {
        font-size: 0.75rem !important;
        color: #888 !important;
        margin: 0 !important;
        text-align: center !important;
    }
    
    
    /* ヒーローセクションのレスポンシブ */
    .hero-large-title {
        margin-bottom: 20px;
    }

    .hero-large-title h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        height: auto;
        overflow: visible;
    }
    
    .hero-large-title h1 span {
        transform: none;
        animation: none;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-subtitle p {
        font-size: 0.9rem;
    }
    
    /* スマホ版ではPC用テキストを非表示 */
    .pc-text {
        display: none !important;
    }
    
    /* スマホ版ではモバイル用テキストを表示 */
    .mobile-text {
        display: block !important;
        transform: translateY(100%);
        opacity: 0.8;
        animation: slideUpReveal 0.4s ease-out 0.3s forwards;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .mobile-only .mobile-text {
        animation: slideUpReveal 0.4s ease-out 0.5s forwards;
    }

    .hero {
        padding: 180px 20px 0 20px;
        position: relative;
        z-index: 5;
    }
    
    /* プライバシーポリシー モバイル対応 */
    .privacy-container {
        padding: 0 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .privacy-content {
        padding: 30px 20px;
    }
    
    .privacy-section h2 {
        font-size: 1.2rem;
    }
    
    .scroll-indicator {
        display: none !important;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
    
    .scroll-line {
        height: 50px;
    }
    
    /* Services Page Mobile Styles */
    .page-hero {
        padding: 100px 20px 60px !important;
    }
    
    .page-hero h1 {
        font-size: 2.5rem !important;
        margin: 0 0 15px 0 !important;
        line-height: 1.1 !important;
    }
    
    .page-hero p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }
    
}

/* 新しいサービスページ専用スタイル */

/* 共通要素 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヒーローセクション */
.services-hero {
    background: #f7f3ed;
    padding: 120px 0 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.services-hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
}

.hero-subtitle-large {
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center;
    font-weight: 300;
}

.hero-subtitle-second {
    font-size: 1.8rem;
    color: #888;
    margin-bottom: 50px;
    line-height: 1.6;
    text-align: center;
    font-weight: 300;
}

/* タブ境目セクション */
.tab-boundary-section {
    position: relative;
    padding: 20px 0;
    background: #fff;
}

.tab-boundary-section .tab-nav {
    position: relative;
    z-index: 10;
}

/* サービス説明セクション */
.service-description {
    text-align: center;
    margin-bottom: 60px;
    padding: 10px 0 40px 0;
}

.service-description .container {
    max-width: none !important;
}

.service-description h3 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 600;
}

.service-description p {
    font-size: 1.1rem;
    line-height: 2.0;
    color: #555;
    margin-bottom: 25px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.service-lead {
    font-size: 1.3rem !important;
    color: #333 !important;
    font-weight: 400;
    margin-bottom: 40px !important;
}

.service-features {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin: 40px 0;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 25px 5%;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
    max-width: 550px;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.feature-item p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .service-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-lead {
        font-size: 1.2rem !important;
    }
}

.service-strength {
    background: rgba(247, 243, 237, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    border-left: 4px solid #d4af37;
}

.service-strength p {
    margin-bottom: 15px;
}

.service-strength p:last-child {
    margin-bottom: 0;
}

.service-strength strong {
    color: #333;
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* サービスタブセクション */
.services-tabs-section {
    padding: 40px 0;
    background: #fff;
}

.services-tabs-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.solutions-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
    color: #333;
}

/* タブナビゲーション */
.services-tabs .tab-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    background: #f8f8f8;
    border-radius: 50px;
    padding: 8px;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

.tab-button {
    flex: 1;
    background: transparent;
    border: none;
    padding: 20px 40px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    white-space: nowrap;
}

.tab-button:hover {
    background: rgba(51, 51, 51, 0.1);
}

.tab-button.active {
    background: #e0e0e0;
    color: #333;
}

.tab-number {
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0.8;
}

.tab-title {
    font-weight: 500;
    font-size: 1rem;
}

.tab-button.active .tab-number,
.tab-button.active .tab-title {
    opacity: 1;
}

/* タブコンテンツ */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* タブ内の業界別ニーズ */
.tab-needs {
    margin-bottom: 60px;
}

.tab-needs h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.tab-needs .needs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100vw;
    max-width: none;
    padding: 0 40px;
    margin-left: calc(-50vw + 50%);
}

@media (max-width: 1024px) {
    .tab-needs .needs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tab-needs .needs-grid {
        grid-template-columns: 1fr;
    }
}

/* タブ内のケーススタディ */
.tab-case {
    margin-bottom: 60px;
}

.tab-case h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

/* タブ内の料金セクション */
.tab-pricing {
    background: rgba(247, 243, 237, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.tab-pricing h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.price-range-large {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    display: block;
}

.pricing-tiers {
    margin-bottom: 15px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pricing-tier {
    text-align: center;
    padding: 25px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

.tier-size {
    font-size: 1.3rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 15px;
}

.tier-price {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.tab-pricing > p {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.pricing-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-features li {
    background: #fff;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #666;
    border: 1px solid #eee;
    list-style: none;
}

/* 3Dデータ活用支援セクション */
.tab-utilization {
    margin-bottom: 60px;
}

.tab-utilization h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.tab-utilization > p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.utilization-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 0px;
}

.utilization-item {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.utilization-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.util-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.utilization-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.utilization-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* スマホ対応 - タブ */
@media (max-width: 768px) {
    .services-tabs .tab-nav {
        flex-direction: column;
        gap: 8px;
        border-radius: 15px;
        background: #f8f8f8;
        padding: 10px;
    }
    
    .tab-button {
        padding: 15px 20px;
        border-radius: 10px;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .tab-number {
        font-size: 0.9rem;
    }
    
    .tab-title {
        font-size: 0.9rem;
    }
    
    .tab-needs .needs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .price-range-large {
        font-size: 2rem;
    }
    
    .pricing-tiers {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tier-size {
        font-size: 1.1rem;
    }
    
    .tier-price {
        font-size: 1.5rem;
    }
    
    .pricing-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .tab-case .case-item {
        grid-template-columns: 1fr;
    }
    
    .utilization-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .pricing-features {
        grid-template-columns: 1fr;
    }
}

.industry-needs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.need-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.need-card:hover {
    border-color: #333;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.need-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.need-card h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #333;
}

.need-problem, .need-solution {
    margin-bottom: 20px;
    text-align: left;
}

.need-problem strong, .need-solution strong {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.need-problem strong {
    color: #cc4444;
}

.need-solution strong {
    color: #44cc44;
}

.need-problem p, .need-solution p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
}

.need-price {
    position: absolute;
    top: 20px;
    right: 20px;
}

.price-range {
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ビフォーアフターセクション */
.before-after {
    padding: 100px 0;
    background: rgba(247, 243, 237, 0.3);
}

.before-after h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.cases-grid {
    display: grid;
    gap: 60px;
}

.case-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.case-item:nth-child(even) {
    direction: rtl;
}

.case-item:nth-child(even) .case-story {
    direction: ltr;
}

.case-images {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
}

.before-image, .after-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    margin-bottom: 0;
}

.before-image {
    order: 2;
}

.after-image {
    order: 1;
}

.before-image img, .after-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.case-item:hover .before-image img,
.case-item:hover .after-image img {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-story h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.case-story h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.case-story p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.case-results {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: flex-start;
}

/* スマホ版でのタグ部分のスペース調整 */
@media screen and (max-width: 768px) {
  .case-results {
    margin-top: 20px;
  }
}

.result-item {
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

/* サービス料金パッケージ */
.service-packages {
    padding: 100px 0;
    background: #fff;
}

.service-packages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

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

.package-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.package-card.popular {
    border-color: #333;
    transform: scale(1.05);
}

.package-card:hover {
    border-color: #333;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.package-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.package-ribbon {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 5px 15px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.package-price {
    margin-bottom: 30px;
}

.package-price .price {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.package-price .unit {
    font-size: 1.2rem;
    color: #666;
}

.package-features ul {
    text-align: left;
    margin-bottom: 30px;
}

.package-features li {
    padding: 8px 0;
    color: #666;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.package-suitable {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.package-suitable strong {
    display: block;
    color: #333;
    margin-bottom: 8px;
}

.package-suitable p {
    color: #666;
    font-size: 0.9rem;
}

.package-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* お客様の声 */
.testimonials {
    padding: 100px 0;
    background: rgba(247, 243, 237, 0.3);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

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

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 6rem;
    color: #f0f0f0;
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* CTA */
.services-cta {
    padding: 100px 0;
    background: #333;
    color: #fff;
    text-align: center;
}

.services-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #333;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #333;
    transform: translateY(-2px);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .services-hero {
        padding: 80px 0 60px 0;
    }
    
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .industry-needs, .before-after, .service-packages, .testimonials {
        padding: 60px 0;
    }
    
    .industry-needs h2, .before-after h2, .service-packages h2, .testimonials h2 {
        font-size: 2rem;
    }
    
    .needs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-item {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        flex-direction: column;
        display: flex;
    }
    
    /* スマホ版で画像を下に移動 */
    .case-item .case-images {
        order: 2;
        margin-top: 10px;
    }
    
    .case-item .case-story {
        order: 1;
        margin-bottom: 20px;
    }
    
    .case-item:nth-child(even) {
        direction: ltr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .package-card.popular {
        transform: none;
    }
    
    .package-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .services-cta {
        padding: 60px 0;
    }
    
    .services-cta h2 {
        font-size: 2rem;
    }
}

/* ============================
   スマホ対応 (services.html)
   ============================ */
@media (max-width: 768px) {

  /* グリッドを縦並び・中央寄せに */
  .industries-grid,
  .needs-grid,
  .cases-grid,
  .utilization-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
  }

  /* カード要素を画面幅にフィット・中央寄せ */
  .industry-item,
  .need-card,
  .case-item,
  .utilization-item {
    width: 100%;
    text-align: center;
  }

  /* セクションタイトルの調整 */
  .services-section h2 {
    text-align: center;
    line-height: 1.4;
  }

  /* 「このサービスは」を含むタイトルのテキスト置換 */
  .section-title {
    text-align: center;
  }

  /* 「このサービスは」の部分を非表示（スマホ版のみ） */
  h2.section-title::before {
    content: "";
  }

  h2.section-title {
    font-size: 0;
  }

  h2.section-title::after {
    content: "こんな分野で活用されています";
    font-size: 1.6rem;
    display: block;
    margin-bottom: 10px;
    margin-top: 0;
  }

  /* セクションタイトルの下部マージンも縮小 */
  .section-title {
    margin-bottom: 10px !important;
    margin-top: 0 !important;
  }

  /* サービス事例の画像は縦並び - 実物を上、3Dデータを下 */
  .case-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* HTMLの順序通り：実物が上、3Dデータが下 */
  .before-image {
    order: 1;
  }

  .after-image {
    order: 2;
  }

  .case-images img {
    width: 100%;
    height: auto;
  }

  /* 3Dデジタルアーカイブの特徴ボックスを縦配置に戻す */
  .service-features {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }

  .feature-item {
    width: 100% !important;
    max-width: 280px !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 20px 15px !important;
  }

  /* 3つのボタンタイトルを全て1行で表示・サイズ調整 */
  .feature-item h4 {
    font-size: 1.0rem !important;
    white-space: nowrap;
    margin-bottom: 8px !important;
  }

  /* 説明文のサイズも調整 */
  .feature-item p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
  }

  /* アイコンのサイズも調整 */
  .feature-icon {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
  }
    text-align: center !important;
    margin: 0 auto !important;
  }

  /* ヒーローセクションの調整 */
  .services-hero {
    padding-top: 120px !important;
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
    text-align: center;
  }

  .services-hero h1 {
    font-size: 1.6rem;
    text-align: center;
  }

  .services-hero p {
    font-size: 1rem;
    text-align: center;
  }

  /* 「未来につなぐ、」で改行（スマホ版のみ） */
  .hero-subtitle-large {
    font-size: 0 !important;
    line-height: 1.4;
  }

  .hero-subtitle-large::after {
    content: "あらゆる「カタチ」を未来につなぐ、\A全国出張対応の3つのソリューション";
    font-size: 1rem !important;
    white-space: pre-line;
    display: block;
    text-align: center;
  }

  /* 「文化財保護から製品開発まで、」で改行（スマホ版のみ） */
  .hero-subtitle-second {
    font-size: 0 !important;
  }

  .hero-subtitle-second::after {
    content: "文化財保護から製品開発まで、\Aデジタル変革をサポート";
    font-size: 1rem !important;
    white-space: pre-line;
    display: block;
    text-align: center;
  }

  /* セクション間の余白調整 */
  .services-section {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
    margin-top: 0 !important;
  }

  /* 最初のセクション（こんな分野で）の上部余白を最小に */
  .target-industries {
    padding: 5px 0 40px 0 !important;
    margin-top: 0 !important;
  }

  .tab-industries {
    margin-top: 0 !important;
    padding-top: 10px !important;
  }

  /* ナビゲーション調整（スマホのみ） */
  .nav-links {
    display: none !important;
  }

  .hamburger-menu {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(247, 243, 237, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 70px;
    gap: 20px;
    transition: all 0.3s ease;
  }

  .mobile-menu.open {
    display: flex !important;
  }

  .mobile-menu a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 15px 20px;
    transition: all 0.3s ease;
  }

  /* サービス説明のh3タイトル（3Dデジタルアーカイブとは）を1行に */
  .service-description h3 {
    font-size: 1.4rem !important;
    line-height: 1.3;
    text-align: center;
    margin-top: 0 !important;
    margin-bottom: 15px;
  }

  /* スマホ版でサービス説明セクションの番号を非表示 */
  .service-description h3::before,
  .tab-panel h3::before,
  .services-tabs-section h3::before {
    display: none !important;
    content: none !important;
  }

  /* スマホ版でサービス番号（01、02、03）を非表示 */
  .tab-number {
    display: none !important;
  }

  /* サービス説明セクション全体の上部余白を削減・説明文を左寄せ */
  .service-description {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }

  /* 説明文のパラグラフを左寄せ */
  .service-description p {
    text-align: left !important;
    margin: 0 auto 15px auto;
  }

  /* 「こんな課題を解決」セクションの上部余白を削減 */
  .tab-needs {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .tab-needs h3 {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
  }



  /* サービス事例のタイトルで改行（工芸品の高品質で改行） - モバイル専用 */
  .case-story h4 {
    font-size: 0 !important;
    margin-bottom: 10px;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
  }

  /* デフォルト（01 3Dスキャン）のサービス事例 */
  #scan .case-story h4::after {
    content: "工芸品の高品質3Dデジタル化";
    font-size: 1.2rem !important;
    white-space: nowrap;
    display: block;
    text-align: center;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    text-indent: 0 !important;
    color: #333 !important;
    margin-bottom: 15px;
    position: relative;
  }

  /* 02 3Dプリント・出力のサービス事例 */
  #print .case-story h4::after {
    content: "文化財複製品の3Dプリント製造";
    font-size: 1.2rem !important;
    white-space: nowrap;
    display: block;
    text-align: center;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    text-indent: 0 !important;
    color: #333 !important;
    margin-bottom: 15px;
    position: relative;
  }

  /* 03 複製・レプリカのサービス事例 */
  #replica .case-story h4::after {
    content: "シリコン型・レジン成形による\A精密複製";
    font-size: 1.1rem !important;
    white-space: pre-line;
    display: block;
    text-align: center;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.3;
    text-indent: 0 !important;
    color: #333 !important;
    margin-bottom: 15px;
    position: relative;
  }

  /* サービス事例全体の配置調整 */
  .case-story {
    text-align: left !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* サービス事例の説明文を左揃えに・テキスト置換 */
  .case-story p {
    text-align: left !important;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.9rem !important;
    position: relative;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* スマホ版のみテキストを置換（「(だんじりの一部)」削除版） */
  .case-story p {
    font-size: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
    overflow: visible !important;
    position: static;
    min-height: auto;
    margin-bottom: 20px;
    height: auto;
  }

  /* 01 3Dスキャンのサービス事例本文 */
  #scan .case-story p::after {
    content: "株式会社木彫前田工房様の伝統工芸品「獅子噛」（だんじりの一部）をフォトグラメトリ技術で高品質スキャン。\A工房へ出張し、約1時間の撮影で複雑な彫刻の陰影や木目の質感、細部の装飾まで忠実に再現した3Dデータを作成。\A文化財としての価値を後世に継承するデジタルアーカイブとして保存・活用いただいています。\A職人技の記録保存や技術継承、展示・教育用途での活用が可能になりました。";
    color: #666 !important;
    font-size: 0.9rem !important;
    white-space: pre-line;
    display: block;
    text-align: left !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-indent: 0 !important;
    position: static;
    width: 100%;
    height: auto !important;
  }

  /* 02 3Dプリント・出力のサービス事例本文 */
  #print .case-story p::after {
    content: "フォトグラメトリでスキャンした木彫り作品から、触れる展示用複製品を3Dプリント製造。\A元の細かい彫刻の陰影や質感を忠実に再現し、来館者が実際に手で触れることができる教育展示を実現。\Aオリジナルは安全に保管しながら、体験型展示で文化財への理解を深める機会を提供しています。";
    color: #666 !important;
    font-size: 0.9rem !important;
    white-space: pre-line;
    display: block;
    text-align: left !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-indent: 0 !important;
    position: static;
    width: 100%;
    height: auto !important;
  }

  /* 03 複製・レプリカのサービス事例本文 */
  #replica .case-story p::after {
    content: "貴重な木彫り彫刻をフォトグラメトリで3Dスキャン後、シリコン型を制作してレジン・石膏成形で複製品を製造。\A元の木目の質感や細かい彫刻の陰影まで忠実に再現し、来館者が実際に手で触れることができる体験展示を実現。\A原品は安全に保管しながら、教育効果の高い体験型コンテンツとして活用されています。";
    color: #666 !important;
    font-size: 0.9rem !important;
    white-space: pre-line;
    display: block;
    text-align: left !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-indent: 0 !important;
    position: static;
    width: 100%;
    height: auto !important;
  }


}

/* PC版専用設定 - 最優先で適用 */
@media (min-width: 769px) {
  /* ナビゲーションを最優先で表示 */
  .nav-links {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
  }
  
  .nav-links a {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* ハンバーガーメニューを完全に非表示 - 最強設定 */
  .hamburger-menu,
  .mobile-menu {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
  }
  
  /* ヘッダーとナビを確実に表示 */
  header {
    display: block !important;
    visibility: visible !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }
  
  nav {
    display: flex !important;
    visibility: visible !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  
  /* ヒーローテキストサイズ復元 */
  .hero-subtitle-large {
    font-size: 1.8rem !important;
  }
  
  .hero-subtitle-large::after {
    display: none !important;
  }
  
  .hero-subtitle-second {
    font-size: 1.8rem !important;
  }
  
  .hero-subtitle-second::after {
    display: none !important;
  }
  
  /* サービス事例のスマホ用擬似要素をPC版で非表示 */
  .case-story h4::after {
    display: none !important;
  }
  
  .case-story p::after {
    display: none !important;
  }
  
  /* PC版ではオリジナルテキストを復元 */
  .case-story h4 {
    font-size: inherit !important;
  }
  
  .case-story p {
    font-size: inherit !important;
  }
}

/* 最終PC版設定 - PC版でハンバーガーメニュー非表示・ナビゲーション表示・ヒーローテキスト復元 */
@media screen and (min-width: 769px) {
  .hamburger-menu {
    display: none !important;
  }
  
  .nav-links {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* PC版で全ての擬似要素を強制非表示 */
  .hero-subtitle-large::after,
  .hero-subtitle-second::after,
  .case-story h4::after,
  .case-story p::after,
  h2.section-title::after {
    display: none !important;
    content: none !important;
  }
  
  /* PC版でオリジナルテキストサイズと表示を完全復元 */
  .hero-subtitle-large,
  .hero-subtitle-second,
  .case-story h4,
  .case-story p {
    font-size: inherit !important;
    color: inherit !important;
    text-indent: 0 !important;
    overflow: visible !important;
  }
  
  /* ヒーローテキストサイズをPC版サイズに復元 */
  .services-hero h1 {
    font-size: 4rem !important;
    text-align: center !important;
  }
  
  .hero-subtitle-large {
    font-size: 1.8rem !important;
    text-align: center !important;
  }
  
  .hero-subtitle-second {
    font-size: 1.8rem !important;
    text-align: center !important;
  }
}

/* スマホ版設定の再確認 - ハンバーガーメニュー表示 */
@media screen and (max-width: 768px) {
  .hamburger-menu {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 1001;
  }
  
  .nav-links {
    display: none !important;
  }
  
  /* モバイル用サービス事例タブナビゲーション */
  .mobile-case-tabs {
    display: flex !important;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .mobile-tab-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  .mobile-tab-btn.active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
  }

  .mobile-tab-btn:hover {
    border-color: #000;
    color: #000;
  }

  .mobile-tab-btn.active:hover {
    background: #000;
    color: #fff;
  }
}

/* PC版でもタブを表示 */
@media screen and (min-width: 769px) {
  .mobile-case-tabs {
    display: flex !important;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
  }
  
  .mobile-tab-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    background: #fff !important;
    color: #666 !important;
    border: 1px solid #ddd !important;
  }
  
  .mobile-tab-btn:hover:not(.active) {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #000;
    color: #000;
  }
  
  .mobile-tab-btn.active {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  
  /* PC版で確実にアクティブ状態を適用 */
  .mobile-case-tabs .mobile-tab-btn.active,
  .mobile-tab-btn.active {
    background-color: #000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
  }
  
  /* 最優先でアクティブ状態を適用 */
  body .mobile-tab-btn.active {
    background: black !important;
    color: white !important;
    border: 1px solid black !important;
  }
}