* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

body {
  padding: 7ps;
  background: #009b71;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

#container {
  background-image:url("/base_pic/bg.jpg");
  padding-bottom: auto;
  padding: 20px;
}

.artist_logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  margin: 20px;
  width: 300px;
}

.header_icon_nav {
  display: flex;
  justify-content: right;
  padding: 0;
  margin: 0;
}

.header_icon_nav img {
  width: 35px;
  height: 35px;
  object-fit: contain;

}

.mail_icon{
  margin-top: 5px;
  width: 32px;
  height: 24px ;
  border: 3px solid #000;
  border-radius: 5px;
  position: relative;
}

.mail_icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 18.5px;
  height: 2px;
  background: #000;
  transform: rotate(35deg);
  transform-origin: left top;
}

.mail_icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0.1px;
  width: 18.5px;
  height: 2px;
  background: #000;
  transform: rotate(-38deg);
  transform-origin: right top;
}

.header_select_nav ul {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
  padding: 20px;
}

.header_select_nav ul li a{
  white-space: nowrap;
  font-size: clamp(14px, 2vw, 18px);
  display: block;
}

.header_strings:hover{
  background-color: #ffc971;
  border-radius: 100px;
  bottom: 1px;
}

h1{
  text-align: center;
}

.koubaibu_head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
}

.koubaibu_tag{
  margin-left: -20px;
}

.koubaibu_box {
  background-color: aliceblue;
  border: #009b71 solid 3px;
  max-width: 1000px;
  margin-bottom: 20px;
  margin: 0 auto 20px;
}

.koubaibu_scene{
  width: 100%;
  height: auto;
  display: block;
  padding: 5px;
}

.koubaibu_strings{
  margin-bottom: 50px;
}

button {
  padding: 8px ;    
  color: #fff;         
  border: none;         
  border-radius: 6px;   
  cursor: pointer;      
}
button[data-type="event"] {
  background-color: #58afff;
}
button[data-type="koubaibu"] {
  background-color: #FFAA22;
}
button[data-type="denno"] {
  background-color: #63CC3E;
}
button[data-type="recruitment"] {
  background-color: #FF4D4D;
}
button[data-type="others"] {
  background-color: #FF9999;
}
button[data-type="all"] {
  background-color: #7b00ff;
}
.prev, .next{
  background-color: #000000;
}

.news_select_button{
  margin-bottom: 3px;
}

.news_item{
  display: flex;
  align-items: flex-start;
  background-color: #ffffff;
  margin-bottom: 20px;
  border: 3px solid transparent;
}

.news_item.type-event{
  border-color: #58afff ;
}
.news_item.type-event span{
  color: #ffffff;
  font-weight: 200;
  background-color: #58afff;
  padding: 6px;
}
.news_item.type-koubaibu{
  border-color: #FFAA22;
}
.news_item.type-koubaibu span{
  color: #ffffff;
  font-weight: 200;
  background-color: #FFAA22;
  padding: 6px;
}
.news_item.type-denno{
  border-color: #63CC3E;
}
.news_item.type-denno span{
  color: #ffffff;
  font-weight: 200;
  background-color: #63CC3E;
  padding: 6px;
}
.news_item.type-recruitment{
  border-color: #FF4D4D;
}
.news_item.type-recruitment span{
  color: #ffffff;
  font-weight: 200;
  background-color: #FF4D4D;
  padding: 6px;
}
.news_item.type-others{
  border-color: #FF9999;
}
.news_item.type-others span{
  color: #ffffff;
  font-weight: 200;
  background-color: #FF9999;
  padding: 6px;
}

.news_item {
  position: relative;
}

.news_item .news_link {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.news_date{
  font-size: 9pt;
  font-weight: 150;
}



.news_thumb img{
  padding: 5px;
  border-radius: 10px;
}

.koubou_address {
  text-align: right;
  font-size: 80%;
  font-weight: 200;
  padding: 10px;
}

#substance {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news_body {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  text-align: left;        
}

.time_apan{
  display: flex;
  align-items: center;
}

.news_excerpt{
  font-weight: 150;
}

.sche_news {
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.inner a{
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  width: 270px;
  height: 85px;
  background-color: #ffffff;
  border: #78c1f8 solid 3px;
}

.company_link img {
  max-width: 100%;
  max-height: 100%;
}

.company_link h3 {
  color: #78c1f8;;
  text-align: left;
  margin: 0;
}

.company_link h3 {
  font-size: 18px;
  font-weight: bold;
}


#subinstance_character {
  display: flex;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto 20px;
  gap: 15px;

}


footer {
  background-image: url("/base_pic/foot_bg.png");
  background-repeat: repeat-x;
  padding: 60px;
}

footer p {
  text-align: right;
}

/* ===============================
   ハンバーガー（PCでは非表示）
=============================== */
.hamburger,
.mobile_menu ul,
.close_btn {
  display: none;
}

/* ===============================
   スマホ対応（1100px以下）
=============================== */
@media (max-width: 1100px) {

  /* PCナビ非表示 */
  .header_select_nav,
  .header_icon_nav {
    display: none;
  }

  /* ロゴ中央固定 */
  .artist_logo {
    justify-content: center;
    position: relative;
    width: 100%;
  }

  /* ハンバーガー表示 */
  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    z-index: 100;
  }

  .hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #000;
    margin: 6px 0;
    border-radius: 3px;
  }

  /* モバイルメニュー */
  .mobile_menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    padding: 20px;
    box-shadow: -4px 0 10px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 200;
    display: block;
  }

  .mobile_menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile_menu .close_btn {
    display: block;
    font-size: 30px;
    text-align: right;
    cursor: pointer;
    margin-bottom: 20px;
  }

  .mobile_menu ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .mobile_menu a {
    font-size: 18px;
    padding: 10px 0;
  }
}

@media (max-width: 1100px) {

  .mobile_menu .header_icon {
    width: 28px;
    height: 28px;
  }

  .mobile_menu .mail_icon {
    width: 26px;
    height: 20px;
  }

  .mobile_sns {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 25px;
  }
}

@media (max-width: 1100px) {

  .mobile_menu .mail_icon {
    width: 24px;
    height: 18px;
    border-width: 2px;
  }

  .mobile_menu .mail_icon::before,
  .mobile_menu .mail_icon::after {
    width: 14px;
    height: 2px;
  }
}

@media (max-width: 1100px) {
  #subinstance_character {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center; /* 中央揃え（任意） */
  }

  .character_description_main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .character_pic img {
    width: 80%;
    height: auto;
  }
}

/* PC用（デフォルト） */
.ttl_character_list {
  content: url("ttl.png");
}

/* スマホ用（1100px以下） */
@media (max-width: 1100px) {
  .ttl_character_list {
    content: url("ttl_sap.png"); /* ← スマホ用画像に差し替え */
    width: 80%;
    height: auto;
  }
}

@media (max-width: 1100px) {
  .character_list_detial {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .character_list ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .character_list ul li img {
    width: 80%;
    height: auto;
  }
}

@media (max-width: 600px) {
  .news_thumb {
    display: none;
  }
}