/* ===========================================
   GLOBAL & RESET
   =========================================== */
html {
    scroll-behavior: smooth;
}

/* Reset */
ul,
li,
h1,
h2,
h3,
p,
img,
hr,
iframe,
body {
    margin: 0;
    padding: 0;
}

body {
    /* REMOVE min-width (was breaking mobile layouts) */
    width: 100%;
    overflow-x: hidden;

    font-family: 'Yu Gothic', 'YuGothic', 'MS Gothic', 'MS PGothic',
        'Hiragino Maru Gothic Pro', sans-serif;
}

h1 a {
    color: #ffffff;
    text-decoration: none;
}

h1 a:hover {
    text-decoration: underline;
}


/* Back-to-top button */
p.top {
    position: fixed;
    right: 20px;
    bottom: 120px;
    font-size: 20px;
    z-index: 9999;
}

a.top {
    background-color: #09041a;
    color: white;
    padding: 10px 14px;
    border-radius: 4px;
}

/* Header */
#header {
    background-color: #09041a;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    backdrop-filter: blur(4px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#header h1 {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: clamp(20px, 3vw, 32px);
}

/* Hamburger icon */
#hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

#hamburger div {
    width: 55px;
    height: 3px;
    background-color: white;
}

/* SideMenu Social Icons - Footer Style */
.side-social {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;      /* clean separator like footer */
    display: flex;
    justify-content: center;         /* center icons */
    align-items: center;
    gap: 20px;                       /* equal spacing */
    flex-wrap: wrap;                 /* wrap on small height */
}

.side-social img {
    width: 28px;                     /* same size as footer */
    height: 28px;
    opacity: 0.85;
    transition: 0.2s ease;
}

.side-social img:hover {
    opacity: 1;
    transform: scale(1.08);          /* elegant hover like footer */
}


/* Menu */
.menu,
.menu-2 {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 16px;
}

a.button {
    color: #ffffff;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #03a8f4;
    border-radius: 4px;
    transition: 0.25s ease;
    font-size: clamp(14px, 1.5vw, 20px);
}

a.button:hover {
    background-color: #03a8f4;
    color: #000;
}

/* Side Menu */
#sideMenu {
    position: fixed;
    top: 0;
    left: -250px;
    /* Hidden by default */
    width: 200px;
    height: 100%;
    background-color: #09041a;
    padding-top: 70px;
    /* below header */
    transition: 0.3s;
    z-index: 1001;
}

#sideMenu ul {
    list-style: none;
    padding: 0;
}

#sideMenu ul li {
    padding: 15px 20px;
    /* align-items: center; */
}

#sideMenu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    display: block;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Small screens */
@media (max-width: 768px) {

    .menu,
    .menu-2 {
        display: none;
        /* hide original menu */
    }

    #hamburger {
        display: flex;
    }
    #header h1 {
        margin-left: auto;
        margin-right: auto;
        transform: translateX(20px);
    }
}
@media (max-width: 1058px) {
    .menu,
    .menu-2 {
        display: none;
    }

    #hamburger {
        display: flex;
    }
    #header h1 {
        margin-left: auto;
        margin-right: auto;
        transform: translateX(20px);
    }
}
@media (max-width: 1458px) {
    .menu,
    .menu-2 {
        display: none;
    }

    #hamburger {
        display: flex;
    }
    #header h1 {
        margin-left: auto;
        margin-right: auto;
        transform: translateX(20px);
    }  
}


/* ===========================================
   FOOTER
   =========================================== */
#footer {
    background-color: #09041a;
    padding: 18px;
    width: 100%;
    margin-top: 60px;
    text-align: center;
}

#footer p {
    color: white;
    font-size: clamp(14px, 2vw, 18px);
    margin-bottom: 10px;
    font-family: 'Monotype Corsiva', "Lucida Calligraphy", "Brush Script MT", cursive;
}

/* SNS icons */
.sns-icon {
    width: 30px;
    height: auto;
    margin: 0 5px;
    transition: transform 0.2s ease-in-out;
}

.sns-icon:hover {
    transform: scale(1.22);
}

/* Mobile footer */
@media (max-width: 600px) {
    .sns-icon {
        width: 28px;
        margin: 0 8px;
    }

    #footer p {
        font-size: 14px;
    }
}

/* Pink highlight */
.pink {
    color: #03a8f4;
}