*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #1a1a1a;
  background-color: #faf8f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #8B6914;
  text-decoration: underline;
  transition: color 0.2s;
}

a:hover {
  color: #6B4F0E;
}

a:visited {
  color: #6B4F0E;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

/* Hero */
.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-family: "Shippori Mincho", serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #8B6914;
}

.catchcopy {
  font-family: "Shippori Mincho", serif;
  font-size: 1rem;
  color: #666;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 1.5rem;
}

.profile-icon {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
}

/* Profile */
.profile {
  width: 100%;
  max-width: 400px;
  text-align: left;
}

.profile h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #666;
  margin-bottom: 1.5rem;
  text-align: center;
}

.profile p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

.profile p + p {
  margin-top: 1em;
}

/* Highlights */
.highlights {
  width: 100%;
  max-width: 400px;
  text-align: left;
  margin-top: 4rem;
}

.highlights h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #666;
  margin-bottom: 1.5rem;
  text-align: center;
}

.biography-list dt {
  font-size: 0.8rem;
  color: #666;
  margin-top: 1.75em;
}

.biography-list dt:first-child {
  margin-top: 0;
}

.biography-list dd {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-top: 0.25em;
}

.biography-list dd.notable {
  color: #8B6914;
  padding: 0.4em 0.75em;
  border-left: 3px solid #C4A96A;
  background: #F5F0E6;
}

/* Links */
.links {
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin-top: 4rem;
}

.links h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #666;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-link {
  display: block;
  padding: 1rem 1.5rem;
  border: 1px solid #C4A96A;
  border-radius: 8px;
  text-decoration: none;
  color: #8B6914;
  background: #fff;
  transition: background-color 0.2s, border-color 0.2s;
}

.service-link:focus-visible {
  outline: 2px solid #1a1a1a;
  outline-offset: 2px;
}

.service-link:hover {
  background-color: #F5F0E6;
  border-color: #8B6914;
}

.service-name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.service-desc {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: #666;
  margin-top: 0.25rem;
}

/* Free Listen */
.free-listen {
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin-top: 4rem;
}

.free-listen h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #666;
  margin-bottom: 1.5rem;
}

.free-listen-desc {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 1rem;
}

/* News */
.news {
  width: 100%;
  max-width: 400px;
  text-align: left;
  margin-top: 4rem;
}

.news h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #666;
  margin-bottom: 1.5rem;
  text-align: center;
}

.news-list dt {
  font-size: 0.8rem;
  color: #666;
  margin-top: 1.75em;
}

.news-list dt:first-child {
  margin-top: 0;
}

.news-list dd {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-top: 0.25em;
}

/* Contact */
.contact {
  width: 100%;
  max-width: 400px;
  text-align: center;
  margin-top: 4rem;
}

.contact h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #666;
  margin-bottom: 1.5rem;
}

.contact p {
  font-size: 0.95rem;
  color: #444;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Share */
.share-btn {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid #C4A96A;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, border-color 0.2s;
  z-index: 10;
}

.share-btn:hover {
  background-color: #F5F0E6;
  border-color: #8B6914;
}

.share-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #8B6914;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.share-modal-overlay.is-open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.share-modal {
  background: #faf8f5;
  border: 1px solid #C4A96A;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  max-width: 320px;
  width: calc(100% - 2rem);
  position: relative;
}

.share-modal-title {
  font-family: "Shippori Mincho", serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #8B6914;
  margin-bottom: 1.5rem;
}

.share-qr {
  margin-bottom: 1.5rem;
}

.share-qr img {
  width: 200px;
  height: 200px;
}

.share-copy-btn {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #C4A96A;
  border-radius: 8px;
  background: #fff;
  color: #8B6914;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.share-copy-btn:hover {
  background-color: #F5F0E6;
  border-color: #8B6914;
}

.share-close-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  color: #666;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-close-btn:hover {
  color: #1a1a1a;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #aaa;
  font-size: 0.8rem;
}

/* Responsive */
@media (min-width: 600px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}
