* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

/* お知らせ掲示板のスタイル */
.announcement-board {
    background: #ffffff;
    border: 2px solid #2031b2;
    margin: 20px auto 30px;
    max-width: 80%;
}

.announcement-header {
    background: #2031b2;
    color: white;
    padding: 10px 15px;
    text-align: center;
    border-bottom: 1px solid #2031b2;
}

.announcement-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.announcement-content {
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.announcement-item {
    border-bottom: 1px solid #2031b2;
    padding: 12px 15px;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    background: #ffffff;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item:hover {
    background-color: #f8f9ff;
}

.announcement-date {
    color: #2031b2;
    font-size: 12px;
    font-weight: 500;
    min-width: 70px;
    flex-shrink: 0;
    padding-top: 2px;
}

.announcement-title-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
}

.announcement-title {
    color: #2031b2;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.3;
}

.announcement-priority {
    background: #dc3545;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
    flex-shrink: 0;
}

.announcement-text {
    color: #333333;
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
    padding-top: 2px;
}

/* プランページのスタイル */
.plan-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.plan-title {
    color: #2031b2;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
}

.current-plan-section {
    background: #f8f9ff;
    border: 2px solid #2031b2;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.current-plan-section h3 {
    color: #2031b2;
    margin-bottom: 15px;
    font-size: 20px;
}

.current-plan-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.plan-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.plan-status .status-active {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.plan-status .status-canceled {
    background: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.plan-status .status-free {
    background: #6c757d;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.plan-period {
    color: #666;
    font-size: 14px;
}

.plans-section h3 {
    color: #2031b2;
    margin-bottom: 20px;
    font-size: 20px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.plan-card {
    background: white;
    border: 2px solid #2031b2;
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(32, 49, 178, 0.1);
}

.plan-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.plan-card-title {
    color: #2031b2;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.plan-price {
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.plan-features h5 {
    color: #2031b2;
    margin-bottom: 10px;
    font-size: 16px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.plan-features li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.plan-features li:before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.plan-features li.premium-feature {
    font-weight: bold;
    color: #ff6b6b;
}

.plan-features li.premium-feature:before {
    content: '★';
    color: #ff6b6b;
}

.plan-features li.elite-feature {
    font-weight: bold;
    color: #9c27b0;
}

.plan-features li.elite-feature:before {
    content: '♦';
    color: #9c27b0;
}

.plan-action {
    text-align: center;
}

/* ツール一覧のスタイル */
.tools-container {
    max-width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.tools-title {
    color: #2031b2;
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
}

.tools-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tool-item {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tool-main {
    margin-bottom: 25px;
}

.tool-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tool-name {
    color: #2031b2;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

.tool-status {
    font-size: 14px;
    font-weight: bold;
}

.status-available {
    color: #28a745;
    background: #d4edda;
    padding: 6px 12px;
    border-radius: 6px;
}

.status-unavailable {
    color: #dc3545;
    background: #f8d7da;
    padding: 6px 12px;
    border-radius: 6px;
}

.tool-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.tool-links {
    border-top: 1px solid #e1e5e9;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

.download-section h4,
.license-section h4,
.video-section h4 {
    color: #495057;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.btn-download {
    background: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.btn-download:hover {
    background: #218838;
    text-decoration: none;
    color: white;
}

.license-key {
    display: flex;
    gap: 8px;
}

.license-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
    background: #f8f9fa;
}

.btn-copy {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-copy:hover {
    background: #0056b3;
}

.btn-reset {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-reset:hover {
    background: #c82333;
}

.btn-video {
    background: #dc3545;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.btn-video:hover {
    background: #c82333;
    text-decoration: none;
    color: white;
}

.tool-upgrade {
    border-top: 1px solid #e1e5e9;
    padding-top: 20px;
    text-align: center;
}

.btn-upgrade {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.btn-upgrade:hover {
    background: #ff5252;
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
    .tool-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tool-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.btn-subscribe, .btn-change {
    background: #2031b2;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-subscribe:hover, .btn-change:hover {
    background: #1c2a9e;
}

.btn-current {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: not-allowed;
}

.plan-management {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
}

.plan-management h3 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 18px;
}

.btn-cancel {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-cancel:hover {
    background: #c82333;
}

/* FAQページのスタイル */
.faq-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.faq-title {
    color: #2031b2;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
}

.faq-category {
    margin-bottom: 30px;
}

.category-title {
    color: #2031b2;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2031b2;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9ff;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: #e8ebff;
}

.faq-icon {
    color: #2031b2;
    font-size: 14px;
    width: 12px;
    text-align: center;
}

.faq-question span {
    color: #333;
    font-weight: 500;
    font-size: 16px;
}

.faq-answer {
    display: none;
    padding: 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.faq-contact-section {
    background: #f8f9ff;
    border: 2px solid #2031b2;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-top: 40px;
}

.faq-contact-section h3 {
    color: #2031b2;
    margin-bottom: 15px;
    font-size: 20px;
}

.faq-contact-section p {
    color: #666;
    margin-bottom: 20px;
}

.btn-contact {
    background: #2031b2;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.btn-contact:hover {
    background: #1c2a9e;
    text-decoration: none;
    color: white;
}

/* お問い合わせページのスタイル */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.contact-title {
    color: #2031b2;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: bold;
}

.contact-info {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info p {
    color: #666;
    font-size: 16px;
}

.contact-methods,
.line-contact-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.line-button-container {
    margin: 20px 0;
    text-align: center;
}

.line-button-container img {
    height: 60px !important;
    width: auto;
    transition: transform 0.2s ease;
}

.line-button-container img:hover {
    transform: scale(1.05);
}

.contact-method {
    background: #f8f9ff;
    border: 2px solid #2031b2;
    border-radius: 12px;
    padding: 20px;
}

.contact-method h3 {
    color: #2031b2;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-method p {
    color: #666;
    margin-bottom: 15px;
}

.email-info {
    background: white;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    border-left: 4px solid #2031b2;
}

.response-time {
    color: #888;
}

.btn-discord {
    background: #5865f2;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.btn-discord:hover {
    background: #4752c4;
    text-decoration: none;
    color: white;
}

.contact-form-section {
    background: white;
    border: 2px solid #2031b2;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.contact-form-section h3 {
    color: #2031b2;
    margin-bottom: 20px;
    font-size: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.required {
    color: #dc3545;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.form-group select:focus,
.form-group textarea:focus {
    border-color: #2031b2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(32, 49, 178, 0.1);
}

.user-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.user-info p {
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.user-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-info li {
    color: #666;
    margin-bottom: 4px;
}

.form-actions {
    text-align: center;
}

.btn-submit {
    background: #2031b2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-submit:hover {
    background: #1c2a9e;
}

.form-note {
    display: block;
    color: #888;
    margin-top: 10px;
}

.faq-link-section {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.faq-link-section h3 {
    color: #856404;
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-link-section p {
    color: #856404;
    margin-bottom: 15px;
}

.btn-faq {
    background: #ffc107;
    color: #212529;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.btn-faq:hover {
    background: #e0a800;
    text-decoration: none;
    color: #212529;
}

header.title {
    top: 0px;
    position: fixed;
    width:100%;
    padding: 12px 20px;
    background-color: #2031b2;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

h1.title-logo {
    color: white;
    text-align: left;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 0;
    padding: 4px 0px;
    line-height: 32px;
}

.sidebar {
    position: fixed;
    left: 0px;
    top: 64px;
    background: #6484ff;
    width:200px;
    height:100%;
    transition: all 0.5s;
}

.sidebar header {
    font-size: 20px;
    color: white;
    text-align: center;
    padding: 4px 0px;
    line-height: 56px;
    background: #2031b2;
    user-select: none;
}

.sidebar ul a {
    display: block;
    height: 100%;
    width: 100%;
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 50px;
    padding-left: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid #ccc;
}

.sidebar ul span.sub-menu {
    display: block;
    height: 100%;
    width: 100%;
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 50px;
    padding-left: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

/*
span.sub-menu #smopen{
    position: fixed;
    padding: 4px;
    left: 170px;
}

span.sub-menu.active #smopen{
    display: none;
}

span.sub-menu #smclose{
    display: none;
}

span.sub-menu.active #smclose{
    display: inline-block;
    position: fixed;
    padding: 4px;
    left: 170px;
}
*/
.sub-menu-list {
    display: none;
    background: #6484ff;
}

.sub-menu ul a {
    display: block;
    height: 100%;
    width: 100%;
    color: white;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 50px;
    padding-left: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid #ccc;
}

/*caption*/
span.sub-menu-list {
  display: block;
  height: 100%;
  width: 100%;
  padding: 10px 50px;
  padding-left: 40px;
  color: white;
  font-size: 13px;
  font-weight: bold;
  /*text-decoration:underline;*/
  border-left: 5px solid #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid #ccc;
  background: #4664d7;
}

/*sub-menu-list*/
.sub-menu-item ul a {
  display: block;
  height: 100%;
  width: 100%;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 10px 50px;
  padding-left: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid #ccc;
  background: #4664d7;
}

#sub-menu-normal {
  display: none;
}

#sub-menu-adult {
  display: none;
}

#sub-menu-detail {
  display: none;
}

#sub-menu-winner {
  display: none;
}

/*responsive menu start*/
#header {
  height: 60px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #4664d7;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  z-index: 1100;
}

#header h1 {
  margin: 0;
  position: absolute;
  left: 35px;
  transform: none;
}

/* トグルボタンのスタイル */
#sidebarToggle {
  position: absolute;
  left: 15px;
  background-color: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 24px;
  display: none; /* デフォルトでは非表示 */
}

/* サイドバーのスタイル */
#sidebar {
  height: calc(100% - 40px); /* ヘッダー分を引く */
  width: 250px;
  position: fixed;
  top: 40px; /* ヘッダーの下 */
  left: 0; /* PCでは常に表示 */
  background-color: #6484ff;
  padding-top: 20px;
  transition: left 0.3s;
  z-index: 1000;
}

#sidebar.active {
  left: 0; /* サイドバーを表示 */
}

#sidebar .nav-link {
  color: #fff;
}

#sidebar .nav-link:hover {
  background-color: #495057;
}

#sidebar .nav-caption {
  color: #fff;
  padding-left: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* コンテンツのスタイル */
#content {
  /* margin-top: 60px; ヘッダーの高さ分を空ける */
  padding: 20px;
  margin-left: 250px; /* サイドバーの幅分のマージン */
}

/* トグルボタンのスタイル */
#sidebarToggle {
  background-color: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 24px;
}

/* メディアクエリ */
@media (max-width: 767px) {
  #sidebar {
    left: -250px; /* スマホ表示では非表示 */
  }

  #sidebar.active {
    left: 0; /* スマホ表示時にサイドバーを表示 */
  }

  #sidebarToggle {
    display: block; /* スマホ表示ではトグルボタンを表示 */
  }

  #content {
    margin-left: 0; /* スマホ表示ではサイドバーの幅分のマージンをリセット */
  }

  div.place_list {
    float: none;
  }
}

/*responsive menu end*/


#check {
    display: none;
}

main{
    position: absolute;
    left: 0px;
    right: 0px;
    top: 60px;
    bottom: 0px;
    overflow-y: auto;
    margin: 5px auto;
    padding: 10px 0px 15px 0px;
}

.button {
  border: solid 1px #dcdcdc;
  display: inline-block;
  border-radius: 7px;
  padding: 12px 12px;
  background: #5f8eed;
  color: #fff;
  cursor: pointer;
}

a {
  text-decoration: none;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input[type="submit"] {
  background-color: #5f8eed;
  width: 100%;
  cursor: pointer;
}

.modal {
    position: fixed;
    top: 50px;
    left: 0;
    z-index: 1200;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

.modal-footer input.signup {
  background-color: #5f8eed;
  color: #fff;
  cursor: pointer;
  padding: 7px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.form-group input.cancel {
  background-color: #a9a9a9;
  color: #fff;
  width: 100%;
  cursor: pointer;
  margin: 0 0 0 0;
}

.modal-footer input.email {
  background-color: #5f8eed;
  color: #fff;
  cursor: pointer;
  padding: 7px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.modal-footer input.pdc {
  background-color: #5f8eed;
  color: #fff;
  cursor: pointer;
  padding: 7px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.modal-footer input.delete {
  background-color: #5f8eed;
  color: #fff;
  cursor: pointer;
  padding: 7px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.modal-footer button.close-btn {
  background-color: #a9a9a9;
  color: #fff;
  cursor: pointer;
  padding: 7px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.form-group a.button {
  background-color: #5f8eed;
  text-align: center;
  color: #fff;
  width: 100%;
  cursor: pointer;
  margin: 5px 0 0 0;
  padding: 7px;
  font-size: 18px;
  border-radius: 5px;
}

.form-group input.pdc {
  background-color: #5f8eed;
  color: #fff;
  width: 100%;
  cursor: pointer;
  margin: 5px 0 0 0;
}

a.cancel {
  display: inline-block;
  border: solid 1px #dcdcdc;
  border-radius: 5px;
  padding: 7px 7px;
  background: #dcdcdc;
  color: #000000;
}

input.subbtn {
  font-size: 16px;
  display: inline-block;
  border: solid 1px #dcdcdc;
  border-radius: 5px;
  padding: 7px 12px;
  cursor: pointer;
  background: #dcdcdc;
  color: #000000;
}

button.sbtn {
  font-size: 15px;
  display: inline-block;
  border: solid 1px #dcdcdc;
  border-radius: 5px;
  padding: 7px 12px;
  cursor: pointer;
  background: #dcdcdc;
  color: #000000;
}

p.title {
  font-size: 20px;
}

li.cont {
  font-size: 18px;
}

p.delete_msg {
  font-size: 28px;
}

.modal-header{
  background: #204cb2;
  color: #fff;
}

button.url{
  background-color: #5f8eed;
  color: #fff;
  cursor: pointer;
  padding: 7px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.container_main {
  /*width: 90%;
  margin: 0 auto;
  padding: 12px 12px;
  margin-bottom: 13px;*/
  background-color: #fff;
  text-align: center;
}

.place_list {
    width:100%;
    text-align: center;
}

.place_list header {
    font-size: 14px;
    text-align: center;
    padding: 13px 0px;
    background: #dee2eb;
    user-select: none;
}

.place_list ul a {
    background: #fefefe;
    display: block;
    width: 100%;
    color: black;
    font-size: 14px;
    padding: 11px 0px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid #ccc;
}

div.place_menu {
  width: 80%;
  position: relative;
  margin: 0;
  left: 50%;
  transform: translateX(-50%);
}

div.place_list {
  width: 50%;
  padding-left: 15px;
  padding-right: 15px;
  float: left;
}

div.place {
    display:block;
    width: 100%;
}

header.place_name {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    user-select: none;
    padding: 0px 12px;
}

header.race_title {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    line-height: 35px;
    user-select: none;
    padding: 7px 12px;
}

header.place_rcon {
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    user-select: none;
    padding: 0px 12px;
}

.container_msg {
  width: 100%;
  margin: 0 auto;
  padding: 12px 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container_msg a{
  font-size: 15px;
}

p.search_len{
    margin: 5px 5px;
    font-size: 14px;
}

div.race_table {
    display:block;
    width: 100%;
}

table.race_info{
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    margin: 15px auto;
    font-size: 14px;
    width: max-content;
}

table.race_info th{
  background-color: #dee3e9;
}

table.race_info td a{
  padding: 5px 5px;
}

table.race_info th,table.race_info td{
  border: solid 1px #dcdcdc;
  text-align: center;
  padding: 13px 23px;
}

div.title {
  text-align: center;
  font-size: 18px;
  background: #dee2eb;
  width: 350px;
  margin: 30px auto 0 auto;
  padding: 15px 20px 7px 20px;
  border: 1px solid #ccc;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container {
  width: 350px;
  margin: 0 auto;
  padding: 20px 20px 0px 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.login_form {
  width: 350px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}


div.title_sign {
  text-align: center;
  font-size: 18px;
  background: #dee2eb;
  width: 600px;
  margin: 30px auto 0 auto;
  padding: 15px 20px 7px 20px;
  border: 1px solid #ccc;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container_sign {
  width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group input {
  width: 100%;
  padding: 7px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

a.signup {
  width: 100%;
  padding: 7px;
  font-size: 14px;
  border-radius: 3px;
  text-align: center;
  border: 1px solid #ccc;
  display: inline-block;
  background : #cce6ff;
  border-radius: 5px;
  color: #000000;
  cursor: pointer;
}

a.reset {
  width: 100%;
  padding: 7px;
  font-size: 14px;
  border-radius: 3px;
  text-align: center;
  border: 1px solid #ccc;
  display: inline-block;
  background : #a9a9a9;
  border-radius: 5px;
  color: #000000;
  cursor: pointer;
}

div.title_email {
  text-align: center;
  font-size: 18px;
  background: #dee2e6;
  width: 400px;
  margin: 50px auto 0 auto;
  padding: 15px 20px 7px 20px;
  border: 1px solid #ccc;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container_email {
  width: 400px;
  margin: 0 auto;
  padding: 12px 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-group a.button {
  background-color: #5f8eed;
  text-align: center;
  color: #fff;
  width: 100%;
  cursor: pointer;
  margin: 5px 0 0 0;
  padding: 7px;
  font-size: 14px;
  border-radius: 5px;
}

.form-group a.ep_back {
  text-align: center;
  background-color: #a9a9a9;
  color: #fff;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
  margin: 12px 0 0 0;
  display: inline-block;
  border: solid 1px #dcdcdc;
  border-radius: 5px;
  padding: 7px;
}

.form-group ul {
  padding: 10px 24px 0px 24px;
}

.user_info header{
    font-size: 18px;
    text-align: center;
    user-select: none;
    background-color: #dee2e6;
    border: 1px solid #ccc;
    padding: 7px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 800px;
    margin: 15px auto;
}

div.users_info{
    display: grid;
    place-items: center;
}

div.users_table {
    margin: 20px 0;
}

div.plan-table{
    margin: 20px 0;
}

table.plan{
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    margin: 16px auto;
}

table.plan th{
    width: 300px;
    background-color: #dee2e6;
}

table.plan td{
    width: 300px;
}

table.plan th,table.plan td{
    border: solid 1px #dcdcdc;
    text-align: center;
    padding: 15px 0;
}

table.plan td.content{
    vertical-align: top;
}

table.plan ul {
    margin: 0px 0px 0px 25px;
    text-align: left;
}

table.plan li {
    list-style: inside;
}

table.plan .button {
    border: solid 1px #dcdcdc;
    display: inline-block;
    border-radius: 7px;
    padding: 7px 7px;
    background: #5f8eed;
    color: #fff;
    cursor: pointer;
}

input.plan-check {
  width: 80%;
  padding: 7px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button.checkout-btn {
    background-color: #fff;
    color: #17a2b8;
    cursor: pointer;
    padding: 7px 14px;
    font-size: 20px;
    border-radius: 5px;
    line-height: 30px;
    border: 1px solid #17a2b8;
}

button.stop-btn {
    background-color: #fff;
    color: #616263;
    cursor: pointer;
    padding: 7px 14px;
    font-size: 20px;
    border-radius: 5px;
    line-height: 30px;
    border: 1px solid #c1c5c9;
}

button.plan-btn {
  background-color: #5f8eed;
  color: #fff;
  cursor: pointer;
  padding: 7px;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button.stop-btn:hover{
	color: #fff;
	background-color: #858687;
}

table.user td.td_space {
  border: none;
  border-top: solid 1px #dcdcdc;
  border-bottom: solid 1px #dcdcdc;
}

table.user{
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    margin: 16px auto;
    font-size: 14px;
}

table.user th{
    width: 300px;
    background-color: #dee2e6;
}

table.user td{
    width: 500px;
}

table.user th,table.user td{
    border: solid 1px #dcdcdc;
    text-align: center;
    padding: 15px 0;
}

table.user .button {
    border: solid 1px #dcdcdc;
    display: inline-block;
    border-radius: 7px;
    padding: 7px 7px;
    background: #5f8eed;
    color: #fff;
    cursor: pointer;
}

table.users{
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    margin: 5px 0;
    font-size: 14px;
}

table.users th.user_th{
    width: 260px;
}

table.users th.email_th{
    width: 450px;
}

table.users th.regi_th{
    width: 250px;
}

table.users th.canc_th{
    width: 250px;
}

table.users th.auth_th{
    width: 250px;
}

table.users th.ope_th{
    width: 200px;
}

table.users th{
    background-color: #dee2e6;
}

table.users td a{
    padding: 5px 5px;
}

table.users th,table.users td{
    border: solid 1px #dcdcdc;
    text-align: center;
    padding: 15px 0;
}

table.users .button {
    border: solid 1px #dcdcdc;
    display: inline-block;
    border-radius: 7px;
    padding: 7px 7px;
    background: #5f8eed;
    color: #fff;
    cursor: pointer;
}

div.affiliate{
    margin: 50px 0;
}

table.user tr.adata th{
    width: 250px;
    background-color: #dee2e6;
}

table.user tr.adata td{
    width: 550px;
}

button.copy_btn{
    border: solid 1px #dcdcdc;
    display: inline-block;
    border-radius: 7px;
    padding: 5px 7px;
    background: #a9a9a9;
    color: #fff;
    cursor: pointer;
}

div.data_info{
    display: grid;
    place-items: center;
}

.nowrap_txt {
  white-space: nowrap;
}

table.data{
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    margin: 5px 0;
    font-size: 15px;
    overflow-x: auto;
}

table.data th.product_img{
    width: 220px;
}

table.data th.product_title{
    width: 850px;
}

table.data th.product_price{
    width: 200px;
}

table.data th.product_date{
    width: 150px;
}

table.data th.product_url{
    width: 150px;
}

table.data td.product_img{
}

table.data td.product_title{
}

table.data td.product_price{
}

table.data td.product_date{
    text-align: center;
}

td.product_img img{
    width: 200px;
    height: auto;
}

td.product_title p{
    margin: 25px 0px;
}

td.product_title p.category{
    font-size: 14px;
    margin: 10px 0px;
}

td.product_title p.title{
    font-size: 18px;
    margin: 10px 0px 10px 0px;
}

td.product_title p.seller{
    font-size: 15px;
}

td.product_price p{
    margin: 30px 0px;
}

table.data th{
    text-align: center;
    background-color: #dee2e6;
}

table.data th,table.data td{
    border: solid 1px #dcdcdc;
    padding: 10px 13px;
}

.purl_btn {
  border: solid 1px #dcdcdc;
  display: inline-block;
  border-radius: 7px;
  padding: 7px 7px;
  background: #7ba2f1;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  min-width: 100px;
  text-align: center;
  margin: 15px 0px 15px 0px;
}

.surl_btn {
  border: solid 1px #dcdcdc;
  display: inline-block;
  border-radius: 7px;
  padding: 7px 7px;
  background: #7ba2f1;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  min-width: 100px;
  text-align: center;
  margin: 15px 0px 15px 0px;
}

div.data_table {
    margin: 25px 0;
}

div.image_table {
    margin: 25px 0;
}

div.images {
    margin: 5px auto;
}

div.images img{
    width: 200px;
    height: auto;
}

table.analyse{
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    margin: 5px 0;
    font-size: 15px;
}

table.analyse th.analyse_seller{
    width: 200px;
}

table.analyse th.analyse_num{
    width: 150px;
}

table.analyse th.analyse_spave{
    width: 150px;
}

table.analyse th.analyse_epsum{
    width: 200px;
}

table.analyse th.analyse_rate{
    width: 400px;
}

table.analyse th.analyse_epave{
    width: 150px;
}

table.analyse th.analyse_bave{
    width: 150px;
}

table.analyse td, table.analyse th {
    text-align: center;
}

table.analyse td.analyse_rate {
    text-align: right;
}

table.analyse th{
    text-align: center;
    background-color: #dee2e6;
}

table.analyse th, table.analyse td{
    border: solid 1px #dcdcdc;
    padding: 10px 13px;
}

table.analyse th i {
    padding: 4px;
}

.other_info header{
    font-size: 18px;
    text-align: center;
    user-select: none;
    background-color: #dee2e6;
    border: 1px solid #ccc;
    padding: 7px 20px;
    border-radius: 5px 5px 0px 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container_search {
    width: 100%;
    margin: 0 auto;
    padding: 12px 20px;
    margin: 0px 0px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0px 0px 5px 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-box {
    display: inline-block;
    padding:7px;
    margin: 0px 12px;
}

.search-box label {
    font-size: 14px;
}

.search-box input {
    padding: 7px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}


.search-box select {
    appearance: none;
    min-width: 80px;
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

.search-box input[type="submit"]{
  background-color: #5f8eed;
  color: #fff;
  width: 100px;
  cursor: pointer;
  padding: 7px;
  margin: 0px 10px 0px 30px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.closed_data header{
    font-size: 18px;
    text-align: center;
    user-select: none;
    background-color: #dee2e6;
    border: 1px solid #ccc;
    padding: 7px 20px;
    border-radius: 5px 5px 0px 0px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.closed_data .container_search {
    width: 100%;
    margin: 0 auto;
    padding: 10px 7px;
    margin: 0px 0px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0px 0px 5px 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.closed_data .search-box {
    display: inline-block;
    padding:7px 3px;
    margin: 0px 5px;
}

.closed_data .search-box label {
    font-size: 14px;
}

.closed_data .search-box input {
    padding: 5px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.closed_data .search-box input.sname {
    width: 150px;
}

.closed_data .search-box input.price {
    width: 100px
}

.closed_data .search-box select {
    appearance: none;
    min-width: 80px;
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
}

.closed_data .search-box select.dsort {
    min-width: 160px;
}

.closed_data .search-box select.target {
    min-width: 100px;
}

.closed_data .search-box select.updown {
    min-width: 50px;
}

.closed_data .search-box .rdate {
    width: 110px;
}

.closed_data .search-box input[type="submit"]{
  background-color: #5f8eed;
  color: #fff;
  width: 100px;
  cursor: pointer;
  padding: 7px;
  margin: 0px 0px 0px 0px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.closed_data .search-box button.reset {
    background-color: #dcdcdc;
    width: 100px;
    cursor: pointer;
    padding: 7px;
    font-size: 14px;
    margin: 0px 0px 0px 0px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

div.pages {
    width: 100%;
    margin-bottom:80px;
    text-align: center;
}

ul.page_list{
    display: table;
    margin: 0 auto 8px;
    table-layout: fixed;
    box-sizing: border-box;
    border-collapse: separate;
    border-spacing: 10px 0;
}

li.page_id {
    display: table-cell;
    width: 40px;
    height: 40px;
    font-size: 14px;
}

li.page_prev, li.page_next{
    width: 60px;
}

li.page_disable {
    user-select: none;
}

li.page_id a{
    display: block;
    border: 1px solid #dcdcdc;
    line-height: 38px;
    color: #000;
    text-decoration: none;
    background: #fff;
}

li.page_active {
    user-select: none;
}

li.page_active a{
    background: #87cefa;
}

li.page_id span{
    display: block;
    border: 1px solid #dcdcdc;
    line-height: 38px;
    color: #000;
    text-decoration: none;
    background: #fff;
}

li.page_disable span{
    color: #c0c0c0;
}

div.title_pdc {
  text-align: center;
  font-size: 18px;
  background: #dee2e6;
  width: 450px;
  margin: 50px auto 0 auto;
  padding: 15px 20px 7px 20px;
  border: 1px solid #ccc;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container_pdc {
  width: 450px;
  margin: 0 auto;
  padding: 12px 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

p.err_msg {
  color: #ff0000;
  font-size: 18px;
}

div.message-checkout{
    width: 80%;
    margin: 20px auto;
    padding: 15px 25px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

div.message-checkout p{
    margin: 20px;
    font-size: 20px;
}

div.message-checkout div{
    padding: 7px;
    margin: 10px;
}

a.home-btn{
    color: #fff;
    margin: 10px;
    cursor: pointer;
    font-size: 17px;
    padding: 7px 7px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #5f8eed;
}

div.message-signup{
  width: 100%;
  background-color: #98fb98;
  margin: 12px 0px;
  padding: 15px 18px;
  border-radius: 7px;
  font-size: 15px;
}

div.message-error{
  width: 100%;
  background-color: #ff6666;
  margin: 5px 10px;
  padding: 15px 18px;
  border-radius: 7px;
  font-size: 18px;
}

p.sum-data{
    margin: 5px 10px 5px 0px;
    padding: 5px 10px 5px 0px;
}

div.detail_info{
    height: auto;
    display: grid;
    place-items: center;
}

div.seller-table {
    width: 100%;
    height: 600px;
    margin: 15px 0;
    max-width: 100%;
    display: flex;
}

div.winner-table {
    width: 100%;
    height: 600px;
    margin: 15px 0;
    max-width: 100%;
    display: flex;
}

/*
div.scatter-chart {
    width: 100%;
    height: 500px;
    margin: 15px 0;
    max-width: 100%;
    display: flex;
}
*/

canvas.epchart-canvas {
    width: 60%;
    margin: 20px auto;
    padding: 15px 25px;
    text-align: center;
    background-color: whitesmoke;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

canvas.sdchart-canvas {
    width: 30%;
    height: auto;
    margin: 20px auto;
    padding: 15px 25px;
    text-align: center;
    background-color: whitesmoke;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

canvas.dchart-canvas {
    width: 30%;
    height: auto;
    margin: 20px auto;
    padding: 15px 25px;
    text-align: center;
    background-color: whitesmoke;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

div.seller_table {
    margin: 25px 0;
    overflow-x: auto;
    padding: 15px 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Legal Pages Styles */
.legal-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    text-align: left !important;
}

.legal-container * {
    text-align: left !important;
}

.legal-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
}

.last-updated {
    text-align: left;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.legal-container .legal-content {
    line-height: 1.6;
    color: #333;
    text-align: left !important;
}

.legal-container .legal-content > p {
    margin-bottom: 20px;
    text-align: left !important;
}

.legal-section {
    margin-bottom: 25px;
}

.legal-section h2 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.legal-container .legal-section p {
    margin-bottom: 10px;
    text-align: left !important;
    color: #333;
}

.legal-container .legal-section h2 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left !important;
}

.legal-container .legal-section ol {
    padding-left: 20px;
    margin-bottom: 10px;
    text-align: left !important;
}

.legal-container .legal-section ol li {
    margin-bottom: 8px;
    list-style-type: decimal;
    color: #333;
    text-align: left !important;
}

.legal-container .contact-info {
    margin-top: 30px;
    text-align: left !important;
}

.legal-container .contact-info p {
    margin: 5px 0;
    color: #333;
    text-align: left !important;
}

.legal-container .contact-info p strong {
    color: #333;
    text-align: left !important;
}








