@charset "UTF-8";

*{
  margin: 0 ;
  padding: 0;
  line-height: 1;
  box-sizing: border-box;
    /* 幅を指定した要素（タグ）にborder、paddingを設定した際に要素が広がってしまうことを防ぐため */
}


body {
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    /*   ここまでフォントファミリー  各OSに適したフォントを用意しておく*/
  color: #555;
    /* サイト全体の文字色を定義しておく */
}



ul {
  list-style: none;
    /*   liの装飾を削除する  */
}


a {
  text-decoration: none;
    /*   aタグの初期設定。aタグはでデフォルトで持っている下線を消しておく */
  color: inherit;
}

img{
  max-width: 100%;
    /* 親要素の大きさ以上大きくならず、かつ、自身の原寸大以上に大きくならない */
  vertical-align: bottom;
    /* imgは、文字と同等扱いなので、必ず下部に余白（デセンダー）が出来てしまうのを防ぐ。他の防ぐ方法としてインライン要素をブロック要素に変える方法もあり */
}

/*-----------------------------------------
    pc max- setting   
-----------------------------------------*/

.container {
  max-width: 1024px;
  margin: 0 auto;
}

/*PCの情報コンテンツの最大幅の設定 ------ 各パーツでこのCSSを再利用（マルチクラス）、または流用*/
/*-----------------------------------------
    header setting
------------------------------------------*/

.header_inner {
  display: flex;
  /* background-color: #ff0; */
    /* 子要素、水平方向の揃えの親要素設定  */
  height: 100px;
    /* 高さ指定  100px */
  align-items: center;
    /* heightの垂直中央揃えのオプション  */
}

header h1{
  font-size: 24px;
  margin-bottom: 5px;
  font-family: "BIZ UDMincho", serif;
}

header p{
  font-size: 12px;
}


/*-----------------------------------------
    main_image setting
------------------------------------------*/

.main_image{
  background: url(../img/main.jpg) no-repeat center bottom/cover;/* coverのみ/ */
    /*
    background-image: url(../img/main_back_image.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    */
  height: 450px;
  margin-bottom: 3px;
}

/*-----------------------------------------
    nav_menu setting
------------------------------------------*/

nav.gloval_nav{
  background-color:#40805E;
  margin-bottom: 50px;
}

nav.gloval_nav ul {
  display: flex;
    /* 子要素、水平方向の揃えの親要素設定  */  
}

nav.gloval_nav  li{
  width: 25%;
    /* 幅25%の設定 */
  border-left: 1px dotted #fff;
  /* 左枠点線・白 */
}

nav.gloval_nav  li:last-of-type {
  border-right: 1px dotted #fff;
    /* 最後のliの右枠線 */
}

nav.gloval_nav  li a {
  display: block;
    /* ブロックボックス設定 */
  text-align: center;
    /* 文字幅枠内・中央 */
  line-height: 65px;
    /* aの高さを65pxに取得 */
  color: #fff;
    /* フォントカラー白 */
  transition: 0.3s;
}

nav.gloval_nav  li a:hover {
  background-color: #66c69377;
  color: #333333;
    /*　フォントカラー・背景色適宜　*/
}


/*-----------------------------------------
   .wrap setting
------------------------------------------*/

.wrap{
  display: flex;
    /* mainと、asideの親要素として子要素を横並びに設定 */
  margin-bottom: 100px;
    /* 次の下のブロックに余白を設定 */
  justify-content: space-between
}


/*-----------------------------------------
   main setting
------------------------------------------*/

main{
  width: 690px;
    /* main幅、690px設定 */
}

main h2{
  border-left: 5px solid #40805E;
  background-color:#eee;
  padding: 8px 0 8px 10px; 
  font-size: 20px;  
  margin-bottom: 15px;
}

main h3{
  font-size: 17px;  
  margin-bottom: 15px;
}

main .info_item{
  display: flex;
    /* 子要素、水平方向の揃えの親要素設定  */
  justify-content: space-between;
    /*  水平方向の揃えのオプション ( 両端揃い )*/
  margin-bottom: 70px;
    /* 次の下のブロックに余白を設定 */
}

main .info_item .photo{
  width: 30%;
    /* 幅、30%取得 */
}

main .info_item .content{
  width: 65%;
    /* 幅、65%取得 */  
}

main .info_item a.category{
  font-size: 12px;
  background-color: rgb(3, 84, 11);
  color: #fff;
  padding: 8px 15px;
  display: inline-block;
  margin: 0 5px 10px 0;
}

main .info_item time{
  font-size: 13px;
  padding-left: 20px;
  text-decoration: underline;
}

main .info_item .text{
  line-height: 1.7;
    /* 一番読みやすい行間は、line-heightの、1.5～2の間とされてる */    
  letter-spacing: 0.05em;
    /* 一番読みやすい文字間は、letter-spacingの、0.05em～0.08emの間とされてる ただし、教科書も含めて多少のデータの前後あり*/
  font-size: 14px;
}


/*-----------------------------------------
   aside setting
------------------------------------------*/

aside{
  width: 300px;
    /* 幅、300px設定 */
}


/*-----------------------------------------
    .recent and .bsnner setting
------------------------------------------*/

.recent h3{
  font-size: 18px;  
  padding: 8px 0 8px 6px;
  margin-bottom: 5px;
}

.recent ul li:last-of-type{
  margin-bottom: 50px;
}

.recent ul a{
  display: block;
  line-height: 40px;
  padding-left: 15px;
  font-size: 14px;
  text-decoration: underline;
  color: inherit;
}

.banner {
  text-align: center;
}


/*-----------------------------------------
    footer setting
------------------------------------------*/

footer{
  background-color: #40805E;
}


.footer_inner p{
 text-align: right;
 line-height: 100px;
}
.footer_inner small{
  color: #fff;
}



