/* Lenisのスクロール体験をサポートするためのカスタムスタイル */
html { scroll-behavior: auto; }
body { font-family: 'Inter', sans-serif; background-color: #0d111c; color: #e5e7eb; }
body {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.loaded {
    opacity: 1;
}
/* プリローダー（オプション） */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#strength-section{overflow:hidden;}
.hero-image-container { height: 100vh; height: 100svh; position: relative; overflow: hidden; }
.hero-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); }
.nav-link-item { transition: all 0.3s ease; }
.nav-link-item:hover { color: #3b82f6; }
/* モバイルメニューオーバーレイ */
#mobile-menu { transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0); }
/* スクロールバーの色を変更 (ダークテーマに合わせる) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1f2937; }
::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #60a5fa; }
#page-top-btn:hover {transform: translateY(-2px);}
.mobile-menu-overlay {position: fixed;top: 0;left: 0;right: 0;bottom: 0;background-color: rgba(0, 0, 0, 0.85);z-index: 39;opacity: 0;pointer-events: none;transition: opacity 0.3s ease-in-out;}
.mobile-menu-overlay.active {opacity: 1;pointer-events: auto;}
#menu-toggle {
	/*display:none;z-index:101;*/position:relative;width:30px;height:30px;background:none;border:none;cursor:pointer;padding:0;transition:transform 0.3s;
	.bar {display:block;width:100%;height:2px;background-color:#fff;position:absolute;left:0;transition:transform 0.3s, opacity 0.3s;}
	.top {top:5px; }
	.middle {top:50%; transform:translateY(-50%); }
	.bottom {bottom:5px; }
}
#menu-toggle.active{
	.top {transform:rotate(45deg);top:50%;}
	.middle {opacity:0;}
	.bottom {transform:rotate(-45deg);top:50%;}
}
.mobile-wrap {
    overflow-y: scroll;
    max-height: calc(100vh - 5em);
    position: relative;
    top: 5em;
}
.hero-comment {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
/*    background: rgba(0, 0, 0, 0.5);*/
    padding: 10px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    min-width: 15em;
}
.hero-btn-circle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-prev.hero-btn-circle {
    left: 5px;
}

.hero-next.hero-btn-circle {
    right: 5px;
}

.hero-btn-progress {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}




.hero-btn-arrow {
    font-size: 20px;
    color: white;
    font-weight: bold;
    z-index: 2;
}

.hero-btn-circle:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}
.progress-circle {
    transition: stroke-dashoffset 0.3s ease, stroke-width 0.3s ease;
    stroke-width: 0;
}

.hero-btn-circle:hover .progress-circle {
stroke-dashoffset: 0;
}
.hero-btn-circle:hover .hero-btn-arrow {
    transform: scale(1.2);
}
/* クリック後の状態 */
.progress-circle.clicked {
    stroke-width: 2;
}
/* モバイル対応 */
@media (max-width: 768px) {
    .hero-prev,
    .hero-next,
    .hero-btn-elegant,
    .hero-btn-modern,
    .hero-btn-minimal,
    .hero-btn-circle {
        width: 40px;
        height: 40px;
    }
    
    .hero-btn-elegant {
        padding: 10px 15px;
    }
    
    .hero-btn-line {
        width: 30px;
    }
.hero-prev.hero-btn-circle,.hero-next.hero-btn-circle{
    transform: translateY(-53px);
}    
    .hero-btn-elegant:hover .hero-btn-line {
        width: 40px;
    }
    
    .hero-btn-elegant svg {
        width: 18px;
        height: 18px;
    }
    
    .hero-btn-icon {
        font-size: 20px;
    }
    
    .hero-btn-arrow {
        font-size: 16px;
    }
.svg-wrap {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    justify-items: start;
}
.ceo-img{max-height: 400px;object-position: top;}
}

@media (max-width: 885px) {
#desktop-nav li{padding:5.5px;}
}
/* タッチデバイス用のタップ領域拡張 */
@media (hover: none) and (pointer: coarse) {
    .hero-prev,
    .hero-next,
    .hero-btn-elegant,
    .hero-btn-modern,
    .hero-btn-minimal,
    .hero-btn-circle {
        min-width: 44px;
        min-height: 44px;
    }
    
    .hero-prev::before,
    .hero-next::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
}
