* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

header {
    width: 100%;
    padding:  0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.header-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    margin-right: 40px;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

#hero {
    width: 100%;
    padding: 60px 40px;
    background-color: #fafafa;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-inner img {
    width: 100%;
    height: auto;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px;
    text-align: center;
}

.section-inner h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
}

.section-desc {
    color: #888;
    font-size: 15px;
    margin-bottom: 48px;
}

.Games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.work-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}

.work-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 16px;
}

.work-card h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.work-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 12px 40px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 24px;
    font-size: 14px;
}

#profile {
    background-color: #fafafa;
}

.profile-inner {
    display: flex;
    text-align: left;
    flex-direction: column;
}

.prof-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    margin-bottom: 48px;
}

.prof-section img {
    width: 160px;
    height: 240px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-text h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 16px;
}

.profile-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}

#contact {
    background-color: #fff;
}

footer {
    background-color: #333;
    color: #fff;
}

footer a {
    color:#fff;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 40px;
    text-align: center;
    font-size: 13px;
}

.work-detail {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.work-detail img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.work-detail-text {
    text-align: left;
}

.work-detail-text h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 12px;
}

.work-detail-text p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.store-links {
    display: flex;
    gap: 16px;
}

.store-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.privacy-inner {
    text-align: left;
}

.privacy-ja {
    max-width: 830px;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.privacy-en {
    max-width: 830px;
}

.privacy-ja h2, .privacy-en h2 {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
    margin-bottom: 24px;
}

.privacy-ja h3, .privacy-en h3 {
    margin-top: 32px;
}

@media (max-width: 768px) {
  .Games-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    flex-direction: column;
    align-items: center;
  }

  header {
    height: auto;
    padding: 16px 40px;
  }

  .logo {
    text-align: center;
  }

  .logo img {
    display: block;
    margin: 0 auto;
    transform: translateX(18px);
  }

  .profile-text p {
    text-align: left;
  }

  .work-detail {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .work-detail img {
    width: 80%;
    height: auto;
  }

  .work-detail-text {
    text-align: left;
    width: 100%;
  }
}