/*
Theme Name: Hanazono Shaken LP
Theme URI: https://example.com/hanazono-shaken-lp
Author: Hanazono Motors
Author URI: https://example.com
Description: 花園モータース（花園車検）専用ランディングページテーマ。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hanazono-shaken-lp
*/

:root {
  --primary-color: #d11e27;
  --secondary-color: #2b2b2b;
  --accent-color: #f7b731;
  --bg-light: #ffffff;
  --text-main: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --cta-phone: #00b894;
  --cta-form: #e17055;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

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

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  display: flex;
  justify-content: center;
}
.section-title img { max-width: 100%; width: auto; height: auto; max-height: 200px; }
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

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

/* MV */
.mv-section { width: 100%; position: relative; }
.mv-pc { display: block; width: 100%; }
.mv-sp { display: none; width: 100%; }

/* Form */
.form-section { background-color: var(--bg-light); }
.form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Reasons */
.reasons-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.reason-card {
  text-align: center;
  background: var(--white);
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.reason-card:hover { transform: translateY(-5px); }
.reason-img-wrap { margin-bottom: 20px; overflow: hidden; border-radius: 8px; }
.reason-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}
.reason-text { font-size: 0.95rem; color: var(--text-light); text-align: left; }

/* Plan */
.plan-section { background-color: var(--bg-light); }
.plan-section:nth-of-type(even) { background-color: var(--white); }
.plan-flex { display: flex; align-items: center; gap: 40px; margin-bottom: 40px; }
.plan-flex.reverse { flex-direction: row-reverse; }
.plan-image {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.plan-content { flex: 1; }
.plan-desc-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
}
.plan-desc-text { margin-bottom: 30px; }

.plan-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-radius: 8px;
  overflow: hidden;
}
.plan-table th, .plan-table td {
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  text-align: center;
  white-space: nowrap;
  font-size: 0.92rem;
}
.plan-table th {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: bold;
  font-size: 0.9rem;
}
.plan-table tr:nth-child(even) { background-color: #f7f7f7; }
.plan-table tr:hover { background-color: #fff3e0; }
.plan-table .total-col {
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1rem;
  background-color: #fff8f0;
}
.plan-table thead .total-col {
  color: var(--white);
  background-color: #b71c1c;
}
.table-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.table-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 30px;
  line-height: 1.8;
}
.pricing-table { min-width: 700px; }

/* Flow */
.flow-steps { max-width: 800px; margin: 0 auto; }
.step-item {
  display: flex;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
}
.step-num {
  background-color: var(--primary-color);
  color: var(--white);
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.step-content { padding: 20px; flex: 1; }
.step-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}
.step-text { font-size: 0.95rem; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.review-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.review-stars { color: var(--accent-color); font-size: 1.2rem; margin-bottom: 15px; }
.review-header { display: flex; align-items: center; margin-bottom: 15px; gap: 15px; }
.review-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  background: #ddd;
}
.review-name { font-weight: bold; font-size: 1.1rem; }
.review-text { font-style: italic; color: var(--text-light); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.faq-q {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 20px;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}
.faq-q::before {
  content: 'Q.';
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-right: 15px;
  font-weight: bold;
}
.faq-a {
  background-color: var(--white);
  padding: 20px;
  display: flex;
}
.faq-a::before {
  content: 'A.';
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  font-weight: bold;
}

/* Section title (text fallback) */
.section-title-text {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}
.section-title-text::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

/* Shop info */
.shop-info-section { background-color: var(--white); }
.shop-info-heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}
.shop-info-heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}
.shop-info-card { max-width: 700px; margin: 0 auto; text-align: center; }
.shop-info-name { font-size: 1.4rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 20px; }
.shop-info-details { margin-bottom: 30px; }
.shop-info-address { font-size: 1rem; color: var(--text-main); margin-bottom: 8px; }
.shop-info-tel { font-size: 1.3rem; font-weight: bold; margin-bottom: 8px; }
.shop-info-tel a { color: var(--primary-color); }
.shop-info-note { font-size: 0.9rem; color: var(--text-light); }
.shop-info-map { border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.shop-info-map iframe { display: block; }

/* Bottom CTA */
.bottom-cta-section { background-color: var(--secondary-color); padding: 60px 0; text-align: center; }
.bottom-cta-heading { color: var(--white); font-size: 1.8rem; font-weight: 700; margin-bottom: 15px; }
.bottom-cta-text { color: #ccc; font-size: 1rem; margin-bottom: 30px; }
.bottom-cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.bottom-cta-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--white);
  transition: opacity 0.3s ease, transform 0.2s ease;
  min-width: 240px;
}
.bottom-cta-btn:hover { opacity: 0.9; transform: translateY(-2px); }
.bottom-cta-btn span { font-size: 0.85rem; font-weight: normal; margin-top: 5px; }
.bottom-cta-phone { background-color: var(--cta-phone); }
.bottom-cta-web { background-color: var(--cta-form); }

/* Footer */
.site-footer {
  background-color: #1a1a1a;
  color: #999;
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
}
.footer-company { color: var(--white); font-size: 1rem; font-weight: bold; margin-bottom: 5px; }
.footer-address { margin-bottom: 10px; }
.footer-copy { font-size: 0.8rem; color: #666; }

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  display: flex;
  z-index: 999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
.cta-btn {
  flex: 1;
  text-align: center;
  padding: 18px 0;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  transition: filter 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.cta-btn:hover { filter: brightness(1.15); }
.cta-btn span { font-size: 0.85rem; font-weight: 600; margin-top: 4px; letter-spacing: 0; }
.cta-phone { background: linear-gradient(135deg, #00b894 0%, #00a381 100%); }
.cta-form { background: linear-gradient(135deg, #e17055 0%, #d63031 100%); }

/* Reservation form (CF7) */
.shaken-form { max-width: 600px; margin: 0 auto; background-color: #ffffff; }
.shaken-form .form-group { margin-bottom: 24px; }
.shaken-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 15px;
  color: #333;
}
.shaken-form label span {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
  color: #fff;
}
.shaken-form label span.required { background-color: #e60012; }
.shaken-form label span.optional { background-color: #9e9e9e; }
.shaken-form input[type="text"],
.shaken-form input[type="tel"],
.shaken-form input[type="email"],
.shaken-form input[type="date"],
.shaken-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16px;
  background-color: #fafafa;
  transition: all 0.3s;
}
.shaken-form input:focus,
.shaken-form textarea:focus {
  border-color: #e60012;
  outline: none;
  background-color: #fff;
}
.shaken-form textarea { height: 120px; resize: vertical; }
.shaken-form .form-submit { text-align: center; margin-top: 40px; }
.shaken-form input[type="submit"] {
  background-color: #e60012;
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(230, 0, 18, 0.2);
}
.shaken-form input[type="submit"]:hover {
  background-color: #ffd700;
  color: #333333;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(255, 215, 0, 0.3);
}
.wpcf7-not-valid-tip { font-size: 13px; margin-top: 4px; color: #e60012; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-color: #e60012;
  color: #e60012;
}

/* Responsive */
@media (max-width: 768px) {
  .mv-pc { display: none; }
  .mv-sp { display: block; }
  .reasons-grid { grid-template-columns: 1fr; }
  .plan-flex, .plan-flex.reverse { flex-direction: column; }
  .reviews-grid { grid-template-columns: 1fr; }
  .section-title img { max-height: 120px; }
  .cta-btn { font-size: 1rem; padding: 10px 0; }
  .bottom-cta-btn { min-width: auto; width: 100%; padding: 15px 20px; font-size: 1rem; }
  .shop-info-heading, .bottom-cta-heading { font-size: 1.4rem; }
  .form-wrapper { padding: 20px; }
}
