/* --- Basic Reset & Body Style --- */
:root {
    --primary-color: #4184F3;
    --primary-dark: #3367D6;
    --cta-color: #FF9800; /* Orange */
    --cta-dark: #F57C00;
    --text-color: #333;
    --text-light: #555;
    --bg-light: #f4f7f9;
    --white: #fff;
    --border-color: #e0e0e0;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.container {
    max-width: 960px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}
h1, h2, h3 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.4;
    font-weight: 600;
}
h1 {
    font-size: 2.5rem;
    color: var(--white);
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}
h2 {
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-top: 2em;
    margin-bottom: 1.5em;
    padding-bottom: 0.5em;
    position: relative;
}
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}
h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
}
p {
    margin-bottom: 1.2em;
    font-size: 1rem;
}
ul, ol {
    margin-bottom: 1em;
    padding-left: 0;
    list-style: none;
}
li {
    margin-bottom: 0.7em;
}
strong {
    color: var(--primary-color);
    font-weight: 600;
}
code {
    background-color: #e8eaed;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95em;
}
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px; /* Slightly reduced height */
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px; /* Slightly reduced gap */
    font-size: 1.3rem; /* Slightly reduced font size */
    font-weight: 600;
    color: var(--primary-dark);
}
.nav-logo {
    height: 32px; /* Adjusted logo size */
    width: auto;
}
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 22px; /* Slightly reduced gap */
    align-items: center; /* Ensure vertical alignment */
}
.nav-links li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem; /* Slightly reduced font size */
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}
.nav-links li a:hover,
.nav-links li a.active { /* Add active state if needed */
    color: var(--primary-color);
}
.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.nav-links li a:hover::after {
    width: 100%;
}
.nav-cta {
    display: inline-block; /* Ensure display is consistent */
    background-color: var(--cta-color);
    color: var(--white);
    padding: 10px 20px; /* Adjusted padding */
    border-radius: 8px; /* Match .button */
    font-size: 0.95rem; /* Keep slightly smaller font size for nav */
    font-weight: bold; /* Match .button */
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; /* Match .button transitions */
    border: none; /* Match .button */
    cursor: pointer; /* Match .button */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Add shadow, slightly adjusted */
    text-align: center; /* Match .button */
}
.nav-cta:hover {
    background-color: var(--cta-dark); /* Match .button */
    color: var(--white);
    transform: translateY(-2px); /* Add transform, slightly less than .button */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15); /* Adjust shadow on hover */
    text-decoration: none;
}
.nav-cta::after { /* Remove underline effect for button */
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none; /* Hidden by default */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* --- Section Styles --- */
section {
    padding: 60px 0;
}
section .container {
     padding-left: 15px;
     padding-right: 15px;
}
section:nth-of-type(even) {
    background-color: var(--white);
}
section:nth-of-type(odd):not(.hero) {
    background-color: var(--bg-light);
}

/* --- Hero Section --- */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #73a9f7, var(--primary-color));
    color: var(--white);
    overflow: hidden;
}
.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-text {
    flex: 1 1 55%;
    text-align: left;
}
.hero-title-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0.5em;
    justify-content: flex-start;
}
.hero-title-icon {
    height: 3.6rem;
    width: auto;
    flex-shrink: 0;
}
.hero-image {
    flex: 1 1 54%;
    text-align: center;
}
 .hero-image img {
     max-width: 100%;
     height: auto;
     border-radius: 8px;
 }
/* .hero .catchphrase style removed */
.hero h1 { /* Style h1 instead of .catchphrase */
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 20px;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    line-height: 1.4;
}
.hero .catchphrase-sub {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
     line-height: 1.4;
     opacity: 0.9;
}
.hero .subtitle {
    font-size: 1.1rem;
    color: #e8f0fe;
    margin-bottom: 30px;
    line-height: 1.7;
}
 .hero-text strong {
     color: var(--white);
 }
.hero .hero-buttons {
     margin-top: 30px;
}
.hero .button { }

/* --- YouTube Video Section --- */
.video-section {
    background-color: var(--white);
    padding: 60px 0;
}
.video-section h2 {
     margin-bottom: 1.5em;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #000;
    cursor: pointer;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* YouTube Thumbnail Styles */
.youtube-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.youtube-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.youtube-thumbnail:hover img {
    transform: scale(1.05);
}
.play-button {
    position: absolute;
    width: 68px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}
.play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}
.youtube-thumbnail:hover .play-button {
    background-color: rgba(255, 0, 0, 0.8);
}


/* --- Problem Section --- */
/* Add flex container */
.problem-container {
    display: flex;
    align-items: center;
    gap: 40px; /* Adjust gap */
}
.problem-text {
    flex: 1 1 60%; /* Text takes more space */
}
.problem-image {
    flex: 1 1 40%;
    text-align: center; /* Center image */
}
.problem-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional */
}
.problem h2 { /* Adjust heading alignment if needed */
    text-align: left;
    margin-left: 0; /* Reset margin if centered */
     margin-right: 0;
}
 .problem h2::after { /* Adjust underline for left align */
      left: 0;
      transform: translateX(0);
      width: 60px; /* Shorter underline */
  }
.problem ul {
    max-width: 100%; /* Allow list to take full width of its container */
    margin: 20px 0 0 0; /* Adjust margin */
     padding-left: 0; /* Remove default padding */
     text-align: left; /* Ensure list text is left aligned */
     list-style: none; /* Remove default list style */
}
.problem li {
    padding-left: 1.8em; /* Space for icon */
    position: relative;
    font-size: 1.05rem;
    /* list-style-type: disc; Removed */
    color: var(--text-light);
     margin-bottom: 1em; /* Slightly increase spacing */
     line-height: 1.6;
}
.problem li::before {
    content: '❌'; /* Icon */
    position: absolute;
    left: 0;
    top: 1px; /* Adjust vertical alignment */
    color: #E57373; /* Reddish color for problem icon */
    font-size: 1.1em;
    font-weight: bold;
}

/* --- Solution Section --- */
.solution p {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 1.1rem;
}
.solution strong {
    color: var(--primary-color);
}
.solution img {
  width: 100%;
}

/* --- Features Section (Grid Layout) --- */
.features .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default to 3 columns */
    gap: 30px;
    margin-top: 30px;
    /* max-width: 800px; Removed width limit */
    margin-left: auto;
    margin-right: auto;
}
.features .feature-item {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex; /* Use flex for internal layout */
    flex-direction: column; /* Stack text vertically */
    align-items: center; /* Center items */
    text-align: center; /* Center text */
    /* gap: 20px; Removed gap */
}
.features .feature-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.features .feature-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--primary-color);
    text-align: center; /* Center heading */
}
.features .feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center; /* Center paragraph */
    padding: 0 15px; /* Add some horizontal padding */
}
/* Removed .feature-image styles */
.features .feature-text {
     /* Removed flex properties */
     text-align: center;
     width: 100%; /* Ensure text container takes full width */
}


/* --- Security Section --- */
.security h2 {
    text-align: center;
}
.security-container {
    display: flex;
    align-items: center;
    gap: 40px; /* Adjust gap */
    margin-top: 30px; /* Add margin */
}
.security-text {
    flex: 1 1 50%;
}
.security-image {
    flex: 1 1 50%;
    text-align: center;
}
.security-image img {
    max-width: 100%; /* Ensure image scales */
    height: auto;
    max-height: 300px; /* Limit height */
    display: block; /* Remove extra space */
    margin: 0 auto; /* Center image */
}
.security ul {
    margin: 0;
    padding-left: 0; /* Remove default padding */
    list-style: none; /* Remove default list style */
}
.security li {
    position: relative;
    padding-left: 1.8em; /* Space for icon */
    margin-bottom: 15px; /* Increased spacing */
    font-size: 1rem; /* Slightly larger font */
    color: var(--text-light);
    line-height: 1.6; /* Adjust line height */
}
.security li::before {
    content: '✔'; /* Checkmark icon */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color); /* Icon color */
    font-weight: bold;
    font-size: 1.1em;
}
.security li strong {
    color: var(--primary-dark); /* Darker color for strong text */
}
.security .final-note {
    text-align: center;
    margin-top: 40px; /* Increased margin */
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-light);
}

/* --- Pricing Section --- */
.pricing {
    background-color: var(--white); /* Match even section background */
}
.pricing h2 {
    text-align: center;
}
.pricing .pricing-details {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 40px; /* Increase padding */
    background-color: var(--white);
    border-radius: 10px; /* Slightly larger radius */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Stronger shadow */
    text-align: center;
    border: 1px solid #d0d0d0; /* Slightly darker border */
}
.pricing .pricing-details p {
    margin-bottom: 1em;
    font-size: 1.1rem;
    color: var(--text-light);
}
.pricing .pricing-details .price { /* Use a class for specific styling */
    font-size: 2rem; /* Larger font size */
    color: var(--cta-color); /* Orange color */
    font-weight: 700; /* Bolder */
    display: block;
    margin-bottom: 0.5em;
}
.pricing .pricing-details ul {
    list-style: none; /* Remove default list style */
    padding-left: 20px; /* Adjust padding */
    margin-top: 2em; /* Increase top margin */
    margin-bottom: 2em; /* Increase bottom margin */
    text-align: left;
    display: inline-block; /* Center the block */
}
.pricing .pricing-details li {
    margin-bottom: 0.8em; /* Increase spacing */
    font-size: 1rem;
    position: relative;
    padding-left: 1.8em; /* Space for icon */
    color: var(--text-light);
}
.pricing .pricing-details li::before {
    content: '✔'; /* Checkmark icon */
    position: absolute;
    left: 0;
    top: 1px; /* Adjust vertical alignment */
    color: var(--primary-color); /* Icon color */
    font-weight: bold;
    font-size: 1.1em;
}


/* --- CTA Section --- */
.cta {
    text-align: center;
    padding: 60px 0;
    background-color: var(--white);
}
.cta h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    border: none;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}
 .cta h2::after { display: none; }

/* --- Button Styles --- */
.button {
    display: inline-block;
    background-color: var(--cta-color); /* Orange */
    color: var(--white); /* White text */
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    margin: 10px 5px;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-align: center;
}
.button:hover {
    background-color: var(--cta-dark); /* Darker Orange */
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 0;
    padding: 30px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    background-color: #e8eaed;
}
 footer .container {
      padding-left: 15px;
      padding-right: 15px;
 }
footer p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}
 footer .footer-info {
     margin-bottom: 15px;
 }
  footer .footer-info span {
      margin: 0 10px;
      display: inline-block;
  }
 footer .copyright {
     margin-top: 15px;
     font-size: 0.85rem;
     color: #888;
 }

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    html { font-size: 15px; }
    .container { max-width: 90%; }
    .hero-container { flex-direction: column; text-align: center; }
    .hero-text { flex-basis: auto; order: 2; text-align: center; }
    .hero-image { flex-basis: auto; order: 1; margin-bottom: 30px; }
    .hero-title-container { justify-content: center; }
    .hero .hero-buttons { text-align: center; }
    .hero .button { margin: 10px 5px; }

    .problem-container { gap: 20px; } /* Reduce gap */
    .problem-text { flex-basis: 65%; } /* Adjust basis */
    .problem-image { flex-basis: 35%; }

    /* Adjust features grid for tablets */
    .features .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
    }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; margin-bottom: 1.2em;}
    h3 { font-size: 1.4rem; }
    section { padding: 40px 0; }
    .hero { padding: 60px 0; }
    .hero-image { margin-bottom: 20px; }
    .hero-title-icon { height: 2.8rem; }
     .hero h1 { font-size: 1.8rem; } /* Adjusted h1 size */
     .hero .catchphrase-sub { font-size: 1.3rem; }
    .hero .subtitle { max-width: 90%; }

     /* Stack problem section */
     .problem-container { flex-direction: column; }
     .problem-text { order: 1; text-align: center; } /* Text first, centered */
     .problem-image { order: 2; margin-top: 25px; max-width: 80%; } /* Adjusted max-width */
     .problem h2 { text-align: center; margin-left: auto; margin-right: auto;} /* Center H2 */
     .problem h2::after { left: 50%; transform: translateX(-50%); width: 80px;} /* Center underline */
     .problem ul { text-align: left; display: inline-block;} /* Center align list block */

    /* Stack security section */
    .security-container {
        flex-direction: column;
    }
    .security-text { order: 2; margin-top: 20px; }
    .security-image { order: 1; max-width: 70%; } /* Adjust image size */


    /* Adjust features grid for smaller tablets/large phones */
    .features .features-grid {
        grid-template-columns: 1fr; /* 1 column */
        gap: 20px;
    }
    .features .feature-item h3 { min-height: auto; }
    .button { padding: 14px 28px; font-size: 1rem; }
     footer .footer-info span { display: block; margin: 5px 0; }

    .container { /* Override container for smaller screens */
        max-width: 100%; /* Use full width */
        /* padding-left and padding-right are inherited or kept */
        box-sizing: border-box; /* Include padding in width */
        margin-left: 0; /* Reset auto margin */
        margin-right: 0; /* Reset auto margin */
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
     p { font-size: 0.95rem; }
    .hero { padding: 50px 0; }
     .hero h1 { font-size: 1.5rem; } /* Adjusted h1 size */
     .hero .catchphrase-sub { font-size: 1.1rem; }
    .hero .subtitle { font-size: 1rem; }
    .hero-title-icon { height: 2.2rem; }
    .hero-title-container { gap: 10px; }
     .hero .hero-buttons { display: flex; flex-direction: column; align-items: center;}
     .hero .button { width: 90%; margin: 8px 0;}

    .problem ul { padding-left: 1em; } /* Less indent */
    .problem li { font-size: 1rem; }
     .problem-image { max-width: 90%; } /* Further adjust image size */
    .features .feature-item { padding: 20px; }
    .features .feature-image { width: 70%; max-width: 200px; } /* Adjust feature image size */
     .security ul { padding-left: 1.5em; }
     .security li { font-size: 0.9rem; padding-left: 0; }
     .security-image { max-width: 80%; } /* Adjust security image size */
      .cta .button {
         width: 90%; box-sizing: border-box; margin-left: 0; margin-right: 0;
     }
}

/* --- Utility Classes --- */
.sp-only { display: none; } /* Hide by default */
@media (max-width: 768px) {
    .sp-only { display: inline; } /* Show on smaller screens */
    .pc-only { display: none; } /* Hide elements meant only for PC */
}

/* --- Navigation Responsive --- */
@media (max-width: 992px) {
    .nav-links {
        gap: 15px; /* Reduce gap */
    }
    .nav-links li a {
        font-size: 0.95rem;
    }
    .nav-cta {
        padding: 7px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 65px; /* Adjusted to match new header height */
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }
    .nav-links.active {
        max-height: 500px; /* Adjust as needed */
    }
    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .nav-links li a {
        font-size: 1rem;
    }
    .nav-cta {
        display: inline-block; /* Make it block for centering */
        margin-top: 10px;
    }
    .hamburger {
        display: flex; /* Show hamburger */
    }
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    body.nav-open {
         overflow: hidden; /* Prevent scrolling when nav is open */
    }
}
