body {
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 16px;
}

code {
  display: inline;
  padding: 0.15em 0.4em;
  border-radius: 4px;
  background-color: #f0f0f0;
  font-family: 'PT Sans', sans-serif;
  font-size: 0.95em;
}

.main {
  width: 100%;
  font-size: 100%;
  text-align: center;
  font-family: 'PT Sans', sans-serif;
}
.main div {
  margin: 0 auto;
  font-family: 'PT Sans', sans-serif;
}

.title {
  width: 100%;
  font-size: 200%;
  text-align: center;
  font-family: 'PT Sans', sans-serif;
}

.title div {
  margin: 0 auto;
  text-align: left;
  font-family: 'PT Sans', sans-serif;
}

.titleBer {
  width: 100%;
  font-size: 160%;
  text-align: center;
  font-family: 'PT Sans', sans-serif;
}

.titleBer div {
  margin: 0 auto;
  text-align: center;
  font-family: 'PT Sans', sans-serif;
}

.chgEng {
  width: 100%;
  font-size: 170%;
  text-align: center;
  font-family: 'PT Sans', sans-serif;
}
.chgEng div {
  margin: 0 auto;
  text-align: right;
  font-family: 'PT Sans', sans-serif;
}

.chgJP {
  width: 100%;
  text-align: center;
  font-family: 'PT Sans', sans-serif;
}
.chgJP div {
  margin: 0 auto;
  text-align: right;
  font-family: 'PT Sans', sans-serif;
}

/* 共通ユーティリティクラス */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.hr-narrow {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.content-padding {
  padding: 0px;
}
.rounded-image {
  border-radius: 33px;
}

.career-highlight-list code {
  display: inline;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background-color: #e9e9e9;
}

/* omokakeページ用ダークテーマ */
.dark-theme {
  background-color: black;
  color: white;
}

/* game.html用インラインスタイル代替 */
.game-container {
  width: 960px;
  height: 600px;
}

/* Profile page styles */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.profile-image {
  flex-shrink: 0;
  width: 150px !important;
  margin: 0 auto !important;
}

.profile-image img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.profile-content {
  width: 100% !important;
  margin: 0 !important;
  text-align: left;
}

.profile-content h1 {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

.profile-content h2 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.profile-content a {
  color: #333;
  text-decoration: none;
}

.profile-content a:hover {
  text-decoration: underline;
}

.job-title {
  color: #666;
  font-size: 1.1em;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
}

.follow-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.follow-list li a {
  color: #333;
  text-decoration: none;
}

.follow-list li a:hover {
  text-decoration: underline;
}

.section-divider {
  margin: 40px 0;
  border: none;
  border-top: 1px solid #ddd;
}

/* Project card grid - mobile: 1 column */
.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
}

.project-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  transition: box-shadow 0.2s ease;
}

.project-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.project-card h3 {
  margin: 0 0 8px 0;
  font-size: 1em;
  font-weight: 600;
}

.project-card .project-description {
  margin: 0;
  font-size: 0.9em;
  color: #666;
  line-height: 1.5;
}

.project-card a {
  color: #333;
  text-decoration: none;
}

.project-card a:hover {
  text-decoration: underline;
}

/* Wide content area for cards */
.content-wide {
  width: 100% !important;
}

/* Work detail page styles */
.work-detail {
  max-width: 100%;
  margin: 0 auto;
  padding-top: 16px;
  padding-bottom: 16px;
}

.work-title {
  font-size: 14pt;
  text-align: left;
  margin-bottom: 16px;
}

.work-image {
  text-align: center;
  margin-bottom: 10px;
}

.work-image img {
  width: 100%;
  height: auto;
}

.work-caption {
  text-align: left;
  color: #666;
  margin-bottom: 8px;
}

.work-body h1 {
  font-size: 14pt;
  text-align: left;
  margin-bottom: 16px;
}

.work-body {
  text-align: left;
  line-height: 1.8;
  margin-bottom: 16px;
}

.work-production {
  text-align: left;
  margin-bottom: 16px;
}

.work-links {
  text-align: left;
  margin-bottom: 16px;
}

.work-links a {
  display: block;
  margin-bottom: 10px;
}
