@charset 'UTF_8';

header .headerArea {
  width: 800px;
}

#corporateInfomation,
.globalNavi {
  display: none;
}
.btArea.registration {
  display: none;
}

section.simple h2 {
  margin: 0 auto;
}

.migrate {
  width: auto !important;
  max-width: 800px !important;
  margin: 0 auto 40px;
  padding: 10px;
}
.migrate_title {
  font-size: 28px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.3;
}

.migrate_content {
  font-size: 17px;
  color: #333;
  font-weight: 500;
  line-height: 1.6;
}
.migration_description {
  margin-bottom: 20px;
}
.migration_description p {
  margin-bottom: 20px;
}
.migrate h3 {
  font-size: 18px;
  border-bottom: 1px solid #006eaf;
}
.migration_button {
  display: none;
  width: 300px;
  margin: 40px auto;
  padding: 15px 5px;
  background-color: #00385f;
  border: 1px solid #999;
  border-radius: 8px;
  text-align: center;
  font-size: 18px;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s;
}
.migration_button:hover {
  background-color:rgb(14, 85, 136);
}

.migration_follow {
  display: none;
  /* display: flex; */
  justify-content: space-between;
  gap: 40px;
  margin-top: 30px;
}
.migration_follow_column {
  flex: 1;
}
.migration_follow_column h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 5px;
  color: #333;
}
.migration_follow_list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.migration_follow_list li {
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
}
.migration_follow_list input[type="checkbox"] {
  margin-right: 10px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  appearance: auto;
}
.migration_follow_list label {
  cursor: pointer;
  flex: 1;
  font-weight: 500;
  line-height: 1.5;
}
.migration_follow_list input[type="checkbox"]:disabled {
  cursor: default;
}
.migration_follow_list input[type="checkbox"]:disabled + label {
  cursor: default;
}
.migration_follow_column h3 span {
  font-size: 80%;
  padding-left:10px;
  color:#666;
}
span.migrated-badge {
  color: red;
}
.migration_already_done {
  display: none;
  font-weight: bold;
  font-size: 30px;
  color: #333;
  text-align: center;
  margin: 40px 0 80px;
  border: 1px solid #0a3e6f;
  padding: 40px 10px;
}
.migration_no_follow,
.migration_complete_message {
  display: none;
  font-weight: bold;
  font-size: 24px;
  color: #333;
  text-align: center;
  margin: 40px 0;
  background-color: #e3e3e3;
  padding: 20px 10px;
}

/* 移行済み */
body.isMigrated .migration_already_done {
  display: block;
}
body.isMigrated .migration_follow {
  display: none !important;
}
/* body.isMigrated .migration_description {
  display: none !important;
} */
 
/* 移行完了 */
body.completed .migration_complete_message {
  display: block;
}
body.completed .migration_follow,
body.completed .migration_button {
  display: none !important;
}

/* ローディング画面のスタイル */
.loading_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.loading_overlay.show {
  display: flex;
}
.loading_spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #ffffff;
  border-top: 4px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.loading_text {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
.loading_message {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 580px) {
  .migration_follow_column h3 {
    font-size: 18px;
    line-height: 1.5;
  }
  .migration_follow_list label {
    cursor: pointer;
    flex: 1;
    font-weight: 500;
    line-height: 1.3;
    font-size: 15px;
  }
  .migration_follow {
    flex-direction: column;
    gap: 20px;
  }
}
