
html, body {
  height: 100%;
  width: 100%;
  color: #333333;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

/*-------------------------
  横揺れ防止
---------------------------*/
body{
  overflow-x: hidden;
  margin: auto;
}

p,ul li{
  font-size:18px;
  line-height: 1.8;
}

ul li{
  list-style:inside;
  margin-left: 15px;
}

@media screen and (max-width: 1025px) {
  p,ul li{
    font-size:15px;
    line-height: 1.5;
    font-weight: normal;
  }
}

.wrap {
  overflow: hidden;
}

/*-------------------------
  見出しのフォントサイズ
---------------------------*/
h2{
  font-size: 28px;
  color: #333333;
  font-weight: 600;
}

h3{
  font-size: 25px;
  color: #333333;
}

h4{
  font-size: 20px;
  color: #333333;
}

@media screen and (max-width: 1024px) {
  h2{
    font-size: 22px;
  }

  h3{
    font-size: 20px;
  }

  h4{
    font-size: 16px;
  }
}

/*-------------------------
  各セクション毎の余白
---------------------------*/
.sec{
  padding-bottom:50px;
  padding-top:50px;
  margin:auto;
  width: 1000px;
  max-width: 90%;
}

.sec_top_no{
  padding-bottom:50px;
  margin:auto;
  width: 1200px;
  max-width: 90%;
}

.sec.sec_top{
  margin-top:80px;
}

.m_top{
  padding-top:100px;
}

.m_big_top{
  padding-top:300px;
}

.m_m_b{
  margin-bottom:30px;
}

.p_b{
  padding-bottom:50px;
}

.big{
  font-size: 70px;
}

@media screen and (max-width: 1200px) {
  .sec{
    width:90%;
    padding-bottom:50px;
    margin: auto;
  }
}

@media screen and (max-width: 1024px) {
  .sec{
    padding-bottom: 40px;
    padding-top: 40px;
  }

  .m_top{
    padding-top:80px;
  }

  .m_big_top{
    padding-top:100px;
  }
}

@media screen and (max-width: 540px) {
  .m_m_b{
    margin-bottom:20px;
  }

  .big{
    font-size: 35px;
  }

  .p_b {
    padding-bottom: 30px;
  }
}

/*-------------------------
  改行
---------------------------*/
.pc_line{
  display:block;
}

.sp_line{
  display:none;
}

@media screen and (max-width: 750px) {
  .pc_line{
    display:none;
  }

  .sp_line{
    display:block;
  }
}

/*-------------------------
  ホバー
---------------------------*/
a{
  color: #333;
  text-decoration: none;
}

a :hover{
  color: rgb(19, 19, 19);
  text-decoration: none;
  cursor: pointer;
}

.com_hover:hover{
  opacity: 0.6;
  text-decoration: none;
}

/*-------------------------
  タイトルの余白
---------------------------*/
.center{
  text-align: center;
  margin-bottom:40px;
}

.com_ttl{
  margin: 10px auto 40px;
  text-align: center!important;
  font-size:30px;
}

@media screen and (max-width: 750px) {
  .com_ttl{
    margin: 20px auto;
    font-size:23px;
  }
}

.center_pa{
  position: relative;
  width: 100%;
}

.com_center{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  transform : translate(-50%,-50%);
  margin: auto;
}

/*-------------------------
  表示
---------------------------*/
/*携帯のみ表示*/
.sp_display{
  display: none;
}

/*PCのみ表示*/
.pc_display{
  display: block;
}

@media screen and (max-width: 750px) {
  /*携帯のみ表示*/
  .sp_display{
    display: block;
  }

  /*PCのみ表示*/
  .pc_display{
    display: none;
  }
}

/*-----------------
  col-配置
-----------------*/
/*横並び配置*/
.f_wrap {
  display: flex;
  flex-wrap: wrap;
}

/*横並び配置>> 均等割つけ*/
.f_wrap_bet {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: auto;
}


/*-----------------
  ボタンの右の＞
-----------------*/
.btn{
  position: relative;
}

.btn:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -5px;
}


/*-------------------------------------------------
  動き
  fadein クラスをいれるとフェイドインする
  fadeinleft クラスをいれると左からフェイドインする
  fadeinright クラスをいれると右からフェイドインする
---------------------------------------------------*/

/*-------------------------
  フェイドイン >> UP
---------------------------*/
.fadein {
	opacity : 0.1;
	transform : translate(0px, -300px);
	transition : all 1000ms;
}

/* 画面内に入った状態 */
.scrollin {
	opacity : 1;
	transform : translate(0, 0);
}

/*-------------------------
  フェイドイン >> left
---------------------------*/
.fadeinleft {
	opacity : 0.1;
	transform : translate(-1080px, 0);
	transition : all 1000ms;
}

/* 画面内に入った状態 */
.fadeinleft.scrollinleft {
	opacity : 1;
	transform : translate(0, 0);
}

/*-------------------------
  フェイドイン >> right
---------------------------*/
.fadeinright {
	opacity : 0.1;
	transform : translate(1080px, 0);
	transition : all 1000ms;
}

/* 画面内に入った状態 */
.scrollinright {
	opacity : 1;
	transform : translate(0, 0);
}


/*-------------------------
  文字の前に画像を入れる
---------------------------*/
.cont_brfore::before {
  content: '';
  display: inline-block;
  /*幅は変える*/
  width: 55px;
  height: 40px;
  /*ここの画像も変える*/
  background-image: url(https://kougei-expo.com/akita/event-national/css/img/mail.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  /*ここの余白も自由に変える*/
  margin-right: 10px;
}


/*-------------------------
  ワークス 一覧
---------------------------*/
.img_container {
  position: relative;
  height: 0;
  background: #ddd;
  overflow: hidden;
}

.img_container img{
  position: absolute;
  top: 50%;
  left: 0%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  width: 100%;
}

h2.blog_ttl{
  font-weight: bold;
  font-size: 20px;
  line-height: 29px;
  text-align: left;
  padding-top: 0px;
  margin-bottom: 20px;
  margin-top: 0px;
}


h2.blog_ttl::before {
  content: none;
}

.blog_set{
  padding:10px;
  height: 200px;
}	

.blog_item{
  width: 380px;
  position: relative;
}

.blog_item:not(:last-child){
  margin-right: 29px;
}

.blog_item .img_container{
  width: 380px;
  height: 213px;
}

.blog_item .date{
  font-size: 12px;
  line-height: 26px;
}

.blog_item .txt{
  font-size: 16px;
  line-height: 26px;
}


@media screen and (max-width: 1300px){
  .blog{
    margin: auto;
    margin-top: 50px;
    width: 90%;
    justify-content: space-between;
  }
}

@media screen and (max-width: 1024px){
  .blog_item{
    width: 30%;
  }

  .blog_item .img_container {
    width: 100%;
    height: 130px;
  }

  .blog_item:not(:last-child){
    margin-right: 5%;
  }

  .blog_set{
    height: 250px;
  }	
}

@media screen and (max-width: 750px){
  .cont_width{
    width: 98%;
  }

  .blog{
    width: 100%;
  }

  .blog_item{
    width: 46%;
    margin-right: 2%;
    margin-left: 2%;
  }

  .blog_item:not(:last-child){
    margin-right: auto;
  }

  .blog_item .img_container {
    width: 100%;
    height: 90px;
  }

  .blog_set {
    padding: 5px;
    height: 120px;
  }

  h2.blog_ttl {
    font-size: 14px;
    margin-bottom: 0px;
    line-height: 16px;
  }

  .work p{
    font-size: 12px;
    line-height: 18px;
  }
}

/*-------------------------
  トピックス 一覧（縦書き） 
---------------------------*/
.topics .blog_item{
  width: 100%;
  margin-bottom:30px;
  border: 3px solid #013f7f;
  position: relative;
}

.topics .blog_item::after{
  content: "";
  position: absolute;
  top: 10px;;
  right: 10px;
  width: 0;
  height: 0;
  border-top: 40px solid #013f7e;
  border-left: 40px solid transparent;
}

.topics .img_container {
  position: relative;
  height: 0;
  background: #ddd;
  overflow: hidden;
  width: 250px;
}

.topics .img_container img{
  position: absolute;
  top: 50%;
  left: 0%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  width: 100%;
}

.topics .blog_set{
  padding:10px;
  width: calc(100% - 300px);
}	

.topics h2.blog_ttl{
  font-weight: bold;
  font-size: 20px;
  line-height: 29px;
  text-align: left;
  padding-top: 0px;
  margin-bottom: 20px;
  margin-top: 0px;
}

.topics .blog_item .img_container{
  width: 270px;
  height: 150px;
}

.topics .blog_item .date{
  font-size: 12px;
  line-height: 26px;
}

.topics .blog_item .txt{
  font-size: 16px;
  line-height: 26px;
}

@media screen and (max-width: 1024px){
  .topics .blog_item h2, .topics .blog_item p{
    margin-bottom: 0;
  }
}

@media screen and (max-width: 750px){

  .topics .blog_item::after{
    top: 3px;;
    right: 3px;
    border-top: 15px solid #013f7e;
    border-left: 15px solid transparent;
  }

  .topics.cont_width{
    width: 98%;
  }

  .topics .blog{
    width: 100%;
  }

  .topics .blog_item{
    width: 46%;
    margin-right: 2%;
    margin-left: 2%;
  }

  .topics .blog_set{
    padding:10px;
    width: 100%;
  }	

  .topics .blog_item:not(:last-child){
    margin-right: auto;
  }

  .topics .blog_item .img_container {
    width: 100%;
    height: 90px;
  }

  .topics .blog_set {
    padding: 5px;
    height: 160px;
  }

  .topics h2.blog_ttl {
    font-size: 14px;
    margin-bottom: 0px;
    line-height: 16px;
  }

  .topics p{
    font-size: 12px;
    line-height: 18px;
  }
}

/*-------------------------
　サンクスページ
---------------------------*/

#contact_txt .contact_txt{
  text-align: center;
  font-size:24px;
  line-height: 50px;
  font-weight: bold;
  margin-bottom:100px;
  margin-top:100px;
}

@media screen and (max-width: 750px){
  #contact_txt .contact_txt {
    font-size: 18px;
  }
}
