{% load staticfiles %}

html,
body {
  height: 100%;
  font-family: 'M PLUS 1p', sans-serif;
  /* font-family: 'Kosugi', sans-serif; */
  /* font-family: 'Noto Sans JP', sans-serif; */
  font-feature-settings: "palt";
  background-color: #FFFFFF;
  color : #383838;
}

.body-main{
  position: relative;
  top:50px;
}

a:link,
a:visited,
a:hover,
a:active {
  color: #383838;
  text-decoration: none;
}

.float-button__wrap {
  width: 48px;
  height: 48px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 10;
}
.float-button__wrap a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  /* background-color: #ffffff ; */
  color: #383838;
}

a:hover{
  /* font-weight: bold; */
}


.nav_item{
  height:100px;
  background-color: #FFFFFF;
  color: #00473E;
  z-index: 999;
}

/*　上に上がる動き　*/

.nav_item.UpMove{
	animation: UpAnime_n 0.3s forwards;
}

@keyframes UpAnime_n{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}

/*　下に下がる動き　*/

.nav_item.DownMove{
	animation: DownAnime_n 0.3s forwards;
}
@keyframes DownAnime_n{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

.top_character{
  height:220px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.action-icon{
  height:60px;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.arrow_box{
    position:absolute;
    top:20px;
    left:55%;
    width:150px;
    height:30px;
    background:#169E49;
    padding:3px;
    display: inline-block;
    text-align:center;
    color:#FFFFFF;
    font-size:10px;
    font-weight:bold;
    border-radius:12px;
    -webkit-border-radius:12px;
    -moz-border-radius:12px;
}
.arrow_box:after{
    border: solid transparent;
    content:'';
    height:0;
    width:0;
    pointer-events:none;
    position:absolute;
    border-color: rgba(22, 158, 73, 0);
    border-top-width:8px;
    border-bottom-width:8px;
    border-left-width:14px;
    border-right-width:14px;
    margin-left: -14px;
    border-top-color:#169E49;
    top:100%;
    left:15%;
}

.balloon1-top {
  position: relative;
  display: inline-block;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 80%;
  color: #555;
  font-size: 14px;
  background: #FEE1B2;
  margin-left: auto;
  margin-right: auto;
}

.balloon1-top:before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-bottom: 15px solid #FEE1B2;
}

.balloon1-top p {
  margin: 0;
  padding: 0;
}

/*----------------------------
* トップボタン
*----------------------------*/

.rounded-corner {
  background-color: #E2EBCE;
  width: 80%;
  height: 60px;
  color: #00473E;
  font-size: 24px;
  border-radius : 30px;
  box-shadow: 4px 4px;
}



/*----------------------------
* メニュー開閉ボタン
*----------------------------*/
.menu-btn{
  /* position: fixed; */
  width: 50px;
  height: 50px;
  /* top: 20px;
  right: 10px; */
  background: transparent;
  border: 0px;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: flex;

}


/*----------------------------
* メニュー本体
*----------------------------*/
.menu{
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 300px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #E2EBCE;
}
.menu__item{
  width: 100%;
  height: auto;
  padding: 20px 0px 20px 20px;
  text-align: left;
  color: #00473E;
  font-size: 18px;
  box-sizing: border-box;
}

/*----------------------------
* アニメーション部分
*----------------------------*/

/* アニメーション前のメニューの状態 */
.menu{
  transform: translateX(100vw);
  transition: all .3s linear;
}
/* アニメーション後のメニューの状態 */
.menu.is-active{
  transform: translateX(0);
}


.an3-fadedown {
    animation-name: fadedown;
    animation-duration: 2s;
    animation-delay: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes fadedown {
from {
    opacity: 0;
    transform: translateY(-20px);
}
to {
    opacity: 1;
    transform: translateY(0px);
  }
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 80px;
  border-top : 1px solid #CCCCCC;
  background-color: #FFFFFF;
}


/*　上に上がる動き　*/

.footer.UpMove{
	animation: UpAnime_f 0.3s forwards;
}

@keyframes UpAnime_f{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(+100px);
  }
}

/*　下に下がる動き　*/

.footer.DownMove{
	animation: DownAnime_f 0.3s forwards;
}
@keyframes DownAnime_f{
  from {
  	opacity: 0;
	transform: translateY(+100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

/* ボックス */
.box22{
  padding: 0.5em 1em;
  margin: 1em 0;
  background: #ffffff;
  border-left: solid 6px #6C9F00;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.33);
}
.box22 p {
  margin: 0; 
  padding: 0;
}

.box6 {
  padding: 0.1em 0.1em;
  margin: 0em 0;
  /*background: #f0f7ff; */
  border: dashed 2px #929292;/*点線*/
}
.box6 p {
  margin: 0; 
  padding: 0;
}


/* ローディング画面 */

.loader {
  color: #0bd;
  font-size: 90px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  position: absolute;
  top: 40%;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 100%;
  /* background-color: #ffffff; */
  margin: 72px auto;
  
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease;
  animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}
@-webkit-keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@-webkit-keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.tooltip_o { /* 補足説明するテキストのスタイル */
  /* position: relative;
  cursor: pointer;
  padding: 0 5px;
  font-size: 0.9em;
  color: #4682b4; */
  font-size:10px;
}
.balloon_bottom { /* ツールチップのスタイル */
  width: 150px; /* 横幅 */
  position: absolute;
  top: 80%; /* Y軸の位置 */
  left: 50%;
  transform: translateX(-50%);
  margin-top: 15px; /* テキストとの距離 */
  padding: 8px;
  border-radius: 10px; /* 角の丸み */
  background-color: #666; /* ツールチップの背景色 */
  font-size: 0.7em;
  color: #fff;
  text-align: center;
  visibility: hidden; /* ツールチップを非表示に */
  opacity: 0; /* 不透明度を0％に */
  z-index: 1;
  transition: 0.5s all; /* マウスオーバー時のアニメーション速度 */
}
 
.balloon_bottom::before { /* 吹き出しの「しっぽ」のスタイル */
  content: "";
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-bottom: 12px solid #666; /* 最後の値は「ツールチップの背景色」と合わせる */
  position: absolute;
  bottom: 99%;
  left: 50%;
  transform: translateX(-50%);
}
 
.tooltip_o:hover .balloon_bottom { /* マウスオーバー時のスタイル */
  top: 100%; /* Y軸の位置 */
  visibility: visible; /* ツールチップを表示 */
  opacity: 1; /* 不透明度を100％に */
}

.comment-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px;
  gap: 4px;
}

.comment-box-block{
  display: flex;
  flex-direction: row;
  align-items: top;
  padding: 0px;
  gap: 4px;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #6C9F00;
}

.message-icon-container {
  position: relative;
}

.message-icon {
}

.unread-count {
  position: absolute;
  top: 10px;
  right: 50%;
  transform: translate(50%, -50%);
  background-color:;
  color: white;
  border-radius: 50%;
  padding: 0px 0px;
  font-size: 12px;
  font-weight: bold;
}

.nav-link {
  color: #6C9F00;
  font-size: 16px;
}

#no-image-message {
  display: inline-block;
  color: red;
  margin: 0 5px;
  padding: 0 10px;
}

/* feel_well ボタンの動き　*/

#feel_well{
  display: inline-block;
  cursor: pointer;
  border:0px;
  background: none;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
  outline: none;

  }
  #feel_well.jump
  {
    animation: 0.3s ease-in 0s 1 jump;
  }
  @keyframes jump
  {
    0% { transform: translateY(0px) rotateZ(0deg); }
    30% { transform: translateY(-10px) rotateZ(10deg); }
    /* 35% { transform: translateY(-10px) rotateZ(-10deg); }
    45% { transform: translateY(-10px) rotateZ(10deg); } */
    55% { transform: translateY(-10px) rotateZ(-10deg); }
    /* 65% { transform: translateY(-10px) rotateZ(10deg); }
    70% { transform: translateY(-10px) rotateZ(10deg); } */
    100% { transform: translateY(0px) rotateZ(0deg); }
  }

  /* AIサマリ */
#ai-summary-modal-parent {
  display: none; /* 初期状態は非表示 */
  justify-content: center;
  align-items: center;
  position: fixed; /* absoluteからfixedに変更 */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* 背景を半透明に */
  z-index: 1050; /* 他の要素より前面に */
}

/* モーダルが表示されている時のスタイル */
#ai-summary-modal-parent.show {
  display: flex !important;
}
#ai-summary-modal {
  width: 700px;
  max-width: 90vw; /* レスポンシブ対応 */
  height: 60vh;
  max-height: 90vh; /* 画面の90%を超えない */
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  align-self: center;
  position: relative;
  overflow-y: auto; /* 内容が多い場合のスクロール */
  z-index: 1101;

}
#ai-summary-modal input {
  width: 150px;
  display:inline-block;
}
#ai-summary-modal .summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#ai-summary-modal .summary div {
  width: 90%;
  height:auto;
  padding: 10px;
}

.loading {
  display: flex;
  justify-content: center;
  align-items:center; 
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index: 1000;
}
.loading:not(.no-display-class) span {
  position:fixed;
  top: 250px;
}
.no-display-class {
  display:none;
}
.hide-modal {
  z-index:0 !important;
}
.action_button {
  color: #fff;
  background-color: #6C9F00;
  border: 0px;
  margin:20px 0px 20px 0px;
  padding: 10px 40px 10px 40px;

}

