/* ---------- GLOBAL STYLES ---------- */
:root {
  --primary: #004d99;
  --accent: #ff6600;
  --bg: #f9f9f9;
  --text: #333;
  --muted: #666;
  --link-hover: #e60000;
  --card-bg: #fff;
  --border: #e6e6e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "Roboto",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

/* ---------- HEADER ---------- */
header {
  background: var(--primary);
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

header h1 {
  margin: 0.5rem 0;
  font-size: 2.8rem;
  line-height: 1.15;
}

header p {
  margin: 0;
  font-weight: 300;
  line-height: 1.5;
}

.name-ja {
  margin: 0.1rem 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 90%;
  max-width: 960px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--card-bg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}

/* ---------- ABOUT SECTION ---------- */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-right: 1.5rem;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.about div {
  flex: 1;
  min-width: 250px;
}

/* ---------- SECTION TITLES ---------- */
.section-title {
  font-size: 1.6rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 4px;
}

/* ---------- LIST SECTIONS ---------- */
.research-list,
.presentation-list,
.experience-list,
.teaching-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 0;
}

.research-list li,
.presentation-list li,
.experience-list li,
.teaching-list li {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.research-list li:last-child,
.presentation-list li:last-child,
.experience-list li:last-child,
.teaching-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.paper-title {
  display: block;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.25rem;
}

.note {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.research-list a,
.presentation-list a,
.experience-list a,
.teaching-list a {
  display: inline-block;
  margin-top: 0.25rem;
}

/* ---------- CONTACT SECTION ---------- */
.contact-icons a {
  display: inline-block;
  margin-right: 1.2rem;
  font-size: 1.8rem;
  color: #555;
}

.contact-icons a:hover {
  color: var(--primary);
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  padding: 1rem;
  background: #eee;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  .research-list,
  .presentation-list,
  .experience-list,
  .teaching-list {
    margin-top: 0.8rem;
  }

  .research-list li,
  .presentation-list li,
  .experience-list li,
  .teaching-list li {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
  }

  .paper-title {
    font-size: 1rem;
    line-height: 1.45;
  }

  .note {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
