body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5fff5;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#wrapper {
    max-width: 1200px;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #90EE90;
    color: #000;
    padding: 15px 20px 10px 20px;
    box-sizing: border-box;
}
#content-area > nav:last-child {
    position: absolute;
    bottom: 10px;
    left: 20px;
    display: block; /* フレックスで内部を管理 */
    flex-direction: column; /* 縦並び */
    align-items: flex-start; /* 左寄せ */
    width: 800px; /* 幅を指定 */
    white-space: nowrap; /* 折り返しを禁止 */
    overflow: hidden; /* コンテンツが幅を超えた場合、隠す */
    text-overflow: ellipsis; /* 必要に応じて省略記号を追加 */
}

#content-area h1 {
	font-size: 20pt;
	font-weight: bold;
	color: #000;
	padding-top: 10px;
	padding-left: 10px;
}
#content-area nav ul {
  list-style: none; /* リストのデフォルトスタイルを無効化 */
  padding: 0;
  margin: 0;
  display: flex; /* 横並び */
}

#content-area nav ul li {
  margin-right: 10px; /* 項目間の余白を設定 */
}

#content-area nav ul li:last-child {
  margin-right: 0; /* 最後の項目には余白を設定しない */
}
#content-area nav ul li:not(:last-child)::after {
  content: ">"; /* 区切り文字 */
  margin-left: 10px; /* 区切り文字の左側のスペース */
  color: #000; /* 区切り文字の色 */
}
.logo img {
    /*height: 50px;*/
}

.site-title h1 {
    font-size: 1.5rem;
    margin: 0;
}

nav#nav-trail {
    width: 100%;
    background: #77DD77;
    padding: 10px 0;
    text-align: center;
}

nav#nav-trail ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav#nav-trail ul li {
    margin: 0 15px;
}

nav#nav-trail ul li a {
    color: #006400;
    text-decoration: none;
    font-weight: bold;
}

.main-container {
    display: flex;
    width: 100%;
    flex-direction: row;
}

#content-area {
    flex: 3;
    padding: 20px;
}

aside {
    flex: 1;
    background: #3cb371;
    color: white;
    padding: 20px;
}



footer {
    width: 94%;
    background: #90EE90;
    color: black;
    text-align: center;
    padding: 3%;
}

.kiji_title {
  font-size: 22pt;
  font-weight: bold;
  margin-bottom: 20px;
}

main h2 {
    font-size: 16pt;
    font-weight: bold;
    color: #333333;
    border-left: 4px solid green; /* 左側にアクセントカラー */
    padding-left: 10px;
    margin-bottom: 20px;
}
.side-menu {
    background: #f8f8f8;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.side-title {
    background: #77DD77;
    color: white;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px 5px 0 0;
}

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

.side-menu ul li {
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
}

.side-menu ul li a {
    color: #333;
    text-decoration: none;
    display: block;
}

.side-menu ul li:last-child {
    border-bottom: none;
}

/* 検索フォームのデザイン */
.search {
    padding: 10px;
    background: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    background: white;
}

.search-box input[type="text"] {
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
}

.search-box button {
    background: #77DD77;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.search-box button:hover {
    background: #66BB66;
}
/* ここから問い合わせフォーム */
    .sub-text {
      font-size: 18px;
      color: #555;
      margin-bottom: 30px;
      text-align: center;
    }

    .contact-form {
      max-width: 600px;
      background: #fff;
      padding: 30px 25px;
      margin: 0 auto;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .form-group {
      margin-bottom: 25px;
    }

    .form-group label {
      display: block;
      font-weight: bold;
      color: #333;
      margin-bottom: 8px;
    }

    .form-group .chui {
      color: #e53935;
      font-size: 14px;
      margin-left: 5px;
    }

    .form-group .eng {
      display: block;
      font-size: 12px;
      color: #999;
      margin-top: 4px;
    }

    #onamae,
    #mail,
    #shitsumon {
      width: 100%;
      padding: 10px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 5px;
      box-sizing: border-box;
      margin-top: 5px;
    }

    #shitsumon {
      resize: vertical;
    }

    .form-submit {
      text-align: center;
      margin-top: 30px;
    }

    .form-submit input[type="submit"] {
      background: #ff9800;
      color: #fff;
      border: none;
      padding: 12px 30px;
      font-size: 18px;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .form-submit input[type="submit"]:hover {
      background: #fb8c00;
    }
    
    /*ここから確認フォーム*/
    .sub-text {
      font-size: 18px;
      color: #555;
      margin-bottom: 30px;
      text-align: center;
    }

    .confirm-box {
      max-width: 600px;
      background: #fff;
      padding: 30px 25px;
      margin: 0 auto 30px;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .confirm-item {
      padding: 15px 0;
      border-bottom: 1px solid #eee;
    }

    .confirm-item:last-child {
      border-bottom: none;
    }

    .label {
      display: block;
      font-weight: bold;
      color: #333;
      font-size: 16px;
      margin-bottom: 5px;
    }

    .label .chui {
      color: #e53935;
      font-size: 14px;
      margin-left: 5px;
    }

    .value {
      display: block;
      font-size: 16px;
      color: #555;
      background: #fafafa;
      padding: 10px;
      border-radius: 5px;
      box-sizing: border-box;
    }

    .button-group {
      text-align: center;
      margin-top: 20px;
    }

    .button-group form {
      display: inline-block;
      margin: 10px;
    }

    .submit-btn,
    .edit-btn {
      padding: 12px 30px;
      font-size: 18px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .submit-btn {
      background: #ff9800;
      color: #fff;
    }

    .submit-btn:hover {
      background: #fb8c00;
    }

    .edit-btn {
      background: #9e9e9e;
      color: #fff;
    }

    .edit-btn:hover {
      background: #757575;
    }
    /*ここまで確認フォーム*/
/* ここまで問い合わせフォーム */


/* チェックボックス（トリガー） */
.menu-toggle {
  display: none; /* 非表示 */
}

/*---------------------------- スマホ向けのスタイル ----------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:960px) {

.pc_mode_only {

  display: none;
}

header {
        display: block; /* フレックスボックスを解除 */
        text-align: left; /* テキストを中央揃え */
}
/* ここからハンバーガーメニューに関するCSS #side_contentsをハンバーガーメニューのボディーと表示するため#side_contentsを含む */
aside {
  position: fixed;
  top: 0;
  left: -240px; /* 初期状態で非表示 */
  width: 240px; /* サイドバーの固定幅 */
  padding: 10px; /* 既存のパディング指定 */
  height: 100%;
  background-color: #3cb371;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease;
  z-index: 100; /* 背景より上 */
  box-sizing: border-box;
  overflow-y: auto; /* 垂直方向のスクロールバーを表示 */
  overflow-x: hidden; /* 横方向のスクロールバーを非表示（必要なら省略） */

}
/* チェックボックス（トリガー） */
.menu-toggle {
  display: none; /* 非表示 */
}
/* ハンバーガーメニューアイコン */
.hamburger {
  position: absolute;
  top: 40px;
  right: 30px;
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 101; /* メニューより上 */
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center; /* 回転の中心を明確に */
}


/* チェックボックスがチェックされたとき */
.menu-toggle:checked ~ aside {
  left: 0; /* メニューをスライドイン */
}

.menu-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: rotate(45deg) translateY(9px) translateX(10px); /* translateYを調整 */
}

.menu-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0; /* 真ん中の線を非表示 */
}

.menu-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px) translateX(10px); /* translateYを調整 */
}
/* メニュー表示中の背景（オーバーレイ） */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* グレーの半透明 */
  opacity: 0;
  visibility: hidden;
  z-index: 99; /* メニューより下 */
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* チェックボックスがチェックされたときにオーバーレイを表示 */
.menu-toggle:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* クリックを有効にする */
}
/* ここまでハンバーガーメニューに関するCSS #side_contentsをハンバーガーメニューのボディーと表示するため#side_contentsを含む */
}
