/* common -------------------------------------------------------------*/
@charset "UTF-8";

* {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  box-sizing: border-box;
}

a,
button {
  text-decoration: none;
  cursor: pointer;
}

a:hover,
button:hover {
  opacity: 0.7;
  transition: 0.4s;
}

body {
    background-color: rgb(226, 244, 218);
  overflow-x: hidden;
  color: #1A1A1A;
  letter-spacing: 1px;
}

html {
  overflow-x: hidden;
}

h1 {
  letter-spacing: 2px;
}

h2, h3 {
  letter-spacing: 4px;
}

.sp {
  display: none;
}

.zen-maru-gothic-light {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 300;
  font-style: normal;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

.zen-maru-gothic-medium {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 500;
  font-style: normal;
}

.zen-maru-gothic-bold {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  font-style: normal;
}

.zen-maru-gothic-black {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 900;
  font-style: normal;
}

/* home -------------------------------------------------------------*/
/* 全体の背景色 */
body {
  background-color: #E9F5E1; /* 淡いグリーン */
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
}

/* 見出し */
.contents h2 {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
  color: #ff6e7b;
}

/* introTextクラスのスタイル */
.introText {
  text-align: left; /* テキストを左寄せ */
  font-size: 16px;
  line-height: 1.6;
  margin-top: 30px; /* 上の余白を調整 */
  margin-right: 200px; /* 右側にアイコン分の余白を確保 */
  padding: 10px;
  padding-left: 50px;
  max-width: calc(100% - 200px); /* 右の余白を差し引いた最大幅を設定 */
}



/* 強調表示 */
.introText span {
  color: #ff6e7b;
}

/* アイコンのスタイル */
.datsumayoIcon {
  width: 150px;
  position: absolute; /* 絶対位置指定 */
  top: 40px; /* 上からの位置を指定して文字から離す */
  right: 20px; /* 右からの位置を指定 */
  margin-top: 20px;
  z-index: 10; /* 重なり順を設定して、文字の上に配置 */
}

/* 入力フォーム全体 */
#datsumayoForm {
  text-align: center;
  margin-top: 20px;
}

/* 入力フィールドとテキストエリア */
#datsumayoTitle, #datsumayoText {
  width: 80%;
  max-width: 500px;
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  background-color: #F5F5F5; /* テキストボックスの淡い背景色 */
  font-size: 16px;
  color: #333;
}

/* プレースホルダーテキストのスタイル */
#datsumayoTitle::placeholder,
#datsumayoText::placeholder {
  color: #999;
  font-size: 14px;
}

/* 送信ボタン */
#datsumayoForm button {
  background-color: #cfcfcf;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  width: 150px;
  font-size: 16px;
  color: #555;
  cursor: pointer;
  margin-top: 10px;
}

/* 送信ボタンのホバー時のスタイル */
#datsumayoForm button:hover {
  background-color: #b5b5b5;
}

/* 左下のキャラクター画像 */
.datsumayochara1 {
  width: 180px;
  position: absolute;
  bottom: 100px;
  right: 20px;
  
}

/* 右下のキャラクター画像 */
.datsumayochara2 {
  width: 150px;
  position: absolute;
  bottom: 100px;
  left: 20px;
}

/* 下部ボタンのラッパー */
.form_button {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* 下部ボタンスタイル */
#minnanomayoiB, #minnanodatsuB, #datsumayokakuB {
  width: 45%;
  max-width: 200px;
  padding: 15px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: white;
}

#minnanomayoiB {
  background-color: #54AC8E;
}

#minnanodatsuB {
  background-color: #ff6e7b;
}

#datsumayokakuB {
  background-color: #54AC8E;
}

#mayoingButton {
    text-align: center;
    margin-top: 5px;
}

#mayoingB{
  background-color: #ff6e7b;
  width: 45%;
  max-width: 200px;
  padding: 10px;
  border-radius: 20px;
  font-size: 16px;
  text-align: center;
  color: white;
}
/* loading -------------------------------------------------------------*/
.loading {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  display:none;
}
.loading p {
  font-size: 18px;
  color: #666;
}

/* mayoi -------------------------------------------------------------*/


#mayoiList {
  background-color: #E9F5E1; /* 背景の淡いグリーン */
  padding: 20px;
  margin-bottom: 100px; /* 下部に十分な余白を追加 */
}

/* 各迷いのスタイル */
.mayoi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FFFFFF;
  border-radius: 20px;
  padding: 15px 20px;
  margin: 10px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);


/* サブテキスト */
.mayoiintro {
  text-align: center;
  color: #333;
  font-size: 16px;
  margin: 10px 0;
}}

/* クリック後の背景色 */
.mayoi.active-background {
  background-color: #FFEBEE; /* ピンク系の背景色 */
}

/* 迷いのテキストスタイル */
.mayoiminnaText {
  color: #2F4F4F; /* 深緑色 */
  font-size: 16px;
  font-weight: bold;
}

/* ハートボタン */
.mayoiminnaHeart {
  position: relative;
  background-color: transparent;
  border: none;
  font-size: 24px; /* ハートの大きさ */
  color: #2F4F4F; /* 初期色（深緑） */
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 5px;
  border-radius: 50%;
}

/* ハートボタンのホバー効果 */
.mayoiminnaHeart:hover {
  background-color: rgba(255, 107, 107, 0.1);
  transform: scale(1.1);
}

/* 塗りつぶし用 */
.mayoiminnaHeart::after {
  content: '♥'; /* 塗りつぶし用のハート */
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 24px;
  color: transparent;
  transition: color 0.3s ease;
  pointer-events: none;
}

/* クリック後に色を適用 */
.mayoiminnaHeart.active-heart {
  color: #FF6B6B;
}

.mayoiminnaHeart.active-heart::after {
  color: #FF6B6B; /* 塗りつぶしの赤色 */
}

/* datsumayo -------------------------------------------------------------*/
/* コンテナ全体のスタイル */
#datsumayodisp {
  background-color: #E9F5E1;
  padding: 20px;
  gap: 20px;
}

/* カードを中央に配置するためのスタイル */
#datsumayoCards {
  display: flex;
  flex-wrap: wrap; /* 画面幅に応じて折り返し */
  justify-content: center; /* カードを中央に配置 */
  gap: 20px; /* カード間のスペース */
  margin-top: 20px;
  margin-bottom: 200px; /* 下部に十分な余白を追加 */
}

/* だつまよ体験カードのスタイル */
.datsumayoTaiken {
  background-color: #FFFFFF;
  width: 320px; /* 横幅を広く */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  cursor: pointer;
  transition: transform 0.3s;
}

.datsumayoTaiken:hover {
  transform: translateY(-5px);
}

/* アイコンのスタイル */
.datsumayotaikenIcon {
  width: 60px;
  position: absolute;
  top: 10px;
  left: 10px; /* 左上に配置 */
}

/* タイトルと日付 */
.datsumayotaikenTitle {
  display: block;
  font-size: 18px;
  color: #FF6E7B;
  font-weight: bold; /* ボールドに設定 */
  margin-bottom: 5px;
  padding-left: 70px; /* アイコンとの距離を確保 */
}

.datsumayotaikenDate {
  font-size: 14px;
  color: #54AC8E;
  padding-left: 70px; /* アイコンとの距離を確保 */
}

/* 体験の詳細テキスト */
.datsumayotaikenText {
  display: none; /* 初期状態で非表示 */
  font-size: 14px;
  color: #333;
  margin-top: 10px;
  padding-left: 70px; /* アイコンとの距離を確保 */
}

/* キャラクター画像 */
.datsumayochara3 {
  width: 100px;
  position: fixed; /* ビューポートに対して固定 */
  bottom: 100px; /* ビューポート下からの距離 */
  left: 20px; /* ビューポート左からの距離 */
  z-index: 10; /* 他の要素の上に表示されるように */
}

/* =========================================================*/
/* レスポンシブデザイン: 画面幅が600px以下の場合 */
@media (max-width: 600px) {
  /* 見出しフォントサイズの調整 */
  .contents h2 {
      font-size: 24px;
  }

  /* introTextクラスのスタイル */
.introText {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 30px; /* 上の余白を調整 */
  margin-right: 100px; /* 右側にアイコン分の余白を確保 */
  padding: 10px;
  padding-left: 5px;
  max-width: calc(100% - 100px); /* 右の余白を差し引いた最大幅を設定 */
}

  /* サブテキストのフォントサイズ調整 */
  .contents p {
      font-size: 14px;
  }

  /* アイコンのサイズを縮小 */
  .datsumayoIcon {
      width: 100px;
  }

  /* 入力フィールドとテキストエリアの幅を100%に */
  #datsumayoTitle, #datsumayoText {
      width: 90%;
      max-width: none;
  }
  /* エンブレムアイコンのスタイル */
  .datsumayoIcon {
    width: 100px; /* サイズを小さく */
    top: 40px; /* 上からの位置を調整 */
    right: 10px; /* 右からの位置を調整 */
}
  

  /* キャラクター画像の位置調整 */
  .datsumayochara1 {
      width: 80px;
      bottom: 100px;
      right: 3px;
  }

  .datsumayochara2 {
      width: 120px;
      bottom: 100px;
      right: 3px;
      display:none;
  }

  #mayoingButton {
    text-align: left;
    margin-top: 2px;
  }
  #mayoingB{
    padding: 5px;
  }

  /* 下部ボタンのサイズと間隔を調整 */
  .form_button {
      align-items: center;
  }

  #minnanomayoiB, #minnanodatsuB, #datsumayokakuB {
      width: 35%;
      height: 60px;
      font-size: 13px;
  }
}

/* mayoiomae -------------------------------------------------------------*/

/* 入力フォーム全体 */
#mayoiomaeForm {
  text-align: center;
  margin-top: 20px;
}

/* 入力フィールドとテキストエリア */
#mayoiomaeText {
  width: 80%;
  max-width: 500px;
  padding: 10px;
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  background-color: #F5F5F5; /* テキストボックスの淡い背景色 */
  font-size: 16px;
  color: #333;
}

/* プレースホルダーテキストのスタイル */
#mayoiomaeText::placeholder {
  color: #999;
  font-size: 14px;
}

/* 送信ボタン */
#mayoiomaeForm button {
  background-color: #cfcfcf;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  width: 150px;
  font-size: 16px;
  color: #555;
  cursor: pointer;
  margin-top: 10px;
}

/* 送信ボタンのホバー時のスタイル */
#mayoiomaeForm button:hover {
  background-color: #b5b5b5;
}




