html {
    font-size: 62.5%;
}

body {
    font-size: 1.4rem;
}

.loading {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 100vw;
   height: 100vh;
   background: #fff;
   position: fixed; 
   /* z-index: 999; */
   opacity: 0.7;
}

.loading div {
    width: 50px;
    height: 50px;
    border: 5px solid #d0d0d0;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading div::after {
    content: "";
    width: 100%;
    height: 100%;
    border: 5px solid #ff3d00;
    border-radius: 50%;
    position: absolute;
    border-top-color: transparent;
    animation: ring 2s linear infinite;
    box-sizing: initial;
}

.shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影を付けて視認性向上 */
}

.container {
    max-width: 1366px;
    width: 100%;
    margin: 0 auto;
    font-family: "heisei-kaku-gothic-std", sans-serif;
    font-weight: 500;
    font-style: normal;
    padding: 0;
}


/* TOP動画 */
.page-top .top {
  /* margin: 20px 0; */
  /* height: 1120px; */
  height: 100vh;
  position: relative;
}

/* 共通ラッパー（動画も本文も中央に配置） */
.page-top .content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 中央配置（絶対位置で重ねる）共通 */
.page-top #videoWrapper,
.page-top #main-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 本文は最初非表示 */
.page-top #main-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex; /* 最初からflexにしておく */
  align-items: center;
  justify-content: center;
  opacity: 0; /* 透明に設定 */
  pointer-events: none; /* 非表示の間クリック不可 */
  background: white;
  flex-direction: column;
  text-align: center;
  transition: opacity 2s ease; /* フワッとの時間を調整 */
   overflow: hidden;
}

/* #main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  opacity: 0.3; 
  z-index: -1; 
} */

/* #main-content.show {
  opacity: 1; 
  pointer-events: auto; 
} */

.background {
  position: absolute;
  top: 120px;
  left: 0;
  width: 100%;
  /* height: 100vh; */
  height: calc(var(--vh, 1vh) * 100); /* ← これが100%の高さになる */
  background: url('image/main_bg.png') no-repeat top center;
  background-size: contain;  /*全体を表示*/
  opacity: 0; /* 背景の透明度 */
  z-index: 0;
  transition: opacity 12s ease;
  position: fixed;
}

#main-content.show {
  opacity: 1;
  pointer-events: auto;
}

.background.show {
  opacity: 0.2; /* ← 表示させたい透明度 */
}

/* wrapperをアニメーションの対象にする */
.main_wrapper {
  opacity: 0; /* はじめ透明にする */
  transition: opacity 3s ease;
  z-index: 1; 
}

.main_wrapper.show {
  opacity: 1;
}


.top-video {
  width: 720px;
  /* height: 1080px; */
  height: 100vh;
  object-fit: contain;
}

.link-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* 上下中央揃え */
    align-items: center;     /* 左右中央揃え */
    height: 100vh;           /* 画面いっぱいの高さ */
    gap: 20px;               /* リンク間の間隔調整 */
}

.link-container a {
    font-size: 2rem;         /* リンクの文字サイズ調整 */
    text-decoration: none;   /* リンク下線を消す */
    color: #333;             /* 文字色を調整 */
    transition: color 0.3s;
}

.link-container a:hover {
    color: #ff0000;          /* ホバー時の色 */
}


/* TOP動画END */

/* interviewページ */

.content-name {
    font-size: 2rem;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 30px;
    color: gray;
}

.interview_body{
    padding: 10px;
    padding-bottom: 10px;
    color: #333;
}

.interview-img img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 40px;
}

.interviewer-talk {
    color: black;
}

.interviewer-name {
    font-style : italic;
}

/* interviewページEND */

/* live_scheduleページ */

.live-overview {
    font-size: 1.7rem;
    /* padding-bottom: 15px; */
    padding: 0 0 15px 0;
    text-align: center;
}

.live-detail {
    font-size: 1.5rem;
    color: rgb(99, 98, 98);
    /* padding: 30px; */
    text-align: center;
    padding-bottom: 20px;
}

.live-detail a {
    color: blue;
}

.live-detail a:hover {
    color: #ff0000;          /* ホバー時の色 */
}

.live-schedule img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.area-edition {
    color: red;
    font-size: 1.5rem;
}

.main_wrapper.live-schedule {
    position: relative;
    padding-bottom: 20px;          /* 線と内容の間に余白を付ける */
    margin-bottom: 20px;           /* 次の要素との間に余白を付ける */
}

/* 疑似要素で中央寄せの罫線 */
.live-detail::after {
    /* 空の要素を作る */
    content: "";
    /* ブロック化して横幅を指定 */
    display: block;
    width: 80%;
    /* 薄い罫線 */
    border-bottom: 1px solid #ccc;
    /* 中央寄せ */
    margin: 0 auto;
    margin-top: 40px;
}

/* live_scheduleページEND */

/* connectセクション */

.connect-title {
    font-size: 2rem;
}

.connect-title a {
    font-size: 1.8rem;         /* リンクの文字サイズ調整 */
    text-decoration: none;   /* リンク下線を消す */
    color: blue;             /* 文字色を調整 */
    transition: color 0.3s;
}

.connect-title a:hover {
    color: #ff0000;          /* ホバー時の色 */
}

/* connectセクション　END */

/* Socials */

    .socials {
    display: flex;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
    }
    .socials a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: black;            /* ベース色（ダーク背景なら #fff などに変更） */
    background: #f3f3f3;
    transition: transform .15s ease, opacity .15s ease, background .15s ease, color .15s ease;
    }
    .socials a:hover {
    transform: translateY(-1px);
    opacity: 0.9;
    }
    /* ブランド系の軽い色分け（必要なら） */
    .socials a[aria-label="Instagram"]:hover { color: #E4405F; }
    .socials a[aria-label="X"]:hover         { color: #111; }
    .socials a[aria-label="YouTube"]:hover   { color: #FF0000; }
    .socials a[aria-label="Apple Music"]:hover { color: #111; }
    .socials a[aria-label="Spotify"]:hover   { color: #1DB954; }

    /* アイコンサイズ */
    .socials i { font-size: 20px; }

    /* .fa-instagram {
        color: crimson;
    } */


/* Socials END */

/* footerセクション */

.footer {
    height: 221px;
    overflow: auto;
    background-color: #192F60;
    /* margin-bottom: 1000px; */
}

.footer__img {
    display: block;
    margin: 48px auto;
}

.footer__address {
    color: white;
    margin: 0 auto;
    font-size: 14px;
    text-align: center;
}

.footer__copy {
    color: #AEB6C7;
    font-size: 11px;
    text-align: center;
    margin-top: 40px;
}


@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* アニメーションを適用するクラス */
.fade-in-target {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-img {
    opacity: 0;
    transform: translateY(150px); /* 個別の初期位置 */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-img {
    position: relative; /* 必要に応じて調整 */
    z-index: 5; /* テキストよりも背面に表示 */
}

.fade-in-left {
    opacity: 0;
    transform: translatex(-150px); /* 個別の初期位置 */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translatex(150px); /* 個別の初期位置 */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}


/* トップに戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 0.7;
    visibility: visible;
}

.material-symbols-outlined.md-18 { 
    font-size: 40px; 
    color: white;
    font-variation-settings: 'wght' 100; /* 太さを指定 */
  }


  /* header セクション */

  

.header {
    max-height: 180px;
    /* background-color: beige; */
}

.header__inner {
    background-color: white;
    width: 100%;
    height: inherit;
    margin-inline: auto;
    /* padding:  0 25px 0 25px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 1100px;
    flex-wrap: wrap;
}

.header__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap:50px; */
    height: 100%;
}

.header__nav-items {
    max-width:100%;
    width: 544px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* flex-grow: 1; */
    height: 35px;
    margin-left: 15px;
}

.header__logo {
    width: 124px;
    max-width: 100%;
    margin-left: 53px;
}

.header__nav-link {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 35px;
    position: relative;
}

.header__nav-li--eng {
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 2rem;
    /* margin-bottom: 7px; */
    color: #0C162C;
    padding-bottom: 5px;
}

.header__nav-li--jpn {
    position: relative;
    /* margin-bottom: 7px; */
    color: #0C162C;
    /* transition: 1.5s linear; */
}

.header__nav-link::after {
    position: absolute;
    left: -5px;
    content: "";
    width: 115%;
    height: 2px;
    background: #000;
    bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.header__nav-link:hover::after {
    visibility: visible;
    bottom: -5px;
    opacity: 1;
}



@media (max-width: 2500px) {

    .header__inner {
        all: unset;
        display: flex;
        justify-content: space-between;
    }
    
    .header__logo {
        all: unset;
        margin-left: 20px;
        margin-top: 15px;
    }
    
    .header__nav {
        all: unset;
        padding-top: 60px;
        position: fixed;
        opacity: 0.9;
        right: 0;
        height: calc(100% - 0px);
        top: 0px;
        background-color: crimson;
        /* justify-content: space-around;
        flex-direction: column;
        align-items: flex-start; */
        width: 60%;
        transform: translateX(100%);
        /* padding-left: 30px; */
        z-index: 10;
        transition: all 0.5s ease-in-out;
        font-family: "heisei-kaku-gothic-std", sans-serif;
        font-weight: 500;
        font-style: normal;
    }

    .header__nav-active {
        transform: translateX(0%) !important;
    }
    
    .header__nav-items {
        all: unset;
        list-style: none;
        margin: 20px 0;
    }
    
    .header__nav-item {
        /* all: unset; */
        margin: 20px 0;
    }
    
    .burger{
        position: fixed;
        right: 20px;
        display: block;
        cursor: pointer;
        margin-top: 20px;
        margin-left: 30px;
        z-index: 99;
    }
    
    .burger div{
        width: 25px;
        height: 3px;
        background-color: black;
        margin: 5px;
        transition: all 0.5s ease-in-out;
    }
    
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .toggle .line2 {
        opacity: 0;
    }
    
    .toggle .line3 {
        transform: rotate(405deg) translate(-5px, -6px);
    }

    .header__nav-link:hover {
        opacity: 0.6;
    }

    .header__nav-link:hover::after {
        visibility: hidden;
        bottom: -5px;
        opacity: 0;
    }

    /* 画像メニュー専用 */
    .header__nav-item--img img {
        max-width: 90px; /* 必要に応じてサイズ調整 */
        height: auto;     /* 縦横比を保持 */
        display: block;   /* 画像下の余白防止 */
        margin: 120px auto;   /* 中央寄せ */
        opacity: 0.8;
    }


    /* headerセクション終了 */
}
