/* @import "auth.css"; */
@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
/* 基本スタイル */
/* @layer base {
  body {
    @apply text-slate-800;
  }
} */

/* コンポーネントスタイル */
/* @layer components {
  .card {
    @apply bg-base-100 rounded-2xl shadow-md p-6;
  }
  .btn-primary {
    @apply inline-flex items-center justify-center rounded-full px-4 py-2 text-sm font-semibold bg-sky-500 text-white hover:bg-sky-600 transition;
  }
} */
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
 /* フォントを Google Fonts から読み込む
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap'); */

body {
  font-family: 'Noto Sans JP', sans-serif;
}

.font-title {
  font-family: 'Libre Baskerville', serif;
}

  [popover]:not(:popover-open) {
    display: none;
  }

  /* ローディング画面全体 */
.ai-loading {
    display: none; /*  最初は非表示 */
    position: fixed;
    inset: 0;  /* 上下左右すべて 0 にして画面いっぱいに広げる */
    z-index: 1000; /* 他の要素より手前に表示する。*/
    background: rgba(255, 255, 255, 0.85);
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

/* 添削ボタンを押すと、JSでis-activeが追加される*/  
.ai-loading.is-active {
   display: flex;
}

.ai-loading-text {
  margin-top: 32px;
  font-weight: 600;
  color: #3ea05c;
}

.spinner {
  margin: 100px auto 0;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
