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

html {
    scroll-behavior: smooth;
}

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

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo .logo {
    height: 80px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #0060e0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ハンバーガー初期状態 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: 0.3s;
}

/* Button Styles */
.btn-primary, .btn-secondary, .btn-outline {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: #f8f9fa;
    color: #1a1a1a;
    border: 1px solid #e9ecef;
}

.btn-secondary:hover {
    background: #e9ecef;
}

.btn-outline {
    background: transparent;
    color: #0060e0;
    border: 2px solid #0060e0;
}

.btn-outline:hover {
    background: #0060e0;
    color: white;
}

.btn-primary-large, .btn-outline-large {
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-primary-large {
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
}

.btn-outline-large {
    background: transparent;
    color: #0060e0;
    border: 2px solid #0060e0;
}

.btn-outline-large:hover {
    background: #0060e0;
    color: white;
}

.btn-primary-full, .btn-outline-full {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary-full {
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.btn-outline-full {
    background: transparent;
    color: #0060e0;
    border: 2px solid #0060e0;
}

.btn-outline-full:hover {
    background: #0060e0;
    color: white;
}

/* Hero Section */
.hero {
    padding: 80px 0 80px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%230060e0" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #0060e0;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.gradient-text {
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #0060e0;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-dots {
    display: flex;
    gap: 6px;
}

.card-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
}

.card-dots span:first-child {
    background: #ef4444;
}

.card-dots span:nth-child(2) {
    background: #f59e0b;
}

.card-dots span:last-child {
    background: #10b981;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: #0060e0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    width: 87%;
    height: 100%;
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    border-radius: 4px;
    animation: progress 2s ease-in-out infinite alternate;
}

@keyframes progress {
    0% { width: 87%; }
    100% { width: 95%; }
}

.ocr-result {
    display: flex;
    justify-content: space-between;
}

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

.result-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.result-value {
    font-size: 18px;
    font-weight: 700;
    color: #0060e0;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-description {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 120px 0;
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
    height: 108px;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Security Section */
.security {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.security-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.security-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.security-content-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.security-content-text p {
    color: #6b7280;
    line-height: 1.6;
}

.security-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.security-shield {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-content {
    position: absolute;
    color: #0060e0;
}

/* Campaign Banner */
.campaign-banner {
  background: linear-gradient(135deg, #0060e0 0%, #4f46e5 100%);
  color: white;
  text-align: center;
  padding: 50px 16px;
  position: relative;
  overflow: hidden;
}

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

.campaign-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ffd966, #f59e0b);
  color: #1a1a1a;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 30px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  position: relative;
}

.campaign-badge::before,
.campaign-badge::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 12px;
}

.campaign-badge::before {
  left: -16px;
}

.campaign-badge::after {
  right: -16px;
}

.campaign-message {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  margin-top: 1rem;
}

.campaign-message strong {
  color: #ffd966;
}

.pricing-card {
    position: relative;
}

/* free-badge */
.free-badge {
    position: absolute;
    top: -10px;      /* 上方向に少しはみ出させる */
    right: -40px;    /* 右方向に少しはみ出させる */
    background: #ef4444;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 14px;
    border-radius: 999px; /* pill型 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
    transform: rotate(15deg); /* 右下に傾ける */
    transform-origin: top right; /* 回転の基準を右上に */
}

@media (max-width: 640px) {
    .campaign-message {
        font-size: 1.8rem;
        line-height: 1.4;
        padding: 0 8px;
    }
    .campaign-badge {
        font-size: 20px;
        padding: 4px 12px;
        margin-bottom: 10px;
    }
    .free-badge {
        top: 5px;
        right: -10px;
        transform: rotate(15deg);
        font-size: 14px;
    }
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background: #ffffff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 2px solid #f3f4f6;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
    border-color: #0060e0;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.plan-badge {
    display: inline-block;
    background: #fef3c7;
    color: #d97706;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.plan-badge-none {
    padding: 28px 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #0060e0;
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

.plan-annual {
    font-size: 14px;
    color: #6b7280;
}

.pricing-features {
    margin-bottom: 32px;
}

/* Feature Section */
.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.feature svg {
    color: #10b981;
    flex-shrink: 0;
}

.feature.disabled {
    color: #9ca3af;
}

.feature.disabled svg {
    color: #ef4444;
}

/* CTA Section */
.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #0060e0 0%, #a6b3ed 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta .btn-primary-large {
    background: white;
    color: #0060e0;
}

.cta .btn-primary-large:hover {
    background: #f8f9fa;
}

.cta .btn-outline-large {
    border-color: white;
    color: white;
}

.cta .btn-outline-large:hover {
    background: white;
    color: #0060e0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #0060e0;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 40px;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

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

    .security-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav-menu, .nav-cta {
        display: none;
        position: absolute;
        top: 60px; /* ヘッダーの下 */
        right: 0;
        background: #fff;
        flex-direction: column;
        width: 200px;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
    /* ハンバーガー開閉アニメーション */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translateY(6px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-6px);
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-badge {
        padding: 10px 30px;
        font-size: 25px;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.popular {
        transform: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

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

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

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .feature-card, .pricing-card {
        padding: 24px;
    }

    .hero-card {
        padding: 24px;
    }
}

/** CF7 フォームスタイル ここから */
.form-section {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 720px;
  margin: 2rem auto;
  font-family: sans-serif;
}

.form-section h2 {
  font-size: 1.8rem;
  color: #0073e6;
  text-align: center;
  margin-bottom: 1.5rem;
}

.cf7-table {
  width: 100%;
  border-collapse: collapse;
}

.cf7-table, td, th {
    border: none;
    border-bottom: 1px solid #e2e8f0;
}

.cf7-table th {
  text-align: left;
  vertical-align: middle;
  padding: 12px 10px;
  width: 30%;
  font-size: 1rem;
  font-weight: bold;
  white-space: nowrap;
}

.cf7-table td {
  padding: 10px;
  width: 70%;
}

.required {
  color: #fff;
  background-color: #2961dc;
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.optional {
  color: #fff;
  background-color: #cccccc;
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.form-input, .form-textarea, select {
  width: 100%;
  padding: 10px 12px !important;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.95rem;
  box-sizing: border-box;
}

input[type="checkbox"], input[type="radio"] {
  margin-right: 6px;
}

.cc {
    text-align: center;
}

.wpcf7-list-item {
    padding-right: 1em;
}
.cf7-notes {
    font-size: 0.65em;
    font-weight: normal;
}
.cf7-notes2 {
    font-size: 0.9em;
    font-weight: bold;
}

.cf7-cv-btn {
    width: 50% !important
}

.wpcf7-form input[type="submit"] {
    background-image: url('/wp-content/uploads/2025/06/lp_submit_btn.png') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    width: 50%;
    height: 172px;
    text-indent: -9999px; /* テキスト非表示 */
    cursor: pointer;
    padding: 0;
}

/* マウスオーバーでホバー画像に切り替え */
.wpcf7-form input[type="submit"]:hover {
    background-image: url('/wp-content/uploads/2025/06/lp_submit_btn_after.png') !important;
}

/* 送信中のローディング対応（スピナーが消えないように） */
.wpcf7 .wpcf7-spinner {
    margin-left: 10px; /* スピナーの位置調整（必要に応じて） */
    vertical-align: middle;
}

/* CF7 acceptance チェックボックスの縦位置を揃える */
.wpcf7-acceptance .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 0.4em; /* チェックボックスと文字の間隔 */
    padding: 1em 0;
    color: #0060e0;
}

.wpcf7 input.wpcf7-submit {
    display: block;
    margin: 0 auto;
}

/* スマホだけ改行 */
.br-sp {
    display: none;
}

/* スマホ表示では縦に並べる */
@media screen and (max-width: 1000px){
    .cf7-table,
     .cf7-table tbody,
    .cf7-table tr,
    .cf7-table th,
    .cf7-table td {
        display: block;
        width: 100%;
    }


    .cf7-table tr td {
        border-top: none;
    }

    .cf7-table tr th {
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
    }

    .wpcf7-list-item {
        padding-right: 0.1em;
    }

    .br-sp {
        display: block;
        height: 0;
    }

    .cf7-cv-btn {
        width: 100% !important
    }

    .wpcf7-form input[type="submit"] {
        width: 100%;
    }

}
/** CF7 フォームスタイル ここまで */
