/*
Theme Name: ATOCON Base
Theme URI: http://atocon-local.local/
Author: ATOCON
Author URI: https://atocon.example/
Description: アトコンのリリース用テーマ基盤（Phase 6c で作成）。既存 atocon テーマからフォークしたスケルトン。本格的なデザイン反映は Phase 7 以降。デザイン素材は asset_manifest.md (00_docs / 60_design) と素材使用方針 §0.5 に従う。
Version: 0.1.0-phase6c
Requires at least: 6.0
Requires PHP: 8.0
Tested up to: 6.9
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atocon-base
Tags: custom-post-types, blog, e-commerce
*/

/* =====================================================================
   CSS design tokens
   ===================================================================== */

:root {
    --atocon-color-bg: #fff5e6;
    --atocon-color-surface: #ffffff;
    --atocon-color-text: #111111;
    --atocon-color-muted: #6a625b;
    --atocon-color-accent: #f15a24;
    --atocon-color-accent-dark: #c94719;
    --atocon-color-border: rgba(17, 17, 17, 0.12);
    --atocon-color-soft: #fffaf1;
    --atocon-color-paid-badge: #f15a24;
    --atocon-color-demo-badge: #5f7f8f;
    --atocon-color-free-badge: #2e8f63;

    --atocon-font-heading: "Zen Kaku Gothic Antique", "Noto Sans JP", sans-serif;
    --atocon-font-body: "Noto Sans JP", "Zen Kaku Gothic Antique", sans-serif;
    --atocon-font-en: "Roboto", "Noto Sans JP", sans-serif;
    --atocon-font-size-heading-pc: 3.8rem;
    --atocon-font-size-heading-sp: 2.8rem;
    --atocon-font-size-body-pc: 1.6rem;
    --atocon-font-size-body-sp: 1.3rem;
    --atocon-line-height-base: 1.75;

    --atocon-space-xs: 0.4rem;
    --atocon-space-sm: 0.8rem;
    --atocon-space-md: 1.6rem;
    --atocon-space-lg: 2.4rem;
    --atocon-space-xl: 4rem;
    --atocon-space-section: 12rem;
    --atocon-space-section-inner: 6rem;

    --atocon-site-max: 144rem;
    --atocon-container-max: 108rem;
    --atocon-radius: 0.8rem;
    --atocon-shadow-card: 0 1.2rem 3rem rgba(17, 17, 17, 0.08);
    --atocon-kv-height: 108rem;
}

/* =====================================================================
   Base
   ===================================================================== */

html {
    box-sizing: border-box;
    font-size: 62.5%;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    background: var(--atocon-color-bg);
    color: var(--atocon-color-text);
    font-family: var(--atocon-font-body);
    font-size: var(--atocon-font-size-body-pc);
    line-height: var(--atocon-line-height-base);
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--atocon-color-accent);
    text-decoration: none;
}

a:hover {
    color: var(--atocon-color-accent-dark);
}

p {
    margin: 0 0 1.4em;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.65em;
    font-family: var(--atocon-font-heading);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

h1, h2 {
    font-size: var(--atocon-font-size-heading-pc);
}

ul, ol {
    padding-left: 1.4em;
}

.atocon-container {
    width: min(100% - 4rem, var(--atocon-container-max));
    margin: 0 auto;
}

.atocon-main {
    min-height: 60vh;
}

/* .atocon-main > .atocon-container {
    padding-top: var(--atocon-space-section-inner);
    padding-bottom: var(--atocon-space-section-inner);
} */

.home .atocon-main > .atocon-container,
.front-page .atocon-main > .atocon-container {
    padding-top: 0;
}

.atocon-kicker {
    margin: 0 0 1rem;
    color: var(--atocon-color-accent);
    font-family: var(--atocon-font-en);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.atocon-button,
.atocon-paywall__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 1.2rem 2.4rem;
    border: 0.2rem solid var(--atocon-color-accent);
    border-radius: 999rem;
    font-family: var(--atocon-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.atocon-button:hover,
.atocon-paywall__cta:hover {
    transform: translateY(-0.1rem);
    text-decoration: none;
}

.atocon-button--primary,
.atocon-paywall__cta {
    background: var(--atocon-color-accent);
    color: #ffffff !important;
}

.atocon-button--primary:hover,
.atocon-paywall__cta:hover {
    background: var(--atocon-color-accent-dark);
    border-color: var(--atocon-color-accent-dark);
    color: #ffffff !important;
}

.atocon-button--secondary {
    background: #ffffff;
    color: var(--atocon-color-accent);
}

.atocon-button--secondary:hover {
    background: var(--atocon-color-soft);
}

.atocon-card,
.atocon-compe-card {
    background: var(--atocon-color-surface);
    border: 0.1rem solid var(--atocon-color-border);
    border-radius: var(--atocon-radius);
    box-shadow: var(--atocon-shadow-card);
}

/* =====================================================================
   Header / Footer
   ===================================================================== */

.atocon-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    /* background: rgba(255, 245, 230, 0.94); */
    border-bottom: 0.1rem solid var(--atocon-color-border);
    backdrop-filter: blur(1.2rem);
}

.atocon-site-header .atocon-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
    min-height: 7.2rem;
}

.atocon-site-header__logo {
    flex: 0 0 auto;
    margin: 0;
    padding-top: 1rem;
    padding-left: 1rem;
}

.atocon-logo {
    display: inline-flex;
    align-items: center;
}

.atocon-menu-toggle {
    display: none;
}

.atocon-sp-menu__logo,
.atocon-sp-menu__sub {
    display: none;
}

.atocon-logo img {
    width: 12rem;
}

.atocon-nav {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.atocon-nav a {
    color: var(--atocon-color-text);
    font-family: var(--atocon-font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.atocon-nav a:hover {
    color: var(--atocon-color-accent);
}

.atocon-site-footer {
    margin-top: var(--atocon-space-section-inner);
    padding: 4.8rem 0;
    background: var(--atocon-color-accent);
    color: #ffffff;
    text-align: center;
}

.atocon-site-footer__brand {
    display: flex;
    justify-content: center;
    margin: 0 0 1.6rem;
}

.atocon-site-footer__brand img {
    width: 14.2rem;
}

.atocon-site-footer__copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--atocon-font-en);
    /* Phase 7m-1: 著作権表記を控えめに */
    font-size: 1rem;
    font-weight: normal;
}

/* =====================================================================
   Top page
   ===================================================================== */

.atocon-front {
    overflow: hidden;
}

.atocon-front-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(42rem, 1.1fr);
    align-items: center;
    gap: 3.2rem;
    min-height: min(var(--atocon-kv-height), calc(100vh - 7.2rem));
    padding: 7.2rem 0 8rem;
}

.atocon-front-hero__content {
    position: relative;
    z-index: 2;
    max-width: 49rem;
}

.atocon-front-hero__title {
    margin-bottom: 2rem;
    font-size: clamp(3.8rem, 5.4vw, 7.2rem);
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.atocon-front-hero__lead {
    color: var(--atocon-color-muted);
    font-size: 1.8rem;
    overflow-wrap: anywhere;
}

.atocon-front-hero__actions,
.atocon-front-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 3.2rem;
}

.atocon-front-hero__visual {
    position: relative;
    min-height: 54rem;
}

.atocon-front-hero__building {
    position: absolute;
    right: -3rem;
    bottom: 0;
    width: min(72rem, 100%);
}

.atocon-front-hero__cloud {
    position: absolute;
    width: 12rem;
    opacity: 0.9;
}

.atocon-front-hero__cloud--left {
    top: 10%;
    left: 4%;
}

.atocon-front-hero__cloud--right {
    top: 2%;
    right: 8%;
}

.atocon-front-hero__character {
    position: absolute;
    z-index: 2;
}

.atocon-front-hero__character--frog {
    right: 44%;
    bottom: 4%;
    width: 9.6rem;
}

.atocon-front-hero__character--rabbit {
    right: 16%;
    bottom: 13%;
    width: 9.8rem;
}

.atocon-front-hero__character--gorilla {
    right: 2%;
    bottom: 0;
    width: 12rem;
}

.atocon-front-section {
    padding: var(--atocon-space-section) 0;
}

.atocon-section-heading {
    max-width: 68rem;
    margin-bottom: var(--atocon-space-section-inner);
}

.atocon-section-heading--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.4rem;
    max-width: none;
}

.atocon-section-heading h2 {
    margin-bottom: 0;
}

.atocon-link-more {
    flex: 0 0 auto;
    color: var(--atocon-color-accent);
    font-family: var(--atocon-font-heading);
    font-weight: 700;
}

.atocon-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}

.atocon-feature-card {
    padding: 3.2rem;
}

.atocon-feature-card img {
    width: 7.2rem;
    margin-bottom: 2rem;
}

.atocon-feature-card h3 {
    font-size: 2.2rem;
}

.atocon-feature-card p {
    margin-bottom: 0;
    color: var(--atocon-color-muted);
}

.atocon-front-latest {
    padding-top: 0;
}

.atocon-front-cta {
    margin-bottom: 6rem;
    padding: 6.4rem;
    background: #ffffff;
    border: 0.1rem solid var(--atocon-color-border);
    border-radius: 0.8rem;
    text-align: center;
}

.atocon-front-cta h2 {
    max-width: 72rem;
    margin-right: auto;
    margin-left: auto;
}

.atocon-front-cta__actions {
    justify-content: center;
}

/* =====================================================================
   Compe / PMPro existing minimum styles
   ===================================================================== */

.atocon-compe-list {
    display: grid;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.atocon-compe-card {
    padding: 2.4rem;
    margin-bottom: 0;
}

.atocon-compe-card__meta {
    color: var(--atocon-color-muted);
    font-size: 1.4rem;
}

.atocon-badge {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 999rem;
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.4;
}

.atocon-badge--paid  { background: var(--atocon-color-paid-badge); }
.atocon-badge--demo  { background: var(--atocon-color-demo-badge); }
.atocon-badge--free  { background: var(--atocon-color-free-badge); }

.atocon-paywall {
    margin: 3.2rem 0;
    padding: 3.2rem;
    background: #ffffff;
    border: 0.2rem dashed var(--atocon-color-accent);
    border-radius: var(--atocon-radius);
    text-align: center;
}

.atocon-masked {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
}

.pmpro,
.pmpro_card,
.pmpro_section {
    font-family: var(--atocon-font-body);
}

/* =====================================================================
   Competition detail page
   ===================================================================== */

body.single-compe .atocon-site-header,
body.single-compe .atocon-site-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

body.single-compe .atocon-main {
    width: 100%;
}

body.single-compe .atocon-main > .atocon-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

/* Phase 7m-5: width:100vw を撤去（Phase 7m-4 の max-width:108rem; margin:0 auto が効くように）
   ※背景色は body.single-compe 全体に逃がす（下のセレクタ参照） */
body.single-compe {
    background: #fff5e6;
}
body.single-compe .atocon-compe-single-page {
    padding: 8rem 0 12rem;
}

body.single-compe article.atocon-compe {
    margin: 0 auto;
    padding: 7.2rem 6.4rem;
    background: #ffffff;
    border-radius: 2.4rem;
    box-shadow: 0 1.6rem 3.2rem rgba(17, 17, 17, 0.12);
}

/* Phase 7m-5: ヘッダー内（タイトル + バッジ + サムネ）は flex/grid にせず縦並びの 1カラム */
.atocon-compe__header {
    display: block;
    margin-bottom: 5.6rem;
}

.atocon-compe__heading {
    min-width: 0;
}

.atocon-compe__status {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 0 2.4rem;
}

.atocon-compe__title {
    margin: 0 0 3rem;
    color: #111111;
    font-family: var(--atocon-font-heading);
    font-size: 4.4rem;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.atocon-compe__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.atocon-compe__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 3.6rem;
    padding: 0.55rem 1.7rem;
    border: 0.15rem solid var(--atocon-color-accent);
    border-radius: 999rem;
    color: var(--atocon-color-accent);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.25;
}

.atocon-compe__thumb {
    width: 100%;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1.32 / 1;
    background: #ffffff;
    border-radius: 2rem;
}

.atocon-compe__thumb img,
.atocon-compe__thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.atocon-compe__thumb-placeholder {
    background: #c9c9c9;
}

.atocon-compe__meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    margin: 0 0 5.6rem;
}

.atocon-compe__meta-item {
    min-width: 0;
    padding: 2rem 2.2rem;
    background: #fff5e6;
    border-radius: 1.4rem;
}

.atocon-compe__meta-item dt {
    margin: 0 0 0.6rem;
    color: var(--atocon-color-accent);
    font-size: 1.3rem;
    font-weight: 900;
}

.atocon-compe__meta-item dd {
    margin: 0;
    color: #111111;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.65;
}

.atocon-compe__section,
.atocon-compe__content,
.atocon-compe__locked-panel {
    margin-top: 5.2rem;
}

.atocon-compe__section h2,
.atocon-compe__locked-panel h2 {
    margin: 0 0 2rem;
    color: #111111;
    font-size: 2.8rem;
    font-weight: 900;
}

.atocon-compe__section-body,
.atocon-compe__content,
.atocon-compe__locked-panel p {
    color: #111111;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 2.15;
}

.atocon-compe__section-body p:last-child,
.atocon-compe__content p:last-child,
.atocon-compe__locked-panel p:last-child {
    margin-bottom: 0;
}

.atocon-compe__translated-list {
    display: grid;
    gap: 1.6rem;
    margin: 0;
}

.atocon-compe__translated-list div {
    padding-bottom: 1.6rem;
    border-bottom: 0.1rem solid rgba(17, 17, 17, 0.12);
}

.atocon-compe__translated-list dt {
    margin: 0 0 0.6rem;
    color: var(--atocon-color-accent);
    font-weight: 900;
}

.atocon-compe__translated-list dd {
    margin: 0;
}

.atocon-compe__official,
.postcompe__sitebtn {
    margin: 2rem 0 0;
    text-align: center;
}

.atocon-compe__official a,
.postcompe__sitebtn a,
.atocon-paywall__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 42rem);
    max-width: 100%;
    min-width: 0;
    min-height: 6.8rem;
    padding: 1.6rem 3.2rem;
    border: 0.25rem solid var(--atocon-color-accent);
    border-radius: 999rem;
    background: var(--atocon-color-accent);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    white-space: normal;
}

.atocon-compe__official a:hover,
.postcompe__sitebtn a:hover,
.atocon-paywall__cta:hover {
    background: var(--atocon-color-accent-dark);
    border-color: var(--atocon-color-accent-dark);
    color: #ffffff;
    text-decoration: none;
}

.postcompe__sitebtn a {
    gap: 1.2rem;
}

.postcompe__sitebtn img {
    display: block;
    flex: 0 0 auto;
    width: 3.2rem;
    height: 3.2rem;
    object-fit: cover;
    border-radius: 50%;
}

.atocon-compe__locked-panel {
    padding: 3rem;
    background: #fff5e6;
    border: 0.15rem solid rgba(241, 90, 36, 0.28);
    border-radius: 1.8rem;
}

.atocon-paywall {
    width: min(100% - 7.2rem, 108rem);
    margin: 3.2rem auto 0;
    padding: 4.2rem 4rem;
    background: #ffffff;
    border: 0.2rem solid var(--atocon-color-accent);
    border-radius: 2.4rem;
    box-shadow: 0 1.2rem 2.8rem rgba(17, 17, 17, 0.1);
    text-align: center;
}

.atocon-paywall__title {
    margin: 0 0 1.2rem;
    color: #111111;
    font-size: 2.8rem;
    font-weight: 900;
}

.atocon-paywall__lead {
    margin: 0 auto 2.8rem;
    max-width: 68rem;
    color: #111111;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.9;
}

.atocon-paywall__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.atocon-paywall__sub {
    color: var(--atocon-color-accent);
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 0.4rem;
}

.atocon-paywall__login {
    margin: 2rem 0 0;
    font-size: 1.4rem;
}

@media (max-width: 900px) {
    body.single-compe .atocon-compe-single-page {
        padding: 4rem 0 6rem;
    }

    body.single-compe article.atocon-compe {
        width: calc(100% - 4rem);
        padding: 3.6rem 2rem;
        border-radius: 0;
        box-shadow: none;
    }

    .atocon-compe__header {
        display: block;
        margin-bottom: 3.6rem;
    }

    .atocon-compe__title {
        margin-bottom: 2.4rem;
        font-size: 2.8rem;
        line-height: 1.5;
    }

    .atocon-compe__badges {
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .atocon-compe__badges span {
        min-height: 3.2rem;
        padding: 0.45rem 1.3rem;
        font-size: 1.2rem;
    }

    .atocon-compe__thumb {
        margin-top: 2.4rem;
        border-radius: 1.6rem;
    }

    .atocon-compe__meta-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-bottom: 3.6rem;
    }

    .atocon-compe__meta-item {
        padding: 1.6rem;
    }

    .atocon-compe__meta-item dd,
    .atocon-compe__section-body,
    .atocon-compe__content,
    .atocon-compe__locked-panel p {
        font-size: 1.3rem;
        line-height: 2;
    }

    .atocon-compe__section,
    .atocon-compe__content,
    .atocon-compe__locked-panel {
        margin-top: 3.6rem;
    }

    .atocon-compe__section h2,
    .atocon-compe__locked-panel h2,
    .atocon-paywall__title {
        font-size: 2.2rem;
    }

    .atocon-compe__official a,
    .postcompe__sitebtn a,
    .atocon-paywall__cta {
        width: 100%;
        min-width: 0;
        min-height: 5.6rem;
        font-size: 1.6rem;
    }

    .postcompe__sitebtn img {
        width: 2.8rem;
        height: 2.8rem;
    }

    .atocon-paywall {
        width: calc(100% - 4rem);
        padding: 3rem 2rem;
        border-radius: 1.8rem;
    }

    .atocon-paywall__actions {
        display: block;
    }

    .atocon-paywall__sub {
        display: inline-block;
        margin-top: 1.6rem;
    }
}

/* =====================================================================
   Competition list page
   ===================================================================== */

.atocon-page--compe-list {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #fff5e6;
}

.atocon-compe-list-page {
    color: #1f3330;
    overflow-x: hidden;
}

.atocon-compe-list-hero {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 53rem) minmax(0, 1fr);
    align-items: center;
    width: min(100% - 7.2rem, 144rem);
    min-height: 34rem;
    margin: 0 auto;
    padding: 3rem 0 3rem;
}

.atocon-compe-list-hero__body {
    position: relative;
    z-index: 3;
}

.atocon-compe-list-hero .atocon-page__title {
    margin: 0 0 3.2rem;
    color: #1f3330;
    font-size: 5.2rem;
    font-weight: 900;
    line-height: 1.25;
}

.atocon-compe-list-hero p {
    margin: 0;
    color: #000000;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 2.1;
}

.atocon-compe-list-hero__visual {
    position: relative;
    min-height: 28rem;
}

.atocon-compe-list-hero__visual img,
.atocon-compe-list-hero__confetti {
    position: absolute;
}

.atocon-compe-list-hero__arrow {
    right:1rem;
    bottom: 0;
    z-index: 1;
    width: 48rem;
    max-width: none;
}

.atocon-compe-list-hero__gorilla {
    left: 12%;
    bottom: 5rem;
    z-index: 2;
    width: 20rem;
}

.atocon-compe-list-hero__rabbit {
    left: 41%;
    bottom: 9.4rem;
    z-index: 2;
    width: 10rem;
}

.atocon-compe-list-hero__frog {
    left: 64%;
    bottom: 13rem;
    z-index: 2;
    width: 8.5rem;
}

.atocon-compe-list-hero__confetti {
    z-index: 2;
    width: 1.4rem;
    height: 2.2rem;
    background: #f8bd19;
    transform: rotate(-38deg);
}

.atocon-compe-list-hero__confetti--1 { top: 1rem; left: 17%; background: #f8bd19; }
.atocon-compe-list-hero__confetti--2 { top: -3rem; left: 39%; background: #77ae24; }
.atocon-compe-list-hero__confetti--3 { top: 0rem; left: 55%; background: #ed4e93; }
.atocon-compe-list-hero__confetti--4 { top: 0rem; right: 22%; background: #1b65a7; }
.atocon-compe-list-hero__confetti--5 { top: 7rem; right: 13%; background: #77ae24; }

.atocon-page--compe-list .atocon-page__content {
    width: min(100% - 7.2rem, var(--atocon-container-max));
    margin: 0 auto 4rem;
}

.atocon-compe-list-layout {
    display: grid;
    grid-template-columns: 35rem minmax(0, 1fr);
    gap: 7rem;
    width: min(100% - 7.2rem, var(--atocon-container-max));
    margin: 0 auto;
    padding: 3rem 0 12rem;
}

.atocon-compe-filter {
    align-self: start;
    padding: 4.2rem 3.2rem;
    background: #ffffff;
    border-radius: 2.4rem;
}

.atocon-compe-filter__section {
    padding: 0 0 3.2rem;
    margin: 0 0 3.2rem;
    border-bottom: 0.1rem solid rgba(17, 17, 17, 0.16);
}

.atocon-compe-filter__section:last-of-type {
    margin-bottom: 3.6rem;
}

.atocon-compe-filter h2 {
    margin: 0 0 2.4rem;
    color: #000000;
    font-size: 2rem;
    font-weight: 900;
}

.atocon-compe-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem 1rem;
}

.atocon-compe-filter__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 3.8rem;
    padding: 0.7rem 1.5rem;
    border: 0.15rem solid var(--atocon-color-accent);
    border-radius: 999rem;
    color: var(--atocon-color-accent);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.2;
}

.atocon-compe-filter label {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin: 1.6rem 0 0;
    color: var(--atocon-color-accent);
    font-size: 1.7rem;
    font-weight: 900;
}

.atocon-compe-filter input {
    width: 2rem;
    height: 2rem;
    margin: 0;
    accent-color: var(--atocon-color-accent);
    cursor: pointer;
}

.atocon-compe-filter .atocon-compe-filter__tag {
    display: inline-flex;
    gap: 0;
    margin: 0;
    cursor: pointer;
}

.atocon-compe-filter .atocon-compe-filter__tag input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.atocon-compe-filter .atocon-compe-filter__tag input:checked + span {
    background: #f15a24;
    color: #ffffff;
}

.atocon-compe-filter__keyword {
    display: block;
    margin: 0;
}

.atocon-compe-filter__keyword input {
    width: 100%;
    height: auto;
    min-height: 4.8rem;
    padding: 1.2rem 1.6rem;
    border: 0.15rem solid rgba(241, 90, 36, 0.35);
    border-radius: 999rem;
    color: #111111;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: text;
}

.atocon-compe-filter__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 7.2rem;
    padding: 1.6rem 2rem;
    background: var(--atocon-color-accent);
    border: 0;
    border-radius: 999rem;
    color: #ffffff;
    font-family: var(--atocon-font-heading);
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
}

.atocon-compe-filter__button:hover {
    background: var(--atocon-color-accent-dark);
    color: #ffffff;
}

.atocon-compe-filter__reset {
    display: flex;
    justify-content: center;
    margin-top: 1.8rem;
    color: var(--atocon-color-accent);
    font-size: 1.45rem;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 0.4rem;
}

.atocon-compe-results__count {
    margin: 0 0 3.2rem;
    color: #000000;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.3;
}

.atocon-compe-results__count strong {
    color: var(--atocon-color-accent);
    font-size: 4rem;
}

.atocon-compe-results__empty {
    margin: 0;
    padding: 4rem 3rem;
    background: #ffffff;
    border-radius: 2.4rem;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 900;
    text-align: center;
}

.atocon-compe-results .atocon-compe-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4.8rem 4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.atocon-page--compe-list .atocon-compe-card {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 0;
    border-radius: 2.4rem;
    box-shadow: 0 1rem 1.8rem rgba(17, 17, 17, 0.2);
}

.atocon-compe-card__link {
    display: block;
    height: 100%;
    color: #000000;
}

.atocon-compe-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 1.48 / 1;
    background: #ffffff;
}

.atocon-compe-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.atocon-compe-card__no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #666666;
    font-family: var(--atocon-font-en);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.atocon-compe-card__body {
    display: block;
    padding: 3.2rem 3rem 3.4rem;
}

.atocon-compe-card__title {
    display: block;
    margin: 0 0 2rem;
    color: #000000;
    font-family: var(--atocon-font-en);
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@media (min-width: 901px) {
    .atocon-page--compe-list .atocon-compe-card__title {
        transition: color 0.2s ease;
    }

    .atocon-page--compe-list .atocon-compe-card__title:hover {
        color: var(--atocon-color-accent, #f15a24);
    }
}

.atocon-compe-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.atocon-compe-card__badges span {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.45rem 1.2rem;
    border: 0.15rem solid var(--atocon-color-accent);
    border-radius: 999rem;
    color: var(--atocon-color-accent);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
}

.atocon-compe-card__meta,
.atocon-compe-card__state {
    display: grid;
    gap: 1.2rem;
}

.atocon-compe-card__meta-row {
    position: relative;
    display: block;
    min-height: 2rem;
    padding-left: 2.7rem;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
}

.atocon-compe-card__meta-row::before {
    position: absolute;
    top: 0.15em;
    left: 0;
    width: 1.7rem;
    height: 1.7rem;
    background: center / contain no-repeat;
    content: "";
}

.atocon-compe-card__meta-row--deadline::before {
    background-image: url("assets/img/svg/iconmini_calendar.svg");
}

.atocon-compe-card__meta-row--area::before {
    background-image: url("assets/img/svg/iconmini_pin.svg");
}

.atocon-compe-card__state {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 2rem;
}

.atocon-compe-card__state span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.4rem 0.8rem;
    background: #fff5e6;
    border: 0.1rem solid rgba(241, 90, 36, 0.28);
    border-radius: 999rem;
    color: var(--atocon-color-accent);
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.2;
}

.atocon-compe-card__action {
    display: inline-flex;
    align-items: center;
    margin-top: 2rem;
    color: var(--atocon-color-accent);
    font-size: 1.4rem;
    font-weight: 900;
}

.atocon-page--compe-list .navigation.pagination {
    margin: 7.2rem 0 0;
}

.atocon-page--compe-list .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
}

.atocon-page--compe-list .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.8rem;
    height: 3.8rem;
    color: #1f3330;
    font-family: var(--atocon-font-en);
    font-size: 2rem;
    font-weight: 900;
}

.atocon-page--compe-list .page-numbers.current {
    background: var(--atocon-color-accent);
    border-radius: 50%;
    color: #ffffff;
}

.atocon-compe-request {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4rem;
    width: min(100% - 7.2rem, var(--atocon-container-max));
    margin: 0 auto 12rem;
    padding: 5.2rem 7rem;
    background: #fff;
    border-radius: 5rem;
    box-shadow: 0 1.4rem 3rem rgba(17, 17, 17, 0.08);
}

.atocon-compe-request__body h2 {
    position: relative;
    margin: 0 0 1rem;
    padding-left: 6rem;
    color: #000000;
    font-size: 2.8rem;
    font-weight: 900;
}

.atocon-compe-request__body h2::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 4.2rem;
    height: 4.2rem;
    background: url("assets/img/svg/illust_lens.svg") center / contain no-repeat;
    transform: translateY(-50%);
    content: "";
}

.atocon-compe-request__body p {
    margin: 0 0 2.8rem;
    color: #000000;
    font-size: 1.5rem;
    font-weight: 900;
}

.atocon-compe-request__body a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-width: 34rem;
    min-height: 6.4rem;
    padding: 1.4rem 2.4rem 1.4rem 3.2rem;
    background: var(--atocon-color-accent);
    border-radius: 999rem;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 900;
}

.atocon-compe-request__body a span {
    position: relative;
    width: 3.2rem;
    height: 3.2rem;
    background: #ffffff;
    border-radius: 50%;
}

.atocon-compe-request__body a span::before {
    position: absolute;
    top: 50%;
    left: 45%;
    width: 0.9rem;
    height: 0.9rem;
    border-top: 0.2rem solid var(--atocon-color-accent);
    border-right: 0.2rem solid var(--atocon-color-accent);
    transform: translate(-50%, -50%) rotate(45deg);
    content: "";
}

.atocon-compe-request__characters {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}

.atocon-compe-request__characters img:nth-child(1) {
    width: 13rem;
}

.atocon-compe-request__characters img:nth-child(2),
.atocon-compe-request__characters img:nth-child(3) {
    width: 8rem;
}

/* Hidden helper for accessibility */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

@media (max-width: 900px) {
    :root {
        --atocon-space-section: 6rem;
        --atocon-space-section-inner: 3rem;
        --atocon-kv-height: 48rem;
    }

    body {
        font-size: var(--atocon-font-size-body-sp);
    }

    h1, h2 {
        font-size: var(--atocon-font-size-heading-sp);
    }

    .atocon-container {
        width: min(100% - 2.4rem, var(--atocon-container-max));
    }

    .atocon-site-header .atocon-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.2rem;
        min-height: 7rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .atocon-nav {
        flex-wrap: wrap;
        gap: 1rem 1.6rem;
    }

    .atocon-front-hero {
        grid-template-columns: 1fr;
        min-height: var(--atocon-kv-height);
        padding: 4rem 0 5rem;
    }

    .atocon-front-hero__title {
        font-size: 3.4rem;
    }

    .atocon-front-hero__lead {
        font-size: 1.4rem;
    }

    .atocon-front-hero__visual {
        min-height: 26rem;
    }

    .atocon-front-hero__building {
        right: 0;
        width: min(38rem, 100%);
    }

    .atocon-front-hero__cloud {
        width: 8rem;
    }

    .atocon-front-hero__character--frog {
        right: 48%;
        width: 6.8rem;
    }

    .atocon-front-hero__character--rabbit {
        right: 12%;
        width: 6.8rem;
    }

    .atocon-front-hero__character--gorilla {
        width: 8.4rem;
    }

    .atocon-feature-grid {
        grid-template-columns: 1fr;
    }

    .atocon-section-heading--row {
        align-items: flex-start;
        flex-direction: column;
    }

    .atocon-button,
    .atocon-paywall__cta {
        width: 100%;
        min-height: 4.4rem;
    }

    .atocon-front-cta {
        padding: 3.2rem 2rem;
    }
}

/* =====================================================================
   Top page — KV / MV / front sections
   ===================================================================== */

body.home,
body.front-page {
    background: #ffffff;
}

.home .atocon-site-header,
.front-page .atocon-site-header {
    position: absolute;
    width: 100%;
    background: transparent;
    border-bottom: 0;
    color: #ffffff;
    backdrop-filter: none;
}

.home .atocon-site-header .atocon-container,
.front-page .atocon-site-header .atocon-container {
    width: min(100% - 7.2rem, 225rem);
    min-height: 15rem;
}

.home .atocon-logo img,
.front-page .atocon-logo img {
    width: 24rem;
}

/* SP スクロール切り替え用 — 橙ロゴは全サイズでデフォルト非表示 */
.home .atocon-logo__img--scrolled,
.front-page .atocon-logo__img--scrolled {
    display: none;
}

/* .home .atocon-nav,
.front-page .atocon-nav {
    gap: 5.8rem;
} */

.home .atocon-nav a,
.front-page .atocon-nav a {
    color: #ffffff;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
}

.atocon-nav__contents:hover{
    color: var(--atocon-color-accent);
}

/* HOME ではグローバルの白文字ルールが優先されるため詳細度を上げる */
.home .atocon-nav__contents:hover,
.front-page .atocon-nav__contents:hover {
    color: var(--atocon-color-accent, #f15a24);
}

.home .atocon-nav__login,
.front-page .atocon-nav__login {
    min-width: 18rem;
    padding: 1.2rem 2.6rem;
    border: 0.2rem solid #ffffff;
    border-radius: 999rem;
    text-align: center;
}

.home .atocon-main > .atocon-container,
.front-page .atocon-main > .atocon-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.atocon-front--camp {
    background: #ffffff;
    color: #1f3330;
}

.atocon-front-inner {
    width: min(100% - 7.2rem, var(--atocon-container-max));
    margin: 0 auto;
}

.atocon-sp-break {
    display: none;
}

.atocon-mv {
    position: relative;
    height: min(1080 / 1920 * 100vw, 1080px);
    overflow: hidden;
    /* min-height: var(--atocon-kv-height); */
    background: linear-gradient(#5bc1e2 0%, #b7e3f0 61%, #2098c4 61%, #24a2cb 100%);
}

.atocon-mv__sky {
    position: relative;
    max-width: 1920px;
    height: min(1080 / 1920 * 100vw, 1080px);
    margin: 0 auto;
    overflow: visible;
}

.atocon-mv::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 23rem;
    background: linear-gradient(180deg, rgba(36, 162, 203, 0) 0%, #24a2cb 24%, #24a2cb 100%);
    content: "";
    pointer-events: none;
}

.atocon-mv__arrow {
    display: none;
}

.atocon-mv__confetti-sp {
    display: none;
}

.atocon-mv__arrow-img {
    position: absolute;
    right: min(100 / 1920 * 100vw, 100px);
    bottom: min(90 / 1920 * 100vw, 90px);
    z-index: 2;
    display: block;
    width: min(1600 / 1920 * 100vw, 1600px);
    height: min(850 / 1920 * 100vw, 850px);
    max-width: none;
    transform: rotate(0deg);
}

.atocon-mv__cloud,
.atocon-mv__picture,
.atocon-mv__document,
.atocon-mv__building,
.atocon-mv__house,
.atocon-mv__forest,
.atocon-mv__character,
.atocon-mv__confetti {
    position: absolute;
}

.atocon-mv__cloud--left {
    top: min(130 / 1920 * 100vw, 130px);
    left: min(200 / 1920 * 100vw, 200px);
    width: min(250 / 1920 * 100vw, 250px);
}

.atocon-mv__cloud--right {
    left: min(10 / 1920 * 100vw, 10px);
    width: min(200 / 1920 * 100vw, 200px);
    top: min(250 / 1920 * 100vw, 250px);
}

.atocon-mv__picture {
    top: min(50 / 1920 * 100vw, 50px);
    left: min(950 / 1920 * 100vw, 950px);
    width: min(220 / 1920 * 100vw, 220px);
    transform: inherit;
    z-index: 4;
}

.atocon-mv__document--1 {
    top: min(100 / 1920 * 100vw, 100px);
    right: min(400 / 1920 * 100vw, 400px);
    width: min(150 / 1920 * 100vw, 150px);
    transform: rotate(0deg);
    z-index: 4;
}

.atocon-mv__document--2 {
    top: min(350 / 1920 * 100vw, 350px);
    right: min(30 / 1920 * 100vw, 30px);
    width: min(170 / 1920 * 100vw, 170px);
    z-index: 4;
}

.atocon-mv__building {
    right: min(-50 / 1920 * 100vw, -50px);
    bottom: min(160 / 1920 * 100vw, 160px);
    width: min(800 / 1920 * 100vw, 800px);
    z-index: 3;
}

.atocon-mv__house--1 {
    left: min(1000 / 1920 * 100vw, 1000px);
    bottom: min(-60 / 1920 * 100vw, -60px);
    width: min(600 / 1920 * 100vw, 600px);
    z-index: 5;
}

.atocon-mv__house--2 {
    left: min(400 / 1920 * 100vw, 400px);
    bottom: min(-50 / 1920 * 100vw, -50px);
    width: min(600 / 1920 * 100vw, 600px);
    z-index: 5;
}

.atocon-mv__forest--left {
    left: min(0 / 1920 * 100vw, 0);
    bottom: 0;
    width: min(600 / 1920 * 100vw, 600px);
    z-index: 7;
}

.atocon-mv__forest--right {
    right: 0;
    bottom: min(0 / 1920 * 100vw, 0px);
    width: min(550 / 1920 * 100vw, 550px);
    z-index: 7;
}

.atocon-mv__character--gorilla {
    width: min(560 / 1920 * 100vw, 560px);
    left: min(240 / 1920 * 100vw, 240px);
    bottom: min(310 / 1920 * 100vw, 310px);
    z-index: 5;
}

.atocon-mv__character--rabbit {
    width: min(300 / 1920 * 100vw, 300px);
    left: min(715 / 1920 * 100vw, 715px);
    bottom: min(380 / 1920 * 100vw, 380px);
    z-index: 5;
}

.atocon-mv__character--frog {
    width: min(260 / 1920 * 100vw, 260px);
    left: min(1080 / 1920 * 100vw, 1100px);
    bottom: min(470 / 1920 * 100vw, 470px);
    z-index: 5;
}

.atocon-mv__confetti {
    z-index: 4;
    width: 1.6rem;
    height: 2.6rem;
    background: #f8bd19;
    transform: rotate(-40deg);
}

.atocon-mv__confetti--1 { top: 24rem; left: 32%; background: #77ae24; }
.atocon-mv__confetti--2 { top: 24%; left: 40%; background: #f8bd19; }
.atocon-mv__confetti--3 { top: 48rem; left: 47%; background: #ed4e93; }
.atocon-mv__confetti--4 { top: 36rem; right: 36%; background: #318f58; }
.atocon-mv__confetti--5 { top: 28rem; right: 21%; background: #77ae24; }
.atocon-mv__confetti--6 { top: 26%; left: 20%; background: #f8bd19; transform: rotate(42deg); }
.atocon-mv__confetti--7 { top: 16%; left: 28%; background: #318f58; transform: rotate(31deg); }
.atocon-mv__confetti--8 { top: 24rem; right: 42%; background: #ed4e93; transform: rotate(-34deg); }
.atocon-mv__confetti--9 { top: 54rem; right: 28%; background: #f8bd19; transform: rotate(45deg); }
.atocon-mv__confetti--10 { top: 62rem; right: 16%; background: #77ae24; transform: rotate(28deg); }

.atocon-front-intro {
    padding: 14rem 0;
}

.atocon-front-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 8rem;
    max-width: var(--atocon-container-max);
    margin: 0 auto;
}

.atocon-front-eyebrow {
    margin: 0 0 2rem;
    color: var(--atocon-color-accent);
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.atocon-front-intro h1,
.atocon-front-title-row h2,
.atocon-front-news h2{
    margin: 0;
    color: #1f3330;
    font-size: 4.5rem;
    letter-spacing: 0.1rem;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.atocon-front-about h2{
    margin: 0;
    color: #1f3330;
    font-size: 4.5rem;
    letter-spacing: 0.1rem;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
    width: 28rem;
    margin-bottom: 2rem;
}

.atocon-front-intro h1 {
    font-size: 4.8rem;
    white-space: nowrap;
}

.atocon-front-intro__copy {
    max-width: 48rem;
    margin: 0;
    color: #000000;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.95;
}

.atocon-front-intro__nowrap {
    display: block;
    white-space: normal;
}

.atocon-front-search {
    padding: 0 0 var(--atocon-space-section);
}

.atocon-front-heading {
    margin: 0 0 4rem;
    color: #1f3330;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
}

.atocon-front-heading--search::before {
    display: inline-block;
    width: 4.6rem;
    height: 4.6rem;
    margin-right: 2rem;
    background: url("assets/img/svg/illust_lens.svg") center / contain no-repeat;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    vertical-align: middle;
    transform: translateY(-0.3rem);
    content: "";
}

.atocon-search-link {
    display: block;
}

.atocon-search-link img {
    width: min(100%, 18.4rem);
    margin: 0 auto;
    transform: scale(1.2);
    transform-origin: center;
}

.atocon-search-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.4rem;
}

.atocon-search-card {
    display: grid;
    min-height: 27rem;
    place-items: center;
    padding: 4rem 2rem 3.2rem;
    background: #ffffff;
    border-radius: 2.6rem;
    box-shadow: 0 1.8rem 3.4rem rgba(17, 17, 17, 0.2);
    color: #000000;
    font-size: 2.3rem;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
}

.atocon-search-card img {
    width: 8.6rem;
}

.atocon-front-pickup {
    padding: 0 0 var(--atocon-space-section);
}

.atocon-front-title-row {
    display: flex;
    align-items: flex-end;
    gap: 5.6rem;
    margin-bottom: 4rem;
}

.atocon-front-title-row > p {
    margin: 0 0 1rem;
    color: #4a4a4a;
    font-size: 1.8rem;
    font-weight: 900;
}

.atocon-pickup-compe-list {
    display: grid;
    grid-template-columns: repeat(3, 31%);
    gap: 3.2rem;
    justify-content: space-between;
}

.atocon-pickup-card {
    min-width: 0;
}

.atocon-pickup-card a {
    display: block;
    overflow: hidden;
    background: #ffffff;
    border-radius: 3rem;
    box-shadow: 0 1rem 2.2rem rgba(17, 17, 17, 0.22);
    color: #000000;
}

.atocon-pickup-card__thumb {
    display: block;
    height: 23rem;
    background: #ffffff;
}

.atocon-pickup-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.atocon-pickup-card__body {
    display: block;
    padding: 2.8rem 2.8rem 3.2rem;
}

.atocon-pickup-card strong {
    display: block;
    min-height: 6rem;
    margin-bottom: 1.4rem;
    font-family: var(--atocon-font-en);
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    line-height: 1.3;
}

.atocon-pickup-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.2rem;
}

.atocon-pickup-card__tags span {
    padding: 0.42rem 1rem;
    border: 0.2rem solid var(--atocon-color-accent);
    border-radius: 999rem;
    color: var(--atocon-color-accent);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
}

.atocon-pickup-card__meta {
    position: relative;
    display: block;
    margin-top: 1rem;
    padding-left: 2.4rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.55;
}

.atocon-pickup-card__meta::before {
    position: absolute;
    top: 0.25em;
    left: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: center / contain no-repeat;
    content: "";
}

.atocon-pickup-card__meta--date::before,
.atocon-pickup-card__meta--actual::before {
    background-image: url("assets/img/svg/iconmini_calendar.svg");
}

.atocon-pickup-card__meta--place::before {
    background-image: url("assets/img/svg/iconmini_pin.svg");
}

.atocon-pickup-card__meta--actual {
    color: #5f5f5f;
    font-size: 1.5rem;
}

.atocon-front-more {
    display: flex;
    justify-content: flex-end;
    margin: 6rem 0 0;
}

.atocon-front-more a {
    display: inline-flex;
    align-items: center;
    gap: 2.4rem;
    color: #000000;
    font-size: 3rem;
    font-weight: 900;
}

.atocon-front-more span,
.atocon-news-item span {
    position: relative;
    display: inline-block;
    width: 6.4rem;
    height: 6.4rem;
    border: 0.2rem solid var(--atocon-color-accent);
    border-radius: 50%;
}

/* Phase 7m-1: トップ「お知らせ」各記事の右端は円なし、> のみ表示
   （「お知らせ一覧へ」ボタン .atocon-front-more は円ありのまま維持） */
.atocon-news-item span {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.atocon-front-more span::before,
.atocon-news-item span::before {
    position: absolute;
    top: 50%;
    left: 45%;
    width: 1.6rem;
    height: 1.6rem;
    border-top: 0.3rem solid var(--atocon-color-accent);
    border-right: 0.3rem solid var(--atocon-color-accent);
    transform: translate(-50%, -50%) rotate(45deg);
    content: "";
}

.atocon-knowhow-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.atocon-knowhow-card a {
    display: block;
    color: #000000;
}

.atocon-knowhow-card__visual {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.92 / 1;
    margin-bottom: 3.2rem;
    background: #65c6e9;
    border-radius: 1rem;
}

/* Phase 7g.1: トップ「公募のノウハウ」のアイキャッチを枠に収める */
.atocon-knowhow-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atocon-knowhow-card__arrow {
    position: absolute;
    right: -1rem;
    bottom: 18%;
    width: 70%;
    height: 18%;
    background: #117ead;
    border-radius: 999rem;
    transform: rotate(-14deg);
}

.atocon-knowhow-card__arrow::after {
    position: absolute;
    right: -1.2rem;
    top: 50%;
    border-top: 2.8rem solid transparent;
    border-bottom: 2.8rem solid transparent;
    border-left: 5.6rem solid #117ead;
    transform: translateY(-50%);
    content: "";
}

.atocon-knowhow-card__gorilla,
.atocon-knowhow-card__rabbit,
.atocon-knowhow-card__frog {
    position: absolute;
    z-index: 2;
}

.atocon-knowhow-card__gorilla { left: 12%; bottom: 14%; width: 20%; }
.atocon-knowhow-card__rabbit { left: 36%; bottom: 13%; width: 15%; }
.atocon-knowhow-card__frog { left: 58%; bottom: 22%; width: 15%; }

.atocon-knowhow-card strong {
    display: block;
    margin-bottom: 1.6rem;
    font-size: 2.4rem;
    font-weight: 900;
}

.atocon-knowhow-card span:last-child {
    display: block;
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1.8;
}

.atocon-front-news {
    padding: 10rem 0;
    background: #d8f0ff;
}

.atocon-front-inner-news{
    width: 750px;
    margin: 0 auto;
}


.atocon-front-news h2 {
    margin-bottom: 7rem;
}

.atocon-news-list {
    display: grid;
    gap: 3.2rem;
    width: 100%;
    margin: 0 auto;
}

.atocon-news-item {
    display: grid;
    grid-template-columns: 15rem 1fr auto;
    align-items: center;
    gap: 3.6rem;
    min-height: 10rem;
    padding: 2rem 4.2rem 2rem 6.2rem;
    background: #ffffff;
    border-radius: 999rem;
    color: #000000;
}

.atocon-news-item time,
.atocon-news-item strong {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.atocon-front-more--orange a {
    color: var(--atocon-color-accent);
}

.atocon-front-about {
    position: relative;
    overflow: visible;
    padding: 0;
    background: #ffe3ad;
    isolation: isolate;
}

.atocon-front-about__grid {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    align-items: center;
    min-height: 43rem;
}

.atocon-front-about__characters {
    position: relative;
    min-height: 43rem;
    z-index: 2;
}

.atocon-front-about__characters img {
    position: absolute;
}

.atocon-front-about__gorilla {
    left: 0%;
    bottom: 10%;
    width: 100%;
    z-index: 4;
}

.atocon-front-about__rabbit {
    right: -53rem;
    bottom: 1rem;
    width: 14rem;
    z-index: 3;
}

.atocon-front-about__frog {
    left: 108rem;
    bottom: 14rem;
    width: 13rem;
    z-index: 3;
}

.atocon-front-about__body {
    position: relative;
    z-index: 5;
    /* Phase 7m-1: margin-left: -4rem を撤去（左寄せの不自然なズレが出ていたため） */
}

.atocon-front-about__body p {
    margin: 0rem 0 3rem;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.9;
    text-align: center;
    width: 28rem;
}

.atocon-about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28rem;
    min-height: 7.2rem;
    border: 0.4rem solid var(--atocon-color-accent);
    border-radius: 999rem;
    color: var(--atocon-color-accent);
    font-size: 2.5rem;
    font-weight: 900;
    background-color: var(--atocon-color-accent);
    color: #fff;
}

/* a:hover (0,1,1) が .atocon-about-button (0,1,0) を上回るため明示的に白を指定 */
.atocon-about-button:hover {
    color: #ffffff;
}

.home .atocon-site-footer,
.front-page .atocon-site-footer {
    margin-top: 0;
    padding: 7.2rem 0;
    background: #ffffff;
    color: #000000;
}

.home .atocon-site-footer__brand img,
.front-page .atocon-site-footer__brand img {
    content: url("assets/img/logos/svg/logo_orange.svg");
    width: 42rem;
}

.home .atocon-site-footer__copy,
.front-page .atocon-site-footer__copy {
    color: #000000;
    font-family: var(--atocon-font-en);
    /* Phase 7m-1: 著作権表記を控えめに（home/front-pageも統一） */
    font-size: 1rem;
    font-weight: normal;
}

@media (max-width: 900px) {
    .home .atocon-site-header .atocon-container,
    .front-page .atocon-site-header .atocon-container {
        position: fixed;
        width: 100%;
        padding: 1rem;
        flex-direction: row;
        align-items: flex-start;
        min-height: 6rem;
    }

    .home .atocon-logo img,
    .front-page .atocon-logo img {
        width: 12rem;
    }

    .atocon-menu-toggle {
        position: absolute;
        top: 1.5rem;
        right: 1rem;
        z-index: 80;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 5rem;
        padding: 0;
        border: 0;
        background: transparent;
        /* Phase 7m-1: トップ以外は黒系、トップは白（後段で上書き）。 */
        color: var(--atocon-color-accent);
        font-family: var(--atocon-font-heading);
        font-size: 1.1rem;
        font-weight: 700;
        line-height: 1;
    }

    /* Phase 7m-1: トップページだけは KV 上に乗るので白文字に戻す */
    .home .atocon-menu-toggle,
    .front-page .atocon-menu-toggle {
        color: #fff;
    }

    /* Home SP: スクロール後 — クリーム背景・橙ロゴ・黒ハンバーガー */
    .home .atocon-site-header.is-scrolled .atocon-container,
    .front-page .atocon-site-header.is-scrolled .atocon-container {
        /* background: rgba(255, 245, 230, 0.94); */
        backdrop-filter: blur(1.2rem);
        border-bottom: 0.1rem solid var(--atocon-color-border);
    }

    .home .atocon-site-header.is-scrolled .atocon-logo__img--default,
    .front-page .atocon-site-header.is-scrolled .atocon-logo__img--default {
        display: none;
    }

    .home .atocon-site-header.is-scrolled .atocon-logo__img--scrolled,
    .front-page .atocon-site-header.is-scrolled .atocon-logo__img--scrolled {
        display: block;
    }

    .home .atocon-site-header.is-scrolled .atocon-menu-toggle,
    .front-page .atocon-site-header.is-scrolled .atocon-menu-toggle {
        color: var(--atocon-color-accent, #f15a24);
    }

    .atocon-menu-toggle__bars,
    .atocon-menu-toggle__bars::before,
    .atocon-menu-toggle__bars::after {
        display: block;
        width: 2.9rem;
        height: 0.2rem;
        background: currentColor;
        border-radius: 999rem;
        content: "";
    }

    .atocon-menu-toggle__bars {
        position: relative;
        margin-top: 1.2rem;
    }

    .atocon-menu-toggle__bars::before,
    .atocon-menu-toggle__bars::after {
        position: absolute;
        left: 0;
    }

    .atocon-menu-toggle__bars::before {
        top: -0.8rem;
    }

    .atocon-menu-toggle__bars::after {
        top: 0.8rem;
    }

    .atocon-menu-toggle__label {
        display: block;
        margin-top: 0.7rem;
    }

    .atocon-menu-open .atocon-menu-toggle {
        color: var(--atocon-color-accent);
    }

    .atocon-menu-open .atocon-menu-toggle__bars {
        background: transparent;
    }

    .atocon-menu-open .atocon-menu-toggle__bars::before {
        top: 0;
        transform: rotate(45deg);
    }

    .atocon-menu-open .atocon-menu-toggle__bars::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .atocon-menu-open .atocon-menu-toggle__label {
        display: none;
    }

    /* Phase 7g.1: SPでは全ページでテキストナビを隠す（ハンバーガーのみ表示） */
    .atocon-site-header__nav {
        position: fixed;
        inset: 0;
        display: none;
        width: 100%;
        height: 100vh;
        overflow: visible;
        background: #ffffff;
    }

    /* Phase 7m-1: メニュー展開中は背面スクロールを止める（SPのみ） */
    body.atocon-menu-open {
        overflow: hidden;
    }

    .atocon-menu-open .atocon-site-header__nav {
        inset: 0;
        z-index: 70;
        display: block;
        padding: 6.8rem 2.4rem 4rem;
        overflow-y: auto;
        border-radius: 0;
        box-shadow: none;
    }

    .atocon-menu-open .atocon-sp-menu__logo {
        display: flex;
        justify-content: center;
        margin: 0 0 3.2rem;
    }

    .atocon-menu-open .atocon-sp-menu__logo img {
        width: 16rem;
    }

    .atocon-menu-open .atocon-nav {
        display: grid;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    .home .atocon-menu-open .atocon-nav a,
    .front-page .atocon-menu-open .atocon-nav a,
    .atocon-menu-open .atocon-nav a {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 5.8rem;
        border-bottom: 0.1rem solid rgba(17, 17, 17, 0.12);
        color: var(--atocon-color-text);
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: 0;
    }

    .atocon-menu-open .atocon-nav a::after {
        width: 1rem;
        height: 1rem;
        border-top: 0.2rem solid var(--atocon-color-text);
        border-right: 0.2rem solid var(--atocon-color-text);
        transform: rotate(45deg);
        content: "";
    }

    .atocon-menu-open .atocon-nav__login {
        min-width: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        text-align: left;
    }

    .atocon-menu-open .atocon-sp-menu__sub {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.4rem 2rem;
        margin: 4rem 0 0;
        padding: 0;
        list-style: none;
    }

    .atocon-menu-open .atocon-sp-menu__sub a {
        color: var(--atocon-color-text);
        font-size: 1.2rem;
        font-weight: 500;
    }

    .atocon-front-inner {
        margin: 0 auto;
        width: 100%;
        /* max-width: calc(100% - 4rem); */
    }

    .atocon-sp-break {
        display: initial;
    }

    .atocon-mv__confetti {
        width: 1.2rem;
        height: 2rem;
    }

    .atocon-front-intro {
        padding: 8rem 0 10rem;
        margin: 0 2rem;
    }

    .atocon-front-intro__grid {
        display: block;
        margin: 0 auto;
    }

    .atocon-front-eyebrow {
        margin-bottom: 0.6rem;
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .atocon-front-intro h1,
    .atocon-front-title-row h2,
    .atocon-front-news h2{
        font-size: 3.3rem;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    .atocon-front-about h2{
        margin-top: 2rem;
        font-size: 3.3rem;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    .atocon-front-intro h1 {
        font-size: 3.2rem;
    }

    .atocon-front-intro__copy {
        margin-top: 3rem;
        font-size: 1.3rem;
        line-height: 2;
        overflow-wrap: anywhere;
        word-break: keep-all;
        letter-spacing: -0.02em;
    }

    .atocon-front-intro__nowrap {
        display: block;
        white-space: nowrap;
        font-size: clamp(1.05rem, 3.35vw, 1.3rem);
    }

    .atocon-front-search {
        padding-bottom: 9rem;
        margin: 0 2rem;

    }

    .atocon-front-heading {
        margin-bottom: 3rem;
        font-size: 2.3rem;
        margin-top: -2rem;
    }

    .atocon-front-heading--search::before {
        background: url("assets/img/webp/illust_lens.webp") center / contain no-repeat;
        border: 0;
        box-shadow: none;
        width: 2.8rem;
        height: 2.8rem;
        margin-right: 1.4rem;
        margin-top: -2rem;
        transform: translateY(0.5rem);
    }

    .atocon-search-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.6rem 0.8rem;
    }

    .atocon-search-card {
        display: none;
    }

    .atocon-search-link {
        display: block;
        min-width: 0;
    }

    .atocon-search-link img {
        width: 100%;
        transform: scale(1.3);
        transform-origin: center;
    }

    .atocon-front-pickup {
        padding-bottom: 9rem;
        margin: 0 2rem;
    }

    .atocon-front-title-row {
        display: block;
        margin-bottom: 4rem;
    }

    .atocon-front-title-row .atocon-front-eyebrow {
        margin-bottom: 0.6rem;
    }

    .atocon-front-title-row > p {
        margin-top: 0.8rem;
        font-size: 1.5rem;
        line-height: 1.6;
    }

    .atocon-pickup-compe-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem;
        overflow: visible;
    }

    .atocon-pickup-card a {
        border-radius: 2.8rem;
    }

    .atocon-pickup-card__thumb {
        height: 22rem;
    }

    .atocon-pickup-card__body {
        padding: 2.4rem;
    }

    .atocon-pickup-card strong {
        min-height: 0;
        font-size: 2.1rem;
        letter-spacing: 0.08em;
    }

    .atocon-pickup-card__tags span {
        padding: 0.45rem 0.95rem;
        font-size: 1.05rem;
        line-height: 1.2;
    }

    .atocon-pickup-card__meta {
        position: relative;
        padding-left: 2.4rem;
        font-size: 1.4rem;
    }

    .atocon-pickup-card__meta::before {
        position: absolute;
        top: 0.15em;
        left: 0;
        width: 1.5rem;
        height: 1.5rem;
        background: center / contain no-repeat;
        content: "";
    }

    .atocon-pickup-card__meta--date::before,
    .atocon-pickup-card__meta--actual::before {
        background-image: url("assets/img/svg/iconmini_calendar.svg");
    }

    .atocon-pickup-card__meta--place::before {
        background-image: url("assets/img/svg/iconmini_pin.svg");
    }

    .atocon-front-more {
        margin-top: 5rem;
    }

    .atocon-front-more a {
        gap: 1.6rem;
        font-size: 1.6rem;
    }

    .atocon-front-more span,
    .atocon-news-item span {
        width: 3rem;
        height: 3rem;
        border: 0.15rem solid var(--atocon-color-accent);
    }

    .atocon-front-more span::before,
    .atocon-news-item span::before {
        width: 0.9rem;
        height: 0.9rem;
        border-top-width: 0.2rem;
        border-right-width: 0.2rem;
    }

    /* Phase 7m-1: SPでも .atocon-news-item span は円なし */
    .atocon-news-item span {
        width: 1.4rem;
        height: 1.4rem;
        border: 0;
    }

    .atocon-knowhow-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .atocon-knowhow-card a {
        display: grid;
        grid-template-columns: 13.6rem minmax(0, 1fr) 1.8rem;
        gap: 0 2rem;;
        align-items: center;
        padding-bottom: 2rem;
        border-bottom: 0.1rem solid #c9c9c9;
    }

    .atocon-knowhow-card__visual {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
        aspect-ratio: 1.55 / 1;
        border-radius: 0.6rem;
        background: none;
    }

    .atocon-knowhow-card__visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .atocon-knowhow-card strong {
        grid-column: 2;
        grid-row: 1;
        margin: 0 0 0.8rem;
        font-size: 1.7rem;
        line-height: 1.45;
    }

    .atocon-knowhow-card span:last-child {
        grid-column: 2;
        grid-row: 2;
        min-width: 0;
        /* Phase 7m-1: 説明文のサイズ統一 */
        font-size: 1.3rem;
        line-height: 1.7;
        font-size: 1.3rem;
    }

    .atocon-knowhow-card > a > span:last-child, .atocon-knowhow-card span:last-child{
        font-size: 1.1rem;
    }

    .atocon-knowhow-card a::after {
        grid-column: 3;
        grid-row: 1 / span 2;
        width: 1.4rem;
        height: 1.4rem;
        border-top: 0.25rem solid var(--atocon-color-accent);
        border-right: 0.25rem solid var(--atocon-color-accent);
        transform: rotate(45deg);
        content: "";
    }

    .atocon-front-news {
        padding: 7rem 0;
    }

    .atocon-front-news h2 {
        margin-bottom: 4rem;
    }

    .atocon-front-inner-news {
        width: 100%;
        padding: 0 2rem;
        margin: 0 auto;
    }

    .atocon-news-list {
        gap: 2rem;
    }

    .atocon-news-item {
        grid-template-columns: 1fr auto;
        gap: 0;
        min-height: 9.6rem;
        padding: 2rem 2.5rem;
        border-radius: 999rem;
    }

    .atocon-news-item time {
        grid-column: 1;
        font-size: 1.2rem;
    }

    .atocon-news-item strong {
        grid-column: 1;
        font-size: 1.5rem;
    }

    .atocon-news-item span {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .atocon-front-about__grid {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding-top: 5rem;
        padding-bottom: 7rem;
        text-align: center;
    }

    .atocon-front-about__characters {
        width: 100%;
        min-height: 20rem;
    }

    .atocon-front-about__gorilla {
        top: -2%;
        left: 1%;
        width: 52%;
        z-index: 2;
    }

    .atocon-front-about__rabbit{
        right: 30%;
        top: 24%;
        width: 25%;
        z-index: 3;
    }

    .atocon-front-about__frog {
        top: 30%;
        right: 0%;
        bottom: auto;
        left: auto;
        width: 22%;
        z-index: 3;
    }

    .atocon-front-about__body {
        padding-left: 0;
    }

    .atocon-front-about__body p {
        font-size: 1.6rem;
        line-height: 2;
    }

    .atocon-about-button {
        min-width: 26rem;
        min-height: 7rem;
        border-width: 0.2rem;
        font-size: 2.4rem;
    }

    .home .atocon-site-footer,
    .front-page .atocon-site-footer {
        padding: 5.6rem 0;
    }

    .home .atocon-site-footer__brand img,
    .front-page .atocon-site-footer__brand img {
        width: 28rem;
    }

    .atocon-page--compe-list {
        margin-left: calc(50% - 50vw);
        overflow-x: hidden;
    }

    .atocon-compe-list-hero {
        display: block;
        width: calc(100vw - 4rem);
        max-width: 70rem;
        min-height: 0;
    }

    .atocon-compe-list-hero .atocon-page__title {
        margin-bottom: 2rem;
        font-size: 4.4rem;
        line-height: 1.25;
    }

    .atocon-compe-list-hero p {
        font-size: 1.5rem;
        line-height: 2;
    }

    .atocon-compe-list-hero__visual {
        min-height: 22rem;
        margin-top: 2.4rem;
    }

    .atocon-compe-list-hero__arrow {
        bottom: 2rem;
        width: 34rem;
    }

    .atocon-compe-list-hero__gorilla {
        left: 8%;
        bottom: 5rem;
        width: 11rem;
    }

    .atocon-compe-list-hero__rabbit {
        left: 37%;
        bottom: 7.2rem;
        width: 6rem;
    }

    .atocon-compe-list-hero__frog {
        left: 58%;
        bottom: 10.3rem;
        width: 5.5rem;
    }

    .atocon-compe-list-hero__confetti {
        width: 0.8rem;
        height: 1.2rem;
    }

    .atocon-compe-list-hero__confetti--1 { top: 1rem; left: 8%; }
    .atocon-compe-list-hero__confetti--2 { top: 3.5rem; left: 27%; }
    .atocon-compe-list-hero__confetti--3 { top: 2rem; left: 52%; }
    .atocon-compe-list-hero__confetti--4 { top: 5rem; right: 23%; }
    .atocon-compe-list-hero__confetti--5 { top: 1.2rem; right: 10%; }

    .atocon-compe-list-layout {
        display: block;
        width: calc(100vw - 4rem);
        max-width: 70rem;
        padding: 2rem 0 7rem;
    }

    .atocon-compe-filter {
        margin-bottom: 5.2rem;
        padding: 3rem 2.6rem;
        border-radius: 2rem;
        overflow: hidden;
    }

    .atocon-compe-filter h2 {
        font-size: 1.8rem;
    }

    .atocon-compe-filter__chips {
        gap: 1rem 0.8rem;
    }

    .atocon-compe-filter__chips span {
        min-width: 0;
        max-width: 100%;
        min-height: 3.4rem;
        padding: 0.6rem 1.2rem;
        font-size: 1.25rem;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .atocon-compe-filter label {
        font-size: 1.4rem;
    }

    .atocon-compe-filter__button {
        width: 100%;
        min-height: 6.4rem;
        font-size: 1.7rem;
    }

    .atocon-compe-results__count {
        margin-bottom: 3rem;
        font-size: 2rem;
    }

    .atocon-compe-results__count strong {
        font-size: 2.8rem;
    }

    .atocon-compe-results .atocon-compe-list {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

    .atocon-page--compe-list .atocon-compe-card {
        border-radius: 2.2rem;
    }

    .atocon-compe-card__thumb {
        aspect-ratio: 1.5 / 1;
    }

    .atocon-compe-card__body {
        padding: 2.8rem 2.6rem 3rem;
    }

    .atocon-compe-card__title {
        max-width: 100%;
        font-size: 1.9rem;
        letter-spacing: 0.04em;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }

    .atocon-compe-card__badges span {
        font-size: 1.2rem;
    }

    .atocon-compe-card__meta-row {
        font-size: 1.5rem;
    }

    .atocon-compe-card__state {
        grid-template-columns: 1fr;
    }

    .atocon-page--compe-list .navigation.pagination {
        margin-top: 4.8rem;
    }

    .atocon-page--compe-list .nav-links {
        gap: 1.5rem;
    }

    .atocon-page--compe-list .page-numbers {
        min-width: 3.4rem;
        height: 3.4rem;
        font-size: 1.8rem;
    }

    .atocon-compe-request {
        display: block;
        width: calc(100vw - 4rem);
        max-width: 70rem;
        margin-bottom: 7rem;
        padding: 3.2rem 2.8rem;
        border-radius: 2rem;
    }

    .atocon-compe-request__body h2 {
        padding-left: 4.2rem;
        font-size: 2.4rem;
        line-height: 1.45;
    }

    .atocon-compe-request__body h2::before {
        width: 3.2rem;
        height: 3.2rem;
    }

    .atocon-compe-request__body p {
        font-size: 1.3rem;
    }

    .atocon-compe-request__body a {
        width: 100%;
        min-width: 0;
        min-height: 5.8rem;
        font-size: 1.9rem;
    }

    .atocon-compe-request__characters {
        justify-content: center;
        margin-top: 3rem;
    }

    .atocon-compe-request__characters img:nth-child(1) {
        width: 10rem;
    }

    .atocon-compe-request__characters img:nth-child(2),
    .atocon-compe-request__characters img:nth-child(3) {
        width: 6.5rem;
    }
}

/* =========================================================================
   Magazine / knowhow archive
   page-magazine.php 専用。トップページの .atocon-knowhow-list / .atocon-knowhow-card
   とは衝突しないように .atocon-knowhow-archive- プレフィックスで分離する。
   ========================================================================= */

.atocon-knowhow-archive {
    background: var(--atocon-color-bg, #fff5e6);
    padding: 6rem 0 12rem;
    overflow-x: hidden;
}

.atocon-knowhow-archive .atocon-page--knowhow-archive {
    width: min(100%, 108rem);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Phase 7g.1: コンペ一覧ヒーロー (.atocon-compe-list-hero) と数値を揃える */
.atocon-knowhow-archive-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 53rem) minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: 34rem;
    margin: 0 auto 4rem;
    padding: 6rem 0 5rem;
}

.atocon-knowhow-archive-hero__body {
    position: relative;
    z-index: 3;
}

.atocon-knowhow-archive-hero__title {
    margin: 0 0 3.2rem;
    color: #1f3330;
    font-size: 5.2rem;
    font-weight: 900;
    line-height: 1.25;
}

.atocon-knowhow-archive-hero__lead {
    margin: 0;
    color: #000000;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 2.1;
}

.atocon-knowhow-archive-hero__visual {
    position: relative;
    min-height: 28rem;
}

.atocon-knowhow-archive-hero__visual img {
    position: absolute;
}

.atocon-knowhow-archive-hero__arrow {
    right: 1rem;
    bottom: 0;
    z-index: 1;
    width: 48rem;
    max-width: none;
    height: auto;
}

.atocon-knowhow-archive-hero__gorilla {
    left: 12%;
    bottom: 5rem;
    z-index: 2;
    width: 20rem;
    height: auto;
}

.atocon-knowhow-archive-hero__rabbit {
    left: 41%;
    bottom: 9.4rem;
    z-index: 2;
    width: 10rem;
    height: auto;
}

.atocon-knowhow-archive-hero__frog {
    left: 64%;
    bottom: 13rem;
    z-index: 2;
    width: 8.5rem;
    height: auto;
}

.atocon-knowhow-archive-section {
    width: min(100%, 108rem);
    margin: 0 auto;
    padding: 0 2rem;
}

.atocon-knowhow-archive-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3rem;
}

.atocon-knowhow-archive-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 2.2rem;
    box-shadow: 0 1rem 1.8rem rgba(17, 17, 17, 0.2);
}

.atocon-knowhow-archive-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--atocon-color-text, #111111);
    text-decoration: none;
}

/* Phase 7g.1: 上下に動くホバーは廃止。色変化のみ。 */
.atocon-knowhow-archive-card__link:hover .atocon-knowhow-archive-card__title {
    color: var(--atocon-color-accent, #f15a24);
}

.atocon-knowhow-archive-card__visual {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.92 / 1;
    margin-bottom: 1.6rem;
    background: #ffffff;
    border-radius: 1rem;
}

.atocon-knowhow-archive-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atocon-knowhow-archive-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.atocon-knowhow-archive-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.2rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.atocon-knowhow-archive-card__date {
    color: #666666;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.atocon-knowhow-archive-card__terms {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.atocon-knowhow-archive-card__chip {
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 999rem;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 700;
}

.atocon-knowhow-archive-card__chip--category {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-knowhow-archive-card__chip--tag {
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    border: 0.1rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-knowhow-archive-card__title {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.5;
    margin: 0;
}

.atocon-knowhow-archive-card__excerpt {
    display: block;
    font-size: 1.4rem;
    line-height: 1.7;
    color: #444444;
}

.atocon-knowhow-archive-pagination {
    margin-top: 6rem;
    text-align: center;
}

.atocon-page--compe-list .navigation.pagination.atocon-knowhow-archive-pagination {
    margin-top: 6rem;
}

.atocon-knowhow-archive-pagination .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
}

.atocon-knowhow-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.6rem;
    height: 3.6rem;
    padding: 0 1rem;
    border-radius: 999rem;
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
    border: 0.1rem solid transparent;
}

.atocon-knowhow-archive-pagination .page-numbers.current {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-knowhow-archive-pagination .page-numbers:hover:not(.current) {
    border-color: var(--atocon-color-accent, #f15a24);
}

.atocon-knowhow-archive-empty {
    text-align: center;
    padding: 4rem 0;
    font-size: 1.6rem;
    color: #444444;
}

/* =========================================================================
   Magazine / knowhow detail
   コンペ詳細の .atocon-compe* とは独立した白カード型レイアウト。
   ========================================================================= */

.atocon-knowhow-single {
    background: var(--atocon-color-bg, #fff5e6);
    padding: 6rem 0 12rem;
}

.atocon-knowhow-single__inner {
    width: min(100%, 80rem);
    margin: 0 auto;
    padding: 5rem 6rem 6rem;
    background: #ffffff;
    border-radius: 1.6rem;
    box-shadow: 0 0.4rem 1.6rem rgba(31, 51, 48, 0.06);
}

.atocon-knowhow-single__header {
    margin-bottom: 3.2rem;
}

.atocon-knowhow-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.6rem;
    margin: 0 0 1.6rem;
    font-size: 1.3rem;
    line-height: 1.4;
    color: #555555;
}

.atocon-knowhow-single__date {
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.atocon-knowhow-single__meta-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #888888;
    letter-spacing: 0.08em;
}

.atocon-knowhow-single__title {
    margin: 0;
    color: #1f3330;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.4;
}

.atocon-knowhow-single__taxonomies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.6rem;
    margin-top: 2rem;
}

.atocon-knowhow-single__terms {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.atocon-knowhow-single__term {
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 999rem;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 700;
}

.atocon-knowhow-single__term--category {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-knowhow-single__term--tag {
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    border: 0.1rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-knowhow-single__eyecatch {
    margin: 0 0 3.2rem;
    overflow: hidden;
    border-radius: 1.2rem;
    background: #f5f5f5;
    aspect-ratio: 16 / 9;
}

.atocon-knowhow-single__eyecatch-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atocon-knowhow-single__content {
    font-size: 1.6rem;
    line-height: 1.95;
    color: var(--atocon-color-text, #111111);
}

.atocon-knowhow-single__content > * + * {
    margin-top: 1.6rem;
}

.atocon-knowhow-single__content h2 {
    margin: 4rem 0 1.6rem;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.5;
    color: #1f3330;
    padding-bottom: 0.8rem;
    border-bottom: 0.2rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-knowhow-single__content h3 {
    margin: 3.2rem 0 1.2rem;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.5;
    color: #1f3330;
}

.atocon-knowhow-single__content p {
    margin: 0 0 2rem;
}

.atocon-knowhow-single__content ul,
.atocon-knowhow-single__content ol {
    margin: 0 0 0 2rem;
    padding: 0;
}

.atocon-knowhow-single__content li + li {
    margin-top: 0.6rem;
}

.atocon-knowhow-single__content a {
    color: var(--atocon-color-accent, #f15a24);
    text-decoration: underline;
}

.atocon-knowhow-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.8rem;
}

.atocon-knowhow-single__content blockquote {
    margin: 2.4rem 0;
    padding: 1.6rem 2rem;
    background: var(--atocon-color-bg, #fff5e6);
    border-left: 0.4rem solid var(--atocon-color-accent, #f15a24);
    color: #333333;
    font-size: 1.5rem;
}

.atocon-knowhow-single__footer {
    margin-top: 4.8rem;
    padding-top: 3.2rem;
    border-top: 0.1rem solid #e5e5e5;
    text-align: center;
}

.atocon-knowhow-single__back {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.4rem 3.2rem;
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    border: 0.2rem solid var(--atocon-color-accent, #f15a24);
    border-radius: 999rem;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.atocon-knowhow-single__back:hover {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-knowhow-single__empty {
    text-align: center;
    padding: 6rem 2rem;
}

.atocon-knowhow-single__empty .atocon-knowhow-single__inner {
    padding: 4rem 2rem;
}


/* =========================================================================
   News archive
   page-news.php 専用。トップページの .atocon-news-list / .atocon-news-item
   とは衝突しないように .atocon-news-archive- プレフィックスで分離する。
   ========================================================================= */

.atocon-news-archive {
    padding: 6rem 0 12rem;
    overflow-x: hidden;
}

.atocon-news-archive .atocon-page--news-archive {
    width: min(100%, 108rem);
    margin: 0 auto;
    padding: 0 2rem;
}

.atocon-news-archive-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 53rem) minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: 28rem;
    margin: 0 auto 4rem;
    padding: 4rem 0 3rem;
}

.atocon-news-archive-hero__body {
    position: relative;
    z-index: 3;
}

.atocon-news-archive-hero__title {
    margin: 0 0 2.4rem;
    color: #1f3330;
    font-size: 5.2rem;
    font-weight: 900;
    line-height: 1.25;
}

.atocon-news-archive-hero__lead,
.atocon-news-archive-hero__lead p {
    margin: 0;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.9;
}

.atocon-news-archive-hero__visual {
    position: relative;
    min-height: 24rem;
}

.atocon-news-archive-hero__visual img {
    position: absolute;
    height: auto;
}

.atocon-news-archive-hero__arrow {
    right: 1rem;
    bottom: 0;
    z-index: 1;
    width: 42rem;
    max-width: none;
}

.atocon-news-archive-hero__gorilla {
    left: 14%;
    bottom: 4rem;
    z-index: 2;
    width: 16rem;
}

.atocon-news-archive-hero__rabbit {
    left: 42%;
    bottom: 8.2rem;
    z-index: 2;
    width: 8.4rem;
}

.atocon-news-archive-hero__frog {
    left: 62%;
    bottom: 11rem;
    z-index: 2;
    width: 7.2rem;
}

.atocon-news-archive__inner {
    width: 750px;
    margin: 0 auto;
}

.atocon-news-archive-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 3.2rem;
}

.atocon-news-archive-card {
    margin: 0;
    padding: 0;
}

.atocon-news-archive-card__link {
    display: grid;
    grid-template-columns: 12rem minmax(0, 1fr) 2rem;
    align-items: center;
    gap: 2.4rem;
    min-height: 9rem;
    padding: 2rem 3.6rem 2rem 4.4rem;
    background: #ffffff;
    border-radius: 999rem;
    color: #000000;
    text-decoration: none;
}

.atocon-news-archive-card__link:hover .atocon-news-archive-card__title {
    color: var(--atocon-color-accent, #f15a24);
}

.atocon-news-archive-card__date {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #1f3330;
}

.atocon-news-archive-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.atocon-news-archive-card__title {
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.55;
    color: #1f3330;
    transition: color 0.15s ease;
}

.atocon-news-archive-card__excerpt {
    font-size: 1.3rem;
    line-height: 1.65;
    color: #555555;
}

.atocon-news-archive-card__arrow {
    position: relative;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.atocon-news-archive-card__arrow::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1rem;
    height: 1rem;
    border-top: 0.25rem solid var(--atocon-color-accent, #f15a24);
    border-right: 0.25rem solid var(--atocon-color-accent, #f15a24);
    transform: translate(-60%, -50%) rotate(45deg);
    content: "";
}

.atocon-news-archive-pagination {
    margin-top: 4rem;
    text-align: center;
}

.atocon-news-archive-pagination .nav-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
}

.atocon-news-archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.6rem;
    height: 3.6rem;
    padding: 0 1rem;
    border-radius: 999rem;
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
    border: 0.1rem solid transparent;
}

.atocon-news-archive-pagination .page-numbers.current {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-news-archive-pagination .page-numbers:hover:not(.current) {
    border-color: var(--atocon-color-accent, #f15a24);
}

.atocon-news-archive-empty {
    text-align: center;
    padding: 4rem 0;
    font-size: 1.6rem;
    color: #1f3330;
}

/* =========================================================================
   News detail
   ノウハウ詳細と同系統の白カード型。背景はお知らせ一覧と統一して水色。
   ========================================================================= */

.atocon-news-single {
    background: var(--atocon-color-bg, #fff5e6);
    padding: 6rem 0 12rem;
}

.atocon-news-single__inner {
    width: min(100%, 80rem);
    margin: 0 auto;
    padding: 5rem 6rem 6rem;
    background: #ffffff;
    border-radius: 1.6rem;
    box-shadow: 0 0.4rem 1.6rem rgba(31, 51, 48, 0.06);
}

.atocon-news-single__header {
    margin-bottom: 3.2rem;
}

.atocon-news-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.6rem;
    margin: 0 0 1.6rem;
    font-size: 1.3rem;
    line-height: 1.4;
    color: #555555;
}

.atocon-news-single__date {
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.atocon-news-single__meta-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #888888;
    letter-spacing: 0.08em;
}

.atocon-news-single__title {
    margin: 0;
    color: #1f3330;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.45;
}

.atocon-news-single__taxonomies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.6rem;
    margin-top: 2rem;
}

.atocon-news-single__terms {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.atocon-news-single__term {
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 999rem;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 700;
}

.atocon-news-single__term--category {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-news-single__term--tag {
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    border: 0.1rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-news-single__content {
    font-size: 1.6rem;
    line-height: 1.95;
    color: var(--atocon-color-text, #111111);
}

.atocon-news-single__content > * + * {
    margin-top: 1.6rem;
}

.atocon-news-single__content h2 {
    margin: 3.2rem 0 1.2rem;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.5;
    color: #1f3330;
}

.atocon-news-single__content h3 {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.5;
    color: #1f3330;
}

.atocon-news-single__content p {
    margin: 0;
}

.atocon-news-single__content ul,
.atocon-news-single__content ol {
    margin: 0 0 0 2rem;
    padding: 0;
}

.atocon-news-single__content li + li {
    margin-top: 0.6rem;
}

.atocon-news-single__content a {
    color: var(--atocon-color-accent, #f15a24);
    text-decoration: underline;
}

.atocon-news-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.8rem;
}

.atocon-news-single__footer {
    margin-top: 4.8rem;
    padding-top: 3.2rem;
    border-top: 0.1rem solid #e5e5e5;
    text-align: center;
}

.atocon-news-single__back {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.4rem 3.2rem;
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    border: 0.2rem solid var(--atocon-color-accent, #f15a24);
    border-radius: 999rem;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.atocon-news-single__back:hover {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-news-single__empty {
    text-align: center;
    padding: 6rem 2rem;
}

.atocon-news-single__empty .atocon-news-single__inner {
    padding: 4rem 2rem;
}

/* ----- 2-column layout (Phase 8h.4) ----- */
.atocon-news-single__layout {
    width: min(100%, 110rem);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 1024px) {
    .atocon-news-single__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 28rem;
        gap: 4rem;
        align-items: start;
    }

    .atocon-news-single__layout .atocon-news-single__inner {
        width: 100%;
        max-width: 100%;
    }
}

/* Aside: 他のお知らせ */
.atocon-news-single__aside {
    background: #ffffff;
    border-radius: 1.6rem;
    padding: 2.4rem 2rem;
    box-shadow: 0 0.4rem 1.6rem rgba(31, 51, 48, 0.06);
}

@media (min-width: 1024px) {
    .atocon-news-single__aside {
        position: sticky;
        top: 9rem;
    }
}

@media (max-width: 1023px) {
    .atocon-news-single__aside {
        margin: 3.2rem auto 0;
        max-width: 80rem;
    }
}

.atocon-news-aside__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 1.6rem;
    padding-bottom: 1.2rem;
    border-bottom: 0.2rem solid var(--atocon-color-accent, #f15a24);
    color: var(--atocon-color-text, #1f3330);
}

.atocon-news-aside__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.atocon-news-aside__item {
    border-bottom: 0.1rem solid #e8e0d8;
}

.atocon-news-aside__item:last-child {
    border-bottom: none;
}

.atocon-news-aside__link {
    display: block;
    padding: 1.2rem 0;
    text-decoration: none;
    color: var(--atocon-color-text, #1f3330);
    transition: color 0.2s ease;
}

.atocon-news-aside__link:hover {
    color: var(--atocon-color-accent, #f15a24);
}

.atocon-news-aside__date {
    display: block;
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 0.4rem;
}

.atocon-news-aside__name {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.5;
}

.atocon-news-aside__empty {
    font-size: 1.4rem;
    color: #888;
    margin: 0;
}

/* =========================================================================
   About page
   page-about.php 専用。トップ・コンペ一覧・ノウハウ・お知らせと
   トーンを合わせつつ、独自レイアウト。
   ========================================================================= */

.atocon-about-page {
    background: var(--atocon-color-bg, #fff5e6);
    overflow-x: hidden;
}

.atocon-about-page__inner {
    width: min(100%, 108rem);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ----- Hero ----- */
.atocon-about-page__hero {
    padding: 6rem 0 5rem;
}

.atocon-about-page__hero .atocon-about-page__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 53rem) minmax(0, 1fr);
    align-items: center;
    min-height: 32rem;
}

.atocon-about-page__hero-body {
    position: relative;
    z-index: 3;
}

.atocon-about-page__hero-title {
    margin: 0 0 2.4rem;
    color: #1f3330;
    font-size: 5.2rem;
    font-weight: 900;
    line-height: 1.25;
}

.atocon-about-page__hero-lead {
    margin: 0;
    color: #000000;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 2;
}

.atocon-about-page__hero-visual {
    position: relative;
    min-height: 28rem;
}

.atocon-about-page__hero-visual img {
    position: absolute;
    height: auto;
}

.atocon-about-page__hero-arrow {
    right: 1rem;
    bottom: 0;
    z-index: 1;
    width: 48rem;
    max-width: none;
}

.atocon-about-page__hero-gorilla {
    left: 12%;
    bottom: 5rem;
    z-index: 2;
    width: 20rem;
}

.atocon-about-page__hero-rabbit {
    left: 41%;
    bottom: 9.4rem;
    z-index: 2;
    width: 10rem;
}

.atocon-about-page__hero-frog {
    left: 64%;
    bottom: 13rem;
    z-index: 2;
    width: 8.5rem;
}

/* ----- Section共通 ----- */
.atocon-about-page__section {
    padding: 6rem 0;
}

.atocon-about-page__section-title {
    margin: 0 0 3.2rem;
    color: #1f3330;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
}

/* ----- Feature（見出し＋説明文） ----- */
.atocon-about-page__feature-body {
    display: grid;
    grid-template-columns: minmax(0, 32rem) minmax(0, 1fr);
    align-items: start;
    gap: 6rem;
}

.atocon-about-page__feature-copy {
    min-width: 0;
}

.atocon-about-page__feature-title {
    margin: 0;
    color: #1f3330;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.45;
}

.atocon-about-page__feature-body p {
    margin: 0 0 1.2rem;
    font-size: 1.5rem;
    line-height: 1.95;
    color: var(--atocon-color-text, #111111);
}

.atocon-about-page__feature-body p:last-child {
    margin-bottom: 0;
}

.atocon-about-page__feature-note {
    font-size: 1.3rem !important;
    color: #555555 !important;
}

/* ----- 既存本文（the_content）表示 ----- */
.atocon-about-page__section--content .atocon-about-page__content {
    width: min(100%, 80rem);
    margin: 0 auto;
    padding: 4rem 4rem;
    background: #ffffff;
    border-radius: 1.6rem;
    box-shadow: 0 0.4rem 1.6rem rgba(31, 51, 48, 0.06);
    font-size: 1.6rem;
    line-height: 1.95;
    color: var(--atocon-color-text, #111111);
}

.atocon-about-page__content > * + * {
    margin-top: 1.6rem;
}

.atocon-about-page__content h2 {
    margin: 3rem 0 1.2rem;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.45;
    color: #1f3330;
    padding-bottom: 0.8rem;
    border-bottom: 0.2rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-about-page__content h3 {
    margin: 2.4rem 0 1rem;
    font-size: 1.9rem;
    font-weight: 900;
    color: #1f3330;
}

.atocon-about-page__content a {
    color: var(--atocon-color-accent, #f15a24);
    text-decoration: underline;
}

/* ----- 無料セクション ----- */
.atocon-about-page__free-list {
    list-style: none;
    margin: 0 auto 3.2rem;
    padding: 0;
    display: grid;
    gap: 0.8rem;
    width: min(100%, 60rem);
    text-align: center;
}

.atocon-about-page__free-list li {
    padding: 1.4rem 2rem;
    background: #ffffff;
    border-radius: 999rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f3330;
}

.atocon-about-page__free-cta {
    text-align: center;
    margin: 0;
}

/* ----- 料金プラン ----- */
.atocon-about-page__paid-lead {
    margin: -1.6rem 0 3.2rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f3330;
}

.atocon-about-page__plan {
    width: min(100%, 56rem);
    margin: 0 auto 3.2rem;
    overflow: hidden;
    border-radius: 1.6rem;
    background: #ffffff;
}

.atocon-about-page__plan-row {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    align-items: center;
    margin: 0;
}

.atocon-about-page__plan-row + .atocon-about-page__plan-row {
    border-top: 0.1rem solid #ffd9c4;
}

.atocon-about-page__plan-row dt {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
    padding: 2rem;
    text-align: center;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 0.06em;
}

.atocon-about-page__plan-row dd {
    margin: 0;
    padding: 2rem 3.2rem;
    text-align: center;
    font-weight: 900;
    color: #1f3330;
}

.atocon-about-page__plan-row dd strong {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.atocon-about-page__plan-row dd span {
    font-size: 1.6rem;
    margin-left: 0.4rem;
}

/* ----- ボタン ----- */
.atocon-about-page__cta {
    text-align: center;
    margin: 0;
}

.atocon-about-page__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 4rem;
    border-radius: 999rem;
    font-weight: 900;
    font-size: 1.6rem;
    text-decoration: none;
    min-width: 24rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.atocon-about-page__button--solid {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
    border: 0.2rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-about-page__button--solid:hover {
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
}

.atocon-about-page__button--outline {
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    border: 0.2rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-about-page__button--outline:hover {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

/* ----- FAQ ----- */
.atocon-about-page__faq {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 1.2rem;
    width: min(100%, 72rem);
}

.atocon-about-page__faq-item {
    background: #ffffff;
    border-radius: 999rem;
    overflow: hidden;
    transition: border-radius 0.2s ease;
}

.atocon-about-page__faq-item:has(details[open]) {
    border-radius: 1.6rem;
}

@media (min-width: 768px) {
    .atocon-about-page__faq-item:has(details[open]) {
        border-radius: 6rem;
    }
}

/* HOME copy refinements 2026-07-14. */
.atocon-mv__copy > p:last-child {
    line-height: 2.2;
    text-align: left;
}

.atocon-front-pickup--knowhow .atocon-knowhow-card strong {
    margin-bottom: 0;
    font-size: 1.8rem;
    line-height: 1.6;
}

.atocon-front-about--membership .atocon-about-page__section--paid {
    padding-top: 0;
}

@media (max-width: 767px) {
    .atocon-mv__copy > p:last-child {
        line-height: 2;
    }
}

/* HOME information block added 2026-07-20. */
.atocon-front-news--single {
    padding: 8rem 0 9.6rem;
    background: #eef7ff;
}

.atocon-front-news--single .atocon-front-news__inner {
    width: min(calc(100% - 7.2rem), 120rem);
    margin: 0 auto;
}

.atocon-front-news--single .atocon-front-news__header {
    margin-bottom: 4.8rem;
    text-align: center;
}

.atocon-front-news--single .atocon-front-news__eyebrow {
    margin: 0 0 0.8rem;
    color: #1266a3;
    font-family: var(--atocon-font-en);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.atocon-front-news--single h2 {
    margin: 0;
    color: #1f3330;
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: 0.1rem;
    line-height: 1.2;
}

.atocon-front-news--single .atocon-front-news__list {
    margin: 0;
    padding: 0;
    border-top: 0.1rem solid #d8e4ec;
    list-style: none;
}

.atocon-front-news--single .atocon-front-news__list > li {
    border-bottom: 0.1rem solid #d8e4ec;
}

.atocon-front-news--single .atocon-front-news__item {
    display: grid;
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    grid-template-columns: 14rem minmax(0, 52rem);
    align-items: start;
    justify-content: center;
    gap: 2.4rem;
    padding: 2.4rem 2rem;
}

.atocon-front-news--single .atocon-front-news__item time {
    padding-top: 0.5rem;
    color: #83909a;
    font-size: 1.4rem;
    font-weight: 500;
}

.atocon-front-news--single .atocon-front-news__copy h3 {
    margin: 0;
    color: #1f3330;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.5;
}

.atocon-front-news--single .atocon-front-news__copy h3 a {
    color: inherit;
    text-decoration: none;
}

.atocon-front-news--single .atocon-front-news__copy h3 a:hover,
.atocon-front-news--single .atocon-front-news__copy h3 a:focus-visible {
    color: #1266a3;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

.atocon-front-news--single .atocon-front-news__copy p {
    margin: 0.8rem 0 0;
    color: #52605f;
    font-size: 1.4rem;
    line-height: 1.8;
}

@media (max-width: 767px) {
    .atocon-front-news--single {
        padding: 6.4rem 0 7.2rem;
    }

    .atocon-front-news--single .atocon-front-news__inner {
        width: calc(100% - 4rem);
    }

    .atocon-front-news--single .atocon-front-news__header {
        margin-bottom: 3.2rem;
    }

    .atocon-front-news--single h2 {
        font-size: 3.3rem;
    }

    .atocon-front-news--single .atocon-front-news__item {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        padding: 2rem 0;
        text-align: center;
    }

    .atocon-front-news--single .atocon-front-news__item time {
        padding-top: 0;
        white-space: nowrap;
    }

    .atocon-front-news--single .atocon-front-news__copy {
        grid-column: auto;
    }
}

.atocon-about-page__faq-item details {
    padding: 0;
    border-radius: inherit;
}

.atocon-about-page__faq-item summary {
    display: flex;
    align-items: center;
    padding: 1.8rem 5rem 1.8rem 3.2rem;
    cursor: pointer;
    list-style: none;
    font-size: 1.5rem;
    font-weight: 900;
    color: #1f3330;
    position: relative;
}

.atocon-about-page__faq-item summary::-webkit-details-marker {
    display: none;
}

.atocon-about-page__faq-item summary:focus-visible {
    border-radius: inherit;
    outline: 0.3rem solid var(--atocon-color-accent, #f15a24);
    outline-offset: -0.3rem;
}

.atocon-about-page__faq-item summary::after {
    position: absolute;
    right: 3rem;
    top: 50%;
    width: 1rem;
    height: 1rem;
    border-top: 0.25rem solid var(--atocon-color-accent, #f15a24);
    border-right: 0.25rem solid var(--atocon-color-accent, #f15a24);
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
    content: "";
}

.atocon-about-page__faq-item details[open] summary::after {
    transform: translateY(-35%) rotate(135deg);
}

.atocon-about-page__faq-item details > p {
    margin: 0;
    padding: 0 3.2rem 2rem;
    font-size: 1.4rem;
    line-height: 1.85;
    color: #333333;
}

/* ----- SP ----- */

/* =========================================================================
   My page / favorites / favorite button
   ========================================================================= */

/* ----- お気に入りボタン（コンペ詳細＆マイページ共通） ----- */
.atocon-favorite-button {
    width: min(100%, 42rem);
    margin: 2rem auto;
    display: flex;
    justify-content: center;
}

.atocon-favorite-button__btn,
.atocon-favorite-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 2rem;
    border-radius: 999rem;
    font-size: 1.6rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.atocon-favorite-button--off .atocon-favorite-button__btn {
    width: 100%;
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    border: 0.2rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-favorite-button--off .atocon-favorite-button__btn:hover {
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
}

.atocon-favorite-button--on .atocon-favorite-button__btn {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
    border: 0.2rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-favorite-button--on .atocon-favorite-button__btn:hover {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-favorite-button.is-updating .atocon-favorite-button__btn {
    cursor: wait;
    opacity: 0.75;
}

.atocon-favorite-button--limit .atocon-favorite-button__btn,
.atocon-favorite-button--limit .atocon-favorite-button__btn:hover {
    width: 100%;
    background: #eeeeee;
    color: #666666;
    border: 0.2rem solid #c9c9c9;
    cursor: not-allowed;
}

.atocon-favorite-button--guest a {
    background: #ffffff;
    color: #666666;
    border: 0.1rem solid #c9c9c9;
    font-weight: 700;
    font-size: 1.3rem;
}

.atocon-favorite-button--guest a:hover {
    border-color: var(--atocon-color-accent, #f15a24);
    color: var(--atocon-color-accent, #f15a24);
}

/* ----- マイページ ----- */
.atocon-mypage {
    background: var(--atocon-color-bg, #fff5e6);
    padding: 6rem 0 12rem;
}

.atocon-mypage__inner {
    width: min(100%, 88rem);
    margin: 0 auto;
    padding: 0 2rem;
}

.atocon-mypage__hero {
    margin-bottom: 4rem;
    text-align: center;
}

.atocon-mypage__title {
    margin: 0;
    color: #1f3330;
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.3;
}

.atocon-mypage__flash {
    margin: 0 0 2.4rem;
    padding: 1.2rem 2rem;
    border-radius: 0.8rem;
    background: #ffffff;
    border-left: 0.4rem solid var(--atocon-color-accent, #f15a24);
    font-size: 1.4rem;
    font-weight: 700;
}

.atocon-mypage__section {
    margin-bottom: 4rem;
    padding: 3.2rem 3.2rem;
    background: #ffffff;
    border-radius: 1.6rem;
    box-shadow: 0 0.4rem 1.6rem rgba(31, 51, 48, 0.06);
}

.atocon-mypage__section-title {
    margin: 0 0 2rem;
    color: #1f3330;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.4;
    padding-bottom: 0.8rem;
    border-bottom: 0.2rem solid var(--atocon-color-accent, #f15a24);
}

/* プロフィール */
.atocon-mypage__profile-list {
    margin: 0 0 2rem;
}

.atocon-mypage__profile-row {
    display: grid;
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 1.6rem;
    padding: 1.2rem 0;
    border-bottom: 0.1rem solid #f0e6d2;
}

.atocon-mypage__profile-row:last-child {
    border-bottom: none;
}

.atocon-mypage__profile-row dt {
    margin: 0;
    color: #666666;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.atocon-mypage__profile-row dd {
    margin: 0;
    color: #1f3330;
    font-size: 1.5rem;
    font-weight: 700;
    word-break: break-all;
}

.atocon-mypage__profile-actions {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    font-size: 1.4rem;
}

.atocon-mypage__link {
    color: var(--atocon-color-accent, #f15a24);
    font-weight: 700;
    text-decoration: underline;
}

/* お気に入りリスト */
.atocon-mypage__fav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.6rem;
}

.atocon-mypage__fav-card {
    margin: 0;
    padding: 1.6rem 2rem;
    background: var(--atocon-color-bg, #fff5e6);
    border-radius: 1rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.6rem;
}

.atocon-mypage__fav-link {
    text-decoration: none;
    color: #1f3330;
    display: block;
    min-width: 0;
}

.atocon-mypage__fav-link:hover .atocon-mypage__fav-title {
    color: var(--atocon-color-accent, #f15a24);
}

.atocon-mypage__fav-title {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.5;
    transition: color 0.15s ease;
}

.atocon-mypage__fav-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    margin-top: 0.6rem;
    font-size: 1.2rem;
    color: #666666;
}

.atocon-mypage__fav-badge {
    display: inline-block;
    padding: 0.1rem 0.8rem;
    border-radius: 999rem;
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
}

.atocon-mypage__fav-card .atocon-favorite-button {
    margin: 0;
    justify-content: flex-end;
}

.atocon-mypage__fav-empty {
    margin: 0 0 1.2rem;
    font-size: 1.4rem;
    color: #555555;
}

/* メモ */
.atocon-mypage__memo-help {
    margin: 0 0 1.2rem;
    font-size: 1.3rem;
    color: #555555;
}

.atocon-mypage__memo-form {
    display: grid;
    gap: 1.6rem;
}

.atocon-mypage__memo-text {
    width: 100%;
    padding: 1.2rem 1.4rem;
    border-radius: 0.8rem;
    border: 0.1rem solid #c9c9c9;
    background: #ffffff;
    font-family: inherit;
    font-size: 1.4rem;
    line-height: 1.7;
    resize: vertical;
}

.atocon-mypage__memo-text:focus {
    outline: none;
    border-color: var(--atocon-color-accent, #f15a24);
    box-shadow: 0 0 0 0.2rem rgba(241, 90, 36, 0.15);
}

.atocon-mypage__memo-actions {
    margin: 0;
    text-align: right;
}

/* ボタン */
.atocon-mypage__cta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
}

.atocon-mypage__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    border-radius: 999rem;
    font-weight: 900;
    font-size: 1.4rem;
    text-decoration: none;
    cursor: pointer;
    border: 0.2rem solid var(--atocon-color-accent, #f15a24);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.atocon-mypage__button--solid {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-mypage__button--solid:hover {
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
}

.atocon-mypage__button--outline {
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
}

.atocon-mypage__button--outline:hover {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

/* SP */

/* =========================================================================
   Competition filter: PC/SP accordion
   PC では常時展開、SP のみトグル表示。
   ========================================================================= */

/* PC: トグルボタンは非表示、フォームは常時展開（既存挙動の維持） */
.atocon-compe-filter-toggle {
    display: none;
}

/* =========================================================================
   Detail page refinements
   ========================================================================= */

/* 1-1. コンペ詳細：本文先頭の重複タイトル/画像（ブロックエディタ由来）を表示抑制
       テンプレ側のタイトル(.atocon-compe__title) と アイキャッチ(.atocon-compe__thumb) が
       正なので、本文先頭の h2.wp-block-heading + 直下の .wp-block-image を消す。 */
body.single-compe .atocon-compe__content > h2.wp-block-heading:first-child,
body.single-compe .atocon-compe__content > h2.wp-block-heading:first-child + figure.wp-block-image,
body.single-compe .atocon-compe__content > h2.wp-block-heading:first-child + .wp-block-image {
    display: none;
}

/* 1-2. .postcompe__img 内の img を非表示（公式サイトボタンの内側矢印画像など） */
body.single-compe .postcompe__img img {
    display: none;
}

/* 4-2. ノウハウ詳細：本文先頭の重複タイトル/画像を表示抑制 */
.atocon-knowhow-single__content > h2.wp-block-heading:first-child,
.atocon-knowhow-single__content > h2.wp-block-heading:first-child + figure.wp-block-image,
.atocon-knowhow-single__content > h2.wp-block-heading:first-child + .wp-block-image {
    display: none;
}

/* 2-1 / 4-1. お知らせ・ノウハウ一覧ヒーローキャラを SP で非表示 */

/* =========================================================================
   PC layout: 2-column / footer / buttons
   ========================================================================= */

/* ----- 1-2. マイページボタン（and ログインボタン）hover 反転 ----- */
.atocon-nav__login {
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* ----- 2-1. トップの「〇〇一覧へ」ボタン文字サイズ ----- */
.atocon-front-more a {
    font-size: 2.4rem;
}

/* ----- 2-3. アトコンとは PC の rabbit / frog 配置 ----- */
@media (min-width: 768px) {
    .atocon-front-about__rabbit {
        right: -120%;
        bottom: 20%;
        width: 30%;
        z-index: 3;
        top: auto;
        left: auto;
    }
    .atocon-front-about__frog {
        left: 230%;
        bottom: 40%;
        width: 29%;
        z-index: 3;
        top: auto;
    }

}

/* ----- 3. PC版フッター ----- */
.atocon-site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
}

.atocon-site-footer__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    width: 100%;
}

.atocon-site-footer__brand {
    margin: 0;
}

.atocon-site-footer__brand a {
    display: inline-flex;
}

.atocon-nav--footer,
.atocon-site-footer__nav .menu {
    display: none;
}

.atocon-nav--footer a,
.atocon-site-footer__nav a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.4rem;
}

.atocon-nav--footer a:hover,
.atocon-site-footer__nav a:hover {
    text-decoration: underline;
}

.atocon-site-footer__sub {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 2.4rem;
    font-size: 1.3rem;
    opacity: 0.85;
}

.atocon-site-footer__sub a {
    color: inherit;
    text-decoration: none;
}

.atocon-site-footer__sub a:hover {
    text-decoration: underline;
}

/* PCのフッターはロゴ左／主要リンク右の2カラム */
@media (min-width: 768px) {
    .atocon-site-footer__inner {
        align-items: stretch;
        gap: 2.4rem;
    }
    .atocon-site-footer__main {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .atocon-site-footer__brand {
        flex: 0 0 auto;
    }
    .atocon-site-footer__nav,
    .atocon-site-footer__main > .atocon-site-footer__nav {
        flex: 1 1 auto;
    }
    .atocon-nav--footer,
    .atocon-site-footer__nav .menu {
        justify-content: flex-end;
        gap: 2.4rem 3rem;
    }
    .atocon-site-footer__sub {
        justify-content: flex-end;
    }
}

/* home/front-pageの白フッターでもPC構成を適用（既存 logo_orange の置換は維持） */
.home .atocon-nav--footer a,
.front-page .atocon-nav--footer a,
.home .atocon-site-footer__sub a,
.front-page .atocon-site-footer__sub a {
    color: #000000;
}

/* ----- 4. コンペ詳細 2カラム化 ----- */
.atocon-compe-single-page {
    width: min(100%, 144rem);
    margin: 0 auto;
}

.atocon-compe-single-page__main {
    min-width: 0;
}

.atocon-compe-single-page__aside {
    min-width: 0;
}

@media (min-width: 1024px) {
    .atocon-compe-single-page {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 32rem;
        gap: 4rem;
        align-items: start;
        padding: 0 3.6rem;
    }
}

/* 関連コンペ サイドバー */
.atocon-compe-aside__title {
    margin: 2rem 0;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1f3330;
    padding-bottom: 0.8rem;
    border-bottom: 0.2rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-compe-aside__list {
    list-style: none;
    margin: 0 0 1.6rem;
    padding: 0;
    display: grid;
    gap: 1.4rem;
}

.atocon-compe-aside__card {
    margin: 0;
}

.atocon-compe-aside__link {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1.2rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 1rem;
    text-decoration: none;
    color: #1f3330;
    transition: background-color 0.15s ease;
}

.atocon-compe-aside__link:hover {
    background: var(--atocon-color-bg, #fff5e6);
}

.atocon-compe-aside__thumb {
    overflow: hidden;
    border-radius: 0.6rem;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
}

.atocon-compe-aside__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atocon-compe-aside__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.atocon-compe-aside__name {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.45;
    color: #1f3330;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.atocon-compe-aside__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    font-size: 1.1rem;
    color: #555555;
    align-items: center;
}

.atocon-compe-aside__badge {
    display: inline-block;
    padding: 0.1rem 0.6rem;
    border-radius: 999rem;
    font-size: 1rem;
    font-weight: 700;
}

.atocon-compe-aside__badge--free {
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    border: 0.1rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-compe-aside__badge--paid {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-compe-aside__badge--demo {
    background: #f6c000;
    color: #ffffff;
}

.atocon-compe-aside__deadline {
    font-weight: 700;
}

.atocon-compe-aside__empty {
    margin: 0;
    padding: 1.2rem 1.4rem;
    font-size: 1.3rem;
    color: #555555;
    background: #ffffff;
    border-radius: 0.8rem;
}

/* SPでは aside を main の下に */
@media (max-width: 1023px) {
    .atocon-compe-single-page__aside {
        margin-top: 4rem;
    }
}

/* ----- 5. ノウハウ詳細 2カラム化 ----- */
.atocon-knowhow-single__layout {
    width: min(100%, 122rem);
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .atocon-knowhow-single__layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 32rem;
        gap: 4rem;
        align-items: start;
        padding: 0 2rem;
    }
    .atocon-knowhow-single__article {
        min-width: 0;
    }
    /* aside は記事カードの右に並ぶ */
    .atocon-knowhow-single__aside {
        min-width: 0;
        position: sticky;
        top: 8rem;
    }
    /* main の inner は幅いっぱい使う（aside分のgrid割当てがあるので80remのmin幅は外す） */
    .atocon-knowhow-single .atocon-knowhow-single__article .atocon-knowhow-single__inner {
        width: 100%;
    }
}

.atocon-knowhow-single__aside {
    background: #ffffff;
    border-radius: 1.6rem;
    padding: 2.4rem 2rem;
    box-shadow: 0 0.4rem 1.6rem rgba(31, 51, 48, 0.06);
}

.atocon-knowhow-aside__title {
    margin: 0 0 1.6rem;
    font-size: 2rem;
    font-weight: 900;
    color: #1f3330;
    padding-bottom: 0.8rem;
    border-bottom: 0.2rem solid var(--atocon-color-accent, #f15a24);
}

.atocon-knowhow-aside__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.4rem;
}

.atocon-knowhow-aside__card {
    margin: 0;
}

.atocon-knowhow-aside__link {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1.2rem;
    text-decoration: none;
    color: #1f3330;
    padding-bottom: 1.2rem;
    border-bottom: 0.1rem solid #f0e6d2;
}

.atocon-knowhow-aside__card:last-child .atocon-knowhow-aside__link {
    border-bottom: none;
    padding-bottom: 0;
}

.atocon-knowhow-aside__link:hover .atocon-knowhow-aside__name {
    color: var(--atocon-color-accent, #f15a24);
}

.atocon-knowhow-aside__thumb {
    overflow: hidden;
    border-radius: 0.6rem;
    background: #f5f5f5;
    aspect-ratio: 1 / 1;
}

.atocon-knowhow-aside__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atocon-knowhow-aside__body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.atocon-knowhow-aside__name {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.15s ease;
}

.atocon-knowhow-aside__date {
    font-size: 1.1rem;
    color: #888888;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.atocon-knowhow-aside__excerpt {
    font-size: 1.15rem;
    color: #555555;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.atocon-knowhow-aside__empty {
    margin: 0;
    font-size: 1.3rem;
    color: #555555;
}

/* SP: aside を記事の下に。stickyも解除 */
@media (max-width: 1023px) {
    .atocon-knowhow-single__aside {
        margin: 3.2rem auto 0;
        max-width: 80rem;
        position: static;
    }
}

/* ----- 2-1 SPでは「〇〇一覧へ」のサイズを既存基準に戻す ----- */

/* =========================================================================
   PC layout: hover / footer / aside refinements
   ========================================================================= */

/* 1-1. マイページ/ログインボタン hover 時、背景オレンジ・文字白・ボーダーオレンジ */
.atocon-nav__login:hover,
.atocon-nav__login:hover *,
.home .atocon-nav__login:hover,
.front-page .atocon-nav__login:hover,
.home .atocon-nav__login:hover *,
.front-page .atocon-nav__login:hover * {
    color: #ffffff;
}
.atocon-nav__login:hover,
.home .atocon-nav__login:hover,
.front-page .atocon-nav__login:hover {
    background-color: var(--atocon-color-accent, #f15a24);
    border-color: var(--atocon-color-accent, #f15a24);
}

/* 2-1. 「〇〇一覧へ」ボタン hover：文字オレンジ / 円塗りつぶし / 矢印白 */
.atocon-front-more a:hover {
    color: var(--atocon-color-accent, #f15a24);
}
.atocon-front-more a:hover span {
    background: var(--atocon-color-accent, #f15a24);
    border-color: var(--atocon-color-accent, #f15a24);
}
.atocon-front-more a:hover span::before {
    border-top-color: #ffffff;
    border-right-color: #ffffff;
}

/* 3-2. PC版フッターで主要リンクをできるだけ1行に収める */
@media (min-width: 768px) {
    .atocon-site-footer__main {
        flex-wrap: nowrap;
        gap: 3.2rem;
    }
    .atocon-site-footer__brand {
        flex: 0 0 auto;
    }
    /* PC のロゴをほんの少しコンパクトに（リンクに割く幅を確保） */
    .home .atocon-site-footer__brand img,
    .front-page .atocon-site-footer__brand img {
        width: 28rem;
    }

    .atocon-nav--footer,
    .atocon-site-footer__nav .menu {
        flex-wrap: nowrap;
        gap: 2rem;
        white-space: nowrap;
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.6rem 3rem;
    }
    .atocon-nav--footer li,
    .atocon-site-footer__nav .menu li {
        flex: 0 0 auto;
    }
}

/* 4-1. コンペ詳細 2カラム全体を 1080px に揃えて中央配置 */
@media (min-width: 1024px) {
    .atocon-compe-single-page {
        max-width: 108rem;
        margin: 0 auto;
        grid-template-columns: minmax(0, 1fr) 28rem;
        gap: 3.2rem;
        padding: 0 2rem;
    }
}

/* 5-1. 関連コンペカードのコンパクト上書き（一覧カードのデザイン流用） */
.atocon-compe-single-page__aside .atocon-compe-list {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    display: grid;
    gap: 3rem;
}

.atocon-compe-single-page__aside .atocon-compe-card {
    min-width: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 0;
    border-radius: 1.6rem;
    box-shadow: 0 0.4rem 1.2rem rgba(17, 17, 17, 0.10);
}

.atocon-compe-single-page__aside .atocon-compe-card__link {
    display: block;
    height: 100%;
    color: #000000;
    text-decoration: none;
}

.atocon-compe-single-page__aside .atocon-compe-card__thumb {
    aspect-ratio: 1.6 / 1;
}

.atocon-compe-single-page__aside .atocon-compe-card__body {
    padding: 1.4rem 1.4rem 1.6rem;
}

.atocon-compe-single-page__aside .atocon-compe-card__badges {
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.atocon-compe-single-page__aside .atocon-compe-card__badges span {
    min-height: 2.2rem;
    padding: 0.15rem 0.8rem;
    border-width: 0.1rem;
    font-size: 1.1rem;
    line-height: 1.2;
}

.atocon-compe-single-page__aside .atocon-compe-card__title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    letter-spacing: 0.04em;
    line-height: 1.4;
    /* 一覧カードはローマン色固定だが aside ではコンパクトに */
    font-family: var(--atocon-font-heading);
    transition: color 0.2s ease;
}

.atocon-compe-single-page__aside .atocon-compe-card__title:hover {
    color: var(--atocon-color-accent, #f15a24);
}

.atocon-compe-single-page__aside .atocon-compe-card__meta {
    gap: 0.6rem;
}

.atocon-compe-single-page__aside .atocon-compe-card__meta-row {
    font-size: 1.25rem;
    padding-left: 2rem;
    min-height: 1.6rem;
}

.atocon-compe-single-page__aside .atocon-compe-card__meta-row::before {
    width: 1.3rem;
    height: 1.3rem;
}

/* =========================================================================
   Responsive: tablet (768–1080px)
   - PC広幅 (>1080px) と SP (<768px) は触らない
   - 768〜1080px はスマホ寄りの簡素レイアウトに寄せる
   - 2カラム解除は @media (min-width: 1024px) スコープ自体に踏み込まない
     （= 1023px以下は元から 1カラムだが、後段で明示的に grid を解除する）
   ========================================================================= */

@media (min-width: 768px) and (max-width: 1080px) {
    /* ---- 共通: 横スクロール防止 + コンテナの左右余白 ---- */
    body {
        overflow-x: hidden;
    }

    .atocon-container {
        width: min(100%, 108rem);
        padding-left: 2.4rem;
        padding-right: 2.4rem;
    }

    /* ---- ヘッダー（トップ以外）: ロゴと主要リンクを詰める ---- */
    .atocon-site-header .atocon-container {
        width: 100% !important;
        gap: 1.6rem;
        min-height: 10rem;
    }

    .home .atocon-logo img{
        width: 17rem;
    }

    .home .atocon-nav a{
        font-size: 1.6rem;
    }

    /* ---- フッター: PC横並びだとリンクが詰まるので2段にまとめる ---- */
    .atocon-site-footer__main {
        flex-direction: column;
        align-items: center;
        gap: 1.6rem;
    }
    .atocon-nav--footer,
    .atocon-site-footer__nav .menu {
        justify-content: center;
        gap: 1.2rem 2rem;
    }
    .atocon-site-footer__sub {
        justify-content: center;
    }
    /* タブレットではロゴはコンパクトに */
    .home .atocon-site-footer__brand img,
    .front-page .atocon-site-footer__brand img {
        width: 22rem;
    }

    /* ---- トップ: コンペ一覧ヒーローのキャラを縮小 ---- */
    .atocon-compe-list-hero {
        min-height: 24rem;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .atocon-compe-list-hero__arrow  { width: 36rem; }
    .atocon-compe-list-hero__gorilla { left: 8%;  bottom: 4rem; width: 13rem; }
    .atocon-compe-list-hero__rabbit { left: 36%; bottom: 7rem;  width: 7rem; }
    .atocon-compe-list-hero__frog   { left: 56%; bottom: 9.6rem; width: 6.2rem; }

    /* ---- アトコンとは: PCの rabbit/frog 大胆配置を画面内に戻す ---- */
    .atocon-front-about__grid {
        grid-template-columns: 1fr 1.7fr;
        min-height: 0;
    }
    .atocon-front-about__characters {
        min-height: 30rem;
    }

    /* ---- ノウハウ一覧ヒーロー / お知らせ一覧ヒーロー / アトコンとはヒーロー ---- */
    .atocon-knowhow-archive-hero,
    .atocon-news-archive-hero,
    .atocon-about-page__hero .atocon-about-page__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        min-height: 22rem;
    }
    .atocon-knowhow-archive-hero__arrow,
    .atocon-news-archive-hero__arrow,
    .atocon-about-page__hero-arrow {
        width: 34rem;
    }
    .atocon-knowhow-archive-hero__gorilla,
    .atocon-about-page__hero-gorilla {
        left: 8%; bottom: 4rem; width: 14rem;
    }
    .atocon-knowhow-archive-hero__rabbit,
    .atocon-about-page__hero-rabbit {
        left: 38%; bottom: 7rem; width: 7rem;
    }
    .atocon-knowhow-archive-hero__frog,
    .atocon-about-page__hero-frog {
        left: 58%; bottom: 9.4rem; width: 6rem;
    }
    .atocon-news-archive-hero__gorilla { left: 10%; bottom: 3.6rem; width: 11rem; }
    .atocon-news-archive-hero__rabbit  { left: 40%; bottom: 6.4rem; width: 6rem; }
    .atocon-news-archive-hero__frog    { left: 58%; bottom: 9rem; width: 5.4rem; }

    /* ---- マイページ: コンテナ幅をタブレット用に ---- */
    .atocon-mypage__inner {
        width: min(100%, 72rem);
    }

    /* ---- アトコンとは plan-row: タブレットでも 11rem 列だと窮屈なので少し広げる ---- */
    .atocon-about-page__plan-row {
        grid-template-columns: 14rem minmax(0, 1fr);
    }

    /* ---- コンペ一覧の検索フィルターレイアウト ---- */
    .atocon-compe-list-layout {
        grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
        gap: 2.4rem;
    }
    .atocon-compe-filter {
        padding: 2rem 1.6rem;
    }

    /* ---- フロント KV: タブレット用のキャラサイズ抑制 ---- */
    /* .atocon-mv__arrow-img {
        width: 60%;
    } */
}

/* ----- 768〜1023px: コンペ詳細 / ノウハウ詳細を 1カラムに強制 ----- */
@media (min-width: 768px) and (max-width: 1023px) {
    /* どちらも @media (min-width: 1024px) で grid を当てているので、
       1023px以下では既定で block。明示的にも 1カラムにしておく。 */
    .atocon-compe-single-page,
    .atocon-knowhow-single__layout {
        display: block;
    }

    .atocon-compe-single-page__main,
    .atocon-compe-single-page__aside,
    .atocon-knowhow-single__article,
    .atocon-knowhow-single__aside {
        width: 100%;
    }

    .atocon-compe-single-page__aside {
        margin-top: 3.2rem;
    }
    .atocon-knowhow-single__aside {
        margin: 3.2rem auto 0;
        max-width: 64rem;
        position: static;
    }

    /* コンペ詳細の関連カードはタブレットでは2列に */
    .atocon-compe-single-page__aside .atocon-compe-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.6rem;
    }
}

/* ----- 1024〜1080px: PC構成を維持しつつ余白を詰める ----- */
@media (min-width: 1024px) and (max-width: 1080px) {
    .atocon-compe-single-page {
        max-width: calc(100% - 4rem);
        grid-template-columns: minmax(0, 1fr) 26rem;
        gap: 2.4rem;
        padding: 0 2rem;
    }
    .atocon-knowhow-single__layout {
        max-width: calc(100% - 4rem);
        grid-template-columns: minmax(0, 1fr) 26rem;
        gap: 2.4rem;
    }
    .atocon-compe-list-layout {
        grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
        gap: 3.2rem;
    }
}

/* =========================================================================
   Competition filter: locked region / unconfirmed official links
   ========================================================================= */

/* 地域フィルター（課金サービス予定、UIのみ） */
.atocon-compe-filter__section--locked {
    position: relative;
    opacity: 0.6;
}
.atocon-compe-filter__section--locked h2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.atocon-compe-filter__lock {
    font-size: 1.4rem;
    line-height: 1;
    color: var(--atocon-color-accent, #f15a24);
}
.atocon-compe-filter__locked-note {
    margin: 0 0 1rem;
    padding: 0.4rem 0.8rem;
    background: #fff5e6;
    border-left: 0.2rem solid var(--atocon-color-accent, #f15a24);
    color: #1f3330;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}
.atocon-compe-filter__choice--locked input[disabled] {
    cursor: not-allowed;
}
.atocon-compe-filter__choice--locked {
    cursor: not-allowed;
}

/* 公式サイト未確認（Example Domainなど）— 詳細ページのリンク無効化表示 */
.postcompe__sitebtn--disabled {
    text-align: center;
}
.atocon-compe__official-unconfirmed {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24rem;
    padding: 1.4rem 2.4rem;
    border-radius: 999rem;
    background: #ffffff;
    color: #888888;
    border: 0.2rem dashed #c9c9c9;
    font-weight: 700;
    font-size: 1.5rem;
    cursor: not-allowed;
}

/* 一覧カードのアイキャッチ仮画像（placeholder） */
/* Phase 7t-2: `.atocon-compe-card__thumb img` の object-fit:cover に specificity で勝てるように
   セレクタを修正し、placeholder 専用の見た目（fit:contain＋淡色背景＋余白）を確実に適用する。 */
.atocon-compe-card__thumb img.atocon-compe-card__thumb-img--placeholder,
.atocon-compe-card__thumb-img--placeholder {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff5e6;
    padding: 1.6rem;
    display: block;
    box-sizing: border-box;
}

/* 詳細ページのアイキャッチ fallback（single-compe.php の atocon_base_compe_thumb 由来） */
.atocon-compe__thumb-fallback {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff5e6;
    padding: 2rem;
    display: block;
    box-sizing: border-box;
    aspect-ratio: 1.48 / 1;
}

/* =========================================================================
   Related competition: SP margin
   ========================================================================= */
@media (max-width: 900px) {
    .atocon-compe-list.atocon-compe-aside__list {
        margin: 0 2rem;
    }
}

/* =========================================================================
   International competition teaser (non-Level2)
   ========================================================================= */
.atocon-international-teaser {
    width: min(100% - 7.2rem, var(--atocon-container-max, 128rem));
    margin: 0 auto 8rem;
    padding: 4.8rem 4rem;
    background: linear-gradient(135deg, #fff5e6 0%, #e7f9fa 100%);
    border: 0.15rem solid var(--atocon-color-accent, #f15a24);
    border-radius: 2.4rem;
    box-shadow: 0 1.2rem 2.8rem rgba(17, 17, 17, 0.08);
    text-align: center;
}

.atocon-international-teaser__title {
    margin: 0 0 1.2rem;
    color: #111111;
    font-size: 2.4rem;
    font-weight: 900;
}

.atocon-international-teaser__lead {
    margin: 0 auto 2.8rem;
    max-width: 60rem;
    color: #333333;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.9;
}

.atocon-international-teaser__actions {
    margin: 0;
}

.atocon-international-teaser__cta {
    display: inline-block;
    min-width: 28rem;
    padding: 1.4rem 3.2rem;
    background: var(--atocon-color-accent, #f15a24);
    border-radius: 999rem;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    transition: opacity 0.18s;
}

.atocon-international-teaser__cta:hover {
    opacity: 0.85;
    color: #ffffff;
}

/* 地域フィルター課金リンク（非Level2向けの locked-note 内） */
.atocon-compe-filter__locked-note a {
    color: var(--atocon-color-accent, #f15a24);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

@media (max-width: 900px) {
    .atocon-international-teaser {
        width: calc(100% - 4rem);
        padding: 3.2rem 2.4rem;
    }

    .atocon-international-teaser__title {
        font-size: 1.9rem;
    }

    .atocon-international-teaser__cta {
        min-width: 0;
        width: 100%;
        font-size: 1.6rem;
        text-align: center;
    }
}

/* ============================================================
 * Login page: register CTA
 * /member-login/ の .atocon-login-register ブロック
 * ============================================================ */
.atocon-login-register {
    margin-top: 3.2rem;
    padding: 2.4rem 2.8rem;
    background: #fff;
    border-radius: 1.6rem;
    text-align: center;
}

.atocon-login-register__note {
    margin: 0 0 1.2rem;
    font-size: 1.5rem;
    color: #000;
}

.atocon-login-register__btn {
    display: inline-block;
    padding: 1.2rem 4rem;
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4rem;
    transition: opacity 0.18s;
}

.atocon-login-register__btn:hover {
    opacity: 0.85;
    color: #ffffff;
}

@media (max-width: 900px) {
    .atocon-login-register {
        padding: 2rem 1.6rem;
        margin: 3rem 0 6rem;
    }

    .atocon-login-register__btn {
        width: 100%;
        text-align: center;
        font-size: 1.6rem;
    }
}

/* ============================================================
 * My page: upgrade section (non-Level2)
 * Phase 8c で追加した .atocon-mypage__section--upgrade
 * ============================================================ */
.atocon-mypage__section--upgrade {
    text-align: center;
    background: var(--atocon-color-bg-sub, #f7f7f5);
    border-radius: 1.6rem;
    padding: 4rem 3.2rem;
}

.atocon-mypage__section--upgrade .atocon-mypage__section-title {
    font-size: 2.2rem;
}

.atocon-mypage__section--upgrade p {
    color: var(--atocon-color-text-muted, #666);
    line-height: 1.8;
    margin-bottom: 0.4rem;
}

/* ============================================================
 * My page: plan / orders / logout
 * Phase 8d.2: 2カラム撤回 → display: block（クラスは不使用だが念のため上書き）
 * ============================================================ */
.atocon-mypage-layout {
    display: block;
}

/* 契約プラン */
.atocon-mypage__plan-list {
    margin: 0 0 1.6rem;
}

.atocon-mypage__plan-row {
    display: grid;
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 1.2rem;
    padding: 1rem 0;
    border-bottom: 0.1rem solid #f0e6d2;
}

.atocon-mypage__plan-row:last-child {
    border-bottom: none;
}

.atocon-mypage__plan-row dt {
    margin: 0;
    color: #666666;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.atocon-mypage__plan-row dd {
    margin: 0;
    color: #1f3330;
    font-size: 1.5rem;
    font-weight: 700;
}

.atocon-mypage__plan-status--active {
    color: #2e7d32;
}

.atocon-mypage__plan-admin {
    margin: 0;
    padding: 1.2rem 1.6rem;
    font-size: 1.4rem;
    color: #555555;
    background: var(--atocon-color-bg, #fff5e6);
    border-left: 0.4rem solid var(--atocon-color-accent, #f15a24);
    border-radius: 0 0.6rem 0.6rem 0;
}

/* 支払い履歴テーブル */
.atocon-mypage__orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.atocon-mypage__orders-table th {
    padding: 0.8rem 1.2rem;
    background: var(--atocon-color-bg, #fff5e6);
    color: #666666;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    border-bottom: 0.15rem solid #f0e6d2;
}

.atocon-mypage__orders-table td {
    padding: 1rem 1.2rem;
    border-bottom: 0.1rem solid #f0e6d2;
    color: #1f3330;
    vertical-align: middle;
}

.atocon-mypage__orders-table tbody tr:last-child td {
    border-bottom: none;
}

/* 注文ステータスバッジ */
.atocon-mypage__order-status {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 999rem;
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}

.atocon-mypage__order-status--success  { background: #e8f5e9; color: #2e7d32; }
.atocon-mypage__order-status--pending  { background: #fff8e1; color: #f57f17; }
.atocon-mypage__order-status--cancel   { background: #fce4ec; color: #c62828; }
.atocon-mypage__order-status--refunded { background: #f3e5f5; color: #7b1fa2; }
.atocon-mypage__order-status--error    { background: #ffebee; color: #b71c1c; }

.atocon-mypage__orders-empty {
    margin: 0 0 0.6rem;
    font-size: 1.4rem;
    color: #555555;
}

.atocon-mypage__orders-note {
    margin: 0;
    font-size: 1.2rem;
    color: #888888;
}

.atocon-mypage__orders-link {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--atocon-color-accent, #f15a24);
    text-decoration: underline;
}

/* ログアウト */
.atocon-mypage__logout-section {
    margin-top: 0.4rem;
    text-align: center;
}

.atocon-mypage__logout-link-item {
    font-size: 1.3rem;
    font-weight: 700;
    color: #888888;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.atocon-mypage__logout-link-item:hover {
    color: var(--atocon-color-accent, #f15a24);
}

/* SP 調整 */

/* ノウハウタグは、登録済みの投稿タグだけを動的に表示する。 */
.atocon-knowhow-tag-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0 0 3.2rem;
}

.atocon-knowhow-tag-filter__item {
    display: inline-flex;
    align-items: center;
    min-height: 3.6rem;
    padding: 0.8rem 1.6rem;
    border: 0.1rem solid var(--atocon-color-accent, #f15a24);
    border-radius: 999rem;
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
    font-size: 1.3rem;
    font-weight: 700;
}

.atocon-knowhow-tag-filter__item.is-current,
.atocon-knowhow-tag-filter__item:hover {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-knowhow-tag-filter__item:focus-visible {
    outline: 0.3rem solid #111111;
    outline-offset: 0.2rem;
}

/* =====================================================================
   Desktop refinements (min-width: 901px)
   ===================================================================== */
@media (min-width: 901px) {
    /* コンペ一覧の広幅レイアウトを、外側コンテナの内側に収める。 */
    body.atocon-compe-list-body .atocon-main > .atocon-container {
        width: 100%;
        max-width: none;
    }

    /* トップヘッダーを固定し、KV装飾とナビ文字を視覚的に分離する。 */
    .home .atocon-site-header,
    .front-page .atocon-site-header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 50;
        background: transparent;
        transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

    body.admin-bar.home .atocon-site-header,
    body.admin-bar.front-page .atocon-site-header {
        top: 32px;
    }

    .home .atocon-site-header .atocon-container,
    .front-page .atocon-site-header .atocon-container {
        width: min(100% - 5.6rem, 144rem);
        min-height: 10rem;
        gap: clamp(1.2rem, 1.6vw, 2.4rem);
        transition: min-height 0.2s ease;
    }

    .home .atocon-logo img,
    .front-page .atocon-logo img {
        width: clamp(16rem, 15vw, 20rem);
    }

    .home .atocon-nav,
    .front-page .atocon-nav {
        flex-wrap: nowrap;
        gap: clamp(1.2rem, 1.6vw, 2.4rem);
        white-space: nowrap;
    }

    .home .atocon-nav a,
    .front-page .atocon-nav a {
        font-size: clamp(1.35rem, 1.2vw, 1.6rem);
        letter-spacing: 0.04em;
    }

    .home .atocon-nav__login,
    .front-page .atocon-nav__login {
        min-width: 13rem;
        padding: 1rem 1.8rem;
    }

    /* 全ページでマイページ導線を通常ナビより目立たせる。 */
    .atocon-site-header .atocon-nav__login {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 13rem;
        min-height: 4.4rem;
        padding: 1rem 1.8rem;
        border: 0.2rem solid var(--atocon-color-accent, #f15a24);
        border-radius: 999rem;
        color: var(--atocon-color-accent, #f15a24);
        font-size: 1.5rem;
        text-align: center;
    }

    .home .atocon-site-header .atocon-nav__login,
    .front-page .atocon-site-header .atocon-nav__login {
        color: var(--atocon-color-accent, #f15a24);
    }

    .atocon-site-header .atocon-nav__login:hover {
        background: var(--atocon-color-accent, #f15a24);
        border-color: var(--atocon-color-accent, #f15a24);
        color: #ffffff;
    }

    /* ヘッダー文字と重なっていた写真だけをヘッダー下へ移動する。 */
    .atocon-mv__picture {
        top: 11rem;
    }

    .home .atocon-site-header.is-scrolled,
    .front-page .atocon-site-header.is-scrolled {
        background: transparent;
        border-bottom: 0.1rem solid var(--atocon-color-border);
        box-shadow: 0 0.4rem 1.6rem rgba(31, 51, 48, 0.08);
        backdrop-filter: blur(1.6rem) saturate(140%);
        -webkit-backdrop-filter: blur(1.6rem) saturate(140%);
    }

    .home .atocon-site-header.is-scrolled .atocon-container,
    .front-page .atocon-site-header.is-scrolled .atocon-container {
        min-height: 7.6rem;
    }

    .home .atocon-site-header.is-scrolled .atocon-logo__img--default,
    .front-page .atocon-site-header.is-scrolled .atocon-logo__img--default {
        display: none;
    }

    .home .atocon-site-header.is-scrolled .atocon-logo__img--scrolled,
    .front-page .atocon-site-header.is-scrolled .atocon-logo__img--scrolled {
        display: block;
    }

    .home .atocon-site-header.is-scrolled .atocon-nav a,
    .front-page .atocon-site-header.is-scrolled .atocon-nav a {
        color: var(--atocon-color-text, #1f3330);
    }

    .home .atocon-site-header.is-scrolled a.atocon-nav__login,
    .front-page .atocon-site-header.is-scrolled a.atocon-nav__login {
        border-color: var(--atocon-color-accent, #f15a24);
        color: var(--atocon-color-accent, #f15a24);
    }

    /* トップと一覧のコンペカードを一回りコンパクトにする。 */
    .atocon-pickup-card__thumb {
        height: 19rem;
    }

    .atocon-pickup-card__body {
        padding: 2.2rem 2.2rem 2.4rem;
    }

    .atocon-pickup-card strong {
        min-height: 5rem;
        font-size: 1.9rem;
    }

    .atocon-pickup-card__tags {
        margin-bottom: 1.4rem;
    }

    .atocon-pickup-card__meta,
    .atocon-pickup-card__meta--actual {
        font-size: 1.35rem;
    }

    .atocon-page--compe-list .atocon-compe-card__thumb {
        aspect-ratio: 1.65 / 1;
    }

    .atocon-page--compe-list .atocon-compe-card__body {
        padding: 2.2rem;
    }

    .atocon-page--compe-list .atocon-compe-card__title {
        margin-bottom: 1.4rem;
        font-size: 1.9rem;
        letter-spacing: 0.06em;
    }

    .atocon-page--compe-list .atocon-compe-card__badges {
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }

    .atocon-page--compe-list .atocon-compe-card__badges span {
        min-height: 2.6rem;
        padding: 0.35rem 0.9rem;
        font-size: 1.1rem;
    }

    .atocon-page--compe-list .atocon-compe-card__meta {
        gap: 0.8rem;
    }

    .atocon-page--compe-list .atocon-compe-card__meta-row {
        padding-left: 2.3rem;
        font-size: 1.35rem;
    }

    /* 月額ラベルの背景を内容に合う高さへ整える。 */
    .atocon-about-page__plan-row {
        grid-template-columns: 12rem minmax(0, 1fr);
    }

    .atocon-about-page__plan-row dt {
        align-self: stretch;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1.2rem 1.6rem;
    }

    .atocon-about-page__plan-row dd {
        padding: 1.4rem 2.4rem;
    }
}

@media (min-width: 1200px) {
    .atocon-compe-list-layout {
        grid-template-columns: 30rem minmax(0, 1fr);
        gap: 4rem;
        width: min(100% - 7.2rem, 128rem);
    }

    .atocon-compe-results .atocon-compe-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 3rem 2.4rem;
    }
}

/* =====================================================================
   Responsive: SP (max-width: 767px) — Consolidated
   ===================================================================== */
@media (max-width: 767px) {
    /*
     * HOME メインビジュアル
     * 767px 幅の配置値を基準に、300〜767px 間を同じ比率で縮小する。
     */
    .atocon-mv{
        height: min(844 / 767 * 100vw, 844px);
    }

    .atocon-mv__sky{
        height: 100%;
    }

    .atocon-mv::after {
        height: min(470 / 767 * 100vw, 470px);
    }

    .atocon-mv__confetti {
        width: min(12 / 767 * 100vw, 12px);
        height: min(20 / 767 * 100vw, 20px);
    }

    .atocon-mv__confetti--1 { top: min(240 / 767 * 100vw, 240px); }
    .atocon-mv__confetti--3 { top: min(480 / 767 * 100vw, 480px); }
    .atocon-mv__confetti--4 { top: min(360 / 767 * 100vw, 360px); }
    .atocon-mv__confetti--5 { top: min(280 / 767 * 100vw, 280px); }
    .atocon-mv__confetti--8 { top: min(240 / 767 * 100vw, 240px); }
    .atocon-mv__confetti--9 { top: min(540 / 767 * 100vw, 540px); }
    .atocon-mv__confetti--10 { top: min(620 / 767 * 100vw, 620px); }

    .atocon-mv__forest--left{
        left: calc(-1 * min(40 / 767 * 100vw, 40px));
        bottom: 0;
        width: min(360 / 767 * 100vw, 360px);
        z-index: 6;
    }

    .atocon-mv__forest--right{
        right: calc(-1 * min(92 / 767 * 100vw, 92px));
        bottom: 0;
        width: min(491 / 767 * 100vw, 491px);
    }

    .atocon-mv__arrow-img {
        right: calc(-1 * min(261 / 767 * 100vw, 261px));
        bottom: min(34 / 767 * 100vw, 34px);
        width: min(1289 / 767 * 100vw, 1289px);
        height: auto;
        z-index: 4;
    }

    .atocon-mv__character--gorilla {
        left: min(31 / 767 * 100vw, 31px);
        bottom: min(280 / 767 * 100vw, 144px);
        width: min(291 / 767 * 100vw, 291px);
        z-index: 5;
    }

    .atocon-mv__character--rabbit{
        left: min(299 / 767 * 100vw, 299px);
        bottom: min(290 / 767 * 100vw, 236px);
        width: min(161 / 767 * 100vw, 161px);
    }

    .atocon-mv__character--frog{
        right: min(90 / 767 * 100vw, 61px);
        bottom: min(335 / 767 * 100vw, 329px);
        left: auto;
        width: min(138 / 767 * 100vw, 138px);
        z-index: 5;
    }

    .atocon-mv__building {
        right: calc(-1 * min(138 / 767 * 100vw, 138px));
        bottom: min(67 / 767 * 100vw, 67px);
        width: min(522 / 767 * 100vw, 522px);
    }

    .atocon-mv__house--1 {
        left: min(322 / 767 * 100vw, 322px);
        bottom: calc(-1 * min(8 / 767 * 100vw, 8px));
        width: min(384 / 767 * 100vw, 384px);
    }

    .atocon-mv__house--2 {
        left: calc(-1 * min(61 / 767 * 100vw, 61px));
        bottom: calc(-1 * min(8 / 767 * 100vw, 8px));
        width: min(399 / 767 * 100vw, 399px);
        z-index: 3;
    }

    .atocon-mv__cloud--left {
        top: min(135 / 767 * 100vw, 135px);
        left: min(46 / 767 * 100vw, 46px);
        width: min(169 / 767 * 100vw, 169px);
    }

    .atocon-mv__cloud--right {
        top: min(253 / 767 * 100vw, 253px);
        left: auto;
        right: min(23 / 767 * 100vw, 23px);
        width: min(138 / 767 * 100vw, 138px);
    }

    .atocon-mv__picture {
        top: min(101 / 767 * 100vw, 101px);
        left: min(322 / 767 * 100vw, 322px);
        width: min(130 / 767 * 100vw, 130px);
    }

    .atocon-mv__document--1 {
        top: min(177 / 767 * 100vw, 177px);
        right: min(77 / 767 * 100vw, 77px);
        width: min(92 / 767 * 100vw, 92px);
    }

    .atocon-mv__document--2 {
        top: min(312 / 767 * 100vw, 312px);
        right: min(8 / 767 * 100vw, 8px);
        width: min(100 / 767 * 100vw, 100px);
    }
    /* メインビジュアル調整 ここまで */

    /* ---- Magazine / knowhow archive ---- */
    .atocon-knowhow-archive {
        padding: 3rem 0 6rem;
    }

    .atocon-knowhow-archive .atocon-page--knowhow-archive,
    .atocon-knowhow-archive-section {
        padding: 0 2rem;
    }

    /* SPもコンペ一覧ヒーローと数値を揃える */
    .atocon-knowhow-archive-hero {
        display: block;
        width: 100%;
        min-height: 0;
        margin: 0 auto 2rem;
        padding: 4.8rem 0 3rem;
    }

    .atocon-knowhow-archive-hero__title {
        margin-bottom: 2rem;
        font-size: 4.4rem;
        line-height: 1.25;
    }

    .atocon-knowhow-archive-hero__lead {
        font-size: 1.5rem;
        line-height: 2;
    }

    .atocon-knowhow-archive-hero__visual {
        min-height: 22rem;
        margin-top: 2.4rem;
    }

    .atocon-knowhow-archive-hero__arrow {
        bottom: 2rem;
        width: 34rem;
    }

    .atocon-knowhow-archive-hero__gorilla {
        left: 8%;
        bottom: 5rem;
        width: 11rem;
    }

    .atocon-knowhow-archive-hero__rabbit {
        left: 37%;
        bottom: 7.2rem;
        width: 6rem;
    }

    .atocon-knowhow-archive-hero__frog {
        left: 58%;
        bottom: 10.3rem;
        width: 5.5rem;
    }

    .atocon-knowhow-archive-list {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .atocon-knowhow-archive-card__title {
        font-size: 1.7rem;
    }

    .atocon-knowhow-archive-card__excerpt {
        font-size: 1.3rem;
    }

    .atocon-knowhow-archive-pagination {
        margin-top: 3rem;
    }

    .atocon-page--compe-list .navigation.pagination.atocon-knowhow-archive-pagination {
        margin-top: 3rem;
    }

    .atocon-knowhow-tag-filter {
        gap: 0.8rem;
        margin-bottom: 2.4rem;
    }

    .atocon-knowhow-tag-filter__item {
        padding: 0.7rem 1.2rem;
        font-size: 1.2rem;
    }

    /* ---- Magazine / knowhow detail ---- */
    .atocon-knowhow-single {
        padding: 3rem 0 6rem;
    }

    .atocon-knowhow-single__inner {
        width: calc(100% - 4rem);
        padding: 3rem 2rem 4rem;
        border-radius: 1.2rem;
    }

    .atocon-knowhow-single__header {
        margin-bottom: 2.4rem;
    }

    .atocon-knowhow-single__title {
        font-size: 2.4rem;
    }

    .atocon-knowhow-single__eyecatch {
        margin-bottom: 2.4rem;
        border-radius: 0.8rem;
    }

    .atocon-knowhow-single__content {
        font-size: 1.4rem;
        line-height: 1.9;
    }

    .atocon-knowhow-single__content h2 {
        margin: 3rem 0 1.2rem;
        font-size: 2rem;
    }

    .atocon-knowhow-single__content h3 {
        margin: 2.4rem 0 1rem;
        font-size: 1.7rem;
    }

    .atocon-knowhow-single__footer {
        margin-top: 3.6rem;
        padding-top: 2.4rem;
    }

    .atocon-knowhow-single__back {
        padding: 1.2rem 2.4rem;
        font-size: 1.4rem;
    }

    /* ---- News archive + detail ---- */
    /* お知らせ一覧 SP */
    .atocon-news-archive {
        padding: 3rem 0 6rem;
    }

    .atocon-news-archive .atocon-page--news-archive,
    .atocon-news-archive__inner {
        width: 100%;
    }

    .atocon-news-archive-hero {
        display: block;
        width: 100%;
        min-height: 0;
        margin: 0 auto 2rem;
        padding: 3rem 0 2.4rem;
    }

    .atocon-news-archive-hero__title {
        margin-bottom: 1.6rem;
        font-size: 3.4rem;
        line-height: 1.25;
    }

    .atocon-news-archive-hero__lead,
    .atocon-news-archive-hero__lead p {
        font-size: 1.3rem;
        line-height: 1.85;
    }

    .atocon-news-archive-hero__visual {
        min-height: 18rem;
        margin-top: 2rem;
    }

    .atocon-news-archive-hero__arrow {
        bottom: 1rem;
        width: 28rem;
    }

    .atocon-news-archive-hero__gorilla {
        left: 10%;
        bottom: 3.6rem;
        width: 9.6rem;
    }

    .atocon-news-archive-hero__rabbit {
        left: 36%;
        bottom: 6rem;
        width: 5.4rem;
    }

    .atocon-news-archive-hero__frog {
        left: 56%;
        bottom: 8.4rem;
        width: 4.8rem;
    }

    .atocon-news-archive-card__link {
        grid-template-columns: 8.4rem minmax(0, 1fr) 1.6rem;
        gap: 1.6rem;
        min-height: 7rem;
        padding: 1.6rem 2rem 1.6rem 2.4rem;
    }

    .atocon-news-archive-card__date {
        font-size: 1.4rem;
    }

    .atocon-news-archive-card__title {
        font-size: 1.45rem;
    }

    .atocon-news-archive-card__excerpt {
        display: none;
    }

    .atocon-news-archive-pagination {
        margin-top: 3rem;
    }

    /* お知らせ詳細 SP */
    .atocon-news-single {
        padding: 3rem 0 6rem;
    }

    .atocon-news-single__inner {
        padding: 2rem;
        border-radius: 1.2rem;
    }

    .atocon-news-single__header {
        margin-bottom: 2.4rem;
    }

    .atocon-news-single__title {
        font-size: 2.2rem;
    }

    .atocon-news-single__content {
        font-size: 1.4rem;
        line-height: 1.9;
    }

    .atocon-news-single__content h2 {
        margin: 1rem 0;
        font-size: 1.9rem;
    }

    .atocon-news-single__content h3 {
        font-size: 1.6rem;
    }

    .atocon-news-single__footer {
        margin-top: 3.6rem;
        padding-top: 2.4rem;
    }

    .atocon-news-single__back {
        padding: 1.2rem 2.4rem;
        font-size: 1.4rem;
    }

    /* ---- About page ---- */
    .atocon-about-page__hero {
        padding: 3rem 0 2rem;
    }

    .atocon-about-page__hero .atocon-about-page__inner {
        display: block;
        min-height: 0;
    }

    .atocon-about-page__hero-visual {
        display: none;
    }

    .atocon-about-page__hero-title {
        margin-bottom: 1.6rem;
        font-size: 3.4rem;
    }

    .atocon-about-page__hero-lead {
        font-size: 1.3rem;
        line-height: 1.85;
    }

    .atocon-about-page__hero-visual {
        min-height: 20rem;
        margin-top: 2rem;
    }

    .atocon-about-page__hero-arrow {
        bottom: 1rem;
        width: 30rem;
    }

    .atocon-about-page__hero-gorilla {
        left: 6%;
        bottom: 4rem;
        width: 11rem;
    }

    .atocon-about-page__hero-rabbit {
        left: 36%;
        bottom: 6.4rem;
        width: 6rem;
    }

    .atocon-about-page__hero-frog {
        left: 58%;
        bottom: 9rem;
        width: 5.4rem;
    }

    .atocon-about-page__section {
        padding: 3rem 0;
    }

    .atocon-about-page__section-title {
        margin-bottom: 2.4rem;
        font-size: 2.4rem;
    }

    .atocon-about-page__feature-body {
        display: block;
    }

    .atocon-about-page__feature-title {
        margin-bottom: 1.6rem;
        font-size: 2rem;
        text-align: center;
    }

    .atocon-about-page__feature-body p {
        font-size: 1.3rem;
    }

    .atocon-about-page__feature-note {
        font-size: 1.2rem !important;
    }

    .atocon-about-page__section--content .atocon-about-page__content {
        padding: 2.4rem 2rem;
        font-size: 1.4rem;
    }

    .atocon-about-page__free-list li {
        font-size: 1.4rem;
        padding: 1.2rem 1.6rem;
    }

    .atocon-about-page__paid-lead {
        font-size: 1.3rem;
        margin-top: -0.8rem;
        margin-bottom: 2.4rem;
    }

    .atocon-about-page__plan-row {
        grid-template-columns: 11rem minmax(0, 1fr);
    }

    .atocon-about-page__plan-row dt {
        font-size: 1.4rem;
    }

    .atocon-about-page__plan-row dd {
        padding: 1.4rem 1.6rem;
    }

    .atocon-about-page__plan-row dd strong {
        font-size: 2.4rem;
    }

    .atocon-about-page__plan-row dd span {
        font-size: 1.3rem;
    }

    .atocon-about-page__button {
        padding: 1.3rem 2.4rem;
        font-size: 1.4rem;
        min-width: 18rem;
    }

    .atocon-about-page__faq-item summary {
        padding: 1.4rem 4rem 1.4rem 2rem;
        font-size: 1.35rem;
    }

    .atocon-about-page__faq-item summary::after {
        right: 1.8rem;
    }

    .atocon-about-page__faq-item details > p {
        padding: 0 2rem 1.6rem;
        font-size: 1.25rem;
    }

    /* ---- My page ---- */
    .atocon-mypage {
        padding: 3rem 0 6rem;
    }

    .atocon-mypage__title {
        font-size: 2.8rem;
    }

    .atocon-mypage__section {
        padding: 2rem 1.6rem;
        margin-bottom: 2.4rem;
        border-radius: 1.2rem;
    }

    .atocon-mypage__section-title {
        font-size: 1.8rem;
    }

    .atocon-mypage__profile-row {
        grid-template-columns: 9rem minmax(0, 1fr);
        gap: 1rem;
        padding: 0.8rem 0;
    }

    .atocon-mypage__profile-row dt {
        font-size: 1.2rem;
    }

    .atocon-mypage__profile-row dd {
        font-size: 1.3rem;
    }

    .atocon-mypage__fav-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.4rem 1.4rem;
    }

    .atocon-mypage__fav-card .atocon-favorite-button {
        justify-content: flex-start;
    }

    .atocon-mypage__fav-title {
        font-size: 1.45rem;
    }

    .atocon-mypage__memo-text {
        font-size: 1.3rem;
    }

    .atocon-mypage__button {
        padding: 1rem 2rem;
        font-size: 1.3rem;
    }
    .atocon-mypage__plan-row {
        grid-template-columns: 9rem minmax(0, 1fr);
        gap: 1rem;
        padding: 0.8rem 0;
    }
    .atocon-mypage__orders-table th,
    .atocon-mypage__orders-table td {
        padding: 0.7rem 0.8rem;
        font-size: 1.25rem;
    }
    .atocon-mypage__order-status {
        font-size: 1rem;
    }

    /* ---- Competition filter: SP accordion ---- */
    .atocon-compe-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        margin: 0 0 1.6rem;
        padding: 1.4rem 2rem;
        border: 0.2rem solid var(--atocon-color-accent, #f15a24);
        background: #ffffff;
        color: var(--atocon-color-accent, #f15a24);
        border-radius: 999rem;
        font-size: 1.4rem;
        font-weight: 900;
        cursor: pointer;
        line-height: 1.2;
    }

    /* コンペ一覧は検索をファーストビューへ寄せ、カードを横型にする。 */
    .atocon-compe-list-hero {
        min-height: 0;
        margin: 0;
        padding: 2.4rem 2rem 1.2rem;
    }

    .atocon-compe-list-hero__body {
        width: 100%;
    }

    .atocon-compe-list-hero .atocon-page__title {
        margin: 0;
        font-size: 2.8rem;
    }

    .atocon-compe-list-hero__visual,
    .atocon-page--compe-list > .atocon-page__content {
        display: none;
    }

    .atocon-compe-list-layout {
        width: 100%;
        padding: 1.2rem 1.6rem 5rem;
        box-sizing: border-box;
    }

    #atocon-compe-results {
        scroll-margin-top: 7rem;
        outline: none;
    }

    .atocon-compe-results .atocon-compe-list {
        gap: 1.6rem;
    }

    .atocon-page--compe-list .atocon-compe-card {
        border-radius: 1.4rem;
        overflow: hidden;
    }

    .atocon-page--compe-list .atocon-compe-card__link {
        display: grid;
        grid-template-columns: clamp(9rem, 34vw, 13rem) minmax(0, 1fr);
        min-height: 13rem;
    }

    .atocon-page--compe-list .atocon-compe-card__thumb {
        height: 100%;
        min-height: 13rem;
        aspect-ratio: auto;
    }

    .atocon-page--compe-list .atocon-compe-card__body {
        min-width: 0;
        padding: 1.4rem 1.2rem;
    }

    .atocon-page--compe-list .atocon-compe-card__badges {
        gap: 0.4rem;
        margin-bottom: 0.8rem;
    }

    .atocon-page--compe-list .atocon-compe-card__badges span {
        padding: 0.3rem 0.6rem;
        font-size: 0.95rem;
    }

    .atocon-page--compe-list .atocon-compe-card__title {
        font-size: 1.35rem;
        line-height: 1.45;
        letter-spacing: 0.02em;
    }

    .atocon-page--compe-list .atocon-compe-card__meta {
        margin-top: 0.9rem;
    }

    .atocon-page--compe-list .atocon-compe-card__meta-row {
        font-size: 1.15rem;
    }

    .atocon-compe-filter-toggle__icon {
        position: relative;
        width: 1.2rem;
        height: 1.2rem;
    }

    .atocon-compe-filter-toggle__icon::before,
    .atocon-compe-filter-toggle__icon::after {
        position: absolute;
        top: 50%;
        left: 50%;
        background: currentColor;
        content: "";
        transition: transform 0.2s ease;
    }

    .atocon-compe-filter-toggle__icon::before {
        width: 1.2rem;
        height: 0.2rem;
        transform: translate(-50%, -50%);
    }

    .atocon-compe-filter-toggle__icon::after {
        width: 0.2rem;
        height: 1.2rem;
        transform: translate(-50%, -50%);
    }

    .atocon-compe-filter-toggle[aria-expanded="true"] .atocon-compe-filter-toggle__icon::after {
        transform: translate(-50%, -50%) scaleY(0);
    }

    /* SP: フォーム初期非表示。.is-open で展開 */
    .atocon-compe-filter {
        display: none;
    }
    .atocon-compe-filter.is-open {
        display: block;
    }

    /* ---- Hero visual: SP hide ---- */
    .atocon-news-archive-hero__visual,
    .atocon-knowhow-archive-hero__visual {
        display: none;
    }

    /* ---- Front page: 「see all」 link ---- */
    .atocon-front-more a {
        font-size: 1.6rem;
    }
}

/* ==========================================================================
   Accessibility redesign follow-up 2026-07-14
   ========================================================================== */

/* Restore the original key-visual height and use line-sized orange backing. */
.home .atocon-mv,
.front-page .atocon-mv,
.home .atocon-mv__sky,
.front-page .atocon-mv__sky {
    height: min(1080 / 1920 * 100vw, 1080px);
}

.atocon-mv__copy {
    width: min(72rem, calc(100% - 7.2rem));
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.atocon-mv__copy p,
.atocon-mv__copy h1 {
    margin: 0 0 1.2rem;
}

.atocon-mv__copy p:last-child {
    margin-bottom: 0;
}

.atocon-mv__copy p span,
.atocon-mv__copy h1 span {
    padding: 0.15em 0;
    background: var(--atocon-color-accent, #f15a24);
    box-shadow: 0.45em 0 0 var(--atocon-color-accent, #f15a24), -0.45em 0 0 var(--atocon-color-accent, #f15a24);
    color: #ffffff;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.atocon-mv__eyebrow,
.atocon-mv__copy h1,
.atocon-mv__copy > p:last-child {
    color: #ffffff;
}

/* HOME competition cards deliberately share the list-page card design. */
.atocon-front-compe-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem 2.4rem;
}

.atocon-front-compe-list .atocon-compe-card {
    padding: 0;
    border: 0;
    border-radius: 2.4rem;
    background: #ffffff;
    box-shadow: 0 1rem 1.8rem rgba(17, 17, 17, 0.2);
}

.atocon-front-compe-list .atocon-compe-card__thumb {
    aspect-ratio: 1.48 / 1;
}

.atocon-front-compe-list .atocon-compe-card__body {
    padding: 3.2rem 3rem 3.4rem;
}

.atocon-front-compes .atocon-front-more {
    margin-top: 5.6rem;
    text-align: center;
}

.atocon-front-compes .atocon-front-more a {
    min-width: min(100%, 36rem);
    min-height: 6.4rem;
    justify-content: center;
    padding: 1.4rem 3.2rem;
    border-radius: 999rem;
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
    font-size: 2rem;
}

.atocon-front-compes .atocon-front-more a span {
    width: 1.4rem;
    height: 1.4rem;
    border: 0;
    border-radius: 0;
}

.atocon-front-compes .atocon-front-more a span::before {
    width: 1rem;
    height: 1rem;
    border-color: #ffffff;
    border-width: 0.2rem;
}

/* Know-how spacing and compact article typography. */
.atocon-front-pickup--knowhow {
    padding-top: 10rem;
}

.atocon-front-pickup--knowhow .atocon-knowhow-card strong,
.atocon-front-pickup--knowhow .atocon-knowhow-card span:last-child {
    font-size: 1.4rem;
}

/* Full About/paid/FAQ content moved to HOME. */
.atocon-front-about--membership {
    scroll-margin-top: 8rem;
    padding: 9rem 0;
}

.atocon-front-membership__intro {
    width: min(100%, 72rem);
    margin: 0 auto;
    text-align: center;
}

.atocon-front-membership__intro h2 {
    margin-bottom: 1.6rem;
}

.atocon-front-about--membership .atocon-about-page__section {
    padding-bottom: 0;
}

/* Screenshot-inspired news: no white pills, just dividers and hierarchy. */
.atocon-front-news {
    padding: 8rem 0;
    background: #eef7ff;
}

.atocon-front-inner-news {
    width: min(100% - 7.2rem, 120rem);
}

.atocon-front-news__eyebrow {
    margin: 0 0 0.8rem;
    color: #1266a3;
    font-family: var(--atocon-font-en);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
}

.atocon-front-news h2 {
    margin: 0 0 4.8rem;
    text-align: center;
}

.atocon-news-list {
    gap: 0;
    border-top: 0.1rem solid #d8e4ec;
}

.atocon-news-item {
    grid-template-columns: 14rem 13rem minmax(0, 1fr);
    gap: 2.4rem;
    min-height: 7.2rem;
    padding: 1.6rem 2rem;
    border-bottom: 0.1rem solid #d8e4ec;
    border-radius: 0;
    background: transparent;
}

.atocon-news-item time {
    color: #83909a;
    font-size: 1.4rem;
    font-weight: 500;
}

.atocon-news-item__category {
    display: inline-flex;
    width: auto;
    height: auto;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.2rem;
    border: 0;
    border-radius: 0;
    background: #1679bc;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
}

.atocon-news-item__category::before {
    content: none;
}

.atocon-news-item strong {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Competition finder refinements. */
.atocon-compe__content p {
    font-weight: 400;
}

.atocon-compe-card__placeholder {
    background: linear-gradient(135deg, #ffe5c9, #ff9f66);
}

.atocon-compe-card__placeholder--photo { background: linear-gradient(135deg, #a9e9ff, #36bff2); }
.atocon-compe-card__placeholder--design { background: linear-gradient(135deg, #ffe788, #ff9a4d); }
.atocon-compe-card__placeholder--digital { background: linear-gradient(135deg, #d7c8ff, #8a79ff); }
.atocon-compe-card__placeholder--craft { background: linear-gradient(135deg, #f3d6ae, #d79a62); }
.atocon-compe-card__placeholder--residency { background: linear-gradient(135deg, #baf3d1, #54cf91); }
.atocon-compe-card__placeholder--funding { background: linear-gradient(135deg, #ffd1df, #ff7fad); }
.atocon-compe-card__placeholder--other { background: linear-gradient(135deg, #d5ece7, #78beb1); }

@media (max-width: 900px) {
    .home .atocon-mv,
    .front-page .atocon-mv {
        height: auto;
        overflow: visible;
        background: #ffffff;
    }

    .home .atocon-mv__sky,
    .front-page .atocon-mv__sky {
        height: min(844 / 767 * 100vw, 844px);
        background: linear-gradient(#5bc1e2 0%, #b7e3f0 61%, #2098c4 61%, #24a2cb 100%);
        overflow: hidden;
    }

    .atocon-mv::after {
        top: calc(min(844 / 767 * 100vw, 844px) - min(470 / 767 * 100vw, 470px));
        bottom: auto;
    }

    .atocon-mv__copy {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        padding: 3.2rem 2.4rem 3.6rem;
        background: #ffffff;
    }

    .atocon-mv__copy h1 {
        font-size: clamp(2.4rem, 7vw, 3.2rem);
    }

    .atocon-mv__copy > p:last-child {
        font-size: 1.4rem;
    }

    .atocon-front-compe-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .atocon-front-compe-list {
        grid-template-columns: 1fr;
    }

    .atocon-front-pickup--knowhow {
        padding-top: 7.2rem;
    }

    .atocon-front-about--membership {
        padding: 6.4rem 0;
    }

    .atocon-front-about--membership .atocon-about-page__section {
        padding-top: 4.8rem;
    }

    .atocon-front-inner-news {
        width: calc(100% - 4rem);
        padding: 0;
    }

    .atocon-news-item {
        grid-template-columns: 9rem minmax(0, 1fr);
        gap: 0.8rem 1.2rem;
        padding: 1.6rem 0;
    }

    .atocon-news-item time {
        grid-column: 1;
        grid-row: 1;
    }

    .atocon-news-item__category {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
    }

    .atocon-news-item strong {
        grid-column: 1 / -1;
        grid-row: 2;
        line-height: 1.65;
    }
}

/* =====================================================================
   HOME visual refinements (2026-07-13)
   ===================================================================== */

/* KV: keep the confetti in the open sky, away from the three characters. */
.atocon-mv__confetti--1 {
    top: min(190 / 1920 * 100vw, 190px);
    left: min(70 / 1920 * 100vw, 70px);
}

.atocon-mv__confetti--2 {
    top: min(340 / 1920 * 100vw, 340px);
    left: min(880 / 1920 * 100vw, 880px);
}

.atocon-mv__confetti--3 {
    top: min(640 / 1920 * 100vw, 640px);
    left: min(1040 / 1920 * 100vw, 1040px);
}

.atocon-mv__confetti--4 {
    top: min(220 / 1920 * 100vw, 220px);
    right: min(590 / 1920 * 100vw, 590px);
}

.atocon-mv__confetti--5 {
    top: min(280 / 1920 * 100vw, 280px);
    right: min(300 / 1920 * 100vw, 300px);
}

.atocon-mv__confetti--6 {
    top: min(430 / 1920 * 100vw, 430px);
    left: min(110 / 1920 * 100vw, 110px);
}

.atocon-mv__confetti--7 {
    top: min(110 / 1920 * 100vw, 110px);
    left: min(530 / 1920 * 100vw, 530px);
}

.atocon-mv__confetti--8 {
    top: min(170 / 1920 * 100vw, 170px);
    right: min(720 / 1920 * 100vw, 720px);
}

.atocon-mv__confetti--9 {
    top: min(690 / 1920 * 100vw, 690px);
    right: min(430 / 1920 * 100vw, 430px);
}

.atocon-mv__confetti--10 {
    top: min(620 / 1920 * 100vw, 620px);
    right: min(160 / 1920 * 100vw, 160px);
}

@media (max-width: 767px) {
    .atocon-mv__confetti--3 {
        top: min(1550 / 1920 * 100vw, 620px);
    }
}

@media (min-width: 901px) {
    /* HOME: white before scrolling, orange once the glass header is active. */
    .home .atocon-site-header .atocon-nav__login,
    .front-page .atocon-site-header .atocon-nav__login {
        border-color: #ffffff;
        background: transparent;
        color: #ffffff;
    }

    .home .atocon-site-header.is-scrolled,
    .front-page .atocon-site-header.is-scrolled {
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(1.6rem) saturate(140%);
        -webkit-backdrop-filter: blur(1.6rem) saturate(140%);
    }

    .home .atocon-site-header.is-scrolled a.atocon-nav__login,
    .front-page .atocon-site-header.is-scrolled a.atocon-nav__login {
        border-color: var(--atocon-color-accent, #f15a24);
        background: transparent;
        color: var(--atocon-color-accent, #f15a24);
    }

    .home .atocon-site-header a.atocon-nav__login:hover,
    .front-page .atocon-site-header a.atocon-nav__login:hover,
    .home .atocon-site-header.is-scrolled a.atocon-nav__login:hover,
    .front-page .atocon-site-header.is-scrolled a.atocon-nav__login:hover {
        border-color: var(--atocon-color-accent, #f15a24);
        background: var(--atocon-color-accent, #f15a24);
        color: #ffffff;
    }
}

@media (max-width: 900px) {
    /* The fixed inner container is the visible header surface at this width. */
    .home .atocon-site-header.is-scrolled .atocon-container,
    .front-page .atocon-site-header.is-scrolled .atocon-container {
        background: rgba(255, 255, 255, 0.72);
        backdrop-filter: blur(1.2rem) saturate(140%);
        -webkit-backdrop-filter: blur(1.2rem) saturate(140%);
    }
}

/* ABOUT: stack the character row above the copy, scaled from a 900px canvas. */
@media (min-width: 450px) and (max-width: 900px) {
    .atocon-front-about__grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 0;
        padding-top: min(60 / 900 * 100vw, 60px);
        padding-bottom: min(136 / 900 * 100vw, 136px);
        text-align: center;
    }

    .atocon-front-about__characters {
        width: calc(100% + min(72 / 900 * 100vw, 72px));
        min-height: min(560 / 900 * 100vw, 560px);
        margin-left: calc(-1 * min(36 / 900 * 100vw, 36px));
    }

    .atocon-front-about__gorilla {
        top: min(40 / 900 * 100vw, 40px);
        right: auto;
        bottom: auto;
        left: min(60 / 900 * 100vw, 60px);
        width: min(465 / 900 * 100vw, 465px);
    }

    .atocon-front-about__rabbit {
        top: min(168 / 900 * 100vw, 168px);
        right: auto;
        bottom: auto;
        left: min(475 / 900 * 100vw, 475px);
        width: min(205 / 900 * 100vw, 205px);
    }

    .atocon-front-about__frog {
        top: min(197 / 900 * 100vw, 197px);
        right: auto;
        bottom: auto;
        left: min(763 / 900 * 100vw, 763px);
        width: min(186 / 900 * 100vw, 186px);
    }

    .atocon-front-about__body {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 0;
        padding-left: 0;
        text-align: center;
    }

    .atocon-front-about h2 {
        width: auto;
        margin-top: min(42 / 900 * 100vw, 42px);
        margin-bottom: min(50 / 900 * 100vw, 50px);
        font-size: min(78 / 900 * 100vw, 78px);
        line-height: 1.2;
    }

    .atocon-front-about__body p {
        width: min(650 / 900 * 100vw, 650px);
        max-width: 100%;
        margin-bottom: min(60 / 900 * 100vw, 60px);
        font-size: min(36 / 900 * 100vw, 36px);
        line-height: 2;
    }

    .atocon-about-button {
        min-width: min(625 / 900 * 100vw, 625px);
        min-height: min(170 / 900 * 100vw, 170px);
        border-width: min(4 / 900 * 100vw, 4px);
        font-size: min(52 / 900 * 100vw, 52px);
    }
}

/* =====================================================================
   Competition / tablet responsive refinements (2026-07-13)
   ===================================================================== */

/* Keep the official-site button orange and make hover feel lighter. */
.atocon-compe__official a,
.postcompe__sitebtn a {
    transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.atocon-compe__official a:hover,
.postcompe__sitebtn a:hover {
    border-color: var(--atocon-color-accent, #f15a24);
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
    opacity: 0.8;
}

@media (min-width: 768px) and (max-width: 900px) {
    /* HOME intro: keep the heading and description side by side. */
    .atocon-front-intro__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: min(48 / 900 * 100vw, 48px);
    }

    .atocon-front-intro__copy {
        max-width: none;
        margin-top: 0;
    }

    /* HOME deadline pickup: show up to three cards in one row. */
    .atocon-pickup-compe-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: min(20 / 900 * 100vw, 20px);
    }

    .atocon-pickup-card__thumb {
        height: min(170 / 900 * 100vw, 170px);
    }

    .atocon-pickup-card__body {
        padding: min(18 / 900 * 100vw, 18px);
    }

    .atocon-pickup-card strong {
        font-size: min(18 / 900 * 100vw, 18px);
    }

    .atocon-pickup-card__tags {
        gap: min(6 / 900 * 100vw, 6px);
        margin-bottom: min(14 / 900 * 100vw, 14px);
    }

    .atocon-pickup-card__tags span {
        padding: min(4 / 900 * 100vw, 4px) min(8 / 900 * 100vw, 8px);
        font-size: min(11 / 900 * 100vw, 11px);
    }

    .atocon-pickup-card__meta,
    .atocon-pickup-card__meta--actual {
        padding-left: min(22 / 900 * 100vw, 22px);
        font-size: min(13 / 900 * 100vw, 13px);
    }

    /* HOME search: keep all six condition buttons on one line. */
    .atocon-search-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: min(10 / 900 * 100vw, 10px);
    }

    .atocon-search-link img {
        width: 100%;
        max-width: min(132 / 900 * 100vw, 132px);
        transform: none;
    }

    /* Competition archive: use the existing mobile accordion behaviour. */
    .atocon-compe-filter-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: min(10 / 900 * 100vw, 10px);
        width: 100%;
        margin: 0 0 min(20 / 900 * 100vw, 20px);
        padding: min(16 / 900 * 100vw, 16px) min(24 / 900 * 100vw, 24px);
        border: min(2 / 900 * 100vw, 2px) solid var(--atocon-color-accent, #f15a24);
        border-radius: 999rem;
        background: #ffffff;
        color: var(--atocon-color-accent, #f15a24);
        font-size: min(16 / 900 * 100vw, 16px);
        font-weight: 900;
        line-height: 1.2;
        cursor: pointer;
    }

    .atocon-compe-filter-toggle__icon {
        position: relative;
        width: min(14 / 900 * 100vw, 14px);
        height: min(14 / 900 * 100vw, 14px);
    }

    .atocon-compe-filter-toggle__icon::before,
    .atocon-compe-filter-toggle__icon::after {
        position: absolute;
        top: 50%;
        left: 50%;
        background: currentColor;
        content: "";
        transition: transform 0.2s ease;
    }

    .atocon-compe-filter-toggle__icon::before {
        width: min(14 / 900 * 100vw, 14px);
        height: min(2 / 900 * 100vw, 2px);
        transform: translate(-50%, -50%);
    }

    .atocon-compe-filter-toggle__icon::after {
        width: min(2 / 900 * 100vw, 2px);
        height: min(14 / 900 * 100vw, 14px);
        transform: translate(-50%, -50%);
    }

    .atocon-compe-filter-toggle[aria-expanded="true"] .atocon-compe-filter-toggle__icon::after {
        transform: translate(-50%, -50%) scaleY(0);
    }

    .atocon-compe-list-layout {
        display: block;
        width: calc(100vw - min(48 / 900 * 100vw, 48px));
        max-width: min(852 / 900 * 100vw, 852px);
        padding-top: min(24 / 900 * 100vw, 24px);
    }

    .atocon-compe-filter {
        display: none;
        margin-bottom: min(36 / 900 * 100vw, 36px);
    }

    .atocon-compe-filter.is-open {
        display: block;
    }

    .atocon-compe-results .atocon-compe-list,
    .atocon-compe-single-page__aside .atocon-compe-list,
    .atocon-knowhow-archive-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: min(28 / 900 * 100vw, 28px) min(20 / 900 * 100vw, 20px);
    }

    .atocon-compe-list.atocon-compe-aside__list {
        margin-right: 0;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    /* Related competitions: one horizontal card per row, matching the archive. */
    .atocon-compe-single-page__aside .atocon-compe-list {
        grid-template-columns: 1fr;
        gap: min(18 / 767 * 100vw, 18px);
    }

    .atocon-compe-list.atocon-compe-aside__list {
        margin-right: 0;
        margin-left: 0;
    }

    .atocon-compe-single-page__aside .atocon-compe-card__link {
        display: grid;
        grid-template-columns: min(280 / 767 * 100vw, 280px) minmax(0, 1fr);
        min-height: min(250 / 767 * 100vw, 250px);
    }

    .atocon-compe-single-page__aside .atocon-compe-card__thumb {
        height: 100%;
        min-height: min(250 / 767 * 100vw, 250px);
        aspect-ratio: auto;
    }

    .atocon-compe-single-page__aside .atocon-compe-card__body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: min(28 / 767 * 100vw, 28px);
    }

    .atocon-compe-single-page__aside .atocon-compe-card__title {
        margin-bottom: min(22 / 767 * 100vw, 22px);
        font-size: min(29 / 767 * 100vw, 29px);
        line-height: 1.45;
    }

    .atocon-compe-single-page__aside .atocon-compe-card__meta-row {
        min-height: min(28 / 767 * 100vw, 28px);
        padding-left: min(38 / 767 * 100vw, 38px);
        font-size: min(24 / 767 * 100vw, 24px);
    }

    .atocon-compe-single-page__aside .atocon-compe-card__meta-row::before {
        width: min(26 / 767 * 100vw, 26px);
        height: min(26 / 767 * 100vw, 26px);
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    /* Reduce empty vertical space while preserving the existing KV placement. */
    .atocon-mv {
        height: min(720 / 767 * 100vw, 720px);
    }
}

/* ==========================================================================
   Accessibility redesign 2026-07-14
   HOME / competition finder / shared keyboard affordances
   ========================================================================== */

/* Shared keyboard access */
.screen-reader-text.skip-link {
    position: fixed !important;
    top: 1.2rem;
    left: 1.2rem;
    z-index: 10000;
    width: auto;
    height: auto;
    padding: 1.2rem 1.8rem;
    clip: auto;
    clip-path: none;
    overflow: visible;
    transform: translateY(-160%);
    border-radius: 0.8rem;
    background: #ffffff;
    color: #111111;
    font-size: 1.6rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.2);
    transition: transform 0.15s ease;
}

.screen-reader-text.skip-link:focus {
    transform: translateY(0);
}

body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 0.3rem solid #075dcc !important;
    outline-offset: 0.3rem !important;
    box-shadow: 0 0 0 0.3rem #ffffff !important;
}

.atocon-menu-open {
    overscroll-behavior: none;
}

/* HOME: compact hero with its copy inside the key visual */
.home .atocon-mv,
.front-page .atocon-mv,
.home .atocon-mv__sky,
.front-page .atocon-mv__sky {
    height: clamp(48rem, 42vw, 68rem);
}

.atocon-mv__copy {
    position: absolute;
    z-index: 20;
    bottom: 4.8rem;
    left: max(3.6rem, calc((100% - 108rem) / 2));
    width: min(66rem, calc(100% - 7.2rem));
    padding: 2.8rem 3.2rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.4);
    border-radius: 1.6rem;
    background: rgba(18, 61, 76, 0.82);
    color: #ffffff;
    box-shadow: 0 1.2rem 3.6rem rgba(13, 55, 70, 0.24);
    backdrop-filter: blur(0.6rem);
}

.atocon-mv__eyebrow {
    margin: 0 0 0.8rem;
    color: #ffe2c8;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.atocon-mv__copy h1 {
    margin: 0;
    color: #ffffff;
    font-family: var(--atocon-font-heading);
    font-size: clamp(3.4rem, 3.4vw, 4.6rem);
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.atocon-mv__copy > p:last-child {
    margin: 1.4rem 0 0;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.8;
}

/* HOME: nine domestic competitions */
.atocon-front-compes {
    padding: 8rem 0 9rem;
    background: #fffaf2;
}

.atocon-front-compes .atocon-front-title-row {
    margin-bottom: 3.6rem;
}

.atocon-front-compes .atocon-front-title-row h2 {
    margin: 0;
    font-size: clamp(3rem, 4vw, 4.4rem);
    line-height: 1.3;
}

.atocon-front-compes .atocon-front-title-row > p {
    font-size: 1.6rem;
}

.atocon-front-compe-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.atocon-front-compe-list .atocon-compe-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 1.6rem;
    background: #ffffff;
    box-shadow: 0 0.8rem 2.4rem rgba(31, 51, 48, 0.1);
}

.atocon-front-compe-list .atocon-compe-card__link {
    height: 100%;
}

.atocon-front-more a {
    min-height: 4.8rem;
}

/* Genre-aware fallback visual */
.atocon-compe-card__placeholder {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 18rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5d5bd, #f2834f);
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.atocon-compe-card__placeholder::before {
    position: absolute;
    width: 12rem;
    height: 12rem;
    border: 1.6rem solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    content: "";
    transform: translate(-5.5rem, -3.5rem);
}

.atocon-compe-card__placeholder::after {
    position: absolute;
    right: -2rem;
    bottom: -4rem;
    width: 14rem;
    height: 14rem;
    border-radius: 2.4rem;
    background: rgba(255, 255, 255, 0.16);
    content: "";
    transform: rotate(28deg);
}

.atocon-compe-card__placeholder span {
    position: relative;
    z-index: 1;
    padding: 0.8rem 1.4rem;
}

.atocon-compe-card__placeholder--photo { background: linear-gradient(135deg, #4da7c8, #185f84); }
.atocon-compe-card__placeholder--design { background: linear-gradient(135deg, #f2b632, #e26032); }
.atocon-compe-card__placeholder--digital { background: linear-gradient(135deg, #7466d8, #3e397e); }
.atocon-compe-card__placeholder--craft { background: linear-gradient(135deg, #bb8a5d, #785135); }
.atocon-compe-card__placeholder--residency { background: linear-gradient(135deg, #5fae85, #287557); }
.atocon-compe-card__placeholder--funding { background: linear-gradient(135deg, #e886a2, #a63c63); }
.atocon-compe-card__placeholder--other { background: linear-gradient(135deg, #8ca39f, #47635e); }

/* HOME: compact membership summary brought over from About */
.atocon-front-about--membership {
    padding: 8rem 0;
    background: #fff3df;
}

.atocon-front-membership {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 4rem 6rem;
    align-items: center;
}

.atocon-front-membership__intro h2 {
    margin: 0 0 1.6rem;
    font-size: clamp(3rem, 4vw, 4.4rem);
    line-height: 1.35;
}

.atocon-front-membership__intro h2 span {
    display: block;
}

.atocon-front-membership__intro > p:last-child {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.9;
}

.atocon-front-membership__features {
    display: grid;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.atocon-front-membership__features li {
    display: grid;
    grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
    gap: 1.6rem;
    align-items: center;
    min-height: 6.4rem;
    padding: 1.4rem 1.8rem;
    border-radius: 1.2rem;
    background: #ffffff;
}

.atocon-front-membership__features strong,
.atocon-front-membership__features span {
    font-size: 1.5rem;
}

.atocon-front-membership__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
}

.atocon-front-membership__actions .atocon-about-button {
    display: inline-flex;
    min-width: 24rem;
    min-height: 5.2rem;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    text-align: center;
}

.atocon-about-button--secondary {
    background: #ffffff;
    color: var(--atocon-color-accent, #f15a24);
}

/* HOME: news is intentionally secondary and compact */
.atocon-front-news {
    padding: 5.6rem 0;
}

.atocon-front-news h2 {
    margin-bottom: 2.4rem;
    font-size: 4.5rem;
}

.atocon-news-item {
    min-height: 4.8rem;
    padding: 1.2rem 0;
}

.atocon-news-item time {
    font-size: 1.4rem;
}

.atocon-news-item strong {
    font-size: 1.5rem;
}

.atocon-front-news .atocon-front-more {
    margin-top: 2.4rem;
}

.atocon-front-news .atocon-front-more a {
    font-size: 1.5rem;
}

/* Competition finder: progressive disclosure, active chips and sorting */
.atocon-compe-filter__advanced {
    margin: 0 -0.4rem 2rem;
    border-top: 0.1rem solid #eadfcd;
    border-bottom: 0.1rem solid #eadfcd;
}

.atocon-compe-filter__advanced > summary {
    display: flex;
    min-height: 4.8rem;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0.4rem;
    color: #1f3330;
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.atocon-compe-filter__advanced > summary::-webkit-details-marker {
    display: none;
}

.atocon-compe-filter__advanced > summary::after {
    content: "+";
    color: var(--atocon-color-accent, #f15a24);
    font-size: 2.4rem;
    line-height: 1;
}

.atocon-compe-filter__advanced[open] > summary::after {
    content: "−";
}

.atocon-compe-filter__advanced-body {
    padding: 0.8rem 0 0;
}

.atocon-compe-filter__section--locked {
    opacity: 1;
}

.atocon-compe-filter__locked-note {
    padding: 1.2rem;
    border-radius: 0.8rem;
    background: #fff5e6;
    font-size: 1.4rem;
    line-height: 1.7;
}

.atocon-compe-results__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    margin-bottom: 2rem;
}

.atocon-compe-results__toolbar .atocon-compe-results__count {
    margin: 0;
    font-size: 1.7rem;
}

.atocon-compe-sort {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.atocon-compe-sort label {
    font-size: 1.4rem;
    font-weight: 900;
}

.atocon-compe-sort select,
.atocon-compe-sort button {
    min-height: 4.4rem;
    border: 0.1rem solid #c9bda9;
    border-radius: 0.8rem;
    background: #ffffff;
    color: #1f3330;
    font: inherit;
    font-size: 1.4rem;
}

.atocon-compe-sort select {
    padding: 0.8rem 3.2rem 0.8rem 1.2rem;
}

.atocon-compe-sort button {
    padding: 0.8rem 1.4rem;
    border-color: var(--atocon-color-accent, #f15a24);
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
}

.atocon-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin: 0 0 2.4rem;
    padding: 1.4rem;
    border-radius: 1.2rem;
    background: #ffffff;
}

.atocon-active-filters__label {
    font-size: 1.4rem;
    font-weight: 900;
}

.atocon-active-filters ul {
    display: flex;
    flex: 1 1 30rem;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.atocon-active-filters li a {
    display: inline-flex;
    min-height: 4.4rem;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    border: 0.1rem solid var(--atocon-color-accent, #f15a24);
    border-radius: 999rem;
    background: #fff8f3;
    color: #6b2c14;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

.atocon-active-filters li a span {
    font-size: 1.8rem;
    line-height: 1;
}

.atocon-active-filters__clear {
    min-height: 4.4rem;
    padding: 1rem 0.8rem;
    color: #444444;
    font-size: 1.4rem;
}

/* Readability for competition cards */
.atocon-compe-card__badges span {
    font-size: 1.2rem;
}

.atocon-front-compe-list .atocon-compe-card__badges span,
.atocon-compe-results .atocon-compe-card__badges span {
    font-size: 1.4rem;
}

.atocon-compe-card__title {
    font-size: 1.7rem;
}

.atocon-compe-card__meta-row {
    font-size: 1.4rem;
}

.atocon-compe-filter label,
.atocon-compe-filter__keyword input,
.atocon-compe-filter__button,
.atocon-compe-filter__reset {
    font-size: 1.4rem;
}

.atocon-compe-filter input[type="checkbox"],
.atocon-compe-filter input[type="radio"] {
    width: 2rem;
    height: 2rem;
}

/* Legacy secondary text: keep supporting information readable site-wide. */
.atocon-compe-aside__name,
.atocon-knowhow-aside__name,
.atocon-mypage__fav-title {
    font-size: 1.6rem;
}

.atocon-compe-aside__meta,
.atocon-compe-aside__badge,
.atocon-compe-aside__empty,
.atocon-knowhow-aside__date,
.atocon-knowhow-aside__excerpt,
.atocon-knowhow-aside__empty,
.atocon-site-footer__sub,
.atocon-mypage__memo-text,
.atocon-mypage__button,
.atocon-mypage__orders-table th,
.atocon-mypage__orders-table td,
.atocon-mypage__order-status,
.atocon-mypage__orders-note,
.atocon-mypage__orders-link,
.atocon-mypage__logout-link-item,
.atocon-knowhow-tag-filter__item {
    font-size: 1.4rem;
}

.atocon-knowhow-tag-filter__item,
.atocon-mypage__button {
    min-height: 4.4rem;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 900px) {
    .atocon-front-news h2 {
        font-size: 3.3rem;
    }

    .home .atocon-mv,
    .front-page .atocon-mv,
    .home .atocon-mv__sky,
    .front-page .atocon-mv__sky {
        height: min(112vw, 52rem);
        min-height: 43rem;
    }

    .atocon-mv__copy {
        right: 2rem;
        bottom: 2rem;
        left: 2rem;
        width: auto;
        padding: 1.8rem 2rem;
        border-radius: 1.2rem;
    }

    .atocon-mv__eyebrow {
        margin-bottom: 0.4rem;
        font-size: 1.3rem;
    }

    .atocon-mv__copy h1 {
        font-size: clamp(2.8rem, 8vw, 3.6rem);
    }

    .atocon-mv__copy > p:last-child {
        margin-top: 0.8rem;
        font-size: 1.4rem;
        line-height: 1.65;
    }

    .atocon-front-compes {
        padding: 5.6rem 0 6.4rem;
    }

    .atocon-front-compe-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }

    .atocon-front-membership {
        grid-template-columns: 1fr;
        gap: 2.8rem;
    }

    .atocon-front-membership__actions {
        grid-column: auto;
    }

    .atocon-compe-results__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .atocon-compe-sort {
        width: 100%;
        flex-wrap: wrap;
    }

    .atocon-compe-sort select {
        flex: 1 1 14rem;
    }
}

@media (max-width: 767px) {
    .atocon-front-inner {
        width: calc(100% - 4rem);
    }

    .atocon-front-compe-list {
        grid-template-columns: 1fr;
    }

    .atocon-front-compe-list .atocon-compe-card__link,
    .atocon-compe-results .atocon-compe-card__link {
        display: grid;
        grid-template-columns: minmax(12rem, 42%) minmax(0, 1fr);
        min-height: 19rem;
    }

    .atocon-front-compe-list .atocon-compe-card__thumb,
    .atocon-compe-results .atocon-compe-card__thumb {
        height: 100%;
        min-height: 19rem;
    }

    .atocon-front-compe-list .atocon-compe-card__body,
    .atocon-compe-results .atocon-compe-card__body {
        padding: 1.8rem 1.6rem;
    }

    .atocon-compe-card__badges span {
        min-height: 2.6rem;
        padding: 0.4rem 0.8rem;
        font-size: 1.4rem;
    }

    .atocon-compe-card__title,
    .atocon-front-compe-list .atocon-compe-card__title,
    .atocon-compe-results .atocon-compe-card__title {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    .atocon-compe-card__meta-row,
    .atocon-front-compe-list .atocon-compe-card__meta-row,
    .atocon-compe-results .atocon-compe-card__meta-row {
        min-height: 2rem;
        padding-left: 2.4rem;
        font-size: 1.4rem;
    }

    .atocon-compe-card__placeholder {
        min-height: 19rem;
        font-size: 1.4rem;
        text-align: center;
    }

    .atocon-front-about--membership {
        padding: 5.6rem 0;
    }

    .atocon-front-membership__features li {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .atocon-front-membership__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .atocon-front-membership__actions .atocon-about-button {
        width: 100%;
        min-width: 0;
        font-size: 1.5rem;
    }

    .atocon-front-news {
        padding: 4.4rem 0;
    }

    .atocon-news-item {
        gap: 0.6rem;
        padding: 1.2rem 0;
    }

    .atocon-news-item time,
    .atocon-news-item strong {
        font-size: 1.4rem;
    }

    .atocon-compe-filter-toggle {
        min-height: 4.8rem;
        font-size: 1.5rem;
    }

    .atocon-compe-filter label,
    .atocon-compe-filter__keyword input,
    .atocon-compe-filter__button,
    .atocon-compe-filter__reset,
    .atocon-compe-filter__advanced > summary {
        font-size: 1.5rem;
    }

    .atocon-active-filters {
        align-items: flex-start;
        flex-direction: column;
    }

    .atocon-active-filters ul {
        flex-basis: auto;
    }
}

/* Follow-up cascade guard: keep these intentional changes after prior overrides. */
.home .atocon-mv,
.front-page .atocon-mv,
.home .atocon-mv__sky,
.front-page .atocon-mv__sky {
    height: min(1080 / 1920 * 100vw, 1080px);
}

.atocon-mv__copy {
    width: min(72rem, calc(100% - 7.2rem));
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.atocon-mv__copy p span,
.atocon-mv__copy h1 span {
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
}

.atocon-front-compe-list .atocon-compe-card {
    border-radius: 2.4rem;
    box-shadow: 0 1rem 1.8rem rgba(17, 17, 17, 0.2);
}

.atocon-compe-card__placeholder {
    background: linear-gradient(135deg, #ffe5c9, #ff9f66);
}

.atocon-compe-card__placeholder--photo { background: linear-gradient(135deg, #a9e9ff, #36bff2); }
.atocon-compe-card__placeholder--design { background: linear-gradient(135deg, #ffe788, #ff9a4d); }
.atocon-compe-card__placeholder--digital { background: linear-gradient(135deg, #d7c8ff, #8a79ff); }
.atocon-compe-card__placeholder--craft { background: linear-gradient(135deg, #f3d6ae, #d79a62); }
.atocon-compe-card__placeholder--residency { background: linear-gradient(135deg, #baf3d1, #54cf91); }
.atocon-compe-card__placeholder--funding { background: linear-gradient(135deg, #ffd1df, #ff7fad); }
.atocon-compe-card__placeholder--other { background: linear-gradient(135deg, #d5ece7, #78beb1); }

@media (max-width: 900px) {
    .home .atocon-mv,
    .front-page .atocon-mv {
        height: auto;
        overflow: visible;
        background: #ffffff;
    }

    .home .atocon-mv__sky,
    .front-page .atocon-mv__sky {
        height: min(844 / 767 * 100vw, 844px);
        background: linear-gradient(#5bc1e2 0%, #b7e3f0 61%, #2098c4 61%, #24a2cb 100%);
        overflow: hidden;
    }

    .atocon-mv::after {
        top: calc(min(844 / 767 * 100vw, 844px) - min(470 / 767 * 100vw, 470px));
        bottom: auto;
    }

    .atocon-mv__copy {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        padding: 3.2rem 2.4rem 3.6rem;
        background: #ffffff;
    }

    .atocon-mv__copy h1 {
        font-size: clamp(2.4rem, 7vw, 3.2rem);
    }
}

.atocon-front-news .atocon-news-item .atocon-news-item__category {
    display: inline-flex;
    width: auto;
    height: auto;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.2rem;
    border: 0;
    border-radius: 0;
    background: #1679bc;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
}

.atocon-front-news .atocon-news-item .atocon-news-item__category::before {
    content: none;
}

@media (max-width: 767px) {
    .atocon-front-news .atocon-news-item .atocon-news-item__category {
        grid-column: 2;
        grid-row: 1;
        justify-self: start;
    }
}

.atocon-front-compes .atocon-front-more {
    justify-content: center;
}

@media (min-width: 768px) {
    .atocon-front-compe-list .atocon-compe-card__thumb {
        aspect-ratio: 1.65 / 1;
    }

    .atocon-front-compe-list .atocon-compe-card__body {
        padding: 2.2rem;
    }

    .atocon-front-compe-list .atocon-compe-card__title {
        margin-bottom: 1.4rem;
        font-size: 1.9rem;
        letter-spacing: 0.06em;
    }

    .atocon-front-compe-list .atocon-compe-card__badges {
        gap: 0.6rem;
        margin-bottom: 1.2rem;
    }

    .atocon-front-compe-list .atocon-compe-card__badges span {
        min-height: 2.6rem;
        padding: 0.35rem 0.9rem;
        font-size: 1.4rem;
    }

    .atocon-front-compe-list .atocon-compe-card__meta {
        gap: 0.8rem;
    }

    .atocon-front-compe-list .atocon-compe-card__meta-row {
        padding-left: 2.3rem;
        font-size: 1.4rem;
    }

    .atocon-page--compe-list .atocon-compe-results .atocon-compe-card__meta-row {
        font-size: 1.4rem;
    }
}

/* Site update 2026-07-20: keep footer link color and use a white underline on hover. */
.atocon-site-footer .atocon-site-footer__nav a:hover,
.atocon-site-footer .atocon-site-footer__sub a:hover,
.atocon-site-footer .atocon-site-footer__nav a:focus-visible,
.atocon-site-footer .atocon-site-footer__sub a:focus-visible {
    color: inherit !important;
    text-decoration-line: underline !important;
    text-decoration-color: #ffffff !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.35em;
}

/* Design adjustments 2026-07-20. */
.atocon-front-more.atocon-front-more--pill {
    justify-content: center;
    margin-top: 5.6rem;
    text-align: center;
}

.atocon-front-more.atocon-front-more--pill a,
.atocon-front-more.atocon-front-more--pill a:hover {
    min-width: min(100%, 36rem);
    min-height: 6.4rem;
    justify-content: center;
    padding: 1.4rem 3.2rem;
    border-radius: 999rem;
    background: var(--atocon-color-accent, #f15a24);
    color: #ffffff;
    font-size: 2rem;
}

.atocon-front-more.atocon-front-more--pill a span,
.atocon-front-more.atocon-front-more--pill a:hover span {
    width: 1.4rem;
    height: 1.4rem;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.atocon-front-more.atocon-front-more--pill a span::before,
.atocon-front-more.atocon-front-more--pill a:hover span::before {
    width: 1rem;
    height: 1rem;
    border-color: #ffffff;
    border-width: 0.2rem;
}

.atocon-knowhow-archive-hero {
    display: block;
    min-height: 0;
    padding: 3rem 0;
}

.atocon-knowhow-archive-hero__title {
    margin: 0;
    font-size: 3.6rem;
}

@media (min-width: 768px) {
    .atocon-site-footer__inner,
    .atocon-site-footer__main {
        align-items: center;
        text-align: center;
    }

    .atocon-site-footer__main {
        flex-direction: column;
        justify-content: center;
    }

    .atocon-site-footer__nav,
    .atocon-site-footer__main > .atocon-site-footer__nav {
        flex: 0 1 auto;
        text-align: center;
    }

    .atocon-nav--footer,
    .atocon-site-footer__nav .menu,
    .atocon-site-footer__sub {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .atocon-compe-card__badges {
        display: none !important;
    }

    .atocon-knowhow-single__inner {
        width: calc(100% - 2rem);
        padding-right: 1.2rem;
        padding-left: 1.2rem;
    }

    .atocon-front-about--membership {
        padding-top: 2.4rem;
    }

    .atocon-front-about--membership .atocon-about-page__section {
        padding-top: 1.6rem;
    }

    .atocon-front-about--membership #front-paid-title {
        margin-top: 0;
    }

    .atocon-knowhow-archive-hero {
        padding: 2.4rem 0;
    }

    .atocon-knowhow-archive-hero__title {
        font-size: 2.8rem;
    }

    .atocon-front-more.atocon-front-more--pill a,
    .atocon-front-more.atocon-front-more--pill a:hover {
        min-height: 5.6rem;
        padding: 1.2rem 2.4rem;
        font-size: 1.6rem;
    }
}



/* ATOCON news archive and lightweight request update 2026-07-21 */
.atocon-news-archive-hero{display:block;min-height:0;width:100%;margin:0 auto 4rem;padding:5.6rem 0 3.2rem}
.atocon-news-archive-hero__title{margin:0;font-size:4rem}
.atocon-news-archive__inner{width:min(calc(100% - 4rem),108rem)}
.atocon-news-archive__list{gap:2rem}
.atocon-news-archive-card__link{grid-template-columns:13rem minmax(0,1fr) 2rem;gap:2.4rem;min-height:8.4rem;padding:2rem 3.2rem;border-radius:1.6rem;box-shadow:0 .8rem 2.4rem rgba(31,51,48,.08);transition:box-shadow .15s ease,transform .15s ease}
.atocon-news-archive-card__link:hover,.atocon-news-archive-card__link:focus-visible{box-shadow:0 1.2rem 3rem rgba(31,51,48,.13);transform:translateY(-.2rem)}
.atocon-news-archive-card__title{display:block;font-size:1.6rem}
.atocon-compe-request__form{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem;width:min(100%,68rem)}
.atocon-compe-request__input{width:100%;min-width:0;height:5.6rem;padding:0 2rem;border:.2rem solid #d9dfdc;border-radius:999rem;background:#fff;color:#1f3330;font:inherit;font-size:1.5rem}
.atocon-compe-request__input:focus{border-color:var(--atocon-color-accent);box-shadow:0 0 0 .3rem rgba(235,97,48,.16);outline:none}
.atocon-compe-request__submit{min-width:9.6rem;height:5.6rem;padding:0 2.4rem;border:0;border-radius:999rem;background:var(--atocon-color-accent);color:#fff;font:inherit;font-size:1.6rem;font-weight:900;cursor:pointer}
.atocon-compe-request__submit:hover,.atocon-compe-request__submit:focus-visible{background:#cf4921}
.atocon-compe-request__body .atocon-compe-request__notice{margin:-1rem 0 1.6rem;padding:1rem 1.4rem;border-radius:.8rem;font-size:1.3rem;font-weight:700}
.atocon-compe-request__notice--success{background:#e9f7ef;color:#17643a!important}
.atocon-compe-request__notice--error{background:#fff0ea;color:#a63b18!important}
.atocon-compe-request__body .atocon-compe-request__note{margin:1rem 0 0;color:#66716f;font-size:1.2rem;font-weight:500}
.atocon-compe-request__website{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media(max-width:767px){
.atocon-news-archive-hero{padding:3rem 0 2rem}
.atocon-news-archive-hero__title{margin-bottom:0;font-size:3rem}
.atocon-news-archive-card__link{grid-template-columns:7.8rem minmax(0,1fr) 1.8rem;gap:1.2rem;min-height:7rem;padding:1.6rem;border-radius:1.2rem}
.atocon-news-archive-card__title{font-size:1.35rem;line-height:1.55}
.atocon-compe-request__form{grid-template-columns:minmax(0,1fr) auto;gap:.8rem}
.atocon-compe-request__input{height:5.2rem;padding:0 1.5rem;font-size:1.35rem}
.atocon-compe-request__submit{min-width:7.2rem;height:5.2rem;padding:0 1.6rem;font-size:1.4rem}
}
/* End ATOCON news archive and lightweight request update */