/* Reset */
body, h1, h2, p, ul, li {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f4;
  color: #333;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Container */
.container {
  display: flex;
  flex-wrap: wrap;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

/* Left Section (Image) */
.left {
  flex: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.profile-photo {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 縦横比を維持してリサイズ */
  background-color: #000; /* 背景を黒にして画像が小さい場合の見栄えを改善 */
  filter: grayscale(100%);
}

/* Right Section (Content) */
.right {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.5); /* 半透明の背景 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.right h1 {
  font-size: 3em;
  margin-bottom: 20px;
}
.subheading {
  font-size: 1.2em;
  margin-bottom: 30px;
}
.career h2 {
  font-size: 1.5em;
  margin-bottom: 15px;
}
.career ul {
  list-style-type: none;
  padding: 0;
  font-size: 1em;
  line-height: 1.6;
}

/* Responsive Design */
@media (min-width: 768px) {
  /* デスクトップ用デザイン */
  .container {
    flex-direction: row;
  }
  .left {
    flex: 1;
    position: relative;
    width: 50%;
    height: 100%;
  }
  .right {
    flex: 2;
    position: relative;
    width: 50%;
    background: none;
    color: #333;
    text-align: left;
    padding: 60px;
  }
  .right h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
  }
  .subheading {
    font-size: 1.5em;
    margin-bottom: 40px;
  }
  .career h2 {
    font-size: 2em;
  }
}
