
        /* ================================
   Base & Reset
   ================================ */
.line-page, .line-page *, .line-page *::before, .line-page *::after {
  box-sizing: border-box;
}

.line-page {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
}

/* ================================
   Layout & Container
   ================================ */
.line-page .page-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}

.line-page .card {
  width: 100%;
  max-width: 448px; /* max-w-md */
  background-color: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  text-align: center;
}

/* ================================
   Icons
   ================================ */
.line-page .icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  color: #06C755; /* LINE公式カラー */
}
.line-page .icon-circle svg {
  width: 2rem;
  height: 2rem;
}
/* 連携用アイコンの背景 */
.line-page .bg-link {
  background-color: #ecfdf5; 
}
/* 完了用アイコンの背景・サイズ調整 */
.line-page .bg-success {
  background-color: #dcfce7;
}
.line-page .bg-success svg {
  width: 2.5rem;
  height: 2.5rem;
}

/* ================================
   Typography
   ================================ */
.line-page .title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.line-page .description {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

/* ================================
   Buttons
   ================================ */
.line-page .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-bottom: 1rem;
  cursor: pointer;
}

/* LINEボタン */
.line-page .btn-line {
  background-color: #06C755;
  color: #ffffff;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  gap: 0.5rem;
}
.line-page .btn-line:hover {
  background-color: #05b34c;
}
.line-page .btn-line svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

/* プライマリボタン (マイページへ戻る用) */
.line-page .btn-primary {
  background-color: #111827;
  color: #ffffff;
  margin-bottom: 0; /* 最後の要素用 */
}
.line-page .btn-primary:hover {
  background-color: #1f2937;
}

/* テキストリンク */
.line-page .text-link {
  font-size: 0.75rem;
  color: #9ca3af;
  text-decoration: underline;
}
.line-page .text-link:hover {
  color: #4b5563;
}

/* ================================
   Components (Status Box)
   ================================ */
.line-page .status-box {
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.line-page .status-dot {
  width: 0.625rem;
  height: 0.625rem;
  background-color: #06C755;
  border-radius: 50%;
}

.line-page .status-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #4b5563;
}
.line-page .status-text strong {
  color: #111827;
  font-weight: bold;
}

        
        .line-page {
            --line-color: #06C755;
            --line-hover-color: #05b34c;
            --bg-color: #f4f6f8;
            --card-bg: #ffffff;
            --text-main: #333333;
            --text-sub: #666666;
            --text-muted: #888888;
            --border-color: #e2e8f0;
        }

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-main);
            line-height: 1.6;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            padding: 20px 15px;
        } */

        .line-page .container {
            width: 100%;
         
            background-color: var(--card-bg);
            border-radius: 12px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            padding: 30px 24px;
        }

        /* ヘッダーエリア */
        .line-page .header {
            text-align: center;
            margin-bottom: 24px;
        }

        .line-page .logo-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 6px;
            letter-spacing: 0.05em;
        }

        .line-page .subtitle {
            font-size: 16px;
            font-weight: bold;
            color: var(--line-color);
        }

        .line-page .description {
            font-size: 14px;
            color: var(--text-sub);
            text-align: center;
            margin-bottom: 28px;
        }

        /* LINE連携アクションエリア */
        .line-page .action-area {
            text-align: center;
            margin-bottom: 24px;
        }

        .line-page .line-icon {
            width: 64px;
            height: 64px;
            background-color: #4405e4;
            border-radius: 16px;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 12px;
            color: #ffffff;
            font-weight: bold;
            font-size: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }

        .line-page .line-icon .fa-check {
            font-size: 3rem;
        }

        .line-page .icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 12px;
        }

        .line-page .icon img {
            display: block;
            width: 100%;
            height: 100%;
        }

        .line-page .icon-error {
            color: #dc2626;
            font-size: 64px;
            line-height: 1;
        }

        .line-page .account-name {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 16px;
        }

        .line-page .btn-line {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 52px;
            background-color: var(--line-color);
            color: #ffffff;
            font-size: 16px;
            font-weight: bold;
            text-decoration: none;
            border-radius: 8px;
            transition: background-color 0.2s, transform 0.1s;
            border: none;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }

        .line-page .btn-line:hover {
            background-color: var(--line-hover-color);
        }

        .line-page .btn-line:active {
            transform: scale(0.99);
        }

        /* 注意事項 */
        .line-page .notes {
            background-color: #f8fafc;
            border-radius: 8px;
            padding: 14px 16px;
            margin-bottom: 28px;
            font-size: 12px;
            color: var(--text-sub);
            border: 1px solid var(--border-color);
        }

        .line-page .notes p {
            margin-bottom: 8px;
            text-indent: -1.2em;
            padding-left: 1.2em;
        }

        .line-page .notes p:last-child {
            margin-bottom: 0;
        }

        /* 利用目的・プライバシー等 */
        .line-page .policy-section {
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
            font-size: 13px;
            color: var(--text-sub);
        }

        .line-page .policy-title {
            font-size: 14px;
            font-weight: bold;
            color: var(--text-main);
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }

        .line-page .policy-group {
            margin-bottom: 16px;
        }

        .line-page .policy-subtitle {
            font-weight: bold;
            color: var(--text-main);
            margin-bottom: 4px;
        }

        .line-page .policy-list {
            list-style: none;
            padding-left: 0;
            margin-bottom: 8px;
        }

        .line-page .policy-list li {
            position: relative;
            padding-left: 14px;
            margin-bottom: 2px;
        }

        .line-page .policy-list li::before {
            content: "・";
            position: absolute;
            left: 0;
        }

        .line-page .footer-links {
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px dashed var(--border-color);
            font-size: 12px;
        }

        .line-page .footer-links a {
            color: #2b6cb0;
            text-decoration: underline;
        }

        .line-page .footer-links a:hover {
            text-decoration: none;
        }

        .line-page .contact-box {
            margin-top: 8px;
        }

        /* 選択フォームで共通利用するカード */
        .line-page .choice-list {
            display: grid;
            gap: 12px;
            margin-bottom: 24px;
        }

        .line-page .choice-option {
            position: relative;
            display: block;
            cursor: pointer;
        }

        .line-page .choice-input {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            overflow: hidden;
            clip: rect(0 0 0 0);
            white-space: nowrap;
        }

        .line-page .choice-card {
            position: relative;
            display: block;
            padding: 16px 16px 16px 48px;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            background-color: var(--card-bg);
            text-align: left;
            transition: border-color 0.2s, background-color 0.2s;
        }

        .line-page .choice-option:hover .choice-card {
            border-color: #8bd8ad;
            background-color: #f7fff9;
        }

        .line-page .choice-input:focus-visible + .choice-card {
            outline: 3px solid rgba(6, 199, 85, 0.3);
            outline-offset: 2px;
        }

        .line-page .choice-input:checked + .choice-card {
            border-color: var(--line-color);
            background-color: #f2fff7;
        }

        .line-page .choice-indicator {
            position: absolute;
            top: 18px;
            left: 16px;
            width: 20px;
            height: 20px;
            border: 2px solid #9ca3af;
            border-radius: 50%;
            background-color: #ffffff;
        }

        .line-page .choice-input:checked + .choice-card .choice-indicator {
            border: 6px solid var(--line-color);
        }

        .line-page .choice-title {
            display: block;
            margin-bottom: 10px;
            color: var(--text-main);
            font-size: 15px;
            font-weight: bold;
            overflow-wrap: anywhere;
        }

        .line-page .detail-list {
            display: grid;
            grid-template-columns: max-content 1fr;
            gap: 4px 12px;
            margin: 0;
            color: var(--text-sub);
            font-size: 13px;
            line-height: 1.6;
        }

        .line-page .detail-list dt,
        .line-page .detail-list dd {
            margin: 0;
        }

        .line-page .detail-list dd {
            color: var(--text-main);
            font-weight: bold;
        }

        .line-page .detail-list > :nth-child(even) {
            color: var(--text-main);
            font-weight: bold;
        }

        .line-page .alert {
            margin-bottom: 24px;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 14px;
            line-height: 1.6;
            text-align: left;
        }

        .line-page .alert-error {
            border: 1px solid #d9363e;
            background-color: #fff2f2;
            color: #a32027;
        }

        @media (prefers-reduced-motion: reduce) {
            .line-page .choice-card {
                transition: none;
            }
        }
