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

:root {
  --swup-blue: hsl(239, 50%, 30%);
  --swup-red: hsl(354, 99%, 68%);
  --swup-green: hsl(172, 65%, 62%);
  --link-underline-color: var(--swup-green);
  --font-size-fluid-0: clamp(1rem, 2vw, 1.15rem);
  --font-size-fluid-1: clamp(1.15rem, 3vw, 1.35rem);
  --font-size-fluid-2: clamp(1.35rem, 4vw, 1.7rem);
  --font-size-fluid-3: clamp(1.7rem, 5vw, 2.2rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --gap-x2: calc(var(--gap) * 2);
  --radius-round: 1000px;
  --radius-0: 0.2em;
  --radius-1: 0.4em;
  scrollbar-gutter: stable;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "helvetica neue", helvetica, roboto, noto, "segoe ui", arial, sans-serif;
  margin: 0;
  padding: 0;
  font-size: var(--font-size-fluid-0);
  line-height: 1.4;
  background-color: #000;
  color: white;
  scrollbar-width: none;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

/* 初期状態で透明 */
body {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* ページ読み込み後にフェードイン */
body.fade-in {
    opacity: 1;
}
::-webkit-scrollbar {
  display: none;
}

a {
  text-decoration: none;
  color: inherit;
}

h1 {
  margin-bottom: 1em;
  font-size: var(--font-size-fluid-3);
  line-height: 1.2;
}

h2 {
  margin-bottom: 1em;
  font-size: var(--font-size-fluid-2);
  line-height: 1.25;
}

h3 {
  font-size: var(--font-size-fluid-1);
  line-height: 1.3;
}

p {
  margin-bottom: 1em;
}

h1 span,
h2 span {
  display: block;
}

.layout {
  min-height: 100vh;
  width: 97%;
  margin: 0 auto;
  padding: 2rem 0 1rem;
}

.layout-page {
	width: 450px;
	margin: 0 auto;
}

.header {
     display: flex;
    align-items: center;
}

.header-buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    margin-left: 8px;
    cursor: pointer;
}

.logo {
  display: inline-block;
  width: 200px;
}
.logo img {
	width: 100%;
}

main {
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 1.5rem;
}


a#band-link {
    padding: 20px;
    border: 1px #fff solid;
    display: block;
    text-align: center;
    margin: 30px 0 0;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.2s ease-in-out; /* アニメーションの追加 */
}

a#band-link:hover {
    background: #fff;
    color: #333;
}

ul,li {
	list-style: none;
}

ul.sns {
    display: flex;
    justify-content: center;
}

.sns li {
    width: 60px;  
    height: 60px; 
    padding: 0;  
    border: 1px solid #fff;
    display: flex;  
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 10px;
    font-size: 1.6rem;
    transition: transform 0.3s ease-in-out; /* 拡大アニメーション */
}

.sns li a {
	display: block;
}

.sns li:hover {
    transform: scale(1.2); /* ホバー時に1.2倍に拡大 */
}

.buttons {
  margin-top: 2.25em;
  margin-bottom: 1.75em;
  display: flex;
  justify-content: space-between;
  gap: var(--gap-x2);
}

.buttons:last-child {
  margin-bottom: 0;
}

.button {
  appearance: none;
  color: currentColor;
  display: block;
  border-radius: var(--radius-round);
  background: transparent;
  border: 2px solid;
  padding: .6em 1.1em;
  transition-property: background, color;
  transition-duration: 150ms;
  white-space: nowrap;
  cursor: pointer;
  font-weight: bold;
  font-size: inherit;
}

.button:hover {
  background: rgba(255, 255, 255, 0.05);
}


.list {
 display: grid;
            grid-template-columns: repeat(12, 1fr);
            grid-auto-rows: minmax(200px, auto);
            gap: 15px;
            padding: 15px;
            max-width: 1400px;
            margin: 0 auto;
}

.list_item {
 position: relative;
            overflow: hidden;
            border-radius: 4px;
            background-color: #000;
  transition: opacity 150ms, transform 250ms;
  overflow: hidden; 
}

.item-large {
            grid-column: span 8;
            grid-row: span 2;
        }
        
        .item-medium {
            grid-column: span 4;
            grid-row: span 2;
        }
        
        .item-small {
            grid-column: span 4;
            grid-row: span 1;
        }



.list_item img {
  width: 100%;
  height: 320px;
  /* height: 100%; */
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease, border-radius 0.3s ease;
  transform-origin: center; /* 拡大時に中央基準で拡大 */
}

.list_item:hover img {
  transform: scale(1.1); /* 拡大 */
  border-radius: 15px; /* 角を丸くする */
  opacity: 1;
}


.list_item.is-new {
  opacity: 0;
  transform: scale(0.5);
}

.list_item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.list_item>a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  user-select: none;
}

.list_item_title {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: var(--font-size-fluid-1);
  line-height: 1.3;
}

.list_item_title a {
  background: none;
}

.list_item_content {
  opacity: 0.6;
}

.pagination__next {
  display: none;
}

    .card-content {
            position: absolute;
            bottom: 0;
            left: 0;
            padding: 20px;
            width: 100%;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
        }
        
        .card-title {
            font-size: 25px;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
/* news */

   .container {
      max-width: 98%;
      margin: 0 auto;
      padding: 20px 0;
    }
    
      .information-contents {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      padding: 20px;
      margin-bottom: 20px;
      height: 500px;
      overflow-y: scroll;
    }
    
    .ln {
	    font-weight: bold;
	    font-size: 1.5rem;
	    color: #333;
    }
    
    .news-list {
      list-style: none;
    }
    
    .news-item {
      border-bottom: 1px solid #eee;
      padding: 20px 0;
    }
    
    .news-item:last-child {
      border-bottom: none;
    }
    
    .news-item a {
      display: block;
      text-decoration: none;
      color: inherit;
      transition: all 0.3s ease;
      color: #333;
    }
    
    .news-item a:hover {
      transform: translateY(-3px);
    }
    
    .title h4 {
      font-size: 1.2rem;
      margin-bottom: 10px;
      color: #333;
      line-height: 1.4;
    }
    
    .date {
      font-size: 0.9rem;
      color: #888;
      margin-bottom: 5px;
    }
    

    .readmore {
      text-align: right;
      font-size: 0.9rem;
      color: #555;
    }
    
    .loading {
      text-align: center;
      padding: 40px;
      font-size: 1.2rem;
      color: #666;
    }
    
    .m-pager {
      display: flex;
      justify-content: center;
      margin-top: 20px;
      gap: 5px;
    }
    
    .m-pager a {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 4px;
      text-decoration: none;
      color: #333;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .m-pager a.current {
      background-color: #333;
      color: white;
      border-color: #333;
    }
    
    .m-pager a:hover:not(.current) {
      background-color: #f0f0f0;
    }
    
    .no-news {
      text-align: center;
      padding: 40px;
      color: #666;
    }

        

/* footer */

footer {
    position: relative;
    width: 100%;
    overflow: hidden;
}

ul.foot-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.foot-list li:before {
    content: "";
    position: absolute;
    display: block;
    width: 1px;
    height: 20px;
    top: 5px;
    right: 0;
    border-right: 1px solid #ddd;
    opacity: .15;
}

.foot-list li {
    font-size: 13px;
    margin: 0 15px;
    opacity: .5;
    transition: opacity 1s;
    }

.copy {
	font-size: 12px;
	text-align: center;
	margin-bottom: 20px;
}
        
        @media (max-width: 1024px) {
            .item-large {
                grid-column: span 12;
            }
            
            .item-medium {
                grid-column: span 6;
            }
            
            .item-small {
                grid-column: span 6;
            }
        }
        
 
 
/* スマホ用（画面幅が768px以下なら1列に） */

@media (max-width: 768px) {
    .list {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2カラムに変更 */
        gap: 10px; /* アイテム間の余白を適宜調整 */
    }

.card-title {
    font-size: 15px;
    }
    
    
    
   .sns li {
    width: 45px;  
    height: 45px; 
    font-size: 1.2rem;
    transition: transform 0.3s ease-in-out; /* 拡大アニメーション */
}
    
    .item-large, .item-medium, .item-small {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .list_item img {
        height: 100%;
  aspect-ratio: 16 / 9; /* 例えば16:9の比率で統一 */
    }
    
    .header {
    width: 98%;
    }
    
    .layout {
        width: 97%;
    }

    .layout-page {
        width: 95%;
    }
    
/* news */
  .container {
        padding: 10px;
      }
      
  .news-item {
        padding: 10px 0;
      }
    .ln {
	    font-size: 1.2rem;
    }
    
    .news-item h4 {
	    font-size: .9rem;
    }
    
    .date,
    .readmore {
    font-size: 0.8rem;
    }
    
}
