/* Base styles */
* {

    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.clr{clear: both;}
.imgleft{float: left;
margin-right: 5px;}
/* Header */
.header {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(212, 236, 255, 1) 29%, rgba(16, 111, 194, 1) 93%);
    text-align: center;
    padding: 4rem 2rem;
}

.header h1 {
    font-size: 2.5rem;
   line-height: 100%;
}

h1 {
  position: relative;
  text-align: center;
  border: 2px solid #000;
  background: #fff;
}

h1:before,
h1:after {
  position: absolute;
  content: '';
}

h1:before {
  top: -40px;
  left: calc(50% - 40px);
  width: 80px;
  height: 80px;
  border: 2px solid #000;
  border-radius: 50%;
  background: #fff;
}

h1:after {
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 2px dashed #000;
  background: #fff;
}

h1 i {
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 60px;
  position: absolute;
  z-index: 2;
  top: -40px;
  left: calc(50% - 40px);
  width: 80px;
  height: 60px;
  text-align: center;
}

h1 span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1.5rem;
}

h1 span:before,
h1 span:after {
  position: absolute;
  content: '';
}

h1 span:before {
  top: -34px;
  left: calc(50% - 34px);
  width: 68px;
  height: 40px;
  border: 2px dashed #000;
  border-radius: 50vw 50vw 0 0;
}

h1 span:after {
  position: absolute;
  top: 4px;
  left: calc(50% - 32px);
  width: 64px;
  height: 10px;
  background: #fff;
}



/* Sections */
section {
    padding: 2rem 1.5rem;
    margin: 1.5rem auto;
    max-width: 1200px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2 {
 position: relative;
  margin: 30px;
  text-align: center;
}

h2:before,
h2:after {
  position: absolute;
  z-index: 0;
  bottom: -10px;
  display: block;
  content: '';
  border: 1em solid #207335;
}

h2:before {
  left: -30px;
  border-left-width: 15px;
  border-left-color: transparent;
}

h2:after {
  right: -30px;
  border-right-width: 15px;
  border-right-color: transparent;
}

h2 span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 1rem 2rem;
  color: #fff;
  background: #268C3F;
}

h2 span:before,
h2 span:after {
  position: absolute;
  bottom: -10px;
  display: block;
  width: 10px;
  height: 10px;
  content: '';
  border-style: solid;
  border-color: #268C3F transparent transparent transparent;
}

h2 span:before {
  left: 0;
  border-width: 10px 0 0 10px;
}

h2 span:after {
  right: 0;
  border-width: 10px 10px 0 0;
}

/* Perspective Cards */
.perspective-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.perspective-card {
    flex: 1;
    min-width: 300px;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.perspective-card h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
}

/* Improvement Grid */
.improvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.improvement-card {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.improvement-card:hover {
    transform: translateY(-5px);
}

.improvement-card h3 {
    color: #4a90e2;
    margin-bottom: 1rem;
}

/* Profile Section */
.profile-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.profile-image {
    width: 140px;
    height: 140px;
    background-color: #ddd;
    border-radius: 50%;
	float: left;
	text-align: center;
}

.profile-text {
	float: left;
	
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #2c3e50;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 2rem 1rem;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    section {
        padding: 2rem 1rem;
        margin: 1rem;
    }

    .profile-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}





/* タブ */
    .tab-container {
      max-width: 95%;
      margin: 20px auto;
      font-family: sans-serif;
    }
    
    .tab-list {
      display: flex;
      list-style: none;
      padding: 0;
      margin: 0;
      border-bottom: 2px solid #ddd;
    }
    
    .tab-item {
      padding: 10px 20px;
      background: #f5f5f5;
      border: 1px solid #ddd;
      border-bottom: none;
      margin-right: 5px;
      border-radius: 4px 4px 0 0;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .tab-item.active {
      background: #fff;
      border-bottom: 2px solid #fff;
      margin-bottom: -2px;
      color: #333;
      font-weight: bold;
    }
    
    .tab-content {
      display: none;
      padding: 20px;
      border: 1px solid #ddd;
      border-top: none;
      background: #fff;
    }
    
    .tab-content.active {
      display: block;
    }

    /* ホバー効果 */
    .tab-item:hover {
      background: #e9e9e9;
    }




        .question {
            background-color: #f4f4f4;
            margin-bottom: 15px;
            padding: 15px;
            border-radius: 5px;
        }
        .options {
            display: flex;
            flex-direction: column;
        }
        .options label {
            margin: 5px 0;
            cursor: pointer;
        }
        #result {
            margin-top: 20px;
            padding: 15px;
            background-color: #e9f5ff;
            border-radius: 5px;
            display: none;
        }
        #submit-btn {
            width: 100%;
            padding: 10px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-top: 15px;
        }

