/* write your custom styles here */

body {
  font-family:arial, verdana, helvetica, sans-serif;
  font-size: 0.9rem;
}

.znav-container {
  background-color: #efefef;
}

.background-11 {
  background-color: #EF3F28 !important;
}

.background-9 {
  background-color: #f7f7f7 !important;
}

.background-10 {
  background-color: #232323 !important;
}

.background-black {
  background-color: #191919 !important;
}

h1, .h1 {
  font-size: 0.75019rem !important;
  font-family:arial, verdana, helvetica, sans-serif;
  font-weight: normal;
  font-style: normal;
}


:root {
	--bs-warning-rgb: 255,149,0;
}


.btn-warning {
	--bs-btn-bg : #ff9500;
	--bs-btn-border-color: #ff9500;
	--bs-btn-hover-border-color: #ff9500;
	--bs-btn-active-border-color: #ff9500;

	--bs-btn-hover-bg: #e68600;
	--bs-btn-active-bg: #e68600;
	--bs-btn-disabled-bg: #e68600;
	--bs-btn-disabled-border-color: #e68600;
}

.fs--1 {
  font-size: 0.75019rem !important;
}

#alink {
	color:#ffffff;
	text-decoration: none;
	border-bottom: 1px #ffffff dotted;
}

.hand{
        cursor: pointer;
        cursor: hand;
}

.color-8 {
  color: #bebebe !important;
}

.background-8 {
  background-color: #bebebe !important;
}

.border-color-8 {
  border-color: #bebebe !important;
}

.tooltip {
  opacity: 1 !important;
}

.tooltip-inner {
    opacity: 1 !important;
}

.tooltip.show {
  opacity: 1;
}


.modal-contents {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%; // Ensure `.modal-content` extends the full width of the parent `.modal-dialog`
  // counteract the pointer-events: none; in the .modal-dialog
  color: var(--#{$prefix}modal-color);
  pointer-events: auto;
  background-color: unset;
  background-clip: padding-box;
  border: var(--#{$prefix}modal-border-width) solid var(--#{$prefix}modal-border-color);
  @include border-radius(var(--#{$prefix}modal-border-radius));
  @include box-shadow(var(--#{$prefix}modal-box-shadow));
  // Remove focus outline from opened modal
  outline: 0;
}


.loadkumatch {
 width: 24px;
 height: 24px;
 display: inline;
}

.loadkumatch40 {
 width: 40px;
 height: 40px;
 display: inline;
}

.loadkumatch1 {
  animation: r1 1s linear infinite;
}

@keyframes r1 {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cookie-consent {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: -100px;
	left: calc(50% - 650px/2);
	width: 650px;
	font-size: 12px;
	background: #fff;
	padding: 1.2em;
	box-sizing: border-box;
	border: 1px solid #ddd;
	visibility: visible;
	transition: .5s;
}
.cookie-consent.is-show {
	top: 10px;
	z-index: 10000;
}
.cookie-text {
	width: 65%;
}
.cookie-agree {
	color: #fff;
	background: dodgerblue;
	padding: .5em 1.5em;
}
.cookie-agree:hover {
	cursor: pointer;
}
.cc-hide1 {
	display: none;
}
.cc-hide2 {
	animation: hide 1s linear 0s;
	animation-fill-mode: forwards;
}
@keyframes hide {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		visibility: hidden;
	}
}
@media screen and (max-width: 550px) {
	.cookie-consent {
		flex-direction: column;
		width: 350px;
		left: calc(50% - 350px/2)
	}
	.cookie-text {
		width: 100%;
		margin-bottom: 1em;
	}
}


.striped_pattern{
	font-color:#eeeeee;
	background-size: auto auto;
	background-color: rgba(255, 255, 255, 1);
	background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, rgba(253, 253, 253, 0.9099999999999999) 5px, rgba(253, 253, 253, 0.9099999999999999) 10px ),repeating-linear-gradient(45deg, transparent, transparent 6px, rgba(254, 254, 254, 1) 6px, rgba(254, 254, 254, 1) 11px );
}

.placeholder-line {
  height: 15px;
  border-radius: 8px;
  background: linear-gradient(to right, #eee 8%, #ddd 18%, #eee 33%);
  background-size: 600px 10px;

  /* 以下がアニメーションの設定 */
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-name: LoadAnimation;
  animation-timing-function: linear;
}

@keyframes LoadAnimation {
  0% {
    background-position: -360px 0;
  }

  100% {
    background-position: 360px 0;
  }
}

.canvas-parent {
    width: 80%;
    height: 30px;
}

:root {
	--jp: none;
	--en: none;
	--fire:none;
	--asp:none;
}
.en{
  display    : var(--en);
}
.jp{
 display    : var(--jp);
}
.fire{
  display    : var(--fire);
}
.asp{
 display    : var(--asp);
}
.coin_bounce {
  animation: bounce .6s ease 1 alternate;
}

.coin_fall {
  animation: fall .6s ease 1 alternate;
}

@keyframes key1{
  0% {transform: translateY(0px);}
  100% {transform: translateY(-10px);}
}

@keyframes bounce {
    0%   { transform: scale(1.0, 1.0) translate(0%, 0%); } /* 初期状態 */
    30%  { transform: scale(1.5, 0.5) translate(0%, 0%); } /* 地面に着地し、その変動で潰れだす */
    40%  { transform: scale(1.0, 1.0) translate(0%, 0%); } /* 潰れた反動で一瞬元に戻る */
    50%  { transform: scale(0.8, 1.3) translate(0%, -70%); } /* 潰れた反動で縦に伸び、その勢いでバウンド開始 */
    60%  { transform: scale(1.0, 1.0) translate(0%, -60%); } /* 潰れた反動が終り、空中で元に戻る */
    100% { transform: scale(1.0, 1.0) translate(0%, 0%); } /* 初期状態に戻る */
}

@keyframes sway {
  from {
    transform: translateX(0px) rotate(0deg);
  }
  to {
    transform: translateX(10px) rotate(-45deg);
  }
}

@keyframes fall {
  0%   {transform: scale(1.0, 1.0);}
  100% {transform: scale(0, 0);}

}

.breakdown_card{
	position: relative;
	width: 100%;
	height: 100px;
}

.breakdown_card div{
  position: absolute;
  top: 0;
  left: 0;
  transition: .7s;
  backface-visibility: hidden;
}

.breakdown_card img{
  width: 100%;
}

.breakdown_card .ura{
  transform: rotateY(-180deg);
}

.img_hide{
  opacity: 0;
  visibility: hidden;
  transition: 1s;
}

.crossword::placeholder {
  color: #cccccc;
}

.blink_box {
  animation-name: flashing;
  animation-duration: 1.5s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
}

@keyframes flashing {
  0% {
    background-color: #999999 ;
  }

  50% {
    background-color: #EF3F28;
  }
  
  100% {
    background-color: #999999;
  }
}

.buruburu {
    display: inline-block;
    animation: hurueru .1s  infinite;
}

@keyframes hurueru {
    0% {transform: translate(0px, 0px) rotateZ(0deg)}
    25% {transform: translate(1px, 1px) rotateZ(1deg)}
    50% {transform: translate(0px, 1px) rotateZ(0deg)}
    75% {transform: translate(1px, 0px) rotateZ(-1deg)}
    100% {transform: translate(0px, 0px) rotateZ(0deg)}
}

.dropdown-menu li {
  position: relative;
}
    
.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  right: 100%;
  top: -7px;
}
    
.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}
    
.dropdown-menu>li:hover>.dropdown-submenu {
   display: block;
}

.arrow{
    position: relative;
    display: inline-block;
}
.arrow::after{
    content: '';
    width: 8px;
    height: 8px;
    margin-top: -5px;
    border-top: solid 1px #555;  /* 好みで色を変えてください */ 
    border-right: solid 1px #555;   /* 好みで色を変えてください */  
    transform: rotate(225deg);
    position: absolute;
    top: 50%;
    left: -5px;
}

.square_btn {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 16px;
  border: 1px solid var(--bs-border-color); /* 枠の調整 */
  background: #fff; /* ボタンの背景色 */
}

.square_btn::before, .square_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px; /* 棒の幅（太さ） */
  height: 13px; /* 棒の高さ */
  background: var(--bs-border-color); /* バツ印の色 */
}

.square_btn::before {
  transform: translate(-50%,-50%) rotate(45deg);
}

.square_btn::after {
  transform: translate(-50%,-50%) rotate(-45deg);
}

.img-hover img {
    -webkit-transition: all .3s ease; /* Safari and Chrome */
  	-moz-transition: all .3s ease; /* Firefox */
  	-o-transition: all .3s ease; /* IE 9 */
  	-ms-transition: all .3s ease; /* Opera */
  	transition: all .3s ease;
       overflow:hidden;
  	position:relative;
}
.img-hover img:hover {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform:translateZ(0) scale(1.10); /* Safari and Chrome */
    -moz-transform:scale(1.10); /* Firefox */
    -ms-transform:scale(1.10); /* IE 9 */
    -o-transform:translatZ(0) scale(1.20); /* Opera */
    transform:translatZ(0) scale(1.20);
    overflow:hidden;
}



/* 進行状況 */

.stepper-container {
	padding: 40px 16px 20px;
}

.stepper {
	display: flex;
	justify-content: space-between;
	position: relative;
	gap: 10px;
}

.stepper-line {
	position: absolute;
	top: 15px;
	left: 12%;
	right: 12%;
	height: 4px;
	background-color: #e0e0e0;
	transform: translateY(-50%);
	z-index: 0;
}


.step {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	position: relative;
	z-index: 1;
	min-width: 0;
}

.circle {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background-color: #fff;
	border: 3px solid #ccc;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: #ccc;
}

.step.completed .circle {
	background-color: #28a745;
	color: white;
	border-color: #28a745;
}

.step.active .circle {
	border-color: #28a745;
	color: #28a745;
}

.step-label {
	margin-top: 1px;
	font-size: 14px;
	color: #666;
	text-align: center;
}

.step.completed .step-label,
	.step.active .step-label {
	color: #28a745;
	font-weight: bold;
}

/* PCタブレットのときだけ .modal-dialog-centered */

@media (min-width: 576px) {
  .modal-dialog.centered-on-pc-tablet {
	display: flex;
	align-items: center;
	min-height: calc(100% - 1rem);
  }
}

.custom-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1059; /* モーダル2より1つ下 */
}

.chat-container {
  border-radius: 10px;
  background-color: white;
  min-height: 300px;
  max-height: 600px;
  display: flex;
  flex-direction: column;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  background-color: #78b4d8;
  display: flex;
  line-height: 1.4;
  padding: 8px 12px;
  flex-direction: column;
  word-break: break-word;       /* 長い単語の途中でも改行 */
  overflow-wrap: break-word;    /* 単語全体を折り返す */
  white-space: normal;          /* テキストを折り返し可能に */
}

.chat-row {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}

.chat-row.other { flex-direction: row; }
.chat-row.me { flex-direction: row-reverse; }

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 5px;
}

.chat-bubble {
  max-width: 70%;
  border-radius: 20px;
  padding: 10px 15px;
  position: relative;
  background-color: white;
}

.chat-row.me .chat-bubble {
  background-color: #dcf8c6;
}

.chat-name {
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 2px;
}

.chat-timestamp {
  font-size: 0.7rem;
  color: #666;
  text-align: right;
  margin-top: 4px;
}

.chat-image {
  max-width: 100%;
  border-radius: 15px;
}

.chat-date-separator {
  text-align: center;
  margin: 10px 0;
  color: #666;
  font-size: 0.9rem;
}

#chat-endMessage {
  font-size: 0.85rem;
  color: #888;
}

.chat-input {
  padding: 10px;
  border-top: 1px solid #ccc;
}

.chat-input input {
  width: 95%;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
}

.chat-input button {
  width: auto;
}

.file-input {
  display: none;
}

.image-button {
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-right: 8px;
}
.icon-button svg:hover {
  fill: #0056b3;
}

.chat-icon-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
}

.chat-icon-wrapper svg {
  position: absolute;
  top: 0;
  left: 0;
}

.chat-icon-wrapper .chat-clip-icon {
  width: 18px;
  height: 18px;
  bottom: -4px;
  right: -4px;
  position: absolute;
}

.chat-user-icon {
  width: 40px;             /* アイコンの幅 */
  height: 40px;            /* アイコンの高さ */
  background-color: #4285F4; /* Googleっぽい青色 */
  color: white;            /* 文字色 */
  border-radius: 50%;      /* 丸くする */
  display: flex;           /* 中央揃え用 */
  align-items: center;     /* 縦方向中央揃え */
  justify-content: center; /* 横方向中央揃え */
  font-size: 18px;         /* 文字サイズ */
  font-family: sans-serif; /* フォント */
  text-transform: uppercase; /* 小文字でも大文字に */
  user-select: none;       /* テキスト選択不可に */
  margin: 0 5px;
}

