

html, body { 
  margin: 0; 
  height: auto; 
  min-height: 100%; 
  overflow: auto;
}

body {
  min-height: 100svh;                 /* モバイルのアドレスバー対策 */
  background-image: url('images/Josui_001_DSCX0853_BG02.jpg');
  background-color: #000;
  background-position: top center;     /* 上合わせ */
  background-size: cover;              /* トリミングあり */
  background-repeat: no-repeat;
  background-attachment: fixed;      
  padding: 30px 50px 50px;
}

/* タイトル */
h1, h2, h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* 本文 */
body, p, li {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  line-height: 1.2;
}

/*.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 300px));
  gap: 50px;
}
*/

/*
.box {
  width: 300px;
  aspect-ratio: 1 / 1; 
  background-color: none;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}
*/


.box_noborder {
  
  width: 300px;              /* グリッドセルにフィット */
  margin: 0 auto;   /* 左右の余白を自動にして中央へ */
  padding-bottom: 70px;
  overflow: hidden;
  border: none;
  display: flex;
  
  flex-direction: column; /* ←縦方向に並べる */
  background-color: none;
  align-items: center;
  justify-content: center;
  
  
}

.title-box {
    margin: 0;
  padding-top: 20px;
  width: 100%;
  height: 120px;
  border-bottom: 2px solid #ddd; /* 下線だけ */
  display: flex;                 /* 中央寄せに必要 */
  align-items: center;           /* 縦方向センター */
  justify-content: center;       /* 横方向センター */
  text-align: center;            /* テキストを中央に */
  color: #ddd;          /* テキストカラー */
  font-size: 6rem;     /* フォントサイズ */
    letter-spacing: 0.05em; /* 文字間を少し広げる */
}

  .text {
    
  font-size: 0.6rem;
    color: #ddd;
    margin-top: 20px;
    text-align: justify;
     letter-spacing: 0.04em; /* 文字間を少し広げる */
}



a img:hover {
  filter: brightness(0.5);
}

a img {
  display: block;
}



.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(12px, 3vw, 30px);
  justify-items: center; /* 中央寄せ（お好みで） */
  margin-bottom: 0px;
}

.card {
  aspect-ratio: 1 / 1;      /* 正方形を維持 */
  width: 100%;              /* グリッドセルにフィット */
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #ddd;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  position: static;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.05em; /* 文字間を少し広げる */
  color: #ddd;
  margin-bottom: 30px;
  margin-top: 50px;
}

a.mail-link {
  color: #ddd;          /* 通常の文字色 */
  text-decoration: underline; 
  transition: color 0.3s; /* なめらかに変化 */
}

a.mail-link:hover {
  color: #999;       /* ホバー時の色 */
}




.josui-report {
  font-family: 'Nunito', sans-serif;
  max-width: 800px;
  margin: 60px auto;
  color: #ddd;
  line-height: 1.7;
}

.josui-report h2 {
  text-align: left;  
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
}

.josui-report article {
  margin-bottom: 2.5rem;
}

.josui-report h3 {
  font-size: 0.8rem;
  color: #ddd;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.josui-report p {
  font-size: 0.6rem;
  margin: 0.3rem 0;
}

.josui-report em {
  font-style: italic;
  color: #ddd;
}

.back {
  font-size: 0.8rem;
  font-weight: 600;
}