@charset "UTF-8";
/* =========================
   基本設定
========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.8;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}
/* =========================
   ヘッダー
========================= */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 5%;
  box-sizing: border-box;
}

.site-logo {
  margin-right: auto;
  white-space: nowrap;
  font-weight: 700;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.global-nav a {
  white-space: nowrap;
}

.global-nav span {
  font-size: 12px;
}
/* =========================
   全体レイアウト
========================= */
.main-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

/* =========================
   WORKS タイトル
========================= */
.works-header {
  margin-bottom: 60px;
  text-align: center;
}

.works-heading {
  margin: 0;
  font-family: 'AB-aki', 'AB-アキ', 'Noto Sans JP', sans-serif;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.accent-char {
  display: inline-block;
  margin-left: 12px;
  padding-left: 15px;
  border-left: 2px solid #333;
  font-family: 'AB-aki', 'AB-アキ', 'Noto Sans JP', sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* =========================
   作品リスト
========================= */
.works-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* 作品カード */
.work-card {
  padding: 30px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* 左：画像 / 右：説明 */
.work-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 35px;
  align-items: start;
}

/* 左側の画像：縦並び */
.work-images {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  width: 100%;
}

/* 画像サイズ */
.work-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* 画像2枚・4枚のときも縦並び */
.work-images-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.img-row-top,
.img-row-bottom {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  width: 100%;
}

.img-row-top img,
.img-row-bottom img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* サイトURL */
.work-site-url {
  display: block;
  margin-top: 15px;
  color: #176b8a;
  font-size: 13px;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.work-site-url:hover {
  color: #0b4054;
}

/* スマートフォン */
@media screen and (max-width: 600px) {
  .work-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
