@charset "UTF-8";
@media screen and (max-width: 750px) {
  .display--pc {
    display: none;
  }
}
@media screen and (min-width: 751px) {
  .display--sp {
    display: none;
  }
}

html {
  font-size: 62.5%;
}

/*
Theme Name: ciao
Theme URL: ciao
Description: イタリア旅行記録
Author: seina.iwaya
Version: 0.0
*/
html {
  overflow-x: hidden;
}

main {
  background-color: #acbca3;
  background-image: linear-gradient(rgba(172, 188, 163, 0.8117647059), rgba(172, 188, 163, 0.8117647059)), url(https://maisondelamer-design.com/blog/wp-content/uploads/2025/01/noise.png);
  background-repeat: repeat;
  background-size: 100px;
  width: 100%;
  min-height: calc(100% - 63px);
}
@media screen and (max-width: 750px) {
  main {
    background: #2c2d2b;
  }
}

footer {
  padding: 24px;
  text-align: center;
  background-color: #acbca3;
  background-image: linear-gradient(rgba(172, 188, 163, 0.8117647059), rgba(172, 188, 163, 0.8117647059)), url(https://maisondelamer-design.com/blog/wp-content/uploads/2025/01/noise.png);
  background-repeat: repeat;
  background-size: 100px;
  width: 100%;
}
@media screen and (max-width: 750px) {
  footer {
    background: #2c2d2b;
    color: #fff;
  }
}
footer small {
  font-family: "Noto Sans JP", sans-serif;
}

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

.body--fixed {
  position: fixed;
}

.section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 32px 3.75% 0;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 101;
}
.header__logo {
  width: clamp(96px, 7.5vw, 200px);
}
.header__list {
  display: flex;
  font-family: "Average", serif;
  font-size: clamp(1.5rem, 1.171vw, 10rem);
}
@media screen and (max-width: 750px) {
  .header__list {
    font-size: 1rem;
  }
}
.header__item {
  margin-left: 40px;
}
.header__item .header__link {
  transition: 0.3s;
}
.header__item .header__link:hover {
  opacity: 0.7;
}
@media screen and (max-width: 750px) {
  .header__item {
    margin-left: 2em;
  }
}
.header__link {
  color: #2d231d;
}
@media screen and (max-width: 750px) {
  .header__link {
    color: #fff;
  }
}
.header__link--current {
  color: #2d231d;
  text-decoration: underline;
}
@media screen and (max-width: 750px) {
  .header__link--current {
    color: #fff;
  }
}
@media screen and (max-width: 750px) {
  .header__image {
    filter: invert(100%) sepia(7%) saturate(123%) hue-rotate(259deg) brightness(118%) contrast(100%);
  }
}

.categoryTitle {
  padding: clamp(158px, 12.343vw, 190px) 3.75% 0;
  color: #2d231e;
  font-family: "Bricolage Grotesque", serif;
  font-size: clamp(2.6rem, 2.031vw, 10rem);
  font-weight: 600;
  text-decoration: underline;
}
@media screen and (max-width: 750px) {
  .categoryTitle {
    color: #fff;
    font-size: 2.6rem;
  }
}

.categoryTitle + .photoList {
  padding-top: 8px;
}

.photoList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: clamp(158px, 12.343vw, 190px) 3.75% 0;
}
@media screen and (max-width: 750px) {
  .photoList {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}
.photoList__item {
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
  width: -webkit-fill-available;
  height: 14.84375vw;
  overflow: hidden;
}
@media screen and (max-width: 750px) {
  .photoList__item {
    height: 61vw;
  }
}
.photoList__modal {
  display: inline-block;
  width: -webkit-fill-available;
}
.photoList__image {
  min-width: -webkit-fill-available;
}
.photoList__mix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #acbca3;
  mix-blend-mode: color;
  opacity: 1;
  transition: 1s;
}
.photoList__mix--current {
  opacity: 0;
}
@media screen and (max-width: 750px) {
  .photoList__mix {
    opacity: 0;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: -webkit-fill-available;
  padding: 30px;
  display: flex;
  justify-content: center;
  transition: opacity 0.3s;
  pointer-events: none;
  opacity: 0;
  z-index: 100;
  background-color: rgba(15, 15, 15, 0.9);
  overflow-y: auto;
}
@media screen and (max-width: 750px) {
  .modal {
    padding: 0 3.75%;
  }
}
.modal.is-active {
  opacity: 1;
  pointer-events: auto;
}
.modal__overlay {
  position: absolute;
  width: 100%;
  height: 100%;
}
.modal__content {
  position: relative;
  padding: 0 20px;
  width: 80%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: clamp(84px, 6.562vw, 168px) 0 0 0;
  text-align: center;
  box-sizing: border-box;
}
@media screen and (max-width: 750px) {
  .modal__content {
    width: 100%;
    margin-top: 80px;
    padding: 24px 0 0;
  }
}
.modal__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.modal__close {
  position: absolute;
  display: block;
  top: 0;
  right: -34px;
  color: #dadada;
  font-family: "Figtree", sans-serif;
  font-size: clamp(1.1rem, 0.859vw, 10rem);
  cursor: pointer;
}
@media screen and (max-width: 750px) {
  .modal__close {
    right: 0;
    font-size: 1.1rem;
  }
}

.swiper__box {
  position: fixed;
  z-index: 7777;
  display: none;
  width: 80%;
  max-width: 944px;
  margin: 0;
  text-align: center;
  box-sizing: border-box;
}
@media screen and (max-width: 750px) {
  .swiper__box {
    width: 70%;
  }
}
.swiper__image {
  height: 100%;
  max-height: calc(100vh - 200px);
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (max-width: 750px) {
  .swiper__image {
    max-height: calc(100vh - 216px);
  }
}
.swiper__container {
  display: grid;
  grid-template-columns: 1fr 0fr;
  row-gap: 4px;
  align-items: baseline;
  margin-top: clamp(15px, 1.171vw, 30px);
  color: #dadada;
  font-family: "Bricolage Grotesque", serif;
  text-align: start;
}
@media screen and (max-width: 750px) {
  .swiper__container {
    row-gap: 0;
  }
}
.swiper__titles {
  display: grid;
  grid-template-columns: 0fr auto 1fr;
  align-items: baseline;
}
@media screen and (max-width: 750px) {
  .swiper__titles {
    grid-template-columns: 0fr auto;
    grid-column: 1/4;
    row-gap: 8px;
  }
}
.swiper__number, .swiper__city, .swiper__title {
  padding-right: 12px;
  font-size: clamp(1.6rem, 1.25vw, 10rem);
  font-weight: 600;
}
@media screen and (max-width: 750px) {
  .swiper__number, .swiper__city, .swiper__title {
    font-size: 1.6rem;
  }
}
.swiper__city, .swiper__title {
  padding-left: 12px;
  border-left: 1px solid #fff;
}
.swiper__title {
  padding-right: 0;
  font-size: clamp(1.4rem, 1.093vw, 10rem);
  font-weight: 500;
}
@media screen and (max-width: 750px) {
  .swiper__title {
    font-size: 1.4rem;
    padding-left: 0;
    border-left: none;
    grid-column: 1/4;
  }
}
.swiper__name {
  font-size: clamp(1.2rem, 0.937vw, 10rem);
  font-weight: 500;
  text-align: right;
}
@media screen and (max-width: 750px) {
  .swiper__name {
    margin-top: 32px;
    font-size: 1.2rem;
  }
}
.swiper__date {
  margin-top: 5px;
  font-size: clamp(1rem, 0.781vw, 10rem);
  font-weight: 600;
  text-align: start;
}
@media screen and (max-width: 750px) {
  .swiper__date {
    grid-column: 1/2;
    grid-row: 2/4;
    font-size: 1rem;
  }
}
.swiper__link {
  transition: 0.3s;
}
.swiper__link:hover {
  opacity: 0.7;
}
.swiper-button-prev, .swiper-button-next {
  width: 40px;
  height: 60px;
  transform: translateY(-50%);
}
@media screen and (max-width: 750px) {
  .swiper-button-prev, .swiper-button-next {
    display: none;
  }
}
.swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, -20px);
}
.swiper-button-next {
  right: var(--swiper-navigation-sides-offset, -20px);
}
.swiper-button-prev:after, .swiper-button-next:after {
  width: 25px;
  height: 25px;
  border-top: 1px solid #919191;
  border-right: 1px solid #919191;
  transform: rotate(-135deg);
  font-size: 0;
}
.swiper-button-next:after {
  transform: rotate(45deg);
}

_::-webkit-full-page-media, _:future, :root .photoList__mix {
  -webkit-transition: 0s;
  transition: 0s;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  ::i-block-chrome, .photoList__mix {
    transition: 0s;
  }
}