@charset "UTF-8";

/*-----------------------------
 studio
-----------------------------*/
.studio__title {
  flex: 1;
  color: var(--color-secondary);
  font-family: var(--font-Poppins);
  font-size: min(40 / 1240 * 100vw, 4rem);
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.studio__sub-title {
  font-family: var(--font-Poppins);
  font-size: clamp(2rem, 30 / 1240 * 100vw, 3rem);
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.studio__sub-title .text-deco {
  background: linear-gradient(transparent 50%,
      rgba(255, 134, 115, 0.5) 50% 100%);
  padding: 0 3px;
}

.studio .section__inner {
  padding: 120px 0 0;
}

.link__content {
  margin-top: 40px;
  background: rgba(255, 134, 115, 0.2);
  padding: 40px 0;
  text-align: center;
}

.link__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 40px;
  row-gap: 20px;
}

.link__item {
  flex: 0 1 calc((100% - 40px * 2) / 3);
  min-width: 330px;
}

.link__item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  font-family: var(--font-Poppins);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.15em;
  padding: 20px 0;
  text-align: center;
  transition: 0.3s ease;
}

.link__text {
  margin-top: 40px;
  padding: 0 min(5vw, 4rem);
}

.studio__text {
  line-height: 2.4;
  text-align: center;
  padding: 0 min(5vw, 4rem);
  text-align: left;
  margin-top: 80px;
}

.studio__address {
  text-align: right;
}

.studio__address .body {
  display: inline-block;
  text-align: left;
  padding: 0 min(5vw, 4rem);
}

.studio__address .link {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .studio__address .link {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.studio__address .link a {
  margin-top: 0;
}

.studio__address .link span {
  color: var(--color-secondary);
  font-weight: bold;
  font-size: 0.85em;
  line-height: 1.4;
}

.studio-cards {
  display: flex;
  flex-wrap: wrap;
  column-gap: min(78 / 1140 * 100vw, 78px);
  row-gap: 80px;
  margin: 60px auto;
  width: calc(100% - 20px * 2);
  max-width: 1100px;
}

.studio-card {
  position: relative;
  flex: 0 1 calc((100% - min(78 / 1140 * 100vw, 78px) * 2) / 3);
}

.studio-card__img img {
  object-fit: cover;
  aspect-ratio: 320/263;
  width: 100%;
}

.studio-card__body {
  margin-top: 24px;
}

.studio-card__num {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-gray);
  border-radius: 50%;
  font-family: var(--font-Poppins);
  font-size: min(34 / 1140 * 100vw, 3.4rem);
  font-weight: bold;
  line-height: 1;
  aspect-ratio: 1/1;
  width: min(84 / 1140 * 100vw, 84px);
}

.studio-card__num::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  background-color: var(--color-gray);
  height: 1px;
  width: min(26 / 1140 * 100vw, 26px);
}

.studio-card__title {
  color: var(--color-secondary);
  font-size: 1.8rem;
  font-weight: bold;
}

.studio-card__text {
  font-size: 1.4rem;
  margin-top: 16px;
}

.studio-card__map {
  margin: 100px auto 0;
  width: 80%;
  max-width: 940px;
}

.photographer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  row-gap: 12px;
  margin-top: 100px;
}

.photographer__image {
  position: relative;
  flex: 0 1 calc(438 / 1200 * 100%);
  padding-bottom: min(50 / 1240 * 100vw, 50px);
  padding-left: min(50 / 1240 * 100vw, 50px);
  z-index: 1;
}

.photographer__image::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  aspect-ratio: 1 / 1;
  width: calc(100% - min(50 / 1240 * 100vw, 50px));
  z-index: -1;
}

.photographer__image img {
  object-fit: cover;
  width: 100%;
}

.photographer__text {
  flex: 0 1 calc(773 / 1200 * 100%);
  margin-left: calc(100% - (773 / 1200 * 100%) - calc(438 / 1200 * 100%));
  padding-right: min(50 / 1240 * 100vw, 50px);
  z-index: 1;
}

.photographer__text--inner {
  margin-top: 20px;
  padding-left: min(163 / 1240 * 100vw, 163px);
}

.photographer__name {
  letter-spacing: 0.2em;
  font-size: 32px;
  margin: 0.85em 0;
}

.photographer__bold {
  font-weight: bold;
  font-size: 20px;
  line-height: 1.1em;
  margin-top: 1.5em;
  margin-bottom: 8px;
}

.photographer__text p {
  margin: 0.85em 0;
}

.photographer__text p.line {
  border-top: 1px solid #e1e1e1;
  padding-top: 0.85em;
}

.studio.studio_photographer .section__inner {
  padding: 120px;
}

@media screen and (max-width: 768px) {
  .studio__text {
    line-height: 2;
    text-align: left;
  }

  .studio-cards {
    column-gap: 50px;
    row-gap: 50px;
    margin: 60px auto;
    width: 90%;
  }

  .studio-card {
    position: relative;
    flex: 0 1 calc((100% - 50px) / 2);
  }

  .studio-card__body {
    margin-top: 12px;
  }

  .studio-card__num {
    font-size: 2.2rem;
    width: 56px;
  }

  .studio-card__num::after {
    width: 18px;
  }

  .studio-card__title {
    font-size: 1.6rem;
  }

  .studio-card__text {
    margin-top: 8px;
  }

  .studio-card__map {
    margin: 60px auto 0;
    width: 100%;
  }

  .studio.studio_photographer .section__inner {
    padding: 60px 0;
  }

  .photographer__image {
    flex: 0 1 83%;
    padding-bottom: min(30 / 375 * 100vw, 50px);
    padding-left: min(30 / 375 * 100vw, 50px);
  }

  .photographer__text {
    display: contents;
  }

  .photographer__text--inner {
    padding-left: 0;
  }
}

@media screen and (max-width: 540px) {
  .studio-card {
    flex: 0 1 100%;
  }
}

.studio.studio_photographer .section__inner {
  padding-bottom: 0;
}

.studio.--last {
  padding-bottom: 120px;
}

@media screen and (max-width: 768px) {
  .studio.--last {
    padding-bottom: 60px;
  }
}