@charset "UTF-8";
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:where([hidden]:not([hidden="until-found"])) {
  display: none !important;
}
:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light;
  tab-size: 2;
  scrollbar-gutter: stable;
  interpolate-size: allow-keywords;
  line-height: 1.5;
}
:where(html:has(dialog:modal[open])) {
  overflow: clip;
}
@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth;
  }
}
:where(body) {
  line-height: inherit;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
:where(button) {
  all: unset;
}
:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
}
:where(textarea) {
  resize: vertical;
  resize: block;
}
:where(button, label, select, summary, [role="button"], [role="option"]) {
  cursor: pointer;
}
:where(:disabled, label:has(> :disabled, + :disabled)) {
  cursor: not-allowed;
}
:where(a) {
  color: inherit;
  text-underline-offset: 0.2ex;
}
:where(ul, ol) {
  list-style: none;
}
:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}
:where(img, picture, svg, video) {
  max-inline-size: 100%;
  block-size: auto;
}
:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}
:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
  text-wrap: balance;
}
:where(hr) {
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}
:where(dialog, [popover]) {
  border: none;
  background: none;
  color: inherit;
  inset: unset;
  max-width: unset;
  max-height: unset;
  overflow: unset;
}
:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
  display: none !important;
}
:where(:focus-visible) {
  outline: 3px solid CanvasText;
  box-shadow: 0 0 0 5px Canvas;
  outline-offset: 1px;
}
:where(:focus-visible, :target) {
  scroll-margin-block: 8vh;
}
:where(.visually-hidden:not(:focus-within, :active)) {
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
  user-select: none !important;
}
:root {
  --lr-margin: clamp(20px, 5%, 30px);
  --main-width: min(calc(100% - (var(--lr-margin) * 2)), 1200px);
}
body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 16px;
  font-style: normal;
  letter-spacing: 0.1em;
}
p {
  line-height: 1.8;
}
.page-container {
  display: grid;
  grid-template-columns: 1fr var(--main-width) 1fr;
  margin: 0;
  padding-top: 20px;
}
.page-container img {
  max-width: 100%;
  image-rendering: auto;
}
section, .section {
  grid-column: 1 / 4;
  margin: 0;
  padding: 0 calc((100% - var(--main-width)) / 2);
}
.toplink {
  font-size: 13px;
  font-weight: 400;
  margin: 0;
  text-align: right;
}
.title {
  margin-bottom: 60px;
  margin-top: 45px;
  text-align: center;
  h1 {
    font-size: 30px;
    font-weight: bold;
    line-height: 1.6;
  }
  span {
    display: block;
    font-weight: normal;
    &.date {
      font-size: 80%;
    }
  }
}
.preface {
  align-items: center;
  background-color: #F6C46D;
  display: flex;
  height: 527px;
  .image {
    border-left: 8px solid #fff;
    border-right: 8px solid #fff;
    flex-shrink: 0;
    height: 100%;
    img {
      aspect-ratio: 602 / 856;
      height: 100%;
    }
  }
  .description {
    font-weight: bold;
    line-height: 1.8;
    padding: 0 100px;
    padding: 0 min(100px, 6vw);
    p + p {
      margin-top: 1.5em;
    }
  }
}
.ff-highlight {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  column-gap: 33px;
  grid-template-rows: repeat(21, 39px);
  margin-top: 130px;
  row-gap: 34px;
  img {
    object-fit: cover;
  }
  figure:nth-child(1) {
    grid-area: 1 / 1 / 4 / 3;
  }
  figure:nth-child(2) {
    grid-area: 2 / 3 / 5 / 5;
  }
  figure:nth-child(3) {
    grid-area: 3 / 5 / 6 / 7;
  }
  figure:nth-child(4) {
    grid-area: 2 / 7 / 5 / 9;
  }
  figure:nth-child(5) {
    grid-area: 5 / 2 / 8 / 4;
  }
  figure:nth-child(6) {
    grid-area: 6 / 4 / 9 / 6;
  }
  figure:nth-child(7) {
    grid-area: 7 / 6 / 10 / 8;
  }
  figure:nth-child(8) {
    grid-area: 8 / 1 / 11 / 3;
  }
  figure:nth-child(9) {
    grid-area: 10 / 3 / 13 / 5;
  }
  figure:nth-child(10) {
    grid-area: 11 / 5 / 14 / 7;
  }
  figure:nth-child(11) {
    grid-area: 10 / 7 / 13 / 9;
  }
  figure:nth-child(12) {
    grid-area: 12 / 1 / 15 / 3;
  }
  figure:nth-child(13) {
    grid-area: 15 / 2 / 18 / 4;
  }
  figure:nth-child(14) {
    grid-area: 14 / 4 / 17 / 6;
  }
  figure:nth-child(15) {
    grid-area: 15 / 6 / 18 / 8;
  }
  figure:nth-child(16) {
    grid-area: 18 / 1 / 21 / 3;
  }
  figure:nth-child(17) {
    grid-area: 19 / 3 / 22 / 5;
  }
  figure:nth-child(18) {
    grid-area: 19 / 5 / 22 / 7;
  }
  figure:nth-child(19) {
    grid-area: 18 / 7 / 21 / 9;
  }
}
.ff-dome {
  margin-top: 60px;
  h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 60px;
    text-align: center;
  }
  .main-images {
    display: flex;
    column-gap: 40px;
  }
  .description {
    display: flex;
    column-gap: 50px;
    margin-top: 50px;
  }
  .gallery {
    flex-shrink: 0;
    width: 47.5%;
  }
}
.ff-work {
  margin-top: 60px;
  h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 60px;
    text-align: center;
  }
}

.works {
  --columns: 7;
  --gap: 20px;
  --pieceW: calc(( 100% - var(--gap) * (var(--columns) - 1)) / var(--columns));
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.works ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}
.works ul li {
  flex: 0 0 var(--pieceW);
}
.works ul li a {
  display: block;
  position: relative;
}
.works ul li img {
  aspect-ratio: 1175 / 770;
  object-fit: cover;
  object-position: center;
}
.works ul li a:after {
  aspect-ratio: 1/1;
  background-color: rgba(255, 255, 255, 0.7);
  background-image: url(../images/zoom.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 75% auto;
  bottom: 0;
  content: '';
  display: inline-block;
  height: 50%;
  position: absolute;
  right: 0;
  z-index: 100;
}

footer {
  padding: 60px 0 30px;
  text-align: center;
}
footer small {
  font-size: 13px;
}

/* swiper 調整 */
.swiper-button-prev,
.swiper-button-next {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #333;
}
.swiper-button-prev svg,
.swiper-button-next svg {
  height: 50%;
}
/* ドット全体 */
.swiper .swiper-pagination {
  margin-top: 10px;
  position: static;
}
/* 各ドット */
.swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
  margin: 0 5px !important;
}

/* 現在選択されているドット */
.swiper .swiper-pagination-bullet-active {
  background: #333;
}

@media (hover: hover) {
  a {
    transition: opacity 0.2s ease-in-out;
  }
  a:hover {
    opacity: 0.75;
  }
}
@media (1200px < width) {
  .page-container {
    margin: 0 auto;
  }
  .toplink {
    font-size: 15px;
  }
  h1 {
    font-size: 30px;
  }
  .works {
    --columns: 7;
    --gap: 20px;
  }
  .works ul li a:after {
    height: 30%;
  }
}
@media (width < 1200px) {
  .title {
    margin-bottom: 20px;
    h1 {
      font-size: 24px;
    }
  }
  .preface {
    margin-top: 30px;
  }
  .ff-highlight {
    row-gap: 2.5vw;
    img {
      height: 100%;
    }
  }
  .ff-dome {
    margin-top: 45px;
    h2 {
      font-size: 18px;
      margin-bottom: 45px;
    }
    .main-images {
      column-gap: 20px;
    }
  }
  .ff-work {
    margin-top: 45px;
    h2 {
      font-size: 18px;
      margin-bottom: 45px;
    }
  }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .works {
    --columns: 6;
    --gap: 20px;
  }
}
@media ( 768px <= width <= 1024px) {
  .toplink {
    font-size: 15px;
  }
  .preface {
    height: 55vw;
    .description {
      padding-right: 0;
    }
  }
  .ff-highlight {
    margin-top: 80px;
  }
  .ff-dome {
    .description {
      column-gap: 30px;
      margin-top: 40px;
    }
    .gallery {
      width: 55%;
    }
  }
}
@media (width <= 900px) {
  .preface {
    flex-direction: column;
    height: auto;
    .image {
      border-bottom: 8px solid #fff;
      height: auto;
      width: 75%;
      img {
        height: auto;
      }
    }
    .description {
      margin-bottom: 40px;
      margin-top: 30px;
      padding: 0;
    }
  }
}
@media (width <= 768px) {
  :root {
    --swiper-navigation-size: 35px;
  }
  body {
    font-size: 15px;
  }
  .title {
    padding: 0 8px;
  }
  .ff-highlight {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 3vw;
    grid-template-rows: repeat(39, 1fr);
    margin-top: 70px;
    row-gap: 3vw;
    img {
      object-fit: cover;
      width: 100%;
    }
    figure:nth-child(1) {
      grid-area: 1 / 1 / 4 / 3;
    }
    figure:nth-child(2) {
      grid-area: 2 / 3 / 5 / 5;
    }
    figure:nth-child(3) {
      grid-area: 5 / 1 / 8 / 3;
    }
    figure:nth-child(4) {
       grid-area: 6 / 3 / 9 / 5;
    }
    figure:nth-child(5) {
      grid-area: 9 / 1 / 12 / 3;
    }
    figure:nth-child(6) {
      grid-area: 10 / 3 / 13 / 5;
    }
    figure:nth-child(7) {
      grid-area: 13 / 1 / 16 / 3;
    }
    figure:nth-child(8) {
      grid-area: 14 / 3 / 17 / 5;
    }
    figure:nth-child(9) {
      grid-area: 17 / 1 / 20 / 3;
    }
    figure:nth-child(10) {
      grid-area: 18/ 3 / 21 / 5;
    }
    figure:nth-child(11) {
      grid-area: 21 / 1 / 24 / 3;
    }
    figure:nth-child(12) {
      grid-area: 22 / 3 / 25 / 5;
    }
    figure:nth-child(13) {
        grid-area: 25 / 1 / 28 / 3;
    }
    figure:nth-child(14) {
      grid-area: 26 / 3 / 29 / 5;
    }
    figure:nth-child(15) {
      grid-area: 29 / 1 / 32 / 3;
    }
    figure:nth-child(16) {
      grid-area: 30 / 3 / 33 / 5;
    }
    figure:nth-child(17) {
      grid-area: 33 / 1 / 36 / 3;
    }
    figure:nth-child(18) {
      grid-area: 34 / 3 / 37 / 5;
    }
    figure:nth-child(19) {
      grid-area: 37 / 1 / 40 / 3;
    }
  }
  .ff-dome {
    margin-top: 35px;
    h2 {
      margin-bottom: 35px;
    }
    .description {
      flex-direction: column;
      margin-top: 30px;
    }
    .gallery {
      margin-top: 30px;
      width: 100%;
    }
  }
  .ff-work {
    margin-top: 35px;
    h2 {
      margin-bottom: 35px;
    }
    .works {
      --columns: 4;
      --gap: 10px;
    }
  }
  .swiper {
    .swiper-pagination-bullet {
      height: 6px;
      width: 6px;
    }
  }
  .fancybox__dialog {
    .f-button.is-arrow {
      display: none;
  }
}