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

body {
  @apply font-sans;
};
/* フォント系 */
body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
}

/* ==============================
個人情報テーブル
============================== */
.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;
}

.page-break {
  page-break-inside: avoid;
  overflow: hidden;
}

/* ==============================
プロジェクト詳細
============================== */
.level-description {
  display: block;
}

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

.project-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid #000;
}

.project-table th,
.project-table td {
  border: 1px solid #ccc;
  padding: 2px 3px;
  vertical-align: middle;
  word-break: break-word;
  line-height: 1.3;
}

/* === 共通修飾 === */
.project-table-bg { background-color: #f5f5f5; }
.project-table-center { text-align: center; }
.project-table-top { vertical-align: top !important; }

/* === 段落設定 === */
.project-table p { margin: 2px 0; }

.project-table-space-y {
  margin-top: 4px;
}

.project-table-mt {
  margin-top: 8px;
}

.project-table ul {
  margin-top: 0;
  padding-left: 2em;
}

.skill-group-block {
  margin-bottom: 0.8em;
}

.skill-title {
  display: inline-block;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}

.operation-content {
  display: inline-block;
  padding-left: 1em;
}

/* ==============================
スキル
============================== */
table.skill-table-wide {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  font-size: 12px;
  margin-bottom: 16px;
}

table.skill-table-wide th,
table.skill-table-wide td {
  border: 1px solid #ccc;
  padding: 4px 6px;
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
}

table.skill-table-wide th[colspan="9"] {
  background-color: #f5f5f5;
  font-weight: bold;
  text-align: left;
  padding-left: 6px;
}

/* ===== 列幅固定 & 枠線調整 ===== */
table.skill-table-wide td.level-cell { 
  width: 2%;
  white-space: nowrap;
  border-right: 1px dotted #999 !important;
}

table.skill-table-wide td.skill-cell { 
  width: 24%;
  border-left: 1px dotted #999 !important;
  border-right: 1px dotted #999 !important;
}

table.skill-table-wide td.exp-cell { 
  width: 7%;
  white-space: nowrap;
  border-left: 1px dotted #999 !important;
}

.sub-skill,
.skill-cell.sub-skill {
  font-size: 11px;
}
/*
 * 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;
}
