* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --line: 1px solid #111111;

  --site-max-w: 1560px;
  --outer-pad-y: 18px;
  --outer-pad-x: 28px;

  --sidebar-w: 210px;
  --content-gap: 128px;
  --grid-gap: 18px;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ===================================
   全体レイアウト
=================================== */

.site-wrap {
  width: min(calc(100vw - 24px), var(--site-max-w));
  margin: 0 auto;
  padding: var(--outer-pad-y) var(--outer-pad-x);
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: var(--content-gap);
  align-items: start;
}

/* ===================================
   左カラム
=================================== */

.sidebar {
  position: sticky;
  top: 18px;

  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 14px;
  transform: translate(-18px, -6px);

  align-self: start;
}

.name-bubble {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.72 / 1;
}

.name-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.name-text {
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

.face-panel {
  display: block;
  width: 100%;
  height: 516px;
  overflow: hidden;
  border: var(--line);
  line-height: 0;
}

.face-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.sidebar-bottom {
  display: grid;
  grid-template-columns: 1fr 118px;
  gap: 16px;
  align-items: start;
  margin-top: 28px;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 10px;
}

.menu a {
  font-size: 18px;
  line-height: 1.02;
  font-weight: 700;
}

.menu a:hover {
  opacity: 0.6;
}

.side-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.category-bubble {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.22 / 1;
  transform: translateY(0);
}

.category-bubble img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  font-style: italic;
  line-height: 1.05;
}

.no-link-text {
  align-items: flex-start;
  text-align: left;
  padding-left: 30px;
  padding-right: 12px;
}

.no-link-text span {
  display: block;
}

.insta-link {
  display: block;
  width: 30px;
  height: 30px;
  margin-left: 0;
  margin-top: 0;
}

.insta-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===================================
   TOPページ
=================================== */

.main-grid {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: var(--grid-gap);
  align-content: start;
}

.panel {
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border: var(--line);
}

.hero-panel {
  aspect-ratio: 1197.89 / 313.39;
}

.row-two {
  display: grid;
  gap: var(--grid-gap);
  align-items: start;
}

.row-mid {
  grid-template-columns: 399.21fr 770.49fr;
}

.row-bottom {
  grid-template-columns: 724.99fr 444.71fr;
}

.panel-v2 {
  aspect-ratio: 399.21 / 313.39;
}

.panel-v3 {
  aspect-ratio: 770.49 / 313.39;
}

.panel-v4 {
  aspect-ratio: 724.99 / 313.39;
}

.panel-v5 {
  aspect-ratio: 444.71 / 313.39;
}

/* ===================================
   ABOUTページ
=================================== */

.about-main {
  min-width: 0;
  padding-top: 22px;
  padding-right: 10px;
}

.about-wrap {
  max-width: 900px;
  margin-left: 0;
}

.about-title {
  margin: 0 0 34px 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
}

.about-lead {
  margin-bottom: 58px;
  max-width: 560px;
}

.about-lead p {
  margin: 0 0 8px 0;
  font-size: 12px;
  line-height: 1.85;
  font-weight: 400;
}

.about-rule {
  width: 100%;
  height: 1px;
  background: #666;
  margin: 0 0 34px 0;
}

.about-section {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  margin-bottom: 52px;
  align-items: start;
}

.about-label {
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
}

.about-content p {
  margin: 0 0 4px 0;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
}

.about-content .year {
  display: inline-block;
  width: 40px;
}

.about-content .indent {
  padding-left: 40px;
}

.about-main .about-link,
.about-main .about-link:visited {
  color: #777;
}

.about-main .about-link:hover,
.about-main .about-link:focus {
  text-decoration: underline;
}

/* ===================================
   作品詳細ページ 共通
=================================== */

.work-detail-main {
  min-width: 0;
  padding-right: 8px;
}

.work-detail-head {
  border: var(--line);
  background: #fff;
  text-align: center;
  padding: 28px 20px 22px 20px;
  margin-bottom: 18px;
}

.work-detail-title {
  margin: 0 0 12px 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 400;
}

.work-detail-year {
  margin: 0 0 24px 0;
  font-size: 16px;
  line-height: 1.2;
  color: #7d7d7d;
}

.work-detail-text {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.work-detail-text p {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  font-weight: 400;
}

.work-detail-text p + p {
  margin-top: 6px;
}

.work-award {
  margin-top: 34px;
  margin-bottom: 2px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: #666;
}

.work-award span {
  color: #999;
}

.work-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.work-detail-grid img {
  width: 100%;
  display: block;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  background: #fff;
}

.work-detail-credit {
  margin-top: 56px;
  padding-bottom: 50px;
  text-align: center;
}

.work-detail-credit p {
  margin: 0 0 8px 0;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 400;
}

/* ===================================
   動画埋め込みページ
=================================== */

.video-embed-wrap {
  margin-top: 20px;
  margin-bottom: 40px;
  line-height: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.video-embed-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

/* ===================================
   小さめPC
=================================== */

@media (max-width: 1360px) {
  :root {
    --site-max-w: 1360px;
    --outer-pad-y: 16px;
    --outer-pad-x: 24px;
    --sidebar-w: 190px;
    --content-gap: 88px;
    --grid-gap: 14px;
  }

  .menu a {
    font-size: 16px;
  }

  .name-text {
    font-size: 13px;
  }

  .category-text {
    font-size: 11px;
    gap: 8px;
  }

  .about-wrap {
    max-width: 820px;
  }
}

/* ===================================
   スマホ
=================================== */

@media (max-width: 900px) {
  html,
  body {
    overflow: auto;
  }

  .site-wrap {
    width: 100%;
    margin: 0;
    padding: 18px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sidebar {
    transform: none;
    max-width: 260px;
  }

  .face-panel {
    height: auto;
  }

  .face-panel img {
    height: auto;
  }

  .sidebar-bottom {
    margin-top: 12px;
  }

  .main-grid,
  .about-main,
  .work-detail-main {
    height: auto;
  }

  .row-mid,
  .row-bottom,
  .work-detail-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    aspect-ratio: auto !important;
  }

  .panel img {
    height: auto;
  }

  .about-main {
    padding-top: 0;
  }

  .about-wrap {
    max-width: 100%;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 36px;
  }

  .about-content .indent {
    padding-left: 0;
  }

  .work-detail-head {
    padding: 22px 16px 18px 16px;
  }

  .work-detail-credit {
    margin-top: 36px;
    padding-bottom: 32px;
  }
}.book-vertical-gallery {
  max-width: 920px;
  margin: 0 auto;
}

.book-vertical-gallery > img {
  display: block;
  width: 100%;
  margin: 0 auto 24px auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.book-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 4px;
}

.book-bottom-row img {
  display: block;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

@media (max-width: 900px) {
  .book-bottom-row {
    grid-template-columns: 1fr;
  }
}/* =========================
   visual05 image
========================= */

.work-single-image{
  display:flex;
  justify-content:center;
  margin-top:40px;
}

.work-single-image img{
  width:70%;
  max-width:900px;
  height:auto;

  box-shadow:0 10px 30px rgba(0,0,0,0.18);
}@media (max-width: 900px) {
  .sidebar {
    max-width: 180px;
    margin: 0 auto;
  }

  .face-panel {
  width: 210px;   /* PCと同じ幅 */
  height: 516px;  /* PCと同じ高さ */
  margin: 0 auto;
}

.face-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
