/* 汎用的なtipsスタイル */
.tips-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #007bff;
}
.tips-link:hover {
    text-decoration: none;
}
.tips-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background-color: #0067d5;
    border-radius: 50%;
    margin-left: 5px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}
.tips-link:hover {
    text-decoration: underline;
}
.tips-link:hover .tips-icon {
    background-color: #0056b3;
}
.tips-popup {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px 20px 10px;
    width: 300px;
    max-width: 90vw;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    font-size: 14px;
    line-height: 1.4;
}
.tips-close {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    color: #000;
    line-height: 1;
}
.tips-content {
    color: #000;
}
.tips-item {
    margin-bottom: 15px;
    color: #000;
}
.tips-item strong{
    margin: 0;
}
.tips-link {
    margin-top: 5px;
}
.tips-link a {
    color: #007bff;
    text-decoration: underline;
}
.tips-link a:hover {
    text-decoration: none;
}
.tips-content-ttl {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.tips-content-txt {
    margin-bottom: 10px;
    font-size: 14px !important;
    line-height: 1.5 !important;
}
.tips-content-subttl{
  margin-bottom: 10px;
  padding: 10px;
  background-color: #eee;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-align: center;
}
.tips-gallery {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.tips-gallery figure {
  width: 48%;
}
.tips-gallery figure img {
  max-width: 100%;
}
.tips-gallery figure figcaption {
  font-size: 14px;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
}

/* マスクタイプ専用のスタイル（後方互換性のため残す） */
.mask-type-item {
    margin-bottom: 15px;
    color: #000;
}
.mask-type-item strong{
    margin: 0;
}
.mask-highlight {
    font-weight: bold;
}

@media (max-width: 768px) {
    .tips-popup {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        max-width: auto;
    }
}
