@charset "utf-8";

/* =================================
フォント

font-family: 'Noto Sans JP', sans-serif;
font-family: 'Noto Serif JP', serif;


================================= */

/* =================================
		menu.css
================================= */

ul.top_nav {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    color: white;
}

ul.top_nav li {
    display: block;
    margin: 0px 8px;
}

ul.top_nav li a {
    display: block;
    color: white;
    writing-mode: vertical-rl;
    font-size: 136%;
}

ul.top_nav li a:hover,
.contact_area a:hover {
    opacity: 0.8;
}

.hamburger {
  display: none;
}


/*=====================================================
	  スマートフォン 600px
===================================================== */
@media screen and (max-width: 600px) {

/* ハンバーガー（スマホで表示）
========================= */
.hamburger {
    display: inline-block;
    position: fixed;
    right: 10px;
    top: 5px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 9100;
    text-align: center;
}

.hamburger:after {
    content: 'MENU';
    color: white;
    font-family: 'Noto Serif JP';
    writing-mode: vertical-rl;
    display: inline-block;
    margin-top: 5px;
    font-size: 110%;
}

body.nav_open .hamburger:after {
    color: black;
}

.hamburger_line {
    display: block;
    width: 40px;
    height: 3px;
    background: white;
    margin: 8px auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1050;
}

.global_nav {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #ffffffe3;
    padding: 100px 20px 20px;
    transition: right 0.25s ease;
    z-index: 1080;
}

header .top_nav {
    flex-direction: column;
    gap: 0;
}

  /* 開いた状態 */
body.nav_open .global_nav {
    right: -1px;
}

body.nav_open .nav_overlay {
    display: block;
}

  /* ハンバーガーを×にする */
body.nav_open .hamburger_line:nth-child(1) {
    transform: translateY(13.5px) rotate(45deg);
    background: black;
}

body.nav_open .hamburger_line:nth-child(2) {
    opacity: 0;
}

body.nav_open .hamburger_line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: black;
}

header ul.top_nav {
    display: block;
}

header ul.top_nav li {
    margin: 24px 0;
    padding-top: 0;
}

header ul.top_nav li::before {
    display: none;
}

header ul.top_nav li a {
    display: inline;
    color: black;
    writing-mode: horizontal-tb;
    font-size: 136%;
}

ul.top_nav li a span {
    display: none;
}

.ft_nav ul.top_nav li {
    margin: 0px 6px;
    width: 38px;
}

}/*===	スマートフォン 600px  === */