* {
    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 a {
    color: #000;
    text-decoration: none;
    margin-left: -1.3em;
    margin-top: 6px;
    display: inline-block;
}

.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;
    }

    .name a {
        margin-left: -0.5em;
    }

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

:root {
    --note-img-w: 40%;
}

@media (max-width: 768px) {
    :root {
        --note-img-w: 60%;
    }
}

.blog-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    padding: 200px 0;
}

.note {
    pointer-events: none;
}

.note .image-link,
.note .text-link {
    pointer-events: auto;
    display: inline-block;
}

.note {
    text-align: center;
}

.note a {
    text-decoration: none;
    color: #000;
}

.note .image-link {
    display: block;
    line-height: 0;
}

.note .image-link img {
    display: block;
    width: var(--note-img-w);
    height: auto;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: opacity 0.3s ease;
}

.note .image-link img:hover {
    opacity: 0.8;
}

.note .text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 120px;
}

.note .text::before,
.note .text::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1px;
    height: 25px;
    background: #4b4b4b;
    transform: translateY(-50%);
    pointer-events: none;
}

.note .text::before {
    left: calc(50% - (var(--note-img-w) / 2));
}

.note .text::after {
    right: calc(50% - (var(--note-img-w) / 2));
}

.note .text-link {
    display: inline-block;
    text-align: center;
}

.note .date {
    font-size: 13px;
    letter-spacing: 0.2em;
    color: #111;
    margin-bottom: 12px;
}

.note .title {
    font-size: 13px;
    letter-spacing: 0.15em;
}

.note .text-link:hover .date,
.note .text-link:hover .title {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

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);
}