/* ========== 安定補助 ========== */
header {
  position: relative;
  z-index: 10;
}

.noteRight-list {
  position: relative;
  z-index: 1;
}

.right-column {
  overflow: hidden;
}


/* ========== NOTEタイトル回転 ========== */
.note-title-rotate {
  display: inline-block;
  animation: titleSpin 6s linear infinite;
  transform-origin: center center;
}

@keyframes titleSpin {
  0%   { transform: rotateY(0deg); }
  50%  { transform: rotateY(180deg); }
  100% { transform: rotateY(360deg); }
}


/* ========== NOTE右カラム・詳細展開ブロック ========== */
.rightnote-block {
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fafafa;
  margin-bottom: 12px;
  padding: 6px 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  transition: background-color 0.3s ease;
}

.rightnote-block[open] {
  background-color: #f0f0f0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.rightnote-block summary {
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: #333;
  padding: 10px 14px;
  background-color: #eaeaea;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rightnote-block .arrow-icon {
  display: inline-block;
  margin-right: 6px;
  width: 10px;
  height: 10px;
  border: solid #666;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


/* ========== NOTE右カラム：階層リスト型 ========== */
.note-summary ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.note-summary ul > li {
  font-weight: bold;
  margin-bottom: 8px;
}

.note-summary ul > li ul {
  padding-left: 1.5em;
  margin-top: 4px;
}

.note-summary ul > li ul li {
  font-weight: normal;
  color: #333;
  margin-bottom: 4px;
  list-style-type: disc;
}

/* リンク補足 */
.note-summary a {
  color: #0066cc;
  text-decoration: none;
}

.note-summary a:hover {
  color: #004499;
}
.rightnote-sub {
  border: none;
  padding-left: 1em;
  margin-bottom: 6px;
}

.rightnote-sub summary {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  padding: 6px 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rightnote-sub ul {
  padding-left: 1.2em;
}
.note-button-container {
  margin-top: 20px;
  text-align: center;
}

.note-button {
  display: inline-block;
  background-color: #ff5c5c;
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.note-button:hover {
  background-color: #e04848;
}
.note-button-area {
  margin: 20px 0;
  text-align: center;
}


