 /*
 Theme Name: tadashikitamura portfolio
 Theme URI: https://www.tadashikitamura.com
 Description:ポートフォリオ
 Version: 1.0.0
 Author: tadashi kitamura
 Author URI: https://www.tadashikitamura.com
 */

/*================
 PC用のスタイル
=================*/

 /* PC、スマホ共通スタイル */


 @import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300&display=swap');
body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
}



@media screen and (min-width: 768px) {


  /* 横幅設定 */
  body {
      max-width: 1080px;
      min-width: 900px;
      margin: 0 auto 0 auto;
  }


.myname {
  display: inline-block;
   font-size: 30px;
   margin-left: 100px;
   margin-top: 60px;

  
}

 .mycategory {
  display: inline-block;
  font-size: 20px;
  width: 100%;
  text-align: right;
 }
 
 .mycategorydiv {
   display:inline-block;
   text-align:  left;
   padding-right: 80px;
 }


.navmenu {
  margin-left: 50px;
}

a {
  text-decoration: none;
  color: #000;
  
}

.coverdiv {
  width: 100%;
  text-align: center;
}
.mycover {
  width: 90%;
  margin-top: 100px;
 
}

.sarvicefont {
  display: flex;
	align-items: center;
   margin-top: 100px;
   font-size: 30px;
   margin-bottom: 100px;
  
}

.sarvicefont:before,
.sarvicefont:after
  {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #000;
  margin:0 2em;
}


.servise { 
display: flex;
  }
  

.imgimg {
  width: 70%;
}


.servisep{
  width: 180px;
  word-wrap: break-all;
  padding: 0%;
  margin-left: 95px;
  margin-top: 20px;
  text-align: left;
}


.allservise {
  text-align: center;
}

/* ワークス ホーム画面*/

#myworks {
  display: flex;
	align-items: center; 
  margin-top: 100px;
  font-size: 30px;
  margin-bottom: 100px;
}

#myworks:before,
#myworks:after {
  content: "";
  flex-grow: 1;
  height: 1px; /* 線の太さ */
  background: #000; /* 線の色 */
  margin:0 2em; /* 文字と線の余白 */
}

/* ワークス　ホーム画面　画像一覧 */
#webworks {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
  text-align: center;
}

.wrapper::after{
  content:"";
  width: 30%;
  height: 140px;
  display: block; 
  text-align: center; 
}
 
#webworks img {
  width: 100%;
  height: 140px;
  margin-bottom: 23px;
  text-align: center; 
}

.workshomeimg {
  width: 30%;
}

.conpanyp {
  margin-top: -20px;
  margin-bottom: 30px;
  padding: 0;
}

.worksbottom {
  margin-bottom: 20px;
}

/* ワークス　別ページ ページネーションのあるワークスページ*/

.workspageimg {
  width: 100%;
  height: auto;
}

.workspageimg img{
  width: 90%;
  max-height: 440px;
  margin-left: 3%;
}

.workspage {
  margin-left: 93px;
}

.workspage2 {
  margin-top: 100px;
}

.workspagecomment {
  width:90%;
  word-break: break-all;
  margin-left: 3%;
}

.conpanyname {
  margin-left: 3%;
}

.planningdiv{
  margin-left: 3%;
}

/* ページネーションcss */
.pagination{
   margin:40px 0 0;
}
.nav-links{
   display:flex;
}

.pagination .page-numbers{
   display:inline-block;
   margin-right:20px;
   padding:20px 25px;

}
 
.pagination .current{
   padding:20px 25px;
   /* ボタン背景色 */
   background:#000;
   color:#fff;
}
.pagination .prev,
.pagination .next{
   background:transparent;
   box-shadow:none;
   color:#000;
}
.pagination .dots{
   background:transparent;
   box-shadow:none;
}

.pnavi {
	text-align: center;
}

/* ワークス　会社個別詳細 */
.worksallset {
  width: 100%;
  text-align: center;
}

.worksallset img {
  width: 700px;
  height: 500px;
}

.conpanyname {
  margin-bottom: 10px;
}

.planningdiv {
 width: 100%;
 word-break: break-all;
}

.workscomment {
  width: 70%;
  margin: auto;
}

.worksthreecat {
  width: 100%;
  text-align: center;
}

/* Aboutページ */
  .aboutfont {
    display: flex;
    align-items: center;
    margin-top: 100px;
    font-size: 30px;
  }
  
  .aboutfont:before,
  .aboutfont:after {
    content: "";
    flex-grow: 1;
    height: 1px; /* 線の太さ */
    background: #000; /* 線の色 */
    margin:0 2em; /* 文字と線の余白 */
}

.aboutimg {
  width: 80%;
}

.allaboutphoto {
   display: flex;
   margin-left: 85px;
   margin-top: 100px;
}

.aboutcomment {
  margin-top: 80px;
  margin-left: 100px;
}

.aboutprofilediv {
  margin-top: 80px;
  margin-left: 55px;
}

.aboutprofile {
  padding: 0.5em 1em;
  margin: 2em 0;
  border: solid 2px black;
  border-radius: 20px;
  display: inline-block;
  margin-left:40px;
  margin-top:0px;
}

/* aboutページ終了 */



/* フッター */

.allfooter {
  display: flex;
  margin-top: 100px;
  margin-left: 30px;
}

.footermenu {
  margin-left: 30px;
}

.footername {
  margin-left: 850px;
}

/* contactページ */

.contactfont {
  display: flex;
  align-items: center;
  margin-top: 100px;
  font-size: 30px;
}

.contactfont:before,
.contactfont:after {
  content: "";
  flex-grow: 1;
  height: 1px; /* 線の太さ */
  background: #000; /* 線の色 */
  margin:0 2em; /* 文字と線の余白 */
}

.contactcomment {
  margin-top: 90px;
  margin-bottom: 50px;
}

/* Contact Form7 */
 
.contact7 {
	max-width: 100%;
	box-sizing: border-box;
}

.contact7 dd {
	margin: 0 0 30px 0;
	background-color:"";
}

.contact7 dt {
	font-weight: normal;
}
 
/* 必須マーク */
.contact7 .must {
	background: #FF1A00;
}
 
/* 任意マーク */
.contact7 .optional {
	background: #999;
}
 
.contact7 .must,
.contact7 .optional {
	color: #FFF;
	border-radius: 3px;
	font-size: 10px;
	margin-left: 10px;
	padding: 5px 10px;
	letter-spacing: 2px;
}

.btn_contact7 {
	text-align: center;
}

.btn_contact7 input {
	width: 70%;
	background-color: #999;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #999;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}

.btn_contact7 input:hover {
	background-color: #FFF;
	color: #999; 
}


.contact7 dd {
	margin-left: 35%;
	}
 
.btn_contact7 input {
	width: 70%;
	background-color: #999;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #999;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}

.btn_contact7 input:hover {
	background-color: #FFF;
	color: #999; 
}


}


/*====================
 スマートフォン用のスタイル
=====================*/
@media screen and (max-width: 767px) {

  /* ヘッダー */
  a {
    text-decoration: none;
    color: #000;
  }
  
.myname {
  display: inline-block;
   font-size: 20px;
   width: 100%;
  text-align: left;
}

.mycategory {
 display: inline-block;
 font-size: 15px;
 width: 100%;
 text-align: right;
}

.mycategorydiv {
  display:inline-block;
  text-align:  left;
}

.navmenu {
  margin-left: 50px;
}

/* 田植え自己紹介 */

.coverdiv{
width: 100%;
text-align: center;
}

.mycover {
  width: 100%;
  margin-top: 50px;
}

/* サービス　フォント */

.sarvicefont {
  display: flex;
	align-items: center;
   margin-top: 50px;
   margin-bottom: 50px;
   font-size: 20px;
}

.sarvicefont:before,
.sarvicefont:after
  {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #000;
  margin:0 2em;
}


/* サービス　案内 */
  
.servise {
  width: 100%;
  height: 100%;
  text-align: center;
}
  .imgimg {
    width: 30%;
    margin: 0 auto;
  }

  .servisep{
    width: 90%;
    margin: 0 auto;
    word-wrap: break-all;
    text-align: center;
  }

/* ワークス　フォント */

#myworks {
  display: flex;
	align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
  font-size: 20px;
}

#myworks:before,
#myworks:after {
  content: "";
  flex-grow: 1;
  height: 1px; /* 線の太さ */
  background: #000; /* 線の色 */
  margin:0 2em; /* 文字と線の余白 */
}

 
/* ワークス　ホーム画面　画像一覧 */


#webworks {
  width: 100%;
  text-align: center;
}

#webworks img {
  width: 300px;
  height: 150px;
  margin-bottom: 23px;
}

.conpanyp {
  margin-top: -20px;
  margin-bottom: 30px;
  padding: 0;
}

/* フッター */

.worksbottom { 
  display: none;
}

.allfooter {
  display: flex;
  margin-left: 0px;
}

.footermenu {
  margin-left: 30px;
}


.footername {
  text-align: right;
}


  /* Aboutページ */
  .aboutfont {
    display: flex;
    align-items: center;
    margin-top: 100px;
    font-size: 20px;
  }
  
  .aboutfont:before,
  .aboutfont:after {
    content: "";
    flex-grow: 1;
    height: 1px; /* 線の太さ */
    background: #000; /* 線の色 */
    margin:0 2em; /* 文字と線の余白 */

}

.allaboutphoto {
  width: 100%;
  display: flex;
  text-align: center;
}

.aboutimg {
  width: 100%;
}

.aboutcomment {
 margin-top: 80px;
 text-align: center;

}

.aboutprofilediv {
 width: 100%;
}

.aboutprofile {
 padding: 0.5em 1em;
 margin: 2em 0;
 border: solid 2px black;
 border-radius: 20px;
 display: inline-block;
 width: auto;
 margin-top:10px; 
}

/* ワークス　ページネーションのページ */

.workspageimg{
  width: 90%;
  margin-top: 30px;
  text-align: center;
}

.workspageimg img{
  width: 70%;
  height: auto;
}

.workspagecomment {
  width:70%;
  word-break: break-all;
  margin-left: 14%;
}

.conpanyname {
  margin-left: 14%;
}

.planningdiv{
  margin-left: 14%;
}


/* ページネーションcss */
.pagination{
  margin:auto;
}

.nav-links{
  display:flex;
}


.pagination .page-numbers{
  display:inline-block;
  margin-right:10px;
  padding:10px 10px;
  margin-bottom: 30px;

}

.pagination .current{
  padding:10px 10px;
  /* ボタン背景色 */
  background:#000;
  color:#fff;
}
.pagination .prev,
.pagination .next{
  background:transparent;
  box-shadow:none;
  color:#000;
}
.pagination .dots{
  background:transparent;
  box-shadow:none;
}

.pnavi {
 text-align: center;
}

/* ワークス　会社個別詳細 */
.worksallset {
  width: 100%;
  text-align: center;
}

.worksallset img {
  width: 80%;
  height: auto;
}

.conpanyname2 {
  margin-bottom: 10px;
  margin-left: 10%;
}

.planningdiv2 {
 width: 100%;
 word-break: break-all;
 margin-left: 10%;
}

.workscomment {
  width: 70%;
  margin-left: 10%;
  margin-bottom: 30px;
}

.worksthreecat {
  width: 100%;
}

/* contactページ */

.contactfont {
  display: flex;
  align-items: center;
  margin-top: 100px;
  font-size: 20px;
}

.contactfont:before,
.contactfont:after {
  content: "";
  flex-grow: 1;
  height: 1px; /* 線の太さ */
  background: #000; /* 線の色 */
  margin:0 2em; /* 文字と線の余白 */

}

.contactcomment {
  margin-top: 90px;
  margin-bottom: 50px;

}

/* Contact Form7 */

.contact7 {
	max-width: 100%;
	box-sizing: border-box;
}

.contact7 dd {
	margin: 0 0 30px 0;
	background-color:"";
  width: auto;
  margin-left: 0px;
}

.contact7 dt {
	font-weight: normal;
}
 
/* 必須マーク */
.contact7 .must {
	background: #FF1A00;
}
 
/* 任意マーク */
.contact7 .optional {
	background: #999;
}
 
.contact7 .must,
.contact7 .optional {
	color: #FFF;
	border-radius: 3px;
	font-size: 10px;
	margin-left: 10px;
	padding: 5px 10px;
	letter-spacing: 2px;
}


.btn_contact7 {
	text-align: center;
}

.btn_contact7 input {
	width: 70%;
	background-color: #999;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #999;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}

.btn_contact7 input:hover {
	background-color: #FFF;
	color: #999; 
}


.contact7 dd {
	margin-left: 0%;
	}
 
.btn_contact7 input {
	width: 70%;
	background-color: #999;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #999;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}

.btn_contact7 input:hover {
	background-color: #FFF;
	color: #999; 
}

.contact7div {
  width: 100%;
  text-align: left;
  margin-left: 0px;
}


}

