@charset "utf-8";
/*
Theme Name: けんふくコーポレーション
Author: Yuta Matano
*/
/* 基本設定 */
*{margin: 0px;padding: 0px;}
html{
    color: #070707;
    background: #fff;
}
body{
    background: #f5f5f5;
    text-align: center;
    font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
}
.wrap{
    background-color: #fff;
    width: 960px;
    margin-left: auto;
    margin-right: auto;
}

/* ヘッダー部分 */
header{
    width:900px;
    margin-right: auto;
    margin-left: auto;
    border-bottom: 3px solid #d8d3c1;
    overflow: hidden;
}
/* ロゴ画像サイズ・マージン設定 */
header img{
    margin: 40px 40px 40px 75px;
    width: 150px;
    float: left;
}
/* ロゴ文字サイズ・マージン設定 */
.headtitleimg{
    width:470px;
    margin: 80px 90px 0px 0px;
    float: none;
}

/* ナビゲーション部分 */
.nav{
    margin-top: 30px;
    list-style: none;
    overflow: hidden;
}
.nav li{
    width:100px;
    text-align: center;
    float: left;
}
.nav li a{
    text-decoration: none;
    color: #070707;
}
header a{
    text-decoration: none;
    color: #070707;
}
header a:hover{
    text-decoration: underline;
}

/*スマホ用ハンバーガーメニューのパーツを非表示にする*/
.title{
    display: none;
}
.option input{
    display: none;
}

/* トップページサイトマップ部分用設定 */
#map{
    width: 800px;
    margin-top: 70px;
    overflow: hidden;
    text-align: left;
}
#map a{
    text-decoration: none;
    color: #070707;
}
#map a:hover{
    text-decoration: underline;
}
#map img{
    width: 120px;
    margin-top: -20px;
    margin-left: 70px;
    margin-right: 30px;
    float: left;
}
#map h2{
    margin-top: 10px;
    float left;
    font-size: 16pt;
}
#map>div{
    overflow: hidden;
    margin-bottom: 15px;
}

/* フッター部分 */
footer{
    border-top: 3px solid #d8d3c1;
    padding-top: 15px;
    width: 900px;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}
footer>ul{
    font-size: 10pt;
    width: 560px;
    margin-left: auto;
    margin-right: auto;
}
footer>p{
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 9pt;
}
.footmenu{
    display: none;
}

/* 固定ページ用本文部分 */
.main{
    width: 800px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 35px;
    text-align: left;
}
.main h1{
    font-weight: bold;
    font-size: 20pt;
    margin-left: 20px;
    margin-bottom: 15px;
    margin-top: 0.3em;
}
.main p{
    margin-left: 2em;
    margin-bottom: 1em;
}

/* テーブルタグデザイン */
.main table{
    width: 600px;
    margin-right: auto;
    margin-left: auto;
    border-collapse: collapse;
    border-spacing: 0;
}
.main tr{
    height: auto;
}
.main td{
    border-bottom: 2px solid #998;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 20px;
}
.main tr:last-child td{
    border-bottom: none;
}

/*仲間になろうよ画像位置調整*/
.hii{
    width: 48%;
    margin-left: 0px;
    float: left;
}
.hi{
    width: 100%;
    margin-top: 0px;
}
.nakama{
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
}
.nakama>p{
    margin: 0px;
    padding: 0px;
}
/* ふきだし左側 */
.baloon{
    float: left;
    width: 20%;
    display: inline-block;
    position: relative; 
    margin: 0.3em;
    padding: 17px 13px;
    border-radius: 12px;
    background: #d7ebfe;
}
.baloon:after{
    content: "";
    display: inline-block;
    position: absolute;
    bottom: 6em; 
    right: -24px;
    border: 12px solid transparent;
    border-left: 12px solid #d7ebfe;
}
/* ふきだし右側 */
.baloon-r{
    float: right;
    width: 20%;
    display: inline-block;
    position: relative; 
    margin: 0.3em;
    padding: 17px 13px;
    border-radius: 12px;
    background: #d7ebfe;
}
.baloon-r:after{
    content: "";
    display: inline-block;
    position: absolute;
    top: 6em; 
    left: -24px;
    border: 12px solid transparent;
    border-right: 12px solid #d7ebfe;
}

/*ふきだし↓*/

.balloon5 {
  width: 100%;
  margin: 2em 0;
  overflow: hidden;
}

.balloon5 .faceicon {
  float: left;
  margin-right: -90px;
  width: 80px;
}

.balloon5 .faceicon img{
  width: 100%;
  height: auto;
  border: solid 3px #d7ebfe;
  border-radius: 50%;
}

.balloon5 .faceicon-r {
  float: right;
  margin-left: 0px;
    margin-right: 1em;
  width: 80px;
}
.balloon5 .faceicon-r img{
  width: 100%;
  height: auto;
  border: solid 3px #d7ebfe;
  border-radius: 50%;
}


.balloon5 .chatting {
  width: 100%;
}

.says {
  display: inline-block;
  position: relative; 
  margin: 5px 0 0 105px;
  padding: 17px 13px;
  border-radius: 12px;
  background: #d7ebfe;
    max-width: 80%;
}

.says:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px; 
  left: -24px;
  border: 12px solid transparent;
  border-right: 12px solid #d7ebfe;
}

.says p {
  margin: 0;
  padding: 0;
    line-height: 1.7em;
}

.says-r {
    float: right;
  display: inline-block;
  position: relative; 
  margin: 5px 1.5em 0 0px;
  padding: 17px 13px;
  border-radius: 12px;
  background: #d7ebfe;
    max-width: 80%;
}

.says-r:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 18px; 
  right: -24px;
  border: 12px solid transparent;
  border-left: 12px solid #d7ebfe;
}

.says-r p {
  margin: 0;
  padding: 0;
    line-height: 1.7em;

}
/*ふきだし↑*/


/*ブログ用*/
.article-list {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
}
 
.article-list:hover {
  background-color: #eee;
}
 
.article-list a {
  display: block;
  text-decoration: none;
  color: #333;
}
 
.article-list a:after {
  display: block;
  clear: both;
  content: '';
}
 
.article-list .img-wrap {
  position: relative;
  float: left;
  line-height: 1;
}
 
.article-list .img-wrap img {
  width: 240px;
  height: 160px;
  object-fit: cover;
}
 
.article-list .img-wrap .cat-data {
  font-size: .75rem;
  position: absolute;
  top: 0;
  right: 0;
  padding: .3rem .5rem;
  color: #fff;
  background-color: #03162f;
}
 
.article-list .text {
  margin-left: 260px;
}
 
.article-list .text h2 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}
 
.article-list .text .article-date,
.article-list .text .article-author {
  font-size: .75rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: .5rem;
  color: #888;
}
 
.article-list .text .article-date {
  margin-right: .5rem;
}
 
.article-list .text .article-author i {
  margin-right: .3rem;
}
 
.article-list .text p {
  font-size: .8125rem;
  line-height: 1.7;
}

.pagination {
  margin: 2rem 0;
  text-align: center;
}
 
.pagination ul {
  font-size: 0;
}
 
.pagination ul li {
  font-size: 1rem;
  display: inline-block;
  margin-right: .5rem;
}
 
.pagination ul li:last-child {
  border: 0;
}
 
.pagination ul li a,
.pagination .current {
  display: block;
  padding: .5rem .8rem;
  border: 1px solid #ccc;
}
 
.pagination ul li .prev,
.pagination ul li .next {
  border: 0;
}
 
.pagination ul li a {
  text-decoration: none;
  color: #333;
}
 
.pagination ul li a:hover {
  opacity: .6;
}
 
.pagination .current {
  color: #fff;
  background-color: #03162f;
}

.article-content {
    text-align: left;
  margin-bottom: 2rem;
}
 
.article-content .article-info {
  margin-bottom: .5rem;
}
 
.article-content .cat-data a {
  font-size: .8rem;
  margin-right: .5rem;
  padding: .1rem .5rem;
  text-decoration: none;
  color: #fff;
  background-color: #03162f;
}
 
.article-content .article-info .article-date,
.article-content .article-info .article-author {
  font-size: .8rem;
  display: inline-block;
  margin-right: .5rem;
  color: #888;
}
 
.article-content .article-info .article-author i {
  margin-right: .3rem;
}
 
.article-content p,
.article-content b,
.article-content table,
.article-content ul,
.article-content ol {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 1px;
}
 
.article-content p,
.article-content img,
.article-content table,
.article-content ul,
.article-content ol {
  margin-bottom: 2rem;
}
 
.article-content h1 {
  font-size: 1.9rem;
  margin: 0 0 2rem;
  letter-spacing: 1px;
}
 
.article-content h2 {
  font-size: 1.7rem;
  margin: 3rem 0 2rem;
  padding: .4rem 0;
  letter-spacing: 1px;
  border-bottom: solid 5px #03162f;
}
 
.article-content h3 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1.8rem;
  padding: 0 1rem;
  letter-spacing: 1px;
  border-left: solid 7px #415671;
  background: transparent;
}
 
.article-content h4 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  letter-spacing: 1px;
}
 
.article-content h5 {
  font-size: 1.1rem;
  margin: 0 0 .3rem;
  letter-spacing: 1px;
}
 
.article-content .article-img {
  margin-bottom: 2rem;
}
 
.article-content .article-img img {
  display: block;
  margin: 0 auto;
}
 
.article-content ul {
  margin-left: 2rem;
  list-style: disc;
}
 
.article-content ol {
  margin-left: 2rem;
  list-style: decimal;
}
 
.article-content table {
  border-collapse: collapse;
}
 
.article-content th,
.article-content td {
  padding: .6rem;
  vertical-align: middle;
  border: 1px solid #ddd;
}
 
.article-content figure {
  max-width: 100%;
}
 
.article-tag {
  text-align: right;
}
 
.article-tag ul {
  font-size: 0;
  margin-bottom: 0;
}
 
.article-tag ul li {
  font-size: .9rem;
  display: inline-block;
  margin-right: .5rem;
  vertical-align: middle;
}
 
.article-tag ul li:last-child {
  margin-right: 0;
}
 
.article-tag ul li a {
  padding: .2rem .5rem;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
}
 
.article-tag ul li a:hover {
  opacity: .6;
}

.postlink{
    width: 100%;
    text-align: center;
}

/*PC用CSS ここまで*/


@media screen and (max-width: 480px) {
    
	/* 480px以下に適用されるCSS（スマホ用） */
    
    .wrap{
        background-color: #fff;
        width: 96%;
        margin-left: auto;
        margin-right: auto;
    }
    header {
        position: relative;
        width: 100%;
        margin-left: 0px;
        margin-right: 0px;        
    }
    header img{
        margin-top: 0.3em;
        margin-left: 0.5em;
        margin-bottom: 0;
        width: 3em;
        margin-right: 0.5em;
    }
    .headtitleimg{
        margin: 20px 0px 20px -50px;
        width:15em;
    }

    /* ハンバーガーメニュー部分 */
    .toggle {
        display: none;
    }
    .option {
    margin-bottom: 1em;
    position: fixed;
    width: 100vw;
    background-color: #fff;
    margin-top: -3em;
}
    }
    .title,
    .content {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        transition: all 0.3s;
    }
    .title {
        position: fixed;
        top: 0.3em;
        right: 1em;
        display: flex;
        height: 2.5em;
        width: 2.5em;
        justify-content: center;
        align-items: center;
        z-index: 90;
        border: solid 1px #ccb;
        border-radius: 0.5em;
    }
    .title span,.title span:before,.title span:after{
        content: '';
        display: block;
        height: 3px;
        width: 1.25em;
        border-radius: 3px;
        background-color: #070707;
        position: absolute;
    }
    .title span:before{
        bottom: 8px;
    }
    .title span:after{
        top: 8px;
    }
    .toggle:checked ~ .title span{
        background-color: rgba(255,255,255,0)
    }
    .toggle:checked ~ .title span::before{
        bottom: 0;
        transform: rotate(45deg);
    }
    .toggle:checked ~ .title span::after{
        top: 0;
        transform: rotate(-45deg);
    }
    .content {
        max-height: 0;
        overflow: hidden;
    }
    .toggle:checked + .title + .content {
        max-height: 500px;
        transition: all 1.5s;
    }
    .nav{
        margin: 0px;
        overflow: hidden;
    }
    .nav li{
        width:92%;
        height: 2.5em;
        line-height: 2.5em;
        text-align: center;
        float: none;
        border-bottom: 1px solid #ccb;
        margin-top: 0;
        margin-bottom: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .nav li a{
        text-decoration: none;
        color: #070707;
    }
    
    #map{
        width: 100%;
        margin-top: 1em;
    }
    #map img{
        width: 25%;
        margin-top: 0px;
        margin-left: 0px;
        margin-right: 2em;
        float: left;
    }
    #map h2{
        margin-top: 6px;
        margin-bottom: 6px;
        float left;
        font-size: 1.3em;
    }
   #map p{
        margin-top:-0.3em;
        margin-bottom: 0px;
    }
    #map>div{
        overflow: hidden;
        margin-bottom: 15px;
    }

    /* フッター部分 */
    footer{
        border-top: 3px solid #d8d3c1;
        padding-top: 15px;
        width: 100%;
        margin-top: 15px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 4.2em;
    }
    footer>ul.nav{ 
        display: none;
    }
    footer>p{
        margin-top: 5px;
        margin-bottom: 10px;
        font-size: 9pt;
    }
    .footmenu{
        display: block;
        width:100vw;
        position: fixed;
        bottom: 0px;
        left:0px;
        overflow: hidden;
    }
    .footmenu-content{
        float: left;
        width: 20%;
        background-color: #d8d3c1;
        color: #555;
        text-align: center;
        border-left: 1px solid #fff;
        box-sizing: border-box;
    }
    .footmenu-content i{
        font-size: 1.8em;
        margin-top: 0.2em;
    }
    .footmenu-content a{
        text-decoration: none;
        color: #070707;
    }
    

    /* 固定ページ用 */
    
.main{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 15px;
    text-align: left;
}
.main h1{
    text-align: center;
    margin-left: 0px;
}
.main p{
    margin-left: 1em;
    margin-right: 1em;
}

.main table{
    width: 100%;
}
.main td{
    width: 0pt;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 5px;
    padding-left: 5px;
}
.main tr:last-child td{
    border-bottom: none;
}
    
/* 社員の声ページ向け設定 */
    
    .nakama{
        text-align: center;
    }

    .baloon{
        float: none;
        width: 85%;
    }
    .baloon:after{
        content: "";
        display: inline-block;
        position: absolute;
        bottom:-24px;
        right: 230px;
        border: 12px solid transparent;
        border-top: 12px solid #d7ebfe;
    }
    .baloon-r{
        float: none;
        width: 85%;
        margin-top: 24px;
        }
    .baloon-r:after{
        content: "";
        display: inline-block;
        position: absolute;
        top: -24px; 
        left: 230px;
        border: 12px solid transparent;
        border-bottom: 12px solid #d7ebfe;
    }
    /*仲間になろうよ画像*/
    .hii{
        width: 100%;
        float: none;
        margin: 0;
    }
    .hi{
        width: 100%;
    }
    
    .says{
        margin: 0.5em;
        padding: 0.3em;
        margin-left: 105px;
    }
    .says-r {
        float: left;
        display: inline-block;
        position: relative; 
        margin: 0.5em;
        padding: 0.3em;
        border-radius: 12px;
        background: #d7ebfe;
        max-width: 65%;
    }
    
    
/* ブログ部分用設定 */
    .article-list {
        padding: .5rem;
    }
    .article-list .img-wrap img {
        width: 132px;
        height: 88px;  
    }
    .article-list .img-wrap .cat-data {
        font-size: .6rem;
    }
    .article-list .text {
        margin-left: 140px;
        padding: 0;
    }
    .article-list .text h2 {
        font-size: 1rem;
        margin-bottom: 0;
    }
    .article-list .text p {
        display: none;
    } 
    .article-list .text .article-date,
    .article-list .text .article-author {
        font-size: .625rem;
        margin-bottom: 0;  
    }
    .article-list .text .article-date {
        margin-right: .2rem;
    }
    .article-content h1 {
        font-size: 1.6rem;
    }
    .article-content h2 {
        font-size: 1.4rem;
    }
    .article-content h3 {
        font-size: 1.3rem;
    }
    .article-content h4 {
        font-size: 1.2rem;
    }
    .article-img img{
        width: 100%;
        height: 100%;
    }
}