@charset "utf-8";
body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  background-color: #fff5f0;
}

/* ===== Header ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  gap: 20px;
}
.header .logo {
  width: 15%;
  margin-left: 30px;
}

.header .nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px 16px 40px;
  background-color: #fff;
  border-radius: 30px 0 0 30px;
  margin-left: auto;
  width: auto;
  white-space: nowrap;
  justify-content: flex-end;
}

.header .nav a {
  color: #0063b4;
  font-size: 1.3em;
}

.header .nav .sns {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.header .nav .sns a {
  display: inline-flex;
  line-height: 1;
}
.header .nav .sns img {
  height: 24px;
  width: auto;
}

/* ===== Main ===== */
.main {
  padding: 0;
}
.ribbon {
  background-position: 100% 50%;
  background-size: contain;
  background-repeat: no-repeat;
}
.intro {
  text-align: center;
  margin: 80px 0px 40px 0;
}
.intro p {
  font-size: 36px;
  line-height: 1.5;
  color: #0063b4;
  font-weight: 700;
}
.section-title {
  width: 50%;
  text-align: right;
  font-size: 40px;
  margin-bottom: 20px;
  color: #0063b4;
  border-bottom: 6px solid #0063b4;
  padding-bottom: 20px;
  position: absolute;
  top: 7%;
  left: 0;
  z-index: 1;
}
.news {
  width: 800px;
  margin: 0 auto;
}
.news-box {
  border: 3px solid #0063b4;
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  margin: 0 auto;
}
.news-box h3 {
  font-size: 28px;
  color: #0063b4;
  margin-bottom: 30px;
}
.news-item {
  font-size: 20px;
  margin: 15px 0;
}
.news-item a {
  color: #231815;
}
.news-item .date {
  color: #0063b4;
  margin-right: 30px;
}
.news-item .new {
  color: #ff3939;
  margin-left: 30px;
}
.charter {
  text-align: center;
  margin: 30px 0;
}
.charter img {
  width: 800px;
}
.event-info {
  position: relative;
}
.event-card {
  background-color: #fff;
  border-radius: 100px;
  padding: 350px 0 100px 0;
  width: 70%;
  margin: 0 auto;
}
.event-card .event-item {
  width: 70%;
  margin: 0 auto;
  max-width: 800px;
}
.event-card img {
  display: block;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 15px;
}
.event-card h3 {
  color: #0063b4;
  font-size: 28px;
  padding: 20px;
}
.event-card p {
  padding: 10px 20px;
  color: #4e3824;
  font-size: 20px;
  line-height: 1.5;
}
.event-card p span {
  background-color: #0063b4;
  color: #fff;
  padding: 2px 10px;
  margin-right: 10px;
  border-radius: 10px;
}
.features {
  position: relative;
}
.feature-card {
  margin-top: 100px;
}
.feature-card img {
  width: 100%;
}
.feature-card-content {
  background-color: #0063b4;
  color: #fff;
  padding: 20px;
  width: 60%;
  border-radius: 20px 0 20px 20px;
  margin-top: 20px;
}
.feature-card-content h4 {
  margin-top: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
}
.feature-title {
  text-align: left;
  font-size: 18px;
  line-height: 1.5;
  margin-top: 15px;
}
.feature-name {
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  margin-top: 20px;
}

/* ===== Swiper ===== */
.slider-container {
  position: relative;
  width: 100%;
  margin: 40px 0;
}
.swiper {
  width: 100%;
  height: 100%;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.swiper-pagination {
  position: static;
  margin-top: 15px;
}
.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -10%;
  left: 0;
  width: 100%;
}
.swiper-pagination-bullet {
  background-color: #0063b4;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: #0063b4;
}
.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 15px;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}
.swiper-button-next,
.swiper-button-prev {
  background-size: contain !important;
  background-repeat: no-repeat center center;
  width: 45px !important;
  height: 45px !important;
}
#hero-slider-container .swiper-button-prev {
  left: calc(50% - 22px - 20vw);
}
#hero-slider-container .swiper-button-next {
  right: calc(50% - 22px - 20vw);
}
#features-slider-container .swiper-button-prev {
  left: calc(50% - 22px - 20vw);
}
#features-slider-container .swiper-button-next {
  right: calc(50% - 22px - 20vw);
}
.sp {
  display: none;
}

.system {
  text-align: center;
}

.system h1 {
  font-size: 45px;
  text-align: center;
  line-height: 2;
  color: #0063b4;
  font-weight: 700;
  border-bottom: 3px solid #0063b4;
  display: inline;
}

.about-meister {
  width: 600px;
  margin: 0 auto;
  padding: 30px 40px;
  margin-top: 60px;
  text-align: left;
  background-color: #fff;
  position: relative;
  --dot-color: #0063b4;
  --dot-thickness: 5px;
  --dot-size: 5px;
  --dot-gap: 5px;
  --repeat: calc(var(--dot-size) + var(--dot-gap));
  --phase: calc(var(--repeat) / 2.5);
}

.about-meister ::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, var(--dot-color) calc(var(--dot-size) / 2), transparent calc(var(--dot-size) / 2 + 0.5px)) left var(--phase) / var(--dot-thickness) var(--repeat) repeat-y,
    radial-gradient(circle, var(--dot-color) calc(var(--dot-size) / 2), transparent calc(var(--dot-size) / 2 + 0.5px)) right var(--phase) / var(--dot-thickness) var(--repeat) repeat-y;
}

.about-meister ::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle, var(--dot-color) calc(var(--dot-size) / 2), transparent calc(var(--dot-size) / 2 + 0.5px)) var(--phase) top / var(--repeat) var(--dot-thickness) repeat-x,
    radial-gradient(circle, var(--dot-color) calc(var(--dot-size) / 2), transparent calc(var(--dot-size) / 2 + 0.5px)) var(--phase) bottom / var(--repeat) var(--dot-thickness) repeat-x;
}

.ab-tit {
  color: #0063b4 !important;
  font-size: 28px !important;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-meister p {
  font-size: 20px;
  line-height: 1.5;
  color: #4e3824;
}

.system h1 {
  font-size: 40px;
  text-align: center;
  line-height: 2;
  color: #0063b4;
  font-weight: 700;
  border-bottom: 3px solid #0063b4;
  display: inline;
}

.meister-area {
  width: 800px;
  margin: 0 auto;
}

.meister-corner {
  background-color: #fff;
  margin-top: 100px;
}

.number-area {
  position: relative;
  z-index: 10;
}

.number-area img {
  width: 20%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.number-area .number {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  font-size: 26px;
  color: #0063b4;
  font-weight: 700;
}

.meister-inner {
  width: 600px;
  margin: 0 auto;
  padding: 120px 0 60px 0;
}

.m-name p {
  text-align: center !important;
  font-size: 30px !important;
  color: #0063b4 !important;
  font-weight: 700 !important;
}

.meister-inner img {
  width: 100%;
  border-radius: 30px;
  margin: 35px 0;
}

.meister-inner p {
  font-size: 20px;
  line-height: 1.5;
  color: #4e3824;
}

.m-web img {
  display: block;
  width: 80%;
  margin: 0 auto;
  padding: 60px 0;
}

.m-sns h3 {
  text-align: center;
  font-size: 28px;
  color: #221815;

}

.sns-logo {
  display: flex;
  justify-content: center;
}

.sns-logo a {
  display: block;
  width: 8%;
  margin: 20px;
}

/* ===== meister.html 専用動画：1列固定 ===== */
.page-meister .meister-video-list {
  width: 100%;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.page-meister .meister-video-item {
  margin: 0;
  width: 100%;
}

.page-meister .meister-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}

.page-meister .meister-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-meister .meister-video-title {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.6;
  color: #0063b4;
  font-weight: 700;
}

/* ===== movie.html 専用動画アーカイブ ===== */
.page-video-archive .system .lead {
  width: min(1000px, 90%);
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.7;
  color: #4e3824;
}

.page-video-archive .movie-archive {
  width: min(1200px, 90%);
  margin: 30px auto 80px;
}

.page-video-archive .movie-list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.page-video-archive .movie-item {
  margin: 0;
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  height: 100%;
  box-sizing: border-box;
}

.page-video-archive .movie-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
}

.page-video-archive .movie-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-video-archive .movie-title {
  margin-top: 10px;
  font-size: 20px;
  line-height: 1.6;
  color: #0063b4;
  font-weight: 700;
}

.page-video-archive .movie-desc {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4e3824;
}

/* ===== Tablet ===== */
@media (max-width: 960px) {
  .main {
    padding: 15px;
  }
  #hero-slider-container .swiper-button-prev {
    left: 10px;
  }
  #hero-slider-container .swiper-button-next {
    right: 10px;
  }
  #features-slider-container .swiper-button-prev {
    left: 25%;
  }
  #features-slider-container .swiper-button-next {
    right: 25%;
  }
  .news {
    width: 70%;
  }
  .charter img {
    width: 70%;
  }

  .header {
    gap: 14px;
  }
  .header .nav {
    padding: 12px 20px 12px 28px;
    gap: 14px;
  }
  .header .nav .sns img {
    height: 22px;
  }

  .page-video-archive .movie-archive {
    width: 90%;
  }
  .page-video-archive .movie-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .page-meister .meister-video-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  .header {
    flex-wrap: nowrap;
    gap: 10px;
  }
  .header .logo {
    width: 40%;
    margin-left: 10px;
  }

  .header .nav {
    padding: 10px 16px 10px 20px;
    gap: 12px;
  }
  .header .nav a {
    font-size: 16px;
  }

  .header .nav .sns {
    margin-left: 8px;
  }
  .header .nav .sns img {
    height: 20px;
  }

  .swiper-pagination-fraction,
  .swiper-pagination-custom,
  .swiper-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: -50%;
  }
  .swiper-pagination-bullet {
    width: 13px !important;
    height: 13px !important;
  }
  #hero-slider-container .swiper-button-next {
    right: 95px;
  }
  #hero-slider-container .swiper-button-prev {
    left: 95px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 25px !important;
    height: 25px !important;
    top: 55% !important;
  }
  .ribbon {
    background-size: contain;
    background-repeat: repeat-y;
  }
  .main {
    padding: 10px;
  }
  .intro p {
    font-size: 22px;
  }
  .news {
    width: 90%;
  }
  .news-box h3 {
    font-size: 20px;
  }
  .news-item {
    font-size: 14px;
  }
  .charter img {
    width: 90%;
  }
  .event-card {
    width: 90%;
    border-radius: 50px;
    padding: 140px 0;
    margin: 0 auto;
  }
  .event-card .event-item {
    width: 95%;
    margin: 0 auto;
    max-width: 800px;
  }
  .section-title {
    font-size: 20px;
    width: 70%;
    top: 3%;
  }
  .event-card h3 {
    font-size: 20px;
  }
  .event-card p {
    font-size: 16px;
  }
  .news-box,
  .charter-link {
    max-width: 100%;
  }
  .feature-card-content {
    padding: 20px;
    width: 100%;
    min-height: 230px;
  }
  .feature-card-content h4 {
    font-size: 12px;
  }
  .feature-title {
    font-size: 14px;
  }
  .feature-name {
    text-align: right;
    font-size: 12px;
  }
  .sp {
    display: block;
  }
  .system h1 {
    font-size: 22px;
  }
  .about-meister {
    width: 90%;
  }

  .ab-tit {
    font-size: 18px !important;
  }
  .about-meister p {
    font-size: 16px;
  }
  .meister-area {
    width: 90%;
  }
  .meister-inner {
    width: 80%;
    padding: 120px 0 60px 0;
  }
  .number-area img {
    width: 35%;
  }
  .number-area .number {
    font-size: 22px;
  }
  .m-name p {
    font-size: 24px !important;
  }
  .meister-inner p {
    font-size: 16px;
  }
  .m-web img {
    width: 90%;
    padding: 30px 0;
  }
  .m-sns h3 {
    font-size: 20px;
  }

  .sns-logo {
    display: flex;
    justify-content: center;
  }

  .sns-logo a {
    width: 13%;
  }

  .page-video-archive .system .lead {
    width: 90%;
    font-size: 16px;
  }
  .page-video-archive .movie-archive {
    width: 90%;
    margin: 18px auto 50px;
  }
  .page-video-archive .movie-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .page-video-archive .movie-title {
    font-size: 18px;
  }

  .page-meister .meister-video-list {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }
  .page-meister .meister-video-title {
    font-size: 16px;
  }
}

/* URLを含むテキストが折り返せるようにする */
.event-item p,
.event-item a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.event-item {
  min-width: 0;
}

.event-item img,
.event-item a {
  max-width: 100%;
}

.hero-download {
  max-width: 1000px;
  margin: 24px auto 0;
  padding: 0 16px;
}
.hero-download img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.dl-actions {
  max-width: 1000px;
  margin: 16px auto 40px;
  padding: 0 16px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.dl-actions {
  max-width: 1000px;
  width: 100%;
  margin: 20px auto 48px;
  padding: 0 16px;
  display: block;
  text-align: center;
  float: none;
}
.dl-actions .dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  vertical-align: middle;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 16px 24px;
  border-radius: 999px;
  transition: transform 0.08s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  isolation: isolate;
  outline: none;
}
.dl-actions .dl-btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(115, 182, 255, 0.5);
}

.dl-actions .dl-btn::before {
  content: "⤓";
  font-size: 1.15em;
  line-height: 1;
}

.dl-actions .dl-btn:active {
  transform: translateY(1px);
}

.dl-btn--gradient {
  color: #fff;
  border: none;
  background-image: radial-gradient(120% 140% at 90% -20%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 60%), linear-gradient(135deg, #0a68d1 0%, #0c8bf0 50%, #38bdf8 100%);
  box-shadow: 0 10px 24px rgba(11, 120, 220, 0.22), 0 4px 10px rgba(11, 120, 220, 0.15);
}
.dl-btn--gradient:hover {
  filter: brightness(1.04);
  box-shadow: 0 12px 28px rgba(11, 120, 220, 0.28), 0 6px 12px rgba(11, 120, 220, 0.18);
}

.menu-toggle,
.hamburger {
  display: none;
}

@media (max-width: 767px) {
  .menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .hamburger {
    display: inline-block;
    position: absolute;
    right: 12px;
    top: 10px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    z-index: 1200;
    -webkit-tap-highlight-color: transparent;
  }
  .hamburger span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #0063b4;
    border-radius: 2px;
    transform-origin: center;
    transform: translateX(-50%);
    transition: transform 0.22s ease, opacity 0.18s ease;
  }
  .hamburger span:nth-child(1) {
    top: 14px;
  }
  .hamburger span:nth-child(2) {
    top: 21px;
  }
  .hamburger span:nth-child(3) {
    top: 28px;
  }

  .header {
    position: relative;
    padding-right: 60px;
  }

  .header .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(-110%);
    transition: transform 0.28s ease;
    z-index: 1100;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 72px 16px 20px;
    margin-left: 0;
    white-space: normal;
  }

  #menu-toggle:checked ~ .nav {
    transform: translateY(0);
  }

  #menu-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateX(-50%) translateY(7px) rotate(45deg);
  }
  #menu-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateX(-50%) translateY(-7px) rotate(-45deg);
  }

  .header .nav a {
    font-size: 18px;
    line-height: 1.6;
    color: #0063b4;
  }
  .header .nav .sns {
    margin: 4px 0 0;
  }
  .header .nav .sns img {
    height: 22px;
  }

  .header .logo {
    width: 46%;
    margin-left: 10px;
  }
}

@supports (backdrop-filter: blur(0)) {
  @media (max-width: 767px) {
    .header .nav {
      background: color-mix(in srgb, #fff 95%, transparent);
    }
  }
}

/* ===== news下：バナー2枚（PCは2列 / SPは1列） ===== */
.top-banners {
  width: 800px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.top-banners__item {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.top-banners__item img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 960px) {
  .top-banners {
    width: 70%;
  }
}

@media (max-width: 767px) {
  .top-banners {
    width: 90%;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }
}

.report-cta {
  width: min(980px, 100%);
  margin: 40px auto 10px;
  padding: 0 16px;
}

.report-cta-btn {
  width: 100%;
  min-height: 72px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background-image:
    radial-gradient(120% 140% at 90% -20%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, #0057a2 0%, #0063b4 45%, #2aa2ff 100%);
  box-shadow:
    0 18px 40px rgba(0, 99, 180, 0.28),
    0 6px 16px rgba(0, 0, 0, 0.12);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  -webkit-tap-highlight-color: transparent;
}

.report-cta-btn::before {
  content: "★";
  font-size: 1.1em;
  line-height: 1;
  transform: translateY(-1px);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
}

.report-cta-btn::after {
  content: "";
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-35%) rotate(8deg);
  opacity: 0.9;
  pointer-events: none;
}

.report-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 22px 48px rgba(0, 99, 180, 0.34),
    0 8px 18px rgba(0, 0, 0, 0.14);
}

.report-cta-btn:active {
  transform: translateY(0px);
}

.report-cta-btn:focus-visible {
  outline: 4px solid rgba(0, 99, 180, 0.28);
  outline-offset: 4px;
}

@media (max-width: 767px) {
  .report-cta {
    margin-top: 26px;
  }
  .report-cta-btn {
    min-height: 76px;
    padding: 20px 18px;
    border-radius: 22px;
  }
}