
/* ヘッダー
---------------------------------------------- */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1480px;
  margin-inline: auto;
  padding: var(--space-xl) 1rem;
}

@media (width <= 992px){
  header {
    padding: var(--space-l) 0;
  }
  .logos {
    width: clamp(8.75rem, 2.340rem + 27.35vw, 18.75rem);
  }
}


/* ヒーローエリア
---------------------------------------------- */
.hero {
  position: relative;
  height: max(760px,80svh);
}
.hero__text-area {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  color: var(--text-light);
}
.hero__title-main {
  margin-bottom: var(--space-l);
  font-size: clamp(3rem, 2.378rem + 2.652vw, 4.5rem);
  font-weight: 900;
  text-shadow: var(--text-shadow);
}
.hero__title-main span {
  display: inline-block;
  padding: 0 var(--space-2xs); 
}
.hero__title-sub {
  margin-bottom: var(--space-4xl);
  letter-spacing: clamp(0.063rem, 0.011rem + 0.221vw, 0.188rem);
  font-size: var(--font-size-m);
  text-shadow: var(--text-shadow);
}
.hero__copy {
  margin-bottom: var(--space-4xl);
  line-height: 2;
  letter-spacing: clamp(0rem, -0.078rem + 0.331vw, 0.188rem);
  font-size: var(--font-size-m);
  font-weight: 700;
  text-shadow: var(--text-shadow);
}
.hero__button-area {
  margin: 0 auto var(--space-4xl);
  display: flex;
  gap: var(--space-xl);
}
.hero__button-area .hero__button {
  display: inline-block;
  padding: var(--space-l) var(--space-l) var(--space-l) var(--space-xl);
  background-color: var(--color-secondary);
  text-decoration: none;
  font-weight: 700;
  color: var(--text-light);
  transition: background-color 0.3s;
}
.hero__button-area .hero__button:after {
  position: relative;
  top: 1px;
  content: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2010%2015%22%20fill%3D%22%23fff%22%20width%3D%2210%22%20height%3D%2215%22%20%3E%3Cpath%20d%3D%22M10%207.5%202.5%200H.753l7.513%207.5L.755%2015H2.5z%22%2F%3E%3C%2Fsvg%3E");
  padding-left: var(--space-s);
}
.hero__button-area .hero__button:hover {
  background-color: var(--color-primary);
}

.swiper {
  width: 100%;
  height: max(760px,80svh);
}
.swiper-slide {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  text-align: center;
}
.swiper-slide .slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}
.swiper-slide-active .slide-img,
.swiper-slide-duplicate-active .slide-img,
.swiper-slide-prev .slide-img{
  animation: slowZoom 10s linear 0s 1 normal both;
}

@media (width <= 576px){
  .hero {
    max-height: 600px;
    min-height: 480px;
  }
  .swiper {
    max-height: 600px;
    min-height: 480px;
  }
  .hero__text-area {
    margin-inline: var(--space-s);
    margin-bottom: var(--space-4xl);
  }
  .hero__title-main {
    margin-bottom: var(--space-m);
    line-height: 1.2;
    font-size: var(--font-size-3xl);
  }
  .hero__title-sub {
    margin-bottom: var(--space-2xl);
    font-size: var(--font-size-s);
  }
  .hero__copy {
    margin-bottom: var(--space-3xl);
    letter-spacing: 0;
    font-size: var(--font-size-s);
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .hero__button-area {
    width: 100%;
    margin-bottom: 0;
    gap: var(--space-xs);
  }
  .hero__button-area .hero__button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--space-3xl);
    width: calc((100% - var(--space-xs)) / 2);
    padding: 0;
    font-size: var(--font-size-xs);
  }
}


/* 共通
---------------------------------------------- */
.section-title {
  margin-bottom: var(--space-2xl);
  text-align: center;
  font-weight: 700;
  font-size: var(--font-size-m);
  color: var(--text-dark);
}
.section-title span {
  display: block;
  margin-bottom: var(--space-2xs);
  font-size: var(--font-size-3xl);
}

@media (width <= 576px){
  .section-title {
    margin-bottom: var(--space-xl);
    font-size: var(--font-size-s);
  }
  .section-title span {
    font-size: var(--font-size-2xl);
  }
}

/* 撮影テクニック 
---------------------------------------------- */
.phototips {
  max-width: calc(1480px + var(--space-2xl));
  margin-top: var(--space-4xl-5xl);
  margin-inline: auto;
  padding: 0 var(--space-m);
}
.phototips__banner-area {
  display: flex;
  justify-content: space-between;
  gap: clamp(2.25rem, -2.324rem + 7.377vw, 4.5rem);
}
.phototips__banner {
  position: relative;
  aspect-ratio: 7/3;
  width: calc((100% - clamp(2.25rem, -2.324rem + 7.377vw, 4.5rem)) / 2);
  display: block;
  overflow: hidden;
  background-color: #000;
  text-decoration: none;
  color: var(--text-light);
}
.phototips__banner-bg {
  position: relative;
  z-index: 1;
  transition: 1s all ease;
}
.phototips__banner:hover .phototips__banner-bg {
  transform: scale(1.1);
  opacity: 0.7;
  transition: 1s all ease;
}
.phototips__banner__number {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: var(--space-5xl);
  height: var(--space-3xl);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-primary);
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  font-weight: bold;
  font-size: var(--font-size-l);
  color: var(--text-light);
}
.phototips__banner-title {
  position: absolute;
  z-index: 100;
  bottom: 0;
  left: 0;
  padding: var(--space-xl);
  font-weight: bold;
  color: var(--text-light);
  text-shadow: var(--text-shadow);
}
.phototips__banner__title-sub {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-base);
}
.phototips__banner__title-main {
  display: block;
  letter-spacing: var(--space-5xs);
  text-indent: var(--space-5xs);
  line-height: 1.2;
  font-size: clamp(1.25rem, 1.080rem + 0.724vw, 1.75rem);
}

@media (width <= 992px){
  .phototips__banner-area {
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);
  }
  .phototips__banner {
    width: 100%;
  }
  .phototips__banner__title-sub {
    margin-bottom: var(--space-2xs);
  }
}
@media (width <= 576px){
  .phototips__banner__number {
    width: var(--space-4xl);
    height: var(--space-2xl);
    letter-spacing: 0.1em;
    text-indent: 0.1em;
    font-size: var(--font-size-m);
  }
  .phototips__banner-title {
    padding: var(--space-s);
  }
  .phototips__banner__title-sub {
    margin-bottom: var(--space-2xs);
    font-size: var(--font-size-xs);
  }
  .phototips__banner__title-main {
    font-size: var(--font-size-base);
  }
}


/* フォトコンテスト
---------------------------------------------- */
.photocontest {
  max-width: calc(1480px + var(--space-2xl));
  margin-top: var(--space-4xl-5xl);
  margin-inline: auto;
  padding: 0 var(--space-m);
}
.photocontest__banner-area {
  position: relative;
  aspect-ratio: 37/8;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #000;
  text-decoration: none;
}
.photocontest__banner-bg {
  position: relative;
  z-index: 1;
  transition: 1s all ease;
}
.photocontest__banner:hover .photocontest__banner-bg {
  transform: scale(1.1);
  opacity: 0.7;
  transition: 1s all ease;
}
.photocontest__banner-title {
  position: absolute;
  z-index: 100;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.photocontest__banner-title img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (width <= 992px){
  .photocontest__banner-area {
    aspect-ratio: 40/21;
  }
  .photocontest__banner-title img {
    height: 100%;
    object-fit: contain;
  }
}


/* フォトスポット
---------------------------------------------- */
.photospots {
  max-width: calc(1480px + var(--space-2xl));
  margin-top: var(--space-4xl-5xl);
  margin-inline: auto;
  padding: 0 var(--space-m);
}
.photospots__card-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.75rem, 1.242rem + 0.82vw, 2rem);
}
.photospots__card {
  position: relative;
  aspect-ratio: 1/1;
  width: calc((100% - (2*clamp(1.75rem, 1.242rem + 0.82vw, 2rem))) / 3);
  display: block;
  overflow: hidden;
  background-color: #000;
  text-decoration: none;
  color: var(--text-light);
}
.photospots__card-bg {
  position: relative;
  z-index: 1;
  transition: 1s all ease;
}
.photospots__card:hover .photospots__card-bg {
  transform: scale(1.1);
  opacity: 0.7;
  transition: 1s all ease;
}
.photospots__card-location {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: var(--space-6xl);
  height: calc(var(--space-3xl) + var(--space-3xs));
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-primary);
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  font-weight: bold;
  font-size: var(--font-size-l);
  color: var(--text-light);
}
.photospots__card-location[data-location="hokkaido"] {
  letter-spacing: 0.1em;
}
.photospots__card-title {
  position: absolute;
  z-index: 100;
  bottom: 0;
  left: 0;
  padding: var(--space-xl);
  letter-spacing: var(--space-5xs);
  text-indent: var(--space-5xs);
  line-height: 1.4;
  font-size: clamp(1.25rem, 1.080rem + 0.724vw, 1.75rem);
  font-weight: bold;
  color: var(--text-light);
  text-shadow: var(--text-shadow);
}

@media (width <= 992px){
  .photospots__card-area {
    gap: var(--space-m);
  }
  .photospots__card {
    width: calc((100% - var(--space-m)) / 2);
  }
  .photospots__card-location {
    height: var(--space-3xl);
    font-size: var(--font-size-m);
  }
  .photospots__card-title {
    padding: var(--space-m);
    line-height: 1.3;
    font-size: clamp(1rem, 0.544rem + 1.945vw, 1.75rem);
  }
}
@media (width <= 576px){
  .photospots__card-area {
    gap: var(--space-xs);
  }
  .photospots__card {
    width: calc((100% - var(--space-xs)) / 2);
  }
  .photospots__card-location {
    width: var(--space-5xl);
    height: var(--space-2xl);
    font-size: var(--font-size-base);
  }
  .photospots__card-title {
    padding: var(--space-s);
    line-height: 1.3;
    font-size: var(--font-size-base);
  }
}