@charset "UTF-8";
/*
 Theme Name: T-note (Twenty Twenty-Five Child)
 Description: T-note WordPress Theme.
 Author: Rallys
 Author URI: https://rallys.co.jp
 Template: twentytwentyfive
 Version: 1.3
*/
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.wp-block-buttons.header-btn-menu {
  border-top: 1px solid #cfcfcf;
  border-bottom: 1px solid #cfcfcf;
  flex-wrap: nowrap;
  padding: 15px 0;
}
@media screen and (max-width: 575px) {
  .wp-block-buttons.header-btn-menu {
    gap: 5px;
  }
}
.wp-block-buttons.header-btn-menu .wp-block-button__link {
  white-space: nowrap;
}
@media screen and (max-width: 575px) {
  .wp-block-buttons.header-btn-menu .wp-block-button__link {
    border-radius: 5px;
    font-size: 13px;
    padding: 5px 10px !important;
  }
}

.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}

.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #5bc8ac;
  color: #fff;
  font-size: 14px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}

@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #5bc8ac;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}

@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: #ffca2c;
  transform: scale(1.5);
}

body.logged-in .no-login {
  display: none;
}

body:not(.logged-in) .no-login-hide {
  display: none;
}

.badge {
  margin-left: 5px;
  position: relative;
  top: -2px;
}

.check-mark {
  color: #198754;
  font-size: 48px;
  text-align: center;
}

.scoretable th, .scoretable td {
  white-space: nowrap;
}

input[readonly] {
  border: none;
}

#mypage-profile dl dt {
  margin-bottom: 10px;
}
#mypage-profile dl dd {
  margin-bottom: 25px;
  padding-left: 30px;
}

#register-rate {
  /* --- ラジオボタンのカスタムスタイル --- */
  /* --- ラジオボタンのラッパー --- */
  /* --- ランク表示部分 --- */
  /* ランクごとの色の設定 */
  /* --- コンテンツ部分 --- */
  /* 角丸設定 */
}
#register-rate .level-container {
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  /* 角丸を効かせる */
}
#register-rate .level-row {
  display: flex;
  align-items: stretch;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  background-color: #f8f8f8;
  cursor: pointer;
  /* 行全体をクリック可能にする */
  transition: background-color 0.2s ease;
}
#register-rate .level-row:hover {
  background-color: #f0f0f0;
  /* ホバー時の色変更 */
}
#register-rate .level-row:last-child {
  border-bottom: none;
}
#register-rate .radio-col {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#register-rate .rank-badge {
  width: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  position: relative;
}
@media screen and (max-width: 575px) {
  #register-rate .rank-badge {
    font-size: 18px;
    width: 40px;
  }
}
#register-rate .rank-S {
  background-color: #FEE100;
  color: #333;
}
#register-rate .rank-A {
  background-color: #4CAF50;
}
#register-rate .rank-B {
  background-color: #2196F3;
}
#register-rate .rank-C {
  background-color: #FF9800;
}
#register-rate .rank-D {
  background-color: #9C27B0;
}
#register-rate .rank-E {
  background-color: #E91E63;
}
#register-rate .rank-S .rank-text {
  color: #333;
  text-shadow: none;
}
#register-rate .rank-A, #register-rate .rank-B, #register-rate .rank-D, #register-rate .rank-E {
  color: #fff;
}
#register-rate .rank-badge:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
}
#register-rate .rank-score {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: red;
  font-size: 22px;
  font-weight: 800;
  padding: 15px 0 15px 15px;
  width: 130px;
}
@media screen and (max-width: 575px) {
  #register-rate .rank-score {
    font-size: 15px;
    padding: 0 0 0 10px;
    width: 80px;
  }
}
#register-rate .level-content {
  flex-grow: 1;
  padding: 10px 15px;
  font-size: 14px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}
#register-rate .level-content p {
  margin: 0;
}
#register-rate .level-row:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
#register-rate .level-row:first-child .radio-col {
  border-top-left-radius: 8px;
}
#register-rate .level-row:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
#register-rate .level-row:last-child .radio-col {
  border-bottom-left-radius: 8px;
}
#register-rate input[type="radio"]:focus {
  outline: none;
}
#register-rate input[type="radio"]:focus-visible {
  outline: none;
}

/* フォーム全体を中央に配置し、背景を白くする */
#loginform {
  max-width: 400px;
  margin: 40px auto;
  /* 上下に余白を取り、中央寄せ */
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  /* 角を丸くする */
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* 軽い影を付けて浮き上がらせる */
}

/* ラベルと入力欄のグループ */
#loginform p {
  margin-bottom: 20px;
}

/* 入力欄（テキストフィールド） */
#loginform .input {
  display: block;
  /* ブロック要素にして幅いっぱいにする */
  width: 100%;
  padding: 10px 15px;
  margin-top: 5px;
  box-sizing: border-box;
  /* パディングを含めて幅を計算 */
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
}

#loginform .input:focus {
  border-color: #007bff;
  /* フォーカス時に青い枠線 */
  outline: none;
}

/* 送信ボタン */
#loginform .login-submit .button-primary {
  width: 100%;
  height: 45px;
  background-color: #ffca2c;
  /* 青系のボタン色 */
  border: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#loginform .login-submit .button-primary:hover {
  background-color: #000;
  color: #fff;
}

/* その他（チェックボックスやリンク） */
#loginform .forgetmenot {
  font-size: 14px;
}

#practice-history .filter {
  color: #696969;
  font-size: 13px;
}
#practice-history .filter i {
  margin-left: 15px;
  margin-right: 5px;
  position: relative;
  top: 3px;
}
@media screen and (max-width: 575px) {
  #practice-history .filter i {
    margin: 0;
  }
}
@media screen and (max-width: 575px) {
  #practice-history .filter .label {
    display: none;
  }
}
#practice-history .filter input {
  font-size: 13px !important;
  padding: 1px;
  margin-left: 5px;
  margin-right: 5px;
  max-width: 160px !important;
  position: relative;
  top: -3px;
}
#practice-history .card {
  text-decoration: none;
}
#practice-history .card:hover {
  border-color: #ffca2c;
}
#practice-history .card:hover .card-header {
  background-color: #FFEB9C;
}
#practice-history .card:hover .card-body {
  background-color: #FFF3CD;
}
#practice-history .card-header .type {
  padding-left: 15px;
}
#practice-history .card-header i {
  padding-right: 5px;
}
#practice-history .card-title {
  color: #236db3;
  font-size: 18px;
  font-weight: bold;
}
#practice-history .card-text {
  color: #696969;
  font-size: 12px;
}

@media screen and (max-width: 575px) {
  .sp-fixed.on {
    background: #fff;
    bottom: 0;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 999;
  }
  .sp-fixed.on > div {
    margin: 0 30px 30px;
  }
}

#prevent-send-modal {
  background: rgba(0, 0, 0, 0.7);
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: none;
  place-items: center;
}
#prevent-send-modal.active {
  display: grid;
}
#prevent-send-modal img {
  position: relative;
  height: 50px;
  width: 50px;
  top: -3px;
}
#prevent-send-modal p {
  color: #fff;
  font-size: 20px;
  text-align: center;
}

table.match th, table.match td {
  white-space: nowrap;
}

.dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  top: 1px;
}

.dot-green {
  background-color: #4CAF50;
}

.dot-blue {
  background-color: #2196F3;
}

.dot-yellow {
  background-color: #FEE100;
}

.dot-red {
  background-color: #E91E63;
}

.calendar-table td {
  position: relative;
}

.day-number {
  text-align: left;
}

.calendar-foot {
  list-style: none;
}
@media screen and (min-width: 576px) {
  .calendar-foot {
    text-align: center;
  }
}
.calendar-foot li {
  display: inline-block;
  margin: 0 5px;
}

.date-item {
  flex: 1;
}

.date-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  border-radius: 50%;
  transition: all 0.2s;
}

/* 選択された日の青い丸 */
.date-number.selected {
  background-color: #6699FF;
  /* 画像に近い青色 */
  color: white !important;
}

.date-number:hover:not(.selected) {
  background-color: #f0f0f0;
}

.edit-container {
  cursor: pointer;
  padding: 5px;
  border: 1px solid transparent;
}

.edit-container:hover {
  background-color: #f8f9fa;
  border-color: #ddd;
  border-radius: 4px;
}

.menu-list .handle {
  font-size: 12px;
  position: relative;
  top: 4.5px;
}
