

/*utilisation des caractères internationaux*/
@charset "UTF-8";

/*google font*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Vast+Shadow&display=swap');


/*remise à zéro*/
* {
		font-family: "Arial", serif;
    text-decoration: none;
    padding: 0px;
    margin: 0px;
    border: 0px;
    color: #000000;
}
	
/*reinitialise la valeur du retour*/
br{
    display: block;
    height: 0;
}

html {
scroll-behavior: smooth;

}


/*texte-----------------------------------------------------------*/

h1 {
  font-family: "Vast Shadow", sans-serif;
  font-size: 60px;
  font-weight: bold;
  color: #333;
  text-align: left;
  letter-spacing: 4px;
  word-spacing: 4px;
  padding: 0px;
  margin-top: 30px;
 }


h2 {
	font-family: "Vast Shadow", sans-serif;
  font-size: 30px;
  font-weight: bold;
  color: darkgreen;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 2px;
  word-spacing: 3px;
  padding: 0 50px 0 0;
  margin-top: 0px;
  z-index: 1;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

h3 {
font-family: "Vast Shadow", sans-serif;
font-size: 30px; /* Taille du texte */
color: #F8B500;
font-weight: 900; /* Épaisseur (normal, bold, 100–900) */
text-transform: uppercase; /* Majuscules (uppercase, lowercase, capitalize) */
text-align: left; /* Alignement horizontal (left, center, right, justify) */
letter-spacing: 2px; /* Espacement entre les lettres */
word-spacing: 2px; /* Espacement entre les mots */
line-height: 1;
margin-top: 0px;
margin-bottom: 10px;
z-index: 1;
text-shadow: 0 2px 1px rgba(215, 163, 38, 0.49);
}

h4 {
font-family: "Vast Shadow", sans-serif;
font-size: 21px; /* Taille du texte */
color: #F8B500;
font-weight: 900; /* Épaisseur (normal, bold, 100–900) */
text-transform: uppercase; /* Majuscules (uppercase, lowercase, capitalize) */
text-align: left; /* Alignement horizontal (left, center, right, justify) */
letter-spacing: 1px; /* Espacement entre les lettres */
word-spacing: 1px; /* Espacement entre les mots */
line-height: 1;
margin-top: 0px;
margin-bottom: 5px;
z-index: 1;
text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}


h5 {
font-size: 18px; /* Taille du texte */
font-weight: bold; /* Épaisseur (normal, bold, 100–900) */
text-transform: uppercase; /* Majuscules (uppercase, lowercase, capitalize) */
text-align: left; /* Alignement horizontal (left, center, right, justify) */
letter-spacing: 2px; /* Espacement entre les lettres */
word-spacing: 4px; /* Espacement entre les mots */
line-height: 1
}


p {
font-size: 16px; /* Taille du texte */
color: #333;
text-align: justify;
font-weight: normal; /* Épaisseur (normal, bold, 100–900) */
line-height: 2;
margin-top: 0px;
margin-bottom: 20px;  
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}


/*header-----------------------------------------------------------*/

header {
	background-color: darkred;
	position: fixed;       /* 固定する */
  top: 0;                /* 上から0px */
  left: 0;
  width: 100%;           /* 横幅全体 */
  z-index: 1000;
  }

.navigation {
	background-color: transparent;
	max-width: 1000px;
	margin: auto;
}

nav ul {
	display: flex;
	justify-content: space-evenly; 
	align-items: center;   
  padding: 10px 0;
  list-style-type: none;
}

nav li {
margin: 10px;
}

nav a {
	color: white;
	text-decoration: none;  
	padding: 0 15px;
}

nav a:hover {
	color: 	#014421;
	font-weight: 900; 
	transform: scale(1.2);
  transition: text-shadow 0.3s ease;
  text-shadow: 0 0 5px #ccff00, 0 0 10px #ccff00;
}

/*top image-----------------------------------------------------------*/

/* トップイメージセクション */
.top-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

/* スライドショー */
.slideshow {
  position: relative;
  width: 100%;
  height: 500px;
}

/* 各スライドのスタイル */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 12s infinite;
  animation-timing-function: ease-in-out; 
  z-index: 1;
}

/* それぞれのスライドの背景画像 */
.slide1 {
  background-image: url('images/top-image.jpg');
  animation-delay: 0s;
}

.slide2 {
  background-image: url('images/top-image2.jpg');
  animation-delay: 4s;
}

.slide3 {
  background-image: url('images/top-image3.jpg');
  animation-delay: 8s;
}

/* ロゴのスタイル */
.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 500px;
  z-index: 2;
}

/* 背景画像がフェードするアニメーション */
@keyframes fade {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  30%  { opacity: 1; }
  40%  { opacity: 0; }
  100% { opacity: 0; }
}
/*bande---------------------------------------------------------------*/

.bande-du-milieu {
	width: 1000px;
	text-align: left;
	}

/*class---------------------------------------------------------------*/

.contenu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px;
  max-width: 960px;
  margin: auto;
}


/* Chaque étage (rangee) */
.rangee {
    display: flex;
    gap: 40px;
    padding: 10px;
}


/* Style des boîtes */
.boite {
    padding: 20px;
    flex: 1;
}

/* Colonne asymétrique */
.large {
  flex: 1; /* 2 parts de largeur */
}

.petite {
  flex: 1; /* 1 part de largeur */
}

  
.fade-in-up {
  opacity: 0;
  animation: slideUpFade 1s ease-out forwards;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*carre----------------------------------------------------------------*/

.carre {
  width: 270px;
  height: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  border-radius: 12px;

  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.5),
    rgba(30, 30, 30, 0.4)
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);

  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
              0 0 10px rgba(255, 255, 255, 0.1);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carre:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.carre p {
color: white;  
line-height: 2;
margin-bottom: 20px;  
}


/*star----------------------------------------------------------------*/

.stars span {
  color: #F8B500;
  opacity: 0;
  display: inline-block;
  animation: fadeInStar 0.5s ease forwards;
}

/* 星が順番に表示されるようにディレイを変える */
.stars span:nth-child(2) { animation-delay: 0.6s; }
.stars span:nth-child(3) { animation-delay: 1.2s; }
.stars span:nth-child(4) { animation-delay: 1.8s; }
.stars span:nth-child(5) { animation-delay: 2.4s; }
.stars span:nth-child(6) { animation-delay: 3s; }

@keyframes fadeInStar {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/*background image----------------------------------------------------------------*/

.fond {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 1200px;
  scroll-margin-top: 50px;
  position: relative;
  z-index: -2;
}

/*footer--------------------------------------------------------------*/

footer  {
  background-color: darkred;   
}

.footer-text {
  color: white;
  background-color: darkred;   
  display: flex; 
  align-items: center;  
  justify-content: center;
  height: 50px;
}






