@charset "UTF-8";

*{
    margin: 0 ;
    padding: 0;
    line-height: 1;
    box-sizing: border-box;
    /* 幅を指定した要素（タグ）にborder、paddingを設定した際に要素が広がってしまうことを防ぐため */
}
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    /*   ここまでフォントファミリー  各OSに適したフォントを用意しておく*/
    color: #555;
    /* サイト全体の文字色を定義しておく */
}
ul {
    list-style: none;
    /*   liの装飾を削除する  */
}
a {
    text-decoration: none;
    /*   aタグの初期設定。aタグはでデフォルトで持っている下線を消しておく */
    color: inherit;
}
img{
    max-width: 100%;
    /* 親要素の大きさ以上大きくならず、かつ、自身の原寸大以上に大きくならない */
    height: auto;
    /* タグのほうでの高さ指定を調整 */
    vertical-align: bottom;
    /* imgは、文字と同等扱いなので、必ず下部に余白（デセンダー）が出来てしまうのを防ぐ。他の防ぐ方法としてインライン要素をブロック要素に変える方法もあり */
}
/*-----------------------------------------
    pc max- setting   
-----------------------------------------*/
.container {
    width: 1024px;
    margin: 0 auto;
    /* background-color: #ddd; */
    /*PCの情報コンテンツの最大幅の設定 （幅1024px、ブロックの中央揃い）------ 各パーツでこのCSSを再利用（マルチクラス）、または流用*/
}
/*-----------------------------------------
    header setting
------------------------------------------*/
.header_inner {
    display: flex;
    /* 子要素、水平方向の揃えの親要素設定  */
    height: 100px;
    /* 高さ指定 100px程度 */
    align-items: center;
    /* heightの垂直中央揃えのオプション  */
    /* background-color: #ddd; */
}
header h1{
    font-size: 26px;
    margin-bottom: 6px;
    /* フォントサイズ適宜、pタグとの余白 */
}
header p{
    font-size: 14px;
    /* フォントサイズ、14px程度 */
}
header .logo{
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-size: 40px;
    background-position: 0 -8px;
    padding-left: 48px;
}
/*-----------------------------------------
    main_image setting
------------------------------------------*/
.main_image{
    /* background: url(../img/main_back_image.jpg) no-repeat center bottom/cover; */
    /*
    background-image: url(../img/main_back_image.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    */
    height: 450px;
    background-image: url(../img/main_back_image.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    /* 背景画像表示のための高さ指定、450px程度 */
    margin-bottom: 2px;
    /* 次のブロックとの余白、少しあるといいかも */
}
/*-----------------------------------------
    nav_menu setting
------------------------------------------*/
nav.gloval_nav{
    background-color: #40805E;
    margin-bottom: 50px;    
    /* 背景色（全体的に同じトーンになるメインカラー）、次のブロックとの余白（50px程度）の設定 */
}
nav.gloval_nav ul {
    display: flex;
    /* 子要素、水平方向の揃えの親要素設定  */  
}
nav.gloval_nav li{
    width: 25%;
    border-left: 1px dotted #eee;
    /* 幅（均等に）、枠線左の設定 */
}
nav.gloval_nav li:last-child {
    border-right: 1px dotted #eee;
    /* 枠線右の設定 */
}
nav.gloval_nav li a {
    display: block;
    text-align: center;
    line-height: 65px;
    color: #eee;
    /* aタグのブロック化 */
    /* テキストの中央揃い */
    /* aの高さを65pxに取得 */
    /* フォントカラー設定 */
}
nav.gloval_nav li a:hover {
    background-color: #eee;
    color: #40805e;
    /* ホバーの時の設定 */
}
/*-----------------------------------------
   .wrap setting
------------------------------------------*/
.wrap{
    display: flex;
    /* mainのブロックと、asideのブロックを横並びにする */
}
/*-----------------------------------------
   main setting
------------------------------------------*/
main{
    width: 690px;
    /* 幅の指定（690px程度） */
}
main h2{
    margin: 0 14px 14px 0;
    padding-left: 10px;
    border-left: 6px solid #40805e;
    background-color: #eee;
    font-size: 20px;
    line-height: 40px;
    /* 見出し2、h2適宜設定 */
}
main h3{
    font-size: 18px;
    margin: 10px 0 12px;
    /* 見出し3、h2適宜設定 */
    }
/*-----------------------------------------
   aside setting
------------------------------------------*/
aside{
    width: 300px;
    /* 幅の指定（300px程度） */
}
/*-----------------------------------------
    .info setting
------------------------------------------*/
.info{
    margin-bottom: 100px;
    /* 次の下のブロックに余白（100px程度）を設定 */
}
.info .info_item{
    display: flex;
    /* 子要素、水平方向の揃えの親要素設定  */
    justify-content: space-between;
    /*  水平方向の揃えのオプション ( 両端揃い )*/
    margin-bottom: 70px;
     /* 次の下のブロックに余白（70px程度）を設定 */
}
.info .info_item .photo{
    width: 30%;
    /* 幅の取得 （30p% 程度）*/
}
.info .info_item .content{
    width: 65%;
    /* 幅の取得 （365% 程度）*/
}
.info .info_item a.category{
    display: inline-block;
    background-color: #40805e;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 20px;
    margin: 0 10px 10px 0;
    /* display:inline-blockの設定
    説明あり */
}
.info .info_item time{
    text-decoration: underline;
    /* timeタグの設定、適宜 */
}
.info .info_item .text{
    line-height: 1.7;
    /* 一番読みやすい行間は、line-heightの、1.5～2の間とされてる */ 
    letter-spacing: .05em; 
    /* 一番読みやすい文字間は、letter-spacingの、0.05em～0.08emの間とされてる ただし、教科書も含めて多少のデータの前後あり*/
    font-size: 14px;
    /* フォントサイズ設定（14px程度） */
}
/*-----------------------------------------
    .recent and .bsnner setting
------------------------------------------*/
.recent h3{
    margin: 0 14px 14px 0;
    padding-left: 6px;
    font-size: 20px;
    line-height: 40px;
    /* クラス、recentのh3の設定 */
}
.recent ul li:last-child{
    margin-bottom: 50px;
    /* クラス、recentのul liのlasut-childの設定（次のブロックの余白、50px程度） */    
}
.recent ul a{
    display: block;
    line-height: 36px;
    padding-left: 15px;
    font-size: 14px;
    text-decoration: underline;
    /* クラス、recentのul aタグの設定 */
}
.banner {

    /* 画像の中央揃い */
}
/*-----------------------------------------
    footer setting
------------------------------------------*/
footer{
    background-color: #40805E;
}
.footer_inner p{
    text-align: right;
    line-height: 100px;
}
.footer_inner small{
    color: #fff;
}
