:root {
    --ui-top: calc(env(safe-area-inset-top, 0px) + 18px);
    --ui-side: 22px;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
header {
    position: relative;
    height: auto;
}
.site-header{
  position: relative;
  z-index: 2000;
}
main {
    padding-top: 1rem;
}
header .logo {
    padding: 1rem 5%;
}
header .logo img {
    width: 200px;
}
header .logo .title {
    font-size: 1.7rem;
    line-height: 1.1;
    padding-top: 0.7rem;
}
header .menu-btn {
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    z-index: 100;
}
/* =========================================
   MENU BUTTON (CSS hamburger)
========================================= */
.menu-btn {
    position: relative;
    background: #DF003A; /* TOMOWEL RED想定 */
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 1001;
    padding: 0;
}
.menu-btn .menu-bar {
    position: absolute;
    width: 28px;
    height: 1px;
    background: #fff;
    transition: transform .25s ease, opacity .2s ease;
}
.menu-btn .menu-bar:nth-child(1) {
    transform: translateY(-8px);
}
.menu-btn .menu-bar:nth-child(2) {
    transform: translateY(0);
}
.menu-btn .menu-bar:nth-child(3) {
    transform: translateY(8px);
}
/* open => X */
.menu-btn.is-open .menu-bar:nth-child(1) {
    transform: rotate(45deg);
}
.menu-btn.is-open .menu-bar:nth-child(2) {
    opacity: 0;
}
.menu-btn.is-open .menu-bar:nth-child(3) {
    transform: rotate(-45deg);
}
/* =========================================
   MENU OVERLAY (full screen)
========================================= */ :root {
    --menu-red: #DF003A;
    --menu-line: rgba(255, 255, 255, .7);
    --menu-text: #fff;
    --menu-close-bg: #000;
    --menu-z: 9999;
}
/* overlay itself */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .25);
    z-index: var(--menu-z);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}
/* panel */
.menu-panel {
    position: absolute;
    inset: 0;
    background: var(--menu-red);
    color: var(--menu-text);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: calc(env(safe-area-inset-top, 0px) + 120px);
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
}
/* =========================================
   CLOSE BUTTON (1px X)
========================================= */
.menu-close {
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #000;
    border: none;
    cursor: pointer;
    z-index: 10000;
}
.menu-close .close-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 1px; /* ← 完全に1px */
    background: #fff;
}
.menu-close .close-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}
.menu-close .close-line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}
/* nav width */
.menu-nav {
    width: min(720px, 86vw);
    margin: 0 auto;
}
/* list lines */
.menu-list {
    border-top: 1px solid var(--menu-line);
    margin: 0;
    padding: 0;
    list-style: none;
}
.menu-item {
    border-bottom: 1px solid var(--menu-line);
}
/* normal link */
.menu-link {
    display: block;
    color: var(--menu-text);
    padding: 18px 10px;
    font-size: 1.2rem;
    letter-spacing: .06em;
    text-decoration: none;
}
.menu-link:hover {
    color: var(--menu-text);
    opacity: .9;
}
/* accordion button */
.menu-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: transparent;
    border: none;
    color: var(--menu-text);
    padding: 22px 10px;
    font-size: 20px;
    letter-spacing: .06em;
    cursor: pointer;
    text-align: left;
	font-weight: 500;
}
.menu-acc-icon {
    font-size: 26px;
    line-height: 1;
    transform: translateY(-1px);
    transition: transform .2s ease;
}
/* =========================================
   ACCORDION INDENT (open only)
========================================= */
.menu-item--accordion.is-open .menu-sublist {
    padding-left: 24px;
}
/* open: + rotates to look like × */
.menu-item--accordion.is-open .menu-acc-icon {
    transform: rotate(45deg);
}
/* accordion panel */
.menu-acc-panel {
    padding: 6px 0 2rem;
}
.menu-sublist {
    display: grid;
    gap: 10px;
    padding: 0 10px;
    margin: 0;
    list-style: none;
}
.menu-sublink {
    display: block;
    color: var(--menu-text);
    padding: 5px 0;
    font-size: 1.1rem;
    letter-spacing: .04em;
    opacity: .95;
    text-decoration: none;
}
.menu-sublink:hover {
    color: var(--menu-text);
    opacity: .85;
}
/* PC tweaks */
@media screen and (min-width: 768px) {
    header .menu-btn {
        width: 80px;
        height: 80px;
    }
    .menu-close {
        width: 80px;
        height: 80px;
    }
    .menu-link, .menu-acc-btn {
        padding: 26px 12px;
    }
}
/* scroll lock while menu open */
body.is-menu-open {
    overflow: hidden;
}
/* MENU */
@media screen and (min-width: 768px) {
    header {}
    main {}
    header .logo .title {
        font-size: 2rem;
    }
    header .logo img {
        width: 300px;
    }
}
@media screen and (min-width: 1400px) {}