/** 共通設定 */
:root {
    --main-color: #FFD96D;
    --sub-color: #FFD96D;
    --hover-color: #FFBF08;
}

.open-body {
    font-family: "Zen Kaku Gothic New", serif;
    font-weight: 700;
    font-size: 16px;
    background-color: #fff;
    color: #333;
}

/** ヘッダー関連 */
header h2 a {
    text-decoration: none;
    color: #333;
}

.open-header h2 a {
    font-weight: 500;
}

header h2 a:hover {
    cursor:pointer;
    color: #333;
}

.open-header {
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.member-header {
    font-family: "Zen Kaku Gothic New", serif;
    font-size: 16px;
    /*display: flex;*/
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.member-header h2 {
    font-size: 20px;
}

.member-header div nav ul {
    display :flex;
    gap :3px;
}

.open-header h2 {
    font-size: 30px;
}

.member-name {
    font-size: 15px;
}

.head-border {
    width: 100%; 
    height: 5px; 
    margin-bottom: 20px;
}

/** フッター関連 */
footer {
    margin-top: 80px;
    margin-bottom: 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer-menu-area {
    width: 100%;
    padding: 20px 50px 0px 50px;
    text-align: left;
    font-size: 14px;
    background-color: var(--main-color);
}

.footer-menu, .footer-menu:visited {
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
    color: #634900;
}

.footer-menu:hover, .footer-menu:focus {
    color: #fff;
}

.footer-copy-right-area {
    background-color: var(--main-color);
    color: #fff;
    text-align: center;
    padding: 10px;
}

/** メニュー・ボタン関連 */
.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end; /* 常に右寄せ */
    gap: 10px;
    max-width: 100%;
}

/* 画面サイズが小さいとき：2個ずつ並べて折り返す */
@media screen and (max-width: 600px) {
    .nav_btn {
        flex: 0 0 calc(50% - 10px);
        text-align: right;
    }
}

.menu-list li {
    margin:0;
}

nav ul {
    list-style: none;
}

nav li {
    margin-left: 5px;
}

.nav_btn {
    width: 120px;
    padding: 3px;
}

.user-btn {
    font-weight: 700;
}

.user-btn, .nav_btn, .user-btn:visited, .nav_btn:visited {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    color: #634900;
    transition: 0.5s;
    border: 2px solid var(--main-color);
    background-color: var(--main-color);
}

.user-btn:hover, .user-btn:focus, .nav_btn:hover, .nav_btn:focus {
    border: 2px solid var(--hover-color);
    background-color: var(--hover-color);
    color: #fff;
}

/** 成績関連 */
.ul-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* 横並び＋折り返し対応 */
  gap: 20px; /* 余白 */
  text-align: center;
  font-size:14px;
}

.progress-list {
  display: flex;
  flex-direction: row;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.all-progress {
  padding: 10px 15px;
  background-color: #fff;
  border-radius: 5px;
  white-space: nowrap;
}

.all-evaluation {
    border: 2px solid var(--main-color);
    padding: 10px;
    margin-top: 10px;
    color: #333;
    background-color: var(--main-color);
    font-size: 18px;
    font-weight: 600;
}

.all-evaluation p {
    margin: 8px 0;
    padding: 5px 0;
}

.record-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-decoration: none;
  padding: 10px 20px;
  box-sizing: border-box;
}

.quiz__category__list__text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.quiz__category__list__text .record-title {
  font-weight: bold;
  margin-left: 40px;
  margin-right: auto;
}

.quiz__category__list__text .record-progress {
  font-size: 15px;
  margin-left: auto;
  color:#6495ed;
}

.record-table {
    font-size: 15px;
    font-weight: 600;
}

.record-table td {
    font-weight: 500;
}

.record-table thead tr th {
    background-color: var(--main-color);
}

/** マイページ関連 */
.mypage-container {
    font-weight: 700;
}

.mypage-container h3 {
    font-size: 18px;
    margin-bottom: 20px;
    margin-left: 20px;
    padding: 5px 10px;
    border-left: 8px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

/** 特定商取引法に基づく表記関連 */
.tokusyouhou_area table tbody tr th {
    font-size: 16px;
    padding: 10px;
    width: 25%;
    border: 1px solid #ccc;
}

.tokusyouhou_area table tbody tr td {
    font-size: 13px;
    padding: 10px;
    border: 1px solid #ccc;
}

/** サービス利用規約関連 */
.riyoukiyaku_area h3 {
    font-size: 20px;
    margin-top: 30px;
}

.riyoukiyaku_area p {
    font-weight: 700;
    font-size: 16px;
    margin: 20px 10px;
}

/** 固有クラス */
.bg-main-color {
    background-color: var(--main-color);
}

.bg-admin-sub-color {
    background-color: var(--admin-sub-color);
}

.w-60p {
    width: 60px;
}
