html {
    scroll-behavior: smooth;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

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

/* Header */
.header {
    background: #fff;
    color: #000;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ffd700;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    font-weight: 500;
}

.lang-btn.active {
    font-weight: bold;
    text-decoration: underline;
}

.lang-switcher span {
    color: #ccc;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-btn .icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: #fff;
    color: #000;
    padding: 120px 0 20px;
    text-align: center;
    margin-top: 70px;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem; /* Adjusted margin */
    opacity: 0.9;
}

.retention-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(145deg, #ffd700, #ffca28); /* Gold gradient */
    color: #424242; /* Dark gray for contrast */
    font-size: 1.2rem;
    font-weight: bold;
    padding: 12px 24px;
    border-radius: 50px; /* Pill shape */
    margin: 0 auto 2rem auto;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    border: 2px solid #fff;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.badge-icon {
    font-size: 1.5rem;
    color: #ff8f00; /* Amber color for the icon */
}

/* Hero Image Layout for index.html */
.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Hero Image Layout for index_biz.html */
.hero-image-container-biz {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 0 auto 2rem auto;
    width: 100%;
    max-width: calc(160px + 2rem + 500px);
}

.hero-image-row-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.hero-image-right {
    position: relative;
}

.hero-image-row-bottom {
    width: 100%;
    text-align: center;
    position: relative;
}

.image-label {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #FF6347; /* Tomato Red */
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.hero-image-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border: 4px solid white;
}

.hero-avatar-caption {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.hero-main-image {
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-dashboard-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.app-download {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-decoration: none;
    width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.download-btn i {
    font-size: 1.8rem;
}

.download-btn.ios {
    background: #000;
    color: white;
    border-color: #000;
}

.download-btn.android {
    background: #fff;
    color: #333;
    border-color: #ccc;
}

.download-btn.web {
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.app-download-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.download-btn.material {
    background: #FF6347; /* Tomato red */
    color: white;
    border-color: #FF6347;
    width: 456px; /* (220px * 2) + 16px gap */
}

/* Main Content */
main {
    padding: 0 0 4rem;
}

.service-section {
    background: white;
    border-radius: 20px;
    margin: 2rem 0;
    padding: 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #B3E5FC;
    margin: 1rem auto;
    border-radius: 2px;
}

/* Concept Section */
.concept-section {
    text-align: center;
    margin: 0 auto 2rem auto; /* Centered with bottom margin */
    padding: 2rem;
    background: #e3f2fd; /* Light, friendly blue */
    border-radius: 15px;
    max-width: 1000px; /* Set max-width to match admin section */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.concept-section h3 {
    font-size: 1.8rem;
    color: #1565c0;
    margin-bottom: 1rem;
}

.concept-section p {
    font-size: 1.1rem;
    color: #555;
}

.admin-feature-section {
    margin: 0 auto 4rem auto; /* Centered with bottom margin */
    padding: 2rem;
    background-color: #e8f5e9; /* Light, friendly green */
    border-radius: 15px;
    max-width: 1000px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.admin-feature-section h3 {
    font-size: 1.8rem;
    color: #2e7d32; /* Darker green for text */
    text-align: center;
    margin-bottom: 1rem;
}

.admin-feature-section p {
    font-size: 1.1rem;
    color: #333;
    text-align: center;
    margin: 0;
}

/* Ideal For Section */
.ideal-for-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.ideal-for-section h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 3rem;
}

.ideal-for-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ideal-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ideal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.ideal-card-icon {
    font-size: 3rem;
    color: #81D4FA;
    margin-bottom: 1rem;
}

.ideal-card h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.75rem;
}

.ideal-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* Basic Features Section */
.basic-features-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
}

.basic-features-section h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 3rem;
}

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.feature-card-icon {
    font-size: 3rem;
    color: #81D4FA; /* Light blue */
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    margin: 0 0 0.75rem 0;
    min-height: 2.4em; /* Set min-height to avoid layout shifts */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card p {
    font-size: 0.85rem; /* Adjusted font size */
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.report-card-section .feature-card-icon {
    color: #81c784; /* Light Green */
}

.report-card-section .feature-card p {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
}

/* Implementation Effects Section */
.implementation-effects-section {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.implementation-effects-section h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.implementation-effects-section .effects-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.effects-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.effect-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
}

.circular-progress {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: conic-gradient(#ff9800 calc(var(--value) * 1%), #e0e0e0 0);
    margin-bottom: 1.5rem;
}

.circular-progress::before {
    content: "";
    position: absolute;
    width: 85%;
    height: 85%;
    background-color: #f8f9fa;
    border-radius: 50%;
}

.progress-value {
    position: relative;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ff9800;
}

.effect-label {
    font-size: 1.1rem;
    color: #ff9800;
    font-weight: 500;
    text-align: center;
}

/* Corporate Issues Section */
.corporate-issues-section {
    margin-bottom: 4rem;
}

.corporate-issues-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.issues-solutions-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Issue, Arrow, Solution */
    gap: 1.5rem 1rem; /* row-gap, column-gap */
    max-width: 1100px;
    margin: 0 auto;
    align-items: center; /* Vertically center items in each row */
}

.issues-solutions-grid h4 {
    font-size: 1.3rem;
    text-align: center;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 25px; /* Pill shape */
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: none; /* Remove previous border */
}

/* Style for "社員の声" label */
.issues-solutions-grid h4[data-lang-key="employee-voice-title"] {
    background: #ff9800; /* Orange, consistent with issue cards */
}

/* Style for "使う・継続する秘訣" label */
.issues-solutions-grid h4[data-lang-key="solution-secret-title"] {
    background: #4caf50; /* Green, consistent with solution cards */
}

.arrow-container {
    font-size: 2.5rem;
    color: #aaaaaa; /* Gray color */
    text-align: center;
}

.arrow-container .fa-share {
    transform: rotate(20deg); /* Adjust rotation for better direction */
}

.issue-card, .solution-card {
    padding: 1.5rem;
    border-radius: 15px;
    height: 100%; /* Make cards fill the grid cell height */
}

.issue-card {
    background: #fff3e0; /* Light orange/yellow for concern */
    border-left: 5px solid #ff9800;
    position: relative;
}

.issue-number {
    position: absolute;
    top: 1.5rem;
    left: -20px;
    background: #ff9800;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.issue-card p {
    margin: 0;
    padding-left: 25px;
    color: #555;
}

.solution-card {
    background: #e8f5e9; /* Light green for solution */
    border-left: 5px solid #4caf50;
    position: relative;
}

.solution-number {
    position: absolute;
    top: 1.5rem;
    left: -20px;
    background: #4caf50;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.solution-card p {
    margin: 0;
    padding-left: 25px;
    color: #333;
    font-weight: 500;
}

/* Getting Started */
.getting-started {
    margin-bottom: 4rem;
}

.getting-started h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

/* Getting Started Chat Interface */
.chat-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.chat-message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.chat-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chat-bubble {
    background: #e3f2fd;
    border-radius: 20px;
    padding: 1rem 1.5rem;
    position: relative;
    max-width: 80%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.chat-bubble::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #e3f2fd transparent transparent;
}

.chat-bubble p {
    margin: 0;
    color: #333;
    line-height: 1.7;
}

/* Daily Activities */
.daily-activities {
    margin-bottom: 4rem;
}

.daily-activities h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.flow-image-container {
    text-align: center;
    margin-bottom: 2rem;
}

.flow-image {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Points Link Section */
.points-link-section {
    text-align: center;
    padding: 3rem 20px;
    background: #e3f2fd;
    border-radius: 15px;
    margin: 4rem auto;
    max-width: 900px;
}

.points-link-section h3 {
    font-size: 2rem;
    color: #1565c0;
    margin-bottom: 1rem;
}

.points-link-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.points-link-section .download-btn {
    background: #FF6347;
    color: white;
    border-color: #FF6347;
    width: auto;
    padding: 12px 30px;
}

.points-link-section .example-box {
    max-width: 600px;
    margin: 1.5rem auto 2rem auto;
    text-align: left;
}

.points-link-section .example-box p {
    margin-bottom: 0;
}

.back-button-container {
    text-align: center;
    margin-top: 3rem;
}

/* Point System */
.highlight-box p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* Point Perks Section */
.point-perks-section {
    margin-bottom: 4rem;
}

.point-perks-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.perks-container h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e91e63;
}

.perks-container h5 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 1rem;
    border-left: 4px solid #1565c0;
}

.perks-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    text-align: left;
}

.perks-header, .perks-row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    padding: 1rem;
    align-items: center;
}

/* Specific layout for the 2-column simple perks table */
.perks-table.simple .perks-row {
    grid-template-columns: 100px 1fr; /* Fixed width for the first column */
    gap: 1rem; /* Add some gap between columns for better readability */
}

.perks-header {
    background: #B3E5FC;
    color: #000;
    font-weight: bold;
}

.perks-row {
    border-bottom: 1px solid #eee;
}

.perks-row:last-child {
    border-bottom: none;
}

.perks-row:hover {
    background: #f8f9fa;
}

.perks-header.ranking, .perks-row.ranking {
    grid-template-columns: 1fr 4fr;
}

.perks-note {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 500;
}

.perks-note-box {
    text-align: center;
    margin-bottom: 2rem;
}

.perks-note-box p {
    font-weight: 500;
    margin: 0;
}

.perks-condition {
    text-align: left;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Point System */
.point-system-container {
    max-width: 800px;
    margin: 0 auto;
}

.point-system {
    margin-bottom: 4rem;
}

.point-system h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.point-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.table-header {
    background: #B3E5FC;
    color: #000;
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1.5fr 1fr;
    font-weight: bold;
    border-bottom: 1px solid #ddd; /* Add border for header */
}

.table-row {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr 1.5fr 1fr;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: #f8f9fa;
}

.col {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    border-right: 1px solid #eee;
}

.col:last-child {
    border-right: none;
}

.col small {
    color: #666;
    font-size: 0.85em;
    margin-top: 4px;
}

.col.highlight {
    color: #e91e63;
    font-weight: bold;
}

.point-icon {
    font-size: 1.2rem;
}

.point-example {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.example-box {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #4caf50;
}

.example-box h4 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.note {
    background: #fff3e0;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #ff9800;
}

.note p {
    color: #e65100;
    font-size: 0.9rem;
    margin: 0;
}

/* Subscription Plans */
.subscription-plans {
    margin-bottom: 4rem;
}

.subscription-plans h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.plans-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.plan {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
    border-top: 4px solid;
    max-width: 350px;
    width: 100%;
}

.plan-basic {
    border-top-color: #4caf50;
}

.plan-water {
    border-top-color: #2196f3;
}

.plan-saturday {
    border-top-color: #e91e63;
}

.plan-all {
    border-top-color: #4caf50;
}

.plan.recommended {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.plan:hover {
    transform: translateY(-5px);
}

.plan.recommended:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ff5722;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-header h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    color: #e91e63;
}

.plan-features {
    margin-bottom: 2rem;
}

.feature {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.feature:last-child {
    border-bottom: none;
}

.feature.special {
    color: #4caf50;
    font-weight: bold;
}

.feature.advantage .fa-check {
    color: #4caf50; /* Green check icon */
    margin-right: 10px;
}

.feature.disadvantage {
    color: #757575; /* Gray text for disadvantages */
}

.feature.disadvantage .fa-ban {
    color: #ef5350; /* Red 'ban' icon */
    margin-right: 10px;
}

.plan-price-note {
    font-size: 0.85rem;
    font-weight: normal;
    color: #666;
    margin-top: 0;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.plan-price-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: -1rem; /* Adjust spacing */
}

.plan-options {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

.plan-options h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.plans-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.plus-separator {
    font-size: 2.5rem;
    color: #aaa;
    font-weight: bold;
}

.plan-option {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    height: 100%;
    min-height: 250px;
}

.plan-option h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.plan-option-desc {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.plan-button {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 25px;
    background: #B3E5FC;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.plan-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.plan-button-special:disabled {
    background-color: #FF6347; /* Tomato red */
    color: white;
}

.plan-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.note-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.note-icon {
    font-size: 1.2rem;
}

.plan-fee-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

/* Attention Section */
.attention-section {
    margin-bottom: 4rem;
}

.attention-section h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.attention-list {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1.5rem;
}

.attention-list li {
    margin-bottom: 1rem;
    list-style-type: '・ ';
}

/* FAQ Section */
.faq-section {
    background: white;
    border-radius: 20px;
    margin: 2rem 0;
    padding: 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    max-height: 400px; /* Set a max height */
    overflow-y: auto; /* Enable vertical scrolling */
    padding-right: 1rem; /* Add some padding for the scrollbar */
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #81D4FA;
}

.faq-question h4 {
    font-size: 1.2rem;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #81D4FA;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 0 1.5rem 0;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-image-container,
    .hero-image-row-top {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-main-image,
    .hero-dashboard-image {
        max-width: 90%;
    }
    
    .hero-characters {
        flex-direction: column;
        gap: 2rem;
    }
    
    .app-download {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 90%;
        max-width: 350px;
    }

    .download-btn.material {
        width: 90%;
        max-width: 350px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .table-header .col,
    .table-row .col {
        justify-content: center;
        text-align: center;
    }
    
    .point-example {
        grid-template-columns: 1fr;
    }
    
    .plans-container {
        flex-direction: column;
    }

    .plans-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .plan.recommended {
        transform: none;
    }
    
    .plan-notes {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .nav a {
        font-size: 1.1rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active .icon-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.active .icon-bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .icon-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .character {
        padding: 1.5rem;
    }
    
    .character-icon {
        font-size: 3rem;
    }
}

.update-notice {
    background-color: #fff3e0;
    color: #e65100;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ffcc80;
    max-width: 500px;
}

.update-alert {
    background-color: #fff9c4;
    color: #7f5f00;
    padding: 15px;
    border-radius: 8px;
    margin: 0 auto 2rem auto;
    text-align: center;
    border: 1px solid #ffecb3;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.update-alert i {
    color: #ffc107;
}

/* Trainer Profiles */
.trainer-profiles {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

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

.trainer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 3px solid #B3E5FC;
}

.trainer-profile h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.trainer-profile p {
    font-size: 0.8rem;
    color: #666;
}

.feature .fa-medal {
    color: #ffc107;
    margin-right: 10px;
}

/* Testimonials Section */
.testimonials-section {
    background: #f8f9fa;
    padding: 4rem 0;
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
    position: static; /* Reset from original */
}

.testimonial-card::before {
    content: none; /* Reset from original */
}

.testimonial-author {
    text-align: center;
    flex-shrink: 0;
    width: 80px; /* Add a fixed width */
}

.author-icon {
    font-size: 4rem;
    color: #81D4FA;
    margin-bottom: 0.5rem;
}

.author-name {
    font-size: 0.9rem;
    font-weight: bold;
    color: #555;
    display: block; /* Ensure it takes up its own line */
}

.testimonial-bubble {
    position: relative;
    background: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    width: 100%;
}

.testimonial-bubble::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.testimonial-text {
    font-style: normal; /* Reset from original */
    color: #333;
    margin: 0;
    position: static; /* Reset from original */
    z-index: auto; /* Reset from original */
}

.update-alert {
    background-color: #fff9c4;
    color: #7f5f00;
    padding: 15px;
    border-radius: 8px;
    margin: 0 auto 2rem auto;
    text-align: center;
    border: 1px solid #ffecb3;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.update-alert i {
    color: #ffc107;
}

.important-notes {
    border: 2px solid #e74c3c;
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.important-notes p {
    color: #555555;
    margin-bottom: 10px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

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

.important-notes .fa-check-circle {
    margin-right: 10px;
    margin-top: 5px;
}

.point-perks-section .update-alert,
.point-perks-section .important-notes {
    box-sizing: border-box;
    width: 100%;
}

@media (min-width: 768px) {
    .point-perks-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .point-perks-section .update-alert,
    .point-perks-section .important-notes,
    .point-perks-section .perks-container {
        width: 100%;
        max-width: 800px; /* Adjust max-width as needed */
        box-sizing: border-box;
    }
}

.text-blue {
  color: #007bff;
}

.text-red {
  color: #e74c3c;
}

.perks-table.simple .perks-col p {
    margin-bottom: 0.5em;
}

.perks-table.simple .perks-col p:last-child {
    margin-bottom: 0;
}


.text-green {
  color: #4caf50;
}

.text-pink {
  color: #e91e63;
}


.perks-container h5[data-lang-key="slot-bonus-title"],
.perks-container h5[data-lang-key="general-bonus-title"],
.perks-container h5[data-lang-key="corp-bonus-title"] {
    margin-top: 2.5rem;
}
