/* 基本設定 */
body {
  margin: 0;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background: linear-gradient(180deg, #1a1a40, #4b0082);
  color: #fff;
  text-align: center;
  line-height: 1.6;
}

/* PC用ヘッダー */
.hero {
  position: relative;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.hero-logo img {
  height: 50px;
}
.hero .contact-buttons {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
}

/* ボタン共通 */
.btn {
  margin: 0;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  color: #fff;
}

/* LINEボタン */
.btn.line {
  background: #06C755;
}
.btn.line:hover {
  background: #33d176;
}

/* Instagramボタン */
.btn.insta {
  background: #e6406f;
}
.btn.insta:hover {
  background: #e6406f;
}

/* メールボタン */
.btn.mail {
  background: #ff8c00;
}
.btn.mail:hover {
  background: #ffaa33;
}

/* 電話ボタン */
.btn.tel {
  background: #00bfff;
}
.btn.tel:hover {
  background: #33ccff;
}

/* テキスト切り替え */
.btn .short { display: none; }

/* セクション共通 */
section {
  padding: 30px 20px;
}
h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: #ffd700;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: #ffd700;
}

/* 紹介画像セクション */
.intro-image {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 10px;
}
.intro-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* mp4動画 */
.video-container {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}
.video-container video {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* 3つの理由セクション */
.reason {
  background-image: url(img/background.png);
  margin: 10px auto;
  padding: 20px 10px;
}

.reason-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.reason .items {
  display: flex;
  padding: 10px;
  max-width: 300px;
}

.reason-items img {
  width: 100%;
  height: auto;
  border-radius: 50px;
  display: block;
}

/* サービス紹介 */
.service-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.service .item {
  background: rgba(255,255,255,0.1);
  padding: 10px;
  border-left: 5px solid #ff69b4;
  margin: 5px 5px;
  max-width: 320px;
  border-radius: 8px;
  text-align: left;
}

.service .item p {
  text-align: left;
}

/* 占術紹介 */
.divination {
  padding: 20px 20px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
}

.divination-table {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.readcont {
  background: rgba(255,255,255,0.1);
  border: 2px solid #ffd700;
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  transition: transform 0.3s;
}
.readcont:hover {
  transform: translateY(-5px);
}

.divination .note {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #ddd;
}

.readcont p {
  text-align: left;
}


/* プロフィール */
.profile-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.profile-content img {
  width: 200px;
  border-radius: 50%;
  border: 3px solid #ffd700;
}
.profile-content .text {
  max-width: 500px;
  text-align: left;
}

/* 本の紹介 */
.book-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.book-content img {
  width: 200px;
  border: 3px solid #ffd700;
}
.book-content .text {
  max-width: 500px;
  text-align: left;
}

/* 料金プラン（テーブル形式） */
.pricing {
  padding: 20px 20px;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
}
.pricing h2 {
  color: #ffd700;
  font-size: 2rem;
  margin-bottom: 30px;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}
.pricing-table th, .pricing-table td {
  border: 1px solid #ffd700;
  padding: 12px;
  font-size: 1.1rem;
}
.pricing-table th {
  background: #ffd700;
  color: #000;
}
.pricing-table td {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.pricing .note {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #ddd;
}

/* お店について */
.store{
  padding: 20px 20px;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
}
.store h2 {
  color: #ffd700;
  font-size: 2rem;
  margin-bottom: 30px;
}
.store-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}
.store-table th, .store-table td {
  border: 0px solid #4b0082;
  padding: 12px;
  font-size: 1.1rem;
}

.store-table td {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.store .note {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #ddd;
}

/* 道案内セクション */
.access {
  background: #000;
  padding: 60px 20px;
  border-radius: 12px;
}
.access p {
  color: #fff;
}

/* スライダー */
.slider {
  position: relative;
  max-width: 600px;
  margin: 0 auto 40px;
  overflow: hidden;
}
.slides {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.slide img {
  width: 50%;
  display: block;
  margin: 0 auto 10px;
  border-radius: 12px;
}
.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
}
.slider .prev { left: 10px; }
.slider .next { right: 10px; }

/* Googleマップ */
.map { margin-top: 40px; }
.map iframe { border-radius: 12px; }

/* お客様の声 */
.voice blockquote {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-left: 5px solid #ff69b4;
  margin: 10px auto;
  max-width: 650px;
  border-radius: 8px;
  text-align: left;
}

/* FAQ */
.faq { padding: 60px 20px; text-align: left; }
.faq h2 { font-size: 2rem; text-align: center; margin-bottom: 30px; }
.faq-item { max-width: 800px; margin: 0 auto 15px; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.faq-question { width: 100%; padding: 15px; background: #ffe4f0; border: none; text-align: left; font-size: 1rem; font-weight: bold; cursor: pointer; transition: background 0.3s; }
.faq-question:hover { background: #ffd6ea; }
.faq-answer { max-height: 0; color: #000; overflow: hidden; background: #fff; transition: max-height 0.4s ease, padding 0.3s; padding: 0 15px; }
.faq-answer p { margin: 10px 0; }
.faq-item.active .faq-answer { max-height: 200px; padding: 15px; }

/* 申し込み */
.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* フッター */
footer {
  background: rgba(0,0,0,0.8);
  padding: 20px;
  font-size: 0.9rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .profile-content { flex-direction: column; text-align: center; }
  .profile-content .text { text-align: left; }

  /* ヘッダーを下に固定 */
  .hero {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px;
    z-index: 1000;
    height: 60px;
  }
  .hero-logo { display: none; }
  .hero .contact-buttons {
    flex: 1;
    justify-content: space-around;
    gap: 10px;
  }
  .hero .btn {
    font-size: 1.2rem;
    padding: 6px 10px;
    border-radius: 10px;
  }

  /* スマホ時は短いテキストを表示 */
  .btn .full { display: none; }
  .btn .short { display: inline; }

  /* メールボタンは非表示 */
  .btn.mail { display: none; }

  body { padding-bottom: 70px; } /* 下部余白 */
}

/* デフォルトは長いテキストを表示 */
.btn .full { display: inline; }
.btn .short { display: none; }

  /* 下余白 */
  body { padding-bottom: 70px; }
}
