@charset "utf-8";


html,body {width: 100%;height: 100%;}
body {
    color: #333;        /*全体の文字色*/
    background: #fafafa;    /*全体の背景色*/
    margin: 0px;
    padding: 0px;
    font-family:"ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "Times New Roman", "游明朝", YuMincho, "メイリオ", Meiryo, Osaka, serif;    /*フォント種類*/
    font-size: 18px;
    line-height: 2;
    -webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/**************************************************************************
 Link Setting
 **************************************************************************/
a {
    color: #333;
    -webkit-transition: 0.5s;    /*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
    transition: 0.5s;            /*同上*/
}
a:hover {
    color: #535353;
    text-decoration: none;    /* When Mouse over, hidden bottom bar. 下線を残す場合は削除 */
}

/*コンテンツ（左右ブロックを囲むブロック）
---------------------------------------------------------------------------*/
#container {
    height: 90%;
    padding: 2% 2% 2% 23%;    /*上、右、下、左への余白。#subのwidthの値を変えた場合はここの23%を調整する。*/
}

/* トップバー */
#about-top {
    background: url(../images/sumika01.jpg) no-repeat;
}
#message-top {
    background: url(../images/sumika02.jpg) no-repeat;
}
#business-top {
    background: url(../images/sumika03.jpg) no-repeat;
}
#voice-top {
    background: url(../images/sumika04.jpg) no-repeat;
}
#contact-top {
    background: url(../images/sumika05.jpg) no-repeat;
}
#about-top, #message-top, #business-top, #voice-top, #contact-top {
    height: 200px;
    width: 100%;
    background-position: right top;
    background-size: cover;
    vertical-align: bottom;
    position: relative;
}
#about-top span, #message-top span, #business-top span, #voice-top span, #contact-top span {
    position: absolute;
    right: 20px;
    bottom: 10px;
    color: #fff;
    font-size: 1.8em;
    font-weight: bolder;
}

.toplink {
    position: absolute;
    width: 180px;
    height: 42px;
    top: 0;
    right: 0;
    display: none
    ;z-index: 3;
}
.toplink a {
    display: block;
    width: 100%;
    height: 100%;
}

#top-bar {
    background-color: white;
    width: 100%;
    height: auto;
    display: none;
}
#top-bar img {
    height: 75px;
    width: auto;
    float: right;
}

/**************************************************************************
 Main Content
 **************************************************************************/
#main {
    padding-bottom: 30px;
}
/*h2タグの設定*/
#main h2 {
    color: #51350B;
    font-size: 1.5em;
    padding: 15px 0;    /*上下、左右への余白*/
}
/*コンテンツのh3タグの設定*/
#main h3 {
    font-size: 1.3em;
}
/*メインコンテンツのp(段落)タグ設定*/
#main p {
    padding: 0px 20px 20px;    /*上、左右、下への余白*/
}
#main h2 + p,
#main h3 + p {
    margin-top: -10px;
}
span {
    color: #51350B;
}
/*メインフレーズの設定*/
#top_phrase {
    width: 60%;
    height: auto;
    margin: 8% 1% 15% auto;
}

/**************************************************************************
 Float List (FOR TOP PAGE)
 **************************************************************************/
.float_list {
    float: right;
    width: 140px;
    overflow: auto;    /* SCROLL */
    background: #fff;
    background: rgba(255,255,255,0.5);
    color: #7E308C;
    text-align: center;
    margin-left: 2%;    /* float_list's right and left margin */
    margin-bottom: 30px;    /* float_list's top and bottom margin */
    height: 140px;
    line-height: 1.4;
    position: relative;
    
    -webkit-transition: 0.5s;    /*マウスオン時の移り変わるまでの時間設定*/
    transition: 0.5s;            /*同上*/
}
.float_list a {
    display: block;
    overflow: auto;
    text-decoration: none;
    height: 140px;    /* The same value as float_list's height */
    color: #7E308C;
}
.float_list a:hover {
    background: #9B9B9B;
    background: rgba(155,155,155,0.3);
    color: #7E308C;
}

.float_list a::after {
    content: "▶";
    color: #7E308C;
    width: 100%;
    line-height: 10px;
    text-align: center;
}


.float_list .img {
    width: 60%;        /* images width */
    height: auto;    /* images height */
    padding: 10px 0 15px;
} 

.float_list h5 {
    padding-bottom: 0.5em;
}
/**************************************************************************
 SUB PANE
 **************************************************************************/
#sub {
    position: absolute;    /* NOT SCROLL TOGETHER with Main pane */
    left: 0px;top: 200px;  /* adjust for top-bar height */
    overflow: auto;    /* scroll bar auto */
    width: 21%;        /* if this value change, to adjust #container width value */
    height: 100%;
    background: #fafafa;
    color: #7E308C;
    font-weight: bold;
    text-align: right;
}
#container .index-page, #container.compact-page #sub {
    top: 0px;
    overflow: none;    /* scroll bar auto */
}

#sub a {
    color: #7E308C;
}

#sub p {
    padding: 10px 20px;
}

#sub .inner {
    border-right: 1px solid #BFBFC1;
}

#sub #logo img {
    height: auto;
    padding: 10% 0;
}

#address {
    margin: 20px 10px;
    text-align: center;
}

/**************************************************************************
 SIDE MENU
 **************************************************************************/
/* Settings for collective */
nav#menubar {
    border-top: 1px solid #BFBFC1;
    font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;    /*フォント種類*/
}
/* Settings for individual */
nav#menubar ul li a {
    background: url(../images/sumika_logo3.png) no-repeat;
    background-size: auto 70%;
    text-decoration: none;
    display: block;
    padding: 15px 5px;
    border-bottom: 1px solid #BFBFC1;
    font-size: 0.8em;
}
/* mouse over and current */
nav#menubar ul li a:hover,
nav#menubar ul li.current a {
    background-color: #eee;
    color: #535353;
}

nav#menubar ul li a::after{
    content: "　▶";
    padding-left: 5px;
}

/*小さい端末用(画面幅480px以下)メニューを表示させない*/
#menubar-s {
    display: none;
}
/*３本バーアイコンを表示させない*/
#menubar_hdr {
    display: none;
}

li img {
    margin: 10px 10px;
}

/*フッター設定(copyrightが入った最下部ブロック)
---------------------------------------------------------------------------*/
footer {
    clear: both;
    text-align: center;    /*文字を右寄せにする*/
    width: 100%;
    letter-spacing: 0.2em;    /*文字間隔を広くとる設定*/
    font-size: 12px;    /*文字サイズ*/
}
footer .pr {
    display: block;
    font-size: 80%;
}
footer a {
    text-decoration: none;
}

video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    background-size: cover;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #333;background:rgba(0,0,0,0.6);padding: 3px;border-radius: 3px;color: #fff;}
.mb15,.mb1em {margin-bottom: 15px;}
.mb20 {margin-bottom: 20px;}
.clear {clear: both;}
ul.disc {padding: 0em 25px 15px;list-style: disc;}
.color1 {color: #535353;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.fr {float:right;width: 30%;margin:0 20px 20px;}
.fl {float:left;width: 30%;margin:0 20px 20px;}
.sh {display: none;}

/*コンパクトシティ構想ページ用
--------------------------------------------------------------------------*/
.compact-img {
    margin: 0;
}

#container.compact-page {
    padding-top: 0;
    padding-right: 0;
    padding-left: 20%;
}


/*サービス案内ページ用
--------------------------------------------------------------------------*/
.business-img {
    margin: 50px 0;
}

.okyakusama1 {
    width: 500%;
    height: auto;
    background: url('../images/04-1.png');
    background-size: auto;
    background-position: 400px 0;
    background-repeat: no-repeat;
    color: #B06A00;
}
    
.okyakusama2{
     width: 500%;
    height: auto;
    background-color: #ff0;
    background: url('../images/04-2.png');
    background-size: auto;
    background-position: 400px 0;
    background-repeat: no-repeat;
    color: #B06A00;
 }   
 
.gyoukan {
    margin-bottom:9px
}
   
#contact-button {
    font-size: 0.8em;
    margin: 10px 20px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border: 2px solid #BFBFC1;
}

#contact-button a {
    display: block;
    text-decoration: none;
}

#contact-button:hover {
    background-color: #eeeeee;
}

#contact-button div{
    content: " ▶";
}

/*画面幅950px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:950px){

    /*コンテンツ（左右ブロックを囲むブロック）
    ---------------------------------------------------------------------------*/
    #container {
        padding: 2% 2% 2% 28%;
    }
    
    #container.compact-page {
        padding-top: 0;
        padding-right: 0;
        padding-left: 25%;
    }
    
    /*サブコンテンツ
    ---------------------------------------------------------------------------*/
    #sub {
        width: 25%;
    }
    
    /*メインフレーズの設定*/
    #top_phrase {
        width: 60%;
        height: auto;
        margin: 15% 1% 30% auto;
    }
}


/*画面幅750px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:750px){

/*コンテンツ（左右ブロックを囲むブロック）
---------------------------------------------------------------------------*/
#container {
    padding: 3%;    /*余白*/
    margin-top: 3%;
    padding-top: 90px;    /*上にとる余白。下のサブコンテンツのheightと合わせる。*/
}
#container.compact-page {
    padding: 0;
    margin-top: 0;
}

/*サブコンテンツ
---------------------------------------------------------------------------*/
#container .index-page {
    height: auto;
}
#sub {
    position: static;    /*fixed配置をやめる設定*/
    width: auto;
    height: auto;
    background: transparent;    /*背景色を透明に*/
    color: #333;                /*文字色*/
    margin-bottom: 20px;    /*ボックスの外側＆下にあけるスペース*/
}
/*subブロック内のリンクテキストの色*/
#sub a {
    color: #333;
}
/*subブロック内のinnnerブロック（ロゴ、文字サイズ変更ボタンなど囲むブロック）*/
#sub .inner {
    position: absolute;
    left: 0px;top: 75px;
    z-index: 1;
    width: 100%;
    height: 10px;    /*下の#sub #logo imgのheightと数字を合わせる。ここを変える場合、下にある#menubar-sのtopの数字も合わせて変更する。*/
    border-right: none;
}
#sub #logo img {
    height: 90px;    /*上の#subのheightと数字を合わせる*/
    float: left;    /*左に回り込み*/
}
/* トップページ以外ではロゴを非表示 */
#logo {
    display: none;
}
/*大きい画面用の電話番号などを非表示にする*/
#address {
    display:none;
}

/*大きい画面用の問い合わせボタンを非表示*/
#contact-button {
    display: none;
}

/*メインメニュー
---------------------------------------------------------------------------*/
/*大きな端末用(画面幅751px以上)メニューを非表示にする*/
#menubar {
    display: none;
}
/*メニューブロック全体への設定*/
#menubar-s {
    display: block;    /*小さい端末用(画面幅750px以下)メニューを非表示から表示に切り替える*/
    position: absolute;
    left: 0px;
    top: 0px;    /*#subのheightの数字と同じ数字にする*/
    width: 100%;
    -webkit-box-shadow: 0px 0px 20px rgba(0,0,0,0.5);    /*ボックスの影。右へ、左へ、広げる幅。0,0,0は黒のことで0.5は透明度50%のこと。*/
    box-shadow: 0px 0px 20px rgba(0,0,0,0.5);            /*同上*/
    background: #000;    /*背景色（古いブラウザ用）*/
    background: rgba(0,0,0,0.85);        /*背景色。0,0,0は黒のことで0.85が透明度85%のこと。*/
}
#menubar-s ul li {
    text-align: center;
}
/*メニュー１個ごとの設定*/
#menubar-s ul li a {
    display: block;
    text-decoration: none;
    text-align: center;    /*文字をセンタリング*/
    line-height: 60px;    /*高さ*/
    border-bottom: 1px solid #fff;    /*下線の幅、線種、色*/
    color: #fff;    /*文字色*/
}

/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
    display: block;
    position: absolute;
    z-index: 2;
    top: 15px;    /*上から18pxの場所に配置*/
    left: 2%;    /*左から2%の場所に配置*/
    width: 30px;    /*幅*/
    border: 1px solid #000;    /*枠線の幅、線種、色*/
    padding: 12px 10px 6px;    /*上、左右、下へのボックス内余白*/
    background: #fff;    /*背景色*/
}
/*３本のバー（1本あたり）*/
#menubar_hdr span {
    display: block;
    border-top: 3px solid #000;    /*枠線の幅、線種、色*/
    margin-bottom: 7px;    /*バー同士の余白*/
}

.toplink {
    display: block;
}
#top-bar {
    display: block;
}

}


/*画面幅500px以下の設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width:500px){

/*その他
---------------------------------------------------------------------------*/
.ws {width: 96%;}
.fr {float:none;width: 100%;margin:0 0 20px;}
.fl {float:none;width: 100%;margin:0 0 20px;}

}
