/* 全体のリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

/* HTMLとBODYでページ全体の高さを100%に設定 */
html, body {
    height: 100%;

   background-color: rgb(32, 32, 32);
}

html {
    font-size: 16px;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* リンクスタイル */
a {
    color: rgb(255, 255, 255);
    text-decoration: underline;
    font-size: 1.125rem;
}

a:hover {
    color: red;
    text-decoration: none;
}

/* 見出しのスタイル */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin: 0 0 10px 0;
}

h1 {
    font-size: 2.5rem;

      margin-top:50px;
        margin-bottom:50px;
        
        font-size:28px;
        color: #ffffff;/*文字色*/
        padding: 0.5em 0;/*上下の余白*/
        
}


h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}


/* トップに戻るボタン */
#toTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f5d6fb;
    color: rgb(0, 0, 0);
    font-size: 24px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transform: rotate(-90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

/* ヘッダー */
.header {
    display: flex;
    align-items: center;
    justify-content: right;
    background-color: rgba(32, 32, 32);
    padding: 15px 30px;
    border-bottom: 2px solid #ffffff;
    gap: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* ロゴだけ左端に配置 */
.logo {
    margin-right: auto;
}

.logo a {
    display: block;
    width: 50%;
    height: 50px;
}

.logo img {
    display: block;
     width: auto;
    height: 50px;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}
/* ナビゲーション */
.nav {
    flex-grow: 0;
}

.menu {
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: flex-start; /* ← 中央から左寄せに変更 */
    
}

.menu-item {
    position: relative;
    padding: 10px 20px;
    text-align: left; /* ← 念のため追加 */
    
}

.menu-item a {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* ← 左寄せ */
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-align: left; /* ← 中央から左寄せに変更 */
}

.menu-item .jp {
    font-size: 16px;
}

.menu-item .en {
    font-size: 12px;
    color: #ffffff;
}

.menu-item.active a::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #81daf3;
    position: absolute;
    bottom: -5px;
    left: 0;
}

.menu-divider {
    width: 1px;
    height: 30px;
    background-color: #cccccc00;
}

/* ホバーエフェクト */
.pc_menu {
    transition: transform 0.3s ease;
    user-select: none;
}

.pc_menu:hover {
    transform: scale(1.05);
    color:#81daf3;
}

/* ハンバーガーメニュー */
.hamburger-menu {
    display: none;
}

#menu-btn-check {
    display: none;
}

.menu-btn {
    position: fixed;
    top: 10px;
    right: 20px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background: linear-gradient(rgb(32,32,32), rgb(32,32,32));
    border-radius: 5px;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 4px;
    width: 30px;
    border-radius: 3px;
    background-color: hsl(0, 100%, 100%);
    position: absolute;
}

.menu-btn span:before {
    bottom: 10px;
}

.menu-btn span:after {
    top: 10px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgb(32, 32, 32);
}

#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* モバイルメニュー */
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 80;
    background-color: rgb(32, 32, 32);

    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#menu-btn-check:checked ~ .menu-content {
    right: 0;
}

.menu-content ul {
    padding: 70px 20px 0;
    list-style: none;
    width: 100%;
}

.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    border-color: #ffffff;
    text-align: center;
    width: 100%;
}

.menu-content ul li a {
    display: block;
    font-size: 30px;
    color: #ffffff;
    text-decoration: none;
    padding: 20px 30px;
    font-weight: bold;
}

/* セクション共通バナー */
[class^="banner"] {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*セクションバナー関連 */
.banner_top_ {
    background-color: rgb(32, 32, 32);
    width: 100%;
    height: 600px;

    background-image: url(official_image/Top2.png);

    display: flex;
    flex-direction: column;
    align-items: center;
}
.banner_2{
    background-color: rgb(32, 32, 32);
    width: 100%;

    background-image: url(official_image/banner2.png);

    display: flex;
    flex-direction: column;
    align-items: center;
}
.banner_3{
    background-color: rgb(32, 32, 32);
    width: 100%;

    background-image: url(official_image/banner3.png);
    
    display: flex;
    flex-direction: column;
    align-items: center;
}
.banner_4{
    background-color: rgb(32, 32, 32);
    width: 100%;

    background-image: url(official_image/banner4.png);

    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-image_top {
    max-width: 100%; /* 画像が親要素からはみ出さないようにする */
    max-height: 100%; /* 画像の高さは自動調整 */
    user-select: none;
    -webkit-user-drag: none;
   
  }
  .image_noneselect{
        user-select: none;
    -webkit-user-drag: none;
  }

 .logo_animation {
  animation: logoDrop 1s ease-out forwards;
}

@keyframes logoDrop {
  0% {
    transform: translateY(-350px);
    opacity: 0;
  }

  55% {
    transform: translateY(8px);
    opacity: 1;
  }

  70% {
    transform: translateY(-10px);
  }

  82% {
    transform: translateY(4px);
  }

  91% {
    transform: translateY(-3px);
  }

  100% {
    transform: translateY(0);
  }
}

/* その他要素 */
.sec_1 {
    width: 100%;
    height: 300px;
    background-image: url(official_image/1,Cyber.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

img.sec_1 {
    width: 30%;
    height: auto;
    margin: auto;
    display: block;
}

.image {
    width: 100%;
    height: auto;
    margin: 20px 0;
}

.center-image {
    max-width: 100%; /* 画像が親要素からはみ出さないようにする */
    max-height: 100%; /* 画像の高さは自動調整 */
    user-select: none;
    -webkit-user-drag: none;
   
  }
.center-image_top {
    max-width: 100%; /* 画像が親要素からはみ出さないようにする */
    max-height: 60%; /* 画像の高さは自動調整 */
    user-select: none;
    -webkit-user-drag: none;
   
  }

.mokuzi {
    height: auto;
    padding: 0.5em 1em;
    margin: 2em 0;
    background: #000;
    border: dashed 2px #d0c85b;
}

.tags {
    padding: 0.5em 1em;
    margin: 2em 0;
    background: #000;
    border: dashed 2px #5b8bd0;
}

.content {
    display: flex;
    justify-content: center;
    padding: 50px;
    flex-grow: 1;
    width: 100%;
    gap: 20px;
    box-sizing: border-box; /* 追加 */
}

.main-content {
    
    color: #fcfcfc;
    width: 70%;
    padding: 20px;
    padding-left:20px;
    box-sizing: border-box; /* 追加 */
}


.banner {
    width: 220px;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    user-select: none;
}

.banner:hover {
    transform: scale(1.05);
}




/* スマホ */
@media (max-width: 768px) {
    .business-table-wrapper {
        padding: 10px;
    }

    .business-table th,
    .business-table td {
        padding: 12px 10px;
    }

    .business-table th {
        width: 30%;
    }
}


/* フッター */
.footer {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 15px;
    position: relative;
    width: 100%;
}

.footer_menu {
    background-color: #f5d6fb;
    width: 100%;
}

.footer-logo {
    width: 180px;
    height: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .footer-logo {
        width: 140px;
    }
}

.sitemap {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    padding: 20px;
    background-color: #f5d6fb;
}

.sitemap-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer_a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.sitemap-column a:hover {
    text-decoration: underline;
}

.image_1{
    
    display: flex;
}
.image_1_{
    width:70%;
    margin-right:20px; 
    height:auto;
}


.fade-in-element {
   opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* スクロールで表示されたら付与されるクラス */
.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

.text {
   
    color:#ffffff;
        text-shadow:
                3px 3px 3px #000, -3px -3px 3px #000,
                -3px 3px 3px #000,  3px -3px 3px #000,
                3px 0px 3px #000, -3px -0px 3px #000,
                0px 3px 3px #000,  0px -3px 3px #000;
}

.character-profile {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0px;
}

.character-image {
  width: 50%;

  height: auto;
  border-radius: 10px;

}

.character-description {
  flex: 1;
  
  background-color: #8eddff43;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}
.character-description:hover {
    transform: scale(1.05);
}

.character-description_2 {
  flex: 1;
  
  background-color: #ffc78e43;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.character-description_2:hover {
    transform: scale(1.05);
}
.license{
    padding:50px;
}

.Chara_Image {
    width:35%; 
    margin-right:20px;
    height:auto;
}

.cool-button {
  display: inline-block;
  padding: 0.8em 1.5em;
  font-size: 1.1rem;
  color: white;
  background: linear-gradient(135deg, #000000, #363636);
  border: none;
  border-radius: 2em;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.right-container {
  text-align: right;
}

.cool-button {
  display: inline-block;
  /* ここにボタンのスタイル */
}

.cool-button:hover {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
}
.center-box {
  width: 100%;            /* 任意の幅 */
  height: auto;           /* 任意の高さ */
  background-color: #daf3812f;
  display: flex;
  padding:10px;
  align-items: center;     /* 上下中央 */
  justify-content: center; /* 左右中央 */
  border-radius: 1em;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;

    color:#ffffff;
        text-shadow:
                3px 3px 3px #000, -3px -3px 3px #000,
                -3px 3px 3px #000,  3px -3px 3px #000,
                3px 0px 3px #000, -3px -0px 3px #000,
                0px 3px 3px #000,  0px -3px 3px #000;
}

.box_1 {
  width: 100%;            /* 任意の幅 */
  height: auto;           /* 任意の高さ */
  background-color: #81f3d52f;
  
  padding:50px;

  border-radius: 1em;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);


    color:#ffffff;
        text-shadow:
                3px 3px 3px #000, -3px -3px 3px #000,
                -3px 3px 3px #000,  3px -3px 3px #000,
                3px 0px 3px #000, -3px -0px 3px #000,
                0px 3px 3px #000,  0px -3px 3px #000;
}
.box_1_text{

        font-size:20px;
        padding-bottom:20px;
        color:#ffffff;
        text-shadow:
                3px 3px 3px #000, -3px -3px 3px #000,
                -3px 3px 3px #000,  3px -3px 3px #000,
                3px 0px 3px #000, -3px -0px 3px #000,
                0px 3px 3px #000,  0px -3px 3px #000;
}

.center-box:hover {
    transform: scale(1.05);
}

.center-box p {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

/* メディアクエリ */
@media (min-width: 1024px) {
    .sidebar,
    .Top_Button {
        display: block;
    }
}
/* タブレット */
@media (max-width: 1400px) {
    .license{
    padding:30px;
}
    .main-content {
        width: 100%;
        padding: 10px;
        padding-left:20px;
    }
}



@media (max-width: 768px) {
    .license{
    padding:3px;
}
      .character-profile {
    flex-direction: column;
    align-items: center;
    
  }

  .character-image {
    width: 100%;
    max-width: 1080px;
  }

    .image_1{
    display: block;
    }
    .image_1_ {
    width:100%; 
    height:auto;
    }
    .Chara_Image {
        display: block;
        margin: 0 auto;
        width:45%; 
        height:auto;
    }
    .center-image_top {
        max-height: 80%;
    }

    .content {
        padding: 5px;
        padding-left:20px;
    }

    .main-content {
        width: 100%;
        padding: 10px;
    }

    html {
        font-size: 15px;
    }

    body {
        font-size: 1.125rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 2.2rem;
    }

    .menu-content ul li a {
        font-size: 28px;
        padding: 20px 40px;
    }

    p, a, button, input, textarea {
        font-size: 1.125rem;
    }

    .hamburger-menu {
        display: block;
    }

    .menu-content ul li {
        border-bottom: solid 1.2px #ffffff;
    }

    .menu-btn {
        height: 70px;
        width: 70px;
    }

    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        height: 5px;
        width: 35px;
    }

    .menu {
        display: none;
    }

    .Top_Button {
        display: none;
    }

    .sitemap {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: start;
        gap: 8px;
    }

    .sitemap > a {
        width: 100%;
    }

    .footer_a {
        font-size: 15px;
    }

    .sitemap-column {
        gap: 8px;
    }
}

.section-title {
    text-align: center;
    padding: 15px 0;
    margin: 50px 0 30px;
    /*border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;*/
    font-size: 50px;
}

.Text_Shadow{

        color: #ffffff;
        text-shadow:
                3px 3px 3px #000, -3px -3px 3px #000,
                -3px 3px 3px #000,  3px -3px 3px #000,
                3px 0px 3px #000, -3px -0px 3px #000,
                0px 3px 3px #000,  0px -3px 3px #000;
    }