@charset "UTF-8";
/*
Theme Name: Dariya Custom Theme
Author: Dariya Preschool
Description: A custom theme for our website, optimized for ease of use
Version: 1.0
Text Domain: dariya-custom-theme
*/
/* ベーススタイル - faqページ専用スタイル */
.faq-interactive-container {
  position: relative;
  min-height: 70vh;
  padding: 20px 0 120px;
  overflow: visible;
  background: url("../images/graduation-works-2013.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #fefefe;
  padding-bottom: 100vh;
}

/* ダイアログボックス */
.faq-dialog-box {
  position: fixed;
  bottom: 80px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 90%;
  max-width: 700px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 100;
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
}

.faq-dialog-box.show {
  opacity: 1;
}

.faq-dialog-name {
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #e4b0ad;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
  padding: 2px 15px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 0.9em;
}

.faq-dialog-content {
  margin-top: 10px;
  line-height: 1.6;
  min-height: 80px;
}

/* キャラクター表示 */
.faq-character {
  position: fixed;
  bottom: 220px;
  width: 120px;
  height: 200px;
  -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, -webkit-transform 0.5s;
  transition: opacity 0.5s, transform 0.5s;
  transition: opacity 0.5s, transform 0.5s, -webkit-transform 0.5s;
  opacity: 0;
  z-index: 90;
}

.faq-character.faq-left {
  left: 2%;
  -webkit-transform: translateX(-50px);
          transform: translateX(-50px);
}

.faq-character.faq-right {
  right: 27%;
  -webkit-transform: translateX(50px);
          transform: translateX(50px);
}

.faq-character.show {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

/* 左側キャラクター用 */
.faq-character.faq-left.fading-out-left {
  /* 左方向へフェードアウト */
  opacity: 0;
  -webkit-transform: translateX(-30px);
          transform: translateX(-30px);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
}

.faq-character.faq-left.fading-in-left {
  /* 左方向からフェードイン */
  opacity: 0;
  -webkit-transform: translateX(-30px);
          transform: translateX(-30px);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
}

.faq-character.faq-left.fading-in-left.show {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

/* 右側キャラクター用 */
.faq-character.faq-right.fading-out-right {
  /* 右方向へフェードアウト */
  opacity: 0;
  -webkit-transform: translateX(30px);
          transform: translateX(30px);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
}

.faq-character.faq-right.fading-in-right {
  /* 右方向からフェードイン */
  opacity: 0;
  -webkit-transform: translateX(30px);
          transform: translateX(30px);
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
}

.faq-character.faq-right.fading-in-right.show {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.faq-character-avatar {
  width: 300%;
  height: 200%;
  border-radius: 10px;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
}

/* コントロールボタン */
.faq-controls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
  width: 90%;
  max-width: 700px;
  z-index: 110;
  margin-bottom: 5px;
}

.faq-control-button {
  background-color: #a95d68;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 8px 15px;
  cursor: pointer;
  font-weight: bold;
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
  font-size: 0.9em;
}

.faq-control-button:hover {
  background-color: #a34653;
}

.faq-control-button:disabled {
  background-color: #999;
  cursor: not-allowed;
}

/* トピック選択メニュー */
.faq-topic-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.faq-topic-menu.show {
  opacity: 1;
  pointer-events: auto;
}

.faq-topic-list {
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  background-color: white;
  border-radius: 10px;
  padding: 20px;
}

.faq-topic-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.faq-topic-subtitle {
  margin-bottom: 1rem;
}

.faq-topic-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 15px;
  gap: 15px;
  margin-top: 15px;
}

.faq-topic-item {
  padding: 15px;
  margin-bottom: 0;
  background-color: #f0f0f0;
  border-radius: 5px;
  cursor: pointer;
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.faq-topic-item:hover {
  background-color: #e0e0e0;
}

.faq-topic-item-icon {
  width: 24px;
  height: 24px;
  background-color: #a95d68;
  border-radius: 50%;
  margin-right: 10px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: white;
  font-size: 14px;
}

.faq-topic-item.current {
  background-color: #a95d68;
  color: white;
}

/* 完了済みトピックのスタイル */
.faq-topic-item.completed {
  background-color: #e1b0b7;
}

/* 完了済みトピックのアイコン */
.faq-topic-item.completed .faq-topic-item-icon {
  background-color: #a95d68; /* アイコンの背景色 */
  color: white;
}

/* 現在選択中で完了済みのトピック */
.faq-topic-item.current.completed {
  background-color: #a95d68; /* 現在選択中の背景色を優先 */
  color: white;
}

.faq-close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* 会話ログ */
.faq-conversation-log {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 0.8em;
  cursor: pointer;
  z-index: 150;
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.faq-conversation-log:hover {
  background-color: #3a5d97;
}

/* ナレーション */
.faq-narration {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.faq-narration.show {
  opacity: 1;
  pointer-events: auto;
  word-wrap: break-word;
  word-break: break-all;
  text-align: left;
}

.faq-narration h3 {
  color: #e4e4e4;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.5rem;
}

/* リンクコンテナのスタイル */
.narration-link-container {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.narration-link-container li {
  padding-left: 0;
}
.narration-link-container a {
  color: #3bb4d2;
  -webkit-text-decoration: underline;
  text-decoration: underline;
  padding: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.narration-link-container a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgb(45.2053941909, 166.7576763485, 196.8946058091);
}

/* プログレスインジケーター */
.faq-progress-bar {
  position: fixed;
  height: 5px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  overflow: hidden;
  z-index: 150;
  bottom: 75px;
  max-width: 800px;
  width: 90%;
  left: 5%;
  display: none;
}

.faq-progress-fill {
  height: 100%;
  background-color: #ffcc00;
  width: 0%;
  -webkit-transition: width 0.3s;
  transition: width 0.3s;
}

/* 現在のトピックタイトル表示 */
.faq-current-topic {
  position: fixed;
  top: 340px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffcc00;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  z-index: 150;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* トピック完了通知 */
.faq-topic-complete {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: rgba(232, 190, 186, 0.92);
  color: white;
  color: rgb(30, 30, 3);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  z-index: 180;
  width: 80%;
  max-width: 500px;
  -webkit-box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
          box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.faq-topic-complete.show {
  opacity: 1;
  pointer-events: auto;
}

.faq-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgb(169, 93, 104);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.faq-close-button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.faq-topic-complete h3 {
  margin-bottom: 20px;
  font-size: 1.4em;
}

.faq-next-topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 20px;
}

.faq-next-topic-item {
  background-color: #a95d68;
  color: white;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  -webkit-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.faq-next-topic-item:hover {
  background-color: #a34653;
}

/* タイプライターエフェクト */
.faq-typewriter {
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}

@-webkit-keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.faq-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background-color: white;
  -webkit-animation: blink 1s infinite;
          animation: blink 1s infinite;
  margin-left: 2px;
  vertical-align: middle;
}

/* キャラクター固有のスタイル */
.principal-avatar {
  background: -webkit-gradient(linear, left top, left bottom, from(#82e282), to(#f4fdf4));
  background: linear-gradient(to bottom, #82e282, #f4fdf4);
}
.principal-avatar::before {
  content: "";
  display: inline-block;
  width: 300%;
  height: 200%;
  border-radius: 10px;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-image: url(../images/principal1.png);
  background-size: cover;
  width: 100%;
  height: 100%;
}

.speaker-1-avatar {
  background: -webkit-gradient(linear, left top, left bottom, from(#e78d5c), to(#f9ede7));
  background: linear-gradient(to bottom, #e78d5c, #f9ede7);
}
.speaker-1-avatar::before {
  content: "";
  display: inline-block;
  width: 300%;
  height: 200%;
  border-radius: 10px;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-image: url(../images/mama6.png);
  background-size: cover;
  width: 100%;
  height: 100%;
}

.speaker-2-avatar {
  background: -webkit-gradient(linear, left top, left bottom, from(#9a9afe), to(#f0f0fd));
  background: linear-gradient(to bottom, #9a9afe, #f0f0fd);
}
.speaker-2-avatar::before {
  content: "";
  display: inline-block;
  width: 300%;
  height: 200%;
  border-radius: 10px;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-image: url(../images/mama3.png);
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
  background-size: cover;
  width: 100%;
  height: 100%;
}

.speaker-3-avatar {
  background: -webkit-gradient(linear, left top, left bottom, from(#e985e9), to(#fbf0fb));
  background: linear-gradient(to bottom, #e985e9, #fbf0fb);
}
.speaker-3-avatar::before {
  content: "";
  display: inline-block;
  width: 300%;
  height: 200%;
  border-radius: 10px;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-image: url(../images/mama1.png);
  background-size: cover;
  width: 100%;
  height: 100%;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .faq-character {
    width: 80px;
    height: 150px;
    bottom: 180px;
  }
  .faq-dialog-box {
    padding: 15px;
    bottom: 80px;
  }
  .faq-controls {
    bottom: 15px;
  }
  .faq-character.faq-left {
    left: 10px;
    bottom: 380px;
  }
  .faq-character.faq-right {
    right: 170px;
    bottom: 380px;
  }
}
footer#colophon {
  bottom: -15%;
}

@media (min-width: 769px) {
  /* ベーススタイル - faqページ専用スタイル */
  .faq-interactive-container {
    background-size: cover;
  }
  /* 現在のトピックタイトル表示 */
  .faq-current-topic {
    top: 78px;
  }
  .faq-character.faq-left {
    bottom: 48%;
  }
  .faq-character.faq-right {
    bottom: 48%;
  }
}
/*# sourceMappingURL=style.faq-talk.css.map */
