.elementor-337 .elementor-element.elementor-element-3a6d106{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-337 .elementor-element.elementor-element-3a6d106.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-337 .elementor-element.elementor-element-9026ab7{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(min-width:321px){.elementor-337 .elementor-element.elementor-element-9026ab7{--width:100%;}}@media(max-width:1366px) and (min-width:321px){.elementor-337 .elementor-element.elementor-element-3a6d106{--width:1357px;}}/* Start custom CSS for html, class: .elementor-element-06df066 */* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ヘッダースタイル - 初期状態は完全に不透明 */
.header {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Elementorのコンテナ背景を透明に */
.elementor-location-header,
.elementor-location-header > .e-con {
    background: transparent !important;
}

/* スクロール時の半透明効果 */
.elementor-sticky--effects .header {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-container {
    width: 100%;
    margin: 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    position: relative;
    transition: height 0.3s ease;
}

/* スクロール時のヘッダー高さ */
.elementor-sticky--effects .header-container {
    height: 70px;
}

/* ロゴ */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    position: absolute;
    left: 20px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* メインナビゲーション */
.main-nav {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s ease;
    position: relative;
    display: block;
}

/* ホバー時の下線アニメーション */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2c3e50;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: #2c3e50;
}

/* ヘッダーボタン */
.header-buttons {
    display: flex;
    align-items: stretch;
    height: 100%;
    position: absolute;
    right: 20px;
}

.btn-entry {
    background: #2c3e50;
    color: white;
    padding: 0 28px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.btn-entry:hover {
    background: #34495e;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hamburger:focus,
.hamburger:active,
.hamburger:hover {
    outline: none;
    background: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu li {
    margin: 15px 0;
}

.mobile-menu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu a:hover {
    color: #2c3e50;
}

/* FVセクションの負のマージン調整（全ページ） */
.fv-wrapper {
    margin-top: -80px;
    padding-top: 80px;
}


/* FVセクションに白い背景を追加してヘッダーの透け防止 */
.fv-wrapper {
    position: relative;
}

/* デスクトップ用 */
.fv-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: #ffffff;
    z-index: 2;
}

/* タブレット以下用 */
@media (max-width: 1024px) {
    .fv-wrapper::before {
        height: 70px; /* タブレット用の高さに変更 */
    }
}

/* FVコンテンツのz-indexも調整 */
.fv-content {
    position: relative;
    z-index: 3;
}



/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 15px;
        height: 70px;
    }

    /* スクロール時もタブレットでは高さを維持 */
    .elementor-sticky--effects .header-container {
        height: 70px;
    }

    /* ロゴを左端に */
    .logo {
        left: 15px;
    }

    /* ENTRYボタンをハンバーガーメニューの左横に */
    .header-buttons {
        position: absolute;
        right: 60px;
        height: 70px;
        top: 0;
    }

    /* ハンバーガーメニューを右端に */
    .hamburger {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
    }

    /* デスクトップメニューを非表示 */
    .main-nav {
        display: none;
    }

    /* ボタンサイズ調整 */
    .btn-entry {
        padding: 0 18px;
        font-size: 14px;
        font-weight: 700;
    }

    /* ロゴサイズ調整 */
    .logo-text {
        font-size: 16px;
    }

    /* ヘッダーの位置調整 */
    .header-container {
        position: relative;
    }

    /* FVセクションの調整 */
    .fv-wrapper {
        margin-top: -70px;
        padding-top: 70px;
    }

}

@media (max-width: 768px) {
    /* 768px以下でも半透明効果を維持 */
    .elementor-sticky--effects .header {
        background: rgba(255, 255, 255, 0.8999999999999999) !important;
    }
}

@media (max-width: 480px) {
    .logo {
        left: 15px;
    }

    .header-buttons {
        right: 60px;
        height: 70px;
        top: 0;
    }

    .hamburger {
        right: 15px;
    }

    .btn-entry {
        padding: 0 14px;
        font-size: 13px;
        font-weight: 700;
    }

    .logo-text {
        font-size: 14px;
    }
}

/* モバイルメニューが開いている時のスクロール防止 */
body.mobile-menu-open {
    overflow: hidden;
}/* End custom CSS */