/* リセット */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ベーススタイル */
body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  background-color: #ffffff;
  color: #30323a;
  line-height: 1.85;
}

/* ナビゲーション */
.site-nav {
  background-color: #ffffff;
  border-bottom: 1px solid #dce6fb;
}

.site-nav__list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  padding: 14px 20px;
}

.site-nav__link {
  text-decoration: none;
  font-size: 0.9rem;
  color: #445e97;
  letter-spacing: 0.05em;
}

.site-nav__link:hover {
  color: #30323a;
  text-decoration: underline;
}

/* ヘッダー */
.site-header {
  background-color: #f3f3fa;
  text-align: center;
  padding: 60px 20px 80px;
}

/* ギャラリーページ */
.page-header {
  background-color: #f3f3fa;
  padding: 40px 0;
}

.page-header__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #30323a;
  margin-bottom: 12px;
}

.page-header__back a {
  font-size: 0.9rem;
  color: #445e97;
  text-decoration: none;
}

.page-header__back a:hover {
  text-decoration: underline;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(48, 50, 58, 0.05);
}

.gallery-card__image {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-card__body {
  padding: 20px;
}

.gallery-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #30323a;
  margin-bottom: 8px;
}

.gallery-card__desc {
  font-size: 0.9rem;
  color: #5c5f68;
  line-height: 1.6;
}

.site-header__name-ja {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #30323a;
}

.site-header__name-en {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: #7a8aac;
  margin-top: 8px;
}

.site-header__tagline {
  font-size: 1rem;
  color: #5c5f68;
  margin-top: 32px;
  letter-spacing: 0.08em;
}

/* セクション共通 */
.section--tinted {
  background-color: #f3f3fa;
}

.section-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 20px;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #30323a;
  margin-bottom: 32px;
}

/* 自己紹介 */
.about__text {
  color: #5c5f68;
  margin-bottom: 22px;
}

/* できること */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.skill-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(48, 50, 58, 0.05);
}

.skill-card__icon {
  font-size: 2rem;
  color: #445e97;
  margin-bottom: 12px;
  display: block;
}

.skill-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #30323a;
  margin-bottom: 14px;
}

.skill-card__text {
  font-size: 0.9rem;
  color: #5c5f68;
  line-height: 1.75;
}

/* 使用ツール */
.tools__group {
  margin-bottom: 32px;
}

.tools__group:last-child {
  margin-bottom: 0;
}

.tools__group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #5c5f68;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid #b8c9f5;
}

.tools__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tools__item {
  background-color: #cbd2ff;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.9rem;
  color: #2d3a5e;
}

/* 制作実績 */
.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(48, 50, 58, 0.05);
}

.work-card__image-placeholder {
  background-color: #dce6fb;
  color: #7a8aac;
  font-size: 0.85rem;
  text-align: center;
  padding: 40px 20px;
}

.work-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.work-card__body {
  padding: 32px;
}

.work-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #30323a;
  margin-bottom: 6px;
}

.work-card__tech {
  font-size: 0.8rem;
  color: #7a8aac;
  margin-bottom: 10px;
}

.work-card__desc {
  font-size: 0.9rem;
  color: #5c5f68;
  line-height: 1.75;
}

.work-card__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: #445e97;
  text-decoration: none;
}

.work-card__link:hover {
  text-decoration: underline;
}

/* 学習中のこと */
.learning__group {
  margin-bottom: 28px;
}

.learning__group:last-child {
  margin-bottom: 0;
}

.learning__group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #5c5f68;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid #b8c9f5;
}

.learning__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.learning__item {
  background-color: #cbd2ff;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.9rem;
  color: #2d3a5e;
}

/* 連絡先 */
.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #7a8aac;
  width: 90px;
  flex-shrink: 0;
}

.contact__value {
  font-size: 0.95rem;
  color: #30323a;
}

.contact__link {
  font-size: 0.95rem;
  color: #445e97;
  text-decoration: none;
}

.contact__link:hover {
  text-decoration: underline;
}

/* フッター */
.site-footer {
  background-color: #f3f3fa;
  text-align: center;
  padding: 28px 20px;
}

.site-footer__copy {
  font-size: 0.85rem;
  color: #7a8aac;
}
