/* Color Variables */
:root {
  --background: #faf7f2;
  --foreground: #2c2c2c;
  --card: #ffffff;
  --card-foreground: #2c2c2c;
  --primary: #1a1a2e;
  --primary-foreground: #faf7f2;
  --secondary: #f5f2ed;
  --secondary-foreground: #2c2c2c;
  --muted: #e8e5e0;
  --muted-foreground: #7a7a7a;
  --accent: #1a1a2e;
  --accent-foreground: #faf7f2;
  --border: #e8e5e0;
  --input: #f5f2ed;
  --ring: #1a1a2e;
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 700;
  word-break: auto-phrase;
  text-wrap: balance;
}

p {
  margin-bottom: 1rem;
  word-break: auto-phrase;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

/* Sections */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

.section-en {
  margin: 0 auto;
    margin-bottom: 2em;
  color: white;
  background-color: black;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
  padding: 2rem;
}

.hero-container {
  max-width: 56rem;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: var(--foreground);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--muted-foreground);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
}
.hero-img {
  width: 90%;
}


@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (max-width: 640px) {
  .hero-img{
    width: 100vw;
  }
}


/* Buttons */
.btn {
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

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

.btn-primary:hover {
  background-color: #282840;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.2);
}

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

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

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

.btn-light:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

.btn-light-secondary {
  background-color: transparent;
  color: var(--primary-foreground);
  border: 2px solid var(--primary-foreground);
}

.btn-light-secondary:hover {
  background-color: rgba(250, 247, 242, 0.1);
}

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-header {
  text-align: center;
  padding: 2rem 6rem;
  border-bottom: 1px solid var(--border);
}

.card-title {
  font-size: 1.25rem;
  color: var(--foreground);
  margin: 0;
}

.card-title-primary {
  color: var(--primary);
}

.card-description,
.card-subtitle {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  margin: 0.5rem 0 0 0;
}

.card-content {
  padding: 4rem;
}

.card-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.card-content strong {
  font-size: 1.2em;
  color: #000;
  background: linear-gradient(transparent 60%, yellow 30%)
}

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

.card-image {
  margin: 0 auto;
  margin-bottom:2em;
  width: 70%;
}

.card-image img{
    object-fit: cover;
    width: 100%;
}

.card-image-2 {
  display: inline-block;
  margin: 0 auto;
  margin-bottom:2em;
  width: 80%;
  background-color: gray;
}

.card-image-2 .card-image-2clm {
    display: flex;
    flex-direction: column;
    gap :.5em;
      width: 50%;
  height: 150px;
}

.card-image-round {
  margin: 2rem auto;
  width: 300px;
  height: 300px;


}

.card-image-round img{  object-fit: cover;
  width: 90%;
  border-radius: 50%;
}

/* About Section */
.about-section {
  background-color: var(--secondary);
  padding: 6rem 1rem;
}

.about-card {
  max-width: 56rem;
  margin: 0 auto 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Check List */
.check-list {
  list-style: none;
  padding:0 2rem 1rem ;
  margin: 1.5rem 0 0;
  font-weight: bold;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
}

.check-icon {
  color: var(--primary);
  font-weight: bold;
  flex-shrink: 0;
}

/* Benefits Section */
.benefits-section {
  background-color: var(--background);
  padding: 6rem 1rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-card {
  position: relative;
}

.benefit-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

.bullet {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.25rem;
}

.benefit-description {
  font-size: 0.9rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
}

/* Process Section */
.process-section {
  background-color: var(--secondary);
  padding: 6rem 1rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-bottom: 4rem;
}

/*.process-step .card-header{
  text-align: left;
}*/

@media (min-width: 768px) {
  .process-step {
    grid-template-columns: 8rem 1fr;
  }
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  font-size: 2rem;
  font-family: 'Georgia', serif;
  font-weight: bold;
}

@media (min-width: 768px) {
  .step-number {
    width: 8rem;
    height: 8rem;
    font-size: 2.5rem;
  }
}

.process-arrow {
  display: none;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 2rem;
  margin: -1rem 0;
}

@media (min-width: 768px) {
  .process-arrow {
    display: block;
  }
}

.step-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  grid-template-columns: auto 
}
.step-number {
  margin: 0 auto;
      width: 4rem;
    height: 4rem;
}

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

.step-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}


/* Testimonials Section */
.testimonials-section {
  background-color: var(--background);
  padding: 6rem 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin: 0.25rem 0 0;
}

.quote-box {
  background-color: var(--secondary);
  border-left: 4px solid var(--primary);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.quote {
  color: var(--foreground);
  font-weight: 600;
  font-style: italic;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  background-color: var(--secondary);
  padding: 6rem 1rem;
}

.faq-list {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

.faq-item {
  border: 1px solid var(--border);
}

.faq-button {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  transition: background-color 0.3s ease;
}

.faq-button:hover {
  background-color: var(--background);
}

.faq-question {
  font-size: 1rem;
  color: var(--foreground);
  margin: 0;
  flex: 1;
}

.faq-icon {
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  max-height: 500px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer p {
  margin-bottom: 0;
}

.faq-item:not(.active) .faq-answer {
  display: none;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #232340 100%);
  color: var(--primary-foreground);
  border-radius: calc(var(--radius) * 2);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1rem;
  color: rgba(250, 247, 242, 0.9);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 1rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-column h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
}

.footer-column p {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.8);
}

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

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.8);
}

.footer-column a:hover {
  color: var(--primary-foreground);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.2);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.7);
  margin-bottom: 0.5rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 640px) {
  .section-container {
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

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

  .btn {
    width: 100%;
  }

  .card-header {
    padding: 1rem;
  }

  .card-content {
    padding: 1rem;
  }
}

/* Print Styles */
@media print {
  body {
    background-color: white;
  }

  .btn, .faq-button {
    break-inside: avoid;
  }
}

/* 1番目のセクション：明るい青の円形グラデーション */
section:nth-of-type(1), .l-section:nth-of-type(1) {
    background: radial-gradient(circle, #e0f7fa 0%, #4fc3f7 100%) !important;
}

/* 2番目のセクション：内側ベージュ、外側グリーン系グレー */
section:nth-of-type(2), .l-section:nth-of-type(2) {
    background: radial-gradient(circle, #fdfbf7 30%, #e0e5df 100%) !important;
}

section:nth-of-type(3), .l-section:nth-of-type(3) {
    background: radial-gradient(circle, #e0f7fa 0%, #4fc3f7 100%) !important;
}

/* --- 箇条書きセクションの強化修正 --- */

/* 1. リスト全体の余白調整 */
.check-list, .benefit-list {
  padding: 1rem 0;
  /*margin: 2rem 0;*/
}

/* 2. 各項目のテキストを大きく、色を濃く強調 */
.check-list li, 
.benefit-list li {
  font-size: 1.25rem; /* サイズアップ */
  font-weight: 800;    /* より太く */
  color: var(--foreground) !important; /* グレーから濃い色へ */
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center; /* アイコンと文字を中央揃え */
  gap: 1rem;
  line-height: 1.4;
}

/* 3. アイコンをカラフルで目立つ円形グラデーションに */
.check-icon, 
.bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;  /* サイズ固定 */
  height: 36px;
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%); /* 華やかなピンク系 */
  /* もしくは金運・信頼感のゴールド系なら: linear-gradient(135deg, #f6d365 0%, #fda085 100%) */
  color: white !important;
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 154, 158, 0.4); /* アイコンに立体感 */
  flex-shrink: 0;
}

/* 4. テキスト内の特に重要な言葉に「マーカー」を自動適用 */
/* HTML側で <strong> で囲むと蛍光ペン風になります */
.check-list li strong,
.benefit-list li strong {
  font-size: 1.1em;
  color: black;
  background: linear-gradient(transparent 60%, #fff100 40%); /* 鮮やかなイエロー */
  padding: 0 2px;
}

/* モバイル対応：スマホでは少しだけサイズを落とす */
@media (max-width: 640px) {
  .check-list li, .benefit-list li {
    font-size: 1.1rem;
  }
  .check-icon, .bullet {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

/* --- 各セクションの背景を派手に一新 --- */

/* 1番目のセクション：エネルギッシュなシアン・パープル */
section:nth-of-type(1), .hero-section {
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 50%, #8e2de2 100%) !important;
    color: #fff !important;
}
section:nth-of-type(1) .hero-title,
section:nth-of-type(1) .section-title {
    color: #fff !important;
}

/* 2番目のセクション：高級感のある「情熱」のサンセット */
section:nth-of-type(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}
section:nth-of-type(2) .section-title,
section:nth-of-type(2)  {
    color: #fff !important;
}

/* 3番目のセクション：信頼感のあるディープエメラルド */
section:nth-of-type(3) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
}

/* CTAセクション（最後）を最強に派手にする */
.cta-section {
    background: linear-gradient(45deg, #f093fb 0%, #f5576c 25%, #4facfe 50%, #00f2fe 100%) !important;
    background-size: 300% 300% !important;
    animation: gradientFlow 10s ease infinite; /* 動く背景 */
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* --- ヒーローセクションの視認性向上 --- */

.hero-subtitle {
  /* グレーから白に変更し、コントラストを最大化 */
  color: #ffffff !important; 
  
  /* 少し太くして存在感を出す */
  font-weight: 600; 
  
  /* 視認性を劇的に上げるためのシャドウ（文字の影） */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  
  /* 透明度を100%にしてハッキリ見せる */
  opacity: 1 !important;
  
  /* 1.125remから少しだけサイズアップ（必要に応じて） */
  font-size: clamp(1.1rem, 3vw, 1.75rem); 
  
  line-height: 1.6;
}

/* ついでにメインタイトルもさらに強調 */
.hero-title {
  color: #ffffff !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em; /* 少し詰めると力強い印象になります */
}

/* --- セクション背景のループ適用 --- */

/* 4番目・6番目のセクション（工程、FAQなど） -> 2番目のピンク系を適用 */
section:nth-of-type(4), 
section:nth-of-type(6),
.process-section,
.faq-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

/* 5番目のセクション（お客様の声など） -> 3番目のエメラルド系を適用 */
section:nth-of-type(5),
.testimonials-section {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%) !important;
}

/* 背景が濃いセクション内の文字を一括で見やすく（白文字＋影） */
/*section:nth-of-type(n+2) :is(.section-title, .card-title, p, .step-detail, .faq-question, .quote, .testimonial-role, .benefit-description) {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
*/

/* --- セクション背景：ピンクから明るいブルーへ変更 --- */

/* 2番目、4番目、6番目のセクション（工程、FAQなど） */
section:nth-of-type(2),
section:nth-of-type(4), 
section:nth-of-type(6),
.process-section,
.faq-section {
    /* 爽快なスカイブルーから深いブルーへのグラデーション */
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%) !important;
}

/* それに付随するカード内のアイコンなどもブルー系で統一（必要に応じて） */
section:nth-of-type(2) .check-icon,
section:nth-of-type(4) .check-icon,
section:nth-of-type(6) .check-icon {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%) !important;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.4);
}

/* --- 期間限定：吹き出しデザイン --- */

.speech-bubble {
  position: relative;
  display: inline-block;
  margin: 0 auto 1.5rem; /* 下のタイトルとの間隔 */
  padding: 0.8rem 1.5rem;
  background: #fff100; /* 注意を引くイエロー */
  color: #d00000;      /* 強調のレッド */
  font-size: 1.1rem;
  font-weight: 900;
  border-radius: 50px; /* 丸みのある形 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: bounce 2s infinite; /* ぴょこぴょこ動かして目立たせる */
}

/* 吹き出しの三角部分 */
.speech-bubble::after {
  content: "";
  position: absolute;
  top: 100%; /* 下側に配置 */
  left: 50%;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top: 12px solid #fff100; /* 背景色と同じ色 */
}

/* 注目させるためのアニメーション */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

/* CTAセクション内の配置調整 */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- 価格強調カードのデザイン --- */

.price-highlight-card {
  background: rgba(255, 255, 255, 0.95); /* 背景を少し透かして馴染ませる */
  border: 4px solid #ffcc00;            /* 高級感のあるゴールドの枠線 */
  border-radius: 20px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* 通常価格（打ち消し線） */
.price-old {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0.5rem;
}
.price-old span {
  text-decoration: line-through;
  text-decoration-color: #ff0000;      /* 赤い斜線で強調 */
  text-decoration-thickness: 2px;
}

/* 限定価格のコンテナ */
.price-new-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0.5rem 0;
}

/* 「今だけ限定価格」ラベル */
.price-label {
  background: #ff0000;
  color: #fff;
  padding: 4px 12px;
  font-weight: 900;
  font-size: 1rem;
  border-radius: 4px;
}

/* 金額部分を最大化 */
.price-amount {
  font-size: 3rem; /* 数字を圧倒的に大きく */
  font-weight: 700;
  color: #d00000;
  letter-spacing: -2px;
  line-height: 1;
}

.price-tax {
  font-size: 1rem;
  color: #d00000;
  font-weight: bold;
}

/* 下部テキスト */
.price-note {
  font-size: 1.25rem;
  font-weight: 800;
  color: #333;
  margin-top: 1rem;
}

/* スマホ表示の最適化 */
@media (max-width: 640px) {
  .price-amount {
    font-size: 2.8rem;
  }
  .price-highlight-card {
    margin: 1.5rem 1rem;
    padding: 1.5rem 1rem;
  }
}