@charset "utf-8";

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  background: var(--color-black);
  overflow: hidden;
  /* 01_MAIN_VISUAL.png 準拠 */
  height: 42.1875rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  line-height: 0;
  pointer-events: none;
}

.hero__bg-image {
  width: 100%;
  height: 100%;
  min-height: 42.1875rem;
  display: block;
  object-fit: cover;
  object-position: left center;
}

.hero__content_wrap{
  display: flex;
  position: relative;
  width: 75rem;
  height: 100%;
  margin: 0 auto;
}

/* 右側：6本の動画を順番に表示 */
.hero__videos {
  position: relative;
  z-index: 1;
  width: min(52%, 42rem);
  height: 100%;
  overflow: hidden;
  background: var(--color-black);
  margin-left: auto;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.hero__video--active{
  opacity: 1;
  z-index: 1;
}

.hero__videoWrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* 01_MAIN_VISUAL.png 1440px基準: テキスト左 240px（背景サイズは変更しない） */
  padding-top: 7.5rem; /* 120px */
  padding-left: 7rem;
  pointer-events: none;
}

/* TOP：ヘッダーをヒーロー下端に重ね、ナビ背景を透過 */
.page-home .site-header--home {
  position: relative;
  z-index: var(--z-header);
  max-width: unset;
  margin: -5.5rem auto 0 auto;
  justify-content: center;
  overflow: hidden;
}

.page-home .site-header--home::before{
  content:"";
  width: 20vw;
  height: 100%;
  background: #fff;
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  z-index: 1;
}

.page-home .site-header--home .site-header__inner{
    width: 90rem;
    min-width: 90rem;
    display: flex;
}

.page-home .site-header--home.site-header--scrolled .site-header__nav-wrap {
  background-color: var(--color-black);
  background-image: none;
}

/* Figma オートレイアウト: 縦 / 376×240 / 間隔80 / パディング0 / 左上配置 */
.hero__catch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5rem;
  padding: 0;
  box-sizing: border-box;
}

.hero__catch-image {
  display: block;
  width: 23.5rem;
  height: auto;
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
}

.hero__catch-sub-image {
  display: block;
  width: 33.6875rem;
  height: auto;
  max-width: none;
}

/* ==========================================
   NEWS (top section)
   ========================================== */
.home-news {
  padding: 2rem 0;
  margin-bottom: 4rem;
}

.home-news .l-container {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

/* 03_NEWS.png: 見出し・フィルタ・一覧リンクを横一列 */
.home-news__head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  max-width: 69.5rem;
  min-height: 6rem;
  font-family: var(--font-sans);
  margin-top: 4.125rem;
  /* 見出し行〜グリッド上端 48px */
  margin-bottom: 3rem;
}

.section-heading--news {
  flex-shrink: 0;
  margin-bottom: 0;
}

.section-heading--news .section-heading__ja {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 0.125rem;
  font-weight: 500;
}

/* 03_NEWS.png: Montserrat 56 / 行間56 / グラデ #3A1E3C → #9E52A2 */
.section-heading--news .section-heading__en {
  font-family: var(--font-heading-en);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 3.5rem;
  letter-spacing: 0;
  background: linear-gradient(90deg, var(--color-purple-accent) 0%, var(--color-purple-heading) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.home-news__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  flex: 1;
  min-width: 0;
  margin-top: auto;
  margin-bottom: 1rem;
}

.home-news__filter {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5rem;
  letter-spacing: 0;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.home-news__filter:hover,
.home-news__filter:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.home-news__filter--active {
  color: var(--color-text);
  font-weight: 500;
}

.home-news__filter-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.home-news__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.home-news__more-icon {
  width: 1.25rem;
  height: auto;
}

.home-news__grid {
  width: fit-content;
  max-width: 69.5rem;
}

.home-news__grid {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: start;
  overflow: visible;
}

/* ==========================================
   QUICK LINKS — 04_ABOUT_US.png
   小カード 268×104（gap 16px）/ 大カード 556×224
   ========================================== */
.quick-links {
  padding: 2rem 0 var(--space-xl);
  background: var(--color-white);
}

.quick-links .l-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.quick-links__grid {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  width: 69.5rem;
}

.quick-links__card {
  width: calc((100% - 3rem) / 4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  min-height: 6.5rem;
  padding: 0 2.5rem 0 1.2rem;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  position: relative;
  transition: all 0.2s ease;
}

.quick-links__card:hover{
  border: 1px solid var(--color-purple-accent);
}

.quick-links__label-ja {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}

/* 04_ABOUT_US.png: Poppins Medium 24 / 行間24 / #9E52A2 */
.quick-links__label-en {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.5rem;
  letter-spacing: 0;
  color: var(--color-purple-accent);
}

.quick-links__arrow {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  transform: translateY(-50%);
}

.quick-links__card--large {
  width: calc((100% - 1rem) / 2);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.quick-links__banner {
  flex-shrink: 0;
  width: 100%;
  height: 7rem;
  line-height: 0;
  overflow: hidden;
}

.quick-links__banner-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.quick-links__body {
  position: relative;
  flex-shrink: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  column-gap: 1.5rem;
  box-sizing: border-box;
  height: 7rem;
  padding: 0 2.5rem 0 1.5rem;
}

.quick-links__card--large .quick-links__label-ja {
  grid-column: 1 / -1;
  grid-row: 1;
}

.quick-links__card--large .quick-links__label-en {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  width: auto;
}

.quick-links__card--large .quick-links__body .quick-links__arrow {
  position: static;
  top: auto;
  right: auto;
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: end;
  transform: none;
  margin-left: 0;
  margin-right: 4.375rem;
}


/* ==========================================
   VISION (home) — 05_OUR_VISON.png: 920px コンテンツを画面中央
   ========================================== */
.vision--home {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 6.75rem 0;
}

.vision--home .l-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 57.625rem;
  margin-inline: auto;
}

.vision--home .section-heading {
  margin-bottom: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
}

.vision--home .section-heading__ja {
  font-size: 1.5rem;
  margin-bottom: 0;
}

/* OUR VISION: Montserrat 56 / 行間64 / グラデ #9E52A2 → #3A1E3C */
.vision--home .section-heading__en {
  font-family: var(--font-heading-en);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 3.5rem;
  letter-spacing: 0;
  background: linear-gradient(90deg, var(--color-purple-accent) 0%, var(--color-purple-heading) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.vision--home .vision__diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  padding: 0;
  max-width: none;
  margin: 0 0 2rem;
}

.vision--home .vision__diagram-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vision--home .vision__text {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: justify;
}

.vision--home .vision__text-item {
  font-family: var(--font-sans);
  font-size: 1rem;
  /*font-weight: 500;*/
  line-height: 1.75;
  letter-spacing: 0;
}

.vision--home .vision__signature {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  text-align: left;
}

.vision--home .vision__signature-name {
  width: 20rem;
  max-width: 100%;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
}

.vision--home .vision__signature-role {
  font-size: 1.25rem;
  font-weight: 500;
}

.vision--home .vision__signature-person {
  font-size: 1.5rem;
  font-weight: 500;
}

.vision--home .vision__signature-affil {
  width: 20rem;
  max-width: 100%;
  margin: 0.5rem 0 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  letter-spacing: 0;
  text-align: left;
  color: var(--color-text);
}

/*1440px以下*/
@media screen and (min-width:1px) and (max-width:1440px){
  .page-home .site-header--home .site-header__inner{
    width: 75rem;
    min-width: 75rem;
  }
}

/*1200px以下*/
@media screen and (min-width:1px) and (max-width:1200px){
  .page-home .site-header--home .site-header__inner{
    width: 100%;
    min-width: 100%;
  }

  .hero__content_wrap{
    width: 64rem;
  }

  .quick-links__grid{
    width: 95vw;
  }
}


/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px){
  .hero__content_wrap{
    width: 95vw;
  }

  .hero__content{
    padding-top: 4.5rem;
    padding-left: 3rem;
  }

  .hero__videos{
    width: 62vw;
    height: 62vw;
    aspect-ratio: 1 / 1;
  }


}

/* ##########SP########## */
@media screen and (min-width:1px) and (max-width:479px) {
  .hero{
      height: 120vw;
  }

  .hero__bg-image{
    min-height: unset;
  }

  .hero__content{
    padding-top: 2.5rem;
    padding-left: 1rem;
  }

  .hero__catch{
    gap: 4rem;
  }

  .hero__catch-image{
    width: 70vw;
  }

  .hero__catch-sub-image{
      width: 85vw;
  }

  .hero__videos{
    top: 29vw;
  }

  .hero__bg-image{
    object-position: -45vw center;
  }

  .home-news__head{
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0rem;
    margin-bottom: 2rem;
  }

  .section-heading--news{
    margin: 0 auto;
    text-align: center;
  }

  .section-heading--news .section-heading__ja{
    font-size: 1.2rem;
  }

  .section-heading--news .section-heading__en{
    font-size: 3rem;
  }

  .home-news{
    margin-bottom: 1rem;
  }

  .home-news__filters{
    margin-bottom: 0;
  }

  .home-news__more{
    margin-bottom: 0;
    margin-left: auto;
  }

  .home-news__grid{
      gap: 0.5rem;
  }

  .news-card--grid{
    width: calc((100% - 0.5rem) / 2);
  }

  .news-card--grid a{}

  .news-card--grid .news-card__tag{
    font-size: 0.7rem;
    padding: 0.25rem 0.25rem;
  }

  .quick-links__grid{
    width: 90vw;
    flex-wrap: wrap;
  }

  .quick-links__card{
    width: calc((100% - 1rem) / 2);
    min-height: 5.8rem;
    padding: 0.5rem 2rem 0.5rem 1rem;
  }

  .quick-links__card--large{
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 1rem;
  }

  .vision--home .vision__text{
    padding: 0 0.5rem;
  }

  .quick-links__label-en{
    font-size: 1.3rem;
  }

  .quick-links__arrow{
    right: 0.5rem;
    width: 1rem;
    height: 1rem;
  }

  .quick-links__body{
    padding: 0.5rem 0;
    height: auto;
  }

  .quick-links__card--large .quick-links__body .quick-links__arrow{
    margin-right: 1.375rem;
  }

  .home-news__filter{
    font-size: 1.05rem;
  }

  .quick-links{
    padding: 2rem 0 3rem 0;
  }

  .vision--home{
    padding: 3rem 0;
  }

  .vision--home .l-container{
    width: 90vw;
    margin: 0 auto;
  }

  .vision--home .section-heading__ja{
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .vision--home .section-heading__en{
    font-size: 3rem;
    line-height: 3rem;
  }

  .vision--home .vision__signature{
    margin-top: 1.5rem;
  }

  .vision--home .vision__signature-name{
    width: 19rem;
  }

  .vision--home .vision__signature-affil{
    width: 19rem;
  }


}