 /* 基本リセット */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

 header {
    background-color: pink;
    padding: 20px;
    text-align: center;
  }

  .logo{
  width: 300px;
  max-width: 100%;
  height: auto;
}



body {
  background-image: url(../assets/common/back_Ground.png);
  background-repeat;
  background-size: 400px;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.90) 10%,
    rgba(255,255,255,0.90) 90%,
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
  z-index: -1;
}

nav {
  display: flex;
  justify-content: center;
  gap: 40px;
}

nav a {
  position: relative;
  display: inline-block; /* ← これ重要 */
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #444;
  padding: 10px 0;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {

  nav {
    flex-wrap: wrap;        /* 折り返し許可 */
    gap: 15px;              /* 間隔縮める */
  }

  nav a {
    font-size: 16px;        /* 少し小さく */
    padding: 8px 0;
  }

}

/* 下線 */
nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #f1fbff;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

/* hover */
nav a:hover {
  color: #ffffff;
}

nav a:hover::after {
  width: 100%;
}

#TOP {
  text-align: center;
}

#hero img {                       /*HTMEの#hero の中img てこと*　#がID名　.がクラス名　これはID*/
  width: 80%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 40px auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/*ヒーロー画像のみに背景
#hero
 {background-image: url("../assets/common/back_Ground.png");
  background-size: cover;
  background-position: center;
  padding: 50px 0;

}
今回は使わない*/

h1{
  text-align: center;
}
h2{
  text-align: center;
}


p{
  text-align: center;
}

#aboutus p {
  text-align: center;
  line-height: 1.8; /* 1〜1.5程度を推奨 */
}

/* ここからキャラクターCSS*/

.diamond-map{
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
}

.page-title{
  text-align:center;
  margin-bottom: 40px;
}

.diamond-row{
  display: flex;
  justify-content: center;   /* ←中央寄せの核 */
  gap: 60px;                 /* ←ダイヤ同士の横の間隔 */
  margin-bottom: -32px;      /* ←行の重なり（ダイヤっぽく詰める） */
}

.diamond-row.offset{
  transform: translateX(0px); /* ←2行目をズラす（ダイヤ幅の半分くらい） */
}

/* ダイヤ本体 */
.diamond{
  width: 128px;
  height: 128px;
  background: rgba(255,255,255,0.9);
  border: 3px solid #b4d000;

  opacity: 0;
  transform: rotate(45deg) translateY(40px);

  transition: all 0.6s ease;

  display: grid;
  place-items: center;
  text-decoration: none;
  box-sizing: border-box;
}

.diamond.show{
  opacity: 1;
  transform: rotate(45deg) translateY(0);
}



body.loaded .diamond{
  opacity: 1;
  transform: rotate(45deg) translateY(0);
}

/* 中身を戻す */
.diamond span{
  transform: rotate(-45deg);
  display: block;
  color: #222;
  font-weight: 700;
}

/* ここからインフォーメーションCSS*/

.info-list {
  max-width: 700px;
  margin: 50px auto;
}

.info-item {
  display: flex;
  align-items: center;
  position: relative;
  padding: 18px 0;
  border-bottom: dashed 1px rgb(201, 201, 201); /* ← 区切り線 */
}



/* 縦ライン */
.info-item::before {
  content: "";
  position: absolute;
  left: 120px;
  top: 50%;
  transform: translateY(-50%);
  height: 70%;   /* ← 少し短くするのがコツ */
  width: 3px;
  background: #ffd6f3;
}

/* 日付エリア */
.date {
  width: 100px;
  text-align: right;
  margin-right: 30px;
}

.year {
  display: block;
  font-size: 16px;
  color: #999;
  /*margin-right: 30px;  /* ← ここで位置調整 */
}

.day {
  display: block;
  font-size: 24px;
  color: #5b5b5b;
  font-weight: bold;
}

.week {
  font-size: 16px;
  color: #999;
}

/* 最後の線は消す */
.info-item:last-child {
  border-bottom: none;
}


/* 内容 */
.content {
  flex: 1;
  font-size: 16px;
  padding-left: 10px;
}

/* ページ処理*/
.pagination {
  text-align: center;
  margin-top: 40px;
}

.pagination button {
  border: none;
  background: #fff;
  padding: 8px 14px;
  margin: 0 5px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.pagination button:hover {
  background: #ff8fb1;
  color: #fff;
}







footer {
    background-color: pink;
    padding: 20px;
    margin-top: 80px; /* 必要に応じて数値を調整 */
    margin-bottom: 0px;
    text-align: center;
    line-height: 0.8; 
    color: white;
  }