@charset "UTF-8";
/* ==================================
基本の設定
================================== */
body{
    background-image: url(../images/background.jpg);
    color: #666;
    font-family: sans-serif;
    line-height: 1.8;
}
img {
    max-width: 100%;
    display: inline-block;
}

/* ==================================
各ボックスの設定
================================== */
/* 大枠 */
.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.menu-item img {
  width: 280px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.menu-item p {
  flex: 1;
  font-size: 1rem;
  margin: 0;
}
.wrapper {
    width: 1200px;
    margin: 1rem auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 10px #ddd;
}

/* ヘッダーエリア */

.header {
  margin-bottom: 4rem;
  text-align: center;
  background: linear-gradient(to right, #f0f8f5, #e9f5f0);
  padding: 2rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header h1 {
  padding: 1rem;
  border-top: solid 3px #2e7d32;
  border-bottom: solid 3px #2e7d32;
  color: #2e7d32;
  font-size: 2.5rem;
  font-family: "Noto Serif JP", serif;
  font-weight: normal;
  font-style: normal;
  letter-spacing: 0.05em;
  background-color: rgba(255, 255, 255, 0.5);
  display: inline-block;
  border-radius: 0.5rem;
}
.gnav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0;
  padding: 1rem 0;
  list-style: none;
}

.gnav-item a {
  display: inline-block;
  width: 9rem;
  padding: 0.7rem 1rem;
  border-radius: 2rem;
  background: linear-gradient(145deg, #4e9a51, #3a6b3e);
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-family: "Noto Sans JP", sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gnav-item a:hover {
  background: #fff;
  color: #2e7d32;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}


/* コンテンツエリア */

.contents-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 4rem;
}


/* メインエリア */
.main-contents {
    width: 750px;
    background-color: #fdfdf9;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.content {
    margin-bottom: 4rem;
}
.content h2 {
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border-left: solid 8px #027c21;
    font-size: 1.6rem;
    background-color: #ccf5cc;
    border-radius: 0 0.5rem 0.5rem 0;
}
.content ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}
.content ul li {
    margin-bottom: 0.5rem;
}
.content ul li a {
  display: block;
  background-color: #027c21;
  color: #ffffff; /* yazı rengi beyaz */
  padding: 8px 12px;
  border-radius: 10px;
  text-align: center; /* yazı ortalı */
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  border: 1px solid #ccf5cc;
  transition: background-color 0.3s;
   min-width: 180px;
  max-width: 240px;
  width: 100%;
}

.content ul li a:hover {
  background-color: #000000;
}
.content h3 {
    margin-bottom: 1rem;
    color: #228b22;
    font-size: 1.25rem;
    
}
.content img {
    margin-bottom: 1rem;
}
.content p{
    margin-bottom: 2rem;
    font-size: 1rem;
}
.return-button {
    color: #385e3b;
       text-decoration: none;
}
.return-button:hover {
    color: #8B4513;
}
.return-button-wrapper {
  text-align: right;
  margin-top: 1rem;
}
/* サイドエリア */
.aside-contents {
    width: 340px;
    padding: 1.5rem;
    background-image: url(../images/background12.jpg);
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 2px solid #ffffff;
    
   
}
.aside-contents::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* ← Buradaki değeri artırdım */
  z-index: 0;
  border-radius: 1rem;
}
.aside-contents * {
  position: relative;
  z-index: 1;
  }
.aside-contents h2 {
    border-bottom: solid 2px #ffffff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    overflow: hidden;
    color: #ffffff;
}
.aside-contents ol,
.aside-contents ul {
    margin-bottom: 4rem;
    color: #ffffff;
}
.aside-contents li {
    margin-bottom: 0.5rem;
}




/* フッターエリア */
.footer {
    padding: 2rem;
    background-image: url(../images/footer-bg.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    backdrop-filter: brightness(0.6);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    border-top: solid 3px #228b22;
}
