/*
Theme Name: Mado-Theme
Theme URL:https://mado-yamamoto.co.jp/
Description: This is Mado Theme
*/


@charset "utf-8";

/*  body  */
body {
	--main-blue-color:#02478f;
	--main-white-color:#fff;
}
/*  mainContents  */
#mainContents {
	background-color: var(--main-blue-color);
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	width:1370px;
	margin:auto;
}
.contents {
	background-color:#fff;
	background-image: url('/common/images/bg.png');
	width:calc( 100% - 273px );

}
hr {
	width:80%;
	margin-top:50px;
	border:solid 2px var(--main-blue-color);
}
.t-white {
	color:var(--main-white-color);
}
.t-blue {
	color:var(--main-blue-color);
}

/*  header  */
#siteHeader {
	width:273px;
	height:100%;
}
#globalMenu {
	padding-top:68px;
	margin-left:50px;
}
#globalMenu li {
	padding:7px 0;
	border-bottom: solid 3px var(--main-blue-color);
}
#globalMenu li:hover {
	border-bottom:solid 3px #FFF;
}
#globalMenu li a {
	color:var(--main-white-color);
}
.diag {
	transform: skewY(-10deg);
}
.undiag {
	transform: skewY(10deg);
}

/*   トップページイメージ      */
section {
}
section.top {
}
#eyecatch {
}
#topImgBOX {
	width:calc( 100% + 280px );
	position:relative;
	left:-150px;
	text-align: right;
	padding-right:120px;
}
#topImgBOX div.topImg {
	width:100%;
}
#topImgBOX div.topImg img {
	width:100%;
	height:100%;
	object-fit: cover;
}
#topImgBOX H1 {
	font-size:90px;
	font-weight:700;
	color: var(--main-blue-color);
}
#topImgBOX span {
	font-size:29px;
	font-weight:700;
}
div#topMes {
	font-size:65px;
	font-weight: 700;
	font-style: italic;
	color :var(--main-blue-color);
	margin-left:80px;
	line-height: 1em;
	margin-bottom: 50px;
}
div.message {
	max-width:750px;
	background-color: #FFF;
	font-size:18px;
	font-weight: 700;
	font-style: italic;
	margin-left:80px;
	line-height: 1.8em;
	display: inline-block;
}

/*   ニュース      */
section#topNews {
	margin-top:50px;
}
.newsBOX {
	position:relative;
	left:-80px;
	line-height: 1em;
	display:flex;
	flex-direction: row;
	font-style: italic;
}
.newsBOX h2{
	font-size:107px;
	font-style: italic;
}
.newsBOX h3{
	font-size:33px;
	font-style: italic;
	color :var(--main-blue-color);
	width: 100%;
	text-align: right;
}
#newsichiran {
	width: 100%;
	text-align: right;
}
#newsichiran a {
	width:153px;
	height:63px;
	background-color:#d9d9e8;
	color :var(--main-blue-color);
	padding:15px;
	font-size:12px;
	font-style: italic;
	border-radius: 30px;
	line-height: 10em;

}
#newsList {
	margin-left:195px;
	margin-bottom:100px;
}
.post-wrap {
	margin-bottom:20px;
}

.post-date {
	color :var(--main-blue-color);
	font-size:32px;
	font-style: italic;
}
.post-title {
	color :var(--main-blue-color);
	font-size:35px;
	font-style: italic;
	margin-top:30px;
}
.post-excerpt {
	font-size:25px;
	font-style: italic;
	margin-top:30px;
}





/*   サービス      */
section#Service {
	margin-top:50px;
}
.ServiceBOX {
	position:relative;
	left:-80px;
	line-height: 1em;
	display:flex;
	flex-direction: row;
	font-style: italic;
}
.ServiceBOX h2{
	font-size:107px;
	font-style: italic;
}
.ServiceBOX h3{
	font-size:33px;
	font-style: italic;
	color :var(--main-blue-color);
	width: 100%;
	text-align: right;
}
.serviceImg {
	width:calc(( 100% / 4 ) - 50px);
	margin:10px;
}
.serviceImg img{
	object-fit: cover;
	width: 100%;
}
.serviceImg:nth-child(3){
	position: relative;
	top:-150px;
}
.serviceImgBOX {
	margin-top:50px;
	width:100%;
	margin:10px;
	margin-bottom:-100px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}

/*   AboutUS      */
section#Aboutus {
	margin-top:50px;
}
.AboutusBOX {
	position:relative;
	left:-80px;
	line-height: 1em;
	display:flex;
	flex-direction: row;
	font-style: italic;
}
.AboutusBOX h2{
	font-size:107px;
	font-style: italic;
	text-wrap: nowrap;
}
.AboutusBOX h3{
	font-size:33px;
	font-style: italic;
	color :var(--main-blue-color);
	width: 100%;
}
#Aboutus .president {
	position:relative;
	left:-80px;
	display: flex;
	flex-direction: row;
}
#Aboutus div.president div.presidentImg {
	width:600px;
	height:100%;
}
#Aboutus div.president div.presidentImg img {
	object-fit: cover;
	width:100%;
	height:100%;
}
.aboutMenu {
	text-align: right;
}
.aboutMenu li{
	font-size: 60px;
	margin-bottom:40px;
	font-style: italic;
}
.about-jp {
	font-size:22px;
}


/*   仕事内容について（インタビュー      */


/*   取引先      */
#businessPartner {
	text-align:right;
}
#businessPartner h2{
	font-size:107px;
	font-style: italic;
}
#businessPartner h3{
	font-size:29px;
	font-style: italic;
}
#businessPartner .container{
	margin-right:100px;
}
#businessPartner ul{
	margin-top:35px;
	width:100%;
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
  align-content: space-around;
  align-items: center;
}
#businessPartner ul li{
	margin:5px;
	width:250px;
}
#businessPartner ul li img{
	width:100%;

}

/*  single  */

#singlePage h1 {
	font-size:33px;
	color :var(--main-blue-color);
	font-style: italic;
	text-align: center;
	margin:50px;
}
#singlePage h4 {
	font-size:33px;
	color :var(--main-blue-color);
	font-style: italic;
	text-align: center;
	margin:50px;
}
#singlePage {
	padding:20px;
}
#singlePage p {
  color:#000;
  font-size:20px;
  margin-bottom:23px;
  line-height:1.5em;
}


/*  footer  */
#footerbg {
	background:url('/common/images/footerbg.jpg') no-repeat;
	background-size:cover;
	padding-bottom:220px;
}
#incFooter {
	width:100%;
	background-color :var(--main-blue-color);
	color:var(--main-white-color);
}
#incFooter a {
	color:var(--main-white-color);
}
#incFooterinner {
	width:1369px;
	margin:auto;
	display:flex;
	flex-direction: row;
	align-items: flex-start;
}
.smallLogo {
	font-size:13px;
}
.footerLogo {
	font-size:26px;
}
.footerBox {
	width:50%;
	padding:15px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.box3 {
  flex-basis:100%;
	font-size:13px;
	padding:15px;
}
.sitemap {
	font-size:23px;
}
.footerLogoL {
	width: 50%;
	padding:15px;
}
.footerLogoR {
	width:300px;
	padding:15px;
}
.footerLogoR {
	padding: 0px;
}
.footerLogoR img.footerMaker {
	height:41px;
	background-color:var(--main-white-color);
}
.blogImg {
	margin-top:30px;
	width:300px;
	height:100px;
}
.blogImg img {
	width:100%;
	object-fit:cover;
}
.footerMenu {
	padding:30px;
}
.footerMenu li {
	padding-top:30px;
	border-bottom:solid 3px var(--main-blue-color);
}
.footerMenu li:hover {
	padding-top:30px;
	border-bottom:solid 3px #FFF;
}


/* ■■■■■■■■■■■　pageNation ページネイション　■■■■■■■■■■■  */


/* ■■■■■■■■■■■　widgets　■■■■■■■■■■■  */



/* ■■■■■■■■■■■　検索　■■■■■■■■■■■  */


/* ■■■■■■■■■■■　ページネイション　■■■■■■■■■■■  */
.pagenation {
	display:flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}
.oldpage {
	width:calc( 50% - 50px );
	display:flex;
	flex-direction: row;
	white-space: wrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.oldpage > a {
	display:block;
	background:#eee;
	padding:10px;
}
.oldpage > a:hover {
    background: #033fc5;
	color:#fff;
}
.newpage {
	width:calc( 50% - 50px );
	display:flex;
	flex-direction: row;
	white-space: wrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.newpage > a {
	display:block;
	background:#eee;
	padding:10px;
}
.newpage > a:hover {
    background: #033fc5;
	color:#fff;
}
.wp-block-search .wp-block-search__label {
	font-size:18px;
	color:#fff;
}
#archives-dropdown-2 {
	width:100%;
	padding:10px;
}
#archives-dropdown-2 > option {
	font-size:16px;
}
.arciveList {
	width:calc( 100% - 20px );
	padding:10px;
	border:1px solid #ccc;
}
.arciveList > li > a {
	display:flex;
	height:100%;
}
.listThumb {
	width: calc(20% - 15px);
	float:left;
	margin:5px;
}
.listBody {
	width:calc( 80% - 20px );
	padding:10px;
	float:right;
	display:table-cell
}
h3.listTitle{
	font-weight:bold;
	font-size:18px;
	border:none;
	background-color:transparent;
	color:#333;
}


/* ■■■■■■■■■■　Mobile CSS Document */
@media screen and (max-width:800px){ 
	

#mainContents {
    width:100%;
		background-color: #fff;
}
section {
	width:calc( 100% - 10px );
	position: static;
	padding:5px;
	margin: auto;
}
#siteHeader {
	width:100px;
	height:100%;
}
.contents {
	width: 100%;
}
/*   トップページイメージ      */

#topImgBOX {
	width:100%;
	height:450px;
	position: static;
	padding-right:0px;
}
#topImgBOX span {
	font-size:14px;
}
#topImgBOX H1 {
	font-size:26px;
}
div#topMes {
	font-size:30px;
	margin-left:0px;
	margin-top: -100px;
}
.newsBOX {
	width:100%;
	position:static;
	flex-direction: column;
}
div.message {
	width:100%;
	margin-left:0Px;
}
#newsList {
    margin-left: 0px;
}
.post-date {
	font-size:14px;
}
.post-title {
	font-size:14px;
}
.t-white {
	color:var(--main-blue-color);
}
.ServiceBOX {
	position: static;
}
.ServiceBOX h2 {
	font-size:80px;
}
.serviceImg {
    width: calc((100% / 4));
    margin: 2px;
}
.serviceImg:nth-child(3) {
    position: relative;
    top: -20px;
}
.AboutusBOX {
	position: static;
	flex-direction: column;
}
.AboutusBOX h2 {
	font-size: 80px;
}
#Aboutus .president {
	position: static;
	display: block;
}
#Aboutus div.president div.presidentImg {
	width:100%;
	margin-bottom:50px;
}
.aboutMenu li {
	font-size:20px;
}
#businessPartner h2 {
	font-size:40px;
}
#businessPartner .container{
	width:100%;
}
.footerBox {
	width:100%;
	padding:15px;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}
.footerLogoL {
	width:100%;
}
.footerMenu {
	padding:5px;
}

/*  single  */

#singlePage h1 {
	font-size:20px;
	color :var(--main-blue-color);
	font-style: italic;
	text-align: center;
	margin:50px;
}
#singlePage h4 {
	font-size:24px;
	color :var(--main-blue-color);
	font-style: italic;
	text-align: center;
	margin:50px 10px;
}
#singlePage {
	padding:20px;
}
#singlePage p {
  color:#000;
  font-size:16px;
  margin-bottom:10px;
  line-height:1.5em;
}







#incFooterinner {
	width:100%;
	display:flex;
	flex-direction: column;
	align-items: flex-start;
}

.footerLogoR img.footerMaker {
	margin:auto;
	height:41px;
	background-color:var(--main-white-color);
}
.blogImg {
	margin:auto;
	margin-top:30px;
	width:100%;
	height:100%;
}
.blogImg img {
	width:100%;
	object-fit:cover;
}























}