/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* フォント設定 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Montserrat:wght@300;400;500;600;700;900&display=swap');

/* ベース設定 */
:root {
    --font-primary: 'Montserrat', 'Noto Sans JP', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --primary-color: #000000;
    --secondary-color: #f5f5f5;
    --accent-color: #007bff;
    --text-color: #333333;
    --light-text: #ffffff;
    --light-bg: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-ease: all 0.4s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --letter-spacing-tight: -0.02em;
    --letter-spacing-normal: 0.02em;
    --letter-spacing-wide: 0.08em;
    --border-radius: 0px;
    --header-height: 70px;
    --box-shadow-light: var(--shadow-md);
    
    /* コンテンツエリアの設定 */
    --content-width: 100%; /* 画面幅いっぱいに */
    --max-content-width: 1400px; /* 最大幅 */
    --side-padding: 40px; /* 左右の余白（デスクトップ） */
}

/* カスタムスクロールバー */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* 選択スタイル */
::selection {
    background: var(--accent-color);
    color: var(--light-text);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    font-weight: var(--font-weight-regular);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background-color: #1a1a1a;
    letter-spacing: var(--letter-spacing-normal);
}

/* レイアウトコンテナ */
.container, .nav-container, .section-inner, .hero-content, .footer-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.section-spacing {
    padding: 10rem 0;
}

/* ページ読み込み時のトランジション防止 */
.no-transition * {
    transition: none !important;
    animation: none !important;
}

/* ヘッダー */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(40, 44, 52, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateZ(0);
    will-change: height, background-color;
}

.navbar.scrolled {
    height: 60px;
    background: rgba(40, 44, 52, 0.85);
    box-shadow: var(--shadow-md);
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
}

.logo img {
    height: 35px;
    transition: var(--transition-smooth);
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-links li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-links a.contact-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a.nav-item-with-jp {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a.contact-link span,
.nav-links a.nav-item-with-jp span {
    font-size: 0.7rem;
    margin-top: 0;
    opacity: 0;
    font-weight: var(--font-weight-regular);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    pointer-events: none;
    color: var(--accent-color);
}

.nav-links a.contact-link:hover {
    transform: translateY(-8px);
}

.nav-links a.nav-item-with-jp:hover {
    transform: translateY(-8px);
}

.nav-links a.contact-link:hover span,
.nav-links a.nav-item-with-jp:hover span {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
    transform-origin: left;
    display: none;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
    display: none;
}

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

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--light-text);
    transition: var(--transition-smooth);
    border-radius: 3px;
}

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

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

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

.mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
    width: 100%;
        height: 100vh;
    background: var(--light-text);
    display: flex;
        flex-direction: column;
        justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    z-index: 999;
    }

.menu-open .mobile-menu {
        right: 0;
    }

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.menu-open .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.1s * var(--i));
}

.mobile-nav-links a {
    font-size: 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 1rem;
}

.mobile-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.mobile-nav-links a:hover::after {
    width: 100%;
}

/* スクロール誘導 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-text);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    letter-spacing: var(--letter-spacing-wide);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-indicator i {
    font-size: 1.2rem;
    animation: float 2s ease-in-out infinite;
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-text {
    width: 100%;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-text.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-bottom: 3rem;
    color: transparent;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(240, 240, 240, 0.9) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3)) 
            drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: var(--font-weight-medium);
    color: var(--light-text);
    opacity: 0.9;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: var(--letter-spacing-normal);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    width: 100%;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
}

.cta-button {
    padding: 1.2rem 2.5rem;
    border-radius: 0;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    letter-spacing: var(--letter-spacing-wide);
    transition: var(--transition-smooth);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.cta-button.primary {
    background: var(--accent-color);
    color: var(--light-text);
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.6s ease;
    z-index: -1;
}

.cta-button.primary:hover::before {
    left: 100%;
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
}

.cta-button.outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.6s ease;
    z-index: -1;
}

.cta-button.outline:hover::before {
    left: 100%;
}

.cta-button.show {
    opacity: 1;
    transform: translateY(0);
}

/* ビジョンセクション */
.vision {
    padding: 8rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

/* 高級ブランディング風 ミニマルノイズテクスチャ */
.vision::before,
.business::before,
.portfolio::before,
.news::before,
.about::before,
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(0, 123, 255, 0.02) 1px, transparent 0),
        radial-gradient(circle at 3px 7px, rgba(0, 123, 255, 0.015) 0.5px, transparent 0),
        radial-gradient(circle at 7px 2px, rgba(0, 123, 255, 0.025) 0.8px, transparent 0),
        radial-gradient(circle at 9px 8px, rgba(0, 123, 255, 0.01) 0.6px, transparent 0),
        radial-gradient(circle at 2px 5px, rgba(0, 123, 255, 0.02) 0.7px, transparent 0),
        radial-gradient(circle at 6px 3px, rgba(0, 123, 255, 0.018) 0.4px, transparent 0),
        radial-gradient(circle at 8px 6px, rgba(0, 123, 255, 0.022) 0.9px, transparent 0),
        radial-gradient(circle at 4px 9px, rgba(0, 123, 255, 0.012) 0.5px, transparent 0);
}

/* セクション別の個性 - 粒子密度とパターンで差別化 */
.vision::before {
    background-size: 10px 10px, 12px 12px, 8px 8px, 14px 14px, 9px 9px, 11px 11px, 13px 13px, 10px 10px;
    background-position: 0 0, 2px 3px, 5px 1px, 1px 4px, 3px 2px, 4px 5px, 2px 1px, 6px 3px;
}

.business::before {
    background-size: 11px 11px, 13px 13px, 9px 9px, 15px 15px, 10px 10px, 12px 12px, 14px 14px, 11px 11px;
    background-position: 1px 1px, 3px 4px, 6px 2px, 2px 5px, 4px 3px, 5px 6px, 3px 2px, 7px 4px;
}

.portfolio::before {
    background-size: 12px 12px, 14px 14px, 10px 10px, 16px 16px, 11px 11px, 13px 13px, 15px 15px, 12px 12px;
    background-position: 2px 2px, 4px 5px, 7px 3px, 3px 6px, 5px 4px, 6px 7px, 4px 3px, 8px 5px;
}

.news::before {
    background-size: 9px 9px, 11px 11px, 7px 7px, 13px 13px, 8px 8px, 10px 10px, 12px 12px, 9px 9px;
    background-position: 3px 3px, 5px 6px, 8px 4px, 4px 7px, 6px 5px, 7px 8px, 5px 4px, 9px 6px;
}

.about::before {
    background-size: 13px 13px, 15px 15px, 11px 11px, 17px 17px, 12px 12px, 14px 14px, 16px 16px, 13px 13px;
    background-position: 4px 4px, 6px 7px, 9px 5px, 5px 8px, 7px 6px, 8px 9px, 6px 5px, 10px 7px;
}

.contact::before {
    background-size: 10px 10px, 12px 12px, 8px 8px, 14px 14px, 9px 9px, 11px 11px, 13px 13px, 10px 10px;
    background-position: 5px 5px, 7px 8px, 10px 6px, 6px 9px, 8px 7px, 9px 10px, 7px 6px, 11px 8px;
}

.vision .section-inner {
    position: relative;
    z-index: 1;
}

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

.big-heading {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: 1.5rem;
}

.feature-message.centered .big-heading {
    text-align: center;
    margin: 0 auto 1.5rem;
}

.feature-message.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
}

.feature-message.centered .featured-heading {
    margin: 0 auto;
}

.feature-message.centered .featured-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.vision-text {
    display: flex;
    flex-direction: column;
}

.vision-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.view-more {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
    color: var(--accent-color);
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    transition: var(--transition-smooth);
}

.view-more span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.view-more:hover {
    transform: translateY(-3px);
    color: #0056b3;
}

/* レスポンシブ対応 */
@media (min-width: 1921px) {
    /* ウルトラワイド向け */
    .container, .nav-container, .section-inner, .hero-content, .footer-content {
        max-width: 1800px;
        padding-left: 60px;
        padding-right: 60px;
    }
    
    .business-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1600px) {
    .container, .nav-container, .section-inner, .hero-content, .footer-content {
        max-width: 1400px;
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (max-width: 1400px) {
    .container, .nav-container, .section-inner, .hero-content, .footer-content {
        max-width: 1200px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 1200px) {
    .container, .nav-container, .section-inner, .hero-content, .footer-content {
        max-width: 1000px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .business-grid,
    .portfolio-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        margin: 0 auto 2rem;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .container, .nav-container, .section-inner, .hero-content, .footer-content {
        max-width: 800px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .vision-content {
        grid-template-columns: 1fr;
    }
    
    .feature-message {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .company-info,
    .contact-form,
    .contact-info {
        padding: 0;
    }
    
    .company-item {
        gap: 1.5rem;
    }
    
    .company-item h4 {
        width: 140px;
        font-size: 0.85rem;
    }
    
    .company-item p {
        padding-left: 1.5rem;
    }
    
    .map-container {
        height: 300px;
        min-height: 300px;
    }
    
    .access-details {
        margin-top: 1.5rem;
    }
    
    .access-details ul li {
        padding-left: 1.5rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    .container, .nav-container, .section-inner, .hero-content, .footer-content {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .navbar {
        padding: 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .business-item,
    .portfolio-item {
        min-width: 100%;
        margin: 0 auto;
    }
    
    .section-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .section-heading .ja {
        font-size: 1.8rem;
    }
    
    .section-heading .en {
        font-size: 0.9rem;
    }
    
    .big-heading {
        font-size: 3.5rem;
    }
    
    .featured-text {
        font-size: 0.95rem;
        padding: 0;
    }
    
    .about-content {
        padding: 0;
        gap: 3rem;
}

.company-details {
        gap: 2rem;
}

.company-item {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
}

.company-item h4 {
        width: 100%;
        justify-content: flex-start;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
}

.company-item h4 i {
    font-size: 1rem;
}

.company-item p {
        width: 100%;
        padding-left: 1rem;
        font-size: 0.95rem;
    }
    
    .company-item p::before {
        top: 0.6rem;
        height: 1rem;
}

.map-container {
        height: 250px;
}

.access-details {
        margin-top: 1.5rem;
}

.access-details h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .access-details ul li {
        font-size: 0.9rem;
        padding-left: 1rem;
    }
    
    .access-details ul li::before {
        top: 0.6rem;
        height: 1rem;
    }
    
    .access-details ul li i {
        font-size: 1rem;
    }
    
    .contact-form, 
    .contact-info {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }
    
    .submit-btn {
        padding: 1rem;
    }
    
    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-text {
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        white-space: normal;
        line-height: 1.3;
        width: 100%;
        text-align: center;
    }
    
    .hero-subtitle {
    font-size: 1.4rem;
        width: 100%;
    text-align: center;
}

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    width: 100%;
    }
    
    .hero-logo .main-logo {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .container, .nav-container, .section-inner, .hero-content, .footer-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-text {
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        white-space: normal;
        line-height: 1.4;
        width: 100%;
    text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }
    
    .hero-logo .main-logo {
        max-width: 200px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* フォームスタイル */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-medium);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.1);
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.05);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.form-error,
.form-success {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
}

.form-error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-left: 4px solid #e74c3c;
}

.form-success {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-left: 4px solid #2ecc71;
}

.form-error i,
.form-success i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.submit-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.submit-btn i {
    margin-right: 0.5rem;
}

.submit-btn:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.submit-btn:disabled {
    background: #adb5bd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.privacy-check {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.privacy-check input[type="checkbox"] {
    margin-right: 0.8rem;
    width: 18px;
    height: 18px;
}

.privacy-check label {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    margin: 0;
}

.privacy-check a {
    color: var(--accent-color);
    text-decoration: underline;
    margin-left: 0.3rem;
}

.privacy-check a:hover {
    text-decoration: none;
}

.form-group.error .privacy-check input[type="checkbox"] {
    outline: 2px solid #e74c3c;
}

/* ニュースカード */
.news-item {
    transition: var(--transition-smooth);
    transform: translateY(0);
    background: var(--gray-100);
    border-radius: 0;
    overflow: hidden;
}

.news-item:hover {
    transform: translateY(-10px);
}

.news-item:hover::before {
    opacity: 0.05;
}

/* セクション共通スタイル */
section {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
}

.section-heading .en {
        font-size: 1rem;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    font-weight: var(--font-weight-medium);
    margin-bottom: 0.5rem;
}

.section-heading .ja {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

/* フィーチャーメッセージ */
.feature-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.feature-message .big-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-message > div {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.featured-heading {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: 1.5rem;
}

.featured-text {
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 0 1rem;
}

/* ビジネスセクション */
.business {
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    padding: 8rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.business .section-inner {
    position: relative;
    z-index: 1;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 3rem;
    justify-content: center;
}

.business-item {
    flex: 1 1 350px;
    min-width: 350px;
    max-width: 450px;
    margin: 0 10px;
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform, box-shadow;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}

.business-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.business-icon {
    background: var(--gray-100);
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.business-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.business-item:hover .business-icon img {
    transform: scale(1.05);
}

.business-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.business-content h3 {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.business-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition-smooth);
}

.business-item:hover .business-content h3::after {
    width: 100%;
}

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

.business-content ul {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    perspective: 1000px;
}

.business-content ul li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-color);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                color 0.3s ease, 
                padding-left 0.3s ease;
    transform-origin: left center;
    will-change: transform, color, padding-left;
    letter-spacing: 0.03em;
    font-weight: var(--font-weight-medium);
    font-size: 1.1rem;
}

/* リスト項目の矢印アイコン強化 */
.business-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                color 0.3s ease,
                left 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 1;
    will-change: transform, color, left;
}

/* ホバー時とアニメーション後の効果 */
.business-content ul li:hover {
    transform: translateX(10px) scale(1.05);
    padding-left: 2.2rem;
    color: var(--accent-color);
}

.business-content ul li:hover::before {
    transform: translateY(-50%) scale(1.2);
    left: 5px;
    color: var(--accent-color);
}

/* アニメーションのためのクラス */
.business-content ul li.animated {
    opacity: 1;
    transform: translateX(0);
}

/* リスト項目のラップ効果 - 3D回転時に文字が折り返さないようにする */
.business-content ul li span {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    vertical-align: middle;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-smooth);
    margin-top: auto;
}

.learn-more i {
    margin-left: 0.5rem;
    transition: var(--transition-smooth);
}

.learn-more:hover {
    color: #0056b3;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* ビューモアコンテナ */
.view-more-container {
    text-align: center;
    margin-top: 4rem;
}

/* ポートフォリオセクション */
.portfolio {
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    padding: 8rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.portfolio .section-inner {
    position: relative;
    z-index: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 3rem;
    justify-content: center;
    align-items: start;
    place-items: center;
    justify-items: center;
}

/* グリッドアイテムが1つか2つしかない場合のセンタリング用スタイル */
.portfolio-grid:has(.portfolio-item:first-child:nth-last-child(-n+2)) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

/* 個別のアイテムのセンタリング */
.portfolio-item {
    background: var(--gray-100);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform, box-shadow;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    margin: 0 auto; /* アイテム自体も中央揃え */
    width: 100%;
    max-width: 450px; /* 最大幅を設定して、センタリングしやすくする */
}

/* 非表示アイテムのスタイル */
.portfolio-item.hidden-item {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.portfolio-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--accent-color);
    transition: width 0.4s ease;
}

.portfolio-item:hover::before {
    width: 100%;
}

.portfolio-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-image::after {
    opacity: 1;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-header {
    margin-bottom: 2rem;
}

.portfolio-category {
    font-size: 1.8rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.portfolio-category::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.portfolio-item:hover .portfolio-category::after {
    width: 100%;
}

.portfolio-description {
    color: var(--text-color);
    line-height: 1.8;
}

.achievement-title {
    font-size: 1.3rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--accent-color);
    color: var(--primary-color);
}

.portfolio-details {
    list-style: none;
}

.portfolio-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.portfolio-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
}

/* ニュースセクション */
.news {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
    padding: 8rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news .section-inner {
    position: relative;
    z-index: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 3rem;
    justify-content: center;
}

.news-item {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    will-change: transform, box-shadow;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.news-item:hover .news-image img {
        transform: scale(1.1);
    }

.news-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    z-index: 1;
}

.news-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-weight: var(--font-weight-medium);
}

.news-content h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

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

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-smooth);
    margin-top: auto;
}

.read-more i {
    margin-left: 0.5rem;
    transition: var(--transition-smooth);
}

.read-more:hover {
    color: #0056b3;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* レスポンシブ対応 */
@media (max-width: 1400px) {
    .feature-message {
        gap: 1.5rem;
    }
    
    .big-heading {
        font-size: 4rem;
    }
    
    .featured-text {
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
    section {
        padding: 6rem 0;
    }
    
    .section-heading .ja {
        font-size: 1.8rem;
    }
    
    .feature-message {
        margin-bottom: 3rem;
    }
    
    .featured-heading {
        font-size: 2.8rem;
    }
    
    .business-grid,
    .portfolio-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-image,
    .news-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 5rem 0;
    }
}

/* 画像の共通スタイル */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo img,
.footer-logo img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

/* 画像のサイズ調整 */
.logo img {
    height: 45px;
}

.footer-logo img {
    height: 50px;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
    flex-direction: column;
        gap: 1.5rem;
        text-align: center;
}
}

/* 追加のユーティリティクラス */
.menu-open {
    overflow: hidden;
}

/* ヒーローセクションのロゴ */
.hero-logo {
    width: 100%;
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo .main-logo {
    max-width: 300px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: all 0.5s ease;
    position: relative;
    margin: 0 auto;
}

.hero-logo .main-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* 会社概要セクション */
.about {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    width: 100%;
    padding: 8rem 0;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about .section-inner {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

.company-info {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.company-details {
    display: grid;
    gap: 3rem;
    width: 100%;
}

.company-item {
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 0;
    border-bottom: none;
    position: relative;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.company-item::before {
    display: none;
}

.company-item:hover {
    transform: none;
    box-shadow: none;
    background: none;
}

.company-item h4 {
    display: flex;
    align-items: center;
    gap: 1rem;
        font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--accent-color);
    margin-bottom: 0;
    white-space: nowrap;
    width: 160px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.company-item h4 i {
    color: var(--accent-color);
        font-size: 1.1rem;
    width: auto;
    text-align: left;
    padding: 0;
    background: none;
    border-radius: 0;
}

.company-item p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.8;
    flex: 1;
    font-weight: var(--font-weight-regular);
    font-size: 1rem;
    position: relative;
    padding-left: 2rem;
}

.company-item p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 1px;
    height: 1.2rem;
    background: var(--accent-color);
    opacity: 0.3;
}

.map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 100%;
    position: relative;
}

.map-container {
    width: 100%;
    height: 400px;
    min-height: 400px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    flex-grow: 1;
    background-color: #f5f5f5;
    z-index: 2;
    border: 1px solid var(--gray-200);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.access-details {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    position: relative;
    margin-top: 1rem;
}

.access-details::before {
    display: none;
}

.access-details h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: left;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.access-details h4::after {
    display: none;
}

.access-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.access-details ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
    color: var(--text-color);
    font-weight: var(--font-weight-regular);
    padding: 0;
    border-radius: 0;
    background: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 2rem;
}

.access-details ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 1px;
    height: 1.2rem;
    background: var(--accent-color);
    opacity: 0.3;
}

.access-details ul li:hover {
    background: none;
    transform: translateX(3px);
}

.access-details ul li i {
    color: var(--accent-color);
    font-size: 1.1rem;
    width: auto;
    text-align: left;
    padding: 0;
    background: none;
    border-radius: 0;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

/* お問い合わせセクション */
.contact {
    background: linear-gradient(45deg, #f1f3f4 0%, #e9ecef 50%, #f1f3f4 100%);
    position: relative;
    width: 100%;
    padding: 8rem 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.contact .section-inner {
    position: relative;
    z-index: 1;
}

.section-heading.centered {
    text-align: center;
}

.section-heading.centered .en,
.section-heading.centered .ja {
    display: block;
    width: 100%;
    text-align: center;
}

.feature-message.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 5rem;
}

.feature-message.centered .featured-heading {
    margin: 0 auto;
}

.feature-message.centered .featured-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 0;
    box-shadow: var(--shadow-md);
}

.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 2rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.contact-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-info ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--text-color);
}

.contact-info ul li:last-child {
    border-bottom: none;
}

/* フッター */
footer {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 5rem 0 2rem;
}

.footer-content {
    width: 100%;
    max-width: var(--max-content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--side-padding);
    padding-right: var(--side-padding);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

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

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-nav ul,
.footer-service ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li,
.footer-service ul li {
    margin-bottom: 0.8rem;
}

.footer-nav ul li a,
.footer-service ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.footer-nav ul li a:hover,
.footer-service ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-service h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: var(--letter-spacing-wide);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-copyright p:last-child {
    font-size: 0.8rem;
}

/* モーダルスタイル */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

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

.modal-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content.large {
    max-width: 800px;
}

.modal-content.small {
    max-width: 400px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray-500);
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--text-color);
}

.modal-body {
    padding: 1.5rem;
}

/* ボタンスタイル */
.btn-primary, .btn-secondary, .btn-danger {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* 管理者用お知らせリスト */
.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.news-admin-list {
    display: grid;
    gap: 1rem;
}

.news-admin-item {
    background: var(--gray-100);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.news-admin-item:hover {
    background: var(--gray-200);
}

.news-admin-info {
    flex: 1;
}

.news-admin-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--text-color);
}

.news-admin-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

.news-admin-description {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.5;
}

.news-admin-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: 4px;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .admin-section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .news-admin-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .news-admin-actions {
        justify-content: flex-end;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* 管理者機能のスタイル */
.admin-menu {
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 1001; /* モーダルより上位に設定 */
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    min-width: 180px;
    /* レイアウトへの影響を最小化 */
    transform: translateZ(0);
    will-change: opacity, visibility;
    transition: all 0.3s ease;
}

/* 管理メニューが表示されている時のbody調整 */
body.admin-logged-in {
    padding-bottom: 0; /* 必要に応じて調整 */
}

/* 管理メニューとモーダルの重なり防止 */
.modal.show ~ .admin-menu {
    z-index: 999; /* モーダル表示時は下位に */
}

.admin-menu-content {
    padding: 1rem;
}

.admin-menu-content h4 {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: var(--text-color);
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.admin-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.admin-menu-btn:hover {
    background: var(--gray-100);
}

.admin-menu-btn.logout {
    color: #dc3545;
    border-top: 1px solid var(--gray-200);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

.admin-menu-btn.logout:hover {
    background: rgba(220, 53, 69, 0.1);
}

/* フッターロゴの管理者アクセス用スタイル */
.footer-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-logo.admin-access-hint {
    animation: subtle-pulse 2s ease-in-out;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* セクション間の区切り線 */
.vision::after,
.business::after,
.news::after,
.about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 123, 255, 0.2) 50%, transparent 100%);
    z-index: 1;
}

.portfolio::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 123, 255, 0.2) 50%, transparent 100%);
    z-index: 1;
}
  