:root {
    --primary-color: #E65C00; /* Orange from image */
    --primary-dark: #CC5200;
    --secondary-color: #333333; /* Dark Grey */
    --text-color: #333333;
    --light-bg: #F9F9F9;
    --white: #FFFFFF;
    --border-color: #DDDDDD;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

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

.text-primary {
    color: var(--primary-color);
}

.text-white {
    color: var(--white);
}

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

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

.d-sp {
    display: none;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: "Catamaran", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-weight: 800;
    line-height: 1.2;
}

h6, .h6 {
    font-size: 1rem;
}

ol,
ul {
    padding-left: 2rem;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .d-sp {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

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

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

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
}

.sub-logo {
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: #888;
    display: block;
}

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

.nav a {
    margin-left: 20px;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav a:not(.btn):hover {
    color: var(--primary-color);
}

.btn-login {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-register {
    padding: 8px 25px;
    font-size: 0.9rem;
}

/* ハンバーガーボタン */
.nav-toggle {
    display: none; /* PCでは非表示。SPのメディアクエリで表示 */
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    margin-left: 16px;
    position: relative;
    z-index: 1100; /* メニューより上に */
}

.nav-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: #333;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle span:nth-child(1) {
    top: 8px;
}

.nav-toggle span:nth-child(2) {
    top: 15px;
}

.nav-toggle span:nth-child(3) {
    top: 22px;
}

/* 開いている時（×印） */
.nav-toggle.open span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
}

/* Hero Section */
/* Hero Section */
.hero {
    background-image: url('img/fv.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff; /* Text white */
    overflow: hidden;
}

/* Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Thin black overlay */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* Ensure content is above overlay */
    display: flex;
    align-items: flex-end; /* Align bottom */
    justify-content: space-between;
    width: 100%;
    max-width: 100%; /* Full width */
    padding: 0 5%; /* Add side padding */
    height: 100%; /* Ensure container takes full height for alignment */
    padding-bottom: 80px; /* Add bottom padding to lift content slightly */
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left; /* Align text to left as per image */
}

.hero-group-top {
    margin-bottom: 120px; /* Spacing between top and bottom groups */
}

.hero-title {
    font-size: 4rem; /* Increased size */
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-sub {
    font-size: 2rem; /* Increased size */
    font-weight: 700;
    margin-bottom: 0; /* Remove bottom margin as group handles it */
    display: block;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-target {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-logo-container {
    margin-bottom: 30px;
}

.hero-logo {
    max-width: 350px; /* Increased size */
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.hero-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.hero-badges img {
    height: 55px; /* Increased size */
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.hero-badges img:hover {
    transform: scale(1.05);
}

.hero-price {
    font-size: 1.3rem;
    font-weight: 700;
    background-color: #fff;
    color: #333;
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Align image to right */
    align-items: flex-end; /* Align image to bottom */
    position: relative;
    padding-right: 5%; /* Add some spacing from edge */
}

.mockup-container {
    position: relative;
    display: inline-block;
}

.hero-image img {
    max-width: 100%;
    max-height: 45vh; /* Reduced height */
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    margin-bottom: -10px; /* Slight adjustment to align visually with text bottom if needed */
}

/* Masthead Section */
/* Masthead Section */
.masthead {
    background-image: url('img/sv.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff; /* Text white */
    overflow: hidden;
}

/* Overlay */
.masthead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Thin black overlay */
    z-index: 1;
}

.masthead .container {
    position: relative;
    z-index: 2; /* Ensure content is above overlay */
    display: flex;
    align-items: flex-end; /* Align bottom */
    justify-content: space-between;
    width: 100%;
    max-width: 100%; /* Full width */
    padding: 0 5%; /* Add side padding */
    height: 100%; /* Ensure container takes full height for alignment */
    padding-bottom: 80px; /* Add bottom padding to lift content slightly */
}

.masthead-content {
    flex: 1;
    max-width: 600px;
    text-align: left; /* Align text to left as per image */
}

.masthead-group-top {
    margin-bottom: 120px; /* Spacing between top and bottom groups */
}

.masthead-title {
    font-size: 4rem; /* Increased size */
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.1;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 3;
}

.masthead-sub {
    font-size: 2rem; /* Increased size */
    font-weight: 700;
    margin-bottom: 0; /* Remove bottom margin as group handles it */
    display: block;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 3;
}

.masthead-target {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.masthead-logo-container {
    margin-bottom: 30px;
}

.masthead-logo {
    max-width: 350px; /* Increased size */
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.masthead-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.masthead-badges img {
    height: 55px; /* Increased size */
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.masthead-badges img:hover {
    transform: scale(1.05);
}

.masthead-price {
    font-size: 1.3rem;
    font-weight: 700;
    background-color: #fff;
    color: #333;
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.masthead-image {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Align image to right */
    align-items: flex-end; /* Align image to bottom */
    position: relative;
    padding-right: 5%; /* Add some spacing from edge */
}

.masthead-image img {
    max-width: 100%;
    max-height: 45vh; /* Reduced height */
    width: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
    margin-bottom: -10px; /* Slight adjustment to align visually with text bottom if needed */
}

.info {
    margin-top: 40px;
    margin-bottom: 40px;
}

.tbl {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
    border: 1px solid #666;
}

.tbl .title {
    width: 170px;
    padding: 12px;
    border-right: 1px solid #666;
    border-bottom: 1px solid #666;
    background-color: #eee;
}

.tbl .contents {
    padding: 12px;
    border-bottom: 1px solid #666;
}

.commerce {
    padding-bottom: 12px;
}

.tx-1 {
    font-size: 0.8rem;
}

.tx-6 {
    font-size: 1rem;
}

.address {
    margin-left: 24px;
    padding: 0 0 24px;
}

.comm {
    font-size: 0.8rem;
    color: #7e7e7e;
}

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

.campaign-badge {
    position: absolute;
    top: 10%;
    right: -40px;
    background-color: #E65C00; /* Orange */
    color: white;
    width: 140px; /* Larger badge */
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 1.3;
    box-shadow: 0 10px 25px rgba(230, 92, 0, 0.5);
    transform: rotate(15deg);
    z-index: 10;
    border: 4px solid rgba(255,255,255,0.2);
}

@keyframes pulse {
    0% { transform: rotate(15deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.05); }
    100% { transform: rotate(15deg) scale(1); }
}

/* Pain Points Section */
.pain-points {
    background-color: #fff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.pain-point-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.pain-point-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.pain-icon {
    font-size: 3rem;
    color: #888;
    margin-bottom: 20px;
}

.pain-point-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.pain-point-card p {
    font-size: 0.95rem;
    color: #666;
}

.pain-solution {
    text-align: center;
    margin-top: 40px;
}

.solution-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.arrow-down {
    width: 0; 
    height: 0; 
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--primary-color);
    margin: 0 auto;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--primary-color);
}

.feature-header {
    margin-bottom: 20px;
}

.feature-label {
    background-color: #333;
    color: #fff;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px; /* Fixed height for alignment */
}

.feature-icon img {
    width: auto;
    height: 100%; /* Max height within container */
    max-width: 100px; /* Max width constraint */
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Concept / Comparison Section */
.concept-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 50px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th, .comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    font-size: 1.1rem;
}

.th-general {
    background-color: #999;
    color: white;
    width: 35%;
}

.th-bcard {
    background-color: var(--primary-color);
    color: white;
    width: 35%;
    font-size: 1.3rem;
    font-weight: 700;
}

.row-header {
    text-align: left !important;
    font-weight: 700;
    color: #555;
    background-color: #f9f9f9;
    width: 30%;
}

.row-header i {
    color: var(--primary-color);
    margin-right: 10px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
    background-color: #fff5eb;
}

.cta-section {
    background-color: #333;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-label {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.cta-offer {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.btn-lg {
    padding: 15px 50px;
    font-size: 1.2rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(230, 92, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230, 92, 0, 0.6);
}

/* Functions Section */
.functions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.function-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.func-icon {
    background-color: #f0f0f0;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    min-width: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.func-icon img {
    width: 50px;
    height: auto;
}

.func-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.func-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.func-text .note {
    font-size: 0.8rem;
    color: #666;
    font-weight: normal;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.pricing-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.recommended {
    border: 2px solid var(--primary-color);
    z-index: 2;
}

.pricing-card.recommended:hover {
    transform: translateY(-10px);
}

.recommend-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 5px;
}

.price .amount {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.tax {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.btn-apply {
    margin-top: auto; /* Push to bottom */
    padding: 12px 0;
    font-weight: 700;
}

.pricing-note {
    font-size: 0.9rem;
    color: #333; /* Ensure black text */
    margin-bottom: 30px;
}

.pricing-note span {
    display: block;
    margin-bottom: 10px;
}

.pricing-note .pill {
    display: inline-block;
    background-color: #fff;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
}

.pricing-app-download {
    margin-top: 40px;
}

/* FAQ Section */
.faq-grid {
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-q {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
    padding: 0 20px; /* Align with Answer padding */
}

.q-icon {
    background-color: #333;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-q h3 {
    font-size: 1.1rem;
    padding-top: 3px;
}

.faq-a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.a-icon {
    background-color: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-sitemap {
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info {
    display: flex;
    gap: 40px;
    align-items: flex-end;
}

.footer-logo h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-logo a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-contact {
    margin-top: 0; /* Removed margin for side-by-side layout */
}

.contact-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.contact-row .label {
    background-color: white;
    color: #333;
    padding: 2px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 2px;
}

.footer-cta {
    text-align: center;
    /* Removed background and padding */
}

.footer-cta .cta-title {
    font-weight: 700;
    margin-bottom: 5px;
    color: white; /* Ensure visible on dark footer */
}

.footer-cta .cta-sub {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: white; /* Ensure visible on dark footer */
}

.footer-cta img {
    border: 4px solid white;
    border-radius: 5px;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.copyright {
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

.support-form-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.support-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.support-form .form-group {
    margin-bottom: 20px;
}

.support-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.support-form .required {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    font-size: 0.75rem;
    color: #fff;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.support-form input[type="text"],
.support-form input[type="email"],
.support-form select,
.support-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: 'Noto Sans JP', sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-form input[type="text"]:focus,
.support-form input[type="email"]:focus,
.support-form select:focus,
.support-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 92, 0, 0.15);
}

.support-form textarea {
    resize: vertical;
    min-height: 140px;
}

.form-label-inline {
    font-weight: 700;
    display: inline-block;
    margin-bottom: 6px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.radio-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.form-message {
    margin-top: 10px;
    font-size: 0.9rem;
    min-height: 1.2em;
}

.form-message.success {
    color: #2e7d32;
}

.form-message.error {
    color: #c62828;
}

/* Responsive for Support Form */
@media (max-width: 768px) {
    .support-form {
        padding: 20px 15px;
    }

    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }

    .nav-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 70px;           /* .header の高さに合わせる */
        right: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px 20px;
        gap: 10px;
        border-bottom: 1px solid #eee;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        display: none;       /* デフォルト非表示。JSから .active を付ける */
        z-index: 1000;
    }
    
    .nav.active {
        display: flex;
    }

    .nav a {
        margin-left: 0;
        padding: 10px 0;
        width: 100%;
    }

    .nav a.btn {
        text-align: center;
    }

    .hero, .masthead {
        padding-top: 100px;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-sub {
        font-size: 1.25rem;
    }

    .hero-group-top {
        margin-bottom: 60px;
    }

    .hero-target {
        font-size: 1rem;
    }

    .hero-logo {
        max-width: 250px;
    }
    .hero-badges {
        justify-content: center;
    }

    .hero-badges.justify-center {
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title-small {
        font-size: 1.2rem;
    }

    .hero-price {
    font-size: 1rem;
    padding: 6px 24px;
    }

    .comparison-table th, .comparison-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .th-bcard {
        font-size: 1rem;
    }
    
    .cta-box {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
