@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600;700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

/*

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

*/
/*
 * 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.
 *



 */

/**
 "relative inline-flex items-center border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20"
 */

body.prod {
  background-color: #ffffff;
}

body.stg {
  background-color: #effdf0;
}

body.dev {
  background-color: #f0ffff;
}

body.default {
  background-color: #ffffff;
}

.pagy-nav {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.pagy-nav .page {
  font-size: 0.875rem; /* 14px */
  line-height: 1.25rem; /* 20px */
  font-weight: 500;
}

.pagy-nav .page.next a {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}

.pagy-nav .page.prev a {
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}

.pagy-nav .page a {
  padding: 8px 16px;
  display: inline-block;
  color: #6b7280;
  background-color: white;
}

.pagy-nav .page a:hover {
  background-color: #f9fafb;
}

.pagy-nav .page.disabled {
  padding: 8px 16px;
  display: inline-block;
  background-color: white;
  color: #b2b2b6;
  pointer-events: none;
  user-select: none;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
}

.pagy-nav .page.active {
  padding: 8px 16px;
  height: min-content;
  display: inline-block;
  background-color: #e2f3ff;
  color: #005da3;
  pointer-events: none;
  user-select: none;
  border-radius: 0.375rem;
  font-weight: bold;
}

.sort-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
}

.header .up-icon {
  /*noinspection CssUnknownTarget*/
  background-image: url(/assets/ri_arrow-up-s-line.svg);
}

.header.desc .up-icon {
  /*noinspection CssUnknownTarget*/
  background-image: url(/assets/ri_arrow-down-s-line.svg);
}

.header .down-icon {
  /*noinspection CssUnknownTarget*/
  background-image: url(/assets/ri_arrow-down-s-line.svg);
}

.header.asc .down-icon {
  /*noinspection CssUnknownTarget*/
  background-image: url(/assets/ri_arrow-up-s-line.svg);
}
.require {
  border-radius: 50px;
  background: #ffde75;
  .text-require {
    color: #a77f00;
  }
}

.github-fork-ribbon-wrapper {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.5;
}

/* ツールチップ */
.tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
  overflow: visible;
}
.tooltip::after {
  content: attr(aria-label);
  position: absolute;
  top: calc(100% - 3rem);
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 1rem;
  background: #7ea1bc;
  color: #fff;
  font-size: 0.75rem;
  border-radius: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 9999;
  white-space: nowrap;
}
.tooltip-show::after {
  opacity: 1;
  top: calc(100% - 4rem);
}

input.appearance-none::-webkit-outer-spin-button,
input.appearance-none::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.checkboxes {
  input[type="checkbox"] {
    border: 1px solid #d1d5db;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: bottom;
    width: 20px;
    height: 20px;
  }
  label + input[type="checkbox"] {
    margin-left: 14px;
  }
  label {
    color: #6b7280;
    font-size: 14px;
  }
}

/* ck-editor */
.text-tiny {
  font-size: 0.7rem;
}

.text-small {
  font-size: 0.875rem;
}

.text-big {
  font-size: 1.125rem;
}

.text-huge {
  font-size: 1.25rem;
}

/* ck-editor5 */
.ck-editor__editable {
  height: 13rem;
}
/*
 * CSS File of Material icons.
 * CSS code based on:
 * https://github.com/google/material-design-icons
 */




/* Use the font */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: local('Material Icons'),
       local('MaterialIcons-Regular'),
       url(/assets/material-icons-regular-d7f083631d2357fe2c2c75d353cb1d6deaceb0249e07d00a59f9cdffbbccf35a.woff2) format('woff2'),
       url(/assets/material-icons-regular-a9f2f380dd4aab1414f47620e68d9bf7d45cece149be7fec8a94e532e1660cb1.woff) format('woff');
}

/* Base class */
.material-icons,
.mi {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -moz-font-feature-settings: 'liga';
  -moz-osx-font-smoothing: grayscale;
}
