@charset "utf-8";


/*mainimg.cssの読み込み*/
@import url(mainimg.css);


/*lightbox.cssの読み込み
---------------------------------------------------------------------------*/
@import url(https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.10.0/css/lightbox.css);


/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/



body,html,#mainimg {width: 100%;height: 100%;}
body {
    margin: 0px;
    padding: 0px;
    color: #fff;	/*全体の文字色*/
    font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
    font-size: 14px;	/*文字サイズ*/
    line-height: 2;		/*行間*/
    background: #0087ce;	/*背景色*/
    -webkit-text-size-adjust: none;
}

html { scroll-behavior: smooth;}

h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,input,textarea {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
    color: #fff;		/*リンクテキストの色*/
    transition: 0.4s;	/*マウスオン時の移り変わるまでの時間設定。0.4秒。*/
}
a:hover {
    color: #fff;			/*マウスオン時の文字色*/
    font-weight: bold;
    text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*header
---------------------------------------------------------------------------*/
/*headerブロック*/
header {
    overflow: hidden;z-index: 1;
    position: fixed;	/*スクロールしても固定表示させる指定*/
    top: 0px;			/*上からの配置場所*/
    left: 0px;			/*左からの配置場所*/
    width: 100%;		/*幅*/
    padding: 10px 0;	/*上下、左右へのブロック内の余白*/
    background: #0087ce;	/*背景色（古いブラウザ用）*/
    background: rgba(0,135,260,1.0);	/*背景色。0,0,0は黒の事で、0.8は色が80%出た状態の事。*/
    border-bottom: 1px solid #fff;	/*下の線の幅、線種、色（古いブラウザ用）*/
    border-bottom: 1px solid rgba(255,255,255,0.9);	/*下の線の幅、線種、色。255,255,255は白の事で0.3は色が30%出た状態の事。*/
}
/*トップページでのheaderブロックの追加設定*/
.home header {
    background: transparent;
    border: none;
}
/*ロゴ画像*/
header #logo {
    width: 250px;	/*幅*/
    float: left;	/*左に回り込み*/
    margin-left: 10px;	/*左側に空けるスペース*/
    margin-right: 70px;	/*右側に空けるスペース*/
}
/*トップページで表示させている「お知らせ」の１行。*/
header #news {
    float: left;	/*左に回り込み*/
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7), -1px -1px 2px rgba(0,0,0,0.7);	/*テキストの影*/
}
header #news .newicon {text-shadow: none;}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar {
    overflow: hidden;
    float: left;
    width: auto;
}
/*メニュー１個あたりの設定*/
#menubar li {
    float: left;		/*左に回り込み*/
    text-align: center;	/*文字をセンタリング*/
}
#menubar li a {
    display: block;text-decoration: none;
    padding: 13px 20px;	/*上下、左右へのメニュー内余白*/
}
/*現在表示中(current)のメニュー設定*/
#menubar li.current a {
    font-weight: bold;
    color: #ffffff;	/*文字色*/

}
/*スマホ用メニューを表示させない*/
#menubar-s {display: none;}
/*３本バーアイコンを表示させない*/
#menubar_hdr {display: none;}

/*headerアイコン（facebookやtwitterなどのアイコンブロック）
---------------------------------------------------------------------------*/
/*アイコンを囲むブロック全体の設定*/
header .icon {
    float: right;		/*右側に回り込み*/
    margin-right: 10px;	/*右側に空けるスペース*/
    margin-top: 13px;
}
/*アイコン１個あたりの設定*/
header .icon li {
    display: inline;	/*横並びにさせる指定*/
}
/*アイコン画像の設定*/
header .icon img {
    width: 30px;		/*画像の幅*/
    margin-left: 5px;	/*画像同士の余白*/
}
/*マウスオン時*/
header .icon a:hover {
    opacity: 0.7;		/*色が70%だけついた状態にする*/
}

/*contents（headerとfooter以外のメインとなるブロック。）
---------------------------------------------------------------------------*/
/*contentsブロック*/
#contents {
    clear: both;margin: 0 auto;
    padding: 100px 10%;	/*上下、左右へのブロック内の余白*/
    max-width: 1000px;	/*最大幅。これ以上広がらない。*/
}
/*見出し(h2)タグ*/
#contents h2 {
    margin-bottom: 20px;
    font-size: 40px;	/*文字サイズ*/
    border-bottom: 1px solid #fff;	/*枠線の幅、線種、色*/
    text-align: center;		/*文字をセンタリング*/
    letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる設定*/
}
/*見出し(h2)タグ内のspanタグ。小文字の設定。*/
#contents h2 span {
    margin-bottom: 10px;
    display: block;
    font-size: 13px;		/*文字サイズ*/
    letter-spacing: 0.5em;	/*文字間隔を少しだけ広くとる設定*/
    margin-top: -10px;		/*大きな文字との余白が広すぎるので、ちょっと詰める。*/
}
/*見出し(h3)タグ*/
#contents h3 {
    margin-bottom: 20px;
    font-size: 20px;	/*文字サイズ*/
    background: url(../images/arrow1.png) no-repeat left center / 18px;	/*背景画像の読み込み。18pxは画像の幅。*/
    padding: 0 30px;	/*上下、左右への余白*/
}
/*段落(p)タグ*/
#contents p {
    padding: 0 30px 20px;	/*上、左右、下への余白*/
}
/*他。微調整。*/
#contents p + p {
    margin-top: -5px;
}
#contents h2 + p,
#contents h3 + p {
    margin-top: -10px;
}
#contents section + section {
    clear: both;
    padding-top: 40px;
}

/*listブロック（works.htmlで使用）
---------------------------------------------------------------------------*/
/*各ボックスの指定*/
.list {
    position: relative;
    float: left;	/*左に回り込み*/
    width: 30%;			/*幅*/
    margin-left: 2.5%;	/*左に空けるスペース*/
    margin-bottom: 20px;	/*下に空けるスペース*/
    background: #000;	/*背景色*/
}
.list a {
    display: block;
    text-decoration: none;
}
/*マウスオン時*/
.list a:hover {
    color: #fff;	/*文字色*/
}
/*リンクを指定した際に右上に出る「→」*/
.list a::after {
    content: "→";	/*この文字を出力します。変更してもかまいませんが機種依存文字は使わないで下さい。*/
    position: absolute;
    right: 10px;	/*右からの配置場所指定*/
    top: 10px;		/*上からの配置場所指定*/
    font-size: 12px;	/*文字サイズ*/
    line-height: 30px;	/*行間。下のwidthと揃えて下さい。*/
    width: 30px;		/*幅。上のline-heightと揃えて下さい。*/
    border-radius: 50%;	/*角丸の指定。円形になります。*/
    background: #ccc;	/*背景色*/
    color: #000;		/*文字色*/
    text-align: center;
}
/*figure画像*/
.list a figure {
    opacity: 0.6;	/*リンクを指定した際は60%だけ色を出す。*/
}
/*マウスオン時のfigure画像*/
.list a:hover figure {
    opacity: 1;		/*リンクを指定した際のマウスオン時に色を100%出す。*/
}
/*h4タグ*/
.list h4 {
    position: absolute;
    bottom: 0px;	/*下からの配置場所指定。*/
    left: 0px;		/*左からの配置場所指定。*/
    width: 100%;
    background: #000;	/*背景色（古いブラウザ用）*/
    background: rgba(0,0,0,0.5);	/*背景色。0,0,0は黒の事で0.5は色が50%出た状態。*/
    text-align: center;	/*内容をセンタリング*/
    padding: 10px 0;	/*上下、左右への余白*/
}

.gazour20{
    margin-right: 20px;
    background: #0087ce;
}


/*footerブロック
---------------------------------------------------------------------------*/
/*footerブロック*/
footer {
    clear: both;
    text-align: center;
}
footer a {text-decoration: none;}
footer .pr {display: block;}

/*news.html
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/
#new dl {
    padding: 0px 30px;		/*上下、左右へのブロック内の余白*/
}
/*日付設定*/
#new dt {
    float: left;	/*左に回り込み*/
    width: 16em;	/*dtの幅*/
    letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる設定*/
}
/*日付の右側に出る「お知らせ」などのアイコン。※共通設定。*/
#new dt span {
    letter-spacing: normal;display: inline-block;
    line-height: 1.5;
    margin-left: 1.2em;
    background: #666;	/*背景色*/
    color: #fff;		/*文字色*/
    width: 7em;			/*幅*/
    text-align: center;	/*文字をセンタリング*/
    border-radius: 3px;	/*角丸の指定。この１行を削除すれば、角がとがった通常の四角形になります。*/
}
/*日付の右側に出る「お知らせ」などのアイコン。※bg1*/
#new dt .bg1 {
    background: #e6004c;
}
/*日付の右側に出る「お知らせ」などのアイコン。※bg2*/
#new dt .bg2 {
    background: #0098e6;
}
/*記事設定*/
#new dd {
    padding-left: 17em;	/*左側に空ける余白*/
    border-bottom: 1px solid #333;	/*下線の幅、線種、色*/
}

/*テーブル
---------------------------------------------------------------------------*/
/*テーブルの見出し（※caption）*/
.ta1 caption {
    border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
    border-bottom: none;	/*下線だけ消す*/
    text-align: left;		/*文字を左寄せ*/
    font-weight: bold;		/*太字に*/
    padding: 10px;			/*ボックス内の余白*/
}
/*テーブルの見出し（※tamidashi）*/
.ta1 th.tamidashi {
    width: auto;
    text-align: left;	/*左よせ*/
}
/*ta1設定*/
.ta1 {
    table-layout: fixed;
    width: 100%;
    margin: 0 auto 30px;
}
.ta1, .ta1 td, .ta1 th {
    word-break: break-all;
    border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
    padding: 10px;	/*ボックス内の余白*/
}
/*ta1の左側ボックス*/
.ta1 th {
    width: 140px;		/*幅*/
    text-align: center;	/*センタリング*/
}

/*フォーム関連
---------------------------------------------------------------------------*/
/*ボタン（btn）*/
input[type="submit"].btn,
input[type="button"].btn,
input[type="reset"].btn {
    outline: none;
    border: 1px solid #ccc;	/*枠線の幅、線種、色*/
    padding: 5px 20px;		/*上下、左右へのボックス内の余白*/
    border-radius: 3px;		/*角丸のサイズ*/
    background: #111;	/*背景色（古いブラウザ用）*/
    background: linear-gradient(#222, #000);/*背景グラデーション*/
    color: #ccc;	/*文字色*/
}
/*マウスオン時のボタン（btn）設定*/
input[type="submit"].btn:hover,
input[type="button"].btn:hover,
input[type="reset"].btn:hover {
    background: #000;	/*背景色*/
    color: #fff;		/*文字色*/
}

/*checkブロック。赤い注意書きブロックです。
---------------------------------------------------------------------------*/
p.check {
    background: #e8da00;
    color:#000;
    padding: 10px 25px !important;
    margin-bottom: 20px;
}
p.check a {color: #000;}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
@keyframes scroll {
    0% {opacity: 0;}
    100% {opacity: 1;}
}
/*通常時のボタンは非表示*/
body .nav-fix-pos-pagetop a {
    display: none;
}
/*fixmenu_pagetop.jsで設定している設定値になったら出現するボタンスタイル*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
    display: block;text-decoration: none;text-align: center;/*z-index: 100;*/position: fixed;animation-name: scroll;animation-duration: 1s;animation-fill-mode: forwards;
    width: 40px;		/*ボタンの幅*/
    line-height: 40px;	/*ボタンの高さ*/
    bottom: 20px;		/*ウィンドウの下から20pxの場所に配置*/
    right: 3%;			/*ウィンドウの右から3%の場所に配置*/
    background: #555;	/*背景色*/
    border-radius: 50%;	/*円形にする指定。この１行を削除すれば正方形になります。*/
}
/*マウスオン時の背景色*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
    background: #999;
}

/*NEWアイコン
---------------------------------------------------------------------------*/
.newicon {
    background: #F00;	/*背景色*/
    color: #FFF;		/*文字色*/
    font-size: 70%;		/*文字サイズ*/
    line-height: 1.5;
    padding: 2px 5px;
    border-radius: 2px;
    margin: 0px 5px;
    vertical-align: text-top;
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
    list-style: disc;
    padding: 0 20px 20px 45px;
}
ol {
    padding: 0 20px 20px 45px;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #222;padding: 5px 10px;border-radius: 4px;border: 1px solid #333;color: #fff;}
.mb15,.mb1em {margin-bottom: 15px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb50 {margin-bottom: 50px !important;}
.clear {clear: both;}
.color1, .color1 a {color: #ffcc00 !important;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
.fl {float: left;}
.fr {float: right;}
.big1 {font-size: 40px;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.dn {display: none;}
.sh {display: none;}




/*list-square（portfolioのlightboxで使っています）
---------------------------------------------------------------------------*/
/*listブロックを囲む外側のボックス*/
.list-square {
    display: flex;		/*flexボックスを使う指定*/
    flex-wrap: wrap;	/*折り返す指定*/
}

/*ボックス１個あたりの設定*/
.list-square .list {
    position: relative;
    overflow: hidden;
    height: 0;				/*正方形にトリミングする為の指定なので変更しないで下さい*/
    width: 23%;				/*幅*/
    padding-top: 23%;		/*正方形にトリミングする為の指定です。上のwidthの数値と合わせておけばOK。*/
    border-radius: 10px;	/*角を丸くする指定。通常の四角形がよければこの１行削除。*/
    margin: 1%;				/*ボックス同士に空けるスペース*/
    box-shadow: 2px 2px 3px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅。0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*以下も画像を正方形にトリミングする為の指定なので変更しない。*/
.list-square .list a {
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
}
.list-square .list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: 0.5s;	/*マウスオン時にかける時間。0.5秒。*/
}

/*マウスオン時の画像*/
.list-square .list img:hover {
    transform: scale(1.1);	/*1.1倍に拡大*/
    filter: contrast(1.3);	/*コントラストを1.3倍*/
}




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

    /*header
    ---------------------------------------------------------------------------*/
    /*headerブロック*/
    header {
        position: absolute;
        text-align: center;
        border-bottom: 1px solid #fff;	/*下の線の幅、線種、色（古いブラウザ用）*/
        border-bottom: 1px solid rgba(255,255,255,1.0);	/*下の線の幅、線種、色。255,255,255は白の事で0.3は色が30%出た状態の事。*/
    }
    /*ロゴ画像*/
    header #logo {
        float: none;
        margin: 0 auto 10px;
    }
    /*トップページで表示させている「お知らせ」の１行。*/
    header #news {
        float: none;
    }
    h2{
        margin-top: 30px;
    }




    /*メインメニュー
    ---------------------------------------------------------------------------*/
    /*アニメーションのフレーム設定。全100コマアニメーションだと思って下さい。
    透明(opacity: 0;)から色をつける(opacity: 1;)までの指定。*/
    @keyframes menubar {
        0% {opacity: 0;}
        100% {opacity: 1;}
    }
    /*スマホ用メニューブロック*/
    #menubar-s {
        display: block;overflow: hidden;
        position: fixed;
        z-index: 3;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background: rgba(0,135,260,1.0);	/*背景色*/
        animation-name: menubar;		/*上のkeyframesの名前*/
        animation-duration: 0.5s;		/*アニメーションの実行時間。0.5秒。*/
        animation-fill-mode: both;		/*待機中は最初のキーフレームを、完了後は最後のキーフレームを維持*/
        border-top: 1px solid #fff;		/*上の線の幅、線種、色*/
    }
    /*メニュー１個あたりの設定*/
    #menubar-s li a {
        display: block;text-decoration: none;
        padding: 10px 3%;	/*メニュー内の余白。上下、左右。*/
        border-bottom: 1px solid #fff;	/*下の線の幅、線種、色*/
        color: #fff;		/*文字色*/
        font-size: 16px;	/*文字サイズ*/
    }
    /*説明表記（飾り文字）*/
    #menubar-s li a span {
        display: block;
        font-size: 10px;/*文字サイズ*/
    }
    /*PC用メニューを非表示にする*/
    #menubar {display: none;}

    /*３本バーアイコン設定
    ---------------------------------------------------------------------------*/
    /*３本バーブロック*/
    #menubar_hdr {
        display: block;
        position: fixed;z-index: 50;
        top: 18px;		/*上からの配置場所*/
        right: 10px;	/*右からの配置場所*/
    }
    /*アイコン共通設定*/
    #menubar_hdr.close,
    #menubar_hdr.open {
        width: 50px;	/*幅*/
        height: 50px;	/*高さ*/
        border-radius: 50%;
        border: 1px solid #fff;
    }
    /*三本バーアイコン*/
    #menubar_hdr.close {
        background: rgba(0,0,0,0.5) url(../images/icon_menu.png) no-repeat center top/50px;	/*背景色、背景画像の読み込み、画像の上半分（３本マーク）を表示。幅は50px。*/
    }
    /*閉じるアイコン*/
    #menubar_hdr.open {
        background: #000 url(../images/icon_menu.png) no-repeat center bottom/50px;	/*背景色、背景画像の読み込み、画像の下半分（×マーク）を表示。幅は50px。*/
    }

    /*headerアイコン（facebookやtwitterなどのアイコンブロック）
    ---------------------------------------------------------------------------*/
    /*アイコンを囲むブロック全体の設定*/
    header .icon {
        float: none;
        margin-right: 0;
    }

    /*contents（headerとfooter以外のメインとなるブロック。）
    ---------------------------------------------------------------------------*/
    /*contentsブロック*/
    #contents {
        padding: 100px 3% 50px;	/*上下、左右へのブロック内の余白*/
    }

    /*news.html
    ---------------------------------------------------------------------------*/
    /*日付設定*/
    #new dt {
        float: none;
    }
    /*記事設定*/
    #new dd {
        padding-left: 0;
    }

    /*その他
    ---------------------------------------------------------------------------*/
    body.s-n #sub,body.s-n #footermenu,.m-n {display: none;}
    .big1 {font-size: 28px;}
    .sh {display:block;}
    .pc {display:none;}

}



/*画面を横向きにした場合の高さが500px以下の場合の設定。
------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (orientation: landscape) and (max-height:500px){

    /*メインメニュー。小さな端末用メニューを２列に。
    ---------------------------------------------------------------------------*/
    /*メニュー１個あたりの設定*/
    #menubar-s li a {
        float: left;
        width: 44%;
    }

}



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

    /*全体の設定
    ---------------------------------------------------------------------------*/
    body {
        font-size: 12px;
        font-size: 2.93vw;
    }


    header {

        border-bottom: 1px solid #fff;	/*下の線の幅、線種、色（古いブラウザ用）*/
        border-bottom: 1px solid rgba(255,255,255,0.8);	/*下の線の幅、線種、色。255,255,255は白の事で0.3は色が30%出た状態の事。*/
    }



    /*ロゴ画像*/
    header #logo {
        width: 200px;	/*幅*/
        float: left;	/*左に回り込み*/
        margin-top: 10px;
        margin-left: 10px;	/*左側に空けるスペース*/
        margin-right: 0px;	/*右側に空けるスペース*/
    }

    /*アイコンを囲むブロック全体の設定*/
    header .icon {
        float: left;		/*右側に回り込み*/
        margin-left: 10px;	/*右側に空けるスペース*/
        margin-top: 20px;
    }

    /*contents（headerとfooter以外のメインとなるブロック。）
    ---------------------------------------------------------------------------*/
    /*見出し(h2)タグ*/
    #contents h2 {
        font-size: 22px;	/*文字サイズ*/
        letter-spacing: normal;
    }
    /*見出し(h2)タグ内のspanタグ。小文字の設定。*/
    #contents h2 span {
        font-size: 11px;
        letter-spacing: 0.2em;
    }
    /*見出し(h3)タグ*/
    #contents h3 {
        font-size: 18px;	/*文字サイズ*/
        background: url(../images/arrow1.png) no-repeat 8px center / 14px;
        padding: 0 10px 0 25px;	/*上、右、下、左への余白*/
    }
    /*段落(p)タグ*/
    #contents p {
        padding: 0 10px 20px;	/*上、左右、下への余白*/
    }
    #contents section + section {
        padding-top: 20px;
    }

    /*listブロック（works.htmlで使用）
    ---------------------------------------------------------------------------*/
    /*リンクを指定した際に右上に出る「→」*/
    .list a::after {
        right: 2px;			/*右からの配置場所指定*/
        top: 2px;			/*上からの配置場所指定*/
        line-height: 20px;	/*行間。下のwidthと揃えて下さい。*/
        width: 20px;		/*幅。上のline-heightと揃えて下さい。*/
    }
    /*h4タグ*/
    .list h4 {
        padding: 0;
    }

    /*テーブル（ta1）
    ---------------------------------------------------------------------------*/
    /*テーブル１行目の見出し（※caption）*/
    .ta1 caption {
        padding: 5px;	/*ボックス内の余白*/
    }
    /*ta1設定*/
    .ta1, .ta1 td, .ta1 th {
        padding: 5px;	/*ボックス内の余白*/
    }
    /*ta1の左側ボックス*/
    .ta1 th {
        width: 100px;
    }

    /*ul.disc,olタグ
    ---------------------------------------------------------------------------*/
    ul.disc {
        list-style: disc;
        padding: 0 10px 20px 30px;
    }
    ol {
        padding: 0 10px 20px 30px;
    }

    /*その他
    ---------------------------------------------------------------------------*/
    .ws,.wl {width: 94%;}
    .big1 {font-size: 20px;}

    .gazour20{
        margin-right: 20px;
        background: #0087ce;
        clear: both;
        width:95%;

    }

    h2{
        margin-top: 0px;
    }

}