@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav,
ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

input {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  height: 100%;
}

body {
  font-weight: 400;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.1875;
  color: #464646;
  background-color: #FFFFFF;
}
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
}
body.is-active {
  overflow: hidden;
}

.l-siteName {
  padding: 160px 0 80px;
}
@media (max-width: 1200px) {
  .l-siteName {
    padding: 120px 0 60px;
  }
}
@media (max-width: 767px) {
  .l-siteName {
    padding: 80px 0 40px;
  }
}

.l-siteName__inner {
  padding: 0 40px;
}
@media (max-width: 767px) {
  .l-siteName__inner {
    padding: 0 20px;
  }
}

.l-work {
  padding: 80px 0;
}
@media (max-width: 1200px) {
  .l-work {
    padding: 60px 0;
  }
}
@media (max-width: 767px) {
  .l-work {
    padding: 40px 0;
  }
}

.l-work__inner {
  max-width: 1360px;
  padding: 0 40px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .l-work__inner {
    padding: 0 20px;
  }
}

.l-footer {
  padding: 40px 0;
}
@media (max-width: 767px) {
  .l-footer {
    padding: 20px 0;
  }
}

.p-siteName__title {
  font-size: 32px;
  color: #A5A5A5;
  letter-spacing: 2px;
  text-align: center;
  line-height: 1;
}
@media (max-width: 1200px) {
  .p-siteName__title {
    font-size: 28px;
    letter-spacing: 2px;
  }
}
@media (max-width: 767px) {
  .p-siteName__title {
    font-size: 20px;
    letter-spacing: 2px;
  }
}

.p-work__title-wrapper {
  text-align: center;
  margin-bottom: 80px;
}
@media (max-width: 1200px) {
  .p-work__title-wrapper {
    margin-bottom: 60px;
  }
}
@media (max-width: 767px) {
  .p-work__title-wrapper {
    margin-bottom: 40px;
  }
}

.p-work__title {
  font-size: 40px;
  letter-spacing: 2px;
  color: #464646;
  line-height: 1;
  margin-bottom: 15px;
}
@media (max-width: 1200px) {
  .p-work__title {
    font-size: 32px;
    margin-bottom: 10px;
  }
}
@media (max-width: 767px) {
  .p-work__title {
    font-size: 24px;
    margin-bottom: 5px;
  }
}

.p-work_subTitle {
  color: #A5A5A5;
}

.p-work__content {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 1200px) {
  .p-work__content {
    max-width: 1000px;
  }
}
@media (max-width: 767px) {
  .p-work__content {
    max-width: 500px;
  }
}

.p-work__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.p-work__item {
  width: calc(33.33% - 26.6666666667px);
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  padding-bottom: 20px;
  /*===================
    横3枚 左の空白
    ===================*/
  /*===================
    横2枚 + 横1枚 左の空白
    ===================*/
  /*===================
    横3枚 上の空白
    ===================*/
  /*===================
    横2枚 上の空白
    ===================*/
  /*===================
    横1枚 上の空白
    ===================*/
  /*====================================*/
}
.p-work__item:not(:nth-child(3n+1)) {
  margin-left: 40px;
}
@media (max-width: 1200px) {
  .p-work__item:not(:nth-child(3n+1)) {
    margin-left: 0;
  }
}
@media (max-width: 767px) {
  .p-work__item:not(:nth-child(3n+1)) {
    margin-left: 0;
  }
}
@media (max-width: 1200px) {
  .p-work__item:not(:nth-child(2n+1)) {
    margin-left: 20px;
  }
}
@media (max-width: 767px) {
  .p-work__item:not(:nth-child(2n+1)) {
    margin-left: 0;
  }
}
.p-work__item:nth-child(n+4) {
  margin-top: 40px;
}
@media (max-width: 1200px) {
  .p-work__item:nth-child(n+4) {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .p-work__item:nth-child(n+4) {
    margin-top: 0;
  }
}
@media (max-width: 1200px) {
  .p-work__item:nth-child(n+3) {
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  .p-work__item:nth-child(n+3) {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .p-work__item:not(:first-child) {
    margin-top: 20px;
  }
}
@media (max-width: 1200px) {
  .p-work__item {
    width: calc(50% - 10px);
    padding-bottom: 15px;
  }
}
@media (max-width: 767px) {
  .p-work__item {
    width: 100%;
    padding-bottom: 10px;
  }
}
.p-work__item:hover {
  opacity: 0.7;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}
.p-work__item:hover .p-work__item-img img {
  transform: scale(1.2, 1.2);
  transition: all 0.5s ease 0s;
}

.p-work__item-img {
  display: block;
  padding-top: 66.974%;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}
.p-work__item-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.p-work__item-title {
  margin-bottom: 20px;
  padding-left: 10px;
  color: #777777;
  font-size: 20px;
}
@media (max-width: 1200px) {
  .p-work__item-title {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .p-work__item-title {
    font-size: 16px;
  }
}

.p-work__item-text {
  padding-left: 10px;
  color: #A5A5A5;
  line-height: 1;
}
@media (max-width: 1200px) {
  .p-work__item-text {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .p-work__item-text {
    font-size: 14px;
  }
}

.p-privacyModal {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  max-width: calc(100% - 80px);
  max-height: calc(100% - 80px);
  height: 100%;
  overflow: visible;
  border: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  z-index: 30;
}
@media (max-width: 767px) {
  .p-privacyModal {
    max-width: calc(100% - 40px);
  }
}
.p-privacyModal::-webkit-backdrop {
  opacity: 0.2;
  background: #000000;
}
.p-privacyModal::backdrop {
  opacity: 0.2;
  background: #000000;
}

.p-privacyModal__inner {
  padding: 40px;
  height: inherit;
}
@media (max-width: 1200px) {
  .p-privacyModal__inner {
    padding: 20px;
  }
}
@media (max-width: 767px) {
  .p-privacyModal__inner {
    padding: 20px;
  }
}

.p-privacyModal__btn-wrapper {
  width: 30px;
  height: 30px;
  margin-left: auto;
  margin-bottom: 5px;
}

.p-privacyModal__btn {
  cursor: pointer;
  border: none;
  padding: 0;
  background: inherit;
  width: 100%;
  height: 100%;
  position: relative;
}

.p-privacyModal__btn-bar1 {
  position: absolute;
  content: "";
  left: 0;
  top: 16px;
  transform: rotate(-45deg);
  width: 30px;
  height: 2px;
  background: #000000;
}

.p-privacyModal__btn-bar2 {
  position: absolute;
  content: "";
  right: 0;
  top: 16px;
  transform: rotate(45deg);
  width: 30px;
  height: 2px;
  background: #000000;
}

.p-privacyModal__content {
  overflow: auto;
  overscroll-behavior-y: none;
  height: calc(100% - 40px);
  padding-bottom: 40px;
}
@media (max-width: 767px) {
  .p-privacyModal__content {
    height: calc(100% - 40px);
    padding-bottom: 0;
  }
}

.p-privacyModal__img {
  max-height: 600px;
  max-width: 1095px;
  margin: 0 auto 20px;
}
@media (max-width: 767px) {
  .p-privacyModal__img {
    margin-bottom: 10px;
  }
}

.p-privacyModal__table {
  border-collapse: collapse;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .p-privacyModal__table {
    max-width: 500px;
  }
}
.p-privacyModal__table th,
.p-privacyModal__table td {
  border: 1px solid #464646;
  font-size: 22px;
  padding: 10px 20px;
  font-weight: 400;
  line-height: 1;
  vertical-align: middle;
}
@media (max-width: 1200px) {
  .p-privacyModal__table th,
.p-privacyModal__table td {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .p-privacyModal__table th,
.p-privacyModal__table td {
    font-size: 16px;
    padding: 3px 4px;
  }
}
.p-privacyModal__table a {
  color: #A5A5A5;
}

.p-footer__copy-wrapper {
  text-align: center;
  font-size: 14px;
}
@media (max-width: 767px) {
  .p-footer__copy-wrapper {
    font-size: 12px;
  }
}