:root {
  --base: #ffffff;     /* 白。背景は沈黙。キャラを照らす照明扱い。 */
  --accent: #fdbe30;   /* メインの黄色（キャラの体） */
  --text: #3C2C18;     /* 焦げ茶。黒じゃない優しさで読みやすさ確保 */
  --link: #3bb5c2;     /* 緑ヒレのやさしさリンク。静かな主張 */
  --bg-soft: #FAF8F5;  /* 薄グレー寄りのやわらか背景補助 */
}

body {
  background-color: var(--base);
  color: var(--text);
  font-size: 0.75rem;
}

nav {
  margin-bottom: 1rem;
}

a {
  color: var(--link);
}

h1 {
  font-size: 1.3rem;

}

h2 {
  font-size: 0.9rem;
}

h3 {
  font-size: 0.8rem;
}

section {
  margin-bottom: 5rem;
  padding: 0 5rem;
}

button,
a[role="button"] {
  background-color: transparent;
  border: 1px solid var(--link);
  color: var(--link);
  font-size: 0.75rem;
  padding: 0.5rem 1.3rem;
}

button:hover,
a[role="button"]:hover {
  background-color: var(--accent);
  color: var(--base);
  border: 1px solid var(--accent);
}

.hero {
  text-align: center;
  padding: 10rem 1rem 14rem;
  background-color: var(--bg-soft);
  border-radius: 1rem;
  margin-bottom: 5rem;
  background-image: url( "../images/tanosista.png" );
  background-position: center bottom 5rem;
}

.hero h1 {
  margin-bottom: 4rem;
  color: var(--text);
}

.hero p {
  font-size: 0.75rem;
  color: var(--text);
  margin-bottom: 7rem;
}

.gallery img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 2px solid var(--accent);
  background-color: #fff;
}

footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text);
  padding: 2rem 0 1rem;
}

/* about */
.resident {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.resident img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--accent);
}

.resident-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 4px solid #d5bc9c;
  border-radius: 1rem;
  background-color: #fbf3e9;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  font-family: 'Courier New', Courier, monospace;
}

.resident-card-y {
  border: 4px solid #fcd789;
}

.resident-card-b {
  border: 4px solid #76acb4;
}

.resident-card-p {
  border: 4px solid #6e457c;
}

.resident-card-r {
  border: 4px solid #a15959;
}

.resident-card img {
  width: 100px;
  height: 100px;
  border-radius: 0.75rem;
  border: 1px solid #d5bc9c;
  background-color: #fff;
}

.resident-info h3 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-family: inherit;
}

.resident-info dl {
  margin: 0;
}

.resident-info dt {
  font-weight: bold;
  margin-top: 0.5rem;
}

.resident-info dd {
  margin: 0 0 0.5rem 0.5rem;
}


