/*
Theme Name: 城東カワサキ LPテーマ
Description: 不動バイク買取専用のランディングページテーマ
Author: Antigravity
Version: 1.0
*/
:root {
    --color-bg: #1A1A1A; /* オイルブラック */
    --color-main: #4A5568; /* ガンメタリック */
    --color-accent: #D97706; /* サビオレンジ */
    --color-text: #E2E8F0; /* アッシュホワイト */
    --font-heading: 'Zen Kaku Gothic New', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Typography & Components */
.section-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
}
.btn-primary:hover {
    background-color: #b56204;
}

.btn-secondary {
    background-color: var(--color-main);
    color: #fff;
}
.btn-secondary:hover {
    background-color: #384252;
}

.btn-fax {
    background-color: #fff;
    color: #1A1A1A;
    border: 2px solid #ccc;
    font-weight: 700;
}
.btn-fax:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.btn-large {
    display: block;
    width: 100%;
    padding: 1.5rem;
    font-size: 1.2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(5px);
    z-index: 100;
    border-bottom: 1px solid #333;
}
.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--color-accent);
    text-align: center;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 60px;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* For parallax */
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.5;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26,26,26,0.3) 0%, rgba(26,26,26,1) 100%);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 800px;
}
.main-copy {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
}
.main-copy .highlight {
    color: var(--color-accent);
}
.sub-copy {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    .hero-buttons .btn {
        min-width: 250px;
    }
}

/* Trouble Section */
.trouble {
    padding: 5rem 0;
    background: #222;
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
}
.trouble-list {
    list-style: none;
    margin-bottom: 2rem;
}
.trouble-list li {
    background: #111;
    margin-bottom: 1rem;
    padding: 1.2rem;
    border-left: 5px solid var(--color-accent);
    font-weight: 700;
}
.trouble-text {
    text-align: center;
    font-weight: 700;
    color: #aaa;
}

/* Promise Section */
.promise {
    padding: 5rem 0;
    position: relative;
}
.promise-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    margin-bottom: 2rem;
    border: 2px solid #333;
}
.promise-content {
    text-align: center;
}
.promise-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
@media (min-width: 768px) {
    .promise {
        display: flex;
        align-items: center;
        padding: 5rem 10%;
    }
    .promise-image {
        width: 50%;
        height: 500px;
        margin-bottom: 0;
        margin-right: 3rem;
    }
    .promise-content {
        width: 50%;
        text-align: left;
    }
    .promise-content .section-title {
        text-align: left;
    }
}

/* Condition Section */
.condition {
    padding: 5rem 0;
    background: #222;
}
.condition-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .condition-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.condition-item {
    background: #1A1A1A;
    padding: 2rem;
    border: 1px solid #333;
    text-align: center;
    transition: transform 0.3s;
}
.condition-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}
.condition-item h3 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Revival Section */
.revival {
    padding: 5rem 0;
}
.revival-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.revival-card {
    background: #222;
    border: 1px solid #333;
    padding: 1rem;
    width: 100%;
    max-width: 500px;
}
.revival-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    margin-bottom: 1rem;
}
.revival-text h3 {
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}
.revival-arrow {
    font-size: 2rem;
    color: var(--color-main);
}
@media (min-width: 768px) {
    .revival-story {
        flex-direction: row;
        justify-content: center;
    }
    .revival-arrow {
        transform: rotate(-90deg);
    }
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #111;
    border-top: 4px solid var(--color-accent);
}
.contact-lead {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.contact-methods {
    margin-bottom: 4rem;
}
.form-wrapper {
    background: #1A1A1A;
    padding: 2rem;
    border: 1px solid #333;
}
.form-wrapper h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-main);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.required {
    background: #E53E3E;
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 0.5rem;
}
input[type="text"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 1rem;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-submit {
    width: 100%;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 1.2rem;
    padding: 1.2rem;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
    font-weight: 700;
}
.btn-submit:hover {
    background-color: #b56204;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 0;
    background: #000;
    color: #666;
    font-size: 0.9rem;
    padding-bottom: 100px; /* Space for fixed footer */
}

/* Fixed Footer (Mobile) */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    background: #1A1A1A;
    border-top: 1px solid #333;
    z-index: 100;
}
.fixed-footer .btn {
    flex: 1;
    border-radius: 0;
    padding: 1rem;
    font-size: 1rem;
}
@media (min-width: 768px) {
    .fixed-footer {
        display: none;
    }
    .footer {
        padding-bottom: 3rem;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
.motorcycle-contact-form {
  background: #1A1A1A;
  padding: 30px;
  border: 1px solid #333;
  color: #E2E8F0;
  max-width: 600px;
  margin: 0 auto;
}
.motorcycle-contact-form .form-group {
  margin-bottom: 25px;
}
.motorcycle-contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.motorcycle-contact-form .badge-required {
  background: #E53E3E;
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}
.motorcycle-contact-form .badge-optional {
  background: #4A5568;
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}
.motorcycle-contact-form .form-help-text {
  font-size: 0.85rem;
  color: #a0aec0;
  margin-bottom: 8px;
}
.motorcycle-contact-form input[type="text"],
.motorcycle-contact-form input[type="tel"],
.motorcycle-contact-form input[type="email"],
.motorcycle-contact-form select,
.motorcycle-contact-form textarea {
  width: 100%;
  padding: 12px;
  background: #222;
  border: 1px solid #444;
  color: #fff;
  border-radius: 4px;
  font-size: 1rem;
}
.motorcycle-contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.motorcycle-contact-form input:focus,
.motorcycle-contact-form select:focus,
.motorcycle-contact-form textarea:focus {
  border-color: #D97706;
  outline: none;
}
.motorcycle-contact-form .wpcf7-list-item {
  display: block;
  margin: 8px 0;
}
.motorcycle-contact-form .wpcf7-list-item-label {
  margin-left: 8px;
  font-weight: normal;
}
.motorcycle-contact-form .form-submit-wrapper {
  text-align: center;
  margin-top: 30px;
}
.motorcycle-contact-form .btn-submit {
  background: #D97706;
  color: #fff;
  font-weight: 700;
  padding: 15px 40px;
  border: none;
  font-size: 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}
.motorcycle-contact-form .btn-submit:hover {
  background: #b56204;
}

/* ==========================================
   電話相談モーダル & スマホ用キャプション
   ========================================== */
.phone-btn-wrapper {
    text-align: center;
    width: 100%;
}
.phone-btn-wrapper .btn {
    display: block;
    width: 100%;
}
.phone-caption {
    font-size: 0.85rem;
    color: #a0aec0;
    margin-top: 8px;
    line-height: 1.4;
}
.mobile-only {
    display: block;
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.show {
    display: flex;
    opacity: 1;
}

/* Modal Content */
.modal-content {
    background: #1A1A1A;
    border: 2px solid var(--color-accent);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 400px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 10px; right: 15px;
    background: none;
    border: none;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover {
    color: #fff;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}
.modal-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}
.modal-desc {
    font-size: 1rem;
    color: #E2E8F0;
    margin-bottom: 25px;
    line-height: 1.5;
}
.modal-phone-number {
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-accent);
    text-decoration: none;
    margin-bottom: 20px;
    letter-spacing: 2px;
}
.modal-phone-number:hover {
    text-decoration: underline;
}
.modal-note {
    font-size: 0.85rem;
    color: #a0aec0;
}

/* Media Query for PC/Mobile hybrid logic */
@media (min-width: 768px) {
    .mobile-only {
        display: none !important;
    }
}
