/* ===============================
   リセット & ベース
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

#wrapper {
    width: 100%;
    margin-top: 80px;
}


/* ===============================
   ヘッダー
================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 3000;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 40px;
}


/* ===============================
   ハンバーガー
================================ */
.hamburger {
    position: relative;
    z-index: 3100;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: 0.3s;
}

/* クリック時アニメーション */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* ===============================
   ログインアイコン
================================ */
.header-right a.btn-login-icon {
    font-size: 26px;
    color: #000;
    text-decoration: none;
}


/* ===============================
   スライドメニュー（全デバイス共通）
================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 350px;
    max-width: 90%;
    height: 100vh;
    background: linear-gradient(135deg,#595958f6,#444341bd);
    color: #fff;
    padding: 30px 20px;
    transition: left 0.35s ease;
    z-index: 2900;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 5px 0 20px rgba(0,0,0,0.3);
}

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


/* ===============================
   トップ画像
================================ */
.mobile-menu .top-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.mobile-menu .top-image img {
    max-width: 120px;
}


/* ===============================
   メニューリスト
================================ */
.mobile-menu ul {
    list-style: none;
    width: 100%;
}

.mobile-menu ul li {
    margin-bottom: 18px;
    text-align: center;
}

.mobile-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.mobile-menu ul li a:hover {
    color: #ffbf00;
}


/* ===============================
   お問い合わせボタン
================================ */
.mobile-menu .btn-contact {
    display: block;
    background: linear-gradient(135deg, #ff8000, #ffbf00);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 30px;
    margin: 20px auto;
    text-align: center;
    font-size: 16px;
    width: 70%;
    transition: 0.3s;
}

.mobile-menu .btn-contact:hover {
    background: linear-gradient(135deg, #ffbf00, #ff8000);
}


/* ===============================
   SNS
================================ */
.mobile-menu .sns-menu {
    display: flex;
    gap: 18px;
    margin-top: 30px;
}

.mobile-menu .sns-menu a {
    font-size: 32px;
    color: #fff;
    transition: 0.3s;
}

.mobile-menu .sns-menu a:hover {
    color: #ffbf00;
}


/* ===============================
   オーバーレイ
================================ */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 2800;
}

.menu-overlay.open {
    display: block;
}
