body {
  margin: 0;
  font-family: sans-serif;
}
/*top1のイメージ画像部分文字を含む*/
#top1backimg {
  position: relative;
  height: 400px;
  background-image: url("images/tabisukeimg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  justify-content: flex-start; /* 左寄せ */
  align-items: flex-end;       /* 下寄せ */
  padding: 40px;
  overflow: hidden;
}
#top1backimg::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1;
  pointer-events: none;
}
.overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(112, 64, 0, 0.4), transparent 50%),
              linear-gradient(to right, rgba(112, 64, 0, 0.4), transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-text {
  position: relative;
  z-index: 2;
}

/*ヘッダーとメニュー部分*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #2c3e50;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

.site-title {
  font-size: 1.5em;
  margin-left: 20px;
}

.menu-icon {
  font-size: 1.8em;
  cursor: pointer;
}

#side-menu {
  position: fixed;
  top: 60px;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #34495e;
  color: white;
  transition: left 0.3s ease;
  z-index: 999;
}

#side-menu ul {
  list-style: none;
  padding: 20px;
}

#side-menu li {
  margin: 20px 0;
}

#side-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
}

/* 検索フィルターのli項目 */
.search-filter {
  padding: 20px;
  font-size: 1.2em;
  color: white;
}

.search-filter label {
  display: block;
  margin-bottom: 0.5em;
  font-size: 1.2em;
  color: white;
}

.search-form {
  display: flex;
  flex-direction: column;     /* ← 横並びから縦並びに変更 */
  gap: 0.5em;                  /* 上下の間隔を確保 */
  align-items: stretch;       /* 幅を揃える（必要に応じて） */
}

.search-form input {
  flex: 1;
  padding: 0.33m 0.5em;
  border: none;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  font-size: 0.9em;
}

.search-form button {
  padding: 0.2em 0.5em;
  background-color: #7f8c8d;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.8em;
  cursor: not-allowed;
  width: 25%;
}


/* ガイド情報 */
/* 共通セクションスタイル */
.info-section {
  background-color: #e0f7fa;
  border-radius: 12px;
  padding: 10px 30px;
  margin: 40px auto; /* 上下40pxの余白でセクション間を広げる */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 600px;               /* 幅を狭くする */
  width: 90%;                     /* 画面サイズに応じて調整 */
  box-sizing: border-box;
}

.info-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  background-color: #b2ebf2;
}

.section-content {
  position: relative;
  z-index: 2;
  margin-left: 0;                 /* 左余白をなくす */
}

.button-link {
  display: block;
  border-radius: 12px;
  padding: 20px;
  margin: 10px 0;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s, box-shadow 0.2s;
}

/* セクションごとの背景色 */
#tourism {
  background-color: #a8cfa4; /* 明るいベージュ系 */
}

#jobs {
  background-color: #dde28d; /* やや濃いベージュ系 */
}

#trans {
  background-color: #ce9595; /* やや濃いベージュ系 */
}

#filter {
  background-color: #99aae0; /* 落ち着いた茶系 */
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #ccc;
    color: #666;
    font-size: 0.9em;
}

/* ラッパーの基本設定（スマホなどでは縦並び） */
.info-section-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* パソコン表示時に2列に変更 */
@media screen and (min-width: 768px) {
  .info-section-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .info-section {
    flex: 1 1 calc(50% - 20px); /* 2列にするための幅調整 */
    margin: 0;
  }
}
