@charset "utf-8";

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

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

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

/*全体の設定
---------------------------------------------------------------------------*/
html,
body {
  margin: 0 auto;
  width: 99%;
  font-size: 16px; /*基準となるフォントサイズ。*/
  height: 100%;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  html,
  body {
    font-size: 14px; /*基準となるフォントサイズ。*/
    width: 92%;
  }
} /*画面幅900px以上の追加指定ここまで*/

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

/*リセット*/
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%;
}

/*他*/
input {
  font-size: 1rem;
}
section + section {
  margin-top: 3rem;
}

/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
  color: #555; /*文字色*/
  transition: 0.3s; /*hoverまでにかける時間。0.3秒。*/
}

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

/*container
---------------------------------------------------------------------------*/
#container {
  max-width: 1800px; /*サイトの最大幅。これ以上広がらない。*/
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
  padding: 20px 3%; /*上下、左右へのヘッダー内の余白*/
  background: #808e75; /*背景色*/
  color: #fff; /*文字色*/
}
header a {
  color: inherit;
}

/*ロゴ*/
#logo img {
  display: block;
}
#logo {
  max-width: 300px; /*ロゴの幅*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*ヘッダーブロック*/
  header {
    display: flex; /*flexボックスを使う指定*/
    justify-content: space-between; /*並びかたの種類の指定*/
    align-items: center; /*垂直揃えの指定。天地中央に配置されるように。*/
  }
} /*画面幅900px以上の追加指定ここまで*/

/*トップページのスライドショー（vegasを使用）
背景画像をレスポンシブにする為の設定ですが、画像比率を変更したい場合はテンプレート内マニュアルをご覧下さい。
---------------------------------------------------------------------------*/
#mainimg-box {
  width: 100%;
  height: 300px;
  padding-top: 56.25%;
  position: relative;
  z-index: -1;
}
#mainimg {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

/*メニューブロック設定
---------------------------------------------------------------------------*/
#menubar a {
  display: block;
  text-decoration: none;
}
#menubar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: "Font Awesome 5 Free";
}
#menubar.d-n,
#menubar_hdr.d-n,
#menubar .ddmenu_parent ul {
  display: none;
}
#menubar.d-b {
  display: block;
}
#menubar_hdr.d-b {
  display: flex;
}
#menubar {
  animation: opa1 0.3s 0.2s both; /*0.2秒の間だけ非表示にし、その後0.3秒かけてフェードイン表示*/
  position: relative;
  z-index: 1; /*スライドショーがある場合にドロップダウンが下に隠れないようにするため*/
  font-size: 18px; /*文字サイズ。端末サイズで文字サイズが変わると不具合が出る場合があるので、ここで統一しています。*/
}

/*ドロップダウンブロック設定
---------------------------------------------------------------------------*/
/*ドロップダウンメニューのリンクタグ*/
#menubar .ddmenu {
  cursor: default; /*リンク要素のカーソルを矢印に変更しておく*/
}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
  content: "\f078"; /*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
  font-weight: bold; /*この手の設定がないとアイコンが出ない場合があります*/
  margin-right: 300em; /*アイコンとテキストとの間に空けるスペース*/
}

/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
.p #menubar > nav > ul {
  display: flex; /*flexボックスを使う指定*/
  justify-content: space-between; /*並びかたの種類の指定*/
}

/*メニュー１個あたりの設定*/
.p #menubar li {
  text-align: center; /*テキストをセンタリング*/
  flex: 1; /*個々のメニューを均等にし、幅いっぱいまで使う設定*/
  position: relative; /*ドロップダウンの幅となる基準を作っておく*/
  background-color: #bb8000;
}
.p #menubar a {
  padding: 10px; /*メニュー内の余白*/
  background: #2e4e18; /*背景色*/
  color: #fff; /*文字色*/
}

/*現在表示中メニュー（current）*/
.p #menubar li.current > a {
  background: #bb8000; /*背景色*/
}

/*現在表示中メニューの下部にある「▼」*/
.p #menubar li.current::before {
  content: "▼"; /*この文字（▼マーク）を出力します*/
  font-size: 20px; /*サイズ*/
  color: #bb8000; /*色*/
  position: absolute; /*絶対配置する*/
  bottom: -1.2em; /*下からの配置場所の指定*/
  left: calc(50% - 0.5em); /*左からの配置場所の指定*/
  transform: scale(
    1.5,
    0.8
  ); /*大きさを少し横長にする。横に1.5倍、縦に0.8倍です。*/
}

/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.p #menubar ul ul {
  position: absolute;
  z-index: 100;
  width: 100%;
  border: 1px solid #ccc; /*枠線の幅、線種、色*/
}

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

/*メニュー１個あたりの設定*/
.s #menubar a {
  padding: 10px; /*メニュー内の余白*/
  color: #fff; /*文字色*/
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*大きな端末では非表示にしておく*/
.p #menubar_hdr {
  display: none;
}

/*３本バーを囲むブロック*/
.s #menubar_hdr {
  position: fixed;
  z-index: 101;
  cursor: pointer;
  right: 30px; /*右からの配置場所指定*/
  top: 30px; /*上からの配置場所指定*/
  padding: 16px 14px; /*上下、左右への余白*/
  width: 46px; /*幅（３本バーが出ている場合の幅になります）*/
  height: 46px; /*高さ*/
  display: flex; /*flexボックスを使う指定*/
  flex-direction: column; /*子要素（３本バー）を縦並びにする*/
  justify-content: space-between; /*並びかたの種類の指定*/
  background: rgba(33, 48, 38, 0.5); /*背景色*/
  border-radius: 50%; /*円形にする*/
}

/*画面幅400px以下の追加指定*/
@media screen and (max-width: 400px) {
  /*３本バーを囲むブロック*/
  .s #menubar_hdr {
    right: 10px; /*右からの配置場所指定*/
    top: 10px; /*上からの配置場所指定*/
  }
} /*画面幅400px以下の追加指定ここまで*/

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

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

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

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

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

/*mainブロック設定
---------------------------------------------------------------------------*/
/*mainブロックの設定*/
main {
  margin: 5px; /*ブロックの外側に空けるスペース*/
  font-size: 0.8em;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  main {
    margin: 50px; /*ブロックの外側に空けるスペース*/
    flex: 1;
  }

  /*2カラムで使う為の指定*/
  main.c2 {
    display: flex;
    justify-content: space-between;
  }

  /*2カラムの中にある.main要素（頭にドットがない「main」とは異なるので注意して下さい）*/
  main.c2 .main {
    width: calc(
      100% - 280px
    ); /*幅。ここの280pxの数字は下の.subの幅(230px)と、左右ブロックの間の余白(50px)を追加したものです。*/
    order: 1;
  }

  /*2カラムの中にある.sub要素*/
  main.c2 .sub {
    width: 230px; /*幅*/
  }
} /*画面幅900px以上の追加指定ここまで*/

/*mainブロック内のh2タグ*/
main h2 {
  font-size: 1.5rem; /*文字サイズ*/
  margin: 0 0 2rem; /*h2の外側にとるスペース。上、左右、下への順番。*/
  border-bottom: 3px solid #eee; /*下線の幅、線種、色。ベースカラーです。下のspanのborder-bottomと数字を合わせておく。*/
  letter-spacing: 0.1rem; /*文字間隔を少しだけ広くとる*/
}

/*mainブロック内のh2タグに下線を引くための指定。*/
main h2 span.uline {
  display: inline-block;
  border-bottom: 3px solid #bb8000; /*下線の幅、線種、色。アクセントカラーです。上のmain h2と数字を合わせておく。*/
  position: relative;
  bottom: -3px; /*下からの配置場所指定。上にある２つのborder-bottomと重ねる為の指定なので、数字を合わせてから冒頭にマイナスをつけて下さい。*/
  padding: 0 1rem; /*上下、左右への余白。テキストの両脇に少し余裕をもって線を引くためです。*/
}

/*h3タグ*/
main h3 {
  font-size: 1.2rem; /*文字サイズ*/
  margin: 0 1rem 0rem; /*h3の外側にとるスペース。上、左右、下への順番。*/
  letter-spacing: 0.1rem; /*文字間隔を少しだけ広くとる*/
}

/*h4タグ*/
main h4 {
  font-size: 1.3rem; /*文字サイズ*/
  margin: 0 1rem 1rem; /*h4の外側にとるスペース。上、左右、下への順番。*/
}

/*pタグ*/
main p {
  margin: 0 1rem 2rem; /*pの外側にとるスペース。上、左右、下への順番。*/
}

/*微調整*/
main p + p {
  margin-top: -1rem; /*段落が続いた場合に、少し上に詰める。*/
}

/*subブロック設定
---------------------------------------------------------------------------*/
/*ブロック内のh3タグ*/
.sub h3 {
  margin: 0;
  font-weight: normal;
  background: #417022; /*背景色*/
  color: #fff; /*文字色*/
  text-align: center;
  padding: 0.5em;
}
.sub h3 a {
  color: inherit;
}

/*サブメニュー設定
---------------------------------------------------------------------------*/
/*サブメニューブロック全体*/
.submenu {
  padding: 0;
  margin: 0 0 1rem; /*上、左右、下へのマージン*/
}

/*メニュー１個あたり*/
.submenu li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /*下線の幅、線種、色。0,0,0は黒の事で0.1は色が10%出た状態。*/
}
.submenu a {
  display: block;
  text-decoration: none;
  background: #fff; /*背景色*/
  padding: 0.2rem 1rem; /*上下、左右へのメニュー内の余白*/
}

/*アイコン（Font Awesome）*/
.submenu a::before {
  transition: 0.3s;
  font-family: "Font Awesome 5 Free"; /*Font Awesomeを使う指定*/
  content: "\f0da"; /*使いたいアイコン名をここで指定。Font Awesomeに記載されています。詳しくは当テンプレートのマニュアルを読んで下さい。*/
  color: #ababab; /*アイコンの色*/
  padding-right: 0.8em; /*アイコンとテキストの間の余白*/
  font-weight: bold; /*この設定がないとアイコンが出ない場合があります*/
}

/*マウスオン時のアイコン設定*/
.submenu a:hover::before {
  color: #417022; /*アイコンの色*/
}

/*box1設定（このテンプレートでは、2カラム時のsubブロックでのみ使用しています）
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
.box1 {
  background: rgba(
    0,
    0,
    0,
    0.05
  ); /*背景色。0,0,0は黒の事で0.05は色が5%出た状態。*/
  padding: 10px; /*ボックス内の余白*/
  border-radius: 5px; /*角を丸くする指定*/
  margin-bottom: 1rem; /*ボックスの下に空けるスペース*/
}

/*box1内で使った場合、下のマージンをなくす*/
.sub .box1 .submenu {
  margin-bottom: 0;
}

/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footermenu {
  background: #517936; /*背景色*/
  color: #fefefe; /*文字色*/
  font-size: 2rem; /*文字サイズ。*/
  padding: 10px; /*ボックス内の余白*/
  display: flex; /*flexボックスを使う指定*/
  justify-content: space-between; /*並びかたの種類の指定*/
  align-items: flex-start; /*垂直揃えの指定。上に配置されるように。*/
  text-align: right;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  #footermenu {
    padding: 20px 50px; /*ボックス内の余白*/
  }
} /*画面幅900px以上の追加指定ここまで*/

.tel10 {
  font-size: 2.5rem;
}

/*---画面400px 以下の設定*/
@media screen and (max-width: 400px) {
  .tel10 {
    font-size: 1.8rem;
  }
}

/*ボックス内のリンクテキスト設定*/
#footermenu a {
  text-decoration: none;
  color: #999; /*文字色*/
}

/*リンクテキストのマウスオン時*/
#footermenu a:hover {
  color: #ccc; /*文字色*/
}

/*ulタグ（メニューの列単位）*/
#footermenu ul {
  margin: 0;
  padding: 0 2px;
  flex: 1;
  list-style: none;
}

/*title*/
#footermenu .title {
  font-weight: bold; /*太字にする*/
  color: #fff; /*文字色*/
  padding-bottom: 5px; /*下に空けるスペース*/
  font-size: 2rem;
}

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

footer {
  font-size: 0.6rem; /*文字サイズ。remの単位についてはテンプレート内の解説をお読み下さい。*/
  background: #2a4022; /*背景色*/
  color: #fff; /*文字色*/
  text-align: center; /*内容をセンタリング*/
  padding: 20px; /*ボックス内の余白*/
}

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

/*リンクテキストのマウスオン時*/
footer a:hover {
  color: #fff;
}

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

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

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

/*日付(dt)設定*/
#new dt {
  width: 8rem; /*幅。8文字(rem)分*/
}

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

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

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*日付(dt)設定*/
  #new dt {
    width: 14rem; /*幅。14文字(rem)分。アイコン分も含んだ幅にします。*/
    display: flex; /*flexボックスを使う指定*/
    justify-content: space-between; /*日付とアイコンをそれぞれ端に寄せる*/
  }

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

  /*icon-bg1設定。サンプルテンプレートでは「重要」と書いてあるマーク*/
  #new dt span.icon-bg1 {
    border: transparent; /*枠線を透明にする*/
    background: #cd0000; /*背景色*/
    color: #fff; /*文字色*/
  }

  /*記事(dd)設定*/
  #new dd {
    width: calc(100% - 14rem); /*「14rem」は上の「#new dt」のwidthの値です。*/
  }
} /*画面幅900px以上の追加指定ここまで*/

/*.listブロック共通
---------------------------------------------------------------------------*/
.list {
  position: relative; /*子要素のアイコンを絶対配置する為の設定*/
}

/*ボックス内のアイコン*/
.list .list-icon {
  font-size: 0.6rem; /*文字サイズ*/
  background: #ff0000; /*背景色*/
  color: #fff; /*文字色*/
  width: 50px; /*幅*/
  line-height: 50px; /*高さ*/
  border-radius: 50%; /*角丸のサイズ。円形になります。*/
  text-align: center; /*テキストをセンタリング*/
  position: absolute; /*親のブロックのrelative（この場合は.list）に対して絶対配置する*/
  left: -5px; /*listブロックに対して左からの配置場所の指定*/
  top: -5px; /*listブロックに対して上からの配置場所の指定*/
}

/*figure画像*/
.list figure {
  margin-bottom: 2rem; /*下に空けるスペース。2文字分。*/
}

/*2カラムブロック（※900px未満では１カラム）
---------------------------------------------------------------------------*/
/*２カラムを囲むブロック*/
.list-half .list {
  margin: 0 auto;
  width: 100%;
  display: flex; /*flexボックスを使う指定*/
  flex-direction: column; /*子要素を縦並びにする*/
  margin-bottom: 2rem; /*ボックスの下に2文字分のスペースを空ける*/
}

/*画像ブロック共通*/
.list-half .image-l,
.list-half .image-r {
  margin-left: 0rem;
  margin-right: 0rem; /*画像の左右に1文字分のスペースを空ける*/
  position: relative; /*子要素のアイコンを絶対配置する為の設定*/
}
.list-half .image-l img,
.list-half .image-r img {
  border-radius: 50px; /*角を丸くする指定。*/
  box-shadow: 10px 10px rgba(0, 0, 0, 0.1); /*ボックスの影。右へ、下へ、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*２カラムを囲むブロック*/
  .list-half .list {
    flex-direction: row; /*子要素を横並びにする*/
    justify-content: space-between; /*並びかたの種類の指定*/
    align-items: center; /*垂直揃えの指定。天地中央に配置されるように。*/
  }

  /*画像ブロック共通*/
  .list-half .image-l,
  .list-half .image-r {
    width: 50%; /*幅。下のテキストブロックのwidthと調整して下さい。*/
  }

  /*画像を右に配置する場合*/
  .list-half .image-r {
    margin-left: 0; /*画像の左側に空けるスペース*/
  }

  /*画像を左に配置する場合*/
  .list-half .image-l {
    order: -1;
    margin-right: 0rem; /*画像の右側に空けるスペース*/
  }

  /*テキストブロック*/
  .list-half .text {
    width: 50%; /*幅。上の「画像ブロック共通」のwidthと調整して下さい。*/
    margin: 0;
  }
} /*画面幅900px以上の追加指定ここまで*/

/*３列タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-container .list {
  margin-bottom: 30px; /*ボックス同士の上下間に空けるスペース*/
  padding: 20px; /*ボックス内の余白*/
  background: #fff; /*背景色*/
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1); /*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
}

/*ボックス内のh4タグ*/
.list-container .list h4 {
  margin: 0;
}

/*ボックス内のpタグ*/
.list-container .list p {
  margin: 0;
  font-size: 0.8rem; /*文字サイズを80%に*/
  line-height: 1.5; /*行間を少し狭く*/
}

/*ボックス内のfigure画像*/
.list-container .list figure {
  margin-bottom: 1rem; /*下に空けるスペース*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*listブロック全体を囲むブロック*/
  .list-container {
    display: flex; /*flexボックスを使う指定*/
    flex-wrap: wrap; /*折り返す指定*/
  }

  /*１個あたりのボックス設定*/
  .list-container .list {
    width: 32%; /*幅。３列になります。*/
    margin-right: 2%; /*右側へのマージン。ボックス同士の左右の余白です。*/
  }

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

  /*ボックス内のtextブロック*/
  .list-container .list .text {
    flex: 1;
  }
} /*画面幅900px以上の追加指定ここまで*/

/*横長タイプのボックス
---------------------------------------------------------------------------*/
/*ボックス１個あたり*/
.list-normal .list {
  display: flex; /*flexボックスを使う指定*/
  border-bottom: 1px solid #ccc; /*下線の幅、線種、色*/
  padding: 25px 0; /*上下、左右へのボックス内の余白*/
}

.list-normal .list div {
  flex: 1;
}

/*１つ目のボックスにのみ上に線を入れる*/
.list-normal .list:nth-of-type(1) {
  border-top: 1px solid #ccc; /*上の線の幅、線種、色*/
}

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

/*ボックス内のh4タグ*/
.list-normal .list h4 {
  margin: 0; /*デフォルトマージンを一旦リセット*/
  margin-bottom: 10px; /*下に少し余白を作る*/
}

/*ボックス内のpタグ*/
.list-normal .list p {
  margin: 0;
  font-size: 0.7rem; /*文字サイズを70%に。*/
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  /*list2ボックス。１個あたりのボックスの指定です。*/
  .list-normal .list {
    padding-left: 10px; /*ボックス内の左側にだけ余白を作る*/
  }
} /*画面幅900px以上の追加指定ここまで*/

/*ulで使うbtn（当テンプレートではheader内でのみ使用）
---------------------------------------------------------------------------*/
/*ボタンブロック全体*/
ul.btn {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex; /*flexボックスを使う指定*/
}

/*ボタン１個あたり*/
ul.btn li {
  color: #fff;
  font-size: 1.7rem;
  font-style: italic;
  margin: 2px; /*ボタン同士の間に空けるスペース*/
}
ul.btn a {
  display: block;
  text-decoration: none;
  background: linear-gradient(
    #ff9000,
    #ff6000
  ); /*「#ff9000」から「#ff6000」へのグラデーション。*/
  padding: 0.2em 1.5em; /*上下、左右へのボタン内の余白*/
  border-radius: 3px; /*角を丸くする指定*/
}

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

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

/*アイコン（Font Awesome）*/
.faq dt::before {
  font-family: "Font Awesome 5 Free"; /*Font Awesomeを使う指定*/
  content: "\f059"; /*アイコンのコード*/
  color: #999; /*アイコンの色*/
  padding-right: 1rem; /*アイコンとテキストとの間のスペース*/
}

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

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

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

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

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

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

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

/*テーブルの設定　.table_a*　-----------------------*/

.table_a {
  margin: 40px auto 5px auto;
  width: 98%;
  border-collapse: collapse;
  border: 1px solid #666;
  color: #000;
  background-color: #dae5d1;
  font-size: 0.7em;
}
.ab {
  border: 1px solid #dae5d1;
  padding: 5px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  background-color: #333;
}

.aa {
  border: 1px solid #ccc;
  padding: 5px;
  text-align: center;
  font-weight: bold;
  background-color: #abca91;
}
.ac {
  border: 1px solid #ccc;
  padding: 5px;
  text-align: center;
}

/*会員一覧テーブルの設定------------------*/

#tkaiin {
  margin: 10px 0;
  width: 98%;
  border-collapse: collapse;
  border: 1px solid #fff;
  color: #000;
  background-color: #dae5d1;
  font-size: 0.5em;
}
.ba {
  border: 1px solid #fff;
  padding: 10px 3px;
  text-align: center;
  font-size: 1.6em;
  color: #fff;
  font-weight: bold;
  background-color: #abca91;
}
.bb {
  border: 1px solid #fff;
  padding: 10px 1px;
  text-align: left;
}

.bba {
  border: 1px solid #fff;
  padding: 10px 1px;
  text-align: center;
}

/*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%; /*円形にする*/
}

/*その他
---------------------------------------------------------------------------*/
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.color-check,
.color-check a {
  color: #ff0000 !important;
}
.color-theme,
.color-theme a {
  color: #88291a !important;
}
.c {
  text-align: center !important;
}
.r {
  text-align: right !important;
}
.ws {
  width: 98%;
  display: block;
}
.wl {
  width: 98%;
  display: block;
}
.mb30 {
  margin-bottom: 30px !important;
}
.look {
  display: inline-block;
  padding: 0px 10px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 5px 0;
  word-break: break-all;
}
.small {
  font-size: 0.75em;
}
.large {
  font-size: 3em;
  letter-spacing: 0.1em;
}
.pc {
  display: none;
}
.dn {
  display: none !important;
}
.img {
  margin: 0 0 1rem;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width: 900px) {
  .ws {
    width: 48%;
    display: inline;
  }
  .sh {
    display: none;
  }
  .pc {
    display: block;
  }
} /*画面幅900px以上の追加指定ここまで*/

.ttt {
  margin: 5cqminuto;
  width: 96%;
  border: 0;
  background-color: #9cb08e;
  color: #fff;
}

.t1 {
  border: 0;
  text-align: center;
  padding: 0.6rem;
  font-size: 1.15rem;
}

.t2 {
  width: 10%;
  border: 0;
  text-align: center;
  padding: 0.6rem;
}

.text p {
  font-size: 1.1rem;
  font-weight: 800;
  color: #444;
}

.naka {
  margin: 20px auto;
  width: 100%;
  padding: 0 2%;
  font-size: 1.1rem;
  font-weight: 1200;
  line-height: 1.5; /*行間*/
}

/* 会員論文陽テーブルの設定--------------------------  */

.tronbun {
  margin: 10px 0;
  width: 98%;
  border-collapse: collapse;
  border: 1px solid #fff;
  color: #000;
  background-color: #dae5d1;
  font-size: 0.6em;
}

.ron_cap {
  font-size: 2em;
  caption-side: top;
  font-weight: bold;
  text-align: left;
}

.ba {
  border: 1px solid #fff;
  padding: 10px 2px;
  text-align: center;
  font-weight: bold;
  background-color: #abca91;
}

.ba2 {
  border: 1px solid #fff;
  padding: 10px 2px;
  text-align: center;
  font-weight: bold;
  background-color: #738cd8;
}

.bb {
  border: 1px solid #fff;
  padding: 10px 2px;
  text-align: left;
}

.bba {
  border: 1px solid #fff;
  padding: 10px 2px;
  text-align: center;
}

.bac {
  border: 1px solid #fff;
  padding: 10px 2px;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  background-color: #abca91;
}

.bbac {
  border: 1px solid #fff;
  padding: 5px 2px;
  text-align: center;
}

.bc {
  border: 1px solid #fff;
  padding: 5px 2px;
  text-align: center;
}

.bbc {
  border: 1px solid #fff;
  padding: 5px 2px;
  text-align: left;
  font-size: 1em;
  line-height: 120%;
}

.bac2 {
  border: 1px solid #fff;
  padding: 10px 2px;
  text-align: center;
  font-size: 1.4em;
  font-weight: bold;
  background-color: #95a4cf;
}

.bc2 {
  background-color: #c4cee9;
  border: 1px solid #fff;
  padding: 5px 2px;
  text-align: center;
}

.bbc2 {
  background-color: #c4cee9;
  border: 1px solid #fff;
  padding: 5px 2px;
  text-align: left;
  line-height: 120%;
}

.bac3 {
  border: 1px solid #fff;
  padding: 10px 2px;
  text-align: center;
  font-size: 1.4em;
  font-weight: bold;
  background-color: #d6cba0;
}

.bc3 {
  background-color: hsl(60, 25%, 79%);
  border: 1px solid #fff;
  padding: 5px 2px;
  text-align: center;
}

.bbc3 {
  background-color: hsl(60, 25%, 79%);
  border: 1px solid #fff;
  padding: 5px 2px;
  text-align: left;
  line-height: 120%;
}

.bac4 {
  border: 1px solid #fff;
  padding: 10px 2px;
  text-align: center;
  font-size: 1.4em;
  font-weight: bold;
  background-color: #d7a6ec;
}

.bc4 {
  background-color: hsl(300, 45%, 89%);
  border: 1px solid #fff;
  padding: 5px 2px;
  text-align: center;
}

.bbc4 {
  background-color: hsl(300, 45%, 89%);
  border: 1px solid #fff;
  padding: 5px 2px;
  text-align: left;
  line-height: 120%;
}
