/* ================================
   簡易膜厚計 専用スタイル
   path: /dipcoating/thickness-calculator/style-thickness.css
   ================================ */
.page-head p{
    margin:1.5em;
  max-width: 760px;
  margin:0 auto;
  line-height:1.5;
  padding-bottom:0.5em;
}
.thick-container {
  max-width: 760px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px 20px;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: #333;
  line-height: 1.6;
  margin:0 auto;
}
.thick-container div{
    white-space:nowrap;
}
.thick-container h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #006b38; /* SDIグリーン */
}
/* 入力エリアの案内文 */
.thick-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #555;
  margin: 0 0 8px;
}

.thick-note-square {
  display: inline-block;
  width: 45px;
  height: 20px;
  background-color: #e8f5e9;      /* input/select と同じ色 */
  border: 1px solid #b2dfbd;      /* 少し濃い枠線で見やすく */
  border-radius: 3px;
}

.thick-grid {
  display: grid;
  grid-template-columns: 1fr 130px 80px;
  gap: 8px 12px;
  align-items: center;
}
.thick-grid .unit{
    padding-left:0.5em;
}
.thick-grid input,
.thick-grid select {
  width: 100%;
  padding: 4px 6px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #e8f5e9;
}

.thick-grid output {
  display: block;
  min-width: 70px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.thick-grid hr {
  grid-column: 1 / -1;
  margin: 16px 0;
  border: none;
  border-top: 1px solid #ddd;
}
.notes {
  margin:0 auto;
  margin-top: 24px;
  max-width: 760px;
  }

.thick-desc {
  margin:0 auto;
  margin-top: 24px;
  max-width: 760px;
  }

.thick-desc h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #006b38;
  border-left: 4px solid #00994d;
  padding-left: 8px;
}

.thick-desc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.thick-desc th {
  background: #e8f5e9;
  border-bottom: 2px solid #00994d;
  color: #006b38;
  text-align: left;
  padding: 6px 8px;
    white-space:nowrap;
}

.thick-desc td {
  border-bottom: 1px solid #ddd;
  padding: 6px 8px;
  vertical-align: top;
}

.thick-desc tr:hover td {
  background: #f8fdf9;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .thick-grid {
    grid-template-columns: 1fr 1fr;
  }
  .thick-grid div:nth-child(3n) {
    display: none; /* 単位列を簡略化 */
  }
}
/* 出力専用エリア */
.thick-results {
   width:100%;
  display: grid;
  grid-template-columns: 1fr auto auto;  /* 項目 / 値 / 単位 */
  column-gap: 12px;
  row-gap: 8px;
  margin-top: 12px;
  text-align: right;
}

/* 数値を右寄せ・等幅風に */
.thick-results output {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 単位の調整 */
.thick-results > div:nth-child(3n) {
  white-space: nowrap;
}

/* スマホ対応 */
@media (max-width: 640px) {
  .thick-results {
    grid-template-columns: 1fr auto auto; 
  }

  .thick-results > div:nth-child(3n) {
    justify-self: end;
    font-size: 0.85rem;
    margin-top: -2px;
  }
}







