/* --- 全体 --- */
body {
  margin: 0;
  background-image: url("pp.svg");
  background-repeat: repeat;
  background-size: 100%;
  color: #333;
  padding: 0;
}

/* --- ハンバーガーメニュー --- */
.hamburger {
  font-size: 20pt;
  cursor: pointer;
  padding: 5px 10px;
  background: #333;
  color: #fff;
}

.nav {
  display: none;
  background: #444;
  transition: max-height 0.3s ease;
  overflow: hidden;
}

.nav.active {
  display: block;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  border-bottom: 1px solid #555;
}

.nav a {
  display: block;
  padding: 15px;
  color: #fff;
  text-decoration: none;
}

.nav a:hover {
  background: #666;
}

/* --- グリッドレイアウト（モバイルファースト） --- */
.container {
  display: grid;
  grid-template-columns: 1fr; /* デフォルト1カラム */
  gap: 5px 1.5rem;
}

.item {
  background-color: #fff;
  color: #333;
  padding: 2rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  font-size: 1.5rem;
  font-weight: bold;
  border: 1px solid #e0e0e0;
}
/* --- テキスト調整 --- */
h3 {
  margin: 0 0 4px 0;
  line-height: 1.4em; /* 読みやすさ改善 */
  text-align: justify;
}

p {
  margin: 0;
  line-height: 1.5em;
  text-align: justify;
}

/* --- 画像 --- */
.pho {
  width: 100%;
  height: auto;
}

.pho-wide {
  width: 100%;
  margin-right: 2%;
  float: left;
}

/* 601px〜900px → 2カラム */
@media (min-width: 601px) {
  .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 901px〜1023px → 3カラム */
@media (min-width: 901px) and (max-width: 1023px) {
  .container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 1024px以上 → 4カラム ＋ ナビ調整 */
@media (min-width: 1024px) {
  .container {
    grid-template-columns: repeat(4, 1fr);
  }
  .hamburger {
    display: none; /* PCではハンバーガー非表示 */
  }
  .nav {
    display: block; /* PC時は常時表示 */
  }
  .nav ul {
    display: flex;
    gap: 10px;
    margin-left: 10%;

  }
  .nav li {
    border-bottom: none;
  }
}

/* --- cop セクション --- */
.cop {
  margin: 0 10% 10%;
}

.cop .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.cop .box {
  background: #eed;
  padding: 10px;
  text-align: left;
  border-radius: 8px;
}

/* 601px〜1023px → 2カラム */
@media (min-width: 601px) and (max-width: 1023px) {
  .cop .container {
    grid-template-columns: 1fr 1fr;
  }
  .cop .wide {
    grid-column: span 2;
  }
  .pho-wide{
  width:60%;
　height: auto;

  }

}

/* 1024px以上 → 4カラム */
@media (min-width: 1024px) {
  .cop .container {
    grid-template-columns: repeat(4, 1fr);
  }
  .cop .wide {
    grid-column: span 2;
  .pho-wide{
  width:60%;
　height: auto;

  }
}

