@charset "utf-8";

/* -------------------------------------------------------------

[1] レイアウトに関する指定
[2] ヘッダーブロック内に関する指定
[3] コンテンツブロック内に関する指定
[4] サイドバーブロック内に関する指定
[5] フッターブロック内に関する指定
[6] CSSデザインサンプルリンク指定

----------------------------------------------------------------
CSSデザインサンプ [ URL ] http://www.css-designsample.com
------------------------------------------------------------- */

/* ----------------
   広告表示を隠す */
div[style] {
  display: none;
}
/******************/
html {
  background-color: white;
}

/* 一括で全ての要素の余白をゼロに指定 */
* {
  margin: 0;
  padding: 0;
}

/* 全体的なリンク */

a:link,
a:visited,
a:hover,
a:active { text-decoration: underline; }

a:link { color: #000; }
a:visited { color: #000; }
a:hover { color: #000; }
a:active { color: #000; }

/* -- 見出し -- */
h2,h3,h4,h5,h6 {
  font-size: 120%;
  font-weight: normal;
  margin-bottom: 1em;
}

h3,h4,h5,h6 { margin-top: 3em; }

/* -------------------------------------------------------------
共通事項 */
:root {
  --line-color: darkgreen;
  --line-color: #008000;
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}
/* -- 文字 -- */
#contents p {
  line-height: 1.6em;
  margin-bottom: 0.5em;
}

ul {
  list-style-type: none;
}

.t-center {
  text-align: center;
}
.t-left {
  text-align: left;
}
.t-right {
  text-align: right;
}
.bold {
  font-weight: bold;
}

body {
  font-size: 16px;
  text-align: center;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
/* -------------------------------------------------------------
[1] レイアウトに関する指定 */

.wrapper {
  max-width: 1200px;
  background-color: #008000;
  margin: 0 auto;
}

/* -------------------------------------
   ３列内レイアウト */

.container {
  display: flex;
  flex-direction: column;
}
.center {
  order: 1;
  flex: 100%;
  padding: 10px;
  border-bottom: 1px solid var(--line-color);
}
.left {
  order: 2;
  flex: 100%;
  padding: 10px;
  border-bottom: 1px solid var(--line-color);
}
.right {
  order: 3;
  flex: 100%;
  padding: 10px;
  border-bottom: 1px solid var(--line-color);
}

@media screen and (min-width: 500px ) {
  .container {
    flex-direction: row;
  }
  .left {
    flex: 0 250px;
    order: 1;
    border: none;
  }
  .right {
    flex: 0 250px;
    order: 3;
    padding: 20px 0;
    border: none;
  }
  .center {
    flex: 1;
    order: 2;
    border: none;
  }
}

/* -------------------------------------
   ヘッダー内レイアウト */

@media screen and (max-width: 367px) {
  h1 {
    font-size: 1.6em;
  }
}
.header {
  padding: 1em 0;
  border-bottom: 1px solid var(--line-color);
}
.title {
  display: block;
  margin: 0 auto;
  width: 90%;
}
.title-logo {
  float: left;
}
.title-logo img {
  height: 40px;
  width: auto;
}
.title-text {
  float: left;
  margin-left: 6px;
  height: 40px;
  line-height: 40px;
  font-size: 1.2em;
}
.title-text h1 {
	font-family: serif;
}
.description {
  display: inline-block;
  margin-top: 20px;
  text-align: center;
  font-size: 0.8em;
}
@media screen and (min-width: 500px ) {
  .title {
    width: 320px;
  }
  .title-logo img {
    height: 80px;
  }
  .title-text {
    margin: 0 auto 0 30px;
    height: 80px;
    line-height: 80px;
    font-size: 2.2em !important;
  }
  .description {
    margin-top: 20px;
    text-align: center;
    font-size: 1.4em;
  }
}

.sepa {
	display: flex;
}
.sepa .left-div {
	width: 1em;
}
.sepa .right-div {
	width: calc(100% - 1em);
}
/* -------------------------------------
   フッター内レイアウト */

.footer {
  padding: 1em 0;
}

/* -------------------------------------------------------------
   [2] ヘッダーブロック内に関する指定 */



/* -------------------------------------------------------------
   [3] コンテンツブロック内に関する指定 */

.eos-list li a {
  float: left;
  text-align: left;
}
.topics,
.eos-list {
  display: inline-block;
  margin: 4px 0;
}
.topics li a,
.eos-list li a {
  display: block;
  margin: 4px 0;
}
@media screen and (min-width: 415px) {
  .topics,
  .eos-list,
  .cat-list {
    margin: 20px 0;
  }
  .topics li a,
  .eos-list li a {
    display: block;
    margin: 10px 0;
  }
}

/* -------------------------------------------------------------
   [4] サイドバーブロック内に関する指定 */

.right h2 {
  margin-top: 20px;
}
.cat-list {
  display: inline-block;
  margin: 4px 0;
}
.cat-list li a {
  display: block;
  margin: 4px 0;
}
@media screen and (min-width: 415px) {
  .cat-list {
    margin: 20px 0;
  }
  .cat-list li a {
    display: block;
    margin: 10px 0;
  }
  .right ul {
    display: contents;
  }
}
/* -------------------------------------------------------------
   [5] フッターブロック内に関する指定 */
