*, *::before, *::after {
    box-sizing: border-box;
}

html{
    height: 100vh;
    width: 100vw;
    margin: 0;
    overflow-x: hidden;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
    line-height: 1.5rem;
}

body{
 background-image: url("image/shitazi.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  
}

/* 縦長（画面の高さ > 幅）のとき：高さを100%に、幅を自動に */
@media (orientation: portrait) {
  body {
    background-size: cover;
  }
}

/* 横長（画面の幅 > 高さ）のとき：幅を100%に、高さを自動に */
@media (orientation: landscape) {
  body {
    background-size: 100% auto;
  }
}

canvas{
    position: relative;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 真ん中に配置 */
  z-index: 100;
  
  /* 縦書きの設定 */
  writing-mode: vertical-rl;
  text-orientation: upright;
  
  font-size: 1.5rem;
  font-weight: bold;
  color: rgb(0, 0, 0); /* 任意の色 */
  pointer-events: none; /* マウス操作を透過させる */
}

p{
    font-size: 1.15rem;
}

a{
    text-decoration: none;
    color: #000;
}



#top{
    display: flex;
    justify-content: center;
}

#mainvisual{
    width: 100%;
    height: auto;
}

h1{
    font-family: "toppan-bunkyu-midashi-go-std", sans-serif;
    font-weight: 900;
    font-style: normal;
    line-height: 1.8rem;
}

.grd{
    width: 100vw;
    height: 20vh;
    background: linear-gradient(rgba(130, 204, 61, 0),rgba(255, 255, 255, 0.466));
}
.grd2{
    width: 100vw;
    height: 20vh;
    background: linear-gradient(rgba(255, 255, 255, 0.466),rgba(130, 204, 61, 0));
}

.witout{
    background-color: rgba(255, 255, 255, 0.555);
}

.head2{
    display: flex;
    justify-content: space-between;
    margin-bottom: 5%;
}

.lang{
            display: flex;
            justify-content: flex-end; /* 各要素を均等に配置 */
            list-style-type: none; /* リストのマーカーを非表示にする */
            font-size: 2rem;
        
}
.lang li{
    padding-right:8%;
    font-size: 1.5rem;
}

.st {
    font-family: "toppan-bunkyu-midashi-go-std", sans-serif;
    font-weight: 900;
    font-style: normal;
}

#about{
    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0 0 10% 0;
    padding: 0 10%;
}

#artist{
    width: 100%;
    height: 100%;
}

.header{
    width: 100%;
    height: 100px;
    padding: 0 10%;
    box-sizing: border-box; /* ← 追加 */
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    top: 0;
    color: rgba(255,255,255,0.5);
    z-index: 100;
}

.header_item{
    font-size: 30px;
    min-width: 0;
    padding-left: 30px;
}

.detail{
    display: flex;
    justify-content: space-between;
    margin: 7% 0;
}

.detail div{
    margin-right: 5%;
}

.detail_item h1{
    display: flex;
    align-items: center;
    margin-bottom: 3%;
    font-size: 1.5rem;
}
.material-icons{
    margin-right: 0.5vh;
}

.item_image{
    width: 100%;
    height: auto;
}

.artist_list{
    height:100%;
    display: flex;
    overflow-y: clip;
    overflow-x: auto;
    align-items: baseline;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin: 0 8%;
}

.artist_list_item{
    width: 30%;
    height: 100%;
    margin: 0 3%;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: none;
}

.artist_list_item h1{
    font-size: 1.4rem;
    margin-bottom: 3%;
}

.artist_list_item h2{
    font-size: 1.3rem;
    margin-bottom: 3%;
}

.item_text{
    width: 100%;
    height: 100%;
}


.item_image{
    display: none;
    width: auto;
    height: 0%;
}

