/* 
Theme Name: Harmornia
Theme URI: https://harmornia.com
Description: A custom theme for Harmornia
Author: Your Name
Author URI: https://yourwebsite.com
Version: 1.0
Text Domain: harmornia
*/

/* 共通 */
body {
    background-color: #000741;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: normal;
    line-height: 1.75;
    position: relative;
}

/* 背景パララックス用 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150vh;
    background-image: url('./images/img_page_bg.jpg');
    background-size: cover;
    background-position: center top;
    z-index: -2;
    transform: translateY(var(--parallax-y, 0));
    will-change: transform;
    -webkit-transform: translateY(var(--parallax-y, 0));
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


:root {
    --container-max-width: min(1000px, 96vw);
    --main-border-radius: 20px;
    --input-border-radius: 8px;
}

.inner {
    width: var(--container-max-width);
    margin: 0 auto;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
}

/* ==========================================================================
   コンポーネント
   ========================================================================== */

/* テキスト */

.section-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 80px;
}

.section-title h2{
    font-family: 'Caveat', cursive;
    font-size: 48px;
    font-weight: 700;
}

/* ボタン */
.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8em;
    padding: 1em 3.6em;
    border-radius: 9999px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    transition: all 0.3s ease;
    position: relative;
}

.btn-primary {

    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0) 70%),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0.2) 35%, rgba(255, 255, 255, 0) 65%);
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.35);
    color: #000741;
    border: none;
}

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

.btn-arrow {
    position: absolute;
    bottom: 1.2em; 
    right: 1em;
}






/* ==========================================================================
   ヘッダー・フッター
   ========================================================================== */

header .h-logo, 
footer .f-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

header .h-logo img,
footer .f-logo img{
    align-items: center;
    width: 64px;
}
header .h-logo h1,
footer .f-logo h1 {
    font-size: 24px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;

    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
}

header .h-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
header .h-nav__list{
    display: flex;
}
header .h-nav__item{
    padding: 16px 20px;
}

header .h-nav__btn{
    font-size: 12px;
}

header .h-nav__toggle{
    display: none;
}

/* ==========================================================================
   モバイルメニュー
   ========================================================================== */

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: rgba(0, 7, 65, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 30px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
    right: 0;
}

.mobile-menu__list {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-menu__list li {
    margin-bottom: 8px;
}

.mobile-menu__list a {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu__list a:hover {
    color: #fff;
    padding-left: 10px;
}

.mobile-menu__social {
    display: flex;
    gap: 16px;
}

.mobile-menu__social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.mobile-menu__social a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ハンバーガーメニュー アクティブ状態 */
header .h-nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

header .h-nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

header .h-nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* スマホ固定お問い合わせボタン */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 990;
    padding: 14px 28px;
    background: linear-gradient(135deg, #fff 0%, #e8e8ff 100%);
    color: #000741;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-cta:active {
    transform: translateX(-50%) scale(0.95);
}

.mobile-cta svg {
    flex-shrink: 0;
}

/* ==========================================================================
   フッター
   ========================================================================== */

footer {
    background: rgba(0, 5, 40, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
}

.footer-main {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

/* ブランド */
.footer-brand .f-logo {
    margin-bottom: 16px;
}

.footer-brand .f-logo h2 {
    font-size: 20px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-3px);
}

/* ナビゲーション */
.footer-nav h3,
.footer-contact h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #fff;
}

/* 連絡先 */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact li svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

/* フッターボトム */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.f-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   ファーストビュー
   ========================================================================== */

#fv {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

section {
    padding: 100px 0;
}

#fv {
    padding: 0;
}

/* FVコンテンツ */
.fv-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    width: 100%;
}

.fv-text-area {
    flex: 1;
}

.fv-services {
    flex-shrink: 0;
    margin-top: 0;
}

/* ラベル */
.fv-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.fv-label__line {
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6));
}

/* 見出し */
.fv-heading {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.fv-heading__line {
    display: block;
}

.fv-heading__accent {
    background: linear-gradient(135deg, #fff 0%, rgba(180, 180, 255, 1) 50%, #fff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 説明文 */
.fv-desc {
    font-size: 15px;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
}

/* CTA */
.fv-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.fv-btn {
    font-size: 16px;
    padding: 1.1em 2.8em;
    gap: 12px;
}

.fv-btn .btn-arrow-svg {
    transition: transform 0.3s ease;
}

.fv-btn:hover .btn-arrow-svg {
    transform: translateX(4px);
}

.fv-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.fv-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.fv-link:hover {
    color: #fff;
}

.fv-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.fv-link svg {
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(3px); }
}

/* サービス六角形クラスター */
.fv-services {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.hex-cluster {
    position: relative;
    width: 270px;
    height: 260px;
    transform: rotate(15deg);
}

/* 六角形グループ */
.hex-group {
    position: absolute;
}

.hex-group--web {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.hex-group--system {
    top: 118px;
    left: 5px;
}

.hex-group--music {
    top: 119px;
    right: 4px;
}

/* 六角形ベース */
.hex {
    position: relative;
    width: 125px;
    height: 144px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.hex span {
    font-family: 'Caveat', cursive;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: rotate(-15deg);
    z-index: 1;
}

/* 色バリエーション */
.hex--white {
    background: rgba(255, 255, 255, 0.5);
}

.hex--red {
    background: rgba(255, 174, 226, 0.5);
}

.hex--blue {
    background: rgba(116, 195, 255, 0.5);
}

/* メイン六角形 */
.hex--main {
    z-index: 2;
}

.hex--main:hover {
    transform: scale(1.08);
}

/* サブ六角形（ホバーで出現） */
.hex--sub {
    position: absolute;
    width: 125px;
    height: 144px;
    opacity: 0;
    transform: scale(0.3);
    pointer-events: none;
    z-index: 1;
}

.hex--sub span {
    font-size: 26px;
}

/* サブ六角形の位置 */
.hex-group--web .hex--sub-1 {
    top: -50px;
    left: -70px;
}
.hex-group--web .hex--sub-2 {
    top: -50px;
    right: -70px;
}

.hex-group--system .hex--sub-1 {
    top: -60px;
    left: 10px;
}
.hex-group--system .hex--sub-2 {
    bottom: -60px;
    left: -50px;
}

.hex-group--music .hex--sub-1 {
    top: -60px;
    right: 10px;
}
.hex-group--music .hex--sub-2 {
    bottom: -60px;
    right: -50px;
}

/* ホバーでサブ六角形を表示 */
.hex-group:hover .hex--sub {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    animation: hexPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hex-group:hover .hex--sub-1 {
    animation-delay: 0s;
}

.hex-group:hover .hex--sub-2 {
    animation-delay: 0.08s;
}

@keyframes hexPop {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 装飾要素 */
.fv-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.fv-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fv-circle--1 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite;
}

.fv-circle--2 {
    width: 700px;
    height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 8s ease-in-out infinite 1s;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.fv-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(100, 100, 255, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    animation: glowPulse 6s ease infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* スクロールインジケーター */
.fv-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.fv-scroll-indicator span {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.fv-scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    position: relative;
    overflow: hidden;
}

.fv-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: #fff;
    animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(250%); }
}

/* 背景 */
.fv-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.fv-bg video {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    object-fit: cover;
}

.fv-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center top, transparent 0%, rgba(0, 7, 65, 0.4) 70%),
        linear-gradient(to bottom, transparent 60%, rgba(0, 7, 65, 0.9) 100%);
}

/* ==========================================================================
   実績カウンター
   ========================================================================== */

#stats {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--main-border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    font-family: 'Caveat', cursive;
    background: linear-gradient(135deg, #fff 0%, rgba(200, 200, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-unit {
    font-size: 24px;
    font-family: 'Caveat', cursive;
    color: rgba(255, 255, 255, 0.7);
}

.stat-label {
    margin-top: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   制作実績カルーセル
   ========================================================================== */

#works {
    overflow: hidden;
}

.works-carousel {
    position: relative;
    margin-bottom: 40px;
}

.works-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card {
    flex: 0 0 280px;
    cursor: pointer;
}

.work-card__img {
    position: relative;
    border-radius: var(--main-border-radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: rgba(255, 255, 255, 0.05);
}

.work-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-card:hover .work-card__img img {
    transform: scale(1.05);
}

.work-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 7, 65, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card:hover .work-card__img::after {
    opacity: 1;
}

.work-card__title {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.works-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.works-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.works-nav--prev {
    left: -24px;
}

.works-nav--next {
    right: -24px;
}

.works-link {
    text-align: center;
}

/* ==========================================================================
   制作フロー
   ========================================================================== */

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.flow-steps::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px 0;
    position: relative;
}

.flow-step__number {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.flow-step__content {
    flex: 1;
    padding-top: 10px;
}

.flow-step__content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.flow-step__content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ==========================================================================
   パートナーセクション
   ========================================================================== */

.partner-box {
    padding: 60px;
    border-radius: var(--main-border-radius);
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.3) 0, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.15) 0, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0) 60%);
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.partner-box h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.partner-lead {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.partner-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.partner-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.partner-feature__icon {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
}

.partner-feature h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.partner-feature p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.partner-cta {
    display: inline-flex;
}

/* ==========================================================================
   スキル
   ========================================================================== */

#skills {
    padding: 80px 0;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.skill-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.skill-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.skill-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.skill-icon svg {
    width: 100%;
    height: 100%;
}

.skill-item h4 {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
}

.skill-bar {
    display: none;
}

.skill-progress {
    display: none;
}

.skill-item.is-visible .skill-progress {
    width: var(--progress);
}

/* ==========================================================================
   導入文
   ========================================================================== */

#intro {
    padding: 100px 0 80px;
}

.intro-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.intro-text {
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.intro-text--highlight {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--main-border-radius);
    border-left: 3px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   強み
   ========================================================================== */

#strengths {
    padding: 80px 0;
}

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

.strength-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--main-border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.strength-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
}

.strength-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.95);
}

.strength-item p {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   屋号について
   ========================================================================== */

#about {
    padding: 80px 0;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.about-content p {
    font-size: 15px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

/* ==========================================================================
   プロフィール（更新版）
   ========================================================================== */

.profile-main {
    display: flex;
    align-items: center;
    gap: 50px;
}

.profile-img {
    flex-shrink: 0;
}

.profile-img img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.profile-motto {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 16px;
}

.profile-motto--sub {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.65);
}

.profile-motto--sp {
    display: none;
}

/* ==========================================================================
   CTA前
   ========================================================================== */

#cta-lead {
    padding: 100px 0;
}

.cta-lead-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-lead-text {
    font-size: 16px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.cta-lead-text--strong {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.cta-lead-btn {
    display: inline-flex;
}

/* ==========================================================================
   フッター前締め
   ========================================================================== */

.footer-lead {
    text-align: center;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-lead__text {
    font-size: 18px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.footer-lead__sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   サービス
   ========================================================================== */

.service-blocks {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--main-border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-block__content {
    flex: 1;
}

.service-block__content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-block__content p {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.service-block__sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.service-block__img {
    flex-shrink: 0;
}

.service-block__img img {
    width: 280px;
    height: auto;
    border-radius: var(--main-border-radius);
}

/* SP用改行 */
.sp-only {
    display: none;
}

/* 旧サービスカード（互換性のため残す） */
.service-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.service-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.service-card img {
    width: 240px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--main-border-radius);
}

/* ==========================================================================
   プロフィール
   ========================================================================== */

.profile-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 64px 48px;
    border-radius: var(--main-border-radius);
    background:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4) 0, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0) 50%), radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.2) 35%, rgba(255, 255, 255, 0) 65%);
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   お問い合わせフォーム
   ========================================================================== */

form.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.form-table tbody {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-table tr {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
.form-table th {
    width: 200px;
    text-align: left;
    vertical-align: top;
    padding: 10px 0;
}

.form-table td {
    padding: 10px 0;
}

.form-input {
    max-width: 320px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: var(--input-border-radius);
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.25);
}

.form-input::placeholder {
    font-size: 12px;
    line-height: 12;
    color: #3f3f3f;
    padding: 0 !important;
    margin: 0 !important;
}

.inquiry-type {
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.inquiry-type label {
    cursor: pointer;
}
.inquiry-types input[type="radio"] {
    width: 16px;
    height: 16px;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.25);
}

.form-table button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: var(--main-border-radius);
}

/* ==========================================================================
   アニメーション
   ========================================================================== */

/* ヘッダースクロール時 */
header {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
header.scrolled {
    background: rgba(0, 7, 65, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* カスタムカーソル */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease;
    margin-left: -10px;
    margin-top: -10px;
}
.custom-cursor.cursor-hover {
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-top: -25px;
    background: rgba(255, 255, 255, 0.1);
}

/* フェードアニメーション基本 */
.fade-in, .fade-up, .fade-left, .fade-right, .scale-in, .stagger-item {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.fade-up {
    transform: translateY(40px);
}
.fade-left {
    transform: translateX(40px);
}
.fade-right {
    transform: translateX(-40px);
}
.scale-in {
    transform: scale(0.9);
}

.fade-in.is-visible,
.fade-up.is-visible,
.fade-left.is-visible,
.fade-right.is-visible,
.scale-in.is-visible,
.stagger-item.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* FV初期アニメーション */
.fv-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fv-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* サービスカードホバー */
.service-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.4s ease;
    border-radius: var(--main-border-radius);
}
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.service-card img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.service-card:hover img {
    transform: scale(1.05);
}

/* ボタンホバー強化 */
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.5);
}
.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ナビゲーションリンクホバー */
.h-nav__item a {
    position: relative;
    transition: color 0.3s ease;
}
.h-nav__item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transition: width 0.3s ease, left 0.3s ease;
}
.h-nav__item a:hover::after {
    width: 100%;
    left: 0;
}

/* フォームフォーカスエフェクト */
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: inset 1px 1px 4px rgba(0, 0, 0, 0.25),
                0 0 0 3px rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.7);
}

.input-focused {
    position: relative;
}
.input-focused::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: calc(var(--input-border-radius) + 4px);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    z-index: -1;
    animation: inputGlow 1.5s ease infinite alternate;
}

@keyframes inputGlow {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

/* プロフィールボックス光沢アニメーション */
.profile-box {
    position: relative;
    overflow: hidden;
}
.profile-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.03) 45%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.03) 55%,
        transparent 60%
    );
    animation: shimmer 8s linear infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* セクションタイトルアニメーション */
.section-title h2 {
    position: relative;
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
}

/* 実績カウンター */
.stat-number {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Caveat', cursive;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* グラデーションテキスト */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, rgba(200, 200, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* フッターアニメーション */
footer {
    position: relative;
    padding: 60px 0 20px;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* ローディングスピナー（必要な場合） */
.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* パーティクル背景（軽量版） */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* レスポンシブ：カーソル非表示（タッチデバイス） */
@media (hover: none) {
    .custom-cursor {
        display: none;
    }
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 1024px) {
    /* 強み */
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    /* サービスブロック */
    .service-block {
        flex-direction: column;
        padding: 40px 30px;
        gap: 40px;
    }
    .service-block--music {
        flex-direction: column;
    }
    .service-block__img img {
        width: 100%;
        max-width: 300px;
    }
    /* プロフィール */
    .profile-main {
        flex-direction: column;
        text-align: center;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .skills-grid {
        gap: 10px;
    }
    .row {
        flex-direction: column;
        gap: 40px;
    }
    .fv-circle--1 {
        width: 350px;
        height: 350px;
    }
    .fv-circle--2 {
        width: 500px;
        height: 500px;
    }
    .fv-glow {
        width: 400px;
        height: 300px;
    }
    .partner-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .partner-box {
        padding: 40px 30px;
    }
    /* フッター タブレット */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .stat-number {
        font-size: 40px;
    }
    .skills-grid {
        gap: 8px;
    }
    .skill-item {
        padding: 8px 14px;
        gap: 8px;
    }
    .skill-item h4 {
        font-size: 12px;
    }
    .skill-icon {
        width: 16px;
        height: 16px;
    }
    .service-cards {
        flex-direction: column;
        align-items: center;
    }
    .service-card {
        width: 100%;
        max-width: 300px;
    }
    header .h-nav {
        display: none;
    }
    header .h-nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1000;
    }
    header .h-nav__toggle span {
        width: 25px;
        height: 2px;
        background: #fff;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .profile-box {
        padding: 40px 24px;
    }
    .form-table tr {
        flex-direction: column;
    }
    .form-table th {
        width: 100%;
        padding: 10px 0 5px;
    }
    /* FVモバイルレイアウト */
    .fv-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
    }
    .fv-text-area {
        order: 1;
    }
    .fv-services {
        order: 2;
    }
    /* 六角形クラスターモバイル */
    .hex-cluster {
        width: 160px;
        height: 155px;
        transform: rotate(15deg);
    }
    .hex {
        width: 72px;
        height: 83px;
    }
    .hex span {
        font-size: 16px;
    }
    .hex--sub {
        width: 72px;
        height: 83px;
    }
    .hex--sub span {
        font-size: 16px;
    }
    .hex-group--system {
        top: 70px;
        left: 0;
    }
    .hex-group--music {
        top: 70px;
        right: 0;
    }
    .hex-group--web .hex--sub-1 {
        top: -30px;
        left: -40px;
    }
    .hex-group--web .hex--sub-2 {
        top: -30px;
        right: -40px;
    }
    .hex-group--system .hex--sub-1 {
        top: -35px;
        left: 5px;
    }
    .hex-group--system .hex--sub-2 {
        bottom: -35px;
        left: -30px;
    }
    .hex-group--music .hex--sub-1 {
        top: -35px;
        right: 5px;
    }
    .hex-group--music .hex--sub-2 {
        bottom: -35px;
        right: -30px;
    }
    /* 導入文モバイル */
    #intro {
        padding: 60px 0;
    }
    .intro-text {
        font-size: 14px;
    }
    .intro-text--highlight {
        padding: 20px;
    }
    /* 強みモバイル */
    .strength-item {
        padding: 30px 20px;
    }
    .strength-item h4 {
        font-size: 15px;
    }
    /* 屋号モバイル */
    .about-title {
        font-size: 18px;
    }
    .about-content p {
        font-size: 14px;
    }
    /* プロフィールモバイル */
    .profile-img img {
        width: 150px;
        height: 150px;
    }
    .profile-motto {
        font-size: 16px;
    }
    .profile-motto--sub {
        display: none;
    }
    .profile-motto--sp {
        display: block;
        font-size: 14px;
        color: rgba(255, 255, 255, 0.7);
    }
    /* CTA前モバイル */
    #cta-lead {
        padding: 60px 0;
    }
    .cta-lead-text {
        font-size: 14px;
    }
    .cta-lead-text--strong {
        font-size: 18px;
    }
    /* フッター前モバイル */
    .footer-lead {
        padding: 50px 0;
    }
    .footer-lead__text {
        font-size: 16px;
    }
    /* サービスブロックモバイル */
    .service-block {
        padding: 30px 20px;
        gap: 30px;
    }
    .service-block__content h3 {
        font-size: 20px;
    }
    .service-block__content p {
        font-size: 14px;
    }
    /* SP用改行表示 */
    .sp-only {
        display: inline;
    }
    /* FVモバイル */
    .fv-label {
        font-size: 11px;
        margin-bottom: 16px;
    }
    .fv-desc {
        font-size: 13px;
        margin-bottom: 30px;
    }
    .fv-cta {
        flex-direction: column;
        gap: 20px;
    }
    .fv-btn {
        font-size: 14px;
        padding: 1em 2.2em;
    }
    .fv-circle--1,
    .fv-circle--2 {
        display: none;
    }
    .fv-glow {
        width: 300px;
        height: 200px;
    }
    .fv-scroll-indicator {
        bottom: 20px;
    }
    /* Works モバイル */
    .work-card {
        flex: 0 0 220px;
    }
    .works-nav {
        width: 40px;
        height: 40px;
    }
    .works-nav--prev {
        left: 10px;
    }
    .works-nav--next {
        right: 10px;
    }
    /* Flow モバイル */
    .flow-step {
        gap: 20px;
        padding: 20px 0;
    }
    .flow-step__number {
        flex: 0 0 50px;
        height: 50px;
        font-size: 20px;
    }
    .flow-steps::before {
        left: 25px;
    }
    .flow-step__content h4 {
        font-size: 16px;
    }
    .flow-step__content p {
        font-size: 13px;
    }
    /* Partner モバイル */
    .partner-box {
        padding: 30px 20px;
    }
    .partner-box h3 {
        font-size: 22px;
    }
    .partner-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    /* フッター モバイル */
    .footer-main {
        padding: 50px 0 40px;
        padding-bottom: 100px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-brand {
        grid-column: auto;
    }
    .footer-brand .f-logo {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-contact li {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding-bottom: 80px;
    }
    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }
    .mobile-cta {
        display: flex;
    }
    /* メニューが開いている時はbodyスクロール無効 */
    body.menu-open {
        overflow: hidden;
    }
}

/* ==========================================================================
   パフォーマンス最適化
   ========================================================================== */

/* GPU加速を有効化 */
.service-card,
.stat-item,
.skill-item,
.btn-primary,
.btn-secondary,
.fv-anim,
.fade-up,
.fade-in,
.scale-in {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* アニメーション中のみwill-changeを有効化（JSで制御） */
.animating {
    will-change: transform, opacity;
}

/* 動きを減らすユーザー設定に対応 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .fade-in, .fade-up, .fade-left, .fade-right, .scale-in, .stagger-item, .fv-anim {
        opacity: 1;
        transform: none;
    }
}
