
/*
Theme Name: style.css
Template: style.css
Description:
Version:
*/


html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote,
pre, abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}



body {
  line-height: 0;
  background-image: url("./images/blue.jpg"); /* 画像 */
  background-size: cover;               /* 全画面 */
  background-attachment: fixed;         /* 固定 */
  background-position: center center;   /* 縦横中央 */
}


article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display:block;
}

nav ul {
  list-style:none;
}

blockquote, q {
  quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}

a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

/* change colours to suit your needs */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

/* change colours to suit your needs */
mark {
  background-color:#ff9;
  color:#000;
  font-style:italic;
   font-weight:bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}




/* change border colour to suit your needs */
hr {
  display:block;
  height:1px;
  border:0;
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}

input, select {
  vertical-align:middle;
}


h1, h2, h3{
  font-family: cochin;
  font-weight: normal;
  color:#44494c;
}

p, a, th, td{
  font-family: sans-serif;
  font-weight: lighter;
  color:#44494c;
}

th{
  font-family: sans-serif;
  font-weight: bold;
  color:#44494c;
}

@media (max-width: 500px) {
  h1{
    font-size: 24px;
  }

  h2{
    font-size: 20px;
  }

  h3{
    font-size: 18px;
  }

  p, a, th, td{
    font-size:16px;
  }
}




/*header
---------------------------------------------------------------------------------------------------*/
header {
  position:fixed;
}

.brand{
  padding-left: 15px;
}

.brand img{
  width:150px;
}

.site-header {
  position: relative;
  background-color: white;
  z-index: 100;
  width:100%;
  position: fixed;
}

.site-header__wrapper {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

  @media (min-width: 600px) {
    .site-header__wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }
@media (min-width: 600px) {
  .nav__wrapper {
    display: flex; }
  }

@media (max-width: 599px) {
    button {
    	margin: 0;
    	padding: 0;
    	outline: 0;
    	border: 0;
    	border-radius: 0;
    	background: transparent;
    	color: inherit;
    	vertical-align: middle;
    	text-align: inherit;
    	font: inherit;
    	-webkit-appearance: none;
    	appearance: none;
    }
    /**************** 以下、ハンバーガーボタンのスタイリング ****************/
    .btn {
    	/* ボタンの配置位置  */
    	position: fixed;
    	top: 32px;
    	right: 16px;
    	/* 最前面に */
    	z-index: 10;
    	/* ボタンの大きさ  */
    	width: 48px;
    	height: 48px;
    }
    /***** 真ん中のバーガー線 *****/
    .btn-line {
    	display: block;
    	/* バーガー線の位置基準として設定 */
    	position: relative;
    	/* 線の長さと高さ */
    	width: 100%;
    	height: 1px;
    	/* バーガー線の色 */
    	background-color: #44494c;
    	transition: .2s;
    }
    /***** 上下のバーガー線 *****/
    .btn-line::before , .btn-line::after {
    	content: "";
    	/* 基準線と同じ大きさと色 */
    	position: absolute;
    	width: 100%;
    	height: 100%;
    	background-color: #44494c;
    	transition: .5s;
    }
    .btn-line::before {
    	/* 上の線の位置 */
    	transform: translateY(-16px);
    }
    .btn-line::after {
    	/* 下の線の位置 */
    	transform: translateY(16px);
    }
    /***** メニューオープン時 *****/
    .btn-line.open {
    	/* 真ん中の線を透明に */
    	background-color: transparent;
    }
    .btn-line.open::before , .btn-line.open::after {
    	content: "";
    	background-color: #44494c;
    	transition: .2s;
    }
    .btn-line.open::before {
    	/* 上の線を傾ける */
    	transform: rotate(45deg);
    }
    .btn-line.open::after {
    	/* 上の線を傾ける */
    	transform: rotate(-45deg);
    }
    /**************** ここまで、ハンバーガーボタンのスタイリング ****************/

      /**************** 以下、メニューのスタイリング ****************/
      .nav__wrapper {
      	/* メニューを縦に */
      	display: flex;
      	flex-direction: column;
      	position: fixed;
      	/* メニューの位置マイナス指定で画面外に */
        visibility: hidden;
      	width: 100%;
      	height: 95vh;
      	background-color: rgba(255, 255, 255, .8);
      	color: #44494c;

      }
      .nav__item {
      	/* メニューテキスト位置をリスト内中心に */
      	display: flex;
      	align-items: center;
      	justify-content: center;
      	width: 100%;
      	height: 100%;
      }
      .nav__item:hover {
      	background-color: rgba(255, 255, 255, .5);
      	color: #44494c;
      	cursor: pointer;

      }
      /***** メニューオープン時位置0にして画面内に *****/
      .nav__wrapper.open {
      	position: absolute;
      	right: 0;
        z-index: 10;
        visibility: visible;
      }

      /* 600px以上はハンバーガーボタン非表示、ヘッダー固定 */
      @media screen and (min-width: 600px) {
      	.btn {
      		display: none;
      	}
      	.menu {
      		/* メニューを横に */
      		display: flex;
      		flex-direction: row;
      		position: fixed;
      		top: 0;
      		right: 0;
      		width: 100%;
      		height: 100px;
      	}
      }
      /**************** ここまで、メニューのスタイリング ****************/
}

.nav__item a {
  display: block;
  padding: 1.5rem 1rem;
}

.nav__toggle {
  display: none;
}

  @media (max-width: 599px) {
    .nav__toggle {
      display: block;
      position: absolute;
      right: 1rem;
      top: 0.5rem;
    }
  }

  .container{
  	width: 87.5vw;
    margin-right: 6.25vw;
    margin-left: 6.25vw;
  }


  /*メイン写真部分
  ---------------------------------------------------------------------------------------------------*/
.bg_main-text {                           /* 枠線指定 */
    top: 50%;
    left:6.25vw;
    position:absolute;
    color:white;
}

.bg_main {
    background-image: url("./images/main.jpeg");
    background-size: cover;
    background-position: center;  /* 写真を中央を起点にして縮まる */
    text-align:  center;    /* 文字中央寄せ */
    width: 100%;
    height: 100vh;　/* どのPCのたかさでもぴったり合うように。 */
    top: 50%;
    position:relative;
    z-index: 10;
}

.bg_main::before {
  content: '';
  /* ↓暗いオーバーレイを半透明で配置 */
  background-color: rgba(0, 0, 0, 0.4);
  /* ↓全体を覆うように配置 */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bg_main-logo{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}


.bg_main-logo img{
  width:200px;
  z-index: 50;
}


/*ABOUTの部分
---------------------------------------------------------------------------------------------------*/
h2 {
  display: flex;
  align-items: center;/* 縦位置の調整 */
/*    justify-content: center;*/
}

h2::before,
h2::after {
  content: '';
  flex-grow: 1;/* 余白を分け与える */
  height: 1px;
  background: black;
}

/* 見出しの文字と横棒の間隔を開ける */
h2::before {
  margin-right: 40px;
}

h2::after {
  margin-left: 40px;
}

.about-wrap{
  margin:80px 0 160px 0;
}

.section-title{
  margin-bottom:80px;
  margin-left: auto;
  margin-right: auto;
  width: 30rem;
  font-size: 2rem;
}

.about-text{
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  line-height: 2;
  text-align: center;
}

@media (max-width: 1000px) {
  .about-text{
    width:80%;
  }
}


@media (max-width: 500px) {
  .section-title{
    width: 20rem;
  }

  .section-title h2{
    font-size: 1.5rem;
  }
}

@media (max-width: 500px) {
  .section-title{
    width: 18rem;
  }
  .section-title h2{
    font-size: 1.25rem;
  }
}




/*TEAMの部分
---------------------------------------------------------------------------------------------------*/
.team-wrap{
  margin-bottom:160px;
}

.sample08 .box {
  display: flex;
}

.sample08 .box .img {
  flex-shrink: 0;
}

.sample08 .box:nth-child(even) {
  flex-direction: row-reverse;/* ★ポイント★ */
}

.sample08 .box:nth-child(odd) .desc {
  padding-left: 50px;
}

.sample08 .box:nth-child(even) .desc {
  padding-right: 50px;
}

.sample08 .box .desc {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.img{
  width:50%;
}

.box2{
  margin-top:80px;
}

.txt{
  margin-top:40px;
  line-height: 1.5;
}

.box h3{
  font-size: 1.5rem;
}

@media (min-width: 1300px) {
.team-container{
margin: 0 10vw;
}
}

@media (max-width: 1000px) {
.box{
  display:flex;
  flex-wrap:wrap;
}

.img{
  width:100%;
}

.sample08 .box:nth-child(odd) .desc {
  padding-left: 0;
  margin-top: 40px;
}

.sample08 .box:nth-child(even) .desc{
  padding-right: 0;
  margin-top: 40px;
}

}


/*serviceの部分
---------------------------------------------------------------------------------------------------*/
.service-wrapper{
  margin-bottom: 160px;
}

.service-wrap h3{
  text-align: center;
  margin:40px 0;
  font-size: 1.5rem;
}

.service {
	width: 100%;
  height:80%;
	overflow:		hidden;
	position:		relative;	/* 相対位置指定 */
  object-fit: cover;
}
.service .caption {
	font-size:		130%;
	text-align: 		center;
	padding-top:		80px;
	color:black;
}
.service .mask {
	width:			100%;
	height:			100%;
	position:		absolute;	/* 絶対位置指定 */
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(255,255,255,0.7);	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}
.service:hover .mask {
	opacity:		1;	/* マスクを表示する */
}

.service:hover .ca_btn{
  opacity:		0; /* ボタンの表示を消す */
}

.caption{
  margin-left: auto;
  margin-right: auto;
  width:80%;
}

.caption p{
  line-height: 1.5;
}

.ca_btn{
  padding:20px 0;
}

a.ca_btn {
	display: block;
	width: 160px;
	text-align: center;
	text-decoration: none;
	background-color: rgba( 255, 255, 255, 0.8 );
	transition: .2s;
  color: #44494c;
  top:50%;
  left:50%;
}
a.ca_btn:hover {
	background: #44494c;
	color: #fff;
}


.example {/*親div*/
  position: relative;/*相対配置*/
  height:500px;
  }

.example a {
  position: absolute;/*絶対配置*/
  color: black;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  }

.example img {
  width: 100%;
  }


  /* sp */
  @media only screen and (min-width: 500px) and (max-width: 800px) {
    .example img{
      height: 500px;
      object-fit: cover;
    }
    .caption p{
      font-size: 16px;
    }
  }

  @media only screen and (max-width: 499px) {
    .example img{
      height: 500px;
      object-fit: cover;
    }

    .caption p{
      font-size: 14px;
    }
  }



/*contactの部分
---------------------------------------------------------------------------------------------------*/
.contact-wrap{
  margin-bottom:160px;
}

a.cp_btn {
	display: block;
	width: 160px;
	padding: 1.5em;
	text-align: center;
	text-decoration: none;
	color: #44494c;
	border: 2px solid #44494c;
	border-radius: 3px;
	transition: .4s;
}
a.cp_btn:hover {
	background: #44494c;
	color: #fff;
}

.contact-wrap a{
  margin-left: auto;
  margin-right: auto;

}







/*Company informationの部分
---------------------------------------------------------------------------------------------------*/
.company-wrap{
  margin-bottom:160px;
}

#table01{
  margin-left: auto;
  margin-right: auto;
  width:50%;
}

#table01 tr {
  border-bottom: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
  padding: 24px 0;
  border: none;
}

#table01 th {
  width: 30%;
}

/* sp */
@media only screen and (max-width: 800px) {
  #table01{
    width:70%;
  }

  #table01 th,
  #table01 td {
    width: 100%;
    display: block;
  }

  #table01 th {
    width: 100%;
    text-align: left;
  }

  #table01 td {
    padding-top: 0;
  }
}


/*footer
---------------------------------------------------------------------------------------------------*/
a{
  display: block;
  text-decoration: none;
}
img{
  width: 100%;
  height: auto;
}

.FooterSection {
  padding-top: 24px;
  padding-bottom: 24px;
  background: #2f2e2e;
}
.Footer-Inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  width: 100%;
}
.Footer-Inner-Logo {
  margin-left: auto;
  margin-right: auto;
  width: 64px;
}

.Footer-Inner-CopyRight {
  margin-top: 20px;
  text-align: center;
  color: #fff;
  font-size: 16px;
}







/*media Queries パソコンサイズ（960px～1200px）小さめのパソコンサイズ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 960px) and (max-width: 1200px) {

}

/*media Queries　タブレットサイズ1024以上で適応したいCSS - タブレット
---------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {

}

/*レイアウトデザイン終わり*/
/*media Queries スマートフォンとタブレットサイズ（959px以下）- スマホ・タブレット
---------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 959px) {

}

/*media Queries タブレットサイズ（600px～959px）のみで適応したいCSS -タブレットのみ
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 959px) {
  .container{

  }
}


/*media Queries スマホサイズ（599px）以下 - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {
.box{
  flex-direction: column;
}

.order1 {
  order: 1;
}
.order2 {
  order: 2;
}
.order3 {
  order: 3;
}
.order4 {
  order: 4;
}

}


/*media Queries スマホサイズ（330px）以下 - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 330px) {

}
