:root {
    --teal-dark: #0f766e;
    --teal-mid: #0d9488;
    --teal-light: #14b8a6;
    --teal-pale: #5eead4;
    --teal-bg: #ccfbf1;
    --teal-input: #99f6e4;
    --accent-yellow: #facc15;
    --gradient-start: #d1fae5;
    --gradient-end: #0d9488;
}

/* メインコンテンツ上部余白（ハンバーガーと被らないように） */
.content-wrapper {
    /* padding-top: 52px; */
}

/* パンくずリスト（meHugデザイン） */
.content-wrapper .breadcrumb,
.content-wrapper nav[aria-label="breadcrumb"] {
    margin-bottom: 1rem;
    padding: 0.75rem 0 0 0;
    background: transparent;
    border-radius: 8px;
    font-size: 0.875rem;
    padding-top: 1.5rem;
    padding-left: 0.3rem;
}
.content-wrapper .breadcrumb .breadcrumb-item a {
    color: var(--teal-mid);
    text-decoration: none;
    font-weight: 500;
}
.content-wrapper .breadcrumb .breadcrumb-item a:hover {
    color: var(--teal-dark);
    text-decoration: underline;
}
.content-wrapper .breadcrumb .breadcrumb-item.active {
    color: #64748b;
    font-weight: 500;
}
.content-wrapper .breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "／";
    color: #94a3b8;
    padding: 0 0.35rem;
    font-weight: 400;
}

.breadcrumb-back-link:hover {
    color: var(--teal-dark, #0d9488) !important;
}

.home-page {
    background: #ffffff;
    position: relative;
    padding-bottom: 0;
}

/* メインコンテンツ */
.home-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    /* padding-bottom: 100px; */
}

.home-content .content-section.tab-pane.active,
.home-content .content-section.tab-pane.show {
    padding-bottom: 0;
    margin-bottom: 0;
}

.home-content .content-section.tab-pane.active:last-child,
.home-content .content-section.tab-pane.show:last-child {
    padding-bottom: 80px;
}

.home-content .content-section.tab-pane.active > *:last-child,
.home-content .content-section.tab-pane.show > *:last-child {
    margin-bottom: 0;
}

.home-content .content-section.tab-pane.active .recommended-grid:last-child,
.home-content .content-section.tab-pane.active .activity-grid:last-child,
.home-content .content-section.tab-pane.active .section-title:last-child,
.home-content .content-section.tab-pane.show .recommended-grid:last-child,
.home-content .content-section.tab-pane.show .activity-grid:last-child,
.home-content .content-section.tab-pane.show .section-title:last-child {
    margin-bottom: 0;
}

.content-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    /* margin-bottom: 1rem; */
}

/* コンボ講座情報カード（きれいなレイアウト） */
.combo-info-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}
.combo-info-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.combo-info-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.combo-info-card-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
}
.combo-info-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.combo-info-card-thumb-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--teal-bg) 0%, #e2e8f0 100%);
}
.combo-info-card-body {
    flex: 1;
    min-width: 0;
}
/* タイトル＋バッジを確実に1行に（スマホでも改行しない） */
.combo-info-card-title-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    min-width: 0;
    margin-bottom: 0.35rem;
}
.combo-info-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.combo-info-card-badge {
    flex-shrink: 0;
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
}
.combo-info-card-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.combo-info-card-desc-icon {
    margin-right: 0.25rem;
}
.combo-info-card-info-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-mid);
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
}
.combo-info-card-info-btn:hover {
    color: var(--teal-dark);
    background: var(--teal-bg);
}
.combo-info-card-info-btn .info-icon {
    width: 20px;
    height: 20px;
    margin: 0;
}

.content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    flex: 1;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--teal-mid);
    cursor: pointer;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.detail-row {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

/* ボーダー線 */
.border {
    width: 100%;
    height: 1px!important;
    background-color: #e2e8f0!important;
    /* margin: 0!important; */
    border: none!important;
}

/* 投稿写真一覧ブロック：横いっぱい・上下ボーダー・余白 */
.journal-feed-block {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
}
.journal-feed-block .journal-feed-section {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* コンテンツセクション */
.tab-content {
    position: relative;
    width: 100%;
}

.content-section {
    width: 100%;
}

.content-section.tab-pane {
    display: none;
}

.content-section.tab-pane.active {
    display: block;
}

.content-section.tab-pane.show {
    display: block;
}


.content-title-subtitle{
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.25rem;
    font-style: italic;
}

/* タイトル＋サブタイトルを合わせて2行程度に表示 */
.content-title-2lines {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}
.content-title-subtitle-1line {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

/* Browse by activity */
.section-title {
    font-size: 1.0rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.25rem;
}

.activity-grid {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.activity-grid::-webkit-scrollbar {
    display: none;
}

.activity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 70px;
    cursor: pointer;
}

.activity-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.activity-item:hover .activity-icon {
    transform: scale(1.05);
}

.activity-icon.hiking {
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
}

.activity-icon.biking {
    background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
}

.activity-icon.climbing {
    background: linear-gradient(135deg, #86efac 0%, #14b8a6 100%);
}

.activity-icon.running {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
}

.activity-icon.jumping {
    background: linear-gradient(135deg, #7dd3fc 0%, #38bdf8 100%);
}

.activity-name {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    text-align: center;
}

/* Recommended Section */
.recommended-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.see-all-link {
    color: var(--teal-mid);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.see-all-link:hover {
    color: var(--teal-dark);
}

.recommended-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* 講義開催日程カード：高さを揃える */
.recommended-grid.schedule-cards-grid .recommended-card-link {
    display: flex;
    height: 100%;
}
.recommended-grid.schedule-cards-grid .recommended-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
}
.recommended-grid.schedule-cards-grid .recommended-card .card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.recommended-grid.schedule-cards-grid .recommended-card .card-footer {
    margin-top: auto;
}

.recommended-card {
    position: relative;
    box-sizing: border-box;
    padding: 1px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* profile-pic と同じグラデーション枠（1px・画像部分も見えるようカード内側に余白） */
.recommended-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #14b8a6 0%, #ec4899 50%, #8b5cf6 100%);
    z-index: 0;
    padding: 1px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.recommended-card .card-image,
.recommended-card .card-content {
    position: relative;
    z-index: 1;
}

.recommended-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.2);
}

.card-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    /* 上だけ丸く：カードの角と揃える（はみ出し防止） */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.card-content {
    padding: 1rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.card-location-icon {
    width: 14px;
    height: 14px;
    color: var(--teal-mid);
}

.card-teachers-section {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}
.card-section-label {
    display: block;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.card-teachers {
    display: flex;
    align-items: center;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 0.25rem;
}
.card-teachers-none {
    color: #94a3b8;
    font-size: 0.85rem;
}

.attended-date-small {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.2rem;
}

/* 受講済みバッジ（灰色のbadge風） */
.attendance-badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.attendance-badge-completed {
    background-color: #e5e7eb; /* gray-200 */
    color: #374151;           /* gray-700 */
    border: 1px solid #d1d5db;
}

/* =========================
   講座詳細ページ 動画一覧
   ========================= */
.course-videos-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
}
.course-video-card {
    flex: 0 0 320px;
    max-width: 320px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}
.course-video-thumb {
    position: relative;
    width: 100%;
    max-width: 100%;
    background-color: #000000;
    overflow: hidden;
}
.course-video-thumb video {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border: none;
    border-radius: 0;
}
.course-video-thumb-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e5e7eb;
    font-size: 0.85rem;
}
.course-video-meta {
    padding: 0.75rem 0.75rem 0.85rem;
}
.course-video-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}
.course-video-category {
    font-size: 0.75rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .course-video-card {
        /* 画面幅内に収まるように（1枚ずつフル幅表示） */
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.card-teacher-pic {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: -8px;
}

.card-teacher-pic:first-child {
    margin-left: 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.heart-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s;
}

.heart-icon:hover {
    transform: scale(1.1);
}

.heart-icon.filled {
    color: #ef4444;
    fill: currentColor;
}

.heart-icon.outline {
    color: #cbd5e1;
}

.travelled-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #64748b;
}

.travelled-icon {
    width: 14px;
    height: 14px;
    color: var(--teal-mid);
}



.teacher {
    display: flex;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0 3px; /* アイテム間の間隔を調整 */
    scroll-snap-type: x mandatory; /* 横スクロールでスナップ */
}

.teacher-pic {
    text-align: center;
    margin: 0 5px;
    scroll-snap-align: start; /* 左端でスナップ */
}

.teacher-pic p {
    margin-bottom: 0;
    font-size: 10px;
}

.teacher-pic img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
}



/* フッターナビゲーション */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 530px;
    background-image: url('/storage/common_img/home_top_hatake.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    /* padding: 1rem 0 1.25rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom)); */
    padding: 0.75rem 0 0.75rem;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 0;
}

.bottom-nav > * {
    position: relative;
    z-index: 1;
}

/* サイドバーが開いた時のフッターナビゲーションの調整 */
body.open .bottom-nav {
    z-index: 4;
}

.nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
}

.nav-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-item:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    color: #000000;
    background: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.15);
    transform: translateY(-2px);
}

.nav-item span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: inherit;
}

/* 予約フォームスタイル */
.reservation-form input,
.reservation-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.reservation-form input:focus,
.reservation-form select:focus {
    outline: none;
    border-color: var(--teal-mid);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.reservation-btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--teal-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.reservation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.reservation-btn:active {
    transform: translateY(0);
}

@media (max-width: 480px) {
    .home-content {
        padding: 1rem;
        /* padding-bottom: 100px; */
    }

    .journal-feed-block {
        margin-left: -1rem;
        margin-right: -1rem;
        width: calc(100% + 2rem);
    }
    .journal-feed-block .journal-feed-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .combo-info-card {
        padding: 0.75rem 1rem;
    }
    .combo-info-card-thumb {
        width: 56px;
        height: 56px;
    }
    .combo-info-card-title-row {
        gap: 0.35rem;
    }
    .combo-info-card-title {
        font-size: 0.875rem;
    }
    .combo-info-card-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.5rem;
    }
    .combo-info-card-info-btn {
        top: 0.75rem;
        right: 0.75rem;
    }

    .content-title {
        font-size: 1.25rem;
    }

    .nav-item {
        font-size: 0.85rem;
        padding: 1rem 0.5rem;
        min-height: 48px;
        min-width: 52px;
    }

    .recommended-grid {
        grid-template-columns: 1fr;
    }
    /* 講義開催日程はスマホでも2列 */
    .recommended-grid.schedule-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .recommended-grid.schedule-cards-grid .card-title {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    .recommended-grid.schedule-cards-grid .card-image {
        height: 80px;
    }
    .recommended-grid.schedule-cards-grid .card-content {
        padding: 0.5rem;
    }
    .recommended-grid.schedule-cards-grid .card-location,
    .recommended-grid.schedule-cards-grid .card-teachers-section,
    .recommended-grid.schedule-cards-grid .card-attendance-status {
        font-size: 0.75rem;
    }
    .recommended-grid.schedule-cards-grid .card-teacher-pic {
        width: 20px;
        height: 20px;
    }

    .content-section {
        margin-bottom: 2rem;
    }
}



/* SPをメインで作成している */

    /* 入力系要素のみ16px以上にする 入力フォームでのズーム禁止*/ 
  input,
  textarea,
  select {
    font-size: 16px!important;
  }

  .container {
    align-items: center;
    width: 100%!important;
    max-width: 530px!important;
    padding: 0!important;
    padding-bottom: 110px!important;
    
  }

  .container-color
  ,.container-color-blue
  ,.container-color-gray
  ,.container-color-white
  ,.container-color-transparent
  {
    width: 100%!important;
    max-width: 530px!important;
  }


  .container-color-blue {
    position: relative;
  }

  .home-page-top {
    /* background-image: url('/storage/common_img/home_top_irasuto.jpeg'); */
    /* background-image: url('/storage/common_img/home_top_hatake.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden; */
  }

  /* .home-page-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 0;
  } */

.profile {
    background-image: url('/storage/common_img/home_top_hatake.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

  .home-page-top > * {
    position: relative;
    z-index: 1;
  }

  /* プロフィールヘッダー */
  .profile-header-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 1.5rem 0.5rem;
    position: relative;
    z-index: 2;
    gap: 0.75rem;
  }

  .profile-header-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s;
    object-fit: contain;
    flex-shrink: 0;
  }

  .profile-header-icon:hover {
    transform: scale(1.1);
  }

  /* プロフィールセクション（home-page-top内） */
  .home-page-top .profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  /* プロフィールカードスタイル */
  .home-page-top .profile.profile-card {
    background-image: url('/storage/common_img/home_top_hatake.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin: 0 1.5rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
  }

  .profile-header-text {
    width: 100%;
  }

  .profile-content-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
  }

  .home-page-top .profile.profile-card::before {
    /* content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    z-index: 0; */
  }

  .home-page-top .profile.profile-card > * {
    position: relative;
    z-index: 1;
  }

  .profile-header-text {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
  }

  .profile-content-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
  }

  .profile-text-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: flex-end;
  }

  .home-page-top .profile.profile-card .profile-greeting {
    /* text-align: left;    */
    margin-bottom: 0.25rem;
    width: 100%;
    color: #1e293b;
    font-weight: 600;
  }

  .home-page-top .profile.profile-card .profile-course-name {
    /* text-align: left; */
    width: 100%;
    color: #1e293b;
    font-weight: 500;
  }

  .home-page-top .profile.profile-card .profile-date {
    /* text-align: left; */
  }

  .home-page-top .profile.profile-card .profile-pic-wrapper {
    flex-shrink: 0;
  }

  .home-page-top .profile.profile-card .profile-pic.large {
    position: relative;
    margin-bottom: 0;
  }

  .home-page-top .profile-pic.large {
    position: relative;
    margin: 1rem;
  }

  .home-page-top .profile-pic.large img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
  }

  .home-page-top .profile-pic.large::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6 0%, #ec4899 50%, #8b5cf6 100%);
    z-index: 0;
    padding: 2px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
  }

  /* 写真左・その右に自分情報カードが右いっぱい */
  .profile-stats-card {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 14px;
    padding: 0.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
  }

  .profile-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    width: 100%;
  }

  .profile-stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem 0.35rem;
    border-radius: 10px;
    background: #f1f5f9;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
  }

  .profile-stats-item:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
  }

  .profile-stats-label {
    font-size: 0.7rem;
    color: #475569;
    font-weight: 600;
    line-height: 1.2;
  }

  .profile-stats-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f766e;
    line-height: 1.2;
  }

  .profile-greeting-info {
    background: #000000;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin: 0 1.5rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .profile-greeting {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .profile-course-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    /* margin-bottom: 0.5rem; */
    text-align: center;
  }

  .profile-name {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .profile-date {
    color: #ffffff;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0;
  }

  /* チェックイン/チェックアウトステータスバー（上1行2列＝会員タイプ、下1行＝過去受講済み・チケット） */
  .check-status-bar {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.25rem;
    margin: 0 1.5rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
  }

  .check-status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    background: rgba(209, 209, 209, 0.5);
    transition: all 0.3s;
    cursor: pointer;
  }

  .check-status-item-row {
    grid-column: 1 / -1;
  }

  .check-status-item-empty {
    cursor: default;
    opacity: 0.85;
  }

  .check-status-item-empty:hover {
    transform: none;
  }

  .check-status-item:hover {
    background: rgba(240, 245, 250, 0.8);
    transform: translateY(-2px);
  }

  .check-status-icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  .check-status-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .check-status-icon {
    width: 24px;
    height: 24px;
    color: #0f766e;
  }

  .check-status-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.25rem;
    line-height: 1.2;
  }

  .check-status-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f766e;
    line-height: 1.2;
  }

  .check-status-value.ticket-count {
    color: #f59e0b;
  }

  .check-status-value.point-count {
    color: #0f766e;
  }

  .check-status-value.not-yet {
    color: #94a3b8;
    font-size: 0.85rem;
  }

  @media (max-width: 480px) {
    .profile-stats-card {
      padding: 0.6rem;
    }

    .profile-stats-bar {
      gap: 0.35rem;
    }

    .profile-stats-item {
      padding: 0.4rem 0.25rem;
    }

    .profile-stats-label {
      font-size: 0.65rem;
    }

    .profile-stats-value {
      font-size: 0.85rem;
    }

    .check-status-bar {
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
      padding: 1rem;
      margin: 0 1rem 1rem;
    }

    .check-status-item {
      padding: 0.5rem 0.25rem;
    }

    .check-status-icon-wrapper {
      width: 35px;
      height: 35px;
      margin-bottom: 0.25rem;
    }

    .check-status-icon {
      width: 18px;
      height: 18px;
    }

    .check-status-label {
      font-size: 0.65rem;
      margin-bottom: 0.15rem;
    }

    .check-status-value {
      font-size: 0.8rem;
    }

    .check-status-value.not-yet {
      font-size: 0.75rem;
    }

    .profile-header-icon {
      right: 1rem;
      top: 0.75rem;
    }

    .home-page-top .profile-pic.large img {
      width: 100px;
      height: 100px;
    }

    .home-page-top .profile.profile-card {
      margin: 0 1rem 1.5rem;
      padding: 0.875rem 1rem;
      gap: 0.75rem;
    }

    .home-page-top .profile.profile-card .profile-pic.large img {
      width: 80px;
      height: 80px;
    }

    .home-page-top .profile.profile-card .profile-greeting {
      font-size: 1rem;
    }

    .home-page-top .profile.profile-card .profile-course-name {
      font-size: 0.85rem;
    }

    .home-page-top .profile.profile-card .profile-date {
      font-size: 0.85rem;
    }

  }

/* ローディングオーバーレイ */
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}

.loading-overlay.active {
  display: flex !important;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.loading-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.loading-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  animation: loading-blink 1.4s infinite ease-in-out both;
}

.loading-dot:nth-child(1) {
  background-color: #ef4444;
  animation-delay: -0.32s;
}

.loading-dot:nth-child(2) {
  background-color: #3b82f6;
  animation-delay: -0.16s;
}

.loading-dot:nth-child(3) {
  background-color: #facc15;
  animation-delay: 0s;
}

.loading-text {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
}

@keyframes loading-blink {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 友達アイコン横スクロールセクション */
.friends-section {
  padding: 0 0 1rem 0;
  background-color: #ffffff;
  overflow: hidden;
}

.friends-scroll-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 1.5rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  scroll-behavior: smooth;
}

.friends-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.friend-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: 70px;
  padding-top: 3px;
}

.friend-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.friend-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  /* グラデーションボーダー（水色→青→紫→ピンク→オレンジ→水色） */
  background: conic-gradient(
    from 0deg,
    #5eead4 0deg,
    #22d3ee 45deg,
    #3b82f6 90deg,
    #6366f1 135deg,
    #8b5cf6 180deg,
    #a855f7 225deg,
    #ec4899 270deg,
    #f97316 315deg,
    #fb923c 330deg,
    #5eead4 360deg
  );
  box-sizing: border-box;
}

.friend-avatar::before {
  content: '';
  position: absolute;
  /* 枠線をさらに細くする（内側の白円を広げる） */
  inset: 5px;
  border-radius: 50%;
  background: white;
  z-index: 1;
}

.friend-avatar:hover {
  transform: scale(1.05);
}

.friend-avatar img {
  width: calc(100% - 5px);
  height: calc(100% - 5px);
  object-fit: cover;
  border-radius: 50%;
  background-color: #ffffff;
  position: relative;
  z-index: 2;
  display: block;
}

/* 講座詳細：参加した人（friend-avatar と同じグラデーション枠・横並び） */
.course-participants-row {
  margin-bottom: 0.5rem;
}
.course-participant-item .course-participant-avatar,
.course-participant-item-no-link .course-participant-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: conic-gradient(
    from 0deg,
    #5eead4 0deg,
    #22d3ee 45deg,
    #3b82f6 90deg,
    #6366f1 135deg,
    #8b5cf6 180deg,
    #a855f7 225deg,
    #ec4899 270deg,
    #f97316 315deg,
    #fb923c 330deg,
    #5eead4 360deg
  );
  box-sizing: border-box;
}
.course-participant-item .course-participant-avatar::before,
.course-participant-item-no-link .course-participant-avatar::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: white;
  z-index: 1;
}
.course-participant-item .course-participant-avatar {
  transition: transform 0.2s ease;
}
.course-participant-item:hover .course-participant-avatar {
  transform: scale(1.05);
}
.course-participant-avatar img {
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: cover;
  border-radius: 50%;
  background-color: #fff;
  position: relative;
  z-index: 2;
  display: block;
}
.course-participant-name {
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* me友日誌一覧：写真右上のユーザーアイコン（friend-avatar と同じボーダースタイル・小型） */
.journal-feed-cell-avatar {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: conic-gradient(
    from 0deg,
    #5eead4 0deg,
    #22d3ee 45deg,
    #3b82f6 90deg,
    #6366f1 135deg,
    #8b5cf6 180deg,
    #a855f7 225deg,
    #ec4899 270deg,
    #f97316 315deg,
    #fb923c 330deg,
    #5eead4 360deg
  );
  box-sizing: border-box;
}
.journal-feed-cell-avatar::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: white;
  z-index: 1;
}
.journal-feed-cell-avatar img {
  width: calc(100% - 3px);
  height: calc(100% - 3px);
  object-fit: cover;
  border-radius: 50%;
  background-color: #ffffff;
  position: relative;
  z-index: 2;
  display: block;
}

.add-friend-avatar {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  border: 3px solid #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: visible;
  position: relative;
}

.add-friend-avatar::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: white;
  z-index: 1;
}

.add-friend-avatar svg {
  position: relative;
  z-index: 2;
}

.add-friend-avatar svg {
  color: #64748b;
  width: 32px;
  height: 32px;
}

.add-friend-item {
  cursor: pointer;
}

.add-friend-item:hover .add-friend-avatar {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  transform: scale(1.05);
}

.friend-name {
  font-size: 0.75rem;
  color: #1e293b;
  text-align: center;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.add-friend-item .friend-name {
  color: #64748b;
  font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .friends-scroll-container {
    padding: 0 1rem;
    gap: 0.75rem;
  }

  .friend-avatar {
    width: 65px;
    height: 65px;
  }

  .friend-item {
    min-width: 60px;
  }

  .friend-name {
    font-size: 0.7rem;
    max-width: 60px;
  }

  .add-friend-avatar svg {
    width: 28px;
    height: 28px;
  }
}

/* ============================================
   チケット購入モーダルスタイル
   ============================================ */
.ticket-item:hover {
    opacity: 0.8;
    transition: opacity 0.2s;
}

.ticket-option-btn {
    padding: 1rem;
    font-size: 1.1rem;
    border: 2px solid #007bff;
    transition: all 0.3s;
}

.ticket-option-btn:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.ticket-option-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #0056b3;
}

.ticket-price {
    font-weight: bold;
    font-size: 1.1rem;
}

#purchase-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   プロフィール未入力モーダルのスタイル
   ============================================ */
#profileIncompleteModal .modal-dialog {
    animation: fadeInModal 0.6s ease-out;
    max-width: 320px;
    width: 90%;
}

.profile-modal-dialog {
    margin: 1.75rem auto;
}

.profile-incomplete-modal {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.profile-modal-content {
    display: flex;
    flex-direction: column;
}

.profile-modal-top {
    position: relative;
    height: 50%;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-modal-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* 画像の上半分だけ表示（div > img のまま） */
.profile-modal-bg img {
    display: block;
    width: 100%;
    height: 200%;
    object-fit: contain;
    object-position: top center;
}

.profile-modal-bottom {
    padding: 1.5rem;
    background: #ffffff;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.profile-incomplete-modal .modal-body {
    background: #ffffff;
    padding: 0;
}

.profile-modal-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    text-align: center;
}

.profile-modal-text {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.profile-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.btn-profile-input {
    width: 100%;
    background: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
    display: inline-block;
    text-align: center;
}

.btn-profile-input:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
    color: white;
    text-decoration: none;
    background: linear-gradient(135deg, #67e8d9 0%, #2dd4bf 100%);
}

.btn-profile-later {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    /* color: rgba(255, 255, 255, 0.8); */
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.btn-profile-later:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #000000;
    transform: translateY(-1px);
}

/* meHug 講座セット・共通ボタン */
.btn-mehug-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
    text-decoration: none;
}
.btn-mehug-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
    color: white !important;
    background: linear-gradient(135deg, #67e8d9 0%, #2dd4bf 100%);
    text-decoration: none;
}
.btn-mehug-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--teal-mid);
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--teal-mid);
    cursor: pointer;
    text-decoration: none;
}
.btn-mehug-outline:hover {
    background: var(--teal-bg);
    color: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-1px);
    text-decoration: none;
}
.btn-mehug-cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #dc2626;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid #dc2626;
    cursor: pointer;
    text-decoration: none;
}
.btn-mehug-cancel:hover {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-1px);
    text-decoration: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* プロフィール公開トグルスイッチのスタイル */
.profile-header-top .form-check-input:checked {
    background-color: #0f766e;
    border-color: #0f766e;
}

/* 画像全画面表示オーバーレイ */
.img-fullscreen-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    box-sizing: border-box;
}
.img-fullscreen-overlay[hidden] {
    display: none !important;
}
.img-fullscreen-backdrop {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-fullscreen-img {
    max-width: 100%;
    max-height: calc(100vh - 2rem);
    width: auto;
    height: auto;
    object-fit: contain;
}
.img-fullscreen-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
    z-index: 10000;
}
.img-fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.35);
}
.course-img-trigger {
    cursor: pointer;
}

/* 友達にシェア フロートボタン（全ページ右下・アイコン＋「友達にシェア」） */
.share-float-btn {
    position: fixed;
    right: 16px;
    bottom: 80px;
    width: 56px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}
.share-float-btn:hover {
    transform: scale(1.05);
}
.share-float-btn-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.share-float-btn-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.share-float-btn-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #0f766e;
    white-space: nowrap;
}

/* シェアモーダル（友達にシェアする・QR・LINEで送る・リンクのコピー） */
.share-modal .modal-header {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #fff;
    border-bottom: none;
    padding: 0.9rem 1rem;
    align-items: center;
}
.share-modal .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.share-modal .modal-header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
}
.share-modal .modal-header-title img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.share-modal .modal-body {
    padding: 1.25rem 1rem;
    text-align: center;
    background: #f8fafc;
}
.share-modal .modal-body .share-modal-desc {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}
.share-modal .qr-wrap {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.share-modal .qr-wrap img {
    display: block;
    width: 180px;
    height: 180px;
}
.share-modal .share-modal-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.share-modal .share-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}
.share-modal .share-modal-btn:hover {
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.share-modal .share-modal-btn-line {
    background: #06C755;
}
.share-modal .share-modal-btn-copy {
    background: #EAB308;
    color: #1e293b;
}

