/* ベースリセット */
body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #fafafa;
}

/* ナビゲーションバー */
.navbar {
    background: linear-gradient(135deg, #2b1055, #000000); /* 深い紫から黒へのグラデーション */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    text-shadow: 0 0 0 rgba(255, 20, 147, 0);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {   /* いま開いているページも、同じく光らせたままにする */
    color: #ff3d9e;   /* 以前は #ff69b4。より濃く、はっきりしたピンクに */
    text-shadow: 0 0 6px rgba(255, 61, 158, 1), 0 0 16px rgba(255, 20, 147, 0.85), 0 0 28px rgba(255, 20, 147, 0.6);
}

/* ホバー時に左から右へ伸びるアンダーライン */
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;   /* 以前は 2px。太くして、見えやすく */
    background-color: #ff3d9e;
    box-shadow: 0 0 8px rgba(255, 61, 158, 1), 0 0 18px rgba(255, 20, 147, 0.7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
    transform: scaleX(1);
}

/* 検索ボタン */
.search-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
}

/* 検索オーバーレイ（ドロップダウン風） */
.search-overlay {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-overlay.hidden {
    display: none;
}

.search-input-wrapper {
    width: 100%;
    max-width: 600px;
}

#search-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    box-sizing: border-box;
}

/* 検索結果リスト */
.search-results {
    width: 100%;
    max-width: 600px;
    margin-top: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: block;
    background: #ffffff;
    padding: 12px;
    border-bottom: 1px solid #eeeeee;
    font-size: 14px;
    color: #333333;
    text-decoration: none;
}

.search-result-item:last-child {
    border-bottom: none;
}

a.search-result-item {
    cursor: pointer;
    transition: background-color 0.15s;
}

a.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-page {
    display: inline-block;
    margin-right: 8px;
    padding: 2px 8px;
    border-radius: 3px;
    background-color: #2b1055;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    vertical-align: middle;
}

/* 蛍光ペン風のハイライト装飾 */
.highlight {
    background: linear-gradient(transparent 50%, #ffff66 50%);
    font-weight: bold;
    color: #000;
}

.content {
    padding: 40px;
}

/* 各ページ共通のタイトル用ヒーローヘッダー */
.page-hero-header {
    background: linear-gradient(135deg, #2b1055, #000000); /* 深い紫から黒へのグラデーション */
    margin: -40px -40px 40px -40px;
    padding: 175px 40px;
}

.page-hero-header h1 {
    margin: 0;
    color: #ffffff;
    font-weight: bold;
    font-size: 3.5rem;
    letter-spacing: 1px;
}

/* ヒーローヘッダーのテキストを中央揃えにする修飾クラス */
.page-hero-header--center {
    text-align: center;
}

/* 帯の中に見出し文字を残すページ用：project（空の帯）と帯の高さを揃えるため、
   その分だけ上下パディングを控えめにする修飾クラス */
.page-hero-header--with-title {
    padding-top: 143px;
    padding-bottom: 143px;
}

/* 帯の右側に、飾りの絵を置くページ用（Home・Project・Design・Simulation・Experiment・Future・ELSI・Team）。絵は、帯の中に、背景のように置く（文字・操作のじゃまをしない）。
   帯より大きく置いて、はみ出した部分は、帯のふちで切れる（上と右・下から、はみ出すように見せる）。
   大きさ：height（帯の高さに対する割合。100%より大きいと、はみ出す）／ 位置：top・right（マイナスにすると、外へずれる）／ 濃さ：opacity */
.page-hero-header--with-image {
    position: relative;
    overflow: hidden;
}

.page-hero-header--with-image h1 {
    position: relative;
    z-index: 1;
}

.page-hero-image {
    position: absolute;
    top: -24%;
    right: -4%;
    height: 150%;
    width: auto;
    opacity: 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

/* 見出し1つ分のまとまり。次のセクションとの間にたっぷり余白を取る */
.content-section {
    margin-bottom: 120px;
}

.content-section:last-child {
    margin-bottom: 60px;
}

/* 白いコンテンツエリアに並ぶ、中央揃えの見出し */
.section-title {
    margin: 60px 0 0;
    text-align: center;
    color: #2b1055;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* 見出し下に添える、細く上品な区切り線 */
.section-title::after {
    content: '';
    display: block;
    width: min(1100px, 100%);
    height: 1px;
    margin: 24px auto 0;
    background-color: #d0d0d0;
}

/* 今後、自由に本文を書き込んでいくための空のプレースホルダーエリア */
.content-space {
    padding: 60px 0;
    min-height: 220px;
}

/* 本文テキストが横に広がりすぎないよう幅を制限し、読みやすく整える */
.section-text {
    max-width: 1100px;
    margin: 0 auto;
    color: #333333;
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
}

.section-text p {
    margin: 0 0 24px;
}

/* 本文（段落・箇条書き）は、長文が読みやすい明朝体（セリフ体）にする。見出しは、そのままゴシック体 */
.section-text p,
.section-text li {
    font-family: "Times New Roman", Times, "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

/* 4 つの要素の一覧（Connection / Material exchange と 1〜4）：見出しと同じゴシック体にする。
   Connection・Material exchange と 1〜4 の項目名は太字、"(see …)" とリンクは、ふつうの太さ。補足（key-note）は本文の書体 */
.section-text p.key-list {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

/* 4 つの要素の一覧を、うすい紫の角丸の四角で囲み、目立たせる（主張は強くしない） */
.section-text .key-box {
    clear: both;
    margin: 22px 0;
    padding: 6px 30px;
    border-radius: 18px;
    background: rgba(106, 61, 181, 0.07);
    border: 1px solid rgba(106, 61, 181, 0.22);
}

/* 4 つの要素の一覧の太字（Connection / Material exchange と 1〜4 の項目名）は、ほかの見出しと同じ紫にする */
/* Project の "(see …)" は、項目の下の説明文（key-note）と同じ大きさ */
.section-text p.key-list .key-see {
    font-size: 1rem;
}

.section-text p.key-list strong {
    color: #2b1055;
}

/* 「Connection」「Material exchange」の前に、紫の黒丸（●）を付ける */
.section-text p.key-list > span:first-child::before {
    content: "";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    border-radius: 50%;
    background: #2b1055;
    margin-right: 0.5em;
    vertical-align: baseline;
}

/* Project の Issue：左に 4 つの要素の一覧、右に「Satisfies 1〜4」の図を並べる（幅がせまい画面では縦に積む） */
.section-text .issue-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 22px 0;
}

.section-text .issue-row .issue-row-lists {
    flex: 0 0 auto;
}

.section-text .issue-row .issue-row-lists p.key-block {
    margin: 14px 0;
}

.section-text .issue-row figure.issue-row-fig {
    flex: 0 1 540px;
    width: 540px;
    margin: 0;
}

.section-text .issue-row figure.issue-row-fig img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 760px) {
    .section-text .issue-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .section-text .issue-row figure.issue-row-fig {
        width: 100%;
        flex-basis: auto;
    }
}

.section-text .key-box figure.fig-hero {
    margin: 14px auto 6px;
}

.section-text .key-box p.key-block {
    margin: 14px 0;
}

/* 太字は、見出し（Connection / Material exchange）と、項目の番号（1. 〜 4.）だけ。項目名は、ふつうの太さ */
.section-text p.key-list strong {
    font-weight: 700;
}

.section-text p.key-list .key-item {
    color: #2b1055;
    font-weight: 400;
}

.section-text p.key-list .key-note {
    font-family: "Times New Roman", Times, "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
}

.section-text p:last-child {
    margin-bottom: 0;
}

/* 大見出し（section-title）の中を、さらに細かく分ける小見出し */
.section-text .sub-title {
    margin: 56px 0 16px;
    color: #2b1055;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.4;
}

/* 大見出しの、すぐ下にくる小見出し・箇条書きは、上の余白をなくす（段落から始まるページと、同じ位置から文章が始まる） */
.section-text > .sub-title:first-child,
.section-text > ul:first-child,
.section-text > ol:first-child {
    margin-top: 0;
}

/* 後から文章を書き足すための、数行ぶんの空き。文章を書いたら、この class は外して（残して）も大丈夫 */
.section-text .text-blank {
    min-height: 120px;
}

/* 本文中の画像・動画：横にはみ出さず、縦横比を保って中央に表示する */
.section-text img,
.section-text video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
}

/* YouTube の動画：サムネイルに再生ボタンを重ねた画像リンク（押すと YouTube が新しいタブで開く） */
.section-text a.video-link {
    position: relative;
    display: block;
    width: 100%;
    max-width: 880px;
    margin: 24px auto;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
}

.section-text a.video-link img {
    width: 100%;
    margin: 0;
    transition: filter 0.2s;
}

.section-text a.video-link .video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 58px;
    transform: translate(-50%, -50%);
    border-radius: 14px;
    background: rgba(220, 38, 38, 0.92);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    transition: background 0.2s, transform 0.2s;
}

.section-text a.video-link .video-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-30%, -50%);
    border-style: solid;
    border-width: 13px 0 13px 22px;
    border-color: transparent transparent transparent #fff;
}

.section-text a.video-link:hover img,
.section-text a.video-link:focus-visible img {
    filter: brightness(0.9);
}

.section-text a.video-link:hover .video-play,
.section-text a.video-link:focus-visible .video-play {
    background: #dc2626;
    transform: translate(-50%, -50%) scale(1.06);
}

/* 画像・動画を横に並べる：中の画像・動画が、同じ幅で等分に並ぶ（2枚でも3枚でもよい） */
.section-text .media-row {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    align-items: flex-start;
}

.section-text .media-row > * {
    flex: 1 1 0;
    min-width: 0;
}

.section-text .media-row img,
.section-text .media-row video {
    width: 100%;
    margin: 0;
}

/* 文章の横に、画像・動画を置く：画像（動画）が左、文章が右。
   media-text--reverse を足すと、画像（動画）が右、文章が左になる */
.section-text .media-text {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin: 24px 0;
}

.section-text .media-text img,
.section-text .media-text video {
    width: 100%;
    margin: 0;
}

.section-text .media-text--reverse > img,
.section-text .media-text--reverse > video {
    order: 2;
}

/* 説明文つきの画像（図）：<figure> の中に画像、<figcaption> に出典などの説明を書く */
.section-text figure {
    margin: 24px 0;
}

/* 図と文字の配置：画面が広いときは、図を右に寄せ（幅 36%）、文字を左に回り込ませる。
   小さい文字のある図や、パネルが並ぶ図には、class="fig-wide" を付けて、本文の幅いっぱいに置く。
   画面が狭いとき（スマホなど）は、縦に積む */
@media (min-width: 1000px) {
    .float-figs .section-text figure {
        float: right;
        width: 36%;
        margin: 6px 0 20px 32px;
    }

    .float-figs .section-text figure.fig-wide {
        float: none;
        clear: both;
        width: 78%;
        margin: 24px auto;
    }

    /* 4 つの要素の注釈つきの全体像など、文字の多い図は、少し大きめ（幅 50%）に右へ寄せる */
    .float-figs .section-text figure.fig-mid {
        width: 50%;
    }

    /* 先行研究の説明と図：左に文字、右に図を、横に並べる */
    .section-text .study-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 32px;
        align-items: center;
        clear: both;
        margin: 8px 0 28px;
    }

    .float-figs .section-text .study-row figure {
        float: none;
        width: 100%;
        margin: 6px 0 0;
    }

    .section-text .study-row p {
        margin: 0 0 16px;
    }

    /* 縦長の図は、行の中で、幅を半分にして右に寄せる */
    .float-figs .section-text .study-row figure.fig-narrow {
        width: 60%;
    }

    /* 行の中で、さらに小さくする図 */
    .float-figs .section-text .study-row figure.fig-narrow.fig-xs {
        width: 80%;
    }

    /* 縦長の図は、さらに細くする */
    .float-figs .section-text figure.fig-narrow {
        width: 24%;
    }

    .section-text .sub-title,
    .section-text h4 {
        clear: both;
    }

    /* 4 つの要素の宣言や 1〜4 の項目は、図と対にせず、大きく目立たせる */
    .section-text .key-block {
        clear: both;
        font-size: 1.2em;
        line-height: 1.6;
        font-weight: 600;
        margin: 16px 0;
    }

    /* 大きな項目の中の、補足説明は、ふつうの大きさ・太さに戻す */
    .section-text .key-block .key-note {
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.7;
    }

    /* 一覧の項目名の横にある補足（"(see …)" や ": リンク"）は、本文と同じ大きさ（一覧は 1.2 倍なので、1.2 で割る） */
    .section-text p.key-list .key-aside {
        font-size: calc(1em / 1.2);
    }

    /* 表面密度の図：上に斜面、下に 3 枚の画像と説明 */
    .float-figs .section-text figure.fig-full {
        float: none;
        clear: both;
        width: 100%;
        margin: 24px 0;
    }

    .fig-density .density-ramp {
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 8px;
    }

    .fig-density .density-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }

    .fig-density .density-cell img {
        display: block;
        width: 100%;
        margin: 0;
    }

    .fig-density .density-cell p {
        margin: 10px 0 0;
        font-size: 1.05em;
    }

    .content-space::after {
        content: '';
        display: block;
        clear: both;
    }

    /* 4 つの要素の注釈つき全体像：図を大きく見せ、説明は図の下に置く */
    .float-figs .section-text figure.fig-hero {
        float: none;
        clear: both;
        width: 52%;
        margin: 12px auto;
    }

    /* Project の全体像（1〜4 の図）は、さらに大きく */
    .float-figs .section-text figure.fig-hero.fig-hero-lg {
        width: 62%;
    }

    /* パネルが 4 枚並ぶ図：幅を少し絞る */
    .float-figs .section-text figure.fig-wide.fig-compact {
        width: 62%;
    }

    .float-figs .section-text figure.fig-compact .media-row {
        margin: 8px 0;
    }

    /* 小さめに、中央へ置く図（本文と一緒に見える大きさ） */
    .float-figs .section-text figure.fig-block.fig-small {
        width: 52%;
        margin: 20px auto;
    }

    /* 幅 58% で中央に置く図（図と、すぐ下の文章を、1 画面で一緒に見られる大きさ） */
    .float-figs .section-text figure.fig-w62 {
        float: none;
        clear: both;
        width: 58%;
        margin: 12px auto;
    }

    /* 図を、本文の中に、そのまま（右寄せにも横並びにもせず）置く */
    .float-figs .section-text figure.fig-block {
        float: none;
        clear: both;
        width: auto;
        margin: 24px 0;
    }
}

.section-text figure img,
.section-text figure video {
    margin: 0 auto;
}

.section-text figcaption {
    margin-top: 8px;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

/* 幅広：文章の幅より広く、最大1280pxで表示する（グラフなど、小さい文字がある画像向け）。
   <img> に付けても、<figure> に付けてもよい。画面が狭いときは、画面の幅に収まる */
.section-text .media-wide {
    position: relative;
    left: 50%;
    width: min(1280px, calc(100vw - 40px));
    max-width: none;
    margin: 24px 0;
    transform: translateX(-50%);
}

.section-text figure.media-wide img {
    width: 100%;
}

/* 画面が狭いとき（スマホなど）は、横並びをやめて、縦に積む */
@media (max-width: 600px) {
    .section-text .media-row {
        flex-direction: column;
    }

    .section-text .media-text {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-text .media-text--reverse > img,
    .section-text .media-text--reverse > video {
        order: 0;
    }
}

/* Teamページ：メンバーの写真を、横に4人まで並べる。5人目からは次の行に続く */
.member-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 56px 80px;
    max-width: 1180px;
    margin: 0 auto;
}

/* 写真どうしをつなぐDNA。写真より奥（下）に描く。JSが <main> の先頭に入れる */
.content {
    position: relative;
}

.dna-links {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* 写真をドラッグして動かせる。動かしている間は少し浮かせ、影をつける */
.member {
    position: relative;
    z-index: 2;
    /* 当たり判定は、中の「円の画像」と「名前・役割の文字」だけにする。
       四角い枠の角や、円の外にあるDNAの上では、写真ではなくDNAが反応する */
    pointer-events: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: pan-y;
}

/* ホバー：カーソルを重ねると、影がわずかに強くなって、浮いて見える（動きは、JSがバネで行う） */
.member img {
    cursor: grab;
    transition: box-shadow 0.3s ease, filter 0.6s ease;
}

/* 3枚の写真が、DNAでつながったら（ALiGN）、その3枚のまわりが、ほんのり光る。
   光は、drop-shadow（filter）で付ける。ホバー・ドラッグの影（box-shadow）とは、別のプロパティなので、ぶつからない。
   色は、サイトの紫（#8650bd）と、DNAの青（#69AFF2）。強さは、rgba の最後の数字（0.8 と 0.6）。--align-glow は、JSが、DNAが外れるときに、1 → 0 にする */
.member.is-aligned img {
    filter: drop-shadow(0 0 8px rgba(var(--glow-a, 134, 80, 189), calc(0.8 * var(--align-glow, 1)))) drop-shadow(0 0 20px rgba(var(--glow-b, 105, 175, 242), calc(0.6 * var(--align-glow, 1))));
}

/* 3枚がつながったあとの色（「GUV1・GUV2・GUV3」の図と同じ配色）。JSが、写真に data-guv-color をつける。
   真ん中 = 黄緑（green）、左 = オレンジ（orange）、右 = 青（blue）。膜の絵は、script.js の GUV_COLORS で作った --guv-ring-色。
   --glow-a / --glow-b = まわりの光の色（内側・外側。R, G, B の数字）。script.js の GUV_COLORS の head と、そろえる */
.member.is-aligned[data-guv-color="orange"] {
    --glow-a: 255, 138, 91;
    --glow-b: 255, 180, 130;
}

.member.is-aligned[data-guv-color="green"] {
    --glow-a: 119, 196, 110;
    --glow-b: 176, 224, 130;
}

.member.is-aligned[data-guv-color="blue"] {
    --glow-a: 69, 183, 245;
    --glow-b: 120, 208, 255;
}

/* 名前と役職の色も、写真の色に対応した色に変わる（読みやすいよう、白い背景の上で、見える濃さにしてある）。変わるときは、ゆっくり */
.member-name,
.member-role {
    transition: color 0.5s ease;
}

.member.is-aligned[data-guv-color="orange"] .member-name { color: #ee6a3a; }
.member.is-aligned[data-guv-color="orange"] .member-role { color: #f59a72; }
.member.is-aligned[data-guv-color="green"] .member-name { color: #4a9e58; }
.member.is-aligned[data-guv-color="green"] .member-role { color: #78c183; }
.member.is-aligned[data-guv-color="blue"] .member-name { color: #2f86d0; }
.member.is-aligned[data-guv-color="blue"] .member-role { color: #66aee6; }

.has-guv-ring .member.is-aligned[data-guv-color="orange"] img {
    background-image: var(--guv-ring-orange);
}

.has-guv-ring .member.is-aligned[data-guv-color="green"] img {
    background-image: var(--guv-ring-green);
}

.has-guv-ring .member.is-aligned[data-guv-color="blue"] img {
    background-image: var(--guv-ring-blue);
}

/* 写真の下に、やわらかい影。少し浮き上がったように見える。ホバー中の写真は、となりの写真より手前に */
.member.is-hover {
    z-index: 6;
}

.member.is-hover img {
    box-shadow: 0 16px 28px rgba(43, 16, 85, 0.30);
}

.member.is-dragging,
.member.is-dragging img {
    cursor: grabbing;
}

.member.is-dragging img {
    box-shadow: 0 18px 36px rgba(43, 16, 85, 0.35);
}

/* 「Reset layout」で元の位置に戻るときの動き */
.member.is-returning {
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.member img,
.member-name,
.member-role {
    pointer-events: auto;
}

.member img {
    -webkit-user-drag: none;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
}

/* 写真のまわりの、脂質二重膜（GUVのように）。script.js の initGuvRing が、膜の絵を --guv-ring に入れて、<main> に has-guv-ring をつける。
   膜は、写真と同じ要素（img）の背景。padding の部分に、膜が見える。padding は、膜の厚さ（script.js の GUV_RING.band と同じ 7%）。
   box-sizing: border-box なので、写真＋膜の外側の大きさは、これまでの写真と同じ（当たり判定・DNAの位置も、変わらない） */
.has-guv-ring .member img {
    box-sizing: border-box;
    padding: 7%;
    background: var(--guv-ring) center / 100% 100% no-repeat;
}

.member-name {
    margin: 16px 0 0;
    color: #2b1055;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.member-role {
    margin: 4px 0 0;
    color: #777777;
    font-size: 14px;
    text-align: center;
}

/* Teamページ：使い方の一言と、写真を元の並びに戻すボタン */
.team-hint {
    width: fit-content;      /* 文字の幅に合わせた、灰色の四角にする（中央に置く） */
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto 28px;     /* 下：写真の列との間のあき */
    padding: 7px 16px;       /* 四角の内側のあき（上下・左右） */
    border-radius: 6px;      /* 四角の角の丸さ（小さいほど、角ばる） */
    background: #ececec;     /* 四角の色：うすい灰色（濃くするときは #d8d8d8 など） */
    color: #666666;
    font-family: "Baloo 2", "Nunito", "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;   /* 「ALiGN」の文字と、同じフォント */
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
}

/* 文を、3つに分けて、「ALiGN」の文字と、同じ3色（オレンジ・緑・青。ALiGN の .align-badge-layer の color と同じ値）で、色分けする */
.team-hint .hint-orange { color: #ff8a5b; }
.team-hint .hint-green  { color: #77c46e; }
.team-hint .hint-blue   { color: #45b7f5; }

.reset-layout-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 88px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.reset-layout-btn img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 10px rgba(43, 16, 85, 0.35));
    pointer-events: none;
    transform-origin: 50% 85%;
    transition: transform 0.2s ease;
}

/* マスコットの、雲型のふきだし「Tap to reset」（写真を元の位置に戻して、DNAを外す、という意味）（見た目だけ。クリックの動きは変えない）。
   いつも出している。ふきだしはマスコットの左上。しっぽの先が、マスコットの顔の方を向く。クリックや重なりの判定には、加わらない。
   大きさ：width と height（比は 148:66 のまま。大きくするときは、両方を同じ割合で）と、文字の大きさ（.reset-bubble-text の font-size）。
   位置：right・bottom（しっぽの先を、マスコットの顔に合わせる。小さくしたときは、同じ割合で小さくする） */
.reset-bubble {
    position: absolute;
    right: calc(100% - 10px);
    bottom: calc(100% - 22px);
    width: 124px;
    height: 55px;
    opacity: 1;
    transform: scale(1);
    transform-origin: 94% 92%;   /* しっぽの先を中心に、ふくらむ */
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.reset-bubble svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 3px 5px rgba(43, 16, 85, 0.18));
}

.reset-bubble path {
    fill: #ffffff;
    stroke: #47226d;
    stroke-width: 1.6;
    stroke-linejoin: round;
}

/* 文字：Baloo 2（team.html で読み込む）。読み込めないときは、丸みのある代わりのフォント */
.reset-bubble-text {
    position: absolute;
    left: 14%;
    right: 13%;
    top: 22%;
    height: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Baloo 2", "Nunito", "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
    font-size: 15px;   /* 「Pull the DNA!」も、ふきだしの中に、収まる大きさの上限（これ以上は、はみ出す）。ふきだしの幅（124px）に合わせた値 */
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #47226d;
    white-space: nowrap;
}

/* カーソルを持つ端末（パソコンなど）だけ。スマホ・タブレットでは、ホバーに頼らず、タップでそのまま並び直す */
@media (hover: hover) and (pointer: fine) {
    .reset-layout-btn:hover img {
        transform: scale(1.05);   /* 約5%拡大 */
    }

    .reset-layout-btn:hover .reset-bubble {
        opacity: 1;
        transform: scale(1);
        animation: bubble-pop 0.25s ease-out;
    }
}

/* DNAが、初めてつながったとき、JSが is-hint をつけて、同じふきだしを、自動で出す（文字は「Pull the DNA!」）。タッチ操作の端末でも、出る */
.reset-layout-btn.is-hint .reset-bubble,
.reset-layout-btn:focus-visible .reset-bubble {
    opacity: 1;
    transform: scale(1);
    animation: bubble-pop 0.25s ease-out;
}

/* 現れるとき：少しだけ大きくなってから、ぷるんと落ち着く（控えめ） */
@keyframes bubble-pop {
    0%   { transform: scale(0.88) translateY(4px); }
    60%  { transform: scale(1.05) translateY(0); }
    100% { transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .reset-layout-btn:hover .reset-bubble,
    .reset-layout-btn.is-hint .reset-bubble,
    .reset-layout-btn:focus-visible .reset-bubble {
        animation: none;
    }
}

.reset-layout-btn:active img {
    transform: scale(0.92);
}

@media (max-width: 700px) {
    .reset-layout-btn {
        width: 68px;
        right: 12px;
        bottom: 12px;
    }

    /* スマホ：マスコットが小さいので、ふきだしも、さらに小さく */
    .reset-bubble {
        right: calc(100% - 8px);
        bottom: calc(100% - 18px);
        width: 100px;
        height: 45px;
    }

    .reset-bubble-text {
        font-size: 11.5px;
    }
}

/* 全ページ共通のフッター */
.site-footer {
    background: linear-gradient(135deg, #2b1055, #000000); /* 深い紫から黒へのグラデーション */
    color: #ffffff;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
}

/* マウスに追従するDNA二重螺旋エフェクト用の、画面全体を覆う透明なcanvas */
.dna-cursor-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2147483647;
}

/* スマホなど、画面が狭いとき：メニューを2段にして、余白と文字を小さめにする */
@media (max-width: 700px) {
    .navbar {
        height: auto;
        flex-wrap: wrap;
        padding: 0 16px 6px;
    }

    /* 右側のまとまりをほどいて、ロゴ・検索・メニューを同じ並びで扱う */
    .navbar-right {
        display: contents;
    }

    .navbar-left {
        order: 1;
        height: 48px;
        display: flex;
        align-items: center;
    }

    .search-icon-container {
        order: 2;
        height: 48px;
        display: flex;
        align-items: center;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 10px;
    }

    .nav-links a {
        font-size: 12px;
    }

    /* 2段になったメニューの高さに合わせて、検索欄の位置を下げる */
    .search-overlay {
        top: 102px;
    }

    .content {
        padding: 20px;
    }

    .page-hero-header {
        margin: -20px -20px 20px -20px;
        padding: 90px 20px;
    }

    .page-hero-header--with-title {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .page-hero-header h1 {
        font-size: 2.5rem;
    }

    /* 狭い画面：絵は、文字の後ろに、うすく（文字が、読みにくくならないように） */
    .page-hero-image {
        top: -18%;
        right: -14%;
        height: 130%;
        opacity: 0.5;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-section {
        margin-bottom: 70px;
    }

    .section-text {
        font-size: 16px;
    }
}

/* スマホなど：メンバーの写真は、横に2人ずつ */
@media (max-width: 700px) {
    .member-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 48px;
    }

    .member-name {
        font-size: 15px;
    }
}

/* ---- 操作チュートリアル（偽物のカーソル）。見た目だけ。クリックなどの判定には、加わらない ---- */
.tutorial-cursor {
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    z-index: 9;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.tutorial-cursor svg {
    display: block;
    transform-origin: 6px 3.5px;
    transition: transform 0.12s ease;
    filter: drop-shadow(0 2px 3px rgba(43, 16, 85, 0.35));
}

.tutorial-cursor.is-press svg {
    transform: scale(0.86);
}

/* クリックの波紋（矢印の先に、小さく） */
.tutorial-ring {
    position: absolute;
    left: 5.8px;
    top: 3.5px;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 2px solid rgba(134, 80, 189, 0.7);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.tutorial-cursor.is-click .tutorial-ring {
    animation: tutorial-ring 0.45s ease-out;
}

@keyframes tutorial-ring {
    from { transform: scale(0.3); opacity: 0.9; }
    to { transform: scale(1.15); opacity: 0; }
}

/* 写真をつかんだように見せる影（実演のとき、写真は動かさない） */
.member.tut-lift img {
    box-shadow: 0 16px 28px rgba(43, 16, 85, 0.30);
}

/* ---- YOKABIOくんの機嫌（整列ボタンを短時間に何度も押すと、だんだん怒る）----
   5枚の画像は、同じ大きさのキャンバス（キャラクターの位置・大きさがそろえてある）。
   ボタンの枠（クリックできる範囲）は、これまでと同じ。雲や怒りマークは、枠の外にはみ出して見える（クリック判定には入らない）。
   重ねて置いて、表示する1枚だけ不透明にする：切り替えで、ちらつかない・レイアウトが動かない */
.mascot-faces {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 298 / 400;
}

.reset-layout-btn .mascot-face {
    position: absolute;
    left: -18.626%;
    top: -0.642%;
    width: 130.667%;
    height: auto;
    opacity: 0;
    transform-origin: 52.6% 84.7%;
}

.reset-layout-btn .mascot-face.is-on {
    opacity: 1;
}

/* 切り替わった瞬間：ぷるっ（約1.08倍 → 0.2秒で元の大きさ）。怒りが強いほど、左右に少し震える。
   拡大は scale、震えは translate（別々のプロパティ）なので、重ねて動かせる。ホバーの拡大（画像側の transform）とも、ぶつからない */
.mascot-faces.is-pop {
    animation: mascot-pop 0.2s ease-out;
}

.mascot-faces.is-shake-2 { animation: mascot-pop 0.2s ease-out, mascot-shake-2 0.22s linear; }
.mascot-faces.is-shake-3 { animation: mascot-pop 0.2s ease-out, mascot-shake-3 0.28s linear; }
.mascot-faces.is-shake-4 { animation: mascot-pop 0.2s ease-out, mascot-shake-4 0.34s linear; }
.mascot-faces.is-shake-5 { animation: mascot-pop 0.2s ease-out, mascot-shake-5 0.5s linear; }   /* 細かく、短時間だけ */

@keyframes mascot-pop {
    from { scale: 1.08; }
    to { scale: 1; }
}

@keyframes mascot-shake-2 {
    0%, 100% { translate: 0 0; }
    25% { translate: -1px 0; }
    75% { translate: 1px 0; }
}

@keyframes mascot-shake-3 {
    0%, 100% { translate: 0 0; }
    20% { translate: -2px 0; }
    40% { translate: 2px 0; }
    60% { translate: -2px 0; }
    80% { translate: 2px 0; }
}

@keyframes mascot-shake-4 {
    0%, 100% { translate: 0 0; }
    15% { translate: -3px 0; }
    30% { translate: 3px 0; }
    45% { translate: -3px 0; }
    60% { translate: 3px 0; }
    80% { translate: -1.5px 0; }
}

@keyframes mascot-shake-5 {
    0%, 100% { translate: 0 0; }
    8% { translate: -3.5px 0; }
    16% { translate: 3.5px 0; }
    24% { translate: -3.5px 0; }
    32% { translate: 3.5px 0; }
    40% { translate: -3.5px 0; }
    48% { translate: 3.5px 0; }
    56% { translate: -3px 0; }
    64% { translate: 3px 0; }
    76% { translate: -2px 0; }
    88% { translate: 1px 0; }
}

/* 動きを減らす設定のとき：震えは省く（ぷるっ、だけ） */
@media (prefers-reduced-motion: reduce) {
    .mascot-faces.is-shake-2,
    .mascot-faces.is-shake-3,
    .mascot-faces.is-shake-4,
    .mascot-faces.is-shake-5 {
        animation: mascot-pop 0.2s ease-out;
    }
}

/* 写真がぶつかったときの、YOKABIOくんの揺れ（見た目だけ。ボタンの位置・クリックできる範囲は、動かさない）。
   画像だけに、個別プロパティ scale / rotate を使う（ホバーの拡大は transform、怒りの「ぷるっ」は、外側のラッパー。おたがいに、ぶつからない） */
.reset-layout-btn.is-bump-1 .mascot-face.is-on {
    animation: mascot-bump-1 0.25s ease-out;
}

.reset-layout-btn.is-bump-2 .mascot-face.is-on {
    animation: mascot-bump-2 0.33s ease-out;
}

@keyframes mascot-bump-1 {
    0% { scale: 1 1; rotate: 0deg; }
    25% { scale: 1.05 0.95; rotate: -2.5deg; }
    60% { scale: 0.985 1.015; rotate: 1.5deg; }
    100% { scale: 1 1; rotate: 0deg; }
}

@keyframes mascot-bump-2 {
    0% { scale: 1 1; rotate: 0deg; }
    22% { scale: 1.11 0.89; rotate: -6deg; }
    50% { scale: 0.96 1.04; rotate: 4deg; }
    78% { scale: 1.02 0.98; rotate: -1.5deg; }
    100% { scale: 1 1; rotate: 0deg; }
}

@media (prefers-reduced-motion: reduce) {
    .reset-layout-btn.is-bump-1 .mascot-face.is-on,
    .reset-layout-btn.is-bump-2 .mascot-face.is-on {
        animation: none;
    }
}


/* 左下の「Contents」ボタンと同じ、紫の丸いボタン形のリンク */
.section-text a.pill-link {
    display: inline-block;
    padding: 11px 16px;
    border-radius: 999px;
    background: #2b1055;
    color: #ffffff;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(43, 16, 85, 0.35);
}

.section-text a.pill-link:hover,
.section-text a.pill-link:focus-visible {
    background: #4a2a85;
    color: #ffffff;
}

/* 画面の右下に、ずっと表示しておく紫のボタン（Experimental Details の「Back to Experiment」）。
   位置：right・bottom（画面のふちからの距離）。狭い画面では、左下の「Contents」ボタンと同じ高さに並ぶ（toc.css の .toc-toggle） */
.section-text a.pill-link.pill-link--float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1100;
}

@media (max-width: 999px) {   /* 左の「Contents」ボタンが出る幅（toc.css）と同じ */
    .section-text a.pill-link.pill-link--float {
        right: 14px;
        bottom: 16px;
    }
}

/* 3枚の写真が、DNAでつながると、3枚の上に出る「ALiGN」の文字（script.js の updateAlignBadges が、位置・大きさ・濃さを決める）。
   写真の上・YOKABIOくんの下。操作は、じゃましない。
   文字は、同じ「ALiGN」を、3枚重ねて作る（.align-badge-layer）。1枚ずつ、色と、枠の色が違い、自分の担当の幅（横の範囲）だけを切り出して見せる：
       オレンジのレイヤー … A と L の左半分     文字 = オレンジ   枠 = うすい赤
       緑のレイヤー   … L の右半分・i・G の左半分   文字 = 緑         枠 = うすい緑
       青のレイヤー   … G の右半分・N       文字 = 青         枠 = うすい青
       （3枚の写真の並びと同じ：左の写真 = オレンジ、真ん中の写真 = 緑、右の写真 = 青）
   境目（--s1 = L の真ん中、--s2 = G の真ん中）は、script.js が、文字を測って決める。文字の色は、3枚の写真の色（GUV_COLORS）と、同じ */
.align-badge {
    position: absolute;
    z-index: 800;
    translate: -50% -50%;   /* 文字の中心を、left / top の位置に置く。個別プロパティ translate は、scale（小さくなる動き・出るときの弾み）より、外側に掛かるので、小さくなっても、中心が動かない */
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    display: grid;   /* 3枚のレイヤーを、同じ場所に、ぴったり重ねる */
    font-family: "Baloo 2", "Nunito", "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    color: #2b1055;   /* レイヤーが無いとき（寸法を測る見えない文字）の色。ふだんは、使わない */
    filter: drop-shadow(0 0.04em 0.12em rgba(43, 16, 85, 0.35));   /* 写真から、少し浮かせる、やわらかい影（3枚のレイヤー全体に、1回だけ） */
    transition: opacity 0.25s ease;
    animation: align-pop 0.55s cubic-bezier(0.2, 1.5, 0.4, 1);   /* 出るとき：ぽんっと、少し大きく弾んで、落ち着く（個別プロパティ scale / rotate を使うので、位置の transform とは、ぶつからない） */
}

.align-badge-layer {
    grid-area: 1 / 1;
    /* 枠（ふち取り）：文字の形に沿って、まわりに付ける。二重の枠にして、平らに見えないようにする。
         内側 = 文字に接する、細い線（0.006em）。文字より少し濃い色（--ol-in）
         外側 = そのまわりの、うすい線（0.016em）。うすい色（--ol）
       文字の影（text-shadow）を、ぐるっと一周ぶん、重ねて作る（軽い方法。先に書いたものが、手前に出る）。
       太さは、em の数字（大きいほど、太い）。色は、レイヤーごと */
    text-shadow:
        0.0060em 0.0000em 0 var(--ol-in), 0.0042em 0.0042em 0 var(--ol-in), 0.0000em 0.0060em 0 var(--ol-in), -0.0042em 0.0042em 0 var(--ol-in),
        -0.0060em 0.0000em 0 var(--ol-in), -0.0042em -0.0042em 0 var(--ol-in), -0.0000em -0.0060em 0 var(--ol-in), 0.0042em -0.0042em 0 var(--ol-in),
        0.0160em 0.0000em 0 var(--ol), 0.0139em 0.0080em 0 var(--ol), 0.0080em 0.0139em 0 var(--ol), 0.0000em 0.0160em 0 var(--ol),
        -0.0080em 0.0139em 0 var(--ol), -0.0139em 0.0080em 0 var(--ol), -0.0160em 0.0000em 0 var(--ol), -0.0139em -0.0080em 0 var(--ol),
        -0.0080em -0.0139em 0 var(--ol), -0.0000em -0.0160em 0 var(--ol), 0.0080em -0.0139em 0 var(--ol), 0.0139em -0.0080em 0 var(--ol);
}

/* clip-path：自分の担当の幅だけを見せる（上下と、両はしの外側は、枠がはみ出すぶん、広めにとる）。境目は、すきまが見えないよう、0.3%だけ、重ねる */
.align-badge-layer--green {
    color: #77c46e;      /* 緑 */
    --ol: #96d38d;       /* 外側の枠：うすい緑 */
    --ol-in: #5cac5f;    /* 内側の枠：文字より、少し濃い緑 */
    clip-path: inset(-0.2em calc(100% - var(--s2, 66%)) -0.2em calc(var(--s1, 38%) - 0.3%));   /* 真ん中の担当：L の右半分・i・G の左半分 */
}

.align-badge-layer--orange {
    color: #ff8a5b;      /* オレンジ */
    --ol: #ffa085;       /* 外側の枠：うすい赤（コーラル） */
    --ol-in: #f27455;    /* 内側の枠：文字より、少し濃いオレンジ */
    clip-path: inset(-0.2em calc(100% - var(--s1, 38%)) -0.2em -0.2em);   /* 左の担当：A と L の左半分 */
}

.align-badge-layer--blue {
    color: #45b7f5;      /* 青 */
    --ol: #86c3f4;       /* 外側の枠：うすい青 */
    --ol-in: #3a9ede;    /* 内側の枠：文字より、少し濃い青 */
    clip-path: inset(-0.2em -0.2em -0.2em calc(var(--s2, 66%) - 0.3%));
}

/* 文字の寸法を測るための、見えない文字（script.js の measureBadgeMetrics）。動かさない・見せない */
.align-badge-probe {
    left: -9999px;
    top: 0;
    visibility: hidden;
    animation: none;
    translate: none;
}

@keyframes align-pop {
    0% { scale: 0.55; rotate: -5deg; }
    100% { scale: 1; rotate: 0deg; }
}

@media (prefers-reduced-motion: reduce) {
    .align-badge {
        animation: none;
        transition: none;
    }
}


/* Simulation ページの、ページ内ショートカットのボタン（Explore the simulation / View results）：「Contents」ボタンと同じ紫。
   simulation.html の中の色指定より優先されるように、body を付けている（ページを書き換えられても、紫のまま） */
body .result-summary-links a {
    background: #2b1055;
}

body .result-summary-links a:hover,
body .result-summary-links a:focus-visible {
    background: #4a2a85;
}

/* 実験の詳細ページ（experiment-solutions.html）：1 つの実験を、1 つの囲み（うすい紫の四角）で囲む。2025 年のページのように、どこからどこまでが 1 つの実験か、一目で分かるようにする */
.content-section.exp-box {
    max-width: 1180px;
    margin: 0 auto 36px;
    padding: 12px 36px 28px;
    background: #f3effa;
    border: 2px solid #cfc2e8;
    border-radius: 18px;
    box-sizing: border-box;
}

.content-section.exp-box:first-of-type {
    margin-top: 28px;
}

.content-section.exp-box .section-title {
    margin-top: 16px;
    font-size: 2.2rem;
}

@media (max-width: 600px) {
    .content-section.exp-box {
        padding: 8px 18px 20px;
        margin-left: 4px;
        margin-right: 4px;
    }
}


/* 実験ページ：1 つの実験の、Method（左）と Results（右）を、同じ高さの見出しから、左右に並べる。図は Results の列（右）に入る */
@media (min-width: 1000px) {
    .float-figs .section-text .mr-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 40px;
        align-items: start;
        clear: both;
        margin: 8px 0 28px;
    }

    .float-figs .section-text .mr-col > h3.sub-title {
        margin-top: 0;
    }

    .float-figs .section-text .mr-col figure,
    .float-figs .section-text .mr-col figure.fig-narrow {
        float: none;
        width: 100%;
        margin: 12px 0 16px;
    }

    .float-figs .section-text .mr-col figure.fig-narrow {
        width: 70%;
    }
}


/* Project の Solution：要素 2 の図（左：多数の弱い結合、右：結合部品の表面密度）と、その下に、左右に分けた説明 */
.float-figs .section-text .el2-block {
    clear: both;
    width: 62%;
    margin: 12px auto 20px;
}

.float-figs .section-text .el2-block figure.fig-block {
    width: 100%;
    margin: 0 0 8px;
}

.float-figs .section-text .el2-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
}

.float-figs .section-text .el2-cols p {
    margin: 0;
    font-size: 0.95em;
}

@media (max-width: 999px) {
    .float-figs .section-text .el2-block { width: 100%; }
    .float-figs .section-text .el2-cols { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
