@charset "UTF-8";
*{
    box-sizing: border-box;
}
body, html {
  margin: 0; 
  padding: 0; 
  height: 100%;
  color: #00CED1;

   background-image: url('image/アートボード\ 1back.png'); 
  background-size: cover;     
  background-position: center; 
  background-repeat: no-repeat;
  background-attachment: fixed; 

  font-family: 'DotGothic16', sans-serif;
  position: relative;
  overflow-x: hidden;
}

.main {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;      
  text-align: center;
}

.main h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow:
    0 0 10px #00CED1,
    0 0 20px #00CED1,
    0 0 30px #fff;
}

.sf-underline {
  position: relative; 
  display: inline-block;
  font-family: 'DotGothic16', sans-serif;
  color: #0ff;
  font-size: 3rem;
  padding-bottom: 10px;
  overflow: visible; 

  font-family: 'HangyakuFont', serif;
  
  color: #fff;

}
@font-face {
  font-family: 'HangyakuFont';
  src: url(hangyaku-font/Hangyaku-G3rpg.ttf) format('truetype');
}


.sf-underline::after {
  content: "";
  position: absolute;     
  left: 50%;         
  bottom: 0;         
  height: 2px;
  width: 100vw;         
  background: linear-gradient(to right, #00CED1, #fff, transparent);
  animation: underline-run 1.2s linear infinite;
  pointer-events: none; 
  z-index: 10;        
  transform: translateX(-50vw);
}

@keyframes underline-run {
  0% {
    transform: translateX(-100vw);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100vw);
  }
}


.main nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 3rem;
}

.main nav a {
  color: #00CED1;
  text-decoration: none;
  font-size: 1.5rem;
  text-shadow: 0 0 5px #00CED1;
  transition: color 0.3s ease;

  padding: 0.5rem 1.2rem;      /* ボタンの内側余白 */
  border: 1px solid rgba(255, 255, 255, 0.7);  /* 細めの枠線 */
  box-shadow: 0 0 5px #00CED1; 
  display: inline-block;  
}

.main nav a:hover {
  color: #ff6347;
  text-shadow: 0 0 10px #ff6347;
  border-color: #ff6347; 
  box-shadow: 0 0 10px #ff6347;
}

/* メイン下　ニュース */
.news h1{
    font-size: 3em;
    color: #FF6347;
    margin-bottom: 20px;
    font-family: 'DotGothic16', sans-serif;
    text-align: center;
}
.news img{
  width: 100%;
  margin:50px auto ;
}
.news p,table{
  color: #fff;
  font-family: serif;
}
.news{
  margin: 0 40px;
  text-align: center;
}
.news h2{
  color: #FF6347;
}
table td{
  padding: 10px;
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
  margin: 40px;
}
.btn--orange,
a.btn--orange {
  color: #fff;
  background-color: #00CED1;
}
.btn--orange:hover,
a.btn--orange:hover {
  color: #fff;
  background: #00CED1;
  text-decoration: underline;
}
.news table {
  margin: 0 auto;
}
ul li{
  list-style-type: none;
}

.gallery h1{
  font-size: 3rem;
    color: #FF6347;
    margin-bottom: 20px;
    font-family: 'DotGothic16', sans-serif;
    text-align: center;
}
.items{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  margin: auto 50px;
}
.items img{
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.gallery{
  text-align: center;
}


@media screen and (max-width: 600px) {
  .main nav ul {
    gap: 0.5rem;        /* さらに狭く */
    padding: 0 0.5rem;  /* 画面端に近づける */
  }

  .main nav a {
    font-size: 1rem;
    padding: 0.2rem 0.6rem;
  }
}
footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #111;
  font-size: 0.9em;
  color: #aaa;
  margin-top: 60px;
  font-family: serif;
}