/*各コンポーネント*/
.fv {
  background: linear-gradient(135deg, var(--color-main), var(--color-accent));
  color: #fff;
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.button {
  display: inline-block;
  background: var(--color-main);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
}
.button:hover {
  opacity: 0.8;
}

.col-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.col-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* SP */
@media (max-width: 768px) {
  .col-2,
  .col-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }

  .section {
    padding: var(--space-lg) 0;
  }
}


.move {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.move__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease;
}

.move__inner {
    background-color: #ffffff87;
    padding: 50px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.move__inner p {
    margin: 0.5em 0;
    opacity: 0;
    transform: translateY(20px);
}

/* アニメーションON */
.move.col-2 .move__inner p,
.move.col-3 .move__inner p {
    animation: fadeUp 0.8s ease forwards;
}

.move.col-2 p:nth-child(1) { animation-delay: 0.2s; }
.move.col-2 p:nth-child(2) { animation-delay: 0.4s; }

.move.col-3 p:nth-child(1) { animation-delay: 0.2s; }
.move.col-3 p:nth-child(2) { animation-delay: 0.4s; }
.move.col-3 p:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* テーブル横スクロール */

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #ccc;
}

#csvTable {
    border-collapse: collapse;
    min-width: max-content;
    width: max-content;
}

/* marmaid */
.mermaid{
    margin:auto;
    text-align:center;
}


/* コメントブロック */
.com {
  background-color:#ffffff00;
  margin-top: 4px;
  padding-top: 4px;
  padding-bottom:0px;
  margin-bottom:0px;
  border: none;
  font-size: 12px;
}

/* 開閉ボタン */
.com_btn {
  list-style: none;
  cursor: pointer;
  display: inline-block;
  color: #bbb;
  font-size: 14px;
  user-select: none;
}

/* 標準マーカー非表示 */
.com_btn::-webkit-details-marker {
  display: none;
}

/* アイコンだけ表示 */
.com_btn::before {
  content: "💬";
  font-size: 20px;
  opacity: .4;
  transition: .2s;
}

/* hover */
.com_btn:hover::before {
  opacity: .9;
}

/* textarea */
.com_area {
  width: 100%;
  min-height: 80px;
  margin-top: 6px;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
  resize: vertical;
  font-size: 18px;
  line-height: 1.5;
}

/* 保存ボタン */
.com_save {
  margin-top: 6px;
  padding: 4px 10px;
  font-size: 11px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.com_save:hover {
  background: #f5f5f5;
}