/*
Theme Name: kyun stock
Template: twentytwentyfive
Version: 1.0
*/

:root {
    --accent-color: #F3B9B1;
}

.h1-01{
    position: relative;
    padding: 11px;
    border-top-left-radius: 20px;
    border: 2px dashed;
    box-shadow: 0 0 0 5px var(--accent-color);
    background-color: var(--accent-color);
    color: #333;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
}

.h2-01 {
    position: relative;
    padding: 1.5rem 1rem;
    font-size: 18px;
    color: #333;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.h2-01::before,
.h2-01::after {
    position: absolute;
    width: 85%;
    height: 20px;
    content: '';
}

.h2-01::before {
    border-left: solid 3px;
    border-top: solid 3px;
    top: 0;
    left: 0;
}

.h2-01::after {
    border-right: solid 3px;
    border-bottom: solid 3px;
    bottom: 0;
    right: 0;
}

.kyun-word-table table {
  width: 100%;
  border-collapse: collapse;
}

.kyun-word-table th,
.kyun-word-table td {
  border: none;
  border-bottom: 1px solid #D9B9B5;
  padding: 12px 10px;
  text-align: center;
  color: #333;
  background: transparent;
  font-size: 14px;
}

.kyun-word-table th {
  background: #F7D8D3;
  font-weight: 700;
}

.kyun-word-table td:first-child {
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
}

.kyun-word-table thead {
  border-bottom: 1px solid #D9B9B5;
}

.kyun-more summary {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 5px 2px;
  border-bottom: 1px solid #eb8a7d;
  color: #333;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  list-style: none;
}

.kyun-more summary::-webkit-details-marker {
  display: none;
}

.kyun-more summary::before {
  content: "＋";
  color: #eb8a7d;
  margin-right: 5px;
}

.kyun-more[open] summary::before {
  content: "−";
}

.kyun-more summary:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

.kyun-more[open] .kyun-word-table {
  margin-top: 25px;
}

/* 目次 */
.kyun-toc {
    margin: 30px 0 45px;
    background: #F9DEDA;
    padding: 25px 25px 35px;
    border-radius: 8px;
    display: flow-root;
}

.kyun-toc p {
    margin-bottom: 12px;
}

.kyun-toc ol {
    margin: 0;
    padding-left: 30px;
    padding-bottom: 25px;
}

.kyun-toc li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.kyun-toc li:last-child {
    margin-bottom: 0;
}

.kyun-toc a {
    color: #333;
    text-decoration: none;
}

.kyun-toc a:hover {
    color: #eb8a7d;
}


/* kyun stock 内部リンクカード */
.kyun-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0;
  padding: 15px 18px;
  background: #FDF7F7;
  border: 1px solid #eb8a7d;
  border-radius: 10px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.kyun-related-link:hover {
  background: #FBECEC;
}

.kyun-related-link .related-label {
  display: block;
  margin-bottom: 5px;
  color: #eb8a7d;
  font-size: 10px;
  letter-spacing: 1px;
}

.kyun-related-link .related-title {
  display: block;
  color: #333;
  font-size: 13px;
  line-height: 1.6;
}

.kyun-related-link::after {
  content: "›";
  color: #eb8a7d;
  font-size: 24px;
  flex-shrink: 0;
}