@charset "UTF-8";

/*-----------------------------
　TOPページ
-----------------------------*/
:root {
  --color-primary: #f29041;
  --color-secondary: #ff8673;
  --color-tertiary: #c54a7e;
  --color-gray: #717171;
  --color-white: #fff;
  --color-black: #111111;
  --text-color: #111111;
  --bg-primary: #fff;
  --bg-secondary: #faf6f2;
  --font-primary: "Yu Gothic Medium", "游ゴシック Medium", YuGothic,
    "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  --font-KleeOne: "Klee One", cursive;
  --font-Poppins: "Poppins", sans-serif;
}

.section-bg {
  width: 100%;
}

.section-bg img {
  object-fit: cover;
  height: auto;
  min-height: 120px;
  max-height: 300px;
  width: 100%;
}

/* メインビジュアル */
.home .main-container::before {
  content: '';
  width: 100vw;
  height: 100vh;
  /*background-image: url(/punaphoto/wp-content/themes/punaphoto/common/images/top/mv_img01.jpg);*/
  background-image: url(../images/top/mv_img01.jpg);
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.top-mv {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-mv__inner {
  position: relative;
  /*padding: 30px 0 0;*/
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.top-mv__inner::before {
  /*content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--color-primary);
  height: calc(100% + 256px);
  width: min(425 / 1440 * 100vw, 425px);*/
}

.top-mv__title-wrap {
  position: relative;
  margin: 0 auto;
  padding: min(80 / 1440 * 100vw, 80px);
  padding-bottom: 0;
  width: calc(100% - (20px * 2));
  max-width: 1100px;
}

.top-mv__title-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 1px solid var(--color-gray);
  border-left: 1px solid var(--color-gray);
  aspect-ratio: 1/1;
  width: min(152 / 1440 * 100vw, 152px);
}

.top-mv__title {
  width: 100%;
  max-width: 928px;
}

.top-mv__text {
  font-size: clamp(1.8rem, 24 / 1440 * 100vw, 2.4rem);
  font-weight: bold;
  line-height: 2;
  letter-spacing: 0.3em;
  margin-top: 30px;
}

.top-mv__list {
  margin-top: 57px;
  width: 100%;
}

.top-mv__item {
  max-width: min(935 / 1440 * 100vw, 935px);
}

.top-mv__item img {
  object-fit: cover;
  aspect-ratio: 935/626;
  width: 100%;
}

.swiper-button-prev,
.swiper-button-next {
  height: 60px;
  width: 60px;
}

.swiper-button-prev {
  left: calc(50% - min(467 / 1440 * 100vw, 467px) - 12px / 2);
  transform: translateX(-50%);
}

.swiper-button-next {
  right: calc(50% - min(467 / 1440 * 100vw, 467px) - 12px / 2);
  transform: translateX(50%);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  background: url(../images/top/mv_ar.svg) no-repeat center center/contain;
  aspect-ratio: 1/1;
  width: 100%;
}

.swiper-button-prev::after {
  transform: scale(-1, 1);
}

.top-mv__logo {
  padding: 5rem;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  position: relative;
  width: 36rem;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-mv__logo img {
  width: min(30vw, 20rem);
}

.top-mv__h1 {
  color: white;
  text-align: center;
  margin-top: 3rem;
}

@media screen and (max-width: 768px) {
  .top-mv__logo {
    margin-top: -100px !important;
    width: 230px;
    height: 230px;
  }
}

@media screen and (min-width: 1441px) {
  .top-mv__inner::before {
    width: calc((100% - 1440px) / 2 + 425px);
  }
}

@media screen and (max-width: 768px) {
  .top-mv__inner {
    padding: 20px 0 0;
  }

  .top-mv__inner::before {
    top: 175px;
    height: calc(100% - 175px + min(340 / 375 * 100vw, 460px));
    width: calc(46 / 375 * 100vw);
  }

  .top-mv__title-wrap {
    padding: min(37 / 375 * 100vw, 42px) 0 0 min(30 / 375 * 100vw, 42px);
  }

  .top-mv__title-wrap::before {
    width: min(80 / 375 * 100vw, 120px);
  }

  .top-mv__text {
    font-size: clamp(1.6rem, 16 / 375 * 100vw, 2.4rem);
    margin-top: 26px;
  }

  .top-mv__list {
    margin-top: 25px;
  }

  .top-mv__item {
    max-width: calc(335 / 375 * 100vw);
  }

  .swiper-button-prev,
  .swiper-button-next {
    height: 36px;
    width: 36px;
  }

  .swiper-button-prev {
    left: calc(50% - (167 / 375 * 100vw));
    transform: translateX(-40%);
  }

  .swiper-button-next {
    right: calc(50% - (167 / 375 * 100vw));
    transform: translateX(40%);
  }
}

/* message */
.top-message__inner {
  position: relative;
}

.top-message__inner::after {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(-70px, -70 / 1440 * 100vw, -20px);
  background: url(../images/top/message_deco01.png) no-repeat right top/contain;
  aspect-ratio: 165/98;
  width: 100%;
}

.top-message .section__content {
  position: relative;
}

.top-message__title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: clamp(3.2rem, 80 / 1340 * 100vw, 7.5rem);
}

.top-message-media1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: min(70 / 1240 * 100vw, 70px);
  row-gap: 40px;
  margin: 0 0 0 auto;
  padding-left: 52px;
  padding-right: min(50 / 1240 * 100vw, 50px);
  width: 100%;
  max-width: 1122px;
}

.top-message-media1__body {
  flex: 1;
}

.top-message-media1__text {
  font-family: var(--font-KleeOne);
  font-size: clamp(2rem, 30 / 1240 * 100vw, 3rem);
  font-weight: 600;
  line-height: 2.2;
  letter-spacing: 0.1em;
}

.top-message-media1__img {
  flex: 0 1 min(560 / 1240 * 100vw, 560px);
}

.top-message-media1__img img {
  object-fit: cover;
  aspect-ratio: 7/3;
  width: 100%;
}

.top-message-media2 {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  row-gap: 30px;
  margin-top: 90px;
}

.top-message-media2__body {
  flex: 0 1 min(590 / 1240 * 100vw, 590px);
  padding-top: min(25 / 1240 * 100vw, 25px);
}

.top-message-media2__text {
  line-height: 2.4;
}

.top-message-media2__text+.top-message-media2__text {
  margin-top: min(30 / 1240 * 100vw, 30px);
}

.top-message-media2__img-wrap {
  position: relative;
  flex: 0 1 min(460 / 1240 * 100vw, 460px);
  aspect-ratio: 460/389;
}

.top-message-media2__img {
  position: absolute;
  width: calc(285 / 460 * 100%);
  z-index: 1;
}

.top-message-media2__img:nth-child(1) {
  top: 0;
  left: 0;
}

.top-message-media2__img:nth-child(1)::before {
  content: "";
  position: absolute;
  bottom: -45px;
  left: 50px;
  background-color: var(--color-primary);
  height: 50%;
  width: 100%;
  z-index: -1;
}

.top-message-media2__img:nth-child(2) {
  bottom: 0;
  right: 0;
}

.top-message-media2__img img {
  object-fit: cover;
  aspect-ratio: 1/1;
  width: 100%;
}

.top-message__btn {
  margin-top: 100px;
}

@media screen and (max-width: 1100px) {
  .top-message-media2 {
    column-gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .top-message__inner::after {
    right: -20px;
    background: url(../images/top/message_deco01-sp.png) no-repeat right top/contain;
    aspect-ratio: 375/452;
  }

  .top-message__title {
    top: 20px;
    left: 11px;
    width: min(27 / 375 * 100vw, 40px);
  }

  .top-message-media1 {
    padding-left: 0;
    padding-right: 0;
    width: 82%;
  }

  .top-message-media1__body {
    flex: 0 1 100%;
  }

  .top-message-media1__text {
    font-size: min(20 / 375 * 100vw, 3rem);
  }

  .top-message-media1__img {
    flex: 0 1 100%;
  }

  .top-message-media2 {
    justify-content: center;
    margin-top: 50px;
  }

  .top-message-media2__body {
    flex: 0 1 100%;
    padding-top: 0;
  }

  .top-message-media2__text {
    line-height: 2;
  }

  .top-message-media2__text+.top-message-media2__text {
    margin-top: 20px;
  }

  .top-message-media2__img-wrap {
    position: relative;
    flex: 0 1 83%;
  }

  .top-message__btn {
    margin-top: 50px;
  }
}

/* service */
.top-service {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1440px;
}

.top-service::before {
  content: "";
  position: absolute;
  top: 200px;
  right: 0;
  background: url(../images/top/service_bg.jpg) no-repeat center center/cover;
  height: calc(100% - 200px);
  width: min(400 / 1440 * 100vw, 400px);
}

.top-service__inner {
  position: relative;
  z-index: 1;
}

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

.top-service-media--reverse {
  flex-direction: row-reverse;
}

.top-service-media+.top-service-media {
  margin-top: 100px;
}

.top-service-media__img {
  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;
}

.top-service-media--reverse .top-service-media__img {
  padding-right: min(50 / 1240 * 100vw, 50px);
  padding-left: 0;
}

.top-service-media__img::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;
}

.top-service-media--reverse .top-service-media__img::before {
  left: auto;
  right: 0;
}

.top-service-media__img img {
  object-fit: cover;
  aspect-ratio: 1/1;
  width: 100%;
}

.top-service-media__body {
  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;
}

.top-service-media--reverse .top-service-media__body {
  flex: 0 1 calc(660 / 1200 * 100%);
  margin-left: 0;
  padding-right: 0;
}

.top-service-media__head {
  display: flex;
  align-items: center;
  column-gap: 33px;
}

.top-service-media__num {
  position: relative;
  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(40 / 1240 * 100vw, 4rem);
  font-weight: bold;
  line-height: 1;
  aspect-ratio: 1/1;
  width: min(96 / 1240 * 100vw, 96px);
}

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

.top-service-media__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;
}

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

.top-service-media__text {
  line-height: 2.4;
}

.top-service-media__btn {
  margin: 40px 0 0 auto;
}

@media screen and (max-width: 768px) {
  .top-service::before {
    top: 100px;
    height: calc(100% - 100px);
    background-position: right center;
    width: calc(100 / 375 * 100vw);
  }

  .top-service-media {
    justify-content: center;
  }

  .top-service-media+.top-service-media {
    margin-top: 60px;
  }

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

  .top-service-media--reverse .top-service-media__img {
    padding-right: min(30 / 375 * 100vw, 50px);
  }

  .top-service-media__img::before {
    width: calc(100% - min(30 / 375 * 100vw, 50px));
  }

  .top-service-media__body {
    display: contents;
  }

  .top-service-media__head {
    order: -1;
    flex: 0 1 100%;
    column-gap: 20px;
  }

  .top-service-media__num {
    font-size: min(22 / 375 * 100vw, 4rem);
    width: min(60 / 375 * 100vw, 96px);
  }

  .top-service-media__num::after {
    width: min(20 / 375 * 100vw, 30px);
  }

  .top-service-media__title {
    font-size: min(22 / 375 * 100vw, 4rem);
  }

  .top-service-media__foot {
    margin-top: 0;
    padding-left: 0;
  }

  .top-service-media__text {
    line-height: 2;
  }

  .top-service-media__btn {
    margin: 20px auto 0;
  }
}

/* studio */
.top-studio__inner {
  padding: 0;
}

.top-studio__content {
  margin-right: max((100% - 100vw) / 2, -70px);
  margin-left: max((100% - 100vw) / 2, -70px);
  width: calc(100% + min((100vw - 100%) / 2, 70px) * 2);
  max-width: 1920px;
}

.top-studio-cards {
  display: flex;
  flex-wrap: wrap;
  column-gap: 20px;
  row-gap: 10px;
}

.top-studio-card {
  flex: 0 1 calc((100% - 20px) / 2);
}

.top-studio-card__img {
  width: 100%;
}

.top-studio-card__img img {
  object-fit: cover;
  aspect-ratio: 71/40;
  width: 100%;
}

.top-studio-card__body {
  position: relative;
  background-color: var(--bg-primary);
  margin: max(-100 / 1440 * 100vw, -100px) 0 0 auto;
  padding: 40px min(50 / 1440 * 100vw, 50px) 58px 50px;
  width: 85%;
  max-width: 500px;
  z-index: 1;
}

.top-studio-card__num {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-42%, -25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 7px;
  background-color: var(--color-primary);
  border-radius: 50%;
  color: var(--color-white);
  font-family: var(--font-Poppins);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  aspect-ratio: 1/1;
  width: 78px;
}

.top-studio-card__num .text-sm {
  font-size: 1rem;
}

.top-studio-card__title {
  color: var(--color-secondary);
  font-size: min(24 / 375 * 100vw, 2.4rem);
  font-weight: bold;
}

.top-studio-card__text {
  line-height: 2;
  margin-top: 16px;
}

.top-studio__btn {
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .top-studio__content {
    margin-right: -20px;
    margin-left: -20px;
    width: calc(100% + 20px * 2);
  }

  .top-studio-cards {
    row-gap: 20px;
  }

  .top-studio-card {
    flex: 0 1 100%;
  }

  .top-studio-card__body {
    margin: -50px 0 0 auto;
    padding: 20px;
    padding-left: 40px;
    width: 90%;
  }

  .top-studio-card__num {
    row-gap: 3px;
    font-size: 2rem;
    width: 60px;
  }

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

  .top-studio__btn {
    margin-top: 0px;
  }
}

/* works,news */
.top-works__inner {
  padding-bottom: 0;
}

.top-works__btn,
.top-news__btn {
  margin-top: 60px;
}

@media screen and (max-width: 768px) {

  .top-works__btn,
  .top-news__btn {
    margin-top: 40px;
  }
}

/* gallery */
.top-gallery__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

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

.top-gallery__content {
  position: relative;
  /* background-color: var(--bg-primary); */
  padding: 50px 100px 100px;
}

.top-gallery__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  border-top: 1px solid var(--color-gray);
  border-left: 1px solid var(--color-gray);
  aspect-ratio: 1/1;
  width: 50px;
}

.top-gallery__content::after {
  content: "";
  position: absolute;
  bottom: 50px;
  right: 50px;
  border-bottom: 1px solid var(--color-gray);
  border-right: 1px solid var(--color-gray);
  aspect-ratio: 1/1;
  width: 50px;
}

/* .top-gallery .section__title--eng {
  position: absolute;
  top: 50px;
  right: 100px;
  transform: translateX(110%);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  z-index: 2;
} */

.top-gallery #sb_instagram {
  padding-bottom: 0 !important;
}

.top-gallery #sbi_load {
  margin-top: 40px;
}

.top-gallery #sb_instagram .sbi_follow_btn {
  margin: 0;
  width: 100%;
}

.top-gallery #sb_instagram .sbi_follow_btn a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  border-radius: 0;
  font-family: var(--font-Poppins);
  font-size: 1.4rem;
  font-weight: normal;
  letter-spacing: 0.2em;
  margin: 0 auto;
  padding: 0;
  height: 70px;
  width: 100%;
  max-width: 285px;
}

.top-gallery #sb_instagram .sbi_follow_btn a:hover,
.top-gallery #sb_instagram .sbi_follow_btn a:focus {
  box-shadow: none;
  background-color: var(--color-tertiary) !important;
}

@media screen and (max-width: 768px) {
  .top-gallery__inner {
    max-width: 540px;
  }

  .top-gallery__inner::before {
    left: max((100% - 100vw) / 2, -60px);
    width: calc(100% - min(80 / 375 * 100vw, 100px));
    z-index: -1;
  }

  .top-gallery__content {
    padding: 30px 20px;
  }

  .top-gallery__content::before {
    left: 10px;
    width: 30px;
  }

  .top-gallery__content::after {
    bottom: 0;
    right: 10px;
    width: 30px;
  }

  .top-gallery .section__title--eng {
    top: 30px;
    right: 40px;
  }

  .top-gallery #sbi_load {
    margin-top: 20px;
  }
}

/* 2025/12/22 */
.top-service {
  background: url(/punaphoto/wp-content/themes/punaphoto/common/images/top_contents_bg.png)no-repeat center center /cover;
  max-width: none;
}

.top-service::before {
  content: none;
}

.top-service .section__title-wrap {
  padding-left: 0;
}

.top-service .section__title-wrap::before {
  content: none;
}

.top-service .section__title--eng {
  text-align: center;
}

.top-service .section__content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: min(calc((45 / 1050) * 100vw), 45px);
}

@media screen and (max-width: 1040px) {
  .top-service .section__content {
    grid-template-columns: 1fr;
    gap: 70px;
  }
}

.top-service-item {
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  position: relative;
  padding: 30px;
  transition: all ease 0.3s;
}

.top-service-item:hover {
  opacity: 0.7;
}

@media screen and (max-width: 1040px) {
  .top-service-item {
    max-width: 500px;
    margin-inline: auto;
    width: 100%;
  }
}

.top-service-item::after {
  position: absolute;
  content: "";
  bottom: 0;
  right: 0;
  width: 45px;
  height: 45px;
  border-bottom-right-radius: 13px;
}

.top-service-item.--01::after {
  background: linear-gradient(to top left,
      #f7943c 50%,
      transparent 50%);
}

.top-service-item.--02::after {
  background: linear-gradient(to top left,
      #C54A7E 50%,
      transparent 50%);
}

.top-service-item.--03::after {
  background: linear-gradient(to top left,
      #23b8bc 50%,
      transparent 50%);
}

.top-service-item__num {
  height: 40px;
  position: absolute;
  top: -20px;
  left: 20px;
}

.top-service-item__num img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.top-service-item__img {
  width: 150px;
  margin-inline: auto;
}

.top-service-item__img img {
  width: 100%;
  object-fit: contain;
}

.top-service-item__title {
  text-align: center;
  font-weight: bold;
  font-size: 2.4rem;
  margin-top: 15px;
}

.top-service-item.--01 .top-service-item__title {
  color: #F29041;
}

.top-service-item.--02 .top-service-item__title {
  color: #C54A7E;
}

.top-service-item.--03 .top-service-item__title {
  color: #23B8BC;
}

.top-service-item__list {
  margin-top: 10px;
}

.top-service-item__list-item {
  font-weight: bold;
  line-height: 1.65;
  list-style: disc;
  margin-left: 1.2em;
}

.top-gallery__inner::before {
  content: none;
}

.top-gallery .section__title--eng {
  text-align: center;
}

.top-gallery__img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .top-gallery__img {
    margin-top: 20px;
  }
}

.top-gallery__swiper {
  position: absolute;
  inset: 0;
}

.top-gallery__img-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
}

.top-gallery__cta {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 2;
  width: 320px;
  max-width: 80%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  letter-spacing: .12em;
  font-weight: bold;
  font-size: 1.5em;
  font-family: var(--font-Poppins);
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(2px);
  transition: background .3s ease, border-color .3s ease;
}

.top-gallery__cta:hover {
  background: rgba(0, 0, 0, .55);
  border-color: rgba(255, 255, 255, .85);
}

@media (max-width: 768px) {
  .top-gallery__cta {
    font-size: 1em;
    height: 35px;
    max-width: 60%;
  }
}

.top-gallery__prev,
.top-gallery__next {
  position: absolute;
  top: 50%;
  transform: none;
  z-index: 2;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.top-gallery__prev {
  left: 20px;
}

.top-gallery__next {
  right: 20px;
}

@media (max-width: 768px) {

  .top-gallery__prev,
  .top-gallery__next {
    width: 30px;
    height: 30px;
  }

  .top-gallery__prev {
    left: 5px;
  }

  .top-gallery__next {
    right: 5px;
  }
}

.top-gallery__inner {
  max-width: none;
  width: 100%;

}

.top-gallery__content {
  padding: 0;
  max-width: none;
}

.top-gallery__content::before,
.top-gallery__content::after {
  content: none;
}