/* :root {
  --color-primary: #e63946;
  --color-gray-light: #eaeaea;
  --color-gray-border: #e6e6e6;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
} */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.flex {
    display: flex;
}

html {
    background-color: #f0f0f0;
}

/* === common === */

/* === header start === */
body {
    padding-top: 113px;
    font-family: "Noto Sans JP", sans-serif;
}
body {
    background-color: #fff;
    /* max-width: 375px; */
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 998; /* 前面に表示 */
    background-color: white;
}
/* === header end === */
/* === hamburger menu start === */
.hamburger {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 443px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #e8505b;
    z-index: 1000;
}

.menu.active {
    right: 0;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu .logo {
    text-align: center;
}
.logo > a > img {
    width: auto;
    height: auto;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 16px;
    font-size: 60px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

.menu ul a {
    display: block;
    padding: 16px;
}

.menu li {
    font-size: 24px;
    text-align: center;
    background-color: #fff;
    margin: 0 16px 16px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
/* === hamburger menu start === */

/* === footer start === */
footer {
    border-top: 1px solid #fff;
    height: 167px;
    background-color: #d10000;
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}
footer p {
    font-size: 16px;
    color: #fff;
}
footer li {
    font-size: 12px;
    text-align: left;
    color: #fff;
    margin-bottom: 4px;
    list-style-type: "-";
}
/* === footer end === */
