/*--------------------------------------------------------------------
許可無しの再配布は、原則的に禁止させていただきます。
また、無料でご利用されている方の、【ＰＲ枠】のリンク削除も禁止です。
(加工後の削除も不可)
上記行為を絶対にしないよう、よろしくお願いいたします。
ご不明な点がございましたら、http://www.s-hoshino.com/info.html、または、
http://www.megapx.com/info.htmlのフォームよりお問い合わせください。
---------------------------------------------------------------------*/

* {
    padding: 0;
    margin: 0;
    font-family: "メイリオ", "Meiryo", arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
}

body {
    color: #333333;
    /*
	background-image:url(img/bg01.jpg);
	*/
    background-image: url(img/main_back.gif);
    font-size: 12px;
    word-wrap: break-word;
}

img {
    vertical-align: top;
    max-width: 100%;
    height: auto;
    width
    /***/
    : auto;
}

a img {
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
}

a:hover img,
input.btn:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha( opacity=70 )";
}

li {
    list-style-type: none;
}

a {
    color: #B48332;
}

a:hover {
    color: #CC9A46;
    text-decoration: none;
}

header {
    background-color: #FFF;
}

header h1 {
    position: absolute;
    top: 18px;
    left: 100px;
    font-size: 13px;
    font-weight: normal;
    line-height: 14px;
    color: #ffffff;
}

header #h_list li {
    display: inline;
    padding-right: 7px;
    padding-left: 13px;
    border-right-width: 0px;
    border-right-style: solid;
    border-right-color: #CCCCCC;
    background-image: url(img/li.gif);
    background-repeat: no-repeat;
    background-position: 3px center;
    font-size: 10px;
}

header #h_list a {
    text-decoration: none;
    color: #666666;
}

header #info {
    font-size: 11px;
    color: #666666;
    line-height: 24px;
}

header #info strong {
    font-size: 26px;
    color: #A7792E;
    font-family: Arial, Helvetica, sans-serif;
}

header #info span {
    font-size: 14px;
    color: #505050;
}

header #h_list a:hover {
    color: #E8443C;
}

#main {
    background-color: #FFF;
}

#pankuzu {
    margin-bottom: 10px;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #E1E1E1;
    font-size: 10px;
    color: #999999;
    line-height: 16px;
    padding-top: 2px;
    padding-right: 10px;
    padding-bottom: 3px;
    padding-left: 10px;
}

#pankuzu strong {
    font-weight: normal;
    color: #505050;
    font-size: 11px;
    letter-spacing: 1px;
}

#content #mokuji {
    margin-top: 1px;
    margin-bottom: 10px;
    background-color: #FFFFFF;
    padding: 5px;
    margin-right: 5px;
    margin-left: 5px;
    border: 1px solid #E5E5E5;
}

#mokuji ul {
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
}

#mokuji ul ul {
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
}

#mokuji li {
    font-size: 14px;
    line-height: 20px;
}

#mokuji li a {
    background-image: url(img/li.gif);
    background-repeat: no-repeat;
    background-position: 5px center;
    margin-bottom: 2px;
    padding-bottom: 2px;
    padding-left: 15px;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #D8D8D3;
    display: block;
}

#content #mokuji h3 {
    color: #333333;
    background-image: none;
    padding-left: 10px;
    margin-bottom: 2px;
    padding-top: 1px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #D8BC7A;
    padding-bottom: 1px;
    background-color: #FFFFFF;
    border-top-style: none;
    border-right-style: none;
    border-left-style: none;
}

#content .box_out {
    background-color: #F9F9F9;
    margin-bottom: 5px;
    padding: 5px;
}

#content .box_in {
    background-color: #FFFFFF;
    border: 1px solid #E3E3E3;
    margin-bottom: 5px;
    padding: 10px;
}

h2 {
    font-size: 18px;
    line-height: 22px;
    padding-left: 5px;
    margin-bottom: 10px;
    font-weight: normal;
    color: #111;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #D2A251;
    padding-top: 15px;
    padding-bottom: 10px;
    clear: both;
}

h2 span {
    font-size: 10px;
    padding-left: 15px;
    color: #D2A251;
    letter-spacing: 1px;
    line-height: 14px;
}

#content h3 {
    font-size: 14px;
    line-height: 14px;
    color: #666;
    padding-left: 10px;
    margin-top: 1px;
    font-weight: normal;
    background-color: #FFF;
    margin-bottom: 5px;
    display: block;
    border-left-width: 5px;
    border-left-style: solid;
    border-left-color: #D2A251;
    padding-top: 5px;
    padding-bottom: 3px;
}

#content h3,
x:-moz-any-link {
    padding-top: 5px;
    padding-bottom: 1px;
}

#content h3 span {
    font-size: 10px;
    color: #D2A251;
    padding-left: 15px;
    font-weight: normal;
    letter-spacing: 2px;
}

#content h4 {
    color: #C89D4F;
    border-left-width: 3px;
    border-left-style: solid;
    border-left-color: #E7CE8F;
    font-size: 16px;
    line-height: 16px;
    margin-top: 15px;
    margin-right: 5px;
    margin-bottom: 10px;
    margin-left: 5px;
    padding-top: 3px;
    padding-right: 5px;
    padding-bottom: 3px;
    padding-left: 8px;
}

#content h4 span {
    font-size: 12px;
    color: #C89D4F;
    padding-left: 10px;
    line-height: 12px;
    font-weight: normal;
}

#content p {
    font-size: 12px;
    line-height: 20px;
    padding: 5px;
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
}

dl.dl_link {
    padding: 20px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #D9D9D9;
    margin-right: 10px;
    margin-left: 5px;
}

.dl_link dt {
    font-size: 15px;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #CCCCCC;
    line-height: 28px;
    margin-bottom: 7px;
    background-image: url(img/li.gif);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 10px;
    font-weight: normal;
    letter-spacing: 1px;
}

.dl_link dd {
    font-size: 13px;
    line-height: 20px;
    padding-right: 15px;
    padding-left: 15px;
    color: #505050;
}


.img_left {
    float: left;
    background-color: #FFFFFF;
    padding: 2px;
    margin-top: 5px;
    margin-right: 20px;
    margin-bottom: 50px;
    margin-left: 10px;
    border: 1px solid #EDECE9;
}

.img_left_s {
    float: left;
    background-color: #FFFFFF;
    padding: 2px;
    margin-top: 5px;
    margin-right: 20px;
    margin-bottom: 10px;
    margin-left: 10px;
    border: 1px solid #EDECE9;
}

.img_right {
    float: right;
    background-color: #FFFFFF;
    padding: 2px;
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 50px;
    margin-left: 20px;
    border: 1px solid #EDECE9;
}

.img_right_s {
    float: right;
    background-color: #FFFFFF;
    padding: 2px;
    margin-top: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    border: 1px solid #EDECE9;
}

#top_img {
    text-align: center;
    background-color: #FFFFFF;
    border: 1px solid #DFDFDF;
    padding: 5px;
    position: relative;
}

#top_img .top_txt {
    text-align: left;
    position: absolute;
    max-width: 100%;
    z-index: 100;
    left: 10px;
    color: #FFFFFF;
    font-size: 18px;
    padding: 10px 15px;
    height: auto;
    bottom: 10px;
    line-height: 1.4;
    background: url(img/tp2.png);
}

#top_img .top_txt span {
    font-size: 10px;
}

#content .to_top {
    text-align: right;
    padding-right: 5px;
    clear: both;
    margin-top: 10px;
    padding-top: 10px;
}

#content ul.list {
    padding-top: 10px;
    padding-bottom: 10px;
}

#content ul.list li {
    font-size: 12px;
    line-height: 20px;
    margin-bottom: 7px;
    padding-left: 15px;
    background-image: url(img/li.gif);
    background-repeat: no-repeat;
    background-position: 5px center;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #DDDDDD;
    color: #777;
}

#content .chui {
    color: #E44545;
    font-size: 13px;
}

.syomei {
    font-size: 18px;
    text-align: right;
    padding-right: 15px;
    padding-bottom: 15px;
    font-family: "有澤楷書", "ＡＲＰ行楷書体Ｈ", "ＡＲ行楷書体Ｈ", "ヒラギノ明朝 Pro W6", "HiraMinPro-W6";
    padding-top: 5px;
}

#form {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 10px;
    background-color: #F8F8F6;
}

.teisei {
    text-decoration: line-through;
    padding-right: 5px;
    padding-left: 5px;
}

#content .box02_left h3,
#content .box02_right h3 {
    clear: both;
}

#content .box02_left .box_in,
#content .box02_right .box_in {
    padding-right: 10px;
    padding-left: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#content .box02_left p,
#content .box02_right p {
    margin: 0px;
}

.box02_left .img_left {
    margin-bottom: 0px;
    margin-left: 5px;
    margin-right: 10px;
}

.box02_left .img_right {
    margin-bottom: 0px;
    margin-right: 5px;
    margin-left: 10px;
}

#content .menu_base {
    background-color: #F8F7F5;
    width: 96%;
    margin-top: 10px;
    margin-right: auto;
    margin-bottom: 10px;
    margin-left: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

textarea,
input {
    font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
    font-size: 12px;
}

.map_base {
    background-color: #FFFFFF;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    padding-top: 2px;
    padding-bottom: 5px;
    border: 1px solid #EAEAEA;
}


#foot_base {
    background-image: url(img/foot.gif);
    background-repeat: repeat-x;
    background-position: top;
    background-color: #F0F0F0;
    clear: both;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #CCCCCC;
}

footer p {
    font-size: 10px;
    color: #666666;
    line-height: 16px;
}

footer #f_logo {
    font-size: 20px;
    color: #999999;
    font-family: "メイリオ", "Meiryo", arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
}

footer .prbox {
    font-size: 10px;
    color: #999;
}

footer .prbox a {
    color: #999;
}

address {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-style: normal;
    color: #666666;
    background-color: #F5F5F5;
    line-height: 30px;
    text-align: center;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #FFFFFF;
    width: 100%;
}

table {
    border-collapse: collapse;
}

table td {
    border-collapse: collapse;
}

#content table.table_info {
    width: 94%;
    margin-top: 10px;
    margin-right: auto;
    margin-bottom: 20px;
    margin-left: auto;
}

#content table td {
    padding: 2px;
    border: 1px solid #EAE8DF;
    font-size: 13px;
}

#content table th {
    font-size: 16px;
    text-align: left;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 3px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: #EAE8DF;
    border-right-color: #EAE8DF;
    border-bottom-color: #D1CDBA;
    border-left-color: #EAE8DF;
    background-color: #F1ECE3;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    font-weight: normal;
    color: #664B24;
}

#content form table th {
    width: 127px;
}

#content table td.td_head {
    background-color: #FCF7E9;
    text-align: right;
    padding: 8px;
    white-space: nowrap;
    color: #333333;
    border-top-width: 1px;
    border-right-width: 4px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: #D5D5D5;
    border-right-color: #E4D0A3;
    border-bottom-color: #D5D5D5;
    border-left-color: #D5D5D5;
    font-size: 13px;
    background-image: url(img/td_head.gif);
    background-repeat: repeat-x;
}

#content table td.td_odd {
    background-color: #FFFFFF;
    text-align: left;
    padding: 8px;
    border: 1px solid #D5D5D5;
    font-size: 12px;
    background-image: url(img/td_odd.gif);
    background-repeat: repeat-x;
    line-height: 20px;
}

.td_head .eng {
    margin: 0px;
    padding: 0px;
    font-size: 10px;
    color: #C1A359;
}

#content table.table_menu {
    width: 92%;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: auto;
    margin-left: auto;
}

#content table.table_menu th {
    font-size: 14px;
    border-right-width: 4px;
    border-right-style: solid;
    border-right-color: #E1C67D;
    text-align: right;
    padding-top: 15px;
    padding-right: 10px;
    padding-bottom: 15px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #DDDDDD;
    white-space: nowrap;
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-left-style: solid;
    border-top-color: #DDDDDD;
    border-left-color: #DDDDDD;
    padding-left: 20px;
    background-image: url(img/th.gif);
    background-repeat: repeat-x;
    background-position: center top;
    color: #333333;
    background-color: #FDF7E8;
}

#content table.table_menu th span {
    font-size: 10px;
    color: #E24B4B;
}

#content table.table_menu td {
    font-size: 14px;
    padding-left: 15px;
    border-bottom-color: #E5E5E5;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 22px;
    background-color: #FFFFFF;
    border-top-color: #E5E5E5;
    border-right-color: #E5E5E5;
    border-left-color: #E5E5E5;
    padding-right: 15px;
}

#content .table_menu strong {
    font-size: 16px;
    color: #D39732;
    padding-right: 5px;
    padding-left: 5px;
}

.table_info th a {
    color: #312D24;
}

#content .table_info .td_odd p {
    margin: 0px;
}

.btn_s {
    text-align: right;
    clear: both;
    padding: 10px;
}

.btn_s a,
.box3 .btn a {
    padding-top: 2px;
    padding-right: 7px;
    padding-bottom: 2px;
    padding-left: 7px;
    font-size: 12px;
    border-top-width: 2px;
    border-right-width: 3px;
    border-bottom-width: 2px;
    border-left-width: 3px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    text-decoration: none;
    line-height: 16px;
    color: #FFFFFF;
    background-color: #CC9A46;
    border-top-color: #DDD;
    border-right-color: #DDD;
    border-bottom-color: #DDD;
    border-left-color: #DDD;
}

.btn_s a:hover,
.box3 .btn a:hover {
    color: #A7792E;
    background-color: #FFFFFF;
    border-top-color: #D8B172;
    border-right-color: #D8B172;
    border-bottom-color: #D8B172;
    border-left-color: #D8B172;
}

#content .box3 {
    text-align: center;
    width: 31%;
    padding-top: 8px;
    padding-bottom: 8px;
    border: 1px solid #EEE8DF;
    float: left;
    margin-bottom: 10px;
    margin-left: 2%;
    background-color: #F9F7F4;
}

.box3 .btn a {
    margin-top: 5px;
    width: 110px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 4px;
}

.box3 a img {
    background-color: #FFFFFF;
    padding-top: 2px;
    padding-right: 1px;
    padding-bottom: 2px;
    padding-left: 1px;
    border: 1px solid #E2DBCD;
}

.box3 a:hover img {
    border-top-color: #DAB67A;
    border-right-color: #DAB67A;
    border-bottom-color: #DAB67A;
    border-left-color: #DAB67A;
}

#content .box3:hover {
    background-color: #FFFCEC;
    border-top-color: #E8C77B;
    border-right-color: #E8C77B;
    border-bottom-color: #E8C77B;
    border-left-color: #E8C77B;
}

#sitemap #main p {
    padding-top: 10px;
    padding-right: 25px;
    padding-bottom: 10px;
    padding-left: 25px;
}

#sitemap #main ul {
    padding: 10px;
}

#sitemap #main li {
    padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 2px;
    padding-left: 35px;
}

#sitemap #main ul {
    margin: 0px;
    padding: 0px;
}

#sitemap #main li a {
    background-image: url(img/li.gif);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 10px;
}



#sitemap #main {
    padding-top: 10px;
    padding-right: 3%;
    padding-left: 3%;
    padding-bottom: 20px;
    width: 94%;
}

#sitemap header {
    height: 80px;
}

#content .box02_right .box_in ul.list li {
    font-size: 12px;
}

#content .dl_list dl dt {
    float: left;
    width: 22%;
    border-right-width: 1px;
    border-right-style: dotted;
    border-right-color: #B48332;
    text-align: right;
    padding-right: 3%;
    margin-right: 3%;
}

#content .dl_list dl {
    clear: both;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #D6D6D6;
    padding-top: 10px;
    padding-right: 6%;
    padding-bottom: 10px;
    padding-left: 2%;
}

#content .dl_list dl dd {
    margin-left: 28%;

}


@media screen and (max-width:760px) {

    #content .box_in {
        padding: 1%;
    }

    #form {
        margin: 1%;
        background-color: #F8F8F6;
    }

    #content table td.td_head {
        padding: 5px;
        white-space: inherit;
        font-size: 12px;
    }

    .td_head .eng {
        font-size: 9px;
    }

    #content table td.td_odd {
        padding: 5px;
        font-size: 11px;
    }

    #content .chui {
        font-size: 10px;
    }

    textarea,
    input {
        font-size: 11px;
    }

    #hp_base {
        width: 100%;
        min-width: 320px;
    }

    header {
        width: 98%;
        padding-top: 5px;
        padding-right: 1%;
        padding-bottom: 5px;
        padding-left: 1%;
    }

    #logo {
        float: left;
    }

    #info {
        float: left;
        margin-bottom: 10px;
        margin-left: 3%;
    }

    #h_list {
        clear: both;
    }

    a.menu {
        display: block;
        height: 20px;
        line-height: 20px;
        font-weight: bold;
        text-align: left;
        color: #FFF;
        background-color: #555;
        border: 1px solid #FFF;
        padding: 10px;
        box-shadow: #ccc 0 0 3px;
    }

    a.menu span {
        font-size: 12px;
        padding-left: 20px;
    }

    a.menu span:after {
        content: "表示する ▼";
    }

    a.menuOpen span:after {
        content: "閉じる ×";
    }

    a.menu:hover {
        cursor: pointer;
        background-color: #777;
    }

    #g_navi {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    #g_navi .gl_menu {
        background-color: #FFF;
        padding-top: 5px;
        padding-right: 10px;
        padding-bottom: 10px;
        padding-left: 10px;
        margin-right: 5px;
        margin-bottom: 5px;
        margin-left: 5px;
        box-shadow: #ccc 0 0 3px;
    }

    #g_navi .gl_menu li {
        padding: 1px;
        border-bottom-width: 1px;
        border-bottom-style: dotted;
        border-bottom-color: #CCC;
        background-color: #FFF;
        font-size: 14px;
        line-height: 16px;
    }

    #g_navi .gl_menu li span {
        font-size: 10px;
    }

    #g_navi .gl_menu li a {
        background-color: #EEE;
        display: block;
        padding: 10px;
    }

    #g_navi .gl_menu li a:hover {
        background-color: #F9F9F9;
    }

    #g_navi .gl_menu li strong {
        color: #333;
        padding-top: 5px;
        padding-bottom: 5px;
        display: block;
    }

    #top_img .top_txt {
        left: 5%;
        font-size: 14px;
        line-height: 14px;
        padding-top: 10px;
        padding-bottom: 5px;
        padding-left: 5%;
        width: 85%;
    }

    #top_img .top_txt span {
        font-size: 8px;
    }

    #main {
        width: 98%;
        background-color: #FFF;
        padding-top: 1%;
        padding-right: 1%;
        padding-left: 1%;
    }

    #content .box3 {
        width: 30%;
        margin-left: 2%;
    }

    .box3 .btn a {
        font-size: 10px;
        line-height: 16px;
        width: 80px;
    }

    footer {
        width: 100%;
        min-width: 320px;
        position: relative;
        height: 120px;
    }

    footer #f_logo {
        padding-top: 5px;
        padding-right: 5px;
        padding-left: 5px;
        border-bottom-width: 1px;
        border-bottom-style: dotted;
        border-bottom-color: #CCC;
    }

    footer ul {
        display: none;
    }

    footer .prbox {
        position: absolute;
        bottom: 5px;
        right: 5px;
        padding-left: 5px;
    }

    footer p {
        padding: 5px;
    }

}

@media screen and (min-width: 760px) {

    #hp_base {
        width: 760px;
        margin-right: auto;
        margin-left: auto;
        padding-top: 1px;
        padding-right: 5px;
        padding-bottom: 1px;
        padding-left: 5px;
    }


    #main {
        width: 750px;
        padding-top: 5px;
        padding-right: 5px;
        padding-left: 5px;
    }

    #content {
        width: 100%;
        margin-right: 5px;
        margin-top: 10px;
    }

    header {
        height: 210px;
        position: relative;
        background-image: url(img/header_back02.png);
        background-repeat: no-repeat;
    }

    header h1 {
        position: absolute;
        top: 10px;
        left: 27px;
        font-size: 13px;
        color: #ffffff;
    }

    header img#logo {
        position: absolute;
        left: 15px;
        top: 25px;
    }

    header #h_list {
        position: absolute;
        right: 20px;
        top: 6px;
    }

    header #info {
        position: absolute;
        right: 20px;
        top: 35px;
        text-align: right;
    }

    nav#g_navi {
        position: absolute;
        left: 0px;
        bottom: 0px;
        height: 44px;
        width: 755px;
        padding-left: 5px;
    }

    nav#g_navi ul.gl_menu {
        border-left-width: 1px;
        border-left-style: solid;
        border-left-color: #F0F0F0;
        height: 44px;
        display: block !important;
    }

    nav#g_navi li a {
        display: block;
        float: left;
        color: #666666;
        text-decoration: none;
        border-right-width: 1px;
        border-right-style: solid;
        border-right-color: #E0E0E0;
        text-align: center;
        line-height: 16px;
        height: 32px;
        padding-right: 16px;
        padding-bottom: 6px;
        padding-left: 16px;
        font-size: 12px;
        padding-top: 6px;
        width: auto;
    }

    nav#g_navi li strong {
        display: block;
        float: left;
        color: #666666;
        text-decoration: none;
        border-right-width: 1px;
        border-right-style: solid;
        border-right-color: #E0E0E0;
        text-align: center;
        line-height: 16px;
        height: 32px;
        padding-right: 16px;
        padding-bottom: 4px;
        padding-left: 16px;
        font-size: 12px;
        padding-top: 8px;
        width: auto;
    }

    nav#g_navi li a span {
        color: #999999;
        line-height: 10px;
        font-size: 10px;
    }

    nav#g_navi li strong span {
        color: #C28C32;
        line-height: 12px;
        font-size: 10px;
    }

    nav#g_navi li a:hover span {
        color: #EEE;
    }

    nav#g_navi li a {
        border-bottom-width: 2px;
        border-bottom-style: solid;
        border-bottom-color: #999999;
    }

    nav#g_navi li a:hover {
        color: #FFFFFF;
        background-color: #666;
        border-bottom-color: #444;
    }

    nav#g_navi li strong {
        color: #000000;
        font-weight: normal;
        border-top-width: 2px;
        border-top-style: solid;
        border-top-color: #CDA64B;
    }

    nav#g_navi li {
        display: inline;
    }

    a.menu {
        display: none;
    }


    #content .box02_left {
        float: left;
        width: 49%;
    }

    #content .box02_right {
        float: right;
        width: 49%;
    }


    #side {
        padding: 5px;
        float: left;
        width: 220px;
        margin-top: 10px;
    }

    #side h3 {
        font-size: 14px;
        line-height: 18px;
        color: #FFFFFF;
        padding-bottom: 3px;
        font-weight: normal;
        margin-bottom: 1px;
        padding-top: 5px;
        letter-spacing: 1px;
        text-align: center;
        background-color: #666666;
        border-bottom-width: 4px;
        border-bottom-style: solid;
        border-bottom-color: #444444;
    }

    #side .side_box {
        width: 220px;
        margin-bottom: 5px;
        background-color: #F9F9F9;
        padding-top: 5px;
        padding-bottom: 10px;
    }

    #side .side_box h3 {
        background-color: #777;
        background-image: none;
        line-height: 20px;
        height: 20px;
        padding-top: 1px;
        padding-right: 0px;
        padding-bottom: 1px;
        padding-left: 0px;
        font-size: 13px;
        border-bottom-width: 2px;
        border-bottom-style: solid;
        border-bottom-color: #D2D2CA;
    }

    #side .side_box .side_inbox {
        width: 210px;
        padding-top: 5px;
        padding-bottom: 10px;
        background-color: #FFFFFF;
        margin-right: auto;
        margin-left: auto;
        border: 1px solid #EEEEEE;
    }

    #side li {
        line-height: 0;
    }

    #side li a {
        display: block;
        font-size: 12px;
        line-height: 16px;
        color: #505050;
        text-decoration: none;
        background-color: #F8F8F5;
        padding-top: 6px;
        padding-right: 5px;
        padding-left: 22px;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: #E0E0D8;
        background-image: url(img/side_li.gif);
        background-position: center top;
        background-repeat: no-repeat;
        border-top-width: 1px;
        border-top-style: solid;
        border-top-color: #FFFFFF;
        height: 34px;
    }

    #side li a:hover {
        background-color: #FFFFFF;
        color: #000000;
        background-image: url(img/side_li_ov.gif);
    }

    #side .side_box .side_inbox p {
        margin-top: 5px;
        margin-right: 10px;
        margin-bottom: 10px;
        margin-left: 10px;
        font-size: 12px;
    }

    #side .side_box .side_btn {
        text-align: center;
        padding-top: 5px;
        padding-bottom: 5px;
        background-color: #F2F2F2;
    }

    #side li a span {
        font-size: 10px;
        line-height: 12px;
        color: #999999;
    }

    #side li a:hover span {
        color: #D2A251;
    }

    #side ul {
        width: 200px;
        margin-right: auto;
        margin-left: auto;
        border-top-width: 1px;
        border-right-width: 1px;
        border-left-width: 1px;
        border-top-style: solid;
        border-right-style: solid;
        border-left-style: solid;
        border-top-color: #E3E3E3;
        border-right-color: #E3E3E3;
        border-left-color: #E3E3E3;
        display: block;
    }

    #side .chui {
        font-size: 10px;
        color: #D73743;
        padding-left: 5px;
    }


    footer {
        width: 760px;
        height: 120px;
        position: relative;
        margin-right: auto;
        margin-left: auto;
    }

    footer li a {
        color: #666666;
        text-decoration: none;
        font-size: 11px;
    }

    footer li a:hover {
        color: #999999;
    }

    footer li {
        font-size: 12px;
        display: inline;
        padding-right: 8px;
        padding-left: 8px;
        border-right-width: 1px;
        border-right-style: solid;
        border-right-color: #999999;
    }

    footer p {
        text-align: right;
        position: absolute;
        right: 10px;
        bottom: 10px;
    }

    footer #f_ul01 {
        position: absolute;
        left: 10px;
        top: 15px;
    }

    footer #f_ul02 {
        position: absolute;
        left: 10px;
        top: 38px;
    }

    footer #f_logo {
        position: absolute;
        top: 40px;
        right: 10px;
    }

    footer .prbox {
        position: absolute;
        left: 10px;
        bottom: 10px;
    }

}

@media screen and (max-width:950px) {

    #side {
        display: none;
    }

    header {
        position: relative;
        background-image: url(img/header_back02.png);
        background-repeat: no-repeat;
    }

}

@media screen and (min-width: 950px) {

    #hp_base {
        width: 950px;
    }

    nav#g_navi {
        height: 44px;
        width: 930px;
        padding-left: 10px;
    }

    nav#g_navi ul {
        height: 44px;
    }

    nav#g_navi li a {
        line-height: 16px;
        height: 32px;
        padding-right: 25px;
        padding-bottom: 6px;
        padding-left: 25px;
        font-size: 13px;
        padding-top: 6px;
        width: 103px;
    }

    nav#g_navi li strong {
        line-height: 16px;
        height: 32px;
        padding-right: 25px;
        padding-bottom: 4px;
        padding-left: 25px;
        font-size: 13px;
        padding-top: 8px;
        width: 103px;
        background-color: #FFF;
    }

    nav#g_navi li a span {
        line-height: 10px;
        font-size: 10px;
    }

    nav#g_navi li strong span {
        line-height: 12px;
        font-size: 10px;
    }



    #main {
        float: left;
        width: 938px;
        padding-top: 6px;
        padding-right: 6px;
        padding-left: 6px;
    }

    #content {
        float: right;
        width: 690px;
        margin-right: 5px;
        margin-top: 10px;
    }

    footer {
        width: 950px;
    }

}

@media only screen and (max-width:420px) {
    header {
        position: relative;
        background-image: url(img/header_back02.png);
        background-repeat: no-repeat;
    }

    table tr {
        display: block;
        margin-bottom: 1.5em;
    }

    table th,
    table td {
        display: list-item;
        border: none;
        list-style: none;
        text-align: left;
    }

    #content table td.td_head {
        text-align: left;
        border-right-width: 1px;
    }

    #content table.table_menu th {
        text-align: left;
        font-size: 12px;
        border-right-width: 1px;
    }

    #content table.table_menu td {
        font-size: 12px;
    }

    #content .table_menu strong {
        font-size: 14px;
    }
}


/*--------------------------------------------------------------------
ResponsiveSlides.js
---------------------------------------------------------------------*/

.rslides {
    position: relative;
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}


#map_canvas {
    position: relative;
    padding: 0 0 56%;
    height: 0;
    overflow: hidden;
}

#map_canvas iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}


/* =========================
   追加：スマホ最適化（clinic / service 共通）
   テンプレ既存のブレイクポイント(760px)に合わせる
========================= */
@media screen and (max-width:760px) {

    /* 読みやすさ（現状12pxなので底上げ） */
    body {
        font-size: 16px;
        line-height: 1.7;
    }

    /* 画像の回り込みを解除して縦並びにする */
    .img_left,
    .img_right,
    .img_left_s,
    .img_right_s {
        float: none !important;
        display: block;
        width: auto !important;
        margin: 10px auto 12px auto !important;
        /* 50pxの巨大余白を潰す */
        padding: 2px;
        text-align: center;
    }

    /* 画像を中央寄せ */
    .img_left img,
    .img_right img,
    .img_left_s img,
    .img_right_s img {
        display: block;
        margin: 0 auto;
    }

    /* ボックス内：スマホ用に余白を確保（読みやすさ優先） */
    #content .box_in {
        padding: 14px !important;
        box-sizing: border-box;
    }

    /* サイドメニューはスマホでは非表示（950px以下で消えるが保険で確実に） */
    #side {
        display: none !important;
    }

    /* 目次：タップしやすく（押せる面積を増やす） */
    #mokuji li a {
        padding: 12px 10px;
        background-position: 8px center;
        /* リストアイコン位置微調整 */
    }

    /* 「ページトップへ戻る」周りの余白が変になりやすいので保険 */
    #content .to_top {
        padding-top: 6px;
        margin-top: 6px;
    }
}


@media screen and (max-width:760px) {
    #content h3 {
        font-size: 16px;
        line-height: 1.4;
    }

    #content p {
        font-size: 16px;
        line-height: 1.7;
        margin: 8px 10px 12px;
    }
}
