@charset "utf-8";
/* 公式カラーパレット */
/* 仮 */
/* fonts */
/* ========================================
# Portfolio
======================================== */
.full_page * {
  box-sizing: border-box;
}
.main-contents ul {
  list-style: none;
}
.main-contents .inner > .btn-block {
  display: none;
}
@media only screen and (max-width: 780px) {
  .main-contents .inner > .btn-block {
    display: flex;
    margin: 0 0 40px;
  }
}
.main-contents .flip-btn {
  min-width: 0;
  height: 32px;
  border-width: 1px;
  border-radius: 16px;
  font-size: 1.2rem;
}
@media (hover: hover) and (pointer: fine) {
  .hover-thumb img {
    transition: scale 0.5s ease;
  }
  .hover-thumb:hover img {
    scale: 1.1;
  }
}
.section {
  position: relative;
  margin-bottom: 60px;
}
.section .btn-block {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}
@media only screen and (max-width: 780px) {
  .section .btn-block {
    position: static;
    margin-top: 30px;
  }
}
.sect-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 32px;
  padding-right: 200px;
  margin-bottom: 20px;
}
.sect-header .sect-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 1.4rem;
  line-height: 1.2;
}
.sect-header .sect-title span {
  flex: 1;
}
@media only screen and (max-width: 780px) {
  .sect-header {
    display: block;
    min-height: 0;
    padding: 0;
    margin-bottom: 15px;
  }
}
.icon {
  display: block;
  align-self: flex-start;
  margin-right: 5px;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
}
.icon--poster {
  width: 18px;
  height: 24px;
  background-image: url(../images/portfolio/ico_pf_poster.svg);
}
.icon--web {
  width: 34px;
  height: 24px;
  background-image: url(../images/portfolio/ico_pf_web.svg);
}
.list-graphic {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 0;
}
.list-graphic li {
  width: 24.1%;
  max-width: 236px;
  cursor: pointer;
}
.list-graphic li .thumb {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 71.19%;
  overflow: hidden;
}
.list-graphic li .thumb picture {
  display: block;
}
.list-graphic li .thumb img {
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.list-graphic li .figcaption {
  margin-top: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}
@media (hover: hover) and (pointer: fine) {
  .list-graphic li .figcaption {
    transition: color 0.3s ease;
  }
  .list-graphic li:hover .figcaption {
    color: #3cd2cb;
  }
}
@media only screen and (max-width: 780px) {
  .list-graphic {
    gap: 15px 0;
  }
  .list-graphic li {
    width: 47.62%;
    max-width: none;
  }
  .list-graphic li .figcaption {
    display: none;
  }
}
.list-web {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 0;
}
.list-web li {
  width: 32.5%;
  max-width: 318px;
}
.list-web li a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.list-web li a .thumb {
  position: relative;
  display: block;
  width: 100%;
  padding-top: 59.75%;
  overflow: hidden;
}
.list-web li a .thumb picture {
  display: block;
}
.list-web li a .thumb img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.list-web li a .thumb::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6) url(../images/portfolio/ico_thumb_outerlink.svg) center center no-repeat;
  background-size: 40px auto;
  opacity: 0;
}
.list-web li a .figcaption {
  margin-top: 15px;
  line-height: 1.2;
}
.list-web li a .name {
  margin-bottom: 5px;
  font-size: 1.3rem;
}
.list-web li a .url {
  font-size: 1.2rem;
}
@media (hover: hover) and (pointer: fine) {
  .list-web a .thumb::after {
    transition: opacity 0.3s ease;
  }
  .list-web a .figcaption {
    transition: color 0.3s ease;
  }
  .list-web a:hover .figcaption {
    color: #3cd2cb;
  }
  .list-web a:hover .thumb::after {
    opacity: 1;
  }
}
@media only screen and (max-width: 780px) {
  .list-web {
    gap: 15px 0;
  }
  .list-web li {
    width: 47.62%;
    max-width: none;
  }
  .list-web li a .figcaption {
    display: none;
  }
}
/* ========================================
# Modal Window
======================================== */
.modal-container {
  display: none;
  position: fixed;
  z-index: 4000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
}
.modal-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
}
.modal-window {
  position: absolute;
  align-items: stretch;
  display: flex;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 90vw;
  max-height: 90vh;
  transform: translate(-50%, -50%);
  padding: 30px;
  border-radius: 10px;
  background-color: #fff;
  overflow: hidden;
}
.modal-window .modal-close {
  position: absolute;
  display: block;
  z-index: 4010;
  top: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.modal-window .modal-close::before {
  content: "";
  display: block;
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  opacity: 0.5;
}
.modal-window .modal-close::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  padding-top: 100%;
  background: url(../images/portfolio/ico_modal_close.svg) center center no-repeat;
  background-size: contain;
}
@media (hover: hover) and (pointer: fine) {
  .modal-window .modal-close::before {
    transition: background 0.3s ease;
  }
  .modal-window .modal-close:hover::before {
    background-color: #ddd;
  }
}
.modal-window .modal-detail {
  width: 100%;
}
.modal-window .modal-detail-inr {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}
.modal-window .title01 {
  padding-right: 50px;
  margin-bottom: 5px;
  font-size: 1.2rem;
  line-height: 1.2;
}
.modal-window .title02 {
  padding-right: 50px;
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}
.modal-window .image-box-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  margin: 0 34px;
}
.modal-window .image-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  justify-content: space-between;
  align-items: stretch;
}
.modal-window .image-box .image {
  display: flex;
  align-items: center;
  height: 100%;
}
.modal-window .image-box img {
  display: block;
}
.modal-window .image-box figcaption {
  display: block;
  margin-top: auto;
  text-align: center;
  font-size: 1.2rem;
}
.modal-window.type01 {
  width: 788px;
}
.modal-window.type01 .image-box01 {
  max-width: 330px;
}
.modal-window.type01 .image-box01 img {
  aspect-ratio: 330 / 454;
}
.modal-window.type01 .image-box02 {
  max-width: 330px;
}
.modal-window.type01 .image-box02 img {
  aspect-ratio: 330 / 454;
}
.modal-window.type02 {
  width: 911px;
}
.modal-window.type02 .image-box01 {
  max-width: 330px;
}
.modal-window.type02 .image-box01 img {
  aspect-ratio: 330 / 454;
}
.modal-window.type02 .image-box02 {
  max-width: 430px;
}
.modal-window.type02 .image-box02 img {
  aspect-ratio: 430 / 454;
}
.modal-window.type03 {
  width: 1079px;
}
.modal-window.type03 .image-box01 {
  max-width: 330px;
}
.modal-window.type03 .image-box01 img {
  aspect-ratio: 330 / 454;
}
.modal-window.type03 .image-box02 {
  max-width: 430px;
}
.modal-window.type03 .image-box02 img {
  aspect-ratio: 430 / 454;
}
.modal-window.type03 .image-box03 {
  margin-left: 15px;
  max-width: 158px;
}
.modal-window.type03 .image-box03 img {
  aspect-ratio: 158 / 424;
}
.modal-window.type04 {
  width: 780px;
}
.modal-window.type04 .image-box01 {
  max-width: 330px;
}
.modal-window.type04 .image-box01 img {
  aspect-ratio: 330 / 454;
}
.modal-window.type05 {
  width: 911px;
}
.modal-window.type05 .image-box01 {
  max-width: 330px;
}
.modal-window.type05 .image-box01 img {
  aspect-ratio: 330 / 454;
}
.modal-window.type05 .image-box02 {
  max-width: 430px;
}
.modal-window.type05 .image-box02 img {
  aspect-ratio: 430 / 314;
}
.modal-window.type06 {
  width: 911px;
}
.modal-window.type06 .image-box01 {
  max-width: 330px;
}
.modal-window.type06 .image-box01 img {
  aspect-ratio: 330 / 454;
}
.modal-window.type06 .image-box02 {
  max-width: 338px;
}
.modal-window.type06 .image-box02 img {
  aspect-ratio: 338 / 460;
}
.modal-window .caption-extra {
  text-align: center;
  font-size: 1.2rem;
}
@media only screen and (max-width: 780px) {
  .modal-window {
    width: 84vw !important;
    height: auto;
    max-width: none;
    max-height: calc(100vh - 20vw);
    max-height: calc(100dvh - 20vw);
    padding: 10px 2vw 7.5vw;
  }
  .modal-window::after {
    content: "";
    position: absolute;
    display: block;
    z-index: 2010;
    top: auto;
    bottom: 0;
    right: auto;
    left: 0;
    width: 100%;
    height: 31.8vw;
    background: rgba(255, 255, 255, 0.5);
    background: linear-gradient(0deg, #ffffff 0%, #ffffff 25%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
  }
  .modal-window .modal-close {
    top: auto;
    bottom: 15px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 20vw;
    height: 20vw;
    max-width: 75px;
    max-height: 75px;
    border-radius: 50%;
    background-color: #fff;
  }
  .modal-window .modal-close::before {
    display: none;
  }
  .modal-window .modal-close::after {
    top: 50%;
    left: 50%;
    width: 56%;
    padding-top: 56%;
    transform: translate(-50%, -50%);
  }
  .modal-window .modal-detail {
    max-height: calc(100vh - 32.5vw);
    max-height: calc(100dvh - 32.5vw);
    overflow-y: auto;
  }
  .modal-window .modal-detail-inr {
    padding: 5px 2vw 30vw;
  }
  .modal-window .title01 {
    padding: 0;
    margin-bottom: 2px;
    font-size: 1rem;
  }
  .modal-window .title02 {
    padding: 0;
    margin-bottom: 5px;
  }
  .modal-window .image-box-container {
    flex-direction: column;
    margin: 0 6%;
  }
  .modal-window .image-box {
    display: block;
    margin: 0 auto;
    max-width: none !important;
  }
  .modal-window .image-box figcaption {
    margin: 5px 0 15px;
    font-size: 1.1rem;
  }
  .modal-window .caption-extra {
    font-size: 1.1rem;
  }
  .modal-window .image-type--a,
  .modal-window .image-type--b,
  .modal-window .image-type--c,
  .modal-window .image-type--e,
  .modal-window .image-type--f {
    width: 100%;
  }
  .modal-window .image-type--d {
    width: 50%;
    margin: 0;
  }
}
