/* =====================================================
   @import Google Fonts
===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&family=Noto+Sans+JP:wght@300;400;500;700&family=Cinzel:wght@400;600;700&display=swap');

/* =====================================================
   CSS VARIABLES
===================================================== */
:root {
    /* Colors */
    --color-teal: #0BA7A5;
    --color-teal-dark: #008C8D;

    --color-light-blue: #45A8E2;

    --color-purple: #844179;

    --color-black: #000;
    --color-white: #FFFFFF;

    --sidebar-width: 250px;

    --header-height: 63px;

    --font-title: 'Zen Old Mincho', 'Yu Mincho', '游明朝', serif;
    --font-sans: 'Noto Sans JP', sans-serif;

    --sidebar-gradient: linear-gradient(to bottom,
            #0a1422 0%,
            #060e1a 40%,
            #040c16 100%);

    --accordion-speed: 0.3s;
}

/* =====================================================
   リセット
===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    color: var(--color-black);
    font-family: var(--font-sans);
    line-height: 1.75;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    display: block;
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
}


@media (max-width: 640px){

    body {
        min-width: auto;
    }
}

/* =====================================================
   既存不要部分削除
===================================================== */
.entry-header,
.entry-footer,
.pager {
    display: none;
}


/* =====================================================
  ヘッダー
===================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--color-white);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    width: 130px;
}

@media (max-width: 640px){
    .site-header {
        padding: 0 1.25vw 0 3.125vw;
        height: calc(63/640*100vw);
    }

    .site-logo {
        width: calc(150/640*100vw);
    }

    .site-logo img {
        height: auto;
    }
}

/* =====================================================
   ハンバーガーナビ
===================================================== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 50px;
    height: 50px;
    background: var(--color-teal);
    border: none;
    margin-left: auto;
    padding: 6px;
    flex-shrink: 0;
    position: relative;
    -webkit-clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
    z-index: 1000;
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


#globalNav {
    display: none;
}

@media (max-width: 640px){
    .hamburger-btn {
        display: flex;
        gap: 0.781vw;
        width: 7.813vw;
        height: 7.813vw;
        padding: 0.938vw;
        -webkit-clip-path: polygon(1.406vw 0, 100% 0, 100% calc(100% - 1.406vw), calc(100% - 1.406vw) 100%, 0 100%, 0 1.406vw);
        clip-path: polygon(1.406vw 0, 100% 0, 100% calc(100% - 1.406vw), calc(100% - 1.406vw) 100%, 0 100%, 0 1.406vw);
    }

    .hamburger-btn span {
        width: 4.688vw;
        height: 0.469vw;
        border-radius: 0.313vw;
    }


    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(1.094vw) rotate(45deg);
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-1.406vw) rotate(-45deg);
    }
}


/* =====================================================
   SPナビ
===================================================== */
.sp-nav-overlay {
    display: none;
    position: fixed;
    top: var(--header-height);
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: var(--color-teal-light) transparent;
}

.sp-nav-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.sp-nav-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: calc(290/640*100vw);
    height: 100%;
    background: rgba(2, 42, 42, 0.9);
    border-left: calc(1/640*100vw) solid #0BA7A5;
    overflow-y: auto;
    padding: calc(76/640*100vw) calc(20/640*100vw) calc(40/640*100vw);
    scrollbar-width: thin;
    scrollbar-color: var(--color-teal-light) transparent;
    transform: translateX(100%);
    transition: transform 0.3s
}

.sp-nav-overlay.open .sp-nav-inner {
    transform: translateX(0);
}

.sp-nav-inner .sidebar-section-heading {
    font-size: calc(20/640*100vw);
    padding: calc(3/640*100vw) calc(16/640*100vw);
}

.sp-nav-inner .sidebar-simple-list li a {
    font-size: calc(16/640*100vw);
    padding: calc(5/640*100vw) 0;
}

.sp-nav-inner .accordion-l1-trigger {
    font-size: calc(16/640*100vw);
    padding: calc(5/640*100vw) 0;
}

.sp-nav-inner .acc-sub-heading {
    font-size: calc(15/640*100vw);
    padding: calc(8/640*100vw) calc(14/640*100vw) calc(4/640*100vw) calc(16/640*100vw);
}

.sp-nav-inner .acc-link-list li a {
    font-size: calc(14/640*100vw);
    padding: 0 calc(14/640*100vw) calc(5/640*100vw) calc(32/640*100vw);
}

.sp-nav-inner .acc-link-list li a.deep {
    padding-left: calc(28/640*100vw);
}

@media (max-width: 640px){
    .sp-nav-overlay {
        display: block;
    }
}

/* =====================================================
   本文
===================================================== */
#content {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518185117.webp) no-repeat bottom center/100%, url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518185132_original.webp) repeat top center/cover;
}


#content-inner {
    width: 1200px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-direction: row-reverse;
}

@media (max-width: 640px){
    #content {
        display: block;
    }

    #content-inner {
        width: 100%;
    }
}

/* =====================================================
   サイドバー
===================================================== */
#box2 {
    width: var(--sidebar-width);
    flex-shrink: 0;
    position: sticky;
    top: var(--header-height);
    overflow-y: auto;
    padding: 0 0 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-teal-light) transparent;
}

#box2::-webkit-scrollbar {
    width: 4px;
}

#box2::-webkit-scrollbar-track {
    background: transparent;
}

#box2::-webkit-scrollbar-thumb {
    background: var(--color-teal-light);
    border-radius: 2px;
}

.sidebar-section {
    margin-bottom: 27px;
    padding: 20px;
    background: var(--sidebar-gradient);
    box-shadow: inset 0 0 30px 0 rgba(46, 103, 104, 1);
    position: relative;
}

.sidebar-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #0AA4A2 0%, #028347 50%, #0AA4A2 100%);
    pointer-events: none;
}

.sidebar-section::after {
    content: "";
    position: absolute;
    inset: 2px;
    z-index: 1;
    background: var(--sidebar-gradient);
    box-shadow: inset 0 0 30px 0 rgba(46, 103, 104, 1);
    pointer-events: none;
}

.sidebar-section>* {
    position: relative;
    z-index: 2;
}

.sidebar-section.rule,
.sidebar-section.world,
.sidebar-section.mainpage {
    background: transparent;
    overflow: visible;
    box-shadow: none;
}

.sidebar-section.rule::before {
    background: linear-gradient(135deg, #DBD588 0%, #028347 50%, #0AA4A2 100%);
    -webkit-clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
    clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
}

.sidebar-section.rule::after {
    background: var(--sidebar-gradient, linear-gradient(180deg, #071018 0%, #0b141a 100%));
    box-shadow: inset 0 0 30px 0 rgba(46, 103, 104, 1);
    -webkit-clip-path: polygon(13px 0, 100% 0, 100% 100%, 0 100%, 0 13px);
    clip-path: polygon(13px 0, 100% 0, 100% 100%, 0 100%, 0 13px);
}

.sidebar-section.world::before {
    background: linear-gradient(135deg, #DBD588 0%, #0AA4A2 50%, #DBD588 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

.sidebar-section.world::after {
    background: var(--sidebar-gradient, linear-gradient(180deg, #071018 0%, #0b141a 100%));
    box-shadow: inset 0 0 30px 0 rgba(46, 103, 104, 1);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%);
}

.sidebar-section.mainpage .sidebar-simple-list {
    margin-top: 4px;
}

.sidebar-section.mainpage::before {
    background: linear-gradient(135deg, #DBD588 0%, #0AA4A2 50%, #DBD588 100%);
    -webkit-clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px);
    clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.sidebar-section.mainpage::after {
    background: var(--sidebar-gradient, linear-gradient(180deg, #071018 0%, #0b141a 100%));
    box-shadow: inset 0 0 30px 0 rgba(46, 103, 104, 1);
    -webkit-clip-path: polygon(13px 0, 100% 0, 100% 100%, 0 100%, 0 13px);
    clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 13px), calc(100% - 13px) 100%, 0 100%, 0 13px);
}

.sidebar-section-heading {
    display: block;
    background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518184836.png) no-repeat top center /cover;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 20px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 2.5px 10px;
    margin-bottom: 0;
}

.sidebar-simple-list {
    margin-bottom: 4px;
    margin-top: 16px;
}

.sidebar-simple-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-top: 1px dashed var(--color-teal);
    border-bottom: 1px dashed var(--color-teal);
    padding: 5px 0;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    text-align: left;
    transition: color 0.2s, background 0.2s;
    cursor: pointer;
    gap: 4px;
}

.sidebar-simple-list li a:hover,
.sidebar-simple-list li a.active {}


@media (max-width: 640px){
    #box2 {
        display: none;
    }
}

/* =====================================================
   サイドバー: アコーディオン
===================================================== */

.sidebar-section.world {
    border-top: 1px solid var(--color-teal);
}

.sidebar-section.world::before {
    background: linear-gradient(135deg, #0AA4A2 0%, #028347 50%, #DBD588 100%);
}

.sidebar-section.world .sidebar-section-heading {
    margin-bottom: 16px;
}

.accordion-l1-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-top: 1px dashed var(--color-teal);
    border-bottom: 1px dashed var(--color-teal);
    padding: 5px 0;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: left;
    transition: color 0.2s, background 0.2s;
    cursor: pointer;
    gap: 4px;
}

.accordion-l1-trigger:hover {
    opacity: 0.8;
}

.navi-item {
    flex: 1;
    position: relative;
}

.navi-item::before {
    content: "";
    background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518184832.png) no-repeat center center/contain;
    width: 14px;
    height: 14px;
    display: inline-block;
    margin-right: 5px;
}

.acc-toggle {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    line-height: 1;
    color: var(--color-teal);
    transition: transform 0.25s;
    font-style: normal;
    user-select: none;
}

.accordion-l1-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--accordion-speed) ease,
        margin var(--accordion-speed) ease;
}

.accordion-l1.open>.accordion-l1-content {
    max-height: 2000px;
    margin-top: 18px;
}

.acc-sub-heading {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-white);
    letter-spacing: 0.08em;
    padding: 2px 0 0 17px;
    text-transform: none;
    display: block;
}

.acc-link-list {
    padding: 1px 0 12px;
}

.acc-link-list li a {
    display: block;
    font-family: var(--font-sans);
    font-size: 14px;
    padding: 2px 10px 3px 30px;
    color: var(--color-teal);
    border-left: 2px solid transparent;
    line-height: 1.5;
    transition: all 0.15s;
    position: relative;
}

.acc-link-list li a::before {
    content: '・';
    position: absolute;
    left: 20px;
    color: var(--color-teal);
    font-size: 14px;
}

.acc-link-list li a:hover,
.acc-link-list li a.active {}

.acc-link-list li a.deep {
    padding-left: 24px;
}


@media (max-width: 640px){


    .sidebar-section.world .sidebar-section-heading {
        margin-bottom: 2.5vw;
    }

    .accordion-l1-trigger {
        padding: 0.781vw 0;
        font-size: 2.5vw;
        gap: 0.625vw;
    }

    .navi-item::before {
        width: 2.188vw;
        height: 2.188vw;
        margin-right: 0.781vw;
    }

    .acc-toggle {
        width: 2.5vw;
        height: 2.5vw;
        font-size: 0.8rem;
    }

    .accordion-l1.open>.accordion-l1-content {
        max-height: 312.5vw;
        margin-top: calc(9/640*100vw);
    }

    .acc-sub-heading {
        font-size: 2.344vw;
        padding: 0.313vw 0 0 2.656vw;
    }

    .acc-link-list {
        padding: 0.156vw 0 calc(4 / 640 * 100vw);
    }

    .acc-link-list li a::before {
        left: 3.125vw;
        font-size: calc(14 / 640 * 100vw);
    }

    .acc-link-list li a.deep {
        padding-left: 3.75vw;
    }


}


/* =====================================================
   メインビジュアル
===================================================== */
.page-hero {
    position: relative;
    height: 800px;
}

.page-hero picture {
    position: absolute;
    left: 50%;
    width: 2500px;
    min-height: 788px;
    transform: translateX(-50%);
    top: 64px;
}

.page-entry .page-hero {
    height: 271px;
}

.page-entry .page-hero picture {
    top: -65px;
}

.page-hero-title {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.page-index .page-hero-title a {
    pointer-events: none;
    cursor: default;
}

.page-index .page-hero-title a:hover {
    opacity: 1;
}

.page-hero-title-inner {
    margin: 0 auto;
    pointer-events: none;
}

.page-hero-title-img {
    display: block;
    height: auto;
}

body.page-index .page-hero-title {
    bottom: -15px;
    text-align: center;
}

body.page-index .page-hero-title-img {
    width: 1360px;
    margin: 0 auto;
}

body.page-entry .page-hero-title {
    top: 74px;
    left: -15px;
}

body.page-entry .page-hero-title-inner {
    display: flex;
    justify-content: flex-start;
    width: 1200px;
}

body.page-entry .page-hero-title-img {
    width: 440px;
}

body.page-entry .page-hero-title-inner a {
    pointer-events: auto;
}


@media (max-width: 640px){
    .page-hero {
        height: calc(490/640*100vw);
    }

    .page-hero picture {
        width: 100%;
        /* min-width: 0; */
        top:calc(63/640*100vw);
    }

    body.page-index .page-hero-title {
        bottom: 0;
    }

    .page-entry .page-hero {
        height: calc(221/640*100vw);
    }

    .page-entry .page-hero picture {
        top: calc(15/640*100vw);
    }

    body.page-entry .page-hero-title {
        top: calc(65/640*100vw);
        left: 0;
    }

    body.page-entry .page-hero-title-img {
        width: calc(261/640*100vw);
    }

}


/* =====================================================
   メインコンテンツ
===================================================== */
#wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.page-index #content {
    padding: 0 15px;
}

.page-entry #content {
    padding: 0 15px;
}

#container-inner {
    overflow: hidden;
    overflow-x: clip;
}

#blog-title {
    display: none;
}

@media (max-width: 640px){
.page-index #content {
    padding: 0;
}
.page-entry #content {
    padding: 0;
}
}

/* =====================================================
 共通
===================================================== */
.mb30 {
    margin-bottom: 30px;
}

.mb32 {
    margin-bottom: 32px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb45 {
    margin-bottom: 45px;
}

.mb48 {
    margin-bottom: 48px;
}

.mt48 {
    margin-top: 48px;
}


.fs18 {
    font-size: 18px !important;
}

.fs20 {
    font-size: 20px !important;
}

.lh15 {
    line-height: 1.5 !important;
}

.ls--5 {
    letter-spacing: -0.05em;
}

.ls--15 {
    letter-spacing: -0.15em;
}

.pconly {
    display: block;
}

.c-green {
    color: var(--color-teal);
}

@media (max-width: 640px){
    .pconly {
        display: none;
    }

    .smb23 {
        margin-bottom: 3.594vw;
    }

    .smb30 {
        margin-bottom: 4.688vw;
    }

    .smb32 {
        margin-bottom: 5vw;
    }

    .smb40 {
        margin-bottom: 6.25vw;
    }

    .smb45 {
        margin-bottom: 7.031vw;
    }

    .smb48 {
        margin-bottom: 7.5vw;
    }

    .smt48 {
        margin-top: 7.5vw;
    }


    .sfs18 {
        font-size: 2.813vw !important;
    }

    .sfs20 {
        font-size: 3.125vw !important;
    }

    .sfs22 {
        font-size: 3.438vw !important;
    }

}

.content {
    position: relative;
}

.content p {
    font-size: 16px;
    line-height: 1.875;
}

.content-box {
    background: var(--color-white);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 50px;
    padding: 40px 40px 50px;
    position: relative;
    overflow: hidden;
}

.content-box:first-child {
    position: relative;
    background: transparent;
    overflow: visible;
    box-shadow: none;
    padding: 0;
}

.content-box:first-child::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    -webkit-clip-path: polygon(21px 0, 100% 0, 100% 100%, 0 100%, 0 21px);
    clip-path: polygon(21px 0, 100% 0, 100% 100%, 0 100%, 0 21px);
    z-index: 0;
}

.content-box>* {
    position: relative;
    z-index: 2;
    padding: 40px 40px 50px;
}

.content-box.corner-bottom-right {
    position: relative;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.content-box.corner-bottom-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 21px), calc(100% - 21px) 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 21px), calc(100% - 21px) 100%, 0 100%);

    z-index: 0;
}

.content-right {
    max-width: 670px;
    margin-left: max(160px, calc(100% - 670px));
}

.content-left {
    max-width: 670px;
    margin-right: max(160px, calc(100% - 670px));
}

/* 見出しブロック */
.heading {
    position: absolute;
    top: -1px;
}

.heading-inner {
    position: relative;
}

/* 日本語タイトル*/
.title-ja {
    font-family: var(--font-title);
    font-size: 96px;
    font-weight: 500;
    writing-mode: vertical-rl;
    line-height: 1;
    letter-spacing: 0;
    white-space: pre-line;
    text-indent: -0.75em;
    margin-top: 0.7em;
    color: #2E2E2E;
    min-height: 1000px;
}

.title-note {
    writing-mode: vertical-rl;
    font-size: 24px;
    margin-left: 4px;
    color: var(--color-black);
}

/* 英語タイトル*/
.title-en {
    font-family: var(--font-title);
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 1.25;
    position: absolute;
    right: 0;
    color: #252525;
    text-align: center;
    width: 96px;
}

/* リード*/
.content h2 {
    background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518184827.png) no-repeat top left/cover;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    padding: 2px 14px;
    margin-bottom: 32px;
    display: block;
    letter-spacing: 0;
}

.content h3 {
    background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518184851.png) no-repeat top left/cover;
    color: var(--color-white);
    margin-bottom: 32px;
    font-size: 20px;
    text-shadow: 0px 0px 10px rgba(0, 0, 0, 1);
    padding: 10.5px 20px;
    line-height: 1;
}

.content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.67;
    color: #333;
    background: #E0E0E0;
    padding: 5px 10px;
}

.heading-right {
    right: -8px;
}

.heading-left {
    left: -4px;
}

.one-line.heading-left {
    left: 54px;
}


.btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518184708.png) no-repeat top left/cover;
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 20px;
    font-weight: 700;
    padding: 12px 16px;
    transition: all 0.2s;
    text-decoration: none;
    width: 360px;
    height: 70px;
    margin: 0 auto;
}

.btn-cta:hover {}

.btn-cta+.btn-cta {
    margin-top: 14px;
}

.content .bg-line {
    font-size: 20px;
    display: inline-block;
    background: var(--color-black);
    color: var(--color-white);
    margin-bottom: 9px;
    padding: 0 3px 1px 9px;
}

.content p a,
.content li a {
    color: var(--color-purple);
    text-decoration: underline;
}

.single-box {
    background: #F7F7F7;
    padding: 20px;
    margin: -32px 0 24px;
}

.single-box h4 {
    margin: 12px 0;
}

.single-box ul li {
    font-size: 14px;
    color: #656764;
    position: relative;
    line-height: 2.14;
    margin: 0 12px;
}

.single-box ul li::before {
    content: "・";
}


.article-list {
    margin: -17px 0 48px 0;
    padding-left: 1.1em;
    list-style: none;
}

.article-list>li {
    position: relative;
    margin-bottom: 24px;
    padding-left: 0.4em;
    line-height: 1.875;
}

.article-list>li::before {
    content: "●";
    color: #0BA8A7;
    position: absolute;
    left: -1.2em;
    top: 0.05em;
    font-size: 0.9em;
}


.article-sublist {
    margin-top: 25px;
    padding-left: 0.8em;
    list-style: none;
    color: #0BA8A7;
}

.article-sublist>li {
    position: relative;
    margin-bottom: 22px;
    padding-left: 0.4em;
    font-size: 14px;
    line-height: 1.7;
}

.article-sublist>li::before {
    content: "〇";
    color: #0BA8A7;
    position: absolute;
    left: -1.2em;
    top: 0.05em;
    font-size: 14px;
}

@media (max-width: 640px){

    .content-right,
    .content-left {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }

    .content p {
        font-size: calc(18/640*100vw);
        line-height: 2.22;
        letter-spacing: -0.03em;
    }

    .content-box>* {
        padding: calc(20/640*100vw) calc(20/640*100vw) calc(57/640*100vw);
    }

    .heading {
        position: relative;
    }

    .heading-inner {
        line-height: 1;
    }

    .heading-right {
        right: auto;
        margin-right: calc(-20/640*100vw);
    }

    .one-line.heading-left {
        left: 0;
    }

    .title-ja {
        writing-mode: horizontal-tb;
        font-size: calc(80/640*100vw);
        text-indent: 0;
        align-items: center;
        line-height: 1.01;
        margin-top: 0;
        margin-bottom: 4.5vw;
        min-height: auto;
    }

    .title-en {
        font-size: calc(18/640*100vw);
        position: relative;
        font-weight: 500;
        line-height: 1.11;
        right: auto;
        margin: calc(10/640*100vw) 0 calc(30/640*100vw) calc(3/640*100vw);
        display: block;
        text-align: left;
        width: auto;
    }

    .title-note {
        writing-mode: horizontal-tb;
        font-size: calc(24/640*100vw);
        margin: calc(-25/640*100vw) 0 0 0;
        vertical-align: middle;
        display: inline-block;
    }

    .content h2 {
        font-size: calc(24/640*100vw);
        padding: calc(1/640*100vw) calc(10/640*100vw);
        margin-bottom: calc(48/640*100vw);
        line-height: 1.8;
    }

    .content h3 {
        background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518184856.png) no-repeat top left/cover;
        margin-bottom: calc(36/640*100vw);
        font-size: calc(20/640*100vw);
        text-shadow: 0px 0px 1.563vw rgba(0, 0, 0, 1);
        padding: calc(12/640*100vw) calc(20/640*100vw);
    }

    .content h4 {
        font-size: calc(18/640*100vw);
        margin-bottom: calc(36/640*100vw);
        padding: calc(5/640*100vw) calc(10/640*100vw);
    }

    .content .bg-line {
        font-size: calc(20/640*100vw);
        margin-bottom: calc(9/640*100vw);
        padding: 0 calc(3/640*100vw) calc(1/640*100vw)calc(9/640*100vw);
        line-height: 1.9;
    }

    .single-box {
        padding: calc(20/640*100vw);
        margin: calc(-36/640*100vw) 0 calc(24/640*100vw);
    }

    .single-box h4 {
        margin: calc(20 / 640 * 100vw) 0;
    }

    .single-box ul {
        margin: calc(18/640*100vw) 0;
    }

    .single-box ul li {
        font-size: calc(16/640*100vw);
    }

    .btn-cta {
        font-size: 3.125vw;
        font-weight: 700;
        padding: 1.875vw 2.5vw;
        width: 56.25vw;
        height: 10.938vw;
    }

    .btn-cta+.btn-cta {
        margin-top: 2.188vw;
    }

    .content .bg-line {
        font-size: 3.125vw;
        margin-bottom: 1.406vw;
        padding: 0 0.469vw 0.156vw 1.406vw;
    }

    .article-list {
        margin: calc(-20/640*100vw) 0 7.5vw 0;
    }

    .article-list>li {
        margin-bottom: calc(23/640*100vw);
        font-size: calc(18/640*100vw);
        line-height: 2;
        padding-left: 0.3em;
    }

    .article-sublist {
        margin-top: 3.906vw;
    }

    .article-sublist>li {
        margin-bottom: 3.438vw;
        font-size: calc(16/640*100vw);
        padding-left: 0.3em;
    }

    .article-list>li::before {
        font-size: calc(14/640*100vw);
    }

}

/* =====================================================
   ページトップ
===================================================== */
.page-top-btn {
    position: fixed;
    right: 16px;
    bottom: 14px;
    z-index: 999;
    display: inline-block;
    transition: opacity 0.3s ease;
    width: 70px;
}

.page-top-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 640px){
    .page-top-btn {
    width: 10vw;
    }
}

/* =====================================================
   角
===================================================== */
.corner-deco {
    position: absolute;
    top: 0;
    width: 323.5px;
}

.corner-deco.deco1 {
    left: 0;
}

.corner-deco.deco2 {
    right: 0;
}

.corner-deco.deco3 {
    left: 0;
}

@media (max-width: 640px){
    .corner-deco {
        width: calc(283/640*100vw);
    }
}

/* =====================================================
   概要
===================================================== */
.content-box.intro-box::after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518184740.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 500px;
}

.overview-text-block {
    position: relative;
    z-index: 2;
    padding: 44px 40px 44px 36px;
    max-width: 580px;
}

@media (max-width: 640px){
    .content-box.intro-box::after {
        background-position: center center;
        background-size: calc(500/640*100vw);
    }
}


/* =====================================================
   コンテンツエリア
===================================================== */
.content-area {
    padding: 0 0 68px;
    max-width: 920px;
}


@media (max-width: 640px){
    .content-area {
        padding: 0 3.125vw 7.5vw;
        max-width: 100%;
    }
}

/* =====================================================
   コンテンツセクション
===================================================== */
.contest-section {
    margin: 28px 0 0;
    border: 1px solid var(--color-teal);
    background: var(--color-surface);
    overflow: hidden;
}

.contest-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    min-height: 220px;
}

.contest-left {
    padding: 22px 22px 22px 22px;
    background: linear-gradient(135deg, #090c14 0%, #0e1520 100%);
    position: relative;
    overflow: hidden;
}

.contest-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.025);
    white-space: nowrap;
    pointer-events: none;
    letter-spacing: 0.1em;
}

.contest-tagline {
    font-family: var(--font-sans);
    font-size: 0.73rem;
    color: var(--color-black);
    margin-bottom: 10px;
    letter-spacing: 0.04em;
}

.contest-title-block {
    background: var(--color-red);
    padding: 10px 16px;
    margin-bottom: 14px;
    display: inline-block;
}

.contest-title-block h2 {
    font-family: var(--font-title);
    font-size: 1.55rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.contest-title-block .tbd {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 8px;
    letter-spacing: 0.12em;
}

.contest-period-box {
    background: var(--color-bg-dark);
    border: 1px solid var(--color-red-dark);
    padding: 8px 14px;
    display: inline-block;
    margin-bottom: 14px;
}

.contest-period-box .label {
    font-family: var(--font-sans);
    font-size: 0.63rem;
    color: var(--color-black);
    margin-bottom: 2px;
    letter-spacing: 0.05em;
}

.contest-period-box .period {
    font-family: var(--font-title);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-white);
}

.contest-keywords {
    font-family: var(--font-sans);
    font-size: 0.73rem;
    color: var(--color-black);
    letter-spacing: 0.06em;
}

.contest-right {
    writing-mode: vertical-rl;
    background: var(--color-surface2);
    padding: 20px 12px;
    border-left: 1px solid var(--color-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contest-badge {
    font-family: var(--font-title);
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--color-white);
    letter-spacing: 0.18em;
    line-height: 1;
}

.contest-badge-en {
    font-family: var(--font-title);
    font-size: 0.52rem;
    letter-spacing: 0.1em;
    color: var(--color-black);
    writing-mode: vertical-rl;
}

/* =====================================================
   コンテンツ本文
===================================================== */
.contest-desc {
    padding: 20px 0 8px;
    border-top: 1px solid var(--color-teal);
}

.section-label {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-teal-light);
    letter-spacing: 0.04em;
}

.contest-desc p {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.9;
    color: var(--color-black);
    margin-bottom: 8px;
}

.contest-desc p:last-child {
    margin-bottom: 0;
}

.contest-desc .note {
    font-size: 0.7rem;
    color: var(--color-black);
}

/* =====================================================
   セクションヘッダー
===================================================== */
.sec-heading {
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-heading);
    padding: 20px 0 8px;
    border-bottom: 2px solid var(--color-teal-dark);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

/* =====================================================
   テーブル
===================================================== */
.article-definition-list {
    margin-bottom: 17px;
    overflow: hidden;
    display: flex;
}

.article-definition-list dt {
    color: var(--color-black);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    padding: 0 10px;
    border: 1px solid #9D9D9D;
    background: var(--color-white);
    white-space: nowrap;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-entry .article-definition-list dt {
    width: 86px;
}

.article-definition-list dd {
    font-family: var(--font-sans);
    padding: 0 14px;
    color: var(--color-black);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-entry .article-definition-list dd {
    font-weight: bold;
}

.content .p-note {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 2.85;
}

@media (max-width: 640px){
    .article-definition-list dt {
        line-height: 1.8;
        font-size: 2.344vw;
        padding: 0 1.563vw;
    }


    .page-entry .article-definition-list dt {
        width: calc(86/640*100vw);
    }

    .content .p-note {
        font-size: 2.188vw;
        line-height: 2.5;
    }

    .article-definition-list dd {
        padding: 0 2.188vw;
        gap: 1.25vw;
        font-size: 2.5vw;
    }
}


/* ============================================ 	
記事ページ：リード文 	
============================================ */
.article-lead-text {
    background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260520/20260520155345.png) no-repeat top left/cover;
    color: #fff;
    padding: 16px 20px;
    font-size: 16px;
    line-height: 1.8;
    margin: -32px 0 40px;
    font-weight: 500;
}

@media (max-width: 640px){
    .article-lead-text {
        background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260520/20260520155351.png) no-repeat top left/cover;
    }
}

/* ============================================ 	
記事ページ：ページ内ナビ 	
============================================ */
.article-page-nav {}

.article-page-nav>ul {
    list-style: none;
    margin: 24px 0 32px;
    padding: 16px 20px;
    background-color: #F7F7F7;
}

.article-page-nav>ul>li {
    margin-bottom: 12px;
}

.article-page-nav>ul>li>a {
    color: var(--color-black);
    background: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    font-size: 17px;
    display: block;
    padding: 0 10px;
}

.article-page-nav ul ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 24px 0;
}

.article-page-nav ul ul li {
    position: relative;
    padding: 0 1.5em;
    line-height: 1;
}

.article-page-nav ul ul li:first-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background-color: #ccc;
    height: 100%;
}

.article-page-nav ul ul li::after {
    content: "";
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background-color: #ccc;
    height: 100%;
}

.article-page-nav ul ul li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 640px){
    .article-page-nav>ul {
        margin: calc(24/640*100vw) 0 calc(32/640*100vw);
        padding: calc(16/640*100vw) calc(20/640*100vw);
    }

    .article-page-nav>ul>li {
        margin-bottom: calc(12/640*100vw);
    }


    .article-page-nav>ul>li>a {
        font-size: calc(17/640*100vw);
        padding: 0 calc(10/640*100vw);
    }

    .article-page-nav ul ul {
        margin: calc(8/640*100vw) 0 0 0;
        gap: calc(24/640*100vw) 0;
    }

    .article-page-nav ul ul li:first-child::before {
        top: calc(4/640*100vw);
        bottom: calc(4/640*100vw);
    }

    .article-page-nav ul ul li::after {
        top: calc(4/640*100vw);
        bottom: calc(4/640*100vw);
        width: 1px;
    }

    .article-page-nav ul ul li a {
        font-size: calc(16/640*100vw);
    }

}

/* =====================================================
   INFO
===================================================== */
.info-section {
    margin: 20px 0;
    border: 1px solid var(--color-teal);
    overflow: hidden;
}

.info-section-header {
    background: var(--color-surface2);
    border-bottom: 1px solid var(--color-teal);
    padding: 10px 16px;
}

.info-section-header h3 {
    font-family: var(--font-title);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: 0.05em;
}

.info-section-body {
    padding: 14px 16px;
    background: var(--color-surface);
}

/* =====================================================
   DIVIDER
===================================================== */
.divider {
    border: none;
    border-top: 1px solid var(--color-teal);
    margin: 24px 0;
}

/* ============================================
   公式年表アコーディオン（記事ページ用）
   .article-accordion
============================================ */
h3.article-accordion-title {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518184840.png) no-repeat top left / cover;
}

.article-accordion-toggle {
    font-style: normal;
    font-size: 20px;
    color: #FFFFFF;
    margin-left: 12px;
}


.article-accordion-box {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
}

.article-accordion.open .article-accordion-box {
    max-height: 2000px;
    opacity: 1;
}

@media (max-width: 640px){
    h3.article-accordion-title {
        background: url(https://cdn-ak.f.st-hatena.com/images/fotolife/k/kakuyomu_special_ed1/20260518/20260518184845.png) no-repeat top left / cover;
    }

    .article-accordion-toggle {
        font-size: calc(22/640*100vw);
        margin-left: calc(12/640*100vw);
    }

}

/* =====================================================
   footer
===================================================== */

.site-footer {
    text-align: center;
    padding: 39px;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: var(--color-black);
    text-align: center;
    background: var(--color-white);
}

.site-footer h2 {
    width: 347px;
    margin: 0 auto 24px;
}

.site-footer p {
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--color-black);
    margin: 0 auto 33px;
    line-height: 2;
}

.kakuyomu-btns {
    display: flex;
    gap: 47px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 37px;
}

.btn-kakuyomu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light-blue);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    padding: 19px 28px;
    border-radius: 2px;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.04em;
    min-width: 360px;
}

.btn-kakuyomu:hover {}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 38px;
}

.partner-logo li .kadokawa {
    height: 32px;
}

.partner-logo li .hatena {
    height: 28px;
}


.partner-logo li img {
    max-height: 100%;
}

.footer .copy {
    font-size: 14px;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 6.25w;
    }

    .site-footer h2 {
        width: calc(339/640*100vw);
        margin: 0 auto 5vw;
    }

    .site-footer h2 img {
        width: 100%;
    }

    .site-footer p {
        font-size: 2.5vw;
        margin: 0 0 6.25vw;
        text-align: left;
    }

    .site-footer p.copy {
        text-align: center;
    }

    .kakuyomu-btns {
        flex-direction: column;
        align-items: center;
        margin-bottom: 6.875vw;
        gap: 3.906vw;
    }


    .btn-kakuyomu {
        font-size: 2.813vw;
        padding: 2.969vw 4.375vw;
        border-radius: 0.313vw;
        width: calc(360/640*100vw);
        max-width: 100%;
        min-width: 0;
    }


    .partner-logo li .kadokawa {
        height: calc(39/640*100vw);
    }

    .partner-logo li .hatena {
        height: calc(36/640*100vw);
    }

}

/* =====================================================
   FOOTER SNS
===================================================== */
.footer-sns ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
}

.sns-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    color: var(--color-black);
    border: 1px solid var(--color-teal-light);
    padding: 4px 12px;
    border-radius: 2px;
    transition: all 0.2s;
}

.sns-btn:hover {
    border-color: var(--color-teal-dark);
    color: var(--color-teal);
}

@media (max-width: 640px) {
    .sns-btn .sns-hatena iframe {
        width: calc(115/640*100vw);
        height: calc(20/640*100vw);
    }
}