* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    letter-spacing: 0.1em;
}

body {
    font-family: "Yu Gothic Medium", "Hiragino Sans", "Meiryo", sans-serif;
    font-weight: 300;
    line-height: 1.6;
    background: none;
}

:root {
    --header-pr: 3em;
}

header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2em var(--header-pr);
}

header>nav {
    margin-left: auto;
    position: relative;
}

.name {
    display: none;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
    position: relative;
    display: inline-block;
}

.nav-menu li {
    margin: 0.8em 0;
}

.nav-menu a {
    text-decoration: none;
    color: #111;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: lowercase;
}

.nav-menu a:hover {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.nav-menu::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(-0.6 * var(--header-pr));
    width: 7px;
    background: #AA3636;
}

@media (min-width: 768px) {
    header>nav {
        margin-right: 2em;
    }

    .nav-menu::after {
        right: calc(-0.75 * var(--header-pr));
    }
}

:root {
    --page-gutter: clamp(16px, 8vw, 120px);
}

.icon {
    margin-left: var(--page-gutter);
    margin-top: clamp(60px, 10vh, 200px);
}

.icon h1 {
    font-weight: 300;
    text-align: left;
    font-size: clamp(18px, 4vw, 24px);
    letter-spacing: 0.15em;
    line-height: 1.3;
    margin-bottom: 130px;
}

.icon img {
    display: block;
    width: clamp(40px, 18vw, 100px);
    height: auto;
    object-fit: contain;
}

:root {
    --page-gutter: clamp(16px, 8vw, 120px);
    --panel-w: clamp(100px, 16vw, 150px);
    --pad-x: clamp(12px, 2vw, 24px);
    --pad-y: clamp(20px, 5vh, 60px);
}

.about {
    position: relative;
    margin-top: 170px;
    margin-bottom: 100px;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: 100svh;
    background: url("images/main.jpg") center / cover no-repeat;
    overflow: hidden;
    width: 100%;
}

.about::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(5.5em + var(--pad-x) * 2);
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.about p {
    position: absolute;
    z-index: 2;
    top: calc(var(--pad-y) * 0.5);
    bottom: var(--pad-y);
    left: var(--pad-x);
    right: calc(100% - var(--panel-w) + var(--pad-x));
    width: 7em;
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.9;
    letter-spacing: 0.15em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
    overflow-wrap: anywhere;
    word-break: break-all;
    overflow: hidden;
}

@media (min-width: 768px) {
    .about {
        background: url("images/pcmain.jpg") center / cover no-repeat;
    }
}

.profile,
.exhibition,
.awards {
    padding: 10px 0;
    margin: 0 28px;
}

.profile h2,
.exhibition h2,
.awards h2 {
    position: relative;
    font-weight: 300;
    font-size: 13px;
    letter-spacing: 0.18em;
    margin: 0 0 40px;
    padding: 12px 0;
}

.profile h2::before,
.exhibition h2::before,
.awards h2::before,
.profile h2::after,
.exhibition h2::after,
.awards h2::after {
    content: "";
    display: block;
    width: 16px;
    height: 1px;
    background: rgb(0, 0, 0);
}

.profile h2::before,
.exhibition h2::before,
.awards h2::before {
    margin-bottom: 24px;
}

.profile h2::after,
.exhibition h2::after,
.awards h2::after {
    margin-top: 24px;
}

.history {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 14px;
    row-gap: 22px;
    align-items: baseline;
    padding: 20px 0;
}

.history .year {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.2em;
    color: #111;
    white-space: nowrap;
    font-size: 13px;

}

.history .detail {
    color: #111;
    line-height: 2;
    letter-spacing: .12em;
    font-size: 13px;
}

.exhibition {
    margin-top: 80px;
}

.awards {
    margin-top: 80px;
    margin-bottom: 100px;
}

.hang {
    display: inline-block;
    transform: translateX(-1em);
    margin-right: -1em;
    line-height: 1;
}

@media (min-width: 768px) {

    .profile,
    .exhibition,
    .awards {
        margin-left: 60px;
    }

    .exhibition p br:first-of-type,
    .awards p br:first-of-type {
        display: none;
    }
}

footer {
    position: relative;
    background: #A54542;
    color: #fff;
    padding: 30px 40px;
    font-family: "Yu Gothic Medium", "Hiragino Sans", sans-serif;
    text-align: center;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: left;
}

.footer-menu li {
    margin: 0;
}

.footer-menu li+li {
    margin-top: 10px;
}

.footer-menu a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1;
    height: 12px;
    padding: 0;
    text-decoration: none;
    color: #fff;
}

.footer-menu a span:hover {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-menu a::before {
    content: "";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.footer-menu a:not(.current)::before {
    background: url("images/icon.png") center / contain no-repeat;
}

.footer-menu a.current::before {
    content: ">";
    font-size: 12px;
    line-height: 1;
}

.insta-link {
    position: absolute;
    top: 30px;
    right: 30px;
}

.insta-link img {
    width: 36px;
    height: auto;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.insta-link img:hover {
    opacity: 0.75;
}

footer small {
    display: block;
    text-align: center;
    margin-top: 36px;
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 1.8;
    opacity: 0.8;
}

.credit {
    display: block;
    text-align: center;
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 1.8;
    opacity: 0.8;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s, opacity 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    background: rgba(0, 0, 0, 0.8);
}