@charset "utf-8";

/* =========================================
   Variables & Mixins
========================================= */
:root {
    /* カラーパレット (ご指定のネイビー＆イエロー系) */
    --color-primary: #0F172A;
    /* 濃いめのネイビー */
    --color-primary-light: #1E293B;
    /* メインより少し明るいネイビー */
    --color-secondary: #D9A000;
    /* 濃いめのイエロー (少しアクセントの効いたイエロー) */
    --color-accent: #B48608;
    /* サブカラーと同系色の暗めゴールド/イエロー */

    --color-text-main: #1F2937;
    --color-text-muted: #6B7280;
    --color-bg-body: #FFFFFF;
    --color-bg-light: #F8FAFC;
    --color-bg-dark: #0F172A;
    /* メインカラーと同等 */

    /* タイポグラフィ */
    --font-gothic: 'Noto Sans JP', sans-serif;
    --font-mincho: 'Noto Serif JP', serif;

    /* スペーシング */
    --spacing-xs: 0.5rem;
    /* 8px */
    --spacing-sm: 1rem;
    /* 16px */
    --spacing-md: 2rem;
    /* 32px */
    --spacing-lg: 4rem;
    /* 64px */
    --spacing-xl: 6rem;
    /* 96px */

    /* コンテナ幅 */
    --container-width: 1000px;

    /* 遷移 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* =========================================
   Reset & Base
========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    /* 見出しへのスクロール位置調整 (ヘッダー固定分) */
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-gothic);
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* =========================================
   Typography & Typography Utilities
========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-mincho);
    line-height: 1.4;
    color: var(--color-primary);
}

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

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

/* =========================================
   Layout & Components
========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-primary {
    background-color: var(--color-primary);
}

.text-white {
    color: #fff;
}

/* Section Titles */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.section-title .en {
    display: block;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 0.2em;
    margin-top: 8px;
    font-weight: 500;
}

.section-title.title-white {
    color: #fff;
}

.section-title.title-white::after {
    background-color: #fff;
}

.section-title.title-white .en {
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
    line-height: 1.5;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 6px rgba(183, 121, 31, 0.2);
}

.btn-primary:hover {
    background-color: #975A16;
    /* 暗めのゴールド */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(183, 121, 31, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn-lg {
    padding: 16px 48px;
    font-size: 1.1rem;
    border-radius: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* =========================================
   Header & Navigation
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo {
    font-family: var(--font-mincho);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.global-nav {
    display: flex;
    align-items: center;
}

.global-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.global-nav a {
    font-size: 0.95rem;
    font-weight: 500;
}

.global-nav a:hover {
    color: var(--color-accent);
}

.btn-header {
    margin-left: 20px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 4px;
}

.btn-header:hover {
    background-color: var(--color-primary-light);
    color: #fff;
}

/* Hamburger (SP) */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1010;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* SP Nav */
.sp-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(255, 255, 255, 0.98);
    display: none;
    /* JSで制御するためデフォルトnoneからは変更するがアニメーション用に... */
    visibility: hidden;
    opacity: 0;
    z-index: 999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sp-nav.active {
    visibility: visible;
    opacity: 1;
}

.sp-nav ul {
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.sp-nav li a {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.sp-nav .sp-nav-cta {
    margin-top: 20px;
    border: none;
}

.sp-nav .sp-nav-cta .btn {
    border-bottom: none;
    background-color: var(--color-primary);
    color: #fff;
    width: 100%;
}


/* =========================================
   Hero Section
========================================= */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Header分 */
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
}

/* 装飾的な要素 */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 10%;
    max-width: 800px;
}

.hero-subtitle {
    font-family: var(--font-mincho);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    padding: 8px 16px;
    background-color: #fff;
    border-radius: 4px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero-title {
    font-size: 2.2rem;
    /* 2.6rem の約 0.85倍 */
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-main);
    font-weight: 700;
}

.hero-description {
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-mincho);
}

.highlight {
    color: var(--color-primary);
    display: inline;
    /* インラインである必要がある */
    background-image: linear-gradient(transparent 70%, rgba(183, 121, 31, 0.3) 70%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

/* Hero Logo */
.hero-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease 0.1s both;
}

.hero-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.hero-logo-text {
    font-family: var(--font-mincho);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.12em;
    line-height: 1;
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--spacing-lg);
}

.footer-logo {
    font-size: 1.8rem;
    font-family: var(--font-mincho);
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.footer-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.9;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   Animations
========================================= */
.fade-in-up {
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   Media Queries (Responsive)
========================================= */

/* 以下、各セクションの詳細スタイルを追加 */

/* --- Concept Section --- */
.concept-content {
    max-width: 900px;
    margin: 0 auto;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* --- Concept Section --- */
.concept-lead {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.concept-main-copy {
    font-size: 2.2rem;
    font-family: var(--font-mincho);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.4;
}

.concept-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.concept-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-top: 5px solid var(--color-secondary);
    position: relative;
    margin-bottom: 60px;
    /* 疑似要素矢印のための余白 */
}

.concept-item:last-child {
    margin-bottom: 0;
}

/* 矢印の疑似要素定義 (メソッドセクションと統一) */
.concept-item:not(:last-child)::after {
    content: '\f0d7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--color-secondary);
    z-index: 10;
}

.concept-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.concept-item-icon {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.concept-item-title {
    font-size: 1.75rem;
    /* 1.25rem の 1.4倍 */
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.concept-item-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-main);
    text-align: left;
}

@media screen and (max-width: 991px) {
    .concept-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .concept-main-copy {
        font-size: 1.8rem;
    }

    .concept-item-title {
        background-image: none !important;
    }
}

/* --- Method Section --- */
.method-lead {
    font-size: 1.1rem;
    font-weight: 500;
}

.method-core-message {
    display: inline-block;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 1.65rem; /* 2.2rem * 0.75 */
    }

    .pm-card-title {
        font-size: 1.2rem !important; /* 1.6rem * 0.75 */
    }

    .method-core-message {
        font-size: 1.5rem;
    }
}

.grid-4step {
    display: grid;
    grid-template-columns: 1fr;
    /* 縦並びに変更 */
    gap: 0;
    /* ステップ間の隙間は個別に調整 */
    margin-top: 40px;
    max-width: 800px;
    /* PCでも読みやすい幅に制限 */
    margin-left: auto;
    margin-right: auto;
}

.grid-4step .step-card {
    margin-bottom: 60px;
    /* 矢印との間隔を広げる */
    position: relative;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.step-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon img {
    width: 15vw;
    /* スマホ・PC共通の基準サイズ */
    height: auto;
    object-fit: contain;
}

@media screen and (min-width: 992px) {
    .step-icon img {
        width: 180px;
    }
}

/* ステップ間の矢印装飾 */
.grid-4step .step-card:not(:last-child)::after {
    content: '\f0d7';
    /* FontAwesome arrow down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -50px;
    /* 位置を調整 */
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--color-secondary);
    z-index: 10;
}

.method-footer {
    background-color: var(--color-bg-light);
    padding: 30px 30px 30px 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.method-footer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background-color: var(--color-accent);
}

.method-footer p {
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.mt-4 {
    margin-top: var(--spacing-lg) !important;
}

.step-card {
    background-color: #fff;
    padding: 50px 40px;
    /* さらに余白を拡大 */
    border-radius: 12px;
    /* 角丸を少し強調 */
    border: 1px solid #e2e8f0;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    /* 影を少し強めて立体感を出す */
}

.step-num {
    display: inline-block;
    background-color: var(--color-accent);
    color: #fff;
    font-weight: bold;
    font-family: var(--font-gothic);
    padding: 8px 24px;
    /* ラベルをさらに大きく */
    border-radius: 30px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    /* 番号自体も大きく */
    letter-spacing: 0.05em;
}

.step-card h4 {
    font-size: 1.5rem;
    /* 見出しをさらに大きく */
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--color-primary);
    line-height: 1.4;
}

.step-card p {
    font-size: 1.15rem;
    /* 本文のフォントサイズをさらにアップ */
    text-align: left;
    color: var(--color-text-main);
    line-height: 1.8;
}

/* --- Profile Section --- */
.profile-wrap {
    background-color: #fff;
    padding: 40px 40px 40px 50px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.profile-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background-color: var(--color-primary);
}

.profile-title {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 5px;
}

.profile-name {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.profile-name .ruby {
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    font-weight: normal;
    color: var(--color-text-muted);
    margin-left: 10px;
}

.profile-info {
    line-height: 1.8;
}

.exp-box {
    background-color: var(--color-bg-light);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    height: 100%;
}

.profile-experience h4 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-experience h4 i {
    color: var(--color-secondary);
}

.profile-experience ul {
    margin-bottom: 0;
}

.profile-experience li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.profile-experience li::before {
    content: '・';
    color: var(--color-secondary);
    font-weight: bold;
}

.mt-3 {
    margin-top: var(--spacing-md) !important;
}

.results-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.past-step-item:not(:last-child)::after {
    content: '▶';
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-secondary);
    font-size: 1.2rem;
    z-index: 1;
}

@media screen and (max-width: 991px) {
    .past-step-item:not(:last-child)::after {
        right: -15px;
    }
}

@media screen and (max-width: 768px) {
    .past-step-item:not(:last-child)::after {
        content: '▼';
        right: auto;
        left: 50%;
        bottom: -22px;
        top: auto;
        transform: translateX(-50%);
    }
}

.past-step-item .num {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-accent);
    display: flex;
    align-items: center;
}

.results-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.results-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

.results-list li.results-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.results-list li.results-note::before {
    display: none;
}

.badge {
    display: inline-block;
    background-color: var(--color-primary-light);
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
}

/* --- Courses Section --- */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.course-header {
    padding: 25px 20px;
    text-align: center;
    color: #fff;
}

.course-card.premium .course-header {
    background-color: var(--color-primary);
}

.course-card.standard .course-header {
    background-color: var(--color-secondary);
}

.course-card.basic .course-header {
    background-color: var(--color-text-muted);
}

.course-header h3 {
    color: #fff;
    font-size: 0.98rem;
    margin-bottom: 10px;
}

.course-header .price {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: var(--font-gothic);
}

.price span {
    font-size: 0.9rem;
    font-weight: normal;
}

.course-body {
    padding: 25px 20px;
    flex-grow: 1;
}

.course-body .target {
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}

.course-body p {
    font-size: 0.95rem;
}

.benefit-box {
    background-color: #FFFBF0;
    /* 薄いレモンイエロー */
    border: 1px solid #F6E05E;
    padding: 30px;
    border-radius: 8px;
}

.benefit-box h4 {
    color: var(--color-accent);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.benefit-box ul {
    margin-top: 15px;
}

.benefit-box li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}

.benefit-box li::before {
    content: '\f00c';
    /* FontAwesome check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.service-block {
    margin-bottom: var(--spacing-lg);
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.service-type-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-type-title .num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--color-secondary);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
}

.method-box {
    background-color: var(--color-bg-light);
    padding: 20px;
    border-radius: 8px;
    height: 100%;
}

.method-box h5 {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
}

.price-list .price-item {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.price-list strong {
    color: var(--color-accent);
    font-size: 1.5rem;
}

.item-list li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 5px;
}

.item-list li::before {
    content: '\f0da';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

/* --- Materials Section --- */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.material-card {
    background-color: var(--color-bg-light);
    /* サービスブロック(白)の中で浮かせるため淡い色に */
    padding: 24px 20px;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.material-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    opacity: 0.8;
}

.material-card h4 {
    font-family: var(--font-mincho);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.material-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
}

.materials-footer p {
    font-size: 0.9rem;
}

/* --- Materials List (within Service Block) --- */
.mini-materials-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.mini-material-item {
    display: flex;
    gap: 15px;
    background-color: #F8FAFC;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    align-items: flex-start;
}

.mini-icon {
    font-size: 1.2rem;
    color: var(--color-primary);
    background-color: #fff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.mini-body h5 {
    font-size: 1rem !important;
    text-align: left !important;
    margin-bottom: 5px !important;
    color: var(--color-primary);
    font-weight: 700;
}

.mini-body p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
}

/* --- Contact Form Section --- */
.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    color: var(--color-text-main);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    display: inline-block;
    background-color: #E53E3E;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #CBD5E0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.form-submit {
    width: 100%;
    max-width: 300px;
}

/* Bootstrap風フォームスタイルの調整 (UTAGE連携フォーム用) */
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: 80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.font-weight-bold {
    font-weight: 700 !important;
}

.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    margin-left: 5px;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.custom-control {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.custom-control-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    margin-top: 0.15rem;
    /* テキストとの縦位置調整 */
    flex-shrink: 0;
    cursor: pointer;
}

.custom-control-label {
    margin-bottom: 0;
    cursor: pointer;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-block {
    display: block;
    width: 100%;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

/* 既存のフォームスタイルの上書き用 */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

.policy-box {
    height: 150px;
    overflow-y: auto;
    border: 1px solid #CBD5E0;
    border-radius: 4px;
    background-color: #F7FAFC;
    padding: 15px;
    font-size: 0.85rem;
    color: #4A5568;
}

.policy-box p {
    margin-bottom: 0;
    line-height: 1.6;
}

.policy-check {
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1rem;
    text-align: left;
}

.policy-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mt-2 {
    margin-top: 10px !important;
}

.mt-3 {
    margin-top: 20px !important;
}

/* =========================================
   Media Queries (Responsive)
========================================= */
.sp-only {
    display: none;
}

.pc-only {
    display: inline;
}

@media screen and (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-bg {
        width: 50%;
    }
}

@media screen and (max-width: 768px) {
    .sp-only {
        display: inline-block;
    }

    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    html,
    body {
        overflow-x: hidden !important;
        overflow-y: auto;
        position: relative;
        width: 100%;
        /* vw ではなく % を使用 */
        max-width: 100% !important;
        margin: 0;
        padding: 0;
        -webkit-text-size-adjust: 100%;
    }

    /* Global containers should not exceed screen width */
    .container,
    .header,
    .hero,
    .footer,
    main {
        max-width: 100% !important;
        overflow-x: hidden;
    }

    /* Global Nav & Hamburger */
    .global-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .sp-nav {
        display: block;
    }

    /* Hero */
    .hero {
        display: block;
        height: auto;
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 50px;
        width: 100%;
        overflow: hidden;
    }

    .hero-bg {
        width: 100%;
        height: 100%;
        left: 0;
        right: auto;
        clip-path: none;
        opacity: 0.05;
        z-index: 0;
    }

    .hero-content {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-title {
        font-size: 1.4rem;
        /* さらに一段階下げて衝突を避ける */
        line-height: 1.4;
        letter-spacing: -0.01em;
        overflow-wrap: break-word !important;
        word-break: break-all !important;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.8;
        word-break: break-all !important;
        overflow-wrap: break-word !important;
        max-width: 100%;
    }

    .highlight {
        display: inline;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
        max-width: 100%;
    }

    .pc-only {
        display: none !important;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 6px 12px;
        white-space: normal;
        /* 折り返しを許可 */
        max-width: 100%;
        box-sizing: border-box;
        text-align: center;
        line-height: 1.4;
    }

    .btn-lg {
        width: 100%;
    }

    /* 各セクションのレスポンシブ */
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-block .grid-2col {
        gap: 15px;
    }

    .service-block {
        padding: 15px;
    }

    .method-box {
        padding: 15px;
    }

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

    .concept-main-copy,
    .concept-item-title {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .concept-item-title {
        display: inline-block;
        background-image: linear-gradient(transparent 60%, rgba(255, 242, 0, 0.3) 60%);
        background-repeat: no-repeat;
        padding-bottom: 2px;
        margin-bottom: 15px;
    }

    .method-footer {
        text-align: left;
    }

    .profile-title {
        font-size: 0.95rem;
        /* スマホのみ 0.95倍 */
    }

    .profile-name {
        line-height: 1.3;
    }

    .profile-name .ruby {
        margin-left: 0;
        display: inline-block;
        margin-top: 5px;
    }

    .profile-experience h4 {
        font-size: 0.99rem;
        /* 1.1rem の 0.9倍 */
        margin-bottom: 8px;
        /* 10px から縮小 */
    }

    .exp-box {
        padding: 12px;
        /* 15px から縮小 */
    }

    .profile-experience {
        gap: 10px;
        /* 15px からさらに 10px に縮小して安全性を確保 */
        /* 上下の間を15pxあける */
        margin-top: 14px !important;
        /* さらに10px小さく（24px - 10px） */
    }

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

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .method-lead {
        font-size: 1rem;
        text-align: left;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

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

    .material-card {
        padding: 20px;
    }

    .material-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
}

/* =========================================
   Scroll Animations & Hover Effects
========================================= */
/* スクロールフェードイン */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* 各種カード・ボックスのホバーアクション */
.concept-box,
.step-card,
.course-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-box:hover,
.step-card:hover,
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* ボタンのホバーアクション（既存の上に被せる） */
.btn {
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* =========================================
   Services & Fees New Styles
========================================= */
.service-sub-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    border-left: 4px solid var(--color-accent);
    padding-left: 15px;
    margin: 40px 0 20px;
    font-family: var(--font-mincho);
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.fee-table th,
.fee-table td {
    padding: 15px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.fee-table th {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    font-weight: 700;
    width: 30%;
}

.price-accent {
    font-size: 1.4rem;
    color: var(--color-accent);
    font-weight: 700;
}

.price-accent span {
    font-size: 0.9rem;
    color: var(--color-text-main);
    margin-left: 5px;
}

/* 添削スケジュール表 */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
}

.schedule-table th,
.schedule-table td {
    padding: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.schedule-table th {
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-gothic);
}

.schedule-table tr:nth-child(even) {
    background-color: var(--color-bg-light);
}

/* 過去問対策ステップ */
.past-step-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.past-step-item {
    background: #fff;
    padding: 15px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    position: relative;
    text-align: center;
    font-size: 0.95rem;
}

.past-step-item:not(:last-child)::after {
    content: '▶';
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-secondary);
    font-size: 1.1rem;
    z-index: 1;
}

@media screen and (max-width: 991px) {
    .past-step-list {
        gap: 20px;
    }

    .past-step-item:not(:last-child)::after {
        right: -15px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .past-step-list {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .past-step-item:not(:last-child)::after {
        content: '▼';
        right: auto;
        left: 50%;
        bottom: -28px;
        top: auto;
        transform: translateX(-50%);
    }
}

.past-step-item .num {
    display: block;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 5px;
}

/* 塾生限定バッジ */
.badge-limited {
    background-color: #e53e3e;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 10px;
    vertical-align: middle;
}

@media screen and (max-width: 768px) {

    .fee-table th,
    .fee-table td {
        display: block;
        width: 100%;
    }

    .fee-table th {
        border-bottom: none;
    }

    .past-step-list {
        grid-template-columns: 1fr;
    }
}

/* 添削スケジュール強調用ボックス */
.schedule-box {
    background-color: #fcfcfc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.schedule-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px !important;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
}

.schedule-box-title i {
    color: var(--color-accent);
    font-size: 1.4rem;
}

/* =========================================
   Philosophy & Method Cards (pm-card)
========================================= */
.pm-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.pm-card-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 28px 40px;
    text-align: center;
}

.pm-card-title {
    color: #fff !important;
    font-size: 1.6rem;
    margin-bottom: 4px;
}

.pm-card-en {
    display: block;
    font-family: var(--font-gothic);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.2em;
    font-weight: 500;
}

.pm-card-body {
    padding: 40px;
}

.pm-card-catchcopy {
    font-family: var(--font-mincho);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-secondary);
}

.pm-pillar {
    background-color: var(--color-bg-light);
    padding: 24px 28px;
    border-radius: 8px;
    border-left: 5px solid var(--color-primary);
}

.pm-pillar-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

/* 4 Step Items */
.pm-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: var(--spacing-md);
}

.pm-step-item {
    background-color: var(--color-bg-light);
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

.pm-step-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.pm-step-icon {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pm-step-icon img {
    width: 100px;
    height: auto;
    object-fit: contain;
}

.pm-step-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-primary);
    line-height: 1.5;
}

/* Method Footer */
.pm-method-footer {
    background-color: var(--color-bg-light);
    padding: 28px 32px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border-left: 5px solid var(--color-accent);
}

.pm-method-footer p {
    line-height: 1.8;
}

.mt-2 {
    margin-top: var(--spacing-sm) !important;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .pm-card-body {
        padding: 28px 20px;
    }

    .pm-card-header {
        padding: 22px 20px;
    }

    .pm-card-catchcopy {
        font-size: 1.2rem;
    }

    .pm-steps {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pm-step-icon img {
        width: 80px;
    }

    .pm-pillar {
        padding: 20px;
    }

    .pm-method-footer {
        padding: 20px;
    }
}

/* =========================================
   Accordion (details/summary)
========================================= */
.accordion {
    border: none;
}

.accordion-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--font-mincho);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    padding: 16px 20px;
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all var(--transition-normal);
    list-style: none;
    /* Safari */
    user-select: none;
}

.accordion-trigger::-webkit-details-marker {
    display: none;
    /* Chrome */
}

/* 矢印アイコン + バウンスアニメーション */
.accordion-trigger::after {
    content: '\f078';
    /* FontAwesome chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.85rem;
    margin-left: auto;
    transition: transform 0.3s ease;
    color: var(--color-accent);
    animation: chevronBounce 2s ease-in-out infinite;
}

@keyframes chevronBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(4px);
    }

    60% {
        transform: translateY(-2px);
    }

    80% {
        transform: translateY(2px);
    }
}

.accordion[open]>.accordion-trigger::after {
    transform: rotate(180deg);
    animation: none;
}

.accordion-trigger:hover {
    background-color: #f8f6f1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* 中身 */
.accordion-content {
    padding: 20px 16px 10px;
    animation: accordionOpen 0.3s ease;
}

@keyframes accordionOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* exp-box がアコーディオンの場合の補正 */
details.exp-box {
    padding: 0;
}

details.exp-box .accordion-trigger {
    border-radius: 8px 8px 0 0;
}

details.exp-box[open] .accordion-trigger {
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

details.exp-box .accordion-content {
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 16px 20px;
}

/* 幅広タイプ（過去問指導の手順など） */
.accordion-wide {
    margin-bottom: 16px;
}

.accordion-wide .accordion-trigger {
    font-size: 1rem;
}

/* ヒントテキスト「▼詳細を見る」 */
.accordion-hint {
    font-family: var(--font-gothic);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-left: 12px;
    opacity: 0.85;
}

.accordion[open] .accordion-hint {
    display: none;
}

/* SP対応 */
@media screen and (max-width: 768px) {
    .accordion-trigger {
        font-size: 0.95rem;
        padding: 12px 14px;
    }
}

/* =========================================
   Accordion (details / summary)
========================================= */
details.accordion {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #fff;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

details.accordion:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

details.accordion summary {
    padding: 15px 20px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    /* デフォルトの三角を消す */
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    transition: background-color 0.2s ease;
}

details.accordion summary:hover {
    background-color: #edf2f7;
}

/* Safari用三角消し */
details.accordion summary::-webkit-details-marker {
    display: none;
}

.details-content {
    padding: 30px;
    border-top: 1px solid #e2e8f0;
    line-height: 1.8;
}

.detail-section {
    margin-bottom: 40px;
}

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

.detail-heading {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 5px solid var(--color-secondary);
}

.detail-text {
    font-size: 1rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.detail-list {
    list-style: none;
    margin: 15px 0;
    padding-left: 0;
}

.detail-list-item {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.detail-list-item::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

.text-emphasis {
    color: var(--color-primary);
    font-weight: 700;
    background: linear-gradient(transparent 70%, rgba(217, 160, 0, 0.2) 70%);
}

.important-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.95rem;
}

/* お問い合わせフォームのタイトルラベルを太字に */
#contact label {
    font-weight: 700;
}

/* 選択肢（ラジオボタン・チェックボックス）のラベルは太字にしない */
#contact label:has(input),
#contact .checkbox-item,
#contact .checkbox-grid label,
#contact div > div > label {
    font-weight: 400 !important;
}



/* フォームのフォーカス調整 */
input.form-control:focus,
textarea.form-control:focus {
    outline: none !important;
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 3px rgba(217, 160, 0, 0.1) !important;
}

/* =========================================
   LINE Float Button
========================================= */
.line-float-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.line-float-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #06C755;
    color: white;
    border-radius: 50%;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.line-float-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.line-float-tooltip {
    position: relative;
    background: #fff;
    border: 2px solid #06C755;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-main);
    
    /* 初期状態は非表示（スクロールで表示） */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.line-float-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.line-float-tooltip::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #06C755 transparent transparent transparent;
}
.line-float-tooltip::before {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 22px;
    border-width: 8px 8px 0 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    z-index: 1;
}

.line-float-tooltip p {
    margin: 0;
}

.line-float-tooltip-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background: #666;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.line-float-tooltip-close:hover {
    background: #333;
}

@media screen and (max-width: 768px) {
    .line-float-wrapper {
        bottom: 20px;
        right: 20px;
    }
    .line-float-tooltip {
        width: 260px;
        font-size: 0.85rem;
    }
}