@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@500;600;700&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
    --ink: #11211d;
    --paper: #f5f2e9;
    --lime: #d9ff43;
    --orange: #ff6037;
    --mint: #bff2df;
    --line: #c8cdc5;
    --white: #fff;
    --wrap: 1160px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8
}

a {
    color: inherit;
    text-decoration: none
}

.wrap {
    width: min(calc(100% - 40px), var(--wrap));
    margin: auto
}

.site-header {
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    position: relative;
    z-index: 10
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: inline-flex;
    align-items: flex-end;
    line-height: .82;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -.08em
}

.brand span {
    font-size: 32px
}

.brand small {
    font-size: 13px;
    background: var(--lime);
    padding: 5px 7px;
    margin-left: 8px;
    letter-spacing: .08em
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 13px;
    font-weight: 700
}

.nav-cta {
    color: white;
    background: var(--ink);
    padding: 12px 18px;
    border-radius: 100px
}

.hero {
    overflow: hidden;
    border-bottom: 1px solid var(--ink)
}

.hero-grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    align-items: center
}

.eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    margin: 0 0 18px
}

.hero h1 {
    font-size: clamp(52px, 7vw, 84px);
    line-height: 1.08;
    letter-spacing: -.06em;
    margin: 0
}

.hero h1 i {
    font-style: normal;
    position: relative;
    z-index: 1
}

.hero h1 i:after {
    content: '';
    position: absolute;
    height: 22%;
    background: var(--lime);
    left: -2%;
    right: -4%;
    bottom: 5%;
    z-index: -1;
    transform: rotate(-2deg)
}

.hero-copy {
    font-size: 17px;
    margin: 32px 0 38px
}

.primary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    background: var(--orange);
    color: white;
    padding: 16px 22px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 5px 5px 0 var(--ink);
    transition: .2s
}

.primary:hover {
    transform: translate(3px, 3px);
    box-shadow: 2px 2px 0 var(--ink)
}

.primary span {
    font-size: 20px
}

.hero-art {
    height: 500px;
    position: relative;
    background: var(--lime);
    border: 1px solid var(--ink);
    border-radius: 50% 50% 12px 12px;
    transform: rotate(3deg)
}

.king-mark {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%) rotate(-3deg);
    font-family: 'DM Sans';
    font-size: 220px;
    font-weight: 700;
    line-height: 1
}

.orbit {
    position: absolute;
    border: 1px solid var(--ink);
    border-radius: 50%;
    inset: 11%
}

.orbit-two {
    inset: 24%;
    transform: rotate(62deg);
    border-radius: 40% 55%
}

.art-label {
    position: absolute;
    background: white;
    border: 1px solid var(--ink);
    padding: 8px 14px;
    font: 700 12px 'DM Sans';
    letter-spacing: .1em;
    box-shadow: 3px 3px 0 var(--ink)
}

.label-one {
    top: 10%;
    left: -4%;
    transform: rotate(-8deg)
}

.label-two {
    right: -6%;
    top: 48%;
    transform: rotate(8deg)
}

.label-three {
    bottom: 8%;
    left: 12%;
    transform: rotate(-4deg);
    background: var(--orange);
    color: white
}

.topics {
    border-bottom: 1px solid var(--ink);
    background: white
}

.topic-row {
    min-height: 72px;
    display: flex;
    gap: 28px;
    align-items: center;
    white-space: nowrap;
    overflow: auto
}

.topic-row span {
    font-size: 12px;
    background: var(--ink);
    color: white;
    padding: 4px 10px
}

.topic-row a {
    font-size: 13px;
    font-weight: 700
}

.articles {
    padding: 110px 0 130px
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 48px
}

.section-title h2,
.cta h2,
.related h2 {
    font-size: clamp(34px, 5vw, 62px);
    letter-spacing: -.05em;
    line-height: 1.2;
    margin: 0
}

.section-title>p {
    font-size: 14px
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px
}

.card {
    background: white;
    border: 1px solid var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
    transition: .2s
}

.card:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 var(--ink)
}

.card a {
    display: grid;
    grid-template-columns: 180px 1fr;
    height: 100%
}

.card-visual {
    min-height: 260px;
    border-right: 1px solid var(--ink);
    background: var(--lime);
    position: relative;
    padding: 16px;
    overflow: hidden
}

.card-visual:after {
    content: '';
    position: absolute;
    width: 160px;
    height: 160px;
    border: 34px solid var(--ink);
    border-radius: 50%;
    left: 45px;
    bottom: -50px
}

.visual-1 {
    background: var(--mint)
}

.visual-2 {
    background: var(--orange)
}

.visual-3 {
    background: #b9cff8
}

.card-visual span {
    font-size: 11px;
    font-weight: 700;
    background: white;
    border: 1px solid var(--ink);
    padding: 4px 8px;
    position: relative;
    z-index: 1
}

.card-visual b {
    position: absolute;
    right: 14px;
    bottom: 4px;
    font: 700 52px 'DM Sans';
    z-index: 1
}

.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column
}

.meta {
    display: flex;
    gap: 16px;
    font: 600 11px 'DM Sans';
    letter-spacing: .06em;
    color: #5d6863
}

.card h2 {
    font-size: 20px;
    line-height: 1.55;
    margin: 14px 0 10px
}

.card p {
    font-size: 13px;
    color: #59635e;
    margin: 0 0 15px
}

.card em {
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    margin-top: auto
}

.cta {
    background: var(--ink);
    color: white;
    padding: 92px 0
}

.cta-inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 80px;
    align-items: end
}

.cta-inner>div:last-child>p {
    margin: 0 0 28px
}

.primary.light {
    background: var(--lime);
    color: var(--ink);
    box-shadow: 5px 5px 0 white
}

footer {
    background: white;
    padding: 52px 0 20px
}

.footer-grid {
    display: flex;
    justify-content: space-between
}

.brand-footer {
    margin-bottom: 15px
}

.footer-grid p {
    font-size: 13px;
    margin: 8px 0
}

.copyright {
    max-width: var(--wrap);
    margin: 35px auto 0;
    padding-top: 15px;
    border-top: 1px solid var(--line);
    font: 500 10px 'DM Sans'
}

.article-hero {
    background: var(--lime);
    border-bottom: 1px solid var(--ink)
}

.article-head {
    padding: 65px 0 75px
}

.back {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 48px
}

.article-head h1 {
    font-size: clamp(36px, 6vw, 72px);
    line-height: 1.28;
    letter-spacing: -.045em;
    max-width: 950px;
    margin: 0
}

.article-description {
    font-size: 16px;
    max-width: 720px;
    margin: 26px 0
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 740px) 300px;
    gap: 80px;
    padding-top: 90px;
    padding-bottom: 110px
}

.article-body {
    font-size: 16px
}

.article-body .lead {
    font-size: 20px;
    font-weight: 500;
    line-height: 2;
    border-left: 7px solid var(--orange);
    padding: 5px 0 5px 24px;
    margin: 0 0 70px
}

.article-body section {
    margin: 0 0 62px
}

.article-body h2 {
    font-size: 30px;
    line-height: 1.5;
    margin: 0 0 26px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ink)
}

.article-body p {
    margin: 0 0 24px
}

.article-body ul {
    background: white;
    border: 1px solid var(--ink);
    padding: 25px 30px 25px 50px;
    margin: 30px 0
}

.article-body li+li {
    margin-top: 10px
}

.article-image-placeholder {
    min-height: 320px;
    margin: 34px 0;
    border: 2px dashed #97a4a0;
    background: linear-gradient(135deg, #f4f7f6, #e7efec);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--ink);
    text-align: center;
    padding: 30px
}

.article-image-placeholder span {
    font: 700 11px 'DM Sans';
    letter-spacing: .18em;
    color: var(--orange)
}

.article-image-placeholder strong {
    font-size: 24px
}

.article-image-placeholder figcaption {
    font-size: 13px;
    color: #5b6965
}

.conclusion {
    background: var(--mint);
    border: 1px solid var(--ink);
    padding: 30px
}

.conclusion h2 {
    font-size: 24px
}

.conclusion p:last-child {
    margin-bottom: 0
}

aside {
    position: relative
}

.aside-box {
    position: sticky;
    top: 30px;
    background: var(--ink);
    color: white;
    padding: 30px
}

.aside-box .img{
    padding: 1em;
    background-color: #FFF;
}
.aside-box img{
    max-width: 100%;
}
.aside-box>span {
    font: 700 11px 'DM Sans';
    color: var(--lime);
    letter-spacing: .15em
}

.aside-box h3 {
    font-size: 26px;
    line-height: 1.5;
    margin: 18px 0
}

.aside-box p {
    font-size: 13px;
    color: #c7d1cd
}

.aside-box a {
    display: block;
    color: var(--ink);
    background: var(--lime);
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    margin-top: 25px
}

.related {
    padding-bottom: 110px
}

.related>div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 28px
}

.related a {
    background: white;
    border: 1px solid var(--ink);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.related a span {
    font-size: 11px;
    color: var(--orange);
    font-weight: 700
}

.related a strong {
    font-size: 17px
}

@media(max-width:800px) {
    .wrap {
        width: min(calc(100% - 28px), var(--wrap))
    }

    .site-header nav>a:first-child {
        display: none
    }

    .header-inner {
        height: 68px
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 65px
    }

    .hero-art {
        height: 340px;
        margin: 65px 0 45px
    }

    .king-mark {
        font-size: 150px
    }

    .topic-row {
        gap: 18px
    }

    .articles {
        padding: 75px 0 90px
    }

    .section-title {
        display: block
    }

    .section-title>p {
        margin-top: 20px
    }

    .card-grid {
        grid-template-columns: 1fr
    }

    .card a {
        grid-template-columns: 125px 1fr
    }

    .card-visual {
        min-height: 270px
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .footer-grid {
        display: block
    }

    .footer-grid>div+div {
        margin-top: 30px
    }

    .copyright {
        margin-left: 14px;
        margin-right: 14px
    }

    .article-head {
        padding: 45px 0 55px
    }

    .back {
        margin-bottom: 35px
    }

    .article-layout {
        grid-template-columns: 1fr;
        padding-top: 60px;
        padding-bottom: 70px;
        gap: 20px
    }

    .article-body .lead {
        font-size: 17px;
        margin-bottom: 50px
    }

    .article-body h2 {
        font-size: 25px
    }

    .related {
        padding-bottom: 75px
    }

    .related>div {
        grid-template-columns: 1fr
    }
}

@media(max-width:480px) {
    .nav-cta {
        padding: 9px 12px;
        font-size: 11px
    }

    .brand span {
        font-size: 28px
    }

    .hero h1 {
        font-size: 48px
    }

    .hero-copy {
        font-size: 15px
    }

    .card a {
        grid-template-columns: 1fr
    }

    .card-visual {
        min-height: 150px;
        border-right: 0;
        border-bottom: 1px solid var(--ink)
    }

    .card-visual:after {
        left: auto;
        right: 30px
    }

    .card-body {
        min-height: 255px
    }

    .article-head h1 {
        font-size: 34px
    }
}
