* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  background: #d9d9d9;
  color: #000;
}

header {
  height: 37.5px;
  background: #333;  /*background: #00a99d;*/
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 20px;
  border-bottom: 1px solid #222;
}

header .logo {
  color: #ffffff;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.menu-bar {
  height: 30.5px;
  background: #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 左寄せ */
  gap: 24px; /* 28pxでも調整可能 */
  padding-left: 20px;          /* 左余白 */
}

.menu-bar a {
  color: #222;
  text-decoration: none;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;       /* 細め */
  letter-spacing: 0.15em;
}


/* 以下写真 */

.photo {
  aspect-ratio: 3 / 2;   /* 横写真基準 */
  overflow: hidden;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}


/* ライトボックス */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;   /* ← これ重要 */
}

.lightbox-content {
  text-align: center;
}

#lightbox img {
  max-width: 90vw;
  max-height: 80vh;
}

#lightbox-info {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.8;
  color: #ccc;
  letter-spacing: 0.04em;
}

.footer {
  background: transparent;
  color: #666;
  font-size: 10px;
  padding: 20px 0;
}



/* profile */


/* profile 全体 */
.profile-container {
  background: #d9d9d9;
  padding: 120px 0;      /* 上下に余白をとる */
  min-height: 70vh;
  text-align: center;
}

/* コンテンツ本体 */
.profile-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* 写真 */
.profile-image img {
  width: 240px;
  height: 300px;
  object-fit: cover;
  border: none;          /* 枠線も消す */
}


/* 名前 */
.profile-name {
  font-size: 20px;
  font-weight: 600;   /* ← 太字に */
  letter-spacing: 0.1em;
  color: #222;;
  font-family: "Montserrat", Arial, sans-serif;
}


/* 箇条書き */
.profile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
  text-align: left;      /* ← 追加（中央揃えを上書き） */
}

.profile-list li {
  font-size: 14px;
  color: #444;
}

.profile-list li::before {
  content: "• ";
  color: #00a99d;
}


/* contact */

.contact-container {
  background: #d9d9d9;
  padding: 60px 0;
  min-height: 70vh;
  text-align: left;
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
}

.contact-box h2 {
  font-size: 20px;
  font-weight: 600;
  color: #3a4f4d;
  margin-bottom: 12px;
}

.contact-box p {
  font-size: 14px;
  color: #444;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #444;
}

.contact-form label { /* Name */
  font-size: 14px;   /* 小さめに調整 */
  color: #444;       /* グレーに統一 */
  font-weight: 500;  /* 少し太め */
  margin-bottom: 4px; /* ラベルと入力欄の間隔 */
  display: block;    /* 左揃えにする場合必須 */
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  background: #333;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-colour 0.3s;
}

.contact-form button:hover {
  background: #333;      /*#00877f*/
}

@media (max-width: 600px) {
  .contact-form textarea {
    min-height: 100px;
  }
}