/*
Theme Name: K2 Personal Training Gym
Description: パーソナルトレーニングジム K2 のWordPressテーマ（改善版）
Version: 1.1.0
Author: K2 Personal Training Gym
*/

/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* フォント設定 */
body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fefdf9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* コンテナ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ヘッダー */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid #f9edd8;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.header-logo {
  height: 2.5rem;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-btn {
  background-color: #06c755;
  color: white;
  border: none;
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-btn:hover {
  background-color: #05a748;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(6, 199, 85, 0.3);
}

/* 画像の読み込み改善 */
img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

img[src*="placeholder"] {
  border: 2px dashed #ddd;
  opacity: 0.8;
  background-color: #f5f5f5;
}

/* ヒーローセクション */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero:hover .hero-image {
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
}

.hero-text {
  max-width: 32rem;
  color: white;
}

.hero-badge {
  display: inline-block;
  background-color: #ff7a45;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}

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

.hero-badge span {
  font-weight: 700;
  font-size: 0.875rem;
}

.hero-title {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title-accent {
  color: #ffb088;
}

.hero-description {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-desc-accent {
  color: #ffb088;
}

.hero-desc-bold {
  font-weight: 700;
  color: #ffb088;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 28rem;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btn {
  background-color: #ff7a45;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 0.75rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-btn:hover {
  background-color: #ff5722;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 122, 69, 0.3);
}

.hero-btn-mobile {
  display: block;
}

.hero-btn-desktop {
  display: none;
}

.arrow-icon {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.hero-btn:hover .arrow-icon {
  transform: translateX(4px);
}

/* シンプル化されたヒーローオファー */
.hero-offer-simple {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
  text-align: center;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-offer-simple .offer-label {
  color: #ff5722;
  font-weight: 600;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.25rem;
}

.hero-offer-simple .offer-price {
  color: #333;
  font-size: 0.9rem;
}

.hero-offer-simple .offer-price strong {
  color: #ff5722;
  font-size: 1.1rem;
  font-weight: 700;
}

/* 悩み・共感セクション */
.concerns-section {
  background-color: #fefdf9;
  padding: 4rem 0 5rem;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-title {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
}

.title-accent {
  color: #ff7a45;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
}

.concerns-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 3rem;
}

.concern-item {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f9edd8;
  display: flex;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.concern-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.concern-icon {
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 50%;
  background-color: #ffe1e1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.concern-icon svg {
  height: 1rem;
  width: 1rem;
  color: #ff5252;
}

.concern-item p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
}

.empathy-box {
  background: linear-gradient(to right, #fff6f0, #fff0f0);
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid #ffb088;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.empathy-image {
  margin-bottom: 1.5rem;
}

.empathy-image img {
  height: 12rem;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.empathy-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #bf360c;
}

.empathy-text {
  font-size: 1.125rem;
  color: #e64a19;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.empathy-bold {
  font-weight: 700;
}

.empathy-accent {
  font-weight: 700;
  color: #ff5722;
}

/* 解決策セクション */
.solution-section {
  background-color: white;
  padding: 4rem 0 5rem;
}

.failure-reasons {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 3rem;
}

.failure-reason {
  background-color: #fefbf7;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #f9edd8;
  transition: all 0.3s ease;
}

.failure-reason:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.failure-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.failure-icon div {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  background-color: #ffe1e1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.failure-icon svg {
  height: 2rem;
  width: 2rem;
  color: #ff5252;
}

.failure-reason h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.failure-reason p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
}

.solution-cta {
  background: linear-gradient(to right, #ff7a45, #ff5252);
  border-radius: 0.75rem;
  padding: 2rem;
  color: white;
  text-align: center;
  animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.solution-cta-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.solution-cta-text {
  font-size: 1.125rem;
  line-height: 1.6;
}

.solution-cta-accent {
  font-weight: 700;
  color: #fde047;
}

/* 強みセクション */
.strengths-section {
  background-color: #fefdf9;
  padding: 4rem 0 5rem;
}

.promises {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.promise {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f9edd8;
  transition: all 0.3s ease;
}

.promise:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.promise-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.promise-image {
  width: 100%;
  max-width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promise-image img {
  width: 100%;
  height: 200px;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.promise-image img:hover {
  transform: scale(1.02);
}

.promise-subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ff5722;
  background-color: #fff6f0;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  white-space: nowrap;
  text-align: center;
  border: 2px solid rgba(255, 87, 34, 0.1);
}

.promise-text {
  width: 100%;
  max-width: 600px;
}

.promise-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: #333;
}

.promise-description {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
}

/* 手に入る未来セクション */
.future-section {
  background-color: white;
  padding: 4rem 0 5rem;
}

.future-benefits {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 3rem;
}

.future-benefit {
  background-color: #fefbf7;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid #f9edd8;
  display: flex;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.future-benefit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.future-icon {
  height: 3rem;
  width: 3rem;
  border-radius: 50%;
  background-color: #fff6f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.future-icon svg {
  height: 1.5rem;
  width: 1.5rem;
  color: #ff7a45;
}

.future-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.future-content p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
}

.future-image {
  margin-bottom: 2rem;
  text-align: center;
}

.future-image img {
  height: 16rem;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.future-message p {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ff5722;
  line-height: 1.6;
}

.future-accent {
  color: #ff7a45;
}

/* お客様の声セクション */
.testimonials-section {
  background-color: #fefdf9;
  padding: 4rem 0 5rem;
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.testimonial {
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #f9edd8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.testimonial-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.testimonial-before,
.testimonial-after {
  position: relative;
  height: 12rem;
  background-color: #f3f4f6;
}

.testimonial-before img,
.testimonial-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.testimonial-images:hover img {
  transform: scale(1.05);
}

.testimonial-label {
  position: absolute;
  top: 0.5rem;
  padding: 0.25rem 0.5rem;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 0.25rem;
  z-index: 10;
}

.testimonial-label.before {
  left: 0.5rem;
  background-color: #ef4444;
}

.testimonial-label.after {
  right: 0.5rem;
  background-color: #10b981;
}

.testimonial-content {
  padding: 1.5rem;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-info h4 {
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: #6b7280;
}

.testimonial-store {
  font-size: 0.75rem;
  color: #ff5722;
  font-weight: 500;
}

.testimonial-rating {
  display: flex;
}

.star {
  color: #fbbf24;
  font-size: 1rem;
}

.testimonial-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stat {
  background-color: #fefbf7;
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  border: 1px solid #f9edd8;
}

.stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.stat-change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.stat-before {
  font-size: 0.875rem;
  color: #dc2626;
  text-decoration: line-through;
}

.stat-arrow {
  height: 0.75rem;
  width: 0.75rem;
  color: #ff7a45;
}

.stat-after {
  font-size: 0.875rem;
  font-weight: 700;
  color: #059669;
}

.stat-diff {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff5722;
}

.testimonial-comment {
  background-color: #fefbf7;
  border-radius: 0.5rem;
  padding: 1rem;
  border: 1px solid #f9edd8;
}

.testimonial-comment p {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.6;
  font-style: italic;
}

/* 私たちの思いセクション */
.philosophy-section {
  background-color: white;
  padding: 4rem 0 5rem;
}

.philosophy-content {
  background: linear-gradient(135deg, #fff6f0, #fff0f0);
  border-radius: 0.75rem;
  padding: 1.5rem 3rem;
  border: 1px solid #ffb088;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.philosophy-image {
  width: 100%;
  max-width: 20rem;
}

.philosophy-image img {
  height: 16rem;
  width: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.philosophy-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.philosophy-quote {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  padding: 1rem;
  border: 1px solid #ffb088;
}

.quote-text {
  font-weight: 700;
  color: #bf360c;
}

.quote-sub {
  font-size: 0.875rem;
  color: #e64a19;
  margin-top: 0.5rem;
}

.philosophy-accent {
  font-weight: 700;
  color: #ff5722;
}

.philosophy-message {
  background: linear-gradient(to right, #ff7a45, #ff5252);
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: white;
  text-align: center;
}

.message-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.message-text {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* CTAセクション */
.cta-section {
  background: linear-gradient(to right, #ff5722, #ff5252);
  padding: 5rem 0 7rem;
  color: white;
  overflow: hidden;
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,100 1000,0"/></svg>')
    no-repeat center center;
  background-size: cover;
}

.cta-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.cta-title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.cta-title span {
  display: block;
  margin-bottom: 0.5rem;
}

.cta-title-accent {
  color: #fde047;
}

.cta-message {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  max-width: 64rem;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideInUp 1s ease-out 0.2s both;
}

.cta-message h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.6;
}

.cta-thoughts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

.thought-accent {
  color: #fde047;
}

.thought-bold {
  font-weight: 700;
}

.cta-offer {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  animation: slideInUp 1s ease-out 0.4s both;
}

.cta-offer h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.offer-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.offer-info h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.offer-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.offer-info li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.offer-info li svg {
  height: 1rem;
  width: 1rem;
  margin-right: 0.5rem;
  color: #fde047;
  flex-shrink: 0;
}

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

.price-old {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.6);
}

.price-new {
  font-size: 3rem;
  font-weight: 700;
  color: #fde047;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.price-note {
  color: #fde047;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
  animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 32rem;
}

.cta-button-card {
  background-color: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.cta-button-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.button-icon {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.line-icon {
  background-color: rgba(6, 199, 85, 0.1);
}

.line-icon svg {
  height: 2rem;
  width: 2rem;
  color: #06c755;
}

.phone-icon {
  background-color: #fff6f0;
}

.phone-icon svg {
  height: 2rem;
  width: 2rem;
  color: #ff5722;
}

.cta-button-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #374151;
}

.cta-button-card p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.cta-btn {
  background-color: #06c755;
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.line-btn {
  background: linear-gradient(135deg, #06c755, #05a748);
}

.line-btn:hover {
  background: linear-gradient(135deg, #05a748, #048c3f);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(6, 199, 85, 0.3);
}

.phone-btn {
  background: linear-gradient(135deg, #ff7a45, #ff5722);
}

.phone-btn:hover {
  background: linear-gradient(135deg, #ff5722, #e64a19);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 122, 69, 0.3);
}

.btn-text-mobile {
  display: block;
}

.btn-text-desktop {
  display: none;
}

.cta-final-message {
  margin-top: 3rem;
  text-align: center;
  position: relative;
  z-index: 2;
  animation: fadeIn 1s ease-out 0.8s both;
}

.cta-final-message {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
  max-width: 64rem;
  margin: 3rem auto 0;
  backdrop-filter: blur(8px);
}

.final-message-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.final-message-text {
  line-height: 1.6;
}

/* フッター */
.footer {
  background-color: #f3f4f6;
  padding: 3.5rem 0;
  color: #374151;
}

.footer-content {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: 1fr;
}

.footer-logo {
  margin-bottom: 1rem;
  height: 2rem;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.company-name {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 0.75rem;
  height: 1rem;
  width: 1rem;
  flex-shrink: 0;
  color: #ff7a45;
  margin-top: 0.25rem;
}

.postal-code,
.address,
.phone,
.hours,
.closed {
  font-size: 0.75rem;
  color: #374151;
  font-weight: 500;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer-contact h4 {
  font-weight: 700;
  font-size: 1.25rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  text-align: center;
}

.footer-buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
  max-width: 400px;
  justify-content: center;
}

.footer-btn {
  flex: 1;
  min-width: 0;
  color: white;
  border: none;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.footer-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.footer-btn:hover::before {
  left: 100%;
}

.footer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.footer-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.footer-btn.line-btn {
  background: linear-gradient(135deg, #06c755, #05a748);
}

.footer-btn.line-btn:hover {
  background: linear-gradient(135deg, #05a748, #048c3f);
  box-shadow: 0 8px 15px rgba(6, 199, 85, 0.3);
}

.footer-btn.phone-btn {
  background: linear-gradient(135deg, #ff7a45, #ff5722);
}

.footer-btn.phone-btn:hover {
  background: linear-gradient(135deg, #ff5722, #e64a19);
  box-shadow: 0 8px 15px rgba(255, 122, 69, 0.3);
}

.btn-icon {
  height: 1.25rem;
  width: 1.25rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.footer-btn span {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
  position: relative;
}

/* FAQセクション */
.faq-section {
  background-color: white;
  padding: 4rem 0 5rem;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.faq-item {
  background-color: #fefbf7;
  border: 1px solid #f9edd8;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 122, 69, 0.03);
}

.faq-question h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
  padding-right: 2rem;
  line-height: 1.4;
  color: #333;
}

.faq-icon {
  flex-shrink: 0;
  height: 24px;
  width: 24px;
  position: relative;
}

.icon-plus,
.icon-minus {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  color: #ff7a45;
  transition: all 0.3s ease;
}

.icon-minus {
  opacity: 0;
  transform: rotate(-90deg);
}

.faq-item.active .icon-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.active .icon-minus {
  opacity: 1;
  transform: rotate(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: all 0.5s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-question {
  background-color: rgba(255, 122, 69, 0.05);
}

.faq-answer p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #6b7280;
}

.faq-cta {
  text-align: center;
  background: linear-gradient(to right, rgba(255, 122, 69, 0.1), rgba(255, 82, 82, 0.1));
  border-radius: 0.75rem;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-cta p {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ff5722;
}

.faq-cta .hero-btn {
  display: inline-flex;
  margin: 0 auto;
  max-width: 400px;
}

/* レスポンシブデザイン */
@media (min-width: 640px) {
  .hero-title {
    font-size: 1.5rem;
  }

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

  .hero-btn {
    font-size: 1rem;
    padding: 1.5rem 2rem;
  }

  .hero-btn-mobile {
    display: none;
  }

  .hero-btn-desktop {
    display: block;
  }

  .arrow-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

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

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

  .failure-reasons {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .offer-details {
    grid-template-columns: 1fr auto;
  }

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

  .btn-text-mobile {
    display: none;
  }

  .btn-text-desktop {
    display: block;
  }

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

  .footer-buttons {
    flex-direction: row;
    max-width: 450px;
    gap: 1.5rem;
  }

  .footer-btn {
    font-size: 1rem;
    padding: 1.125rem 1.5rem;
    min-height: 4rem;
    border-radius: 1rem;
  }

  .btn-icon {
    height: 1.375rem;
    width: 1.375rem;
    margin-right: 0.75rem;
  }

  .contact-info {
    flex-direction: column;
  }

  .contact-icon {
    margin-right: 0.75rem;
  }

  .postal-code,
  .address,
  .phone,
  .hours,
  .closed {
    font-size: 0.875rem;
  }

  .footer-logo {
    height: 2.5rem;
  }

  .hero-offer-simple {
    padding: 1rem;
  }

  .hero-offer-simple .offer-label {
    font-size: 1rem;
  }

  .hero-offer-simple .offer-price {
    font-size: 1rem;
  }

  .hero-offer-simple .offer-price strong {
    font-size: 1.2rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 1.875rem;
  }

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

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

  .promise-content {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 3rem;
  }

  .promise-image {
    width: 280px;
    max-width: 280px;
    flex-shrink: 0;
  }

  .promise-image img {
    height: 180px;
  }

  .promise-text {
    flex: 1;
    max-width: none;
  }

  .promise-title,
  .promise-description {
    text-align: left;
  }

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

  .philosophy-content {
    flex-direction: row;
    align-items: center;
    padding: 3rem;
  }

  .philosophy-image {
    width: 33.333333%;
  }

  .philosophy-text {
    width: 66.666667%;
  }

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

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
  }

  .footer-contact {
    align-items: flex-start;
  }

  .footer-contact h4 {
    text-align: left;
    margin-bottom: 2rem;
  }

  .footer-buttons {
    max-width: none;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.25rem;
  }

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

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

  .promise {
    padding: 2.5rem;
  }

  .promise-content {
    gap: 4rem;
  }

  .promise-image {
    width: 320px;
    max-width: 320px;
  }

  .promise-image img {
    height: 220px;
  }

  .promise-title {
    font-size: 1.375rem;
  }

  .promise-description {
    font-size: 1.125rem;
  }

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

@media (min-width: 1280px) {
  .hero-title {
    font-size: 3rem;
  }

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

@media (max-width: 480px) {
  .header .container {
    padding: 0.5rem 1rem;
  }

  .header-logo {
    height: 2rem;
    max-width: 150px;
  }

  .header-btn {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .footer-buttons {
    flex-direction: column;
    max-width: 280px;
  }

  .footer-btn {
    padding: 0.875rem 1rem;
    font-size: 0.8rem;
    min-height: 3rem;
  }

  .btn-icon {
    height: 1rem;
    width: 1rem;
  }

  .faq-question {
    padding: 1.25rem 1rem;
  }

  .faq-question h3 {
    font-size: 0.9375rem;
    padding-right: 1rem;
  }

  .faq-icon {
    height: 20px;
    width: 20px;
  }

  .icon-plus,
  .icon-minus {
    height: 20px;
    width: 20px;
  }

  .faq-item.active .faq-answer {
    padding: 0 1rem 1.25rem;
  }

  .faq-cta {
    padding: 1.5rem 1rem;
  }

  .faq-answer p {
    font-size: 0.875rem;
  }

  .faq-cta p {
    font-size: 1rem;
  }
}

/* アクセシビリティ向上 */
.footer-btn:focus,
button:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.footer-btn:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

.footer-btn:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ローディング状態 */
.loading {
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* プリントスタイル */
@media print {
  .header,
  .cta-section,
  .footer {
    display: none !important;
  }

  .hero {
    min-height: auto;
    page-break-after: always;
  }

  .testimonial,
  .promise {
    page-break-inside: avoid;
  }
}
