/* Noto Sansのインストール */
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
html {
  scroll-behavior: smooth;
}
body {
	font-family: 'Noto Sans JP' sans-serif;
      margin: 0;
  overflow-x: hidden; 
	}
.gothic {
	font-family: sans-serif;
}
  .bold{
    font-weight: bold;
  }
  .red-txt{
    color:#ee584d;
  }
  .highlight{
        /* font-style: italic; */
    font-weight: bolder; 
  }
  .f8vw{
  font-size: 8vw;
  
  }
  .f7vw{
    font-size: 7vw;
  }
  .f5vw{
    font-size: 5vw;
   
  }
  .f3vw{
    font-size: 2.72vw;
  }
  .weight800	 {
	font-weight:800
    }
.weight700	 {
	font-weight:700
    }
.weight600	 {
	font-weight:600
    }
.weight500	 {
	font-weight:500
    }
    .mintyo{
      font-family: serif;
    }
    .Noto-Sans {
      font-family: Noto Sans JP;
    }
    .center{
      text-align: center;
    }
/* 囲いのデザインここ */
.boxde {
    position: relative;
    margin: 0;
    padding: 0;
    padding-top: 2em;
    background: #fff;
}
.HEROTXT-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.grid-box{
  display:block;
}
/* ボタンのデザインここ */

.button002 a {
    background: #fff;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:auto;
    margin-top:20px;
    max-width: 220px;
    padding: 10px 25px;
    color: #ee584d;
    transition: 0.3s ease-in-out;
    font-weight: 700;
    border: 2px solid;
}
.button002 a:before {
    content: "\f1c1";
    position: relative;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #ee584d;
}
.button002 a:hover {
    background: #333;
    color: #FFF;
}
.button003 a {
    background: #fff;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin:auto;
    margin-top:20px;
    max-width: 220px;
    padding: 10px 25px;
    color: #ee584d;
    transition: 0.3s ease-in-out;
    font-weight: 700;
    border: 2px solid;
}
.button003 a:before {
    content: "\f2bb";
    position: relative;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #ee584d;
}
.button003 a:hover {
    background: #333;
    color: #FFF;
}
.hero-word {
  display: flex;
  flex-direction: column; /* 変更：最初から縦並び */
  font-size: 3em;
  font-weight: bold;
  color: #333;
  gap: 30px; /* 縦並び時の文字間のスペース */
  align-items: flex-start; /* 左寄せ */
}

.hero-letter {
  opacity: 0; /* 最初は非表示 */
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-letter.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-letter-container {
  display: flex;
  align-items: baseline;
  font-size: 3rem;
}

.hero-letter-container .hero-letter-main {
  font-weight: bold;
  color: #333;
  transition: transform 0.8s ease-in-out;
}

.hero-letter-container .colon {
  font-size: 2.5rem;
  color: #5e5e5e;
  opacity: 0;
  margin-left: 10px;
  margin-right: 10px;
  transform: translateY(-20px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.hero-letter-container .colon.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-letter-container .full-word {
  font-size: 2rem;
  font-weight: bold;
  color: #0c1c6f;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-letter-container .full-word.show {
  opacity: 1;
  transform: translateX(0);
}
#ooo{
  
  padding-bottom: 4em;
}
.boxde {
    position: relative;
    margin: 5em 0;
    padding: 3em 3em;
    border: solid 3px #0c1c6f00;
    border-radius: 20px;
    background: #e8e8e8;
}
.boxde .box-title {
    position: absolute;
    display: inline-block;
    top:-20px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    background: transparent;
    font-weight: bold;
}
.boxde p {
    margin: 0; 
    padding: 0;
}
.boxde h4{
  margin:0 ;
}
a{
  color :#333;
}
/* 光の演出 */
.glow-top,
.glow-right,
.glow-bottom,
.glow-left {
    position: fixed;
    background: linear-gradient(to right, transparent, #00b7ff, transparent); /* 水色のグラデーション */
    box-shadow: 0 0 15px #d9b0ff, 0 0 30px #47cbff, 0 0 45px #ff47f6; /* 光のぼかし */
    z-index: 9999; /* 他の要素より手前に表示 */
}

.glow-top {
    top: 0;
    left: 0;
    width: 0px; /* 初期状態は幅0 */
    height: 10px; /* 光の太さ */
}

.glow-right {
    top: 0;
    right: 0;
    width: 10px;
    height: 0; /* 初期状態は高さ0 */
    background: linear-gradient(to bottom, transparent, #47cbff, transparent);
}

.glow-bottom {
    bottom: 0;
    right: 0;
    width: 0;
    height: 10px;
    background: linear-gradient(to left, transparent, #87CEEB, transparent);
}

.glow-left {
    bottom: 0;
    left: 0;
    width: 10px;
    height: 0;
    background: linear-gradient(to top, transparent, #47cbff, transparent);
}
/* ヘッダーとハンバーガー */
header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 40px;
  position: relative;
  z-index: 2;
  position:fixed;
  top: 0;
  right: 0;
  
}

.hamburger {
  width: 50px;
  height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.hamburger span {
  height: 4px;
  background: #f3f3f3;
  border-radius: 2px;
  transition: 0.2s;
}

/* オーバーレイメニュー */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1;
  
  background: radial-gradient(circle at center, rgb(176, 230, 255));
  animation: bgExpand 0.3s ease forwards;
}

#overlay nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
#overlay nav ul li {
  
  margin: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFade 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.1s); /* 個別にタイミングをずらす */
}
#overlay nav ul li a {
  color: #dddddd;
  font-size: 2.8em;
  text-decoration: none;
  transition: opacity 0.2s;
  line-height: 2.8;
}
#overlay nav ul li a:hover {
  opacity: 0.7;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(20px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(20px, -5px);
}
.bottom .outsvg {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
}

/* アニメーション */

@keyframes bgExpand {
  from {
    opacity: 0;
    transform: scale(1.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero_margin{
  padding-bottom:15vw ;
}
.wave-ani-infinite{
animation: fadeOutIn-infinite 10s infinite linear 0s both;
}
.wave_ani{
  animation: fadeOutIn 2.4s ease forwards;
}
@keyframes fadeOutIn {
  0% {
    color: transparent;
    background-clip: text;
    background-image: url('water.jpg');
    background-image: 100%;
  }
  40% {
    color: transparent;
    background-clip: text;
    background-image: url('water.jpg');
        background-position: left;
    background-size: 150%;
  }
  45% {
    color: white;
    background-image: none;
  }
  55% {
    color: #000000;
  }
  100% {
    color: #000000;
  }
}
@keyframes fadeOutIn-infinite {
  from {
    color: transparent;
    background-clip: text;
    background-image: url('water.jpg');
    background-position: right;
    background-image: 150%;
  }
  to {
    color: transparent;
    background-clip: text;
    background-image: url('water.jpg');
        background-position: left;
    background-size: 150%;
  }
}

.bottom {
    margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* 横方向に中央寄せ */
  align-items: center;     /* 縦方向に中央寄せ */
}
.container {
  text-align: left;
  width: 80%;
  color: #000000;
  line-height: 1.3;
  margin: 0 auto;
}
.date  {
  margin: 10px;
  padding: 0;
}
.glay-underline {
 text-decoration: underline;
 text-decoration-color: rgb(176, 230, 255); /* 薄ーい黒色 */
}.blue-underline {
 text-decoration: underline;
 text-decoration-color: rgb(176, 230, 255); /* 水色 */
}
.midashi{
  margin :20px
}
.container img{
  width: 100%;
}

a {
  text-decoration: none;
}
.outsvg {
  width: 100%;
}

ul,li {
  list-style: none;
  padding: 0;
  margin: 0;
}
  footer {
      background-color: #333333;
      color: #fff;
      text-align: center;
      position: relative;
      padding: 2rem 1rem 1rem;
      font-family: 'Montserrat', sans-serif;
    }

.footer-content {
  padding: 2em;
  background-color: #333;
  color: #fff;
}

.footer-columns {
  
  display: flex;
  justify-content: space-between;
  gap: 3em;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav,
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
}

.footer-nav a,
.footer-info a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.6em 0;
  /* border-top: 1px solid #555;  */
  border-bottom: 1px solid #555;
}

.footer-nav a:hover,
.footer-info a:hover {
  color: #30aadd;
}
.last{
  margin : 60px auto;
}
.hero_moji{
  display: none;
}
.PConly{
display: none;
}
@media screen and (max-width:600px) {
.boxde{
  padding: 1.2em 1.2em;
}
}
@media screen and (min-width: 800px ) and (max-width: 1360px) {
.container{
  width: 60%;
}
.hero_margin{
  padding-bottom:15px ;
}
 .f8vw{
  font-size: 6vw;
  }
    .f7vw{
    font-size: 5vw;
  }
  .f5vw{
    font-size: 3vw
  }
  .f3vw{
    font-size: 1.9vw;
  }
  .bottom {
    width: 100%;
  }
  .boxde .box-title {
    position: absolute;
    display: inline-block;
    top:-24px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;

    font-weight: bold;
}
.button002 a {
    margin:auto;
    margin-top:20px;
    max-width: 270px;

}
.button003 a {
    margin:auto;
    margin-top:20px;
    max-width: 270px;
}
.footer-columns{
  width: 30%;
}
}

@media screen and (min-width: 1361px) {
  .bottom {
        border-right-style: solid;
        border: #ffffff;
  }
.weightsp{
  white-space: nowrap;
  text-align: center
}
  .bottom{
    width: 65%;
    margin: 0 auto;
  }
.f8vw{
   font-size: 3vw;
}
  .f7vw{
    font-size: 55px;
  }
.f5vw{
  font-size: 40px;
}
.f3vw{
  font-size: 20px;
}
  .PConly{
display: block;
}
.hero_margin{
  padding-bottom:0px ;
  
}
.boxde {
  margin-right:20px ;
}
.boxde .box-title {
    position: absolute;
    display: inline-block;
    top:-33px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;

    font-weight: bold;
}
.logo {
  font-size: 200px;
}
    #sss{
    display: block;
    font-size: 4vw;
  }
  #aaa{
    padding-top: 80px;
  }
  .PConly{
display: block;
}
.grid-box{
  display: grid;
   grid-template-columns:1fr 1fr;
}
.top-grid-box{
  display: grid;
  grid-template-columns:1fr 1fr;
  width: 81%;
  margin: 0 auto;
}
.yohaku1 {
  width: 60%;
  margin: 0 auto;
}
.footer-columns{
  width: 30%;
}
}
@media screen and (min-width: 2100px) {
  .weightsp{
    font-size:60px;
  }
}
