 
 * {
    font-family: 'メイリオ', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'Arial', 'Helvetica', sans-serif;
	}

     h1 {
      position: absolute; 
      top: 0;
      left: 0; 
      margin: 0; 
      padding: 2px 20px; 
      font-size: 10px;
      font-weight: bold;
      color: #888888; 
      background-color: #fff;
    }
    #header main {
      margin-top: 60px; 
      padding: 20px;
    }  

    #header body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #fff;
    }

    header {
      background-color: #fff;
      padding: 20px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 4px solid #ff6f00;
    }

    header h1 {
      font-size: 10px;
      color: #888888;
    }

    .logo {
      width: 150px;
    }

    nav {
      display: flex;
      gap: 2px 20px;
    }

    nav a {
      text-decoration: none;
      color: #333;
      font-size: 14px;
      font-weight: 888;

    }

    .contact-info {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      color: #d2691e;
      font-size: 14px;
    }

    .contact-info .phone {
      font-size: 14px;
      font-weight: 888;
      color: #ff6f00;
    }

    .contact-info .email-and-holiday {
      display: flex;
      gap: 10px;
      font-size: 8px;
      font-weight: 888;
      color: #d2691e;
    }

    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .hamburger div {
      width: 30px;
      height: 4px;
      background-color: #ff6f00;
      margin: 5px 0;
    }

    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }

      nav {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 20px;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      }

      nav a {
        padding: 10px;
        color: #d2691e;
      }

      .hamburger.active + nav {
        display: flex;
      }
    }
    

.texture_bk {
    background-image: url("https://e-room.co/img/bg_teku2.jpg");
    padding: 15px;
}
img {
    border: 0 none;
    vertical-align: text-bottom;
    max-width: 100%;
}
h2 {
	max-width: 980px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 6px;
    margin: 7px auto;
    color: #f9f9f9;
    background: linear-gradient(to right, #79512f, #9b7150);
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.h2nokado{
    border-radius: 0px;
}

a {
    border: 0 none;
    color: #FFFFFF;
    text-decoration: none;
}
a:link {
    border: 0 none;
    color: #666666;
    text-decoration: none;
}
a:visited {
    border: 0 none;
    color: #555555;
    text-decoration: none;
}
a:hover {
    border: 0 none;
    color: #FF9900;
    text-decoration: none;
}
a:active {
    border: 0 none;
    color: #FFFFFF;
    text-decoration: none;
}
.top-1 {
    height: 88px;
    margin: 0 auto;
    width: 980px;
}
.top-h {
    border: 2px solid #FFFFFF;
    display: block;
    float: left;
    height: 250px;
    margin: 0 auto 10px;
    width: 260px;
}
.big_bana {
    background-image: url("../img/big_bana_700_3");
    border: 2px solid #FFFFFF;
    display: block;
    height: 250px;
    margin: 0 0 0 260px;
    width: 700px;
}
h1 {
    color: #666666;
    font-size: 10px;
    margin: 0;
    padding: 3px 0 3px 15px;
}
.top-logo {
    color: #666666;
    float: left;
    height: 70px;
    margin-left: 32px;
    width: 320px;
}
.top-tel {
    float: right;
    height: 70px;
    margin: 0 32px 0 0;
    padding: 0;
    text-align: right;
    width: 320px;
}
.menu {
    background-image: url("../img/foot_bk.gif");
    border-bottom: 4px solid #EEEEEE;
    border-top: 4px solid #EEEEEE;
    display: block;
    height: 52px;
    padding: 0;
    width: auto;
    background-color: #663300;

}
.menu2 {
    background-color: #FFFFFF;
    clear: both;
    margin: 0;
    padding: 2px 0 0;
}
ul#menu_bar {
    display: block;
    height: 52px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    width: 900px;
}
#menu_bar li {
    float: left;
    line-height: 52px;
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
#menu_bar li a {
    background-image: url("../img/foot_bk.gif");
    color: #FFFFFF;
    display: block;
    text-align: center;
    text-decoration: none;
    width: 150px;
}
#menu_bar li a:hover {
    background-image: url("../img/foot_bk2.gif");
    color: #FFFFFF;
}
#menu_bar ul {
    margin: 0;
    padding: 0;
    position: absolute;
}
#menu_bar li {
    margin: 0;
    padding: 0;
    position: relative;
}
.top-a {
    padding-top: 0;
}
.top-a1 {
    float: left;
    margin-bottom: 15px;
    padding-left: 2px;
    text-align: center;
    width: 760px;
}
.top-a1 p {
    color: #555555;
    font-size: 12px;
    margin: 3px;
}
.top-a2 {
    float: right;
    width: 210px;
}
.top-a2 p {
    margin: 3px;
    text-align: center;
}
#Frame {
    background: none repeat scroll 0 0 #FFFFFF;
    font-size: 12px;
    margin: 0 auto;
}

ul {
    margin: 0;
    padding: 0;
}
#contents {
    height: auto;
    margin: 0 auto;
    text-align: center;
    width: 980px;
}
.contents_p {
    color: #663300;
    font-size: 12px;
    height: auto;
    margin: 10px auto;
}
.h {
    display: block;
    float: left;
    height: auto;
    margin: 0 0 0 15px;
    width: 160px;
}
.n {
    display: block;
    float: left;
    height: auto;
    margin: 0 0 0 10px;
    width: 780px;
}
.request:hover {
    opacity: 0.6;
}
.con-daio {
    background: url("../img/foot_bk.gif") repeat scroll 0 0 transparent;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bolder;
    height: 30px;
    line-height: 30px;
    text-align: center;
}
.b-fo {
    background: url("../img/fo.gif") repeat scroll 0 0 transparent;
}
.b-lato- {
    background: url("../img/lato-.gif") repeat scroll 0 0 transparent;
}
.b-ap {
    background: url("../img/ap.gif") repeat scroll 0 0 transparent;
}
.b-br {
    background: url("../img/br.gif") repeat scroll 0 0 transparent;
}
.b-g-su {
    background: url("../img/g-su.gif") repeat scroll 0 0 transparent;
}
.b-bf {
    background: url("../img/bf.gif") repeat scroll 0 0 transparent;
}
.b-co {
    background: url("../img/co.gif") repeat scroll 0 0 transparent;
}
.b-p-hu {
    background: url("../img/p-hu.gif") repeat scroll 0 0 transparent;
}
.b-ph {
    background: url("../img/ph.gif") repeat scroll 0 0 transparent;
}
.b-ip {
    background: url("../img/ip.gif") repeat scroll 0 0 transparent;
}
.b-spe {
    background: url("../img/spe.gif") repeat scroll 0 0 transparent;
}
.b-ko-mo {
    background: url("../img/ko-mo.gif") repeat scroll 0 0 transparent;
}
.b-p-q {
    background: url("../img/p-q.gif") repeat scroll 0 0 transparent;
}
.b-fr {
    background: url("../img/fr.gif") repeat scroll 0 0 transparent;
}
.b-nc {
    background: url("../img/nc.gif") repeat scroll 0 0 transparent;
}
.b-pa {
    background: url("../img/pa.gif") repeat scroll 0 0 transparent;
}
.b-dp {
    background: url("../img/dp.gif") repeat scroll 0 0 transparent;
}
.b-pt {
    background: url("../img/pt.gif") repeat scroll 0 0 transparent;
}
.b-pf {
    background: url("../img/pf.gif") repeat scroll 0 0 transparent;
}
.b-reg {
    background: url("../img/reg.gif") repeat scroll 0 0 transparent;
}
.b-str {
    background: url("../img/str.gif") repeat scroll 0 0 transparent;
}
.b-ptow {
    background: url("../img/ptow.gif") repeat scroll 0 0 transparent;
}
.b-gp {
    background: url("../img/gp.gif") repeat scroll 0 0 transparent;
}
.b-cosg {
    background: url("../img/cosg.gif") repeat scroll 0 0 transparent;
}


        .foot30 {
            background: linear-gradient(to bottom,#b37946cc, #573c2a); /* 上部: 薄い茶色, 下部: 濃い茶色 */
            color: #fff;
            padding: 20px 10px;
        }
        .foot-linenew {
            display: grid;
            grid-template-columns: repeat(5, 1fr); /* 初期: 3列 */
            gap: 16px;
            max-width: 1200px;
            margin: 0 auto;
        }
        .foot-linenew2 {
            margin: 0 auto;
        }
        .foot-linenew2 h4 {
            font-size: 10px;
            margin-bottom: 10px;
            color: #f0f0f0; /* 薄いグレー、白に近い */
        }
        .foot-linenew2 ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .foot-linenew2 li {
            margin-bottom: 6px;
        }
        .foot-linenew2 a {
            text-decoration: none;
            color: #f0f0f0; /* 薄いグレー */
            font-size: 8px;
        }
        .foot-linenew2 a:hover {
            color: #ddd; /* より明るいグレー */
            text-decoration: underline;
        }
        .footfoot {
            background: #492d1c; /* 濃い茶色 */
            text-align: center;
            padding: 10px;
            color: #fff;
            font-size: 10px;
            border-top: 1px solid #d3b8a1; /* 薄い茶色 */
        }
        .footfoot a {
            color: #f0f0f0; /* 薄いグレー */
            text-decoration: none;
        }
        .footfoot a:hover {
            text-decoration: underline;
        }
        /* レスポンシブ対応 */
        @media (max-width: 768px) {
            .foot-linenew {
                grid-template-columns: repeat(5, 1fr); /* スマホ: 5列 */
            }
        }



.foot-a1 {
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: auto;
    height: auto;
    margin: 18px auto;
    max-width: 888px;
}
.foot-a1 p {
    color: #663300;
    font-size: 14px;
    line-height: 28px;
    padding:18px;
    text-align: left;
}
.sitemap_koko3 {
    background-color: #663300;
    background-image: url("../img/foot_bk2.gif");
    border: 1px solid #EEEEEE;
    clear: both;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bolder;
    margin: 15px auto;
    padding: 8px 0;
    text-align: center;
    width: 960px;
}
.sitemap_koko32 {
    background-image: url("../img/title_back.gif");
    clear: both;
    color: #663300;
    font-size: 13px;
    font-weight: bolder;
    margin: 0 auto;
    padding: 5px 0;
    text-align: center;
    width: auto;
}

.n2 {
    background: none repeat scroll 0 0 #EEEEEE;
    border: 2px solid #FFFFFF;
    display: block;
    float: left;
    font-size: 10px;
    height: auto;
    line-height: 18px;
    margin: 0 5px 0 10px;
    padding: 1px;
    text-align: center;
    width: 780px;
}
.arimasen {
    color: #663300;
    font-size: 14px;
}
.arimasenbox {
    background-color: #FCFCFC;
    border: 1px solid #CCCCCC;
    display: block;
    height: auto;
    line-height: 25px;
    text-align: center;
    width: 778px;
}

       .buildingbox {
            max-width: 980px;
            display: flex;
            gap: 16px;
            justify-content: space-between;
            flex-wrap: nowrap; /* 一列に配置 */
            padding: 16px;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            max-width: auto;
            height: auto;
            margin: 0 auto;
            box-sizing: border-box;
            overflow-x: auto;
            margin-bottom: 20px;
        }
            .buildingbox_NEW {
            max-width: 980px;
            display: flex;
            gap: 16px;
            justify-content: space-between;
            flex-wrap: nowrap; /* 一列に配置 */
            padding: 16px;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            max-width: auto;
            height: auto;
            margin: 0 auto;
            box-sizing: border-box;
            overflow-x: auto;
            margin-bottom: 20px;
            flex-wrap: wrap
        }

        .building-Contentsbox {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 150px;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 8px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            flex-shrink: 0; /* 横幅が縮まらないように設定 */
        }
        .building-Contentsbox:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        .building-imgbox img {
            width: 100px;
            height: 100px;
            border-radius: 8px;
            object-fit: cover;
            margin-bottom: 8px;
        }
        .building-name {
            text-align: center;
        }
        .building-name p {
            margin: 4px 0;
            font-size: 12px;
        }
        .building-name a {
            color: #ff8c42; /* オレンジアクセント */
            text-decoration: none;
            font-weight: bold;
        }
        .building-name a:hover {
            text-decoration: underline;
        }
        .building-name p:last-child {
            color: #a57a74; /* ココア色アクセント */
            font-weight: bold;
        }


       .buildingbox2 {
       		max-width: 980px;
            display: flex;
            gap: 16px;
            justify-content: space-between;
            flex-wrap: nowrap; /* 一列に配置 */
            padding: 16px;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            max-width: auto;
            height: auto;
            margin: 0 auto;
            box-sizing: border-box;
            overflow-x: auto;
            margin-bottom: 20px;
        }
        .building-Contentsbox2 {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 260px;
            background: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 8px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            flex-shrink: 0; /* 横幅が縮まらないように設定 */
        }
        .building-Contentsbox2:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        .building-imgbox2 img {
            width: 100px;
            height: 100px;
            border-radius: 8px;
            object-fit: cover;
            margin-bottom: 8px;
        }
        .building-name2 {
            text-align: center;
        }
        .building-name2 p {
            margin: 4px 0;
            font-size: 12px;
        }
        .building-name2 a {
            color: #ff8c42; /* オレンジアクセント */
            text-decoration: none;
            font-weight: bold;
        }
        .building-name2 a:hover {
            text-decoration: underline;
        }
        .building-name2 p:last-child {
            color: #a57a74; /* ココア色アクセント */
            font-weight: bold;
        }

.p-img {
    background-image: url("../img/contact-bak.gif");
    display: block;
    height: 136px;
    margin-left: 183px;
    text-align: left;
    width: 614px;
}
.p-img ul {
    display: block;
    height: 26px;
    margin: 0;
    padding-left: 162px;
    padding-top: 104px;
    text-align: right;
    width: 614px;
}
.p-img li {
    display: block;
    float: left;
    height: 26px;
    margin: 0 8px 0 0;
    width: 140px;
}
.p-img2 {
    display: block;
    height: 136px;
    margin: 15px auto;
    text-align: left;
    width: 614px;
}
.t-mail {
    background-image: url("../img/contact-mail.gif");
}
.t-map {
    background-image: url("../img/contact-map.gif");
}
.t-select {
    background-image: url("../img/contact-explain.gif");
}
.p-img li a {
    display: block;
    height: 26px;
    width: 140px;
}
.p-img li a:hover {
    background-position: right top;
    display: block;
    height: 26px;
    width: 140px;
}

.p-oga2 {
    float: left;
}
	.p-oga {
	font-size: 10px;
    margin: 0px auto;
    width: 980px;	}
	
	.p-oga2 {
		display: inline;
		float: none;
	}

.p-so {
    color: #663300;
    font-size: 10px;
    margin: 5px auto;
    text-align: center;
    max-width: 1000px;
    line-height: 16px;

}
.p-si {
    color: #663300;
    line-height: 22px;
    margin: 18px auto;
    text-align: center;
    max-width: 888px;
    background-color: #FFF;
    border-radius: 12px 12px;
    }
.p-si p {
	font-weight: bold;
    margin: 5px 22px;
    padding: 12px;
    width: auto;
    font-size: 12px;
    text-align: left;
    }
.p-so2 {
    margin: 10px auto;
    padding-right: 20px;
    text-align: right;
    width: 960px;
}
.p-so3 {
    color: #663300;
    font-size: 15px;
    font-weight: bold;
    margin: 5px;
    text-align: center;
}
.p-so4 {
    margin: 10px;
    text-align: center;
    width: 960px;
    display: block;
}

#map, #pano {border: 2px solid #CCCCCC;}
#map_canvas {
    border: 2px solid #CCCCCC;
    margin: 0 auto;
}
.s-map {
    background-color: #EEEEEE;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}
.s-body {
	display: flex;
    height: auto;
    margin: 0 auto;
	width: auto;
    max-width: 980px;
    }
.main-img {
    display: table-cell;
    height: 320px;
    line-height: 320px;
    margin: 0;
    padding-bottom: 10px;
    padding-top: 10px;
    text-align: center;
    vertical-align: middle;
    width: 320px;
}
.main-img-h {
    margin: auto;
    max-height: 310px;
    max-width: 310px;
    padding: 0;
}
.s-body1 {
	display: block;
    background-color: #FFF;
    float: left;
    height: auto;
    margin-bottom: 15px;
    margin-left: 15px;
	width: auto;
    min-width: 320px;
    max-width: 564px;
    border-radius: 12px;
	flex-grow: 1;
    }
.s-body1 dl {
	font-size: 14px;
    background-color: #FFF;
    /* border-bottom: 1px solid #999999; */
    height: auto;
    line-height: 20px;
    margin: 8px;
	width: auto;
    min-width: 303px;    }
.s-body1 dt {
	background-color: #93735e;
    color: #f9f9f9;
    display: block;
    float: left;
    font-weight: 700;
    height: auto;
    padding-bottom: 4px;
    padding-top: 4px;
    text-align: center;
    min-width: 73px;
    border-radius: 6px;
    }
.s-body1 dd {
background-color: #FCFCFC;
    /* border-left: 1px solid #999999; */
    color: #663300;
    height: auto;
    margin: 0 0 0 80px;
    padding: 6px 6px;
    max-width: auto;
    }
    /* 全体幅設定 */
    .s-body-u {
	flex-shrink: 0;
	float: left;
    background-color: #FFF;
    width: 400px;
    margin: 0px auto;
    margin-bottom: 15px;
    padding-bottom: 15px;
    font-family: Arial, sans-serif;
    border-radius: 12px 12px;
    }

    /* 見出し */
    h3 {
	font-size: 14px;
    border-radius: 12px 12px 0px 0px;
    color: #ffffff;
    background-color: #ff9d5a;
    text-align: center;
    padding: 6px 0px 6px 0px;
    margin: 0px 0px 8px 0px;   }

    /* 仲介手数料無料スタイル */
    .s-body2-top {
    text-align: center;
    margin: 0px 12px 10px;    }

    /* メイン画像スタイル */
    .main-img {
      width: 320px;
      height: 320px;
	  padding: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      border: 2px solid #DDD;
      border-radius: 5px;
      margin: 0 auto 5px;
      background-color: #F9F9F9;
    }

    .main-img img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
      border-radius: 5px;
    }

    /* サムネイルリスト */
    .s-body3 {
	overflow-x: auto;
    white-space: nowrap;
    padding: 0px 0px;
    margin: 16px;
}    }

    .s-body3 ul {
      display: inline-flex;
      padding: 0;
      margin: 0;
      list-style: none;
      gap: 5px; /* サムネイル間のスペース */
	width: 1100px;
	    }

    .s-body3 li {
      display: inline-block;
    }

    .s-body3 img {
      width: 70px;
      height: 70px;
      border: 2px solid #DDD;
      border-radius: 5px;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .s-body3 img:hover {
      transform: scale(1.1); /* ホバー時に拡大 */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
.s-body4 {
clear: both;
    /* color: #444444; */
    display: block;
    height: auto;
    padding: 20px;
    margin: 22px auto;
    background-color: #FFF;
    max-width: 920px;
    border-radius: 12px 12px;
    overflow: auto;
    width: auto;
}
    }
.s-body4 tr {
    background-color: #EEEEEE;
    height: 20px;
    margin: 0;
    padding: 0;
    width: 919px;
}
.s-body4 th {
	font-size: 14px;
	background-color: #EEEEEE;
    border: 1px solid #d7d7d7;
    color: #663300;
    font-weight: bold;
    margin: 0;
    padding: 6px;
    }
.s-body4 td {
	font-size: 12px;
	background-color: #FFFFFF;
	border: 1px solid #d7d7d7;
    color: #663300;
    height: 22px;
    margin: 0;
    padding: 6px;
    text-align: center;}

.s-body4 p {
    float: right;
    font-size: 12px;
    line-height: 22px;
    margin-bottom: 5px;
    margin-right: 10px;
    margin-top: 5px;
    text-align: left;
}

.top-bb2 {
    background-color: #FCFCFC;
    background-image: -moz-linear-gradient(center bottom , #EEEEEE 0%, #FFFFFF 100%);
    border: 1px solid #CCCCCC;
    height: 82px;
    margin: 10px auto;
    text-align: center;
    width: 928px;
}
.top-bb2 ul {
    text-align: center;
    width: 928px;
}
.top-bb2 ul li {
    display: block;
    float: left;
    height: 62px;
    margin: 8px 0 0 25px;
    width: 200px;
}
.top-bb2 ul li a {
    border: 3px solid #EEEEEE;
    display: block;
    height: 62px;
    width: 200px;
}
.top-bb2 ul li a:hover {
    border: 3px solid #FFFF00;
    display: block;
    height: 62px;
    width: 200px;
}
.request:hover {
	filter:alpha(opacity=85);
	-moz-opacity:0.85;
	-khtml-opacity: 0.85;
	opacity:0.85; 
}
.mail-b {
    clear: both;
    display: block;
    height: 136px;
    margin: 0 auto;
    max-width: 980px;
}
.osi_tizu {
    background-color: #FCFCFC;
    border: 1px solid #CCCCCC;
    color: #663300;
    font-size: 10px;
    height: 264px;
    line-height: 16px;
    margin: 0;
    overflow: auto;
    padding: 15px;
    vertical-align: top;
    width: 226px;
}

@media all and (min-width: 0px) and (max-width: 767px) {
	body {
		margin: 0;
	}
	
	.top-1 {
		height: auto;
		width: auto;
		margin: 0 10px;
	}
	
	h1 {
		text-align: center;
	}
	
	.top-logo {
		float: none;
		margin: 0 auto;
		width: 213px;
	}
	
	.top-tel {
		margin: 0 auto;
		float: none;
		width: 300px;
	}
	
	.top-tel img {
		width: 100%;
	}
	
	.menu {
		height: auto;
		background: none !important;
		border: none;
	}
	
	ul#menu_bar {
		height: auto;
		width: auto;
		overflow: hidden;
	}
	
	#menu_bar li {
		width: 50%;
	}

	#menu_bar li img {
		width: 100%;
	}
	
	#menu_bar li a {
		width: 100%;
	}

	#menu_bar li a:hover {
		background-image: url("../img/foot_bk.gif");
	}
	
	.p-oga {
		display: inline;
		width: auto;
	}
	
	.p-oga2 {
		display: inline;
		float: none;
	}
	
	.p-oga a:hover {
		color: #666;
	}
	
	:hover {
		filter:alpha(opacity=100) !important;
		-moz-opacity:1 !important;
		-khtml-opacity:1 !important;
		opacity:1 !important; 
	}
	
	.sitemap_koko3 {
		width: auto;
	}
	
	.p-si p {
		width: auto;
	}
	
	.s-body {
		width: auto;
		display: block;
	}
	
	.s-body1 {
		float: none;
		margin: 0 0 15px;
		width: auto;
		clear: both;
	}
	
	h3 img {
		width: 100%;
	}
	
	.s-body1 dl {
		width: auto;
	}
	
	.s-body1 dd {
		width: auto;
	}
	
	.s-body2 {
		float: none;
		margin:15px;
		width: auto;
	}
	
	.main-img {
		margin: 0 auto;
	}
	
	.s-body2 img {
		width: 100%;
	}
	
	.main-img img {
		width: auto;
	}
	.s-body3 {
        margin: 15px;
    }
		
	.s-body3 h3 {
		text-align: center;
		border-top: 1px solid #fff;
		border-bottom: 1px solid #fff;
		background: -webkit-linear-gradient(top, #FFA317 0%,#F1650A 100%);
		background: linear-gradient(to bottom,  #FFA317 0%,#F1650A 100%);
	}
	
	.s-body3 h3 img {
		width: auto;
		margin: -1px 0;
		padding: 0px 0;

	}
	
	.s-body4 {
		width: auto;
		overflow: auto;
	}
	
	.s-body4 table {
		width: 920px;
	}

	.s-body4 table td a:hover {
		color: #666;
	}
	
	.mail-b {
		height: auto;
		width: auto;
	}
	
	.p-img2 {
		width: auto;
		height: auto;
	}
	
	.p-so {
		width: auto;
	}
	
	.p-so2 {
		width: auto;
		padding: 0;
		text-align: center;
	}
	
	.p-so2 a:nth-last-child(2) {
		display: block;
		text-align: center;
		margin: 10px 0 0;
	}
	
	.p-so2 a:last-child {
		display: block;
		text-align: center;
	}
	
	#map_canvas {
		height: 250px !important;
		width: auto !important;
	}
	
	.foot-a1 {
		width: auto;
	}
	
	.buildingbox {
		width: auto;
		padding: 10px 10px 0;
		height: auto;
		overflow: hidden;
	}
	
	.building-Contentsbox {
		width: 48%;
		margin: 0 0 10px;
	}

	.buildingbox2 {
		width: auto;
		padding: 10px 10px 0;
		height: auto;
		overflow: hidden;
	}
	
	.building-Contentsbox2 {
		width: 100%;
		margin: 0 0 10px;
		height: auto;
	}	
	
	.building-Contentsbox:nth-child(2n) {
		float: right;
	}

	.building-Contentsbox p a:hover {
		color: #666;
	}
	
	
	.top-bb2 {
		overflow: auto;
	    height: 82px;
		width: 928px;
}
            .buildingbox {
                flex-wrap: wrap; /* スマホ画面では縦に並べる */
                height: auto;
                justify-content: center;
            }
            .building-Contentsbox {
                width: 35%; /* 横幅を半分に調整 */
                margin-bottom: 16px;
            }
            .buildingbox_NEW {
                flex-wrap: wrap; /* スマホ画面では縦に並べる */
                height: auto;
                justify-content: center;
            }
            .building-Contentsbox {
                width: 35%; /* 横幅を半分に調整 */
                margin-bottom: 16px;
            }
            .buildingbox2 {
                flex-wrap: wrap; /* スマホ画面では縦に並べる */
                height: auto;
                justify-content: center;
            }
            .building-Contentsbox2 {
                width: 88%; /* 横幅を半分に調整 */
                margin-bottom: 16px;
            }

	.p-si {
    width: auto;
}

	.img {
    max-width: 100%;
    height: auto;
}
	.s-body-u {
    width: auto;
}
	
	s-body2-top {
    text-align: center;
    margin: 10px 12px 10px;
}
	
	
	
	
	
}
	
	/* テーブルのスタイル */
table {
    font-size:11px;
    width: 1000px;
    border-collapse: collapse;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

/* テーブルのヘッダー */
th {
    background: linear-gradient(to bottom, #b37946cc, #573c2a);
    color: white;
    text-align: left;
    padding: 10px;
    font-size: 1.1em;
}

/* テーブルのセル */
td {
    padding: 6px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

/* 奇数行の背景色 */
tr:nth-child(odd) {
    background-color: #f9f9f9;
}

/* テーブルの行にホバー効果 */
tr:hover {
    background-color: #f1f1f1;
}

/* ページングリンクのスタイル */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap; /* リンクが狭い画面で折り返す */
    gap: 5px; /* リンク間のスペースを均一にする */
}

.pagination a {
    text-decoration: none;
    color: #b37946cc;
    padding: 10px 15px;
    margin: 0;
    border: 1px solid #b37946cc;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap; /* テキストが折り返されないようにする */
}

.pagination a[style="font-weight: bold;"] {
    background-color: #b37946cc;
    color: white;
    border-color: #b37946cc;
}

.pagination a:hover {
    background-color: #b37946cc;
    color: white;
}

/* 最初と最後のリンクのスタイル */
.pagination a:first-child, .pagination a:last-child {
    font-weight: normal;
}

/* スマホ用のスタイル（幅が768px以下の場合） */
@media screen and (max-width: 768px) {
    .pagination {
        gap: 3px; /* リンク間のスペースを狭める */
    }

    .pagination a {
        padding: 8px 10px; /* パディングを小さくしてコンパクトに */
        font-size: 12px; /* フォントサイズを小さくする */
    }
}
.img-container img {
    width: 100px;               /* 画像の幅を親要素の幅に合わせる */
    height: 100px;              /* 画像の高さを親要素の高さに合わせる */
}
.font16 {
    font-size: 12px;
    font-weight: bold;
}
 .detail-button {
      font-size: 14px; /* フォントサイズ */
      font-family: 'Arial', sans-serif;
      color: #fff; /* テキスト色 */
      background: linear-gradient(45deg, #ff6b6b, #ff8c42); /* オレンジと赤系のグラデーション */
      border: none;
      padding: 10px 20px;
      border-radius: 10px; /* 丸みを持たせる */
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影を付ける */
      cursor: pointer;
      transition: all 0.3s ease; /* ホバー時のスムーズな変化 */
    }

    .detail-button:hover {
      background: linear-gradient(45deg, #ff8c42, #ff6b6b); /* グラデーションを反転 */
      box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* ホバー時に影を強調 */
      transform: translateY(-2px); /* 浮き上がるような効果 */
    }

    .detail-button:active {
      transform: translateY(0); /* クリック時の押し込み効果 */
      box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    }
      .tdw1 {
      width:278px;
    }
      .tdw2 {
      width:222px;
    }
      .tdw3 {
      width:68px;
    }
      .tdw4 {
      width:76px;
    }
      .tdw5 {
      width:70px;
    }
    .table-wrapper {
    overflow-x: auto; /* 横スクロールを許可 */
    margin: 20px auto; /* 上下中央寄せ */
    max-width: 100%; /* 親要素が画面幅に収まるようにする */
}