html {
    font-size: 14px;
    min-height: 100vh;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
/*
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}*/

.text-danger {
  color: red;
}

html, body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
    font-family: 'Segoe UI', 'Yu Gothic', 'Meiryo', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.main-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

@media (max-width: 600px) {
  .container {
    padding: 16px 4px;
    margin: 16px auto;
    border-radius: 10px;
  }

　.button-container {
    flex-direction: column;
    gap: 12px;
    padding: 0 10px 20px;
  }
}

.card-body {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    animation: fadeIn 0.6s ease-in;
}

.next-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 60px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-label {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: #f7fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  color: #4a5568;
}

.question-text {
    text-align: left;
    font-size: 16px;
    color: #2d3748;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 500;
}

.question-number {
    text-align: left;
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
}

.option-label:has(input:checked) {
    background: #f0f4ff;
    border-color: #667eea;
}

.option-label:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.next-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/*Start Page Style*/
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.start-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    padding: 60px 40px;
    text-align: center;
    animation: fadeIn 0.6s ease-in;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.subtitle {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    color: #2d3748;
}

.info-item .icon {
    font-size: 20px;
}

.description {
    font-size: 14px;
    color: #718096;
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 0 10px;
}

.start-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.start-button:hover,
.start-button:focus {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.18), 0 1.5px 6px rgba(0,0,0,0.08);
    transform: translateY(-2px) scale(1.04);
    outline: none;
}

/*Complete Page*/
.complete-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    padding: 60px 40px;
    text-align: center;
    animation: fadeIn 0.6s ease-in;
}

.completion-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease-out;
}

.section-list {
    background: #f7fafc;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 35px;
}

.section-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
    font-size: 15px;
    color: #2d3748;
}

.section-item .check-icon {
    color: #48bb78;
    font-size: 20px;
    font-weight: bold;
}

.progress-container {
    margin-bottom: 40px;
}

.progress-label {
    font-size: 14px;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 100%;
    animation: progressFill 1s ease-out;
    border-radius: 10px;
}

.result-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 60px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.result-button:hover,
.result-button:focus {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.18), 0 1.5px 6px rgba(0,0,0,0.08);
    transform: translateY(-2px) scale(1.04);
    outline: none;
}

/*Result Page Styles*/ 
.result-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    animation: fadeIn 0.6s ease-in;
}

.result-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 40px;
    text-align: center;
    color: white;
}

.result-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.type-name {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.type-icon {
    font-size: 60px;
    margin-top: 15px;
}

.content {
    padding: 40px;
}

.section {
    margin-bottom: 40px;
}

.section-title1 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
    text-align: left;
}

.section-content1 {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.9;
    text-align: left;
}

.section-title2 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
    text-align: left;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.strength-badge {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    border: 2px solid #667eea;
    border-radius: 10px;
    padding: 15px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #667eea;
    transition: all 0.3s ease;
}

.strength-icon {
    font-size: 1.6em;
    margin-right: 4px;
}

.strength-text {
    font-size: 1em;
}

.section-title3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
    text-align: left;
}

.advice-box {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.section-content3 {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.9;
    text-align: left;
}

.button-container {
    padding: 0 40px 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.primary-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.primary-button:hover,
.primary-button:focus {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.18), 0 1.5px 6px rgba(0,0,0,0.08);
    transform: translateY(-2px) scale(1.04);
    outline: none;
}

.secondary-button {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.secondary-button:hover,
.secondary-button:focus {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.18), 0 1.5px 6px rgba(0,0,0,0.08);
    transform: translateY(-2px) scale(1.04);
    outline: none;
}

.button {
    flex: 1;
    min-width: 200px;
    padding: 16px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

/* FullCalendar を完全に白背景にする */
#calendar .fc,
#calendar .fc-view-harness,
#calendar .fc-view,
#calendar .fc-scroller,
#calendar .fc-timegrid,
#calendar .fc-daygrid,
#calendar .fc-daygrid-body,
#calendar .fc-daygrid-day,
#calendar .fc-timegrid-slot,
#calendar .fc-timegrid-body,
#calendar .fc-timegrid-container,
#calendar .fc-timegrid-slots,
#calendar .fc-timegrid-cols {
    background-color: #ffffff !important;
}

#calendar {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
