@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300&display=swap');
/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

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

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

::-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */

option {
  padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */

[type="search"] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}
/* Reset CSS */

html {
  scroll-behavior: smooth;
  margin: 0 !important;
}
@media screen and (max-width:1032px) {
  html {
    scroll-behavior: auto;
  }
}
body {
  width: 100%;
  position: relative;
  margin: 0;
  font-family: 'Hind',"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic","yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  color: #222;
  letter-spacing: .08em;
  line-height: 1.6;

  &.active {
    height: 100%;
    overflow: hidden;
  }
}
a {
  transition: .4s;
}
a:hover {
  opacity: .7;
}
rt{
  font-size: 8px;
}

.pc {
  display: block;
}
@media screen and (max-width:1032px) {
  .pc {
    display: none;
  }
}

.wrapper {
  display: flex;
}

.main-content {
  display: none;
  width: calc(100% - 250px);
  margin: 0 0 0 auto;
  padding: 67px 8.3vw;
  overflow: hidden;

  hr {
    margin: 100px 0 0;
    border-color: #ddd;
  }

  .division {
    width: calc(100% + 16.6vw);
    margin: 100px 0 0 -8.3vw;
  }
}
@media screen and (max-width:1032px) {
  .main-content {
    width: 100%;
    padding: 81px 30px ;
    .division {
      width: 100vw;
      margin: 100px 0 0 -30px;
    }
  }
}

.header {
  display: none;
  width: 100%;
  max-width: 250px;
  height: 100vh;
  margin: 0 auto;
  padding: 0 40px 25px;
  position: fixed;
  top: 0;
  white-space: nowrap;
  font-family: "游明朝 Light", "游明朝", "YuMincho", serif;
  font-weight: 200;
  color: #777;
  overflow: scroll;
  overflow-X: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.header::-webkit-scrollbar {
  display: none;
}
a.header__logo:hover {
  opacity: 1;
}
.header__logo {
  width: 100%;
  position: fixed;
  display: block;
  max-width: 170px;
  margin-bottom: 20px;
  padding: 72px 0 26px;
  background: #fff;
  letter-spacing: .275em;
  font-size: 1.375em;
  z-index: 1;
  img {
    display: block;
    width: 100%;
    height: auto;
    transition: .4s;
  }
}
.header__menu {
  padding: 58px 0 50px;
}
.header__menu-list .active {
  color: #222;
  font-weight: bold;
}
.header__menu-list:first-child {
  margin: 91px 0 45px;
}
.header__menu-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 1em;
  position: relative;
  cursor: pointer;
}
.header__menu-item.current a{
  padding-bottom: 0.2em;
  border-bottom: solid 1px #9b9b9b;
}
.header__submenu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.header__menu-item:last-child {
  margin: 0;
}
.header__submenu-list {
  display: none;
  width: 100%;
  padding: .75em 0 24px 11px;
}
.header__submenu-list .header__menu-item {
  font-weight: 400;
  font-size: 0.75em;
}
@media screen and (max-width:1032px) {
  .header__submenu-list {
    padding-bottom: 0;
  }
}
.switching{
  position: relative;
  width: 100%;

  &::before,
  &::after{
    position: absolute;
    content:'';
    width: 9px;
    height: 1px;
    background-color: #646464;
    transition: all .5s ease;
  }

  &::before{
    top:48%;
    right: 0;
    transform: rotate(0deg);
  }

  &::after{
    top:48%;
    right: 0;
    transform: rotate(90deg);
  }

  &.close {
    &::before{
      transform: rotate(-180deg);
    }
    &::after{
      transform: rotate(180deg);
    }
  }
}
.header__menu-item.about{
  justify-content: space-between;
}
.header__menu-item.about .switching{
  width: 25px;
  height: 25px;
}
.header__menu-button,
.header__menu-sp {
  display: none;
}
.header__menu-sp {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 81px;
  left: 0px;
  z-index: 1000;
  background: #fff;
}
.header__menu-title {
  font-size: min(1em,9px);
}
.header__menu-line {
  display: inline-block;
  width: 40px;
  position: relative;
  top: -7px;
}
.header__menu-line span{
    display: inline-block;
    width: 100%;
    height: 1px;
    background-color: #222;
    position: absolute;
    transition: 0.5s;
  }
.header__menu-line .middle {
  top: 7px;
}
.header__menu-line .bottom {
  width: 50%;
  top: 14px;
}
.copy {
    width: 100%;
    max-width: 170px;
    position: fixed;
    bottom: 0;
    padding: 25px 0;
    background: #fff;
    color: #B5B5B5;
    font-size: min(1em,9px);
    letter-spacing: 0.14em;
  }
@media screen and (max-width:1032px) {
  .copy {
    display: none;
  }
}
@media screen and (max-width:1032px) {
  .header {
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 2;
    max-width: unset;
    height: 81px;
    padding: 19px 30px;
    background: #fff;
  }
  .header__logo {
    position: static;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
  }
  .header__logo img {
    margin: 0;
  }
  .header__menu {
    display: none;
  }
  .header__menu-button{
    display: block;
    width: 40px;
  }
  .header__menu-button.open .top {
    transform: translateY(7px) rotate(30deg);
  }
  .header__menu-button.open .middle {
    opacity: 0;
  }
  .header__menu-button.open .bottom {
    width: 100%;
    transform: translateY(-7px) rotate(-30deg);
  }
  .header__menu-button::after {
    content: "\30E1\30CB\30E5\30FC";
    display: block;
    margin-top: 7px;
    font-size: min(1em,9px);
    text-align: center;
  }
  .header__menu-button.open::after {
    content: "\9589\3058\308B";
  }
  .header__menu-sp{
    opacity: 0;
    transition: opacity .3s linear;
    padding: 30px 30px 140px;
    overflow: hidden scroll;
  }
  .header__menu-list:first-child {
    margin: 0 0 26px;
  }
  .header__menu-sp.open {
  display: block;
  opacity: 1;
  }
  .header__menu-sp .header__menu-list {
    display: flex;
    flex-wrap: wrap;
  }
  .header__menu-sp .header__menu-list ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 9px;
    justify-content: space-between;
  }
  .header__menu-sp .header__menu-list ul .header__menu-item {
    display: inline-block;
    width: auto;
    margin-bottom: 18px !important;
    width: 45.5%;
  }
  .header__menu-sp .header__menu-list ul .header__menu-item::before {
    content: unset;
  }
  .header__menu-item {
    width: 100%;
    margin: 0 0 24px 0;
    font-family: "游明朝 Light", '游明朝', 'YuMincho', serif;
    color: #777;
  }
  .copy__sp {
    z-index: 2;
    width: 100%;
    padding: 25px 0;
    position: fixed;
    bottom: 0;
    color: #B5B5B5;
    font-family: "游明朝 Light", '游明朝', 'YuMincho', serif;
    font-size: min(1em,9px);
    letter-spacing: .14em;
    background: #fff;
  }
}

.works__list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(12, 1fr);
  max-width: 950px;
  margin: 0 auto;
}
.works__list-img img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.works__list-item:nth-child(1),
.works__list-item:nth-child(27) {
  grid-column: 1/9;
}
.works__list-item:nth-child(2),
.works__list-item:nth-child(3),
.works__list-item:nth-child(28),
.works__list-item:nth-child(29) {
  grid-column: 9/13;
}
.works__list-item:nth-child(4),
.works__list-item:nth-child(6),
.works__list-item:nth-child(9),
.works__list-item:nth-child(10),
.works__list-item:nth-child(22),
.works__list-item:nth-child(23),
.works__list-item:nth-child(30),
.works__list-item:nth-child(32),
.works__list-item:nth-child(35),
.works__list-item:nth-child(36){
  grid-column: 1/4;
}
.works__list-item:nth-child(5),
.works__list-item:nth-child(7),
.works__list-item:nth-child(31),
.works__list-item:nth-child(33) {
  grid-column: 4/7;
}
.works__list-item:nth-child(8),
.works__list-item:nth-child(34) {
  grid-column: 7/13;
}
.works__list-item:nth-child(11),
.works__list-item:nth-child(24),
.works__list-item:nth-child(37){
  grid-column: 4/10;
}
.works__list-item:nth-child(12),
.works__list-item:nth-child(13),
.works__list-item:nth-child(19),
.works__list-item:nth-child(21),
.works__list-item:nth-child(25),
.works__list-item:nth-child(26),
.works__list-item:nth-child(38),
.works__list-item:nth-child(39) {
  grid-column: 10/13;
}
.works__list-item:nth-child(14),
.works__list-item:nth-child(15){
  grid-column: 1/5;
}
.works__list-item:nth-child(16) {
  grid-column: 5/13;
}
.works__list-item:nth-child(17) {
  grid-column: 1/7;
}
.works__list-item:nth-child(18),
.works__list-item:nth-child(20){
  grid-column: 7/10;
}
.works__list-item:nth-child(1) {
  grid-row: 1/3;
}
.works__list-item:nth-child(8) {
  grid-row: 3/5;
}
.works__list-item:nth-child(11) {
  grid-row: 5/7;
}
.works__list-item:nth-child(12) {
  grid-row: 5/6;
}
.works__list-item:nth-child(16){
  grid-row: 7/9;
}
.works__list-item:nth-child(17){
  grid-row: 9/11;
}
.works__list-item:nth-child(24) {
  grid-row: 11/13;
}
.works__list-item:nth-child(25) {
  grid-row: 11/12;
}
.works__list-item:nth-child(27) {
  grid-row: 13/15;
}
.works__list-item:nth-child(34) {
  grid-row: 15/17;
}
.works__list-item:nth-child(37) {
  grid-row: 17/19;
}
.works__list-item:nth-child(38) {
  grid-row: 17/18;
}
.works__list:has(> :nth-child(10):last-child) .works__list-item:last-child {
    grid-column: 4/7;
}
.works__list:has(> :nth-child(15):last-child) .works__list-item:last-child {
    grid-column: 5/9;
}
.pagination {
  position: relative;
  display: flex;
  justify-content: center;
  grid-column: 1/13;
  margin-top: 20px;
  font-size: .75em;
}
.pagination .page-numbers {
  margin: 0 13px;
}
@media screen and (max-width:751px) { 
  .pagination .page-numbers {
    margin: 0 8px;
    font-size: 2.5vw;
  }
}
.pagination .current {
  border-bottom: 1px solid #222;
}
.pagination .prev {
  position: absolute;
  top: 50%;
  left: 0;
  margin: 0;
  transform: translateY(-50%);
}
.pagination .next {
  position: absolute;
  top: 50%;
  right: 0;
  margin: 0;
  transform: translateY(-50%);
}
@media screen and (max-width:751px) { 
  .pagination .prev,
  .pagination .next{
    top: 54%;
  }
}
@media screen and (max-width:751px) { 
  .works__list-item:nth-child(1),
  .works__list-item:nth-child(8),
  .works__list-item:nth-child(11),
  .works__list-item:nth-child(16),
  .works__list-item:nth-child(17),
  .works__list-item:nth-child(24),
  .works__list-item:nth-child(27),
  .works__list-item:nth-child(34),
  .works__list-item:nth-child(37) {
    grid-column: 1/13;
  }
  .works__list-item:nth-child(2),
  .works__list-item:nth-child(4),
  .works__list-item:nth-child(6),
  .works__list-item:nth-child(9),
  .works__list-item:nth-child(12),
  .works__list-item:nth-child(14),
  .works__list-item:nth-child(18),
  .works__list-item:nth-child(20),
  .works__list-item:nth-child(22),
  .works__list-item:nth-child(25),
  .works__list-item:nth-child(28),
  .works__list-item:nth-child(30),
  .works__list-item:nth-child(32),
  .works__list-item:nth-child(35),
  .works__list-item:nth-child(38) {
    grid-column: 1/7;
  }
  .works__list-item:nth-child(3),
  .works__list-item:nth-child(5),
  .works__list-item:nth-child(7),
  .works__list-item:nth-child(10),
  .works__list-item:nth-child(13),
  .works__list-item:nth-child(15),
  .works__list-item:nth-child(19),
  .works__list-item:nth-child(21),
  .works__list-item:nth-child(23),
  .works__list-item:nth-child(26),
  .works__list-item:nth-child(29),
  .works__list-item:nth-child(31),
  .works__list-item:nth-child(33),
  .works__list-item:nth-child(36),
  .works__list-item:nth-child(39){
    grid-column: 7/13;
  }
  .works__list-item:nth-child(1),
  .works__list-item:nth-child(8),
  .works__list-item:nth-child(11),
  .works__list-item:nth-child(12),
  .works__list-item:nth-child(16),
  .works__list-item:nth-child(17),
  .works__list-item:nth-child(24),
  .works__list-item:nth-child(25),
  .works__list-item:nth-child(27),
  .works__list-item:nth-child(34),
  .works__list-item:nth-child(37),
  .works__list-item:nth-child(38){
    grid-row: unset;
  }
  .works__list:has(> :nth-child(10):last-child) .works__list-item:last-child,
  .works__list:has(> :nth-child(15):last-child) .works__list-item:last-child {
    grid-column: 7/13;
  }
}

#about {
  max-width: 950px;
  margin: 0 auto;
}

.about__ttl {
  margin-bottom: 50px;
  padding: 67px 0 16px;
  border-bottom: 1px solid #222;
  font-size: 1.375rem;
}
@media screen and (max-width:1032px) { 
  .about__ttl {
    padding: 100px 0 16px;
  }
}

.lead__ttl {
  margin-bottom: 25px;
  font-size: 1.125rem;
}

.lead__contents {
  display: inline-block;
  margin-bottom: 33px;
}

.lead__sentence {
  margin-bottom: 20px;
  font-size: 0.875rem;
}

.lead__author {
  text-align: right;
  font-size: 0.875rem;
}

.about__content-ttl {
  display: flex;
  align-items: center;
  margin-bottom: 55px;
  font-size: 1.125rem;
}
.about__content-ttl:before {
  width: 1.67em;
  content: "";
  margin-right: .84em;
  border-top: 1px solid;
}
@media screen and (max-width:1032px) {
  .about__content-ttl  {
    margin-bottom: 35px;
  }
}

#staff, #profile, #access {
  margin-bottom: 83px;
}
@media screen and (max-width:1032px) {
  #profile, #access,#contact {
    margin-bottom: 0;
    padding-top: 100px !important;
  }
}

#staff {
  padding-top: 67px;
}
@media screen and (max-width:1032px) {
  #staff {
    padding-top: 100px;
    margin-bottom: 0;
  }
}
#staff hr {
  margin: 0 0 56px;
}
.staff__designer,
.staff__supporter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.875rem;
}
.staff__info {
  width: 47%;
  margin-bottom: 56px;
}
.staff__supporter .staff__info:last-child {
  margin-bottom: 0;
}
.staff__name {
  margin-bottom: 24px;
}
.staff__name-en {
  text-transform: uppercase;
  margin-right: 10px;
}
.staff__position {
  color: #898989;
  text-transform: uppercase;
}
.staff__links {
  margin-top: 18px;
}
.staff__links a {
  position: relative;
  padding: 0 10px 9px 0;
  border-bottom: solid 1px #222;
}
.staff__links a::after{
  content: "";
  position: absolute;
  top: calc(50% - 9px);
  right: 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: rotate(45deg);
}
.staff__works {
  margin-right: 30px;
}
@media screen and (max-width:1032px) {
  .staff__info {
    width: 100%;
  }
  .staff__name {
    margin-bottom: 16px;
  }
}
.staff__instagram{}

#profile {
  padding-top: 67px;
}
#profile table {
  margin-top: -30px;
}
#profile tr {
  border-bottom: 1px solid #ddd;
}
#profile th, #profile td {
  padding: 30px 0;
  font-weight: normal;
  font-size: 0.875rem;
}
#profile th {
  width: 12%;
  min-width: 122px;
  padding-right: 3%;
}
#profile td {
  width: 88%;
}
#profile span {
  text-decoration: underline;
  cursor: pointer;
}
#profile tr td ol {
  padding-left: 22px;
  list-style: decimal;
}
@media screen and (max-width:1032px) {
  #profile tr {
    display: flex;
    flex-wrap: wrap;
  }
  #profile th, #profile td {
    width: 100%;
  }
  #profile th {
    min-width: unset;
    padding: 24px 0 0;
  }
  #profile td {
    padding: 10px 0 24px;
  }
}

#access {
  font-size: 0.875rem;
}
.access__contents {
  display: flex;
  justify-content: space-between;
}
.access__info {
  min-width: 255px;
  margin-right: 20px;
}
.access__info:first-child {
  margin-bottom: 20px;
}
.access__map {
  aspect-ratio: 13 / 6;
  width: 65%;
  height: 100%;
  filter: saturate(70%);
}
@media screen and (max-width:1032px) {
  .access__contents {
    flex-wrap: wrap;
  }
  .access__info {
    width: 100%;
    min-width: unset;
    margin: 0 0 25px 0;
  }
  .access__map {
    width: 100%;
  }
}
@media screen and (max-width:551px) {
  .access__map {
    aspect-ratio: 1 / 1;
  }
}

.contact__ttl {
  margin-bottom: 28px;
}

.contact__sentence {
  margin-bottom: 22px;
  font-size: 0.875rem;
}

#contact  {
  span {
    font-size: 0.75rem;
    color: #898989;
  }
}

.works__hide {
  width: 100vw;
  height: 100vw;
  background: #fff;
}
.works__detail {
  width: 41%;
  padding-right: 0;
  text-align: left;
}
.works__detail h2 {
  margin-bottom: 10px;
}
.works__detail h2 span {
  display: block;
  font-size: 12px;
  vertical-align: middle;
}
.works__detail p {
  font-size: .8125em;
}
.works__detail p span:not(:first-child){
  margin-left: -3px;
}
.works__detail p span:not(:last-child)::after{
  content: "\FF0F";
}
@media screen and (max-width:1032px) {
  .works__detail {
    width: 100%;
    margin-top: 80px;
    padding: 0;
    order: 2;
  }
  .works__detail h2 {
    margin-bottom: 6px;
    font-size: 0.875em;
  }
  .works__detail p {
    font-size: .75em;
  }
}

.remodal-wrapper {
  padding: 0 30px;
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}
.modal-wrapper.modal-window {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
  position: relative;
  top: 44%;
  left: 50%;
  width: 100%;
  max-width: 875px;
  height: 65vh;
  max-height: 539px;
  transform: translateY(-50%) translateX(-50%);
  background: #fff;
}
.modal-wrapper.modal-window .slider {
  max-width: 500px;
  width: 100%;
}
.modal-wrapper.modal-window .slider img {
  width: 100%;
  max-width: 500px;
  height: 100%;
  max-height: 500px;
  object-fit: cover;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}
.close-btn{
  width: 100%;
  height: 30px;
  position: relative;
  margin: 0 0 10px;
  @media screen and (max-width:1032px) {
    max-width: 500px;
  }
}
.modal-wrapper .remodal-close {
  z-index: 20;
  position: absolute;
  top: 0;
  right: -50px;
  width: 30px;
}
.modal-wrapper .remodal-close .right {
  position: absolute;
  top: 14px;
  width: 100%;
  transform: translateX(-15px) rotate(-45deg);
  background: #000;
  height: 1px;
}
.modal-wrapper .remodal-close .left {
  position: absolute;
  top: 14px;
  width: 100%;
  transform: translateX(-15px) rotate(45deg);
  background: #000;
  height: 1px;
}
.modal-wrapper .remodal-close:hover {
  color: #2b2e38 !important;
}
.modal-wrapper a:hover {
  opacity: 1;
}
@media screen and (max-width:1032px) {
    .remodal-wrapper {
    padding: 0 170px;
  }
  .modal-wrapper .modal-window {
    top: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .slick-dotted.slick-slider {
    width: 100% !important;
    order: 1;
  }
  .modal-wrapper .remodal-close {
    right: 0;
  }
  .modal-wrapper.modal-window .slider {
    margin: 0 auto;
}
}
@media screen and (max-width:760px) {
    .remodal-wrapper {
    padding: 80px 30px 0;
  }
}

.slick-dots {
  bottom: -132px!important;
  padding: 0 0 70px!important;
  white-space: nowrap;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.slick-dots::-webkit-scrollbar {
  display: none;
}
.slick-dots li:only-child {
  display: none;
}
.slick-dots li {
  width: 52px !important;
  height: 52px !important;
  margin: 0 2.5px !important;
}
.slick-dots li:first-child {
  margin: 0 2.5px 0 0 !important;
}
.slick-dots li:last-child {
  margin: 0 0 0 2.5px !important;
}

.slick-dots li button {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}
.slick-dots li button:before {
  display: none;
}
@media screen and (max-width:1032px) {
  .works__detail {
    width: 100%;
    max-width: 500px;
    margin: 10px auto 0;
  }
  .slick-dots {
    max-width: 500px;
    position: static!important;
    margin: 0 auto!important;
    padding: 10px 0 0!important;
  }
  .modal-wrapper.modal-window {
    height: auto;
    max-height: calc(100vh - 60px);
    overflow: hidden scroll;
    padding: 40px 0;
    justify-content: center;
  }
  .modal-wrapper.modal-window::-webkit-scrollbar{
  display: none;
  }
}
@media screen and (max-width:760px) {
  .remodal-wrapper {
    padding: 0 30px;
  }
}
.slick-slide img {
  width: 100%;
}
.slick-dotted.slick-slider {
  width: 57.2%;
  margin: 0 !important;
}

.remodal-wrapper.remodal-is-closed,
.remodal-wrapper.remodal-is-opened{
  display: block!important;
}
.remodal-wrapper.remodal-is-opened{
  z-index: 2;
}
.remodal-wrapper.remodal-is-closed{
  opacity: 0;
  z-index: -1;
}
.remodal-is-locked {
  height: 100%;
}

.content__title {
  margin-top: 18px;
  font-size: 2em;
  line-height: 1;
}

.error {
  margin-top: 12px;
}

.error a {
  text-decoration: underline;
  line-height: 4.5;
}

  .poster .works__detail{
    max-width: 238px;
  }
  .poster .modal-wrapper.modal-window .slider {
    max-width: 610px;
    order: 2;
  }
  .poster .modal-wrapper.modal-window .slider img {
    max-width: 610px;
    max-height: 406px;
    object-fit: contain;
  }
  .poster .slick-dots {
    max-width: 875px;
    position: static;
    padding: 0!important;
    margin: 10px auto;
  }
  .poster .slick-dots li img {
    object-fit: cover!important;
  }
  @media screen and (max-width: 1032px){
    .poster .works__detail {
      padding: 0px;
    }
    .poster .remodal-wrapper {
      padding: 0px 10vw;
    }
    .poster .modal-wrapper.modal-window .slider{
      order: 1;
    }
  }
  @media screen and (max-width:760px) {
    .poster .remodal-wrapper {
      padding: 0 30px;
    }
  }
