body {
    font-family:
    "Yu Gothic",
    "Yu Gothic UI",
    "Hiragino Sans",
    sans-serif;

    margin: 0;
    padding: clamp(20px, 5vw, 50px);
    background: #e9e7e2;
    color: #222;
    line-height: 1.8;
}

/* =========================
   初期状態
========================= */

header,
main {
    opacity: 0;
}

nav ul li {
    opacity: 0;
    transform: translateY(5px);
}

/* =========================
   社名
========================= */

header {
    margin-bottom: 10px;
    animation: fadeIn 1s ease forwards;
}

/* ロゴ画像 */

header .logo {
    width: min(300px, 100%);
    height: auto;
    display: block;
}

/* =========================
   横線
========================= */

nav {
    position: relative;
    padding: 1px 0;
    margin: 60px 0;
}

nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 1px;
    background: #000;

    transform: scaleX(0);
    transform-origin: left;

    animation: drawLine 0.8s ease forwards;
    animation-delay: 0.2s;
}

/* =========================
   横並びメニュー
========================= */

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin-top: 6px;
    margin-bottom: 20px;
    padding-left: 10px;
}

nav ul li:nth-child(1) {
    animation: fadeIn 0.4s ease forwards;
    animation-delay: 0.4s;
}

nav ul li:nth-child(2) {
    animation: fadeIn 0.4s ease forwards;
    animation-delay: 0.5s;
}

nav ul li:nth-child(3) {
    animation: fadeIn 0.4s ease forwards;
    animation-delay: 0.6s;
}

nav a {
    text-decoration: none;
    color: #222;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-bottom: 7px;

    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

nav a.active {
    border-bottom-color: #222;
}

nav a:hover {
    border-bottom-color: #888;
}

/* =========================
   本文
========================= */

main {
    max-width: 800px;
    margin-left: 5px;

    animation: simpleFadeIn 0.3s ease forwards;
    animation-delay: 0.6s;
}

main h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}

main p {
    font-size: 12.5px;
}

.info {
    position: relative;
    padding-left: 28px;
    margin-top: 30px;
}

.info::before {
    content: "";
    position: absolute;

    top: -10px;
    left: 1px;
    bottom: -15px;
    height: auto;

    width: 1px;

    background: #222;

    transform: scaleY(0);
    transform-origin: top;

    animation: drawVerticalLine 0.35s ease forwards;
    animation-delay: 0.4s;
}

/* =========================
   本文表示
========================= */

.info p {
    font-size: 12.5px;
    margin: 5px 0px 5px 0px;

    display: flex;
    opacity: 0;

    animation: simpleFadeIn 1.0s ease forwards;
    animation-delay: 0.5s;
}

/* 項目名 */

.label {
    width: 85px;
    flex-shrink: 0;
}

/* 内容 */

.value {
    flex: 1;
}

/* =========================
   アニメーション
========================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes simpleFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes drawLine {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes drawVerticalLine {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    header,
    main,
    nav ul li {
        opacity: 1;
        transform: none;
    }

    nav::before,
    .info::before {
        transform: none;
    }
}