    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
        background-color: #f5f5f5;
    }
h1 {

font-size: 17pt;



}
    .header {
        background: #004d40;
        padding: 15px;
        text-align: center;
    }
    .header img {
        width: 300px;
    }
    .nav {
        background: #00796b;
        padding: 10px;
        text-align: center;
    }
    .nav a {
        color: white;
        text-decoration: none;
        margin: 0 15px;
        font-weight: bold;
    }
    .search-bar {
        background: #fff;
        padding: 15px;
        text-align: center;
        margin: 20px;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .search-bar input, .search-bar select, .search-bar button {
        padding: 10px;
        margin: 5px;
    }
    .container {
         display: flex;
        max-width: 1100px;
        margin: auto;
        padding: 20px;
        background: white;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .main-content {
        flex: 3;
        padding-right: 20px;
    }
/* 全体のフォントとレイアウト */
.main-content {
    /*max-width: 800px;*/
    margin: 0 auto;
    font-family: "Arial", sans-serif;
    color: #333;
    line-height: 1.6;
}

/* セクションタイトル */
.main-content h2 {
    font-size: 22px;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 15px;
}
/* 見出しデザイン */
#article h2 {
    font-size: 22px;
    color: #0056b3;
    border-left: 5px solid #0056b3;
    padding-left: 10px;
    margin-top: 30px;
    border-bottom: none;
}
#article .kiji_title {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    text-align: center;
    margin-bottom: 20px;
}
#article h3 {
    font-size: 18px;
    color: #333;
    margin-top: 20px;
}

/* リストのデザイン */
#article ul, ol {
    padding-left: 20px;
    margin: 15px 0;
}

#article ul li {
    margin-bottom: 8px;
}

#article ol li {
    margin-bottom: 10px;
    font-weight: bold;
}
/* リスト全体のスタイル */
.company-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

/* 各リストアイテムをカード風に */
.company-list li {
    background: #f9f9f9;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.company-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* リンクのスタイル */
.item-name {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    display: block;
}

.item-name:hover {
    color: #007bff;
    text-decoration: underline;
}

/* サイトURLのスタイル */
.item-desc font[color="green"] {
    font-size: 14px;
    color: #28a745; /* 緑色を統一 */
}

/* 分類や電話番号のスタイル */
.item-info {
    font-size: 14px;
    color: #666;
}

/* ページネーション（中央配置＆ボタン風に） */
.pagination {
    text-align: center;
    padding: 15px 0;
}

.pagination a {
    color: #007bff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #007bff;
    margin: 2px;
    display: inline-block;
    transition: background 0.2s, color 0.2s;
}

.pagination a:hover {
    background: #007bff;
    color: #fff;
}

.region-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .region {
        width: calc(50% - 10px);
        background: #e0f2f1;
        padding: 15px;
        border-radius: 5px;
        box-sizing: border-box;
    }
    .region h3 {
        margin: 0 0 10px 0;
    }
    .region ul {
        padding: 0;
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .region ul li {
        margin-bottom: 5px;
        display: inline-block;
    }

/* サイドバーの全体デザイン */
.sidebar {
            flex: 1;
    background: #e0f2f1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: "Arial", sans-serif;
}

/* セクションの見出し */
.sidebar h2 {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 15px;
    color: #333;
}

/* リストのスタイル */
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* リンクのスタイル */
.sidebar ul li {
    margin: 10px 0;
}

.sidebar ul li a {
    display: block;
    text-decoration: none;
    color: #007bff;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.2s, color 0.2s;
}

.sidebar ul li a:hover {
    background: #e9ecef;
    color: #0056b3;
}
    .footer {
        background: #004d40;
        color: white;
        text-align: center;
        padding: 15px;
        margin-top: 20px;
    }




/* サイト登録申請画面用 
.main-content {
  width: 80%;
  margin: auto;
  font-family: Arial, sans-serif;
}

h2 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 20px;
}*/

.shinsei_form .intro {
  text-align: center;
  margin-bottom: 20px;
}

.shinsei_form .form-group {
  margin-bottom: 15px;
}

.shinsei_form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.shinsei_form .required {
  color: red;
  font-size: 0.9em;
}

.shinsei_form input,.shinsei_form  select,.shinsei_form textarea {
  width: 96%;
  padding: 2%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.shinsei_form .submit-btn {
  width: 100%;
  padding: 10px;
  background-color: #0073e6;
  color: white;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.shinsei_form .submit-btn:hover {
  background-color: #005bb5;
}

/*shinsei_form入力内容確認画面*/
.intro {
  text-align: center;
  margin-bottom: 20px;
}

.confirmation-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.confirmation-table td {
  padding: 10px;
  border: 1px solid #ccc;
}

.confirmation-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.button-group {
  text-align: center;
  margin-top: 10px;
}

.submit-btn, .cancel-btn {
  width: 150px;
  padding: 10px;
  font-size: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn {
  background-color: #0073e6;
  color: white;
}

.submit-btn:hover {
  background-color: #005bb5;
}

.cancel-btn {
  background-color: #ccc;
}

.cancel-btn:hover {
  background-color: #999;
}


/*問い合わせフォーム*/

.toiawase .sub-text {
        text-align: center;
        margin-bottom: 20px;
        font-size: 14px;
        color: #666;
}

.toiawase .contact-form {
        background: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toiawase .form-group {
        margin-bottom: 15px;
}

.toiawase .form-group label {
        font-weight: bold;
        display: block;
        margin-bottom: 5px;
}

.toiawase .form-group .chui {
        color: red;
        font-size: 14px;
}

.toiawase .form-group .eng {
        font-size: 12px;
        color: #777;
}

.toiawase input[type="text"], .toiawase input[type="email"], .toiawase textarea {
        width: 96%;
        padding: 2%;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-size: 16px;
}

.toiawase textarea {
        resize: vertical;
        min-height: 120px;
}

.toiawase .form-submit {
        text-align: center;
        margin-top: 20px;
}

.toiawase .form-submit input[type="submit"] {
        background-color: #0073e6;
        color: white;
        font-size: 16px;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
}

.toiawase .form-submit input[type="submit"]:hover {
        background-color: #005bb5;
}


/*問い合わせ内容確認*/

.h2-title {
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        margin-bottom: 15px;
    }

    .sub-text {
        text-align: center;
        margin-bottom: 20px;
        font-size: 14px;
        color: #666;
    }

    .confirm-box {
        background: #f9f9f9;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .confirm-item {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid #ddd;
    }

    .confirm-item:last-child {
        border-bottom: none;
    }

    .label {
        font-weight: bold;
    }

    .chui {
        color: red;
        font-size: 14px;
    }

    .value {
        color: #333;
    }

    .button-group {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .button-group form {
        display: inline;
    }

    .submit-btn, .edit-btn {
        background-color: #0073e6;
        color: white;
        font-size: 16px;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.3s;
    }

    .submit-btn:hover {
        background-color: #005bb5;
    }

    .edit-btn {
        background-color: #ccc;
        color: #333;
    }

    .edit-btn:hover {
        background-color: #999;
    }

/* チェックボックス（トリガー） */
.menu-toggle {
  display: none; /* 非表示 */
}
.hamburger {
  display: none; /* 非表示 */
}
.overlay {
  display: none; /* 非表示 */
}
/*---------------------------- スマホ向けのスタイル ----------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:960px) {

.pc_mode_only {
  display: none;

}
.header img {
  width: 220px;
}
.main-content {
  flex: 3;
  padding-right: 0px;
}
/* ここからハンバーガーメニューに関するCSS #side_contentsをハンバーガーメニューのボディーと表示するため#side_contentsを含む */


.search-bar {
display: flex;
justify-content: center;
gap: 10px;
/*padding: 20px;*/
}

.search-bar select, .search-bar input, .search-bar button {
padding: 12px;
font-size: 16px;
border: 1px solid #7d5a50;
border-radius: 5px;
}
.search-bar input {
width: 280px;
}
button {
background-color: #5a3e36;
color: white;
cursor: pointer;
}


aside {
  position: fixed;
  top: 0;
  left: -250px; /* 初期状態で非表示 */
  width: 250px; /* サイドバーの固定幅 */
  padding: 10px; /* 既存のパディング指定 */
  height: 100%;
  background-color: #f4f4f4;
  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: 20px;
  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: #fff;
  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;
  display: inline;
}

/* チェックボックスがチェックされたときにオーバーレイを表示 */
.menu-toggle:checked ~ .overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; /* クリックを有効にする */
}

/* ここまでハンバーガーメニューに関するCSS #side_contentsをハンバーガーメニューのボディーと表示するため#side_contentsを含む */
}

