@charset "utf-8";
:root{
  --c-primary:#70feff;
  --c-primary-dark:#1ba7aa;
  --c-primary-light:#c8ffff;
}




/*リセットCSS（sanitize.css）の読み込み
---------------------------------------------------------------------------*/
@import url("https://unpkg.com/sanitize.css");

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css");

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&display=swap');

/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("animation.css");
@import url("inview.css");





/*全体の設定
---------------------------------------------------------------------------*/
html,body {
    margin: 0;padding: 0;
    height: 100%;
    font-size: 13px;    /*基準となるフォントサイズ。下の方にある「画面幅900px以上」で基準を大きなサイズに再設定しています。*/
}

body {
    font-family: 'BIZ UDPGothic', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;    /*フォント種類*/
    -webkit-text-size-adjust: none;
    background: #fff;    /*背景色*/
    color: #666;        /*全体の文字色*/
    line-height: 2;        /*行間*/
    overflow-x: hidden;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav {margin: 0;padding: 0;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*ul,olタグ*/
ul, ol {margin-bottom: 30px;}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
    color: #666;    /*文字色*/
    transition: 0.3s;
}

a:hover {
    opacity: 0.8;    /*マウスオン時に80%の透明度にする*/
}


/*sectionタグと、詳細ページの共通設定
---------------------------------------------------------------------------*/
section,
main > article {
    padding: 3% 5%;        /*上下、左右へのボックス内の余白*/
}


/*containerブロック
---------------------------------------------------------------------------*/
#container {
    height: 100%;
    max-width: 1920px;                /*サイトの最大幅*/
    margin: 0 auto;
    display: flex;                    /*flexボックスを使う指定*/
    flex-direction: column;            /*子要素を縦並びにする*/
    justify-content: space-between;    /*並びかたの種類の指定*/
}


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
    background: var(--c-primary-dark);    /*背景色*/
    color: #fff;            /*文字色*/
    position: relative;
}

/*ヘッダーのリンクテキストの文字色*/
header a {
    color: #fff;
}

/*ロゴ画像*/
header #logo img {display: block;}
header #logo {
    /* width: 1500px;        幅 */
    width: 50%;
    margin: 0 auto;        /*ロゴを左右中央に配置*/
}

/*トップページのロゴ画像*/
.home header #logo {
    position: absolute; z-index: 1;
    width: 75%;        /*ロゴの幅*/
    right: -45%;        /*headerに対して、右からの配置場所*/
    /* top: -200px;        headerに対して、上からの配置場所 */
    top: -40%;        /*headerに対して、上からの配置場所*/
}

/*トップページのロゴ下に書いている説明文*/
header #logo p {
    font-size: 0.8em;
}


/*menubarブロック初期設定
---------------------------------------------------------------------------*/
#menubar ul {list-style: none;margin: 0;padding: 0;}

/*メニューを非表示にしておく*/
#menubar {display: none;}

/*開閉用のスタイル*/
#menubar.db {display: block;}
#menubar.dn {display: none;}

/*メニュー１個あたりの設定*/
#menubar a {
    display: block;text-decoration: none;
    text-align: center;    /*テキストを中央に*/
    padding: 14px 0;    /*上下、左右へのメニュー内の余白*/
}

/*マウスオン時*/
#menubar ul li a:hover {
    opacity: 1;
    background: var(--c-primary);    /*背景色*/
    color: #fff;            /*文字色*/
}


/*大きな端末用のメニュー設定
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
.p #menubar a {
    background: var(--c-primary-dark);    /*背景色*/
    color: #fff;
}


/*小さな端末用の設定（開閉ブロック）
---------------------------------------------------------------------------*/
/*メニューブロック設定*/
.s #menubar.db {
    position: fixed;overflow: auto;z-index: 100;
    left: 0px;top: 0px;
    width: 100%;
    height: 100%;
    padding: 70px 0;    /*上下、左右へのブロック内の余白*/
    background: rgba(0,0,0,0.9);        /*背景色。0,0,0は黒の事で0.9は色が90%出た状態の事。*/
    color: #fff;                        /*文字色*/
    animation: animation1 0.2s both;    /*animation.cssの、animation1を実行する。0.2sは0.2秒の事。*/
    text-align: center;
}

/*メニュー１個あたりの設定*/
.s #menubar.db a {
    display: block;text-decoration: none;
    text-align: center;        /*テキストを中央に*/
    color: #fff;    /*文字色*/
    padding: 20px;    /*メニュー内の余白*/
}


/*ドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンを非表示にしておく*/
#menubar .ddmenu_parent ul {
    display: none;
}

/*ドロップダウンメニューの親のリンク先が空なので、カーソルをデフォルトにしておく。*/
a.ddmenu {
    cursor: default;
}

/*ドロップダウンメニューを持つ親に矢印アイコンをつける設定*/
a.ddmenu::before {
    font-family: "Font Awesome 5 Free";    /*Font Awesomeを使う指定*/
    content: "\f150";        /*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
    font-weight: bold;        /*この手の設定がないとアイコンが出ない場合があります*/
    margin-right: 0.5em;    /*アイコンとテキストとの間に空けるスペース*/
    opacity: 0.6;            /*アイコンの透明度。色を60%出した状態。*/
}

/*ドロップダウンメニュー全体の設定*/
.ddmenu_parent ul {
    border: 1px solid #ccc;    /*線の幅、線種、色*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*開閉用のスタイル*/
#menubar_hdr.db {display: flex;}
#menubar_hdr.dn {display: none;}

/*３本バーを囲むブロック*/
#menubar_hdr {
    position: fixed;z-index: 101;
    cursor: pointer;
    left: 0.5%;            /*左からの配置場所指定*/
    top: 2px;            /*上からの配置場所指定*/
    padding: 16px 14px;    /*上下、左右への余白*/
    width: 52px;        /*幅（３本バーが出ている場合の幅になります）*/
    height: 52px;        /*高さ*/
    display: flex;                    /*flexボックスを使う指定*/
    flex-direction: column;            /*子要素（３本バー）を縦並びにする*/
    justify-content: space-between;    /*並びかたの種類の指定*/
    transform: scale(1.2);            /*元々準備していたサイズの1.2倍にしました。お好みでサイズ調整して下さい。*/
}

/*バー１本あたりの設定*/
#menubar_hdr span {
    display: block;
    transition: 0.3s;    /*アニメーションにかける時間。0.3秒。*/
    border-top: 2px solid #fff;    /*線の幅、線種、色*/
    box-shadow: 1px 1px 2px #000;
}

/*×印が出ている状態の設定。※１本目および２本目のバーの共通設定。*/
#menubar_hdr.ham span:nth-of-type(1),
#menubar_hdr.ham span:nth-of-type(3) {
    transform-origin: center center;    /*変形の起点。センターに。*/
    width: 26px;                        /*バーの幅*/
}

/*×印が出ている状態の設定。※１本目のバー。*/
#menubar_hdr.ham span:nth-of-type(1){
    transform: rotate(45deg) translate(6px, 7px);    /*回転45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※３本目のバー。*/
#menubar_hdr.ham span:nth-of-type(3){
    transform: rotate(-45deg) translate(6px, -7px);    /*回転-45°と、X軸Y軸への移動距離の指定*/
}

/*×印が出ている状態の設定。※２本目のバー。*/
#menubar_hdr.ham span:nth-of-type(2){
    display: none;    /*２本目は使わないので非表示にする*/
}


/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {    
    flex: 1;
}

/*mainブロック内のh2タグ*/
main h2 {
    margin: 0;
    margin-bottom: 1em;    /*下に空けるスペース*/
    position: relative;        /*アニメーションに必要な設定*/
    letter-spacing: 0.1em;    /*文字間隔を少しだけ広くとる設定*/
    border-bottom: 3px solid #f5f5f5;    /*デフォルトのラインの色。下の「bottom」と「height」の３ヶ所の数字部分を合わせる*/
}

/*下線スタイル*/
main h2 .uline {
    display: inline-block;position: relative;
    padding: 10px 20px;    /*h2タグ内の余白。上下、左右への順番。*/
    bottom: -3px;        /*上の「border-bottom」と下の「height」の３ヶ所の数字部分を合わせる。※この行だけマイナスをつけるように。*/
}
main h2 .uline::before {
    content: "";position: absolute;bottom: 0px;left: 0px;width: 100%;
    height: 3px;    /*ラインの高さ。上の「border-bottom」と「bottom」の３ヶ所の数字部分を合わせる*/
    background: var(--c-primary-dark);        /*アニメーション時のラインの色*/
    transition: 1s 0.5s;        /*1sはアニメーションの実行時間は1秒。0.5秒遅れてスタートする指定。*/
    transform: scaleX(0);        /*幅。最初は0にして見えなくしておく。*/
    transform-origin: left top;    /*線の出現起点が左からになるように。中央からの出現がよければこの１行削除。*/
}
main h2.linestyle .uline::before {
    transform: scaleX(1);
}

/*mainブロック内のh3タグ*/
main h3 {
    padding: 0 20px;
    margin-bottom: 1em;    /*下に空けるスペース*/
    border-bottom: 1px solid #ddd;
}

/*mainブロックのpタグ*/
main p {
    margin: 0 20px 2em;    /*上、左右、下へ空けるスペース*/
}
main p + p {
    margin-top: -1em;
}


/*2カラムの場合
---------------------------------------------------------------------------*/
/*2カラム（.mainと.sub）を囲むブロック*/
.c2 {
    display: flex;            /*flexボックスを使う指定*/
    flex-direction: column;    /*子要素を縦並びにする*/
    padding: 5%;            /*ボックス内の余白*/
}

/*.mainのsectionのpaddingを一旦リセット*/
.main section {
    padding: 0;
}

/*１つ目以外のsectionの上部に空ける余白。section同士の上下間にとる余白です。*/
.main section:not(:nth-of-type(1)) {
    padding-top: 5%;
}

/*main（※頭にドット「.」のない「main」とは全く異なります。）*/
.main {
    order: 2;    /*表示させる順番。数字が小さい方が最初に表示されます。*/
}

/*sub*/
.sub {
    order: 1;    /*表示させる順番。数字が小さい方が最初に表示されます。*/
}

/*sub内のh3タグ*/
.sub h3 {
    font-weight: normal;
    font-size: 1em;
    margin: 0;
    border: none;
    background: var(--c-primary-dark);    /*背景色*/
    color: #fff;            /*文字色*/
    text-align: center;        /*テキストをセンタリング*/
}


/*submenu（２カラム時にsubで使っているメニュー）
---------------------------------------------------------------------------*/
/*メニュー全体の設定*/
ul.submenu {
    list-style: none;
    padding: 0;margin: 0;
    margin-bottom: 20px;        /*メニューブロックの下に空けるスペース*/
    border-top: solid 1px #ccc;    /*上の線の幅、線種、色*/
}

/*メニュー１個あたりの設定*/
ul.submenu li {
    display: block;margin: 0;
    border-bottom: solid 1px #ccc;    /*下線の幅、線種、色*/
}
ul.submenu li a {
    text-decoration: none;display: block;
    padding: 5px 10px;    /*上下、左右へとる余白*/
}

/*マウスオンj時の背景色*/
ul.submenu li a:hover {
    background: #f0f0f0;
}


/*フッター設定
---------------------------------------------------------------------------*/
footer small {font-size: 100%;}

footer {
    font-size: 0.7rem;        /*文字サイズ*/
    text-align: center;        /*内容をセンタリング*/
    background: var(--c-primary-dark);    /*背景色*/
    color: #fff;            /*文字色*/
}

/*リンクテキスト*/
footer a {text-decoration: none;color: #fff;}

/*著作部分*/
.pr {display: block;}

/*copyrightと著作部分*/
.copy {padding: 1%;}


/*フッターメニュー
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#footermenu {
    margin: 0;
    padding: 1%;        /*ブロック内の余白*/
}

/*メニュー１個あたり*/
#footermenu li {
    display: inline-block;    /*横並びにする*/
    padding: 0 10px;        /*上下、左右への余白*/
    font-size: 1.2em;        /*文字サイズ*/
}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
#new {
    margin: 0;
    display: flex;        /*flexボックスを使う指定*/
    flex-wrap: wrap;    /*折り返す指定*/
    padding: 0 20px;    /*上下、左右へのボックス内の余白*/
}

/*日付(dt)、記事(dd)共通設定*/
#new dt,
#new dd {
    padding: 5px 0;        /*上下、左右へのボックス内の余白*/
}

/*日付(dt)設定*/
#new dt {
    width: 8em;    /*幅。8文字(em)分。※下の「900px以上」の端末用の設定に再設定があります。*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
    display: none;    /*小さな端末では非表示にしておく。*/
}

/*記事(dd)設定*/
#new dd {
    width: calc(100% - 8em);    /*「8em」は上の「#new dt」のwidthの値です。※下の「900px以上」の端末用の設定に再設定があります。*/
}


/*listブロック
---------------------------------------------------------------------------*/
.list {
    margin-bottom: 30px;    /*ボックス同士の上下間に空けるスペース*/
    padding: 20px;            /*ボックス内の余白*/
    background: #fff;        /*背景色*/
    color: #999;            /*文字色*/
    box-shadow: 5px 5px 20px rgba(0,0,0,0.1);    /*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
    position: relative;
}

/*ボックス内のh4タグ*/
.list h4 {
    margin: 0;
    color: #666;    /*文字色*/
}
.list h4 a {
    color: #666;    /*リンクテキストの文字色*/
}

/*ボックス内のpタグ*/
.list p {
    margin: 0;
    font-size: 0.8em;    /*文字サイズを80%に*/
}

/*list内のNEWマーク*/
.list .new {
    font-size: 0.6em;        /*文字サイズ*/
    background: #ff0000;    /*背景色*/
    color: #fff;            /*文字色*/
    width: 50px;            /*幅*/
    line-height: 50px;        /*高さ*/
    border-radius: 50%;        /*角丸のサイズ。円形になります。*/
    text-align: center;        /*テキストをセンタリング*/
    position: absolute;
    left: -10px;            /*listブロックに対して左からの配置場所の指定*/
    top: -10px;                /*listブロックに対して上からの配置場所の指定*/
    transform: rotate(-30deg);    /*回転。まっすぐ表示させたいならこの１行を削除。*/
}

/*list内でのbtn*/
.list .btn {
    margin-top: 1em;    /*ボタンの上に１文字分のスペースを空ける*/
}
.list .btn a {
    display: block;
}


/*FAQ
---------------------------------------------------------------------------*/
/*FAQボックス全体*/
.faq {
    padding: 0 5px;    /*上下、左右へのボックス内の余白*/
}

/*質問*/
.faq dt {
    border-radius: 3px;        /*枠を角丸にする指定*/
    margin-bottom: 20px;    /*下に空けるスペース*/
    background: linear-gradient(#fff, #f7f7f7);    /*背景グラデーション*/
    text-indent: -2em;                /*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
    padding: 5px 1em 5px 3em;        /*ボックス内の余白。ここを変更する場合、上のtext-indentも調整します。*/
    border: 1px solid #e4e2d7;        /*枠線の幅、線種、色*/
}

/*アイコン（Font Awesome）*/
.faq dt::before {
    font-family: "Font Awesome 5 Free";    /*Font Awesomeを使う指定*/
    content: "\f059";        /*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
    color: var(--c-primary-dark);            /*アイコンの色*/
    padding-right: 1em;        /*アイコンとテキストの間の余白*/
}

/*回答*/
.faq dd {
    padding: 5px 1em 30px 3em;        /*ボックス内の余白**/
}

/*opencloseを適用した要素のカーソル*/
.openclose {
    cursor: pointer;    /*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}

.faq dt span {text-indent: 0;}


/*btnの設定
---------------------------------------------------------------------------*/
p.btn {margin: 0;}

/*ボタンを囲むブロック*/
.btn {
    text-align: center;    /*内容をセンタリング*/
}

/*ボタン*/
.btn a,
.btn input {
    display: inline-block;text-decoration: none;border: none;
    font-size: 1em;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);    /*ボックスの影。右へ、下へ、ぼかし幅の順。0,0,0は黒の事で0.2は色が20%出た状態。*/
    background: var(--c-primary-dark);    /*背景色*/
    letter-spacing: 0.1em;    /*文字間隔を少し広くする指定*/
    color: #fff;            /*文字色*/
    transition: 0.3s;        /*hoverまでにかける時間。0.3秒。*/
    padding: 1em 2em;        /*余白*/
    margin: 0 auto 30px;    /*ボタンの外側に空けるスペース。上、左右、下への順番。*/
}

/*ボタンのマウスオン時*/
.btn a:hover,
.btn input:hover {
    cursor: pointer;        /*inputタグを使う場合に「手」のマークになるように。リンクと同じ表示になるようにという事です。*/
    opacity: 1;
    filter: brightness(1.2);
    transform: scale(1.02);    /*実寸の102%に拡大*/
}

/*listブロック内のボタン*/
.list .btn a {
    margin: 0;
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
    font-weight: bold;        /*太字に*/
    padding: 10px 5px;        /*上下、左右へのボックス内の余白。基本的に数行下の「.ta1 th, .ta1 td」のpaddingと揃えておけばOKです。*/
    background: #eee;        /*背景色*/
    margin-bottom: 15px;    /*下に空けるスペース*/
}

/*ta1テーブルブロック設定*/
.ta1 {
    border-top: 1px solid #ccc;    /*テーブルの一番上の線。幅、線種、色*/
    width: 100%;
    margin: 0 auto 30px;        /*最後の「30px」がテーブルの下に空けるスペースです*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
    border-bottom: 1px solid #ccc;    /*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
    padding: 10px 5px;        /*上下、左右へのボックス内の余白*。基本的に数行上の「.ta1 caption」のpaddingと揃えておけばOKです。*/
    word-break: break-all;    /*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
    width: 30%;            /*幅*/
    text-align: left;    /*左よせにする*/
}


/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
    display: block;text-decoration: none;text-align: center;z-index: 99;
    position: fixed;    /*スクロールに追従しない(固定で表示)為の設定*/
    right: 20px;        /*右からの配置場所指定*/
    bottom: 20px;        /*下からの配置場所指定*/
    color: #fff;        /*文字色*/
    font-size: 1.5em;    /*文字サイズ*/
    background: rgba(0,0,0,0.2);    /*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
    width: 60px;        /*幅*/
    line-height: 60px;    /*高さ*/
    border-radius: 50%;    /*円形にする*/
}


/*bg1（背景に色がついたタイプ）
---------------------------------------------------------------------------*/
.bg1 {
    background: var(--c-primary-dark);    /*背景色*/
    color: #fff;        /*文字色*/
}
.bg1 a {
    color: #fff;        /*リンクテキストの文字色*/
}


/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-theme, .color-theme a {color: var(--c-primary-dark) !important;}
.color-check, .color-check a {color: #f00 !important;}
.c {text-align: center !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb30 {margin-bottom: 30px !important;}
.mt30 {margin-top: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: #666; color: #fff; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.look .color-check {color: #ffcc00 !important;}
.small {font-size: 0.6em;}
.pc {display: none;}





/*---------------------------------------------------------------------------
ここから下は画面幅400px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:400px) {

/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*トップページのロゴ画像*/
.home header #logo {
    padding-top: 5%;    /*上に空ける余白。上下間のバランスをとって下さい。*/
    width: 50%;    
    right: 0%;        /*headerに対して、右からの配置場所*/
    top: -30px;        /*headerに対して、上からの配置場所*/
}

/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}





/*---------------------------------------------------------------------------
ここから下は画面幅600px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:600px) {


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*トップページのロゴ画像*/
.home header #logo {
    width: 40%;            /*ロゴの幅*/
    padding-top: 10%;    /*上に空ける余白。上下間のバランスをとって下さい。*/
    right: 0%;        /*headerに対して、右からの配置場所*/
    top: -60px;        /*headerに対して、上からの配置場所*/
}


/*listブロック
---------------------------------------------------------------------------*/
.list {
    display: flex;                    /*flexボックスを使う指定*/
    justify-content: space-between;    /*並びかたの種類の指定*/
}

/*ボックス内のfigure画像*/
.list figure {
    width: 30%;            /*幅*/
    margin-right: 5%;    /*画像の右側に空けるスペース*/
}

/*ボックス内のtextブロック*/
.list .text {
    flex: 1;
    margin-right: 5%;
}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}





/*---------------------------------------------------------------------------
ここから下は画面幅800px以上の追加指定
---------------------------------------------------------------------------*/
@media screen and (min-width:800px) {


/*全体の設定
---------------------------------------------------------------------------*/
html, body {
    font-size: 15px;    /*基準となるフォントサイズの上書き*/
}


/*header（ロゴなどが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*トップページのロゴ画像*/
.home header #logo {
    left: 10%;            /*headerに対して、左からの配置場所*/
    padding-top: 13%;    /*上に空ける余白。上下間のバランスをとって下さい。*/
    right: -45%;        /*headerに対して、右からの配置場所*/
    top: -40%;        /*headerに対して、上からの配置場所*/

}


/*menubarブロック設定
---------------------------------------------------------------------------*/
/*メニューブロック全体*/
#menubar ul {
    margin: 0;
    display: flex;
    justify-content: space-around;
    line-height: 1.6;    /*行間を少しだけ狭くする*/
}

/*メニュー１個あたりの設定*/
#menubar ul li {
    flex: 1;
}


/*ドロップダウンメニュー
---------------------------------------------------------------------------*/
#menubar .ddmenu_parent{
    position: relative;    /*ddmenu ulの幅となる基準を作っておく*/
}

/*ドロップダウンメニューブロック全体*/
#menubar .ddmenu_parent ul {
    position: absolute;            /*絶対配置するための指定*/
    z-index: 100;
    width: 100%;                /*親のliタグに幅を合わせる*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*ハンバーガーメニューを非表示にする*/
#menubar_hdr {display: none;}


/*2カラムの場合
---------------------------------------------------------------------------*/
/*2カラム（.mainと.sub）を囲むブロック*/
.c2 {
    flex-direction: row;            /*子要素を横並びにする*/
    justify-content: space-between;    /*並びかたの種類の指定*/
}

/*main（※頭にドット「.」のない「main」とは全く異なります。）*/
.main {
    width: calc(100% - 250px);    /*幅。250pxというのは、下のsubのwidthの値に余白分を加えた数字です。ちょうど200pxにしてしまうとキツキツになるので。*/
}

/*sub*/
.sub {
    width: 200px;    /*幅。変更する際は上の.mainのwidthも調整して下さい。*/
}


/*「お知らせ」ブロック
---------------------------------------------------------------------------*/
/*日付(dt)設定*/
#new dt {
    width: 14em;    /*幅。14文字(em)分。*/
    display: flex;    /*flexボックスを使う指定*/
    justify-content: space-between;    /*日付とアイコンをそれぞれ端に寄せる*/
}

/*日付の横のマーク（共通設定）*/
#new dt span {
    display: inline-block;    /*表示させる*/
    width: 6em;                /*幅。6文字(em)分。*/
    background: #999;        /*背景色*/
    color: #fff;            /*文字色*/
    font-size: 0.8em;        /*文字サイズを80%に。*/
    text-align: center;        /*文字をセンタリング*/
    margin-right: 1em;        /*アイコンの右側に空けるスペース*/
    align-self: flex-start;    /*高さを間延びさせない指定*/
    line-height: 1.8;        /*行間を少し狭く*/
    position: relative;top: 0.4em;    /*上下の配置バランスの微調整*/
}

/*bg1設定。サンプルテンプレートでは「サービス」と書いてあるマーク*/
#new dt span.icon-bg1 {
    background: var(--c-primary-dark);    /*背景色*/
}

/*記事(dd)設定*/
#new dd {
    width: calc(100% - 14em);    /*「14em」は上の「#new dt」のwidthの値です。*/
}


/*listブロック
---------------------------------------------------------------------------*/
/*listブロック全体を囲むブロック*/
.list-container {
    display: flex;        /*flexボックスを使う指定*/
    flex-wrap: wrap;    /*折り返す指定*/
    /*justify-content: space-between;    並びかたの種類の指定*/
}

/*１個あたりのボックス設定*/
.list {
    flex-direction: column;            /*子要素を縦並びにする*/
    width: 32%;            /*幅。３列になります。*/
    margin-right: 2%;    /*右側へのマージン*/
}

/*３の倍数のボックスへの追加設定*/
.list:nth-of-type(3n) {
    margin-right: 0;    /*右側マージンをなくす*/
}

/*ボックス内のfigure画像*/
.list figure {
    width: 100%;
    margin-right: 0;
}

/*ボックス内のtextブロック*/
.list .text {
    margin-right: 0;
}

/*ボックス内のh4タグ*/
.list h4 {
    margin: 10px 0;    /*上下、左右への余白*/
}


/*テーブル
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
    padding: 5px 15px;        /*上下、左右へのボックス内の余白*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
    padding: 20px 15px;        /*上下、左右へのボックス内の余白*/
}

/*th（左側）のみの設定*/
.ta1 th {
    width: 20%;        /*幅*/
}


/*その他
---------------------------------------------------------------------------*/
.ws {width: 48%;display: inline;}
.sh {display: none;}
.pc {display: block;}


/*　※注意！　下の閉じカッコ　}　はこのブロックに必要なので、削除しないで下さい。　*/

}