/* assets/css/style.css */

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

/* 英語テキスト用フォント設定 */
.english-text,
[lang="en"],
.ar-title,
.start-button,
.back-button {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}

/* 特定の英語表記に対するフォント設定 */
.ar-title,
.page-title h1 {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 700;
}

/* FAQ内のAR、Q、Aなどの英語文字 */
.faq-question h3,
.faq-answer p {
  font-family: "Noto Sans JP", "Roboto", sans-serif;
}

/* FAQ内のQとAの表記 */
.faq-question h3::before {
  font-family: "Roboto", sans-serif;
}

/* 英語の単語を含むテキストに対してフォールバック */
.mixed-text {
  font-family: "Noto Sans JP", "Roboto", sans-serif;
}

body {
  font-family: "Noto Sans JP", "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
  background: linear-gradient(135deg, #f5f3f0 0%, #ebe7e1 50%, #f0ede8 100%);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  min-height: 100vh;
}

.main-content {
  padding: 0 20px;
  position: relative;
}

/* ヘッダー画像 */
.header-image {
  text-align: center;
  margin-bottom: 30px;
}

.header-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* AR セクション */
.ar-section {
  text-align: center;
  margin-bottom: 40px;
}

.ar-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.ar-subtitle {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
}

/* AR体験方法 */
.ar-instructions {
  margin-bottom: 40px;
}

.ar-instructions h2 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
}

.instructions-list {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 25px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instruction-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.instruction-item:last-child {
  margin-bottom: 0;
}

.step-number {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-right: 10px;
  min-width: 20px;
}

.instruction-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

/* スタートボタン */
.start-section {
  text-align: center;
  margin: 50px 0 60px 0;
  padding: 0 20px;
}

.start-button {
  background: linear-gradient(135deg, #d4a574 0%, #c19660 100%);
  color: white;
  border: none;
  padding: 24px 40px;
  font-size: 24px;
  font-weight: 700;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 15px;
  box-shadow: 0 8px 30px rgba(196, 150, 96, 0.4);
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0.5px;
  width: 90%;
  max-width: 600px;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}

.start-button::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 ease;
}

.start-button:hover {
  background: linear-gradient(135deg, #c19660 0%, #b08854 100%);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(196, 150, 96, 0.5);
}

.start-button:hover::before {
  left: 100%;
}

.start-button:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(196, 150, 96, 0.4);
}

.temp-link {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.temp-link a {
  color: #d4a574;
  text-decoration: none;
}

.temp-link a:hover {
  text-decoration: underline;
  color: #c19660;
}

/* 対応機種 */
.compatibility-section {
  margin-bottom: 40px;
}

.compatibility-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.device-info {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.device-group {
  margin-bottom: 15px;
}

.device-group:last-child {
  margin-bottom: 0;
}

.device-group p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 5px;
}

.password-note {
  text-align: center;
  font-size: 14px;
  color: #666;
}

/* 注意事項 */
.notice-section {
  margin-bottom: 40px;
}

.notice-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.notice-section p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

/* FAQ */
.faq-section {
  margin-bottom: 40px;
}

.faq-section h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.faq-section p {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.faq-link {
  color: #d4a574;
  font-weight: 700;
  font-size: 18px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* FAQアコーディオン */
.faq-items {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: rgba(212, 165, 116, 0.1);
}

.question-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.question-label {
  background: linear-gradient(135deg, #d4a574 0%, #c19660 100%);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  width: fit-content;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  flex-shrink: 0;
  margin-top: 2px;
}

.question-content h3 {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: 300;
  color: #d4a574;
  min-width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  margin-left: 15px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 15px 20px 20px 20px;
}

.answer-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.answer-label {
  background: linear-gradient(135deg, #8b7355 0%, #7a6349 100%);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  width: fit-content;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  flex-shrink: 0;
  margin-top: 2px;
}

.answer-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
  flex: 1;
}

/* フッター */
.footer {
  text-align: center;
  padding: 30px 0;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

.footer p {
  font-size: 14px;
  color: #666;
}
.page-title {
  padding-top: 30px;
}

/* FAQページ専用スタイル */
.faq-page .page-title {
  text-align: center;
  margin-bottom: 40px;
}

.faq-page .page-title h1 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}
h1 img {
  width: 75%;
}

.faq-content {
  margin-bottom: 40px;
}

.faq-note {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-note h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.faq-note p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 5px;
}

.faq-placeholder {
  text-align: center;
  padding: 60px 20px;
  background: rgba(240, 237, 232, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  color: #666;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-placeholder p {
  font-size: 14px;
  line-height: 1.6;
}

.back-to-top {
  text-align: center;
  margin-bottom: 40px;
}

.back-button {
  display: inline-block;
  background: linear-gradient(135deg, #8b7355 0%, #7a6349 100%);
  color: white;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.back-button:hover {
  background: linear-gradient(135deg, #7a6349 0%, #6b563f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
}

.back-note {
  font-size: 12px;
  color: #666;
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
  .main-content {
    padding: 0 15px;
  }

  .ar-title {
    font-size: 28px;
  }

  .ar-subtitle {
    font-size: 14px;
  }

  .ar-instructions h2 {
    font-size: 20px;
  }

  .instructions-list {
    padding: 20px 15px;
  }

  .start-section {
    margin: 40px 0 50px 0;
    padding: 0;
  }

  .start-button {
    padding: 20px 30px;
    font-size: 20px;
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
  }

  .compatibility-section h3,
  .notice-section h3,
  .faq-section h3 {
    font-size: 18px;
  }

  .faq-page .page-title h1 {
    font-size: 28px;
  }

  .faq-question {
    padding: 15px;
  }

  .question-content h3 {
    font-size: 14px;
  }

  .question-label,
  .answer-label {
    font-size: 10px;
    padding: 3px 10px;
  }

  .faq-toggle {
    font-size: 20px;
    min-width: 25px;
    margin-left: 10px;
  }

  .faq-item.active .faq-answer {
    padding: 12px 15px 15px 15px;
  }

  .answer-content p {
    font-size: 13px;
  }

  .answer-content {
    gap: 10px;
  }
}
