@charset "utf-8";

html {
  scroll-behavior: smooth;
  --plyr-color-main: #f00;
}

:root .cp-container {
  font-size: clamp(13px, 13px + ((1vw - 10.24px) * ((15 - 13) / 4.76 )), 15px);
  line-height: 1.7;
  --swiper-theme-color: #fff;
  --swiper-navigation-sides-offset: 0;
  --color-main: #54858d;
  --color-sub: rgb(213, 230, 236);
  --color-accent: #d5e2e4;
  color: #444;
}

.cp-container img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

.cp-container .nowrap {
  white-space: nowrap;
}

.cp-container .inner {
  max-width: 1120px;
  margin-inline: auto;

  @media (width < 800px) {
    margin-inline: 12px;
  }
}

.cp-container header {
  background: none;
}

.cp-container header figure {
  position: relative;
  margin-bottom: 12px;
  background: var(--color-accent);
  text-align: center;
}

.cp-container header img {
  background: var(--color-accent);
}

.cp-container header figcaption {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  display: block;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-weight: bold;
  font-size: 48px;
  padding: 0.4em 0 0.3em;
}

.cp-container header .inner {
  width: fit-content;
}

.cp-container .catch {
  font-size: 24px;
  color: #555;
  font-family: serif;
  font-style: italic;
  color: var(--color-main);
  font-weight: bold;
}

.cp-container .lead {
  margin-top: 4px;
}

.cp-container .sec {
  margin-top: 24px;
}

.cp-container .ttl-nav {
  font-weight: bold;
  color: var(--color-main);
  font-weight: bold;
  font-size: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.cp-container .ttl-nav::before,
.cp-container .ttl-nav::after {
  content: "";
  width: 15%;
  height: 1px;
  background: var(--color-main);
}

.cp-container .list-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cp-container .list-nav li {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  width: 180px;
  flex-shrink: 0;
}

.cp-container .list-nav li p {
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 8px;
  box-sizing: border-box;
}

.cp-container .list-nav img {
  width: 180px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: opacity 0.3s;
}

.cp-container .list-nav a:hover img {
  opacity: 0.8;
}

@media (width < 800px) {
  .cp-container .list-nav {
    margin-inline: 12px;
    flex-wrap: wrap;
  }
  .cp-container .list-nav li {
    width: 42%;
    max-width: 180px;
  }
}

.cp-container .block-video,
.cp-container .block-content {
  /* background: var(--color-sub); */
  padding: 24px;
  background-color: #f0f0f0;
}

.cp-container .list-video {
  align-items: stretch;
}

.cp-container .list-video li,
.cp-container .list-content li {
  width: calc((100% - 16px * 4) / 5);
  height: 100%;
  position: relative;
}

.cp-container .list-content img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.cp-container .list-video a,
.cp-container .list-content a {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
  font: inherit;
  color: inherit;
  appearance: none;
  cursor: pointer;
}

.cp-container .list-video a::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  aspect-ratio: 16 / 9;
  top: 0;
  left: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="100%" version="1.1" viewBox="0 0 68 48" width="100%" fill="%23ffffff"><path d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="%23f00"></path><path d="M 45,24 27,14 27,34" fill="%23fff"></path></svg>') no-repeat center center;
  background-size: 30%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(10%);
}

.cp-container .list-video a:hover::after {
  filter: grayscale(0);
  opacity: 0.9;
}

.cp-container .list-video a p,
.cp-container .list-content a p {
  text-align: left;
  line-height: 1.4;
  font-size: 14px;
  margin-top: 0.5em;
}

@media (width < 800px) {
  .cp-container .block-content,
  .cp-container .block-video {
    padding-inline: 0;
  }

  .cp-container .list-video li,
  .cp-container .list-content li {
    width: 160px;
    height: 100%;
    position: relative;
  }

  .cp-container .list-video li:first-child,
  .cp-container .list-content li:first-child {
    margin-left: 16px;
  }

  .cp-container .list-video li:last-child,
  .cp-container .list-content li:last-child {
    margin-right: 16px;
  }

}

.cp-container .swiper-button-next,
.cp-container .swiper-button-prev {
  background: rgba(0, 0, 0, 0.5);
  padding: 8px;
  box-sizing: border-box;
  top: 0;
  transition: opacity 0.3s;
}

.cp-container .swiper {
  container-type: inline-size;
}

.cp-container .swiper-content .swiper-button-next,
.cp-container .swiper-content .swiper-button-prev {
  top: calc((100cqw - 16px * 4) / 5 * 0.75 / 2);
}

.cp-container .swiper-video .swiper-button-next,
.cp-container .swiper-video .swiper-button-prev {
  top: calc((100cqw - 16px * 4) / 5 * 0.5625 / 2);
}

@media (width < 800px) {
  .cp-container .swiper-content .swiper-button-next,
  .cp-container .swiper-content .swiper-button-prev {
    top: 60px;
  }

  .cp-container .swiper-video .swiper-button-next,
  .cp-container .swiper-video .swiper-button-prev {
    top: 45px;
  }
}

.cp-container .swiper-button-disabled {
  opacity: 0;
}

.cp-container .sec-type {
  /* border: 1px solid var(--color-main); */
}

.cp-container .ttl-sec {
  /* background: var(--color-main);
  color: #fff;
  font-weight: bold;
  padding: 8px 16px;
  font-size: 18px; */
  color: var(--color-main);
  color: #fff;
  background-color: var(--color-main);
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  padding: 8px 32px;
  text-align: center;
  font-weight: bold;
  /* width: fit-content; */
  margin-inline: auto;
  font-size: 20px;
}

.cp-container .box-standard {
  display: grid;
  grid-template-columns: min(25%, 180px) 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 0 16px;
  margin-top: 24px;
}

.cp-container .box-standard .box-img {
  grid-column: 1;
  grid-row: 1 / 4;
  aspect-ratio: 1 / 1;
}

.cp-container .box-standard .box-img img {
  background: #ddd;
  transition: background-color 0.3s;
}

.cp-container .box-standard .box-img a:hover img {
  background: var(--color-accent);
}

.cp-container .box-standard .ttl-standard {
  color: #999;
}

.cp-container .box-standard .name {
  font-size: 22px;
  font-weight: bold;
  border-bottom: 1px solid var(--color-main);
  margin-bottom: 0.5em;
}

.cp-container .box-standard .name a {
  color: var(--color-main);
}

.cp-container .block-table {
  margin-top: 24px;
  margin-bottom: 24px;
}

.cp-container .ttl-table {
  color: var(--color-main);
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 0.5em;
}

.cp-container .wrap-table {
  overflow-x: auto;
}

.cp-container table {
  border-collapse: collapse;
  width: 100%;
}

.cp-container th,
.cp-container td {
  padding: 6px;
  border: 2px solid var(--color-sub);
  font-size: 13px;
  min-width: 100px;
  vertical-align: middle;
}

.cp-container th {
  background: var(--color-sub);
  text-align: center;
}

.cp-container td a {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--color-main);
}

.cp-container td a img {
  background: #ddd;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.cp-container td a:hover img {
  background: var(--color-accent);
}

@media (width < 800px) {
  .cp-container td a {
    flex-direction: column;
  }
}

.cp-container .box-itemlink {
  margin: 40px 0;
}

.cp-container .box-itemlink a {
  display: block;
  width: 70%;
  color: var(--color-main);
  font-weight: bold;
  border: 2px solid var(--color-main);
  margin-inline: auto;
  padding: 8px 16px;
  text-align: center;
  font-size: 22px;
  transition: background-color 0.3s;
}

.cp-container .box-itemlink a:hover {
  color: #fff;
  background: var(--color-main);
  text-decoration: none;
}

/* タブ */
.cp-container .container-tab {
  margin-top: 40px;
}

@keyframes showTab {
  from {
    opacity: 0;
  } to {
    opacity: 1;
  }
}

.cp-container .wrap-tablist {
  overflow-x: auto;
  border-bottom: 3px solid var(--color-main);
}

.cp-container .tablist {
  /* background: #f0f0f0; */
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.cp-container .tablist button {
  appearance: none;
  color: var(--color-main);
  min-width: 15%;
  text-align: center;
  font-weight: bold;
  padding: 12px;
  font-size: 16px;
  border: none;
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (width > 600px) {
  .cp-container .tablist .sp-only {
    display: none;
  }
}

@media (width < 601px) {
  .cp-container .tablist {
    justify-content: flex-start;
  }
}

.cp-container .tablist button[aria-selected="true"] {
  color: #fff;
  background: var(--color-main);
}

.cp-container .tabpanel {
  display: none;
}

.cp-container .tabpanel.is-show {
  display: block;
  animation: showTab 0.4s;
}