/**
 * Book Proposal LP - Stylesheet
 * ランディングページ用CSS
 */

/* Font Awesome インポート */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ========================================
   ACFによる表示/非表示制御
   ======================================== */
.acf-hidden {
    display: none !important;
}

/* ========================================
   リセットCSS - テーマの既存スタイルを上書き
   ======================================== */

/* body要素のリセット - このページ専用 */
body.page.page-template.page-template-template-bookproposal-lp {
    background-color: transparent;
    font-size: initial;
    line-height: initial;
    letter-spacing: initial;
    font-weight: initial;
    -webkit-tap-highlight-color: transparent;
}

/* ラッパー内の全要素をリセット - テーマstyle.cssの影響を完全排除 */
/* 注意: margin/padding/line-heightは個別のセレクタで制御するため、ここでは除外 */
.lp-reset-wrapper,
.lp-reset-wrapper * {
    letter-spacing: normal;
    font-weight: normal;
    list-style: none;
    box-sizing: border-box;
}

/* 基本的なmargin/paddingリセット（個別セレクタで上書き可能） */
.lp-reset-wrapper {
    margin: 0;
    padding: 0;
}

/* 見出しタグのデフォルトスタイル */
.lp-reset-wrapper h1,
.lp-reset-wrapper h2,
.lp-reset-wrapper h3,
.lp-reset-wrapper h4,
.lp-reset-wrapper h5,
.lp-reset-wrapper h6 {
    font-family: 'Noto Serif JP', '游明朝体', 'Yu Mincho', serif;
    font-weight: 700;
}

.lp-reset-wrapper a {
    display: inline;
    text-decoration: none;
    color: inherit;
}

.lp-reset-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lp-reset-wrapper button,
.lp-reset-wrapper input,
.lp-reset-wrapper select,
.lp-reset-wrapper textarea {
    font-family: inherit;
    font-size: inherit;
}

/* .single p, .page:not(.home) p (style.css:2056-2060) を無効化 */
/* 詳細度: 0-3-1（ギリギリ勝てる最小限のセレクタ） */
.page:not(.home) .lp-reset-wrapper p {
    margin-top: 0;
    margin-bottom: 0;
}

/* ========================================
   CSS変数 - 配色管理
   ======================================== */

   :root {
    /* プライマリカラー */
    --color-primary: #1e293b;           /* ダークスレート - 信頼感 */
    --color-secondary: #3B82F6;         /* 青 - 知的 */
    --color-accent: #F59E0B;            /* オレンジ - CTA */
    --color-accent-hover: #E68A00;      /* オレンジ - hover */

    /* 背景色 */
    --color-bg-white: #FFFFFF;          /* 白 */
    --color-bg-gray: #F3F4F6;           /* 薄グレー - セクション区切り */
    --color-bg-light: #EFF6FF;          /* 薄青 - ハイライト */

    /* テキストカラー */
    --color-text: #1F2937;              /* 濃グレー */
    --color-text-light: #6B7280;        /* 中グレー */

    /* ボーダー・枠線 */
    --color-border: #E5E7EB;            /* 薄グレー */
    --color-border-medium: #D1D5DB;     /* 中グレー */

    /* 画像プレースホルダー */
    --color-placeholder: #9CA3AF;       /* グレー */

    /* 画像デザイン用の赤（image_01-05用） */
    --color-red: #DC2626;               /* 赤 */
    --color-red-dark: #B91C1C;          /* 濃い赤 */

    /* その他 */
    --color-yellow: #FFD700;            /* 黄色（CTAバッジ用） */
}

/* ========================================
   グローバル設定
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', '游ゴシック体', 'Yu Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg-white);
}

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

img[src=""], img:not([src]) {
    background-color: var(--color-placeholder);
    border: 1px solid var(--color-border-medium);
}

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

/* ========================================
   コンテナ・レイアウト
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   タイポグラフィ
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', '游明朝体', 'Yu Mincho', serif;
    font-weight: 700;
}

/* ========================================
   ヘッダー
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.header-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-left: auto;
}

.header-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-nav-link:hover {
    color: var(--color-primary);
}

.lp-reset-wrapper a.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1.4;
}

.lp-reset-wrapper a.header-cta:hover {
    background-color: #0f172a;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

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

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

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

/* ========================================
   セクション1: ヒーローセクション
   ======================================== */

.hero-simple {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 120px 0 0px;
}

/* ダークスレート（青みグレー）斜め背景 */
.hero-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: #1e293b;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 60%);
    z-index: 1;
}

.hero-container-simple {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    min-height: 80vh;
}

/* 左側エリア */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 200px;
}

/* 縦書きタイトル */
.hero-vertical-title {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.vertical-text {
    writing-mode: vertical-rl;
    font-family: 'Noto Serif JP', '游明朝体', 'Yu Mincho', serif;
    font-size: clamp(40px, 6.5vw, 50px);
    font-weight: 900;
    line-height: 1;
    color: var(--color-bg-white);
    letter-spacing: 0.05em;
}

.vertical-text.text-medium {
    font-size: clamp(85px, 13.8vw, 106px);
}

.vertical-text.text-large {
    font-size: clamp(100px, 16.3vw, 125px);
}

.vertical-text .bracket {
    display: inline-block;
    line-height: 0.8;
    margin: -0.1em 0;
}

.vertical-text .text-small {
    display: inline-block;
    font-size: clamp(33px, 4.3vw, 33px);
    font-weight: 700;
    transform: translateY(-20px);
}

/* はじめにセクション */
.hero-introduction {
}

.hero-heading {
    font-family: 'Noto Serif JP', '游明朝体', 'Yu Mincho', serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.lp-reset-wrapper .hero-simple .hero-intro-text p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 16px;
}

.lp-reset-wrapper .hero-simple .hero-intro-text p:last-child {
    margin-bottom: 0;
}

/* 右側エリア */
.hero-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* サブタイトル */
.hero-subtitle {
    color: var(--color-bg-white);
}

.hero-subtitle-main {
    font-size: clamp(18px, 2.9vw, 22px);
    font-weight: 700;
    font-family: 'Noto Serif JP', '游明朝体', 'Yu Mincho', serif;
    letter-spacing: 0.1em;
}

/* キャッチコピー */
.hero-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-copy-box {
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    padding: 0px 8px;
    font-size: clamp(14px, 5vw, 38px);
    font-weight: 700;
    font-family: 'Noto Serif JP', '游明朝体', 'Yu Mincho', serif;
    border-radius: 0;
    display: inline-block;
    width: fit-content;
}

.hero-copy-box .copy-bracket-open {
    display: inline-block;
    margin-left: -0.5em;
}

.hero-copy-box .copy-bracket-close {
    display: inline-block;
    margin-right: -0.5em;
}

.hero-copy-text {
    color: var(--color-bg-white);
    font-size: clamp(18px, 2.9vw, 22px);
    font-weight: 700;
    font-family: 'Noto Serif JP', '游明朝体', 'Yu Mincho', serif;
    display: inline-block;
    width: fit-content;
}

/* 著者情報 */
.hero-author {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: var(--color-bg-white);
    font-family: 'Noto Serif JP', '游明朝体', 'Yu Mincho', serif;
}

.hero-author-company {
    font-size: clamp(14px, 2.6vw, 20px);
    white-space: nowrap;
}

.hero-author-name {
    font-size: clamp(32px, 7.8vw, 60px);
    font-weight: 700;
    white-space: nowrap;
}

.book-cover-single {
    position: relative;
    width: 100%;
    background-color: var(--color-placeholder);
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.book-cover-single img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-amazon-simple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-white);
    border: 2px solid #D1D5DB;
    padding: 16px 48px 14px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.btn-amazon-simple img {
    height: 24px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.btn-amazon-simple:hover {
    opacity: 0.7;
}

/* ========================================
   セクション2-3: Point.01/02（2カラムレイアウト）
   ======================================== */

.point-highlight-section {
    padding: 80px 20px;
}

.point-highlight-section.white-bg {
    background-color: var(--color-bg-white);
}

.point-highlight-section.gray-bg {
    background-color: var(--color-bg-gray);
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.point-highlight-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    line-height: 1.5;
    text-align: left;
}

.point-highlight-title-red {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
    line-height: 1.5;
    text-align: left;
}

.lp-reset-wrapper .point-highlight-section p.point-number {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    text-align: left;
}

.point-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Point.02は画像を右側に配置 */
#point02 .point-two-column {
    direction: rtl;
}

#point02 .point-diagram,
#point02 .point-text-content {
    direction: ltr;
}

.point-text-content {
    text-align: left;
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text);
}

.lp-reset-wrapper .point-two-column .point-text-content p {
    line-height: 1.9;
    margin-bottom: 20px;
}

.point-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.venn-diagram-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background-color: var(--color-placeholder);
    border-radius: 0;
}

.design-diagram-placeholder {
    width: 100%;
    max-width: 500px;
    height: 350px;
    background-color: var(--color-placeholder);
    border-radius: 0;
}

.point-diagram-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

.diagram-sub-caption {
    font-size: 16px;
    color: var(--color-text);
    text-align: center;
    width: 100%;
}

.venn-label {
    display: block;
    background-color: var(--color-text);
    color: var(--color-bg-white);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

/* ========================================
   セクション6: 目次セクション（Chapter）
   ======================================== */

.chapter-section {
    background-color: var(--color-primary);
    padding: 80px 20px;
    color: var(--color-bg-white);
}

.chapter-main-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.lp-reset-wrapper .chapter-section p.chapter-subtitle {
    font-size: 14px;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.9;
    letter-spacing: 0.1em;
}

.chapter-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0 auto;
}

.chapter-card {
    background-color: var(--color-bg-white);
    color: var(--color-text);
    padding: 32px;
    border-radius: 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 32px;
}

.chapter-content {
    flex: 1;
}

.chapter-number {
    font-size: 14px;
    color: var(--color-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.chapter-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.chapter-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.chapter-theme {
    display: block;
}

.chapter-icon {
    font-size: 20px;
    color: var(--color-text-light);
    flex-shrink: 0;
}

/* ========================================
   セクション7: 推薦者の声
   ======================================== */

.recommender-section {
    background-color: var(--color-bg-white);
    padding: 100px 20px;
}

.recommender-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 8px;
}

.recommender-subtitle {
    font-size: 14px;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}

.recommender-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin: 0 auto;
}

.recommender-card {
    text-align: center;
}

.recommender-image-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--color-placeholder);
    margin: 0 auto 24px;
    overflow: hidden;
}

.recommender-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommender-position {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 12px;
    line-height: 1.6;
}

.recommender-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.recommender-comment {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text);
    text-align: left;
}

/* ========================================
   セクション8: 書誌情報
   ======================================== */

.book-info-section {
    background-color: var(--color-primary);
    padding: 80px 20px;
    color: var(--color-bg-white);
}

.book-info-main-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.lp-reset-wrapper .book-info-section p.book-info-subtitle {
    font-size: 14px;
    text-align: center;
    margin-bottom: 60px;
    opacity: 0.9;
    letter-spacing: 0.1em;
}

.book-info-card {
    background-color: var(--color-bg-white);
    color: var(--color-text);
    border-radius: 0;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
}

.book-info-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.6;
}

.lp-reset-wrapper .book-info-section p.book-info-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: var(--color-text-light);
}

.book-info-details {
    list-style: none;
    margin-bottom: 32px;
}

.book-info-details li {
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--color-text);
}

.lp-reset-wrapper a.btn-amazon-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-border-medium);
    padding: 16px 48px 14px;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    text-decoration: none;
}

.btn-amazon-book img {
    height: 24px;
    width: auto;
    display: block;
}

.lp-reset-wrapper a.btn-amazon-book:hover {
    opacity: 0.7;
}

.book-info-cover {
    width: 100%;
    background-color: var(--color-placeholder);
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.book-info-cover img {
    width: 100%;
    height: auto;
    display: block;
}


/* ========================================
   セクション9: 著者紹介（image_03風）
   ======================================== */

.author-intro-section {
    background-color: var(--color-bg-white);
    padding: 100px 20px;
}

.author-intro-main-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 8px;
}

.lp-reset-wrapper .author-intro-section p.author-intro-subtitle {
    font-size: 14px;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 0.05em;
}

.author-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 80px;
    align-items: start;
}

.author-profile:last-of-type {
    margin-bottom: 0;
}

.author-photo-circle {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background-color: var(--color-placeholder);
    overflow: hidden;
}

.author-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-company {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

.author-full-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.author-social {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.lp-reset-wrapper a.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.lp-reset-wrapper a.social-icon i {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
}

.lp-reset-wrapper a.social-icon:hover {
    background-color: var(--color-primary);
}

.author-biography {
    margin-bottom: 24px;
}

.lp-reset-wrapper .author-details .author-biography p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 16px;
}

.author-link-btn {
    display: inline-block;
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.author-link-btn:hover {
    color: var(--color-primary);
}

/* ========================================
   セクション10: 実践講座（image_04 - Course）
   ======================================== */

.course-section {
    background-color: var(--color-primary);
    padding: 80px 20px 0;
    color: var(--color-bg-white);
    padding-bottom: 0;
    margin-bottom: 0;
}

.course-header {
    text-align: left;
    margin-bottom: 40px;
}

.course-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-main-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.course-subtitle {
    font-size: 14px;
    text-align: left;
    opacity: 0.9;
    letter-spacing: 0.1em;
    margin: 0;
}

.course-duration {
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 0.1em;
    text-align: right;
    margin: 0;
    white-space: nowrap;
    padding-left: 20px;
    align-self: flex-start;
    margin-top: 20px;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-bottom: -120px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.course-item {
    background-color: var(--color-bg-white);
    color: var(--color-text);
    padding: 24px 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* グレーのマス：1、3、6、8、9、11 */
.course-item:nth-child(1),
.course-item:nth-child(3),
.course-item:nth-child(6),
.course-item:nth-child(8),
.course-item:nth-child(9),
.course-item:nth-child(11) {
    background-color: var(--color-bg-gray);
}

.course-number {
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    font-family: 'Noto Serif JP', serif;
}

.course-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}

.course-desc {
    font-size: 11px;
    color: var(--color-text-light);
    line-height: 1.5;
}

.lp-reset-wrapper .course-section p.course-item-desc {
    line-height: 1.8;
}

/* ========================================
   セクション11: 受講者の声（image_04 - Student Voice）
   ======================================== */

.student-voice-section {
    background-color: var(--color-bg-white);
    padding: 200px 20px 100px;
}

.student-voice-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 8px;
}

.lp-reset-wrapper .student-voice-section p.student-voice-subtitle {
    font-size: 14px;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}

.student-voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.student-voice-card {
    text-align: center;
}

.student-photo-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--color-placeholder);
    margin: 0 auto 40px;
    overflow: hidden;
}

.student-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-comment {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text);
    text-align: left;
}

/* ========================================
   セクション12: CTAバナー（image_05）
   ======================================== */

.company-cta-banner {
    background-color: var(--color-bg-white);
    padding: 60px 20px 40px;
}

.lp-reset-wrapper a.cta-banner-link {
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    text-decoration: none;
    position: relative;
    gap: 20px;
}

.cta-badge {
    background-color: var(--color-yellow);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-badge-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    text-align: center;
}

.cta-banner-text {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 500;
    padding: 28px 60px 28px 170px;
    border-radius: 50px;
    flex-grow: 1;
    margin-left: -150px;
    transition: background-color 0.3s ease;
}

.cta-banner-link:hover .cta-banner-text {
    background-color: var(--color-primary);
}

.cta-banner-arrow {
    color: var(--color-bg-white);
    font-size: 24px;
    font-weight: 700;
    position: absolute;
    right: 40px;
}

/* ========================================
   セクション13: 会社紹介（image_05）
   ======================================== */

.company-intro-section {
    background-color: var(--color-bg-white);
    padding: 80px 20px 100px;
}

.company-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 4px;
}

.lp-reset-wrapper .company-intro-section p.company-name-en {
    font-size: 14px;
    color: var(--color-accent);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}

.company-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.company-text {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.company-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    font-weight: 500;
}

.company-philosophy {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text);
}

.company-logo {
    text-align: center;
    padding: 40px 0;
}

.company-logo-placeholder {
    width: 80px;
    height: 80px;
    background-color: var(--color-text);
    margin: 0 auto 16px;
}

.company-logo-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.05em;
}

.company-process {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-text);
}

.company-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.btn-company-outline {
    display: inline-block;
    background-color: var(--color-bg-white);
    color: var(--color-text);
    border: 2px solid var(--color-border-medium);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-company-outline:hover {
    background-color: var(--color-bg-gray);
    border-color: var(--color-placeholder);
}

.company-portfolio {
    position: relative;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.portfolio-item {
    width: 100%;
    height: 240px;
    background-color: var(--color-placeholder);
    border-radius: 0;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.company-logo img {
    max-width: 100%;
    height: auto;
}


/* ========================================
   フッター
   ======================================== */

.footer {
    background-color: var(--color-primary);
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: var(--color-bg-white);
    margin: 0;
}

/* ========================================
   スクロールアニメーション
   ======================================== */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ========================================
   レスポンシブ対応（小画面スマホ）
   ======================================== */

@media (max-width: 600px) {
    /* CTAバナーの文字サイズ調整 */
    .cta-badge {
        width: 100px;
        height: 100px;
    }

    .cta-badge-main {
        font-size: 16px;
    }

    .cta-banner-text {
        font-size: 14px;
        padding: 20px 30px 20px 90px;
        margin-left: -100px;
    }

    .cta-banner-arrow {
        font-size: 18px;
        right: 20px;
    }
}

/* ========================================
   レスポンシブ対応（スマホ）
   ======================================== */

@media (max-width: 767px) {

    /* コンテナ */
    .container {
        padding: 0;
    }

    /* ヘッダー */
    .header {
        height: 50px;
    }

    .header-container {
        padding: 0 20px;
        gap: 16px;
        justify-content: space-between;
    }

    .header-logo {
        font-size: 14px;
    }

    /* ハンバーガーメニュー表示 */
    .hamburger {
        display: flex;
        order: 3;
    }

    .header-cta {
        padding: 8px 16px;
        font-size: 12px;
        order: 2;
        margin-left: auto;
        margin-right: 12px;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 70px 20px 40px;
        box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .header-nav.active {
        transform: translateX(0);
    }

    .header-nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
        font-size: 16px;
    }

    .header-nav-link:last-child {
        border-bottom: none;
    }

    /* ヒーローセクション */
    .hero-simple {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-simple::before {
        height: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 86%, 0 80%);
    }

    .hero-container-simple {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 40px;
        min-height: auto;
        display: flex;
        flex-direction: column-reverse;
    }

    .hero-left {
        gap: 40px;
    }

    .hero-vertical-title {
        gap: clamp(8px, 10vw, 50px);
    }

    .vertical-text {
        font-size: clamp(40px, 12vw, 100px);
    }

    .vertical-text.text-large {
        font-size: clamp(70px, 25vw, 200px);
    }

    .vertical-text.text-medium {
        font-size: clamp(48px, 16vw, 130px);
    }

    .vertical-text .text-small {
        font-size: clamp(24px, 8vw, 65px);
        white-space: nowrap;
    }

    .vertical-text .bracket {
        font-size: clamp(24px, 8vw, 65px);
    }

    .hero-introduction {
        padding: 30px 20px;
        background: rgba(255, 255, 255, 0.9);
    }

    .hero-heading {
        font-size: 20px;
    }

    .lp-reset-wrapper .hero-simple .hero-intro-text p {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .hero-subtitle-main {
        font-size: clamp(14px, 4.5vw, 30px);
        white-space: nowrap;
    }

    .hero-copy {
        gap: clamp(8px, 3vw, 20px);
    }

    .hero-copy-box {
        padding: clamp(6px, 2vw, 15px) clamp(8px, 3vw, 20px);
        font-size: clamp(14px, 5vw, 35px);
        white-space: nowrap;
    }

    .hero-copy-text {
        font-size: clamp(14px, 4.5vw, 30px);
        white-space: nowrap;
    }

    .hero-author-company {
        font-size: clamp(16px, 6vw, 40px);
    }

    .book-cover-single {
        max-width: auto;
        margin: 0 auto;
    }

    .btn-amazon-simple {
        padding: 14px 40px 12px;
        max-width: 100%;
        width: 100%;
        border-radius: 50px;
    }

    .btn-amazon-simple img {
        height: 42px;
    }

    /* Point.01/02セクション */
    .point-highlight-section {
        padding: 60px 20px;
    }

    .container-wide {
        padding: 0;
    }

    .point-highlight-title {
        font-size: 22px;
    }

    .point-highlight-title-red {
        font-size: 22px;
    }

    .point-two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .point-text-content {
        font-size: 15px;
    }

    /* ベン図・図解 */
    .venn-diagram-placeholder,
    .design-diagram-placeholder {
        height: 300px;
        max-width: 100%;
        margin: 0 auto;
    }

    /* 目次セクション */
    .chapter-section {
        padding: 60px 20px;
    }

    .chapter-main-title {
        font-size: 28px;
    }

    .chapter-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .chapter-card {
        padding: 24px;
    }

    .chapter-icon {
        display: none;
    }

    .chapter-title {
        font-size: 16px;
    }

    /* 推薦者セクション */
    .recommender-section {
        padding: 60px 20px;
    }

    .recommender-title {
        font-size: 26px;
    }

    .recommender-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .recommender-image-circle {
        width: 150px;
        height: 150px;
    }

    /* 書誌情報セクション */
    .book-info-section {
        padding: 60px 20px;
    }

    .book-info-main-title {
        font-size: 28px;
    }

    .book-info-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
        display: flex;
        flex-direction: column;
    }

    .book-info-cover {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        order: -1;
    }

    .book-info-title {
        font-size: 20px;
    }

    /* 著者紹介セクション（image_03風） */
    .author-intro-section {
        padding: 60px 20px;
    }

    .author-intro-main-title {
        font-size: 26px;
    }

    .lp-reset-wrapper .author-intro-section p.author-intro-subtitle {
        margin-bottom: 40px;
    }

    .author-profile {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 60px;
        text-align: center;
    }

    .author-photo-circle {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .author-full-name {
        font-size: 22px;
    }

    .author-social {
        justify-content: center;
    }

    .author-biography {
        text-align: left;
    }

    /* 実践講座セクション（Course） */
    .course-section {
        padding: 60px 20px 0;
        margin-bottom: 0;
    }

    .course-title-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .course-main-title {
        font-size: 28px;
    }

    .course-duration {
        text-align: left;
        padding-left: 0;
    }

    .course-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: -100px;
    }

    /* 1カラム時のグレー背景設定：奇数マス */
    /* まず全てのアイテムを白背景にリセット */
    .course-item {
        padding: 20px 16px;
        min-height: 140px;
        background-color: var(--color-bg-white) !important;
    }

    /* 1カラム時のグレー背景：1、3、5、7、9、11 */
    .course-item:nth-child(1),
    .course-item:nth-child(3),
    .course-item:nth-child(5),
    .course-item:nth-child(7),
    .course-item:nth-child(9),
    .course-item:nth-child(11) {
        background-color: var(--color-bg-gray) !important;
    }

    .course-number {
        font-size: 15px;
    }

    .course-title {
        font-size: 14px;
    }

    .course-desc {
        font-size: 11px;
    }

    /* 受講者の声セクション（Student Voice） */
    .student-voice-section {
        padding: 160px 20px 60px;
    }

    .student-voice-title {
        font-size: 26px;
    }

    .student-voice-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .student-photo-circle {
        width: 150px;
        height: 150px;
    }

    /* 会社紹介セクション（image_05） */
    .company-intro-section {
        padding: 60px 20px;
    }

    .company-name {
        font-size: 26px;
    }

    .lp-reset-wrapper .company-intro-section p.company-name-en {
        margin-bottom: 40px;
    }

    .company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .company-text {
        gap: 20px;
    }

    .company-description {
        font-size: 15px;
    }

    .company-philosophy,
    .company-process {
        font-size: 13px;
    }

    .company-logo {
        padding: 30px 0;
    }

    .company-logo-placeholder {
        width: 60px;
        height: 60px;
    }

    .company-logo-text {
        font-size: 22px;
    }

    .company-buttons {
        margin-top: 10px;
    }

    .btn-company-outline {
        font-size: 14px;
        padding: 14px 24px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .portfolio-item {
        height: 200px;
    }

}

/* ========================================
   タブレット対応
   ======================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .header-container {
        padding: 0 40px;
        justify-content: space-between;
    }

    /* ハンバーガーメニュー表示 */
    .hamburger {
        display: flex;
        order: 3;
    }

    .header-cta {
        order: 2;
        margin-left: auto;
        margin-right: 16px;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 80px 40px 40px;
        box-shadow: -4px 0 8px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .header-nav.active {
        transform: translateX(0);
    }

    .header-nav-link {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
        font-size: 16px;
    }

    .header-nav-link:last-child {
        border-bottom: none;
    }

    .hero-simple {
        padding: 100px 0 70px;
    }

    .hero-container-simple {
        padding: 0 40px;
        gap: 60px;
    }

    /* 縦書きテキストのサイズ調整 */
    .vertical-text {
        font-size: clamp(35px, 5vw, 45px);
    }

    .vertical-text.text-large {
        font-size: clamp(80px, 12vw, 100px);
    }

    .vertical-text.text-medium {
        font-size: clamp(70px, 10vw, 90px);
    }

    .vertical-text .text-small {
        font-size: clamp(28px, 3.5vw, 30px);
    }

    /* キャッチコピーのサイズ調整 */
    .hero-copy-box {
        font-size: clamp(14px, 3.5vw, 32px);
    }

    .hero-copy-text {
        font-size: clamp(16px, 2.5vw, 20px);
    }

    /* 著者情報のサイズ調整 */
    .hero-author-name {
        font-size: clamp(28px, 5vw, 50px);
    }

    .hero-author-company {
        font-size: clamp(14px, 2vw, 18px);
    }

    /* 背景の傾斜調整 */
    .hero-simple::before {
        clip-path: polygon(0 0, 100% 0, 100% 75%, 0 50%);
    }

    .container-wide {
        padding: 0 40px;
    }

    .point-two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Point.02のdirectionをリセット */
    #point02 .point-two-column {
        direction: ltr;
    }

    /* ポイント1と2の図解を統一 */
    .venn-diagram-placeholder,
    .design-diagram-placeholder {
        max-width: 500px;
        height: 350px;
        margin: 0 auto;
    }

    /* 実践講座（Course） */
    .course-section {
        padding: 80px 40px 0;
        margin-bottom: 0;
    }

    .course-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        margin-bottom: -110px;
    }

    /* 2カラム時のグレー背景設定：1、4、5、8、9、12 */
    /* まず全てのアイテムを白背景にリセット */
    .course-item {
        background-color: var(--color-bg-white) !important;
    }

    /* 2カラム時のグレー背景：1、4、5、8、9、12 */
    .course-item:nth-child(1),
    .course-item:nth-child(4),
    .course-item:nth-child(5),
    .course-item:nth-child(8),
    .course-item:nth-child(9),
    .course-item:nth-child(12) {
        background-color: var(--color-bg-gray) !important;
    }

    /* 受講者の声（Student Voice） */
    .student-voice-section {
        padding: 180px 40px 60px;
    }

    /* 受講者の声（Student Voice） */
    .student-voice-grid {
        grid-template-columns: 1fr;
    }

    /* 会社紹介（image_05） */
    .company-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   レスポンシブ用ユーティリティクラス
   ======================================== */

/* PC only - SPでは非表示 */
@media (max-width: 767px) {
    .pc-only {
        display: none;
    }
}

/* ========================================
   販売ランキングバナーセクション
   ======================================== */

.ranking-banner-section {
    padding: 60px 0;
}

.ranking-banner-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 3px solid var(--color-primary);
    border-radius: 2px;
    padding: 30px 40px;
}

.ranking-banner {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ranking-period {
    display: flex;
    align-items: center;
    gap: 12px;
}

.period-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
}

.period-category {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-light);
}

.ranking-main {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ranking-trophy {
    flex-shrink: 0;
}

.ranking-trophy i {
    font-size: 36px;
    color: #F59E0B;
    padding-top: 3px;
}

.ranking-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ranking-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}

.ranking-number-box {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.ranking-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 56px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
}

.ranking-suffix {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
}

.ranking-note {
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .ranking-banner-section {
        padding: 40px 20px;
    }

    .ranking-banner-wrapper {
        padding: 20px 15px;
    }

    .ranking-banner {
        gap: 12px;
        flex-direction: column;
    }

    .period-label {
        font-size: clamp(14px, 4.5vw, 18px);
    }

    .period-category {
        font-size: clamp(10px, 3vw, 12px);
    }

    .ranking-period {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ranking-main {
        gap: 12px;
    }

    .ranking-trophy i {
        font-size: clamp(32px, 10vw, 48px);
    }

    .ranking-title {
        font-size: clamp(14px, 4vw, 16px);
    }

    .ranking-number {
        font-size: clamp(40px, 12vw, 56px);
    }

    .ranking-suffix {
        font-size: clamp(20px, 6vw, 24px);
    }

    .ranking-note {
        font-size: 11px;
    }
}

/* ========================================
   YouTube動画セクション
   ======================================== */

.youtube-section {
    padding: 60px 0;
    background-color: var(--color-bg-white);
}

.youtube-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .youtube-section {
        padding: 40px 0;
    }
}

/* パターン2: カード型 */
.badge-pattern-2 {
    display: flex;
    justify-content: center;
}

.badge-card {
    background: #FFFFFF;
    border: 3px solid #F59E0B;
    border-radius: 12px;
    padding: 50px 80px;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.badge-icon-large {
    margin-bottom: 20px;
}

.badge-icon-large i {
    font-size: 64px;
    color: #F59E0B;
}

.badge-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.badge-category {
    font-size: 16px;
    color: var(--color-text-light);
    font-weight: 600;
}

/* パターン3: バナー型 */
.badge-pattern-3 {
    display: flex;
    justify-content: center;
}

.badge-banner {
    background: #FFFFFF;
    border-left: 8px solid #F59E0B;
    padding: 32px 48px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.2);
    border-radius: 8px;
}

.badge-banner-content {
    display: flex;
    align-items: center;
    gap: 24px;
}

.badge-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 40px;
    font-weight: 900;
    color: #FFFFFF;
    background: #F59E0B;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.badge-banner-text {
    flex: 1;
}

.badge-main-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.badge-sub-text {
    font-size: 16px;
    color: var(--color-text-light);
    font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .achievement-badges {
        padding: 40px 20px;
    }

    .badge-pattern-1 {
        gap: 30px;
    }

    .badge-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .badge-item i {
        font-size: 20px;
    }

    .badge-text {
        font-size: 12px;
    }

    .badge-card {
        padding: 30px 20px;
    }

    .badge-title {
        font-size: 20px;
    }

    .badge-banner {
        padding: 20px;
    }

    .badge-banner-content {
        gap: 16px;
    }

    .badge-label {
        font-size: 24px;
        width: 50px;
        height: 50px;
    }

    .badge-main-text {
        font-size: 16px;
    }

    .badge-sub-text {
        font-size: 12px;
    }
}

/* ========================================
   コーナーメダルバッジ
   ======================================== */

.corner-medal {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.medal-circle {
    position: relative;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #ffd700 0%, #ffed4e 30%, #ffa500 70%, #ff8c00 100%);
    border-radius: 50%;
    border: 5px solid #FFFFFF;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.medal-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.6) 55%, transparent 100%);
    animation: medal-shine 3s infinite;
}

@keyframes medal-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50%, 100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.medal-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.medal-main {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

.medal-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .corner-medal {
        top: 8px;
        right: 8px;
    }

    .medal-circle {
        width: 90px;
        height: 90px;
        border: 4px solid #FFFFFF;
    }

    .medal-main {
        font-size: 11px;
    }

    .medal-number {
        font-size: 24px;
    }
}
