:root{
  color-scheme: light;
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #111111;
  --muted: #444444;
  --line: rgba(0,0,0,0.08);
  --shadow: 0 6px 24px rgba(0,0,0,0.08);
  --radius: 16px;
}

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

.wrap{
  max-width: 1320px;
  margin: 0 auto;
  padding: 22px 16px 48px;
}

.skip{
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
}
.skip:focus{
  left: 16px;
  z-index: 10;
}

.site-header{
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-title{
  margin: 0 0 8px;
  font-size: 30px;
  letter-spacing: 0.02em;
}

.lead{
  margin: 0 0 12px;
  color: var(--muted);
  max-width: 60ch;
}

.nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a{
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.02);
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(0,0,0,0.05);
}

/* Gallery Section */
.gallery-section {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  margin-top: 16px;
  gap: 16px;
}

.gallery-container {
  width: 100%;
  background-color: #eef2f6;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
}

.gallery-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.gallery-item {
  margin: 0;
  text-align: center;
}

.gallery-item figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* Rest of styles */
.card{
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  margin-top: 16px;
}

h2{
  margin: 0 0 10px;
  font-size: 18px;
}

.muted{
  margin: 0;
  color: var(--muted);
}

.list{
  margin: 0;
  padding-left: 18px;
}

.footer{
  margin-top: 22px;
  color: #666666;
}

@media (min-width: 920px){
  /* No grid needed for simple header */
}

/* Profile Section */
.profile-note {
  background-color: #f0f0f0;
  padding: 10px 15px;
  border-left: 4px solid #0066cc;
  margin: 0 0 20px 0;
  font-weight: bold;
  border-radius: 4px;
  }

.profile-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-row {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.profile-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-row dt {
  font-weight: bold;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 4px;
}

.profile-row dd {
  margin: 0;
  line-height: 1.6;
}

@media (min-width: 600px) {
  .profile-row {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }

  .profile-row dt {
    margin-bottom: 0;
    min-width: 8em;
  }

  .profile-row dd {
    text-align: right;
  }
}

/* SNS Section */
.sns-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sns-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.sns-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sns-item h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.sns-item a {
  color: #0066cc;
  text-decoration: none;
  font-size: 13px;
  word-break: break-all;
}

.sns-item a:hover {
  text-decoration: underline;
}
/* 追加したデザイン設定 */
.text-spacing {
  line-height: 1.8;
}

.no-margin-top {
  margin-top: 0;
}
