
:root {
  --blue: #00A1E9;
  --pink: #E6007E;
  --yellow: #FFD700;
  --green: #00B140;
  --purple: #6C2DC7;
  --bg-light: #f4faff;
}

body {
  margin: 0;
  font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background: var(--bg-light);
  color: #333;
  scroll-behavior: smooth;
  font-size:16px;
  line-height: 1.8;
}

header {
  background: url("../images/visual.jpg") center/cover no-repeat;
  height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

header img {
  max-width: 300px;
  margin-bottom: 1rem;
}

header h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
}

nav {
  position: sticky;
  top: 0;
  background: var(--blue);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 0.5rem;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  transition: all 0.3s;
}

nav a:hover {
  background: white;
  color: var(--blue);
}

section {
  max-width: 960px;
  margin: auto;
  padding: 2rem 1rem;
  animation: fadeIn 1s ease-in;
}

h2 {
  font-size: 2rem;
  border-left: 10px solid #b3e0f8;
  padding-left: 1rem;
  color: var(--blue);
}

.activity-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.activity {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.activity img {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}
.activity h3 {
  color: var(--blue);
}
.profile {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
  margin-top: 2rem;
}

.profile img {
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-text {
  flex: 1;
}

footer {
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}
table {
  width:100%;
  border-collapse: collapse;
}
th {
  text-align: left;
  padding: 16px;
  width: 150px;
  background: #b3e0f8;
  border:1px solid #ffffff;
}
td {
  padding: 16px;
  border:1px solid #ffffff;
  background:#e8f5fc;
}
.orange {
  color: #ff5500;
  font-size:1.2em;
  text-align:center;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    header h1 {
      font-size: 1.5rem;
    }
  .activity-row, .profile {
    flex-direction: column;
    align-items: center;
  }
    th {
      padding: 12px;
      width: 100px;
    }
    td {
      padding: 12px;
    }
}
.nav-toggle {
  display: none;
}
.nav-toggle-label {
  display: none;
  position: fixed;
  top: 10px;
  right: 20px;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 5px;
  background: var(--blue);
}
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    background: var(--blue);
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    display: none;
    padding: 60px 1rem 1rem;
    transition: all .2s;
  }
  .nav-toggle:checked + .nav-toggle-label + nav {
    display: flex;
  }
  .nav-toggle-label {
    display: block;
  }
  .nav-toggle:checked + .nav-toggle-label span {
  background: #fff;
  transition: all .2s;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: rotate(45deg);
    margin-top: 12px;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    display: none;
  }
  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    transform: rotate(-45deg);
    margin-top: -8px;
  }
}