@charset "UTF-8";

/* ============================================
   全体の色と基準サイズ
   配色や全体の余白感を変える場合はここを編集
============================================ */
:root {
    --bg:       #FFFFFF;
    --bg-off:   #F2F2F2;
    --bg-hero:  #EBEBEB;
    --bg-dark:  #111111;

    --text:       #111111;
    --text-muted: #888888;
    --border:    #DEDEDE;
    --shadow-frame: 10px 10px 0 rgba(0,0,0,0.10);

    /* アクセントカラー */
    --coral:  #FF6B6B;
    --blue:   #5A9EFF;
    --green:  #4ECDC4;
    --yellow: #FFD166;
    
    /* ヘッダーや固定要素の基準サイズ */
    --header-height: 80px;
    --marquee-h: 44px;
    --sidebar-w: 50px;

    --font-en: 'Montserrat', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

    --scrollbar-comp: 0px;
    --listing-offset-2col: 3rem;
    --listing-offset-3col: 4rem;
}

/* ============================================
   共通の基本設定
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--marquee-h) + 1.5rem);
    scrollbar-gutter: stable;
}
body {
    font-family: var(--font-jp);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-width: 320px;
    overflow-x: hidden;
}
body.is-locked {
    overflow: hidden;
    padding-right: var(--scrollbar-comp);
}
.no-js body {
    overflow-y: auto;
    padding-right: 0;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* ヘッダーのロゴ画像サイズ */
.logo-image {
    width: auto;
    height: 40px;
}

.inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2.5rem;
}
.bg-off  { background: var(--bg-off); }
.bg-dark { background: var(--bg-dark); }

.no-js .loading-screen,
.no-js .page-top-btn {
    display: none !important;
}

/* ============================================
   ローディング表示
   色や見た目を変える場合はこのブロックを編集
============================================ */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #050505 0%, #111111 48%, #1B1B1B 100%);
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
body.is-loading .loading-screen,
.loading-screen.is-opening,
.loading-screen.is-loaded {
    display: flex;
}
.loading-screen.is-loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-curtain {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50.5%;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)),
        linear-gradient(135deg, #050505 0%, #111111 48%, #1B1B1B 100%);
    transition: transform 1.15s cubic-bezier(0.76, 0, 0.24, 1);
    will-change: transform;
}
.loading-curtain-left {
    left: 0;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.loading-curtain-right {
    right: 0;
    border-left: 1px solid rgba(255,255,255,0.08);
}
.loading-screen.is-opening .loading-curtain-left,
.loading-screen.is-loaded .loading-curtain-left {
    transform: translateX(-102%);
}
.loading-screen.is-opening .loading-curtain-right,
.loading-screen.is-loaded .loading-curtain-right {
    transform: translateX(102%);
}

.loading-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transition: opacity 0.3s ease, transform 0.5s var(--ease);
}
.loading-screen.is-opening .loading-content,
.loading-screen.is-loaded .loading-content {
    opacity: 0;
    transform: translateY(-0.8rem) scale(0.98);
}
.loading-logo {
    font-family: var(--font-en);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    background: linear-gradient(90deg, var(--coral), var(--blue), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.loading-bar-outer {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
}
.loading-bar-inner {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--coral), var(--blue));
    transition: width 0.1s linear;
}
.loading-nums {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    color: rgba(255,255,255,0.4);
}
#loading-count {
    font-family: var(--font-en);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.loading-percent {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
}

/* ============================================
   左側の縦書きテキスト
   文言はHTML、色や位置はここで調整
============================================ */
.site-sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0; 
    width: var(--sidebar-w);
    height: calc(100vh - var(--header-height));
    background-color: var(--bg);
    border-right: 1px solid var(--border);
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 背景色の切り替え速度 */
    transition: background-color 0.6s var(--ease), border-color 0.6s var(--ease);
}
.sidebar-text {
    writing-mode: vertical-rl;
    transform: none; 
    font-family: var(--font-jp);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color 0.6s var(--ease);
}

/* ローディング中だけ暗い配色にする */
body.is-loading .site-sidebar {
    background: #141414;
    border-right-color: rgba(255,255,255,0.08);
}
body.is-loading .sidebar-text {
    color: rgba(255,255,255,0.28);
}

/* ============================================
   上部の流れる帯
   文言はHTML、見た目はここで調整
============================================ */
.site-marquee {
    position: absolute; 
    top: var(--header-height); 
    left: var(--sidebar-w);
    right: 0;
    height: var(--marquee-h);
    background: var(--bg-dark);
    z-index: 99; 
    display: flex;
    align-items: center;
    overflow: hidden;
}
.marquee-area {
    flex: 1;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}
.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}
.marquee-track.is-ready {
    animation: marqueeScroll 88s linear infinite;
}
.marquee-group {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
    padding-right: 2rem;
    white-space: nowrap;
}
.marquee-track span {
    font-family: var(--font-en);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: rgba(255,255,255,0.9);
}
.marquee-track .msep { color: rgba(255,255,255,0.25); }

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(var(--marquee-shift, -50%)); }
}

/* 固定ヘッダーと上部帯のぶんだけ本文を下げる */
.page-wrap {
    padding-top: var(--marquee-h);
    padding-left: var(--sidebar-w);
}

/* ============================================
   メインビジュアル
   見出し位置、画像サイズ、ボタン見た目を調整
============================================ */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height) - var(--marquee-h));
    min-height: 540px;
    background: var(--bg-hero);
    overflow: hidden;
}

.hero-text-vertical {
    position: absolute;
    top: 4rem;
    left: 3rem;
    writing-mode: vertical-rl;
    z-index: 10;
    display: flex;
    gap: 1rem;
}
.hero-text-vertical .ja {
    font-family: var(--font-jp);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.4em;
}

.hero-text-main {
    position: absolute;
    bottom: 3rem;
    left: max(2rem, calc(50% - 500px));
    width: fit-content;
    max-width: calc(100% - 4rem);
    z-index: 25;
    pointer-events: none;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.35rem 1.5rem 1.15rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 10px 10px 0 rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-text-title {
    font-family: var(--font-en);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}
.hero-text-title br {
    display: none;
}

.hero-subcatch {
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    margin-top: -0.5rem;
    color: var(--text);
}

.hero-subcatch-break {
    display: none;
}

/* メインキャッチ内の BASE 文字色 */
.text-gradient-base {
    background: linear-gradient(90deg, #cf2a7c 0%, #3e81ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-text-sub {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    max-width: min(25rem, calc(100% - 6rem));
    z-index: 25;
    pointer-events: none;
    font-family: var(--font-jp);
    font-size: 0.75rem;
    line-height: 1.8;
    color: var(--text);
    overflow-wrap: anywhere;
}

.hero-text-right {
    position: absolute;
    top: 4rem;
    right: 3rem;
    max-width: min(18rem, calc(100% - 6rem));
    z-index: 25;
    pointer-events: none;
}
.hero-text-meta {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}
.hero-text-meta span {
    font-weight: 400;
    color: var(--text);
}
.hero-text-desc {
    font-family: var(--font-jp);
    font-size: 0.75rem;
    line-height: 1.8;
    color: var(--text);
    overflow-wrap: anywhere;
}

/* メイン画像スライダー */
.hero-static-visual {
    display: none;
    width: 100%;
    height: 100%;
}
.hero--static .hero-static-visual {
    display: block;
}
.hero--static .hero-swiper,
.hero--static .hero-btn,
.hero--static .hero-counter {
    display: none;
}
.hero-swiper {
    width: 100%;
    height: 100%;
}
.hero-swiper:not(.is-ready) .swiper-wrapper,
.hero-swiper:not(.is-ready) .swiper-slide {
    height: 100%;
}
.hero-swiper:not(.is-ready) .swiper-slide:not(:first-child) {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
.slide-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3rem 6rem;
}
.img-frame {
    background: #fff;
    padding: 14px;
    box-shadow: var(--shadow-frame);
    max-width: 680px; 
    width: 100%;
}
.img-frame img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

/* Before / Next ボタン */
.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: none;
    border: none;
    font-family: var(--font-jp);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    color: rgba(17, 17, 17, 0.55);
    padding: 1.5rem 2rem;
    transition: color 0.2s, opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-btn:hover { color: rgba(17, 17, 17, 0.72); opacity: 1; }

/* PC時のボタン位置 */
.hero-btn-prev { left: max(1rem, calc(50% - 370px)); }
.hero-btn-next { right: max(1rem, calc(50% - 370px)); }

.hero-btn-prev::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(-45deg);
}

.hero-btn-next::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

/* 右下の枚数表示 */
.hero-counter {
    position: absolute;
    bottom: 1.8rem;
    right: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    z-index: 10;
}
.hc-sep { color: var(--text); }

/* 左下の飾り記号 */
.hero-cross {
    position: absolute;
    bottom: 1.4rem;
    left: 2rem;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--text);
    z-index: 10;
    font-weight: 300;
}

/* ============================================
   各セクション共通
   余白や見出しサイズの共通設定
============================================ */
.content-wrapper { background: var(--bg); }

.section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    scroll-margin-top: calc(var(--marquee-h) + 1.5rem);
}
.section-head {
    margin-bottom: 4rem;
}
.section-title {
    font-family: var(--font-en);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.02em;
}
.hero-text-title,
.hero-text-meta,
.section-title,
 .cta-title,
 .cta-desc {
    overflow-wrap: anywhere;
}
.section-sub {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.sec-deco-num {
    position: absolute;
    top: 2rem;
    right: -1rem;
    font-family: var(--font-en);
    font-size: min(22vw, 260px);
    font-weight: 900;
    line-height: 0.85;
    color: rgba(0,0,0,0.03);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    overflow: hidden;
}
.sec-deco-num--left {
    right: auto;
    left: -1rem;
}
.bg-off .sec-deco-num { color: rgba(0,0,0,0.04); }
.bg-dark .sec-deco-num { color: rgba(255,255,255,0.04); }

.btn-white {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.4rem;
    background: #fff;
    color: var(--text);
    font-family: var(--font-en);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: opacity 0.25s, transform 0.25s;
}
.btn-white:hover { opacity: 0.85; transform: translateY(-2px); }

.js .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
    transition-delay: var(--delay, 0ms);
}
.js .fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* ============================================
   BASE THEMES一覧
   カードの大きさ、段差、画像比率を調整
============================================ */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2.5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}
.listing-link {
    display: block;
    color: inherit;
}
.listing-item { margin-top: 0; }
.listing-item.is-offset-2col { margin-top: var(--listing-offset-2col); }
.listing-item.is-offset-3col { margin-top: var(--listing-offset-3col); }

.listing-visual {
    background: var(--bg);
    padding: 10px;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.07);
    overflow: hidden;
    position: relative;
}
.listing-visual img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
    display: block;
}
.listing-item:hover .listing-visual img { transform: scale(1.04); }

.listing-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,17,17,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.listing-item:hover .listing-overlay { opacity: 1; }
.listing-overlay span {
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: #fff;
}

.listing-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    z-index: 10;
    background: rgba(17, 17, 17, 0.8);
    color: #fff;
    padding: 0.4rem 0.8rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.listing-meta { padding: 0.9rem 0 0; }
.listing-title {
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}
.listing-tag {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 0.4rem;
    letter-spacing: 0.05em;
}

/* ============================================
   Q&A
   質問文・回答文の文字サイズや間隔を調整
============================================ */
.qa-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}
.qa-item {
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: baseline;
}
.qa-mark {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--coral);
    line-height: 1;
}
.qa-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.qa-q-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
}
.qa-a-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text);
}
.qa-app-list {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.qa-app-list li {
    font-size: 0.95rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.qa-app-list li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--coral);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   お問い合わせセクション
   背景色、見出し、説明文、ボタンを調整
============================================ */
.section--cta {
    background: linear-gradient(135deg, #FF6B6B 0%, #A29BFE 100%);
    padding: 5rem 0 4rem;
}
.cta-block {
    text-align: center;
    padding: 0;
}
.cta-eyecatch {
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}
.cta-title {
    font-family: var(--font-jp);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}
.cta-desc {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    font-weight: 700;
    color: #fff;
    max-width: 460px;
    margin: 0 auto 2.5rem;
    line-height: 1.9;
}

/* ============================================
   パンくずと右下ボタン
============================================ */
.breadcrumb {
    font-size: 0.75rem; 
    color: #999;
    font-family: var(--font-en);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.breadcrumb a {
    color: #999;
}

.base-breadcrumb-wrap {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-top-btn {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    z-index: 990;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--yellow);
    border: none;
    color: var(--text);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.page-top-btn.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top-btn:hover {
    background: var(--coral);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 10px 10px 0 rgba(0,0,0,0.15);
}

.page-top-btn .pt-icon {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2px;
}

.page-top-btn .pt-text {
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1;
}

/* ============================================
   画面幅ごとの調整
============================================ */
@media (max-width: 1024px) {
    .hero {
        height: 65vh;
        min-height: 600px;
        max-height: 720px;
    }
    .hero-text-main {
        left: 2rem;
        bottom: 2.5rem;
    }
    .hero-text-sub {
        right: 2rem;
        bottom: 2.5rem;
        max-width: 18rem;
    }
    .hero-text-right {
        top: 3rem;
        right: 2rem;
        max-width: 16rem;
    }
    .listing-grid { grid-template-columns: repeat(2, 1fr); }
}

/* スマホ */
@media (max-width: 768px) {
    :root {
        --sidebar-w: 0px;
        --listing-offset-2col: 2.5rem;
    }
    .site-sidebar { display: none; }
    .site-marquee { left: 0; }
    .page-wrap { padding-left: 0; }

    .hero { height: 60svh; min-height: 380px; max-height: 500px; }
    .hero--static .hero-static-visual {
        height: 100%;
    }
    .slide-center { padding: 2rem 1.5rem; }
    .img-frame { padding: 10px; }

    .hero-text-vertical { display: none; }
    .hero-text-right { display: none; }
    .hero-text-main {
        bottom: 6.3rem;
        left: 1.5rem;
        width: fit-content;
        max-width: calc(100% - 3rem);
        padding: 1rem 1.1rem 0.95rem;
        gap: 0.6rem;
        box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.08);
    }
    .hero-text-title { font-size: 2.2rem; margin-bottom: 0; }
    .hero-subcatch { margin-top: 0; }
    .hero-subcatch-sep { display: none; }
    .hero-subcatch-break { display: block; }
    .hero-text-sub { 
        bottom: 2rem;
        right: 1.5rem;
        max-width: 80%; 
    }

    .hero-btn { font-size: 0.9rem; padding: 1rem 1.2rem; }
    .hero-btn-prev { left: 0.5rem; }
    .hero-btn-next { right: 0.5rem; }
    .hero-btn { top: calc(37.5vw + 0.875rem + 2.5px); }
    .hero-counter { display: none; }

    .section { padding: 5rem 0; }
    .section--cta { padding: 3.5rem 0; }
    .section-title { font-size: 2rem; }
    .sec-deco-num { font-size: 40vw; }

    .qa-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 2rem 0;
    }
    .qa-mark { display: none; }
    .qa-q-text::before {
        content: 'Q.';
        font-family: var(--font-en);
        color: var(--coral);
    }
    .qa-a-text::before {
        content: 'A.';
        font-family: var(--font-en);
        color: var(--coral);
        font-weight: 700;
    }
    .qa-app-list {
        margin-left: 1.5rem;
        margin-top: 1rem;
        grid-template-columns: 1fr 1fr;
    }

    .listing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.2rem;
    }

    .page-top-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 4rem;
        height: 4rem;
    }
}

/* 小さいスマホ */
@media (max-width: 580px) {
    .inner { padding: 0 1.25rem; }
    .hero { min-height: 340px; }
    .hero-text-main {
        left: 1.25rem;
        bottom: 5.4rem;
        width: fit-content;
        max-width: calc(100% - 2.5rem);
        padding: 0.95rem 1rem 0.9rem;
    }
    .hero-text-title { font-size: clamp(1.8rem, 10vw, 2.2rem); }
    .hero-subcatch { margin-top: 0.75rem; }
    .hero-text-sub {
        right: 1.25rem;
        bottom: 1.5rem;
        max-width: calc(100% - 2.5rem);
    }
    .qa-app-list { grid-template-columns: 1fr; }
    .listing-grid { grid-template-columns: 1fr; }
}
