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


 */

/* ---------------------------------
一般
---------------------------------- */
.container {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media print {
  .no_print {
    display: none;
  }

  /* 印刷時にchromeがデフォルトで入れるヘッダーの日付とフッターのurlを非表示にする */
  /* 上下のmarginを0にすればok、左右は適当な値に調整可能 */
  @page {
    margin: 0 20px;
  }
}

/* ---------------------------------
  見出し
  ---------------------------------- */
h1 {
  font-size: 1.5rem;
  color: #0175d8;
  font-weight: bold;
}
h1 a:hover {
  text-decoration: none;
}

h2 {
  position: relative;
  padding: 0.25em 0 0.5em 0.75em;
  border-left: 6px solid #00d2b2;
}
h2::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  width: 100%;
  height: 0;
  border-bottom: 1px solid #ccc;
}
h2 {
  font-size: 1rem;
  margin: 20px 0 10px;
}

h3 {
  padding: 0.5em 0.75em;
  background-color: #f6f6f6;
  border-left: 6px solid #ccc;
}
h3 {
  font-size: 1rem;
  margin: 20px 0 10px;
}

h4 {
  padding: 0.75em 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
h4 {
  font-size: 1rem;
  margin: 20px 0 10px;
}
