@charset "UTF-8";
/*////////////////////////////////////////////////////

    .設定

////////////////////////////////////////////////////*/
/*////////////////////////////////////////////////////
    ページ固有のスタイル
////////////////////////////////////////////////////*/
.p-media {
  container-type: inline-size;
}
@media print, screen and (min-width: 960px) {
  .p-media {
    padding-bottom: 17rem;
  }
}
@media only screen and (min-width: 600px) and (max-width: 959px) {
  .p-media {
    padding-bottom: 4.1rem;
  }
}
@media only screen and (max-width: 599px) {
  .p-media {
    padding-bottom: 9.2rem;
  }
}
.p-media-hl {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 3rem;
}
@media only screen and (min-width: 1312px) {
  .p-media-hl {
    margin-top: 120px;
  }
}
@media print, screen and (min-width: 960px) and (max-width: 1311px) {
  .p-media-hl {
    margin-top: 12rem;
  }
}
@media only screen and (min-width: 600px) and (max-width: 959px) {
  .p-media-hl {
    margin-top: 7.2rem;
    font-size: 2.1rem;
  }
}
@media only screen and (max-width: 599px) {
  .p-media-hl {
    margin-top: 7.2rem;
    font-size: 1.8rem;
  }
}
.p-media-hl.__first {
  margin-top: 0 !important;
}

.p-videos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem clamp(2rem, 5.3333333333vw, 3rem);
}
@container (min-width: 400px) {
  .p-videos {
    grid-template-columns: 1fr 1fr;
  }
}
@container (min-width: 800px) {
  .p-videos {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.p-videos_item {
  container-type: inline-size;
}
.p-videos_item_video {
  margin-bottom: 1rem;
}
.p-videos_item_txt {
  line-height: 1.4;
  color: #666;
}
.p-videos_item_txt p {
  font-size: clamp(1.1rem, 5.5cqw, 1.5rem);
}
.p-videos_item_hl {
  margin-bottom: 1rem;
  font-size: clamp(1.3rem, 6.5cqw, 1.8rem);
  color: #000;
}

.p-brochures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem clamp(2rem, 5.3333333333vw, 3rem);
}
@container (min-width: 480px) {
  .p-brochures {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@container (min-width: 750px) {
  .p-brochures {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}
@container (min-width: 960px) {
  .p-brochures {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
}
.p-brochures_item_link {
  color: #333333;
  transition: color 0.3s ease;
  container-type: inline-size;
}
@media (hover: hover) {
  .p-brochures_item_link:hover {
    text-decoration: none;
    color: #0068AF;
  }
  .p-brochures_item_link:hover .p-brochures_item_img > img {
    transform: scale(1.1);
  }
}
.p-brochures_item_img {
  display: block;
  border: 1px solid #CCECF8;
  aspect-ratio: 62/100;
  margin-bottom: 1rem;
  overflow: hidden;
}
.p-brochures_item_img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.p-brochures_item_txt {
  line-height: 1.4;
  font-size: clamp(1.1rem, 5.5cqw, 1.5rem);
}

.p-ads {
  --ads-gap: clamp(1.25rem, 2.5cqw, 3rem);
  display: flex;
  flex-direction: column;
  gap: var(--ads-gap);
}
.p-ads_row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--ads-gap);
}
.p-ads_row.__full {
  grid-template-columns: minmax(0, 1fr);
}
.p-ads_item {
  min-width: 0;
}
.p-ads_item .p-ads_link {
  display: block;
  cursor: zoom-in;
}
@media (hover: hover) {
  .p-ads_item .p-ads_link > img {
    transition: opacity 0.3s ease;
  }
  .p-ads_item .p-ads_link:hover > img {
    opacity: 0.8;
  }
}
.p-ads_item img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.p-media-ad {
  border-image: linear-gradient(#F5F5F5, #F5F5F5) fill 0/0/0 100vw;
}
.p-media-ad .p-media-hl {
  margin-top: 0;
}
@media print, screen and (min-width: 960px) {
  .p-media-ad {
    margin-top: 120px;
    padding-top: 80px;
    padding-bottom: 120px;
    margin-bottom: -17rem;
  }
}
@media only screen and (min-width: 600px) and (max-width: 959px) {
  .p-media-ad {
    margin-top: 7.2rem;
    padding-top: 6rem;
    padding-bottom: 8rem;
    margin-bottom: -4.1rem;
  }
}
@media only screen and (max-width: 599px) {
  .p-media-ad {
    margin-top: 7.2rem;
    padding-top: 4.8rem;
    padding-bottom: 6rem;
    margin-bottom: -9.2rem;
  }
}

.p-ads-modal {
  box-sizing: border-box;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 6rem 2rem 2rem;
  border: 0;
  background: transparent;
  overflow: hidden;
  cursor: zoom-out;
}
.p-ads-modal::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
.p-ads-modal[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-ads-modal_img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: default;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.p-ads-modal_close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.p-ads-modal_close::before, .p-ads-modal_close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.8rem;
  height: 2px;
  background: #fff;
}
.p-ads-modal_close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.p-ads-modal_close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.p-ads-modal_close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/*# sourceMappingURL=media.css.map */
