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

body {
  @apply font-sans;
};
 /* フォント系 */
 body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans", Meiryo, sans-serif;
  font-size: 0.75rem; /* 12px */
}

/* ==============================
個人情報テーブル
============================== */
.personal-info-table {
  width: 100%;
  margin-bottom: 1rem;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 0.875rem; /* 14px */
  border: 1px solid #ccc;
  text-align: center;
}

.personal-info-table th,
.personal-info-table td {
  width: 25%;
  padding: 0.375rem 0.625rem; /* 6px 10px */
  text-align: center;
  vertical-align: top;
  font-size: 0.875rem; /* 14px */
  border: 1px solid #ccc;
}

.personal-info-table th {
  background-color: #f5f5f5;
}

/* ==============================
追加情報テーブル,ヒューマンスキルテーブル
============================== */
.additional-info-table,
.human-skills-table {
  width: 100%;
  margin-bottom: 1rem;
  table-layout: fixed;
  border-collapse: collapse;
  border: 1px solid #ccc;
}

.additional-info-table th,
.human-skills-table th{
  width: 25%; 
  white-space: nowrap;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
}

.additional-info-table td,
.human-skills-table td {
  width: 75%;
  padding: 0.375rem 0.625rem; /* 6px 10px */
  text-align: left;
  vertical-align: top;
  border: 1px solid #ccc;
}

.small-text {
  font-size: 0.8rem;
  line-height: 1.2;
}
  
/* ==============================
資格テーブル
============================== */
.qualification-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.875rem; /* 14px */
  border: 1px solid #ccc;
  margin-bottom: 1rem;
}

.qualification-table th,
.qualification-table td {
  border: 1px solid #ccc;
  text-align: center;
  font-size: 0.875rem; /* 14px */
  border: 1px solid #ccc;
}

.qualification-table th {
  background-color: #f5f5f5;
}

.narrow-th {
  width: 25%;
  white-space: nowrap;
}

.bold {
  font-weight: bold;
}

.name {
  font-size: 1.5rem; /* 24px */
  font-weight: bold;
}

.my-section {
  padding: 0.625rem; /* 10px */
  margin: 1rem 0;
  font-size: 1.25rem; /* 20px */
  font-weight: bold;
  display: block;
  border-bottom: 2px solid #000;
}

.border-bottom {
  display: block;
  border-bottom: 1px dotted #000;
}

.level-description {
  display: block;
}

.skill-title {
  font-size: 1rem;
  font-weight: bold;
}

.project {
  padding: 0.625rem; /* 10px */
  border: 1px solid #aaa;
}

.project-title {
  font-weight: bold;
  font-size: 1.125rem; /* 18px */
  color: #333;
  display: flex;
  align-items: center;
}

.project-meta {
  font-size: 0.875rem; /* 14px */
  line-height: 1.5;
  flex: 1;
}

.process-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem; /* 12px */
}

.process-label {
  font-size: 1rem; /* 大項目のフォントサイズ */
  font-weight: bold;
  color: #333;
}

.process-id {
  font-size: 0.875rem;
  font-weight: bold;
}

.process-content {
  position: relative;
  font-size: 0.75rem;
  padding-left: 3em;
  color: #555;
}

.process-content::before {
  content: '┗';
  position: absolute;
  left: 0;
  margin-left: 2em;
  color: #aaa;
}

.meta-and-process {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem; /* 20px */
  align-items: flex-start;
}

.process-table {
  font-size: 0.75rem; /* 12px */
  flex: 1;
}

.process-table th,
.process-table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 5rem; /* 80px */
  text-align: center;
  padding: 0.125rem; /* 2px */
  border: 1px solid #ccc;
}

.operation-p,
.skill-p {
  margin: 0;
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-block {
  background-color: #f9f9f9;
  font-size: 0.8rem;
  box-sizing: border-box;
  width: calc((100% - 1rem) / 3);
  min-height: 3rem;
}

.skill-block.empty {
  background-color: transparent;
  border: none;
}

.skill-name {
  font-size: 0.8rem;
  font-weight: bold;
  color: #333;
  border-left: 0.25rem solid #000;
  padding-left: 0.5rem;
}

.skill-item {
  margin-left: 1.5rem;
  font-size: 0.7rem;
  color: #555;
  position: relative;
}

.skill-item::before {
  content: '┗';
  position: absolute;
  left: 0;
  margin-left: -1.2em;
  color: #aaa;
}

.operation-bottom,
.skill-bottom {
  margin-bottom: 0.5rem;
}

.duration {
  font-size: 0.7rem;
  color: #666;
}

.page-break{
  page-break-inside: avoid;
  overflow: hidden;
}
/*
 * 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.
 *


 */

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