/* =========================================
   Variables & Base Settings
   ========================================= */
:root {
  --color-bg: #e5d8f0;
  --color-surface: #ffffff;
  --color-text-primary: var(--01-color-semantic-text-primary);
  --color-text-muted: #222f33;
  
  --color-brand-purple: var(--02-color-primitives-color-quinary-05-500);
  --color-brand-purple-dark: var(--02-color-primitives-color-quinary-05-600);
  --color-brand-purple-deep: var(--02-color-primitives-color-quinary-05-700);
  
  --color-border: var(--02-color-primitives-color-quinary-05-600);
  --color-highlight: #fff77f;

  --width-content-max: 600px;
  --width-menu-max: 340px;
  --size-gutter: 16px;
  --radius-lg: 30px;
}

/* =========================================
   Layout (l-prefix)
   構造・グリッド・配置を責務とする
   ========================================= */

.l-body {
  margin: 0;
  color: var(--color-text-primary);
  /* background: var(--color-bg); */
}

/* --- Page Layout --- */
.l-page {
  width: 100%;
  min-height: 100vh;
  background: var(--color-brand-purple);
}

.l-page__inner {
  width: 100%;
  max-width: var(--width-content-max);
  margin: 0 auto;
}

.header__band .content{
    padding-bottom: 0;
}
.container{
    background: var(--color-brand-purple)rgba(202, 125, 202, 1);
}
.topicpath{
    margin: 0;
}
.topicpath .topicpath__inner{
    padding: 12px 16px;
}
@media (min-width: 768px) {
    .topicpath{
        padding: 0;
    }
}

@media (min-width: 1280px) {
  .l-body {
    /* background: var(--color-brand-purple); */
  }

  .l-page {
    /* background: var(--color-brand-purple); */
  }

  .l-page__inner {
    max-width: 1000px;
    padding: 0 20px 0;
    display: grid;
    grid-template-columns: minmax(220px, var(--width-menu-max)) minmax(0, var(--width-content-max));
    gap: 60px;
    align-items: start;
    justify-content: space-between;
  }
}

/* --- Sidebar (Layout) --- */
.l-sidebar {
  display: none;
}

@media (min-width: 1280px) {
  .l-sidebar {
    display: block;
    position: sticky;
    padding-top: 80px;
    top: 142px;
  }
}

.l-sidebar__logo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
}

.l-sidebar__nav {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.l-sidebar__link {
  display: block;
  width: 100%;
  max-width: 300px;
}

.l-sidebar__banner {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Main Content (Layout) --- */
.l-main {
  width: 100%;
  margin: 0 auto;
  background: var(--color-bg);
}

@media (min-width: 1280px) {
  .l-main {
    border-left: 2px solid var(--color-border);
    border-right: 2px solid var(--color-border);
    overflow: hidden;
  }
}

/* =========================================
   Components (c-prefix)
   再利用可能なUI部品
   ========================================= */

/* --- Breadcrumb --- */
.c-breadcrumb {
  padding: 15px 16px;
  font-size: 12px;
  line-height: 12px;
  color: var(--color-text-muted);
}

@media (max-width: 1279px) {
  .c-breadcrumb {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .c-breadcrumb::-webkit-scrollbar {
    display: none;
  }
}

.c-breadcrumb__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.c-breadcrumb__item {
  /* No styles needed, acting as wrapper */
}

.c-breadcrumb__item--current {
  /* Modifier hook */
}

.c-breadcrumb__link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.c-breadcrumb__text {
  /* font-family: "Hiragino Kaku Gothic ProN-W6", Helvetica, sans-serif; */
}

.c-breadcrumb__separator {
  /* Wrapper for separator */
}

.c-breadcrumb__icon {
  display: block;
  width: 11px;
  height: 11px;
}

/* --- Balloon (Chat bubble) --- */
.c-balloon {
  background: var(--color-surface);
  padding: 40px 20px;
  width: 100%;
  box-sizing: border-box;
}

.c-balloon--right {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  /* margin-right: var(--size-gutter); */
  width: calc(100% - var(--size-gutter));
}

.c-balloon--left {
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  /* margin-left: var(--size-gutter); */
  width: calc(100% - var(--size-gutter));
  margin-left: auto;

}

.c-balloon__text {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN-W3", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 28px;
  color: #333333;
}

/* --- Button (Generic) --- */
.c-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
}

/* Modifier: Outbound (Profile link) */
.c-button--outbound {
  gap: 2px;
  min-height: 32px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--02-color-primitives-color-quinary-05-200);
  color: inherit;
  transition: .3s all ease;
}
.c-button--outbound:hover {
  background: var(--02-color-primitives-color-senary-02-200);
}

/* Modifier: Back (Footer link) */
.c-button--back {
  gap: 10px;
  width: 200px;
  min-height: 42px;
  padding: 6px 30px 6px 6px;
  background: var(--color-surface);
  border-radius: 999px;
  border: 1px solid var(--02-color-primitives-color-senary-02-300);
}

.c-button__label {
  font-family: "Dosis", Helvetica, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
}

.c-button__label--primary {
  flex: 1;
  /* font-family: "Hiragino Kaku Gothic ProN-W6", Helvetica, sans-serif; */
  font-size: 14px;
  letter-spacing: 1.12px;
  line-height: 14px;
  text-align: center;
  color: var(--02-color-primitives-color-neutral-900);
}

.c-button__icon {
  width: 14px;
  height: 14px;
  bottom: -2px;
}

.c-button__icon--large {
  width: 30px;
  height: 30px;
}


/* =========================================
   Project Specific (p-prefix)
   そのページ固有のセクション
   ========================================= */

/* --- Intro Section --- */
.p-intro {
  padding-bottom: 50px;
  overflow: hidden;
}

.p-intro__title {
  padding: 0 var(--size-gutter);
  margin: 0 auto;
  max-width: 375px;
  margin-bottom: -20px;
  position: relative;
  z-index: 2;
}

.p-intro__hero {
  padding: 0 var(--size-gutter);
  width: 280px;
  margin: 0 auto -30px;

  position: relative; 
  z-index: 1;
}

.p-intro__title-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.p-intro__image {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

.p-intro__balloons {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.p-intro__middle-graphic {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  padding: 0 var(--size-gutter);
}

.p-intro__middle-image {
  display: block;
  width: 200px;
}

.p-intro__decoration {
    transform: rotate(-10deg);
    position: relative;
    left: -5%;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-intro__decoration-image {
  display: block;
  width: 250%;
  height: auto;
max-width: none;
}
@media (min-width: 1280px) {
    .p-intro__decoration{
        margin-top: 60px;
    }
    .p-intro__decoration-image {
        width: 150%;
    }
}

/* --- Professor Section --- */
.p-professor {
  padding-top: 60px;
}

.p-professor__header {
  padding: 0 0 120px var(--size-gutter);
}

.p-professor__title-image {
  display: block;
  width: 224px;
  height: auto;
}
@media (min-width: 1280px) {
    .p-professor {
        padding-top: 90px;
    }
}
/* --- Profile Card Block --- */
.p-profile {
  position: relative;
  padding: 0 30px;
  margin-top: -100px;
}

.p-profile__card {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  box-shadow: 12px 12px 0 #9a489a;
  padding: 30px 30px 40px;
}

.p-profile__name {
  margin: 0 0 12px;
  font-family: "Hiragino Kaku Gothic ProN-W6", Helvetica, sans-serif;
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 30px;
  font-weight: bold;
}

.p-profile__bio {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN-W3", Helvetica, sans-serif;
  font-size: 13px;
  line-height: 19.5px;
}

.p-profile__actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.p-profile__stamp {
  display: block;
  position: absolute;
  left: 175px;
  bottom: 236px;
  width: 160px;
  height: 160px;
}

@media (min-width: 1280px) {
  .p-profile__stamp {
    bottom: 196px;
  }
}

.p-profile__photo {
  display: block;
  position: absolute;
  top: -60px;
  right: 10px;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

@media (min-width: 1280px) {
  .p-profile__photo {
    right: 38px;
  }
}

.p-profile__graphic {
  display: block;
  position: absolute;
  left: 30px;
  bottom: -61px;
  width: 120px;
  height: 120px;
}

@media (min-width: 1280px) {
  .p-profile__graphic {
    left: 58px;
    bottom: -78px;
  }
}

/* --- Message / Body Section --- */
.p-message {
  margin-top: -100px;
  border-top: 4px solid var(--color-border);
  border-bottom: 4px solid var(--color-border);
  background-image: url(https://c.animaapp.com/swmx3p0q/img/body-1.png);
  background-size: 32px;
  background-position: 50% 50%;
}

.p-message__inner {
  padding: 190px var(--size-gutter) 60px;
}

.p-message__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brand-purple-deep);
  border-radius: var(--radius-lg);
  padding: 12px 24px;
  margin: 0 auto;
  /* Centering wrapper approach */
  left: 50%;
  transform: translateX(-50%);
}

.p-message__title::before,
.p-message__title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 3px;
  background: var(--color-border);
  transform: translateY(-50%);
}

.p-message__title::before {
  left: -20px;
}

.p-message__title::after {
  right: -20px;
}

.p-message__title:nth-child(n+2) {
  margin-top: 40px;
}

.p-message__title-text {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN-W6", Helvetica, sans-serif;
  font-size: 18px;
  letter-spacing: 1.8px;
  line-height: 27px;
  color: var(--01-color-semantic-text-inverse);
  text-align: center;
}

.p-message__body {
  margin-top: -39px;
  background: #f9f2ff;
  padding: 60px 20px 30px;
}

.p-message__text {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN-W3", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: #333;
}

.p-message__note-text {
  color: var(--Black, #333);
  text-align: right;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  display: block;
}

.p-message__gallery {
  display: grid;
  gap: 0;
}

.p-message__icon-wrapper{
  width: 320px;
  margin: 0 auto;
}

.p-message__image {
  display: block;
  width: 100%;
  height: auto;
}
.p-message__image--mb {
  margin-bottom: 20px;
}

.p-movie__gallery{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    padding: 40px var(--size-gutter);
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
}
.p-movie__gallery-link{
    position: relative;
    display: block;
}
.p-movie__gallery-link::before {
    display: block;
    position: absolute;
    z-index: 2;
    width: 48px;
    height: 48px;
    content: "";
    transition: .3s;
    opacity: .8;
    border-radius: 48px;
    background: #fff;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}
.p-movie__gallery-link::after {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: block;
    width: 0;
    height: 0;
    content: "";
    transform: translate(-30%,-50%);
    border-color: transparent transparent transparent var(--humandarkpurple);
    border-style: solid;
    border-width: 7px 0 7px 12px;
}
.p-movie__gallery-img{
    aspect-ratio: 9 / 16;
    overflow: hidden;
    object-position: center;
    max-height: 284px;
    display: block;
    height: 100%;
    background-position: center;
    background-size: 318%;
    border-radius: 4px;
    overflow: hidden;
}
/* --- Footer Section --- */
.p-footer {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-footer__banners {
  width: 100%;
  padding: 0 var(--size-gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.p-footer__banner-link {
  display: block;
  width: 100%;
  max-width: 300px;
}

.p-footer__banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.p-footer__actions {
  padding-top: 40px;
}

/* =========================================
   Utility (u-prefix)
   単一機能、ヘルパー
   ========================================= */

.u-highlight {
  background: linear-gradient(transparent 62%, var(--color-highlight) 0);
}
.u-bold {
  font-weight: bold;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}


/* 共通フッター */

/* footer */
.footer--event{
    max-width: 600px;
    margin: auto;
    box-shadow: 0 30px 60px 0px rgba(15, 66, 123, 0.25);
    z-index: 50;
}
.sns-block {
  background-color: var(--White, #FFF);
}

@media (min-width: 520px) and (max-width: 767px) {
    .footer--event .footer-check-list__slider-item {
        width: 48vw;
    }
}
@media (min-width: 520px) {
    .list__index__image__wrap{
        display: none;
    }
    .footer--event .footer-check-list .slick-list{
        overflow: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .footer--event .footer-check-list .slick-list::-webkit-scrollbar{
        display: none;
    }
    .footer--event .slick-track{
        margin-bottom: 20px;
    }
    .footer--event .footer-check-list__slider-item{
        width: 30vw;
    }
    .footer--event .footer-check-list__slider{
        padding-right: 0;
    }
    .footer--event .footer-check-list{
        padding: 50px 0 30px;
    }
    .footer--event .footer-check-list__slider .slick-dots{
        margin-top: 0;
    }

    .sns-block__inner {
        flex-direction: column;
    }
    .sns__ig {
        width: 100%;
    }
    .sns-block__tiktok {
        width: 100%;
    }
}
@media (min-width: 1280px) {
  .footer--event .footer-check-list__slider-item {
      width: 20vw;
      max-width: 235px;
  }
}
@media (min-width: 768px) {
  .sns-block__inner {
    gap: 40px;
  }
  .p-message__text {
    font-size: 16px;
    line-height: 1.75;
  }
}