/* =========================================================
   Tokens / Base
========================================================= */
body {
    --color-text: #000;
    --color-text-alt: #3e4843;
    --color-heading-main: #000;
    --color-heading-main-alt: #fff;
    --color-heading-sub: #374b41;
    --color-menu: #fff;
    --color-bg: #000;
    --color-bg-menu: black;
    --color-link: #000;
    --color-link-alt: #3e4843;
    --color-link-hover: #e4007f;
    --color-link-alt-hover: #fff;
    --color-button-menu: #f3f3f3;
    --color-button-menu-hover: rgba(255, 255, 255, .7);
    --color-button-close: #fff;
    --color-button-close-hover: #79a18a;
    --button-width: 80px;
    --button-height: 80px;
}

body.is-menu-open {
    touch-action: none;
    position: fixed;
    width: 100%;
    overflow: hidden;
    left: 0;
}

/* =========================================================
   Accessibility / Reset-ish
========================================================= */
.unbutton {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;
}

.unbutton:focus {
    outline: none;
}

/* Better focus styles */
a:focus {
    outline: none;
    background: lightgrey;
}

a:focus:not(:focus-visible) {
    background: transparent;
}

a:focus-visible {
    outline: 2px solid #fff;
    background: transparent;
}

.hover-line {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    display: inline-block;
}

.hover-line::before {
    content: '';
    height: 1px;
    width: 100%;
    background: currentColor;
    position: absolute;
    top: 92%;
    transition: transform 0.3s;
    transform-origin: 0% 50%;
}

.hover-line:hover::before {
    transform: scaleX(0);
    transform-origin: 100% 50%;
}

/* =========================================================
   Loader (optional)
========================================================= */
/*
.js .loading::before,
.js .loading::after {
    content: '';
    position: fixed;
    z-index: 10000;
}

.js .loading::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
}

.js .loading::after {
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    border-radius: 50%;
    opacity: 0.4;
    background: var(--color-link);
    animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale3d(0.5, 0.5, 1);
    }
}
*/

.js body .loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.js body.loading .loader {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.js .loader__spinner {
    position: relative;
    width: 70px;
    height: 70px;
}

.js .loader__orbit {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 66px;
    height: 66px;
    opacity: 0;
    transform: rotate(225deg);
    animation: loaderOrbit 4.4s infinite;
}

.js .loader__ball {
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
}

.js .loader__orbit--1 {
    animation-delay: 0.96s;
}

.js .loader__orbit--2 {
    animation-delay: 0.19s;
}

.js .loader__orbit--3 {
    animation-delay: 0.38s;
}

.js .loader__orbit--4 {
    animation-delay: 0.58s;
}

.js .loader__orbit--5 {
    animation-delay: 0.77s;
}

@keyframes loaderOrbit {
    0% {
        opacity: 1;
        z-index: 99;
        transform: rotate(180deg);
        animation-timing-function: ease-out;
    }

    7% {
        opacity: 1;
        transform: rotate(300deg);
        animation-timing-function: linear;
    }

    30% {
        opacity: 1;
        transform: rotate(410deg);
        animation-timing-function: ease-in-out;
    }

    39% {
        opacity: 1;
        transform: rotate(645deg);
        animation-timing-function: linear;
    }

    70% {
        opacity: 1;
        transform: rotate(770deg);
        animation-timing-function: ease-out;
    }

    75% {
        opacity: 1;
        transform: rotate(900deg);
        animation-timing-function: ease-out;
    }

    76% {
        opacity: 0;
        transform: rotate(900deg);
    }

    100% {
        opacity: 0;
        transform: rotate(900deg);
    }
}

/* =========================================================
   Layout: Menu Layer / Frame
========================================================= */
.menu-layer {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    inset: 0;
    z-index: 9000;
    pointer-events: none;
    /* 閉じてる時は下を触れる */
}

body.is-menu-open #wrap-inner,
body.is-menu-open frame {
    pointer-events: auto;
}

/* Frame */
.frame {
    grid-area: 1 / 1 / 2 / 2;
    z-index: 100;
    display: grid;
    align-content: space-between;
    align-items: center;
    height: 100vh;
    padding: 1rem 1rem 0.5rem 1rem;
    pointer-events: none;
    grid-template-columns: repeat(4, 25%);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
        'author heading heading button'
        '... ... ... ...'
        'links links links links'
        'title title title title';
}

.frame a,
.frame button {
    pointer-events: auto;
}

.frame--menu-open {
    color: var(--color-text-alt);
    --color-link: var(--color-link-alt);
    --color-link-hover: (--color-link-hover-alt);
    --color-heading-main: var(--color-heading-main-alt);
}

.frame__heading {
    grid-area: heading;
    text-align: center;
    margin: 0;
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    justify-self: center;
}

.frame__heading-main {
    line-height: 0.8;
    display: block;
    font-size: 1.5rem;
    color: var(--color-heading-main);
}

.frame__heading-sub {
    font-size: 0.75rem;
    line-height: 1;
    color: var(--color-heading-sub);
}

.frame--menu-open .frame__heading-sub {
    pointer-events: none;
    opacity: 0;
}

/* Header wrapper */
.headerWrap{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(0);
    transition: transform .6s ease;
    will-change: transform;
    -webkit-transform: translateY(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
        mix-blend-mode: difference;

}

.headerWrap.is-hide{
    transform: translateY(-100px);
    -webkit-transform: translateY(-100px);
}

.header {
    position: relative;
}

.contentsLogo {
    position: fixed;
    top: 10px;
    left: 20px;
    width: 22%;
    max-width: 240px;
    min-width: 180px;
}

.contentsLogo a {
    display: block;
    position: relative;
}

.contentsLogo a img {
    width: 100%;
}


/* =========================================================
   Buttons: Menu / Close
========================================================= */
.button-menu {
    position: fixed;
    width: var(--button-width);
    height: var(--button-height);
    top: 10px;
    right: 10px;
    border-radius: 50%;
    border: 2px solid #3f3f3f;
    fill: var(--color-button-menu);
    /* background: linear-gradient(rgba(35, 35, 35, 0.88), rgba(16, 16, 16, 0.8)); */
    background: radial-gradient(circle at 30% 25%, rgba(0, 0, 0, .60), rgba(15, 15, 15, .88));
    border: 2px solid #3f3f3f;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    pointer-events: auto;
    transition: 0.3s ease;
    z-index: 9000;
}

.button-menu::after {
    content: "OPEN";
    opacity: 1;
    color: var(--color-button-menu);
    font-family: "FunctionsPro", sans-serif;
    font-size: 12px;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translate(-50%, 0) skewX(-6deg);
}

.button-menu svg {
    transition: transform 0.3s ease;
}

.button-menu:focus-visible,
.button-menu:hover {
    fill: var(--color-button-menu-hover);
    border-color: var(--color-button-menu-hover);
}

.button-menu:hover svg {
    transform: translateY(-3px);
}

body.is-menu-open .button-menu,
.frame--menu-open .button-menu {
    opacity: 0;
    pointer-events: none;
}

.icon-wave {
    width: 50px;
    height: 18px;
}

.icon-wave path {
    fill: #f3f3f3;
}

/* Close */
.button-close {
    position: absolute;
    top: 10px;
    right: 10px;
    stroke: var(--color-button-close);
    fill: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    background-color: transparent;
    z-index: 2;
    /* background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .25), rgba(255, 255, 255, .10) 40%, rgba(255, 255, 255, .06) 70%); */
    background: linear-gradient(rgba(35, 35, 35, 0.88), rgba(16, 16, 16, 0.8));
    box-shadow:
        0 18px 50px rgba(0, 0, 0, .45),
        inset 0 2px 4px rgba(255, 255, 255, .35),
        inset 0 -2px 6px rgba(0, 0, 0, .25);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-radius: 50%;
}

body.is-menu-open .button-close {
    opacity: 1;
    pointer-events: auto;
}

.button-close:focus-visible,
.button-close:hover {
    stroke: var(--color-button-close-hover);
}

/* =========================================================
   .nav-toggle / OPEN-CLOSE label + bars
========================================================= */
.nav-toggle {
    top: 10px;
    right: 10px;
    width: var(--button-width);
    height: var(--button-height);
    cursor: pointer;
    text-align: center;
}

/* Close toggle base (only active when menu open) */
body.is-menu-open .close-toggle>div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    transform: translate(-50%, calc(-50% - 10px));
    margin: 0;
    /* ここ重要 */
}

body.is-menu-open .close-toggle span {
    width: 100%;
    height: 2px;
    left: 0;
    display: block;
    background: #f3f3f3;
    position: absolute;
    transition: transform 0.3s ease, top 0s ease;
    border-radius: 2px;
    overflow: hidden;
}

/* close bars initial */
body.is-menu-open .close-toggle span:nth-child(1) {
    top: 0;
    width: 100%;
}

body.is-menu-open .close-toggle span:nth-child(2) {
    top: 5px;
    width: 80%;
}

body.is-menu-open .close-toggle span:nth-child(3) {
    top: 10px;
    width: 60%;
}

/* CLOSE label (only when menu open) */
body.is-menu-open .close-toggle div::before {
    content: "CLOSE";
    opacity: 0;
    color: #f3f3f3;
    font-family: "FunctionsPro", sans-serif;
    font-size: 12px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0) skewX(-6deg);
}

/* state overrides: OPEN label off / CLOSE label on */
body.is-menu-open .close-toggle div::before {
    content: "CLOSE";
    opacity: 1;
}


/* Close bars morph to X */
body.is-menu-open .close-toggle span {
    background: #f3f3f3;
    width: 100%;
}

body.is-menu-open .close-toggle span:nth-child(1) {
    top: 5px;
    transform: rotate(20deg);
    height: 2px;
    width: 100%;
}

body.is-menu-open .close-toggle span:nth-child(2) {
    top: 5px;
    width: 0;
    left: 50%;
}

body.is-menu-open .close-toggle span:nth-child(3) {
    top: 5px;
    transform: rotate(-20deg);
    height: 2px;
    width: 100%;
}

body.is-menu-open .close-toggle:hover span:nth-child(1) {
    top: 5px;
    transform: rotate(30deg);
    height: 2px;
    width: 100%;
}

body.is-menu-open .close-toggle:hover span:nth-child(3) {
    top: 5px;
    transform: rotate(-30deg);
    height: 2px;
    width: 100%;
}

/* =========================================================
   Close ring animation (pseudo element)
========================================================= */
body.is-menu-open .close-toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: '';
    width: 76px;
    height: 76px;
    margin: -40px 0 0 -40px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all .75s;
    -webkit-animation: active-btn19 1s .6s forwards;
    animation: active-btn19 1s .6s forwards;
}

/* (unused?) kept as-is */
@-webkit-keyframes active-btn19-bar02 {
    100% {
        height: 0;
    }
}

@keyframes active-btn19-bar02 {
    100% {
        height: 0;
    }
}

@-webkit-keyframes active-btn19 {
    0% {
        border-color: transparent;
        -webkit-transform: rotate(0);
    }

    25% {
        border-color: transparent rgba(255, 255, 255, .5) transparent transparent;
    }

    50% {
        border-color: transparent rgba(255, 255, 255, .5) rgba(255, 255, 255, .5) transparent;
    }

    75% {
        border-color: transparent rgba(255, 255, 255, .5) rgba(255, 255, 255, .5) rgba(255, 255, 255, .5);
    }

    100% {
        border-color: rgba(255, 255, 255, .5);
        -webkit-transform: rotate(-680deg);
    }
}

@keyframes active-btn19 {
    0% {
        border-color: transparent;
        transform: rotate(0);
    }

    25% {
        border-color: transparent #f3f3f3 transparent transparent;
    }

    50% {
        border-color: transparent #f3f3f3 #f3f3f3 transparent;
    }

    75% {
        border-color: transparent #f3f3f3 #f3f3f3 #f3f3f3;
    }

    100% {
        border-color: #f3f3f3;
        transform: rotate(-680deg);
    }
}

/* =========================================================
   Menu Wrap / Overlay
========================================================= */
.menu-wrap {
    grid-area: 1 / 1 / 2 / 2;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 100vh;
    position: relative;
    background: var(--color-bg-menu);
    pointer-events: none;
    opacity: 0;
}

.menu-wrap.menu-wrap--open {
    pointer-events: auto;
    opacity: 1;
}

.overlay {
    grid-area: 1 / 1 / 2 / 2;
    position: relative;
    z-index: 1000;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.overlay__path {
    fill: rgba(0, 0, 0, 1);
    transition: fill .3s ease;
}

body.is-menu-open .overlay__path {
    fill: rgba(0, 0, 0, .95);
}

/* =========================================================
   Menu Content (left column block)
========================================================= */
.menu-content-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 40vw;
    height: 100vh;
}

.menu-content-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: none;
    will-change: transform, opacity;
}

.menu-content {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* content intro animation */
@keyframes contentInMain {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body.is-menu-open .menu-content-inner {
    animation-name: contentInMain;
    animation-duration: 2s;
    animation-timing-function: cubic-bezier(.16, 1, .3, 1);
    animation-fill-mode: forwards;
}

body.is-menu-open .menu-content-inner .menu-content li span {
    display: block;
    animation-name: contentInMain;
    animation-duration: 2s;
    animation-timing-function: cubic-bezier(.16, 1, .3, 1);
    animation-fill-mode: both;
}

body.is-menu-open .menu-content-inner .menu-content li:nth-child(1) span {
    animation-delay: 0.5s;
}

body.is-menu-open .menu-content-inner .menu-content li:nth-child(2) span {
    animation-delay: 0.6s;
}

body.is-menu-open .menu-content-inner .menu-content li:nth-child(3) span {
    animation-delay: 0.7s;
}

/* logo / side */
body.is-menu-open .menu-content-wrap .menu-logo {
    position: absolute;
    top: 10px;
    left: 20px;
    width: 22%;
    width: clamp(180px, 12vw, 240px);
    mix-blend-mode: difference;
}

body.is-menu-open .menu-content-wrap .menu-logo img {
    width: 100%;
}

body.is-menu-open .menu-content-wrap .sub-navi {
    position: absolute;
    right: 0%;
    top: 50%;
    transform: translate(0, -50%);
    max-width: 400px;
    text-align: center;
}

body.is-menu-open .menu-content-wrap .menu-small {
    position: relative;
    margin: 20px auto 0 auto;
}

body.is-menu-open .menu-content-wrap .menu-tel {
    position: relative;
}

body.is-menu-open .menu-content-wrap .menu-tel a {
    width: 100%;
    margin: 0 auto;
}

body.is-menu-open .menu-content-wrap .menu-small ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: left;
    margin: 0 auto;
}

body.is-menu-open .menu-content-wrap .menu-small ul li{
	position: relative;
	display: inline-block;
}


/* a と button 共通 */
body.is-menu-open .menu-content-wrap .menu-small ul li a,
body.is-menu-open .menu-content-wrap .menu-small ul li button{
	display: inline-block;
	padding: 8px 12px;
	margin: 5px;
	color: #000;
    background-color: #f3f3f3;
	font-family: "Roboto", sans-serif;
	font-weight: 600;
	font-size: 18px;
	transition: .3s ease;
	transform: skewX(-6deg);
    border-radius: 999px;
	white-space: nowrap;
	/* button対策 */
	border: none;
	outline: none;
	box-shadow: none;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}


/* hover共通 */
body.is-menu-open .menu-content-wrap .menu-small ul li a:hover,
body.is-menu-open .menu-content-wrap .menu-small ul li button:hover{
	background: #f3f3f3;
	color: #000;
}


/* formが変な幅にならないように */
/*
body.is-menu-open .menu-content-wrap .menu-small ul li form{
	display: inline-block;
	margin: 0;
	padding: 0;
}
    */

.button-enter {
    margin-top: 4vh;
    cursor: not-allowed;
    transition: transform 0.5s ease;
}

.button-enter:hover {
    transform: translateX(15px) rotate(-40deg);
}

/* =========================================================
   Menu Scroll + Items + Submenu
========================================================= */
.menu-scroll {
    position: absolute;
    top: 0;
    left: 50%;
    width: 40vw;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior: y contain;
    -webkit-overflow-scrolling: touch;
}

.menu-scroll::-webkit-scrollbar {
    display: none;
}

.menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 12vh 8vw 8vh 0;
    position: relative;
}

/* 最新iPadだと1024pxはレイアウトが窮屈 */
@media screen and (max-width: 1280px) {

    /* 親を「縦積み」グリッドにする */
    .menu-wrap {
        /* 100vh固定を解除 */
        height: auto;
        min-height: 100vh;
        /* 画面高さは最低確保 */
        grid-template-rows: auto auto;

    }

    /* 上段：左カラム用ブロックをフローに戻す */
    .menu-content-wrap {
        position: relative;
        width: 100%;
        height: auto;
        grid-row: 2;
    }

    .menu-content-inner {
        position: relative;

    }

    /* ここが重要：100vh固定を解除 */
    .menu-content {
        height: auto;
    }

    .menu-scroll {
        position: relative;
        /* absolute解除 */
        left: 0;
        /* 中央寄せ解除 */
        transform: none;
        /* translateがあれば消す */
        width: 100%;
        /* 横幅フル */
        height: auto;
        /* 100vh固定解除 */
        margin: 0;
        /* 念のため */
        grid-row: 1;
    }

    .menu {
        padding: 8vh 8vw 1vh 8vh;
        position: relative;
    }

    body.is-menu-open .menu-content-wrap .menu-logo {
        display: none;

    }

    .menu-tel {
        width: 280px;
        margin: 0 auto;
    }

    body.is-menu-open .menu-content-wrap .sub-navi {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        max-width: 520px;
        margin: 16px auto 0;
        text-align: center;
    }

    /* ついでにリストの余白も整える（切れ対策） */
    body.is-menu-open .menu-content-wrap .menu-small ul {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    body.is-menu-open .menu-content-wrap .menu-small ul li {
        display: inline-block;
        width: auto;
    }

    body.is-menu-open .menu-content-wrap .menu-small ul li a {
        margin: 3px;
    }

}

.menu-item {
    position: relative;
    will-change: opacity, transform;
}

.menu .menu-item a {
    position: relative;
    color: var(--color-link);
    margin: 0.3em 0;
    text-shadow: 0 0 12px rgba(0, 0, 0, .6);
}

.menu .menu-item a:hover {
    color: var(--color-link-hover);
}

.menu-item.place .en-text {
    color: var(--color-link-hover);
    user-select: none;
}

/* Japanese tiny label */
.ja-tiny {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -47%) skewX(-6deg);
    transition: 0.3s ease;
    font-size: clamp(1rem, 3vmax, 4rem);
    opacity: 0;
    white-space: nowrap;
    display: inline-block;
    font-family: serif;
    color: var(--color-menu);
    font-weight: 600;
}

.menu-item a:hover .ja-tiny {
    opacity: 1;
    transform: translate(-50%, -50%) skewX(-6deg);
}

.en-text {
    color: var(--color-menu);
    font-family: 'Playfair Display', sans-serif;
    transition: 0.3s ease;
    font-style: italic;
    letter-spacing: 0;
    font-size: clamp(3.5rem, 4.5vmax, 6rem);
    cursor: pointer;
    line-height: 1;
    font-weight: 500;
}

.menu-item a:hover .en-text {
    color: var(--color-link-hover);
    filter: blur(8px);
}

/* Sub menu base */
.sub-menu {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    text-align: left;
    transform: translateY(-6px);
    transition:
        max-height .75s cubic-bezier(.16, 1, .3, 1),
        opacity .4s ease-out,
        transform .75s cubic-bezier(.16, 1, .3, 1);
}

/* open state (JSで付ける) */
.menu-item.is-open>.sub-menu {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
}

/* sub menu links */
.menu-item .sub-menu a {
    display: block;
    overflow: hidden;
    margin: 5px 0;
}

.menu-item .sub-menu a small {
    display: block;
    padding: .45rem 0 .45em .45em;
    transition: transform .4s ease;
    color: rgba(255, 255, 255, 1);
}

.menu-item .sub-menu a small.hover-slide {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-family: "Playfair Display", serif;
    transition: 0.3s ease;
    font-style: italic;
}

.menu-item .sub-menu a small.hover-up {
    position: absolute;
    left: 0;
    top: 100%;
    letter-spacing: -0.1em;
    font-size: clamp(1.05rem, 1.8vw, 1.5rem);
    font-family: serif;
    font-style: italic;
}

.menu-item .sub-menu a:hover small.hover-up {
    transform: translateY(-100%);
}

.menu-item .sub-menu a:hover small.hover-slide {
    transform: translateY(-100%);
}

.sub-menu a:hover {
    color: #fff;
}

/* parent spacing */
.menu-item.has-sub>a {
    position: relative;
    padding-right: 2rem;
}

/* arrow */
.menu-item.has-sub>a::after {
    content: "";
    position: absolute;
    right: 0%;
    top: 60%;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, .8);
    border-bottom: 2px solid rgba(255, 255, 255, .8);
    transform: translateY(-50%) rotate(45deg);
    transition:
        transform .4s cubic-bezier(.22, 1, .36, 1),
        opacity .3s ease;
}

.menu-item.has-sub.is-open>a::after {
    transform: translateY(-50%) rotate(-135deg);
    opacity: 1;
}

.menu-item.has-sub.is-open a:hover::after {
    transform: translateY(-50%) rotate(45deg);
}

/* PC hover (hover 가능한端末だけ) */
@media (hover:hover) and (pointer:fine) {
    .menu-item.has-sub:hover>a::after {
        transform: translateY(-50%) rotate(-135deg);
        opacity: 1;
    }
}

/* =========================================================
   Tiles (background runner)
========================================================= */
.tiles {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 150vh;
    display: flex;
    opacity: 0.5;
    flex-direction: column;
    justify-content: center;
    transform: translate3d(-50%, -50%, 0) rotate(22.5deg);
}

.tiles__line {
    display: flex;
    transform: translateX(25%);
    animation: runner 10s linear infinite;
}

.tiles__line:nth-child(2) {
    animation-duration: 16s;
}

.tiles__line:nth-child(3) {
    animation-duration: 22s;
}

@keyframes runner {
    to {
        transform: translateX(-25%);
    }
}

.tiles__line-img {
    --tile-margin: 2vw;
    flex: none;
    width: 30vh;
    height: 30vh;
    margin: var(--tile-margin);
    background-size: cover;
    background-position: 50% 50%;
    border-radius: 50%;
}

.tiles__line-img--large {
    width: 100vh;
    border-radius: 20vh;
}

/* =========================================================
   Responsive
========================================================= */
@media screen and (min-width: 53em) {
    .frame {
        grid-template-columns: 390px 1fr 390px;
        grid-template-areas:
            'author heading button'
            '... ... ...'
            'title links links';
        font-size: 1.5rem;
    }

    .frame__title {
        justify-self: start;
        align-self: end;
        margin: 0 3rem 0 0;
    }

    .frame__heading-main {
        font-size: 2.15rem;
    }

    .frame__heading-sub {
        font-size: 1rem;
    }

    .ja-tiny {
        font-size: 1.75rem;
    }
}

.menu-loginForm {
    position: relative;
    width: 90% !important;
    max-width: 480px;
    margin: 30px auto 20px auto;
}

.menu-loginForm dl {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.menu-loginForm dt {
    text-align: center;
    font-size: 16px;
    color: #f3f3f3;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: "Roboto", sans-serif;
    transform: skewX(-6deg);
    width: 100%;
}

.menu-loginForm .menu-formTxtArea {
    width: calc(50% - 6px);
    margin-bottom: 16px;
}

.menu-loginForm .menu-formTxtArea .text {
    width: 100%;
    padding: 18px 16px;
    background: #fff;
    border: 1px solid #d4d4d4;
    color: #282828;
    font-size: 14px;
    letter-spacing: 1px;
    font-family: "Roboto", sans-serif;
    transition: 0.3s ease;
    border-radius: 3px;
}

.menu-loginForm .menu-formTxtArea .text::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.menu-loginForm .menu-formTxtArea .text:focus {
    outline: none;
    border-color: #bfa043;
    box-shadow: 0 0 12px rgba(191, 155, 63, 0.25);
}

/* buttonも1行 */
.menu-loginForm .menu-formBtnArea {
    width: 100%;
}

.menu-loginForm .menu-formBtnArea .button {
    display: block;
    width: 50%;
    margin: 0 auto;
    padding: 16px 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, #d9c27c, #bfa043);
    /* background: #272727; */
    color: #f3f3f3;
    font-size: 20px;
    letter-spacing: 3px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-formBtnArea .button:hover {
    background: linear-gradient(135deg, #e4cf8c, #c8a94a);
    transform: translateY(-2px);
    color: #fff;
}

.menu-loginForm .c-TL {
    display: block;
    position: absolute;
    top: -4px;
    left: -4px;
    width: 70px;
    height: 70px;
    background-image: url(/img/corner_TL.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.menu-loginForm .c-TR {
    display: block;
    position: absolute;
    top: -4px;
    right: -4px;
    width: 70px;
    height: 70px;
    background-image: url(/img/corner_TR.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.menu-loginForm .c-BR {
    display: block;
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 70px;
    height: 70px;
    background-image: url(/img/corner_BR.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.menu-loginForm .c-BL {
    display: block;
    position: absolute;
    bottom: -4px;
    left: -4px;
    width: 70px;
    height: 70px;
    background-image: url(/img/corner_BL.png);
    background-repeat: no-repeat;
    background-size: cover;
}
