@charset "UTF-8";
.section-subtitle {
  font-weight: bold; }
  .section-subtitle.section-subtitle-margin-top {
    margin-top: 1.5em; }

.divider {
  border: none;
  border-top: 2px solid #555;
  margin: 1em 0; }

#result-container {
  display: grid;
  grid-template-columns: repeat(3, 32%);
  justify-content: space-between;
  grid-template-rows: auto auto auto;
  gap: 1.25em;
  max-width: 1080px;
  margin: auto;
  background: url("../img/bg.png") center center;
  background-size: 0;
  font-size: min(1.14vw, 13px);
  color: #f0f0f0; }

.panel {
  border-radius: 0.625em;
  padding: 1.25em;
  box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.2);
  background: #2a2a2a; }
  .panel-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.833em;
    border-bottom: 2px solid #555;
    padding-bottom: 0.26em; }

.frame-panel {
  grid-column: 1;
  grid-row: 1; }

.owas-panel {
  grid-column: 2;
  grid-row: 1; }

.moment-panel {
  grid-column: 3;
  grid-row: 1; }

.skeleton-panel {
  grid-column: 1;
  grid-row: 2; }

.points-panel {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column; }

.angle-panel {
  grid-column: 3;
  grid-row: 2; }

/* 対象フレーム */
.frame-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625em; }
  .frame-content img {
    max-width: 100%;
    max-height: 24em;
    object-fit: contain;
    border-radius: 0.3125em; }
  .frame-content .frame-info p {
    margin: 0.347em 0;
    font-size: 0.9em;
    text-align: center; }

/* OWAS評価 */
.owas-ac {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 0.625em;
  gap: 1rem; }

.ac-item {
  text-align: center;
  flex: 1 1 0;
  max-width: 33%; 
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; }

.ac-circle-wrapper {
  position: relative;
  width: 5em;
  height: 5em;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin-top: 0.3em; }
  .ac-circle-wrapper .ac-circle-value {
    font-size: 1.5em;
    font-weight: bold;
    position: relative;
    z-index: 1;
    color: #f0f0f0; }
  .ac-circle-wrapper .ac-circle-inner {
    position: absolute;
    width: 3.75em;
    height: 3.75em;
    border-radius: 50%;
    background-color: #2a2a2a;
    z-index: 0; }

.ac-comment,
.posture-comment {
  font-size: 0.8em;
  margin-top: 0.5em; }

.ac-comment {
  white-space: nowrap;
  padding: 0 0.5em; }

/* 姿勢コード */
.posture-code {
  display: flex;
  gap: 0.625em;
  width: 100%; }

.posture-item {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 0.625em;
  box-sizing: border-box;
  margin-top: 0.625em;
  display: flex;
  flex-direction: column;
  align-items: center; }
  .posture-item img {
    max-width: 100%;
    height: auto;
    background-color: #333;
    border-radius: 0.3125em; }

/* インジケーター */
.indicator-container {
  display: flex;
  justify-content: center;
  margin-bottom: 0.625em;
  gap: 0.3125em;
  width: 100%; }

.indicator-bar {
  height: 0.3125em;
  background-color: #444;
  border-radius: 0.125em;
  flex-grow: 1; }
  .indicator-bar.lit {
    background-color: #f0f0f0; }

/* 骨格グラフ */
.skeleton-header {
  display: flex;
  justify-content: space-around;
  margin-top: 0.5em; }

.skeleton-body {
  display: flex;
  justify-content: center;
  gap: 1em; }

.skeleton-graph {
  height: 15em;
  flex-grow: 1;
  background-color: transparent; }

.skeleton-graph svg {
  background-color: #333; }

/* 改善すべきポイント */
.improvement-point-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25em;
  flex-grow: 1; }

.improvement-point-image {
  position: relative;
  width: 10em; }

.improvement-point-image svg {
  position: absolute;
  top: 0;
  left: 0; }

.improvement-point-text {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(calc(100% + 1em), -50%);
  font-weight: bold; }

/* モーメント評価・関節角度 */
.evaluation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.694em;
  font-size: 0.9em; }

.evaluation-item {
  display: flex;
  justify-content: space-between;
  padding: 0.347em; }
  .evaluation-item span:first-child.part-neck {
    color: #81D4FA; }
  .evaluation-item span:first-child.part-torso {
    color: #FFD54F; }
  .evaluation-item span:first-child.part-left {
    color: #A5D6A7; }
  .evaluation-item span:first-child.part-right {
    color: #CE93D8; }

.site-footer {
  text-align: center;
  padding: 1em 0;
  color: #888;
  font-size: 0.75em; }
  .site-footer p {
    margin: 0; }

@media print {
  @page {
    size: landscape;
    page-orientation: landscape;
    margin: 0; }
  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact; }

  #vpHeader,
  #header,
  #globalFooter,
  .sec {
    display: none; }

  *,
  #wrap,
  #main,
  .panel,
  .skeleton-graph {
    background-color: transparent; }

  #wrap {
    padding-top: 0 !important; }

  #result-container {
    grid-template-columns: repeat(3, 33.333%);
    gap: 0;
    background-size: 15%;
    color: #000; }

  .panel {
    box-shadow: none; }

  .evaluation-grid {
    gap: 0; }
    .evaluation-grid .evaluation-item {
      justify-content: flex-start; }
      .evaluation-grid .evaluation-item span {
        color: inherit !important; }
        .evaluation-grid .evaluation-item span:first-of-type {
          margin-right: 0.5em;
          font-weight: bold; }

  .frame-content img {
    height: auto;
    max-height: 42vh; }

  .indicator-bar {
    background: #DDD; }
    .indicator-bar.lit {
      background: #F44336; }

  .improvement-point-image {
    width: 8em; } 
  
  .improvement-point-text li {
    font-size: 7pt;
    line-height: 1.2;
    padding: 1px 0; } }
