@charset "UTF-8";
/* ---------------------------------------------------------------
   中村隆 イラストレーションサイト 共通スタイル
   2026 レスポンシブ改修
   --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
               "Yu Gothic", "游ゴシック体", Meiryo, "メイリオ",
               "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: 0; vertical-align: bottom; }

a { color: #006699; }
a:hover { color: #ca0d22; }

/* ---- レイアウト ---- */
.site {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 12px 40px;
}
.site--wide { max-width: 1000px; }

/* ---- サイトタイトル画像 ---- */
.site-title { display: block; margin: 0 0 8px; text-align: center; }
.site-title img { width: 100%; max-width: 700px; }

/* ---- グローバルナビ（画像ボタン） ---- */
.gnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 0;
  margin: 4px 0 20px;
  padding: 0;
  list-style: none;
}
.gnav a, .gnav span { display: block; line-height: 0; }
.gnav img { height: 30px; width: auto; }
.gnav .is-current img { opacity: .4; }
.gnav a:hover img { opacity: .7; }

/* ---- 本文パーツ ---- */
.lead { text-align: center; font-size: 13px; margin: 0 0 20px; }
.section-note { font-size: 13px; margin: 24px 0 8px; }
.saikin { text-align: center; font-size: 15px; font-weight: bold; margin: 12px 0; }

.hero { text-align: center; margin: 0 0 12px; }
.hero img { width: 100%; max-width: 700px; }

.tagline {
  text-align: center;
  letter-spacing: .28em;
  word-spacing: .5em;
  font-size: 15px;
  margin: 10px 0 4px;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* 画像を並べるグリッド（バナー・作品リンクなど） */
.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.tiles li { flex: 1 1 320px; max-width: 350px; }
.tiles a { display: block; line-height: 0; }
.tiles img { width: 100%; }
.tiles--single li { flex: 0 1 460px; max-width: 460px; }

/* 写真を縦に並べるページ（春の日など） */
.photos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 16px; }
.photos img { flex: 0 1 auto; max-width: 100%; }

/* プロフィール */
.profile-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.profile-head__text { flex: 1 1 300px; }
.profile-head__photo { flex: 0 0 auto; margin: 0 auto; }
.profile-name { font-size: 16px; font-weight: bold; margin: 0 0 8px; }
.awards { font-size: 13px; }
.awards h2 { font-size: 14px; margin: 20px 0 4px; }
.awards ul { margin: 0; padding-left: 1.2em; }

/* リンク集 */
.linklist { margin: 0; padding: 0; list-style: none; }
.linklist li { margin: 0 0 18px; }
.linklist a { font-size: 15px; font-weight: bold; text-decoration: none; }
.linklist p { margin: 2px 0 0; font-size: 13px; color: #555; }

/* フッター */
.site-footer {
  margin: 32px 0 0;
  text-align: center;
  font-size: 11px;
  color: #999;
  line-height: 1.9;
}
.site-footer img { max-width: 230px; }

.backlink { text-align: center; margin: 24px 0 0; }

/* ---- スマートフォン ---- */
@media (max-width: 600px) {
  body { font-size: 15px; }
  .site { padding: 10px 10px 32px; }
  .gnav img { height: 34px; }
  .tiles li { flex: 1 1 100%; }
  .tagline { font-size: 12px; letter-spacing: .16em; word-spacing: .3em; }
  .profile-head { display: block; }
  .profile-head__photo { text-align: center; margin-top: 12px; }
}

@media (max-width: 360px) {
  .gnav img { height: 30px; }
}

/* ---- マウスオーバーで差し替わる画像リンク ---- */
.swap { position: relative; display: block; line-height: 0; }
.swap img { width: 100%; display: block; }
.swap .swap__b {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .2s;
}
@media (hover: hover) {
  .swap:hover .swap__b, .swap:focus-visible .swap__b { opacity: 1; }
}

/* ---- パンくず（現在地） ---- */
.crumb {
  font-size: 12px;
  color: #999;
  margin: 0 0 14px;
  line-height: 1.7;
  word-break: break-word;
}
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 .1em; }
.crumb li { display: inline; }
.crumb li + li::before { content: "›"; margin: 0 .5em; color: #ccc; }
.crumb a { color: #777; text-decoration: none; }
.crumb a:hover { color: #ca0d22; text-decoration: underline; }
.crumb [aria-current="page"] { color: #555; }

body.gallery .crumb { color: #777; }
body.gallery .crumb a { color: #9a9a9a; }
body.gallery .crumb a:hover { color: #fff; }
body.gallery .crumb li + li::before { color: #555; }
body.gallery .crumb [aria-current="page"] { color: #cfcfcf; }
