@charset "UTF-8";

@import url("reset.css");
 /* @import url("color.css"); */

  /*HTMLに対する基本設定*/
html {
  width: 100%;/*HTMLがスクロールバーを避けて表示してしまうのを防ぐため*/
  min-width: 360px;/*iphone3/4のサイズ*/
  font-size: 62.5%;
}

body{
	font-family: YuGothic, "游ゴシック体", "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
  letter-spacing: .025em;
  line-height: 1.8;
  margin: 0;
}




/* SPーーーーーーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 768px){
  header {
		position: relative;
		width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;

  }
  h1 {
  margin: 16px 0 20px 16px;

  }
  /*　ハンバーガーボタン　*/
.hamburger {
	position: absolute;
  xposition: fixed;
  z-index : 3;
  right : 16px;
  top   : 20px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
  background-image: url("../images/sp_menu.gif");
  background-position: center center;
  background-repeat: no-repeat;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #555;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}


/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

nav.globalMenuSp {
  display: none;
  xposition: fixed;
  z-index : 2;
  top  : 0;
  left : 0;
  color: #fff;
  background: #3b5b83;
  text-align: center;
  width: 100%;

}

nav.globalMenuSp ul {
  margin: 0 auto;
  padding: 0;
  width: 100%;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;

}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
  background :#ddd;
}

nav.globalMenuSp ul li a {
  font-size: 14px;
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  opacity: 100;

}
  ul.utility {
    width: 100%;
    height: 30px;
    display: flex;
    flex-direction: row;

  }
  .utility li {
    width: 50%;
    height: 30px;
  }

  /* メイン＝＝＝＝＝＝＝＝＝＝＝ */

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
  h2 {
		width: 100%;
    font-size: 26px;
    text-align: center;
    padding: 3px 0 3px 0;
    color: #ffffff;
    background-color: #3b5b83;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .sec1 {
    margin-bottom: 20px;
  }
  h3 {
    font-size: 24px;
    padding-left: 16px;
    margin-bottom: 20px;
  }
	a[href^="tel:"]{
    pointer-events: none;
  }

  li {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
  }
  ul li:first-child {
    color: #378640;
  }
  ul li:nth-child(2) {
    color: #0072ba;
  }
  ul li:nth-child(3) {
    color: #ff7e1c;
  }
  ul li:last-child {
    color: #f62e36;
  }
  .sec2 form {
    font-size: 18px;
    xtext-align: center;
  }
  .sec2 form p {
    margin-bottom: 20px;
  }
  .sec2 p {
    font-size: 18px;
    margin: 0 0 0 60px;
    text-align: left;
  }
  .sec3 {
    margin-bottom: 20px;
  }
  .sec3 p {
    font-size: 14px;
    margin: 10px 16px 10px 16px;
    line-height: 20px;
  }
  .sec3 span {
    margin: 10px 50px 20px 50px;
  }

  .sec3 form {
    text-align: center;
  }


  #pagetop {
   display:inline-block;
   position:fixed;
   bottom:0;
   right:0;
  }


  #pagetop a {
		font-size: 6px;
 	 padding: 4px 4px;
 	 display:block;
 	 background:#008b8b;
 	 color:#fff;
 	 text-align:center;
  }

footer {
  position: relative;
  width: 100%;
  height: 100px;
  background-color: #f4e9e3
}
footer ul {
  display:flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0;
  text-align:center;

}
footer li {
  font-size: 14px;
  xdisplay: inline-block;
  width:150px;
  margin: 10px 8px;
}
footer ul a {
	text-decoration: none;
}
small {
	text-decoration: overline;
	text-decoration-color: white;
	text-decoration-thickness: 3px;
	position: absolute;
	font-size: 14px;
	bottom: 0;
	left: 40%;
	transform: translateX(-30%);
}



}


/* PC＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
@media screen and (min-width:769px){
	body,main {
		width: 100%;
	}
	header {
    width: 1260px;
		padding-top: 20px;
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
		margin-bottom: 30px;
	}
  h1 {
		/* position: absolute;
		top: 20px;
		left: 100px; */
		order: 1;
	}
	.hamburger {
		display: none;
	}
	ul.utility {
		width: 600px;
		height: 46px;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		/* position: absolute;
		top: 50px;
		right: 100px; */
		order: 2;
	}
	.utility li {
		width: 290px;
		height: 46px;
	}
	nav{
		width: 100%;
		order:3;
	}
	nav ul {
		height: 70px;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		background-color: #68b7a1;
	}
	nav li {
		box-sizing: border-box;
		width: 200px;
		height: 70px;
		text-align: center;
		padding-top: 10px;
	}
	nav li:hover {
		background-color: #00a096;
	}
	nav a {
		font-size: 16px;
		font-weight: bold;
		color: white;
		text-decoration: none;
	}

	main {
		width: 100%;
	}
	h2 {
		font-size: 50px;
		color: transparent;
		font-family: "Yu Gothic";
	  font-weight: bold;
	  z-index: 41;
		text-align: center;
		xmargin-top: 170px;
		margin: 80px auto;

	}
	.back-image {
		box-sizing: border-box;
		background-image: url(../images/otoiawase_gruop.jpg);
		background-size: 1100px;
		margin: 80px 200px;

		padding: 35px 0;
	}
	.sec1 {
		width: 100%;
    margin-bottom: 150px;

  }
  .sec1 h3 {
    font-size: 30px;
		font-weight: bold;
    margin-left: 220px;
		margin-bottom: 80px;
  }
	.sec1 h3::before {
	  content: "";
	  display: inline-block;
	  width: 20px;
	  height: 22px;
	  background-image:url(../images/pc_yellow.gif);
	  background-size: contain;
	  vertical-align: middle;
	}

  li {
    font-size: 26px;
    text-align: center;
    margin-bottom: 40px;
  }
  ul li:first-child {
    color: #378640;
  }
  ul li:nth-child(2) {
    color: #0072ba;
  }
  ul li:nth-child(3) {
    color: #ff7e1c;
  }
  ul li:last-child {
    color: #f62e36;
  }
	.sec1 span {
		font-weight: bold;
		margin-right: 30px;
	}
	.sec2 {
		width: 100%;
	}
	.sec2 h3 {
    font-size: 30px;
		font-weight: bold;
    margin-left: 220px;
		margin-bottom: 80px;
  }
	.sec2 h3::before {
	  content: "";
	  display: inline-block;
	  width: 20px;
	  height: 22px;
	  background-image:url(../images/pc_yellow.gif);
	  background-size: contain;
	  vertical-align: middle;
	}
	.sec2 form {
		margin-left: 500px;
    margin-bottom: 80px;

  }
  .sec2 form p {
    margin-bottom: 20px;
		line-height: normal;
  }
  .sec2 p {
    font-size: 26px;
		font-weight: bold;
    margin: 0 0 0 50px;
    text-align: left;
  }
	form input:nth-child(2){
		width: 400px;
		height: 50px;
	}
	form textarea {
		width: 400px;
		height: 200px;
	}

	.sec3 {
		width: 100%;
    margin-bottom: 100px;
  }
  .sec3 p {
		font-size: 20px;
		padding: 0 400px 0 400px;
		line-height: normal;
		margin-bottom: 80px;
  }
	.sec3 input {
		margin-left: 150px;
	}
	.button input {
		width: 200px;
		height: 50px;
		margin-left: 200px;
		font-size: 25px;
		color: white;
		font-weight: bold;
		background-color: #3b5b83;
	}

	#pagetop {
	 display:inline-block;
	 position:fixed;
	 bottom:0;
	 right:0;
	}


	#pagetop a {
	 padding:20px 10px;
	 display:block;
	 background:#008b8b;
	 color:#fff;
	 text-align:center;
	}
	footer {
		position: relative;
		width: 100%;
		height: 100px;
		background-color: #f4e9e3
	}
	footer ul {
		display:flex;
		flex-wrap: wrap;
		list-style: none;
		padding-left: 0;
		text-align:center;
	}
	footer li {
		font-size: 16px;
		xdisplay: inline-block;
		width:150px;
		margin: 0 auto;
		margin-top: 20px;
		margin-bottom: 15px;
	}
	footer ul a {
		text-decoration: none;
	}
	small {
		text-decoration: overline;
		text-decoration-color: white;
		text-decoration-thickness: 3px;
		position: absolute;
		font-size: 14px;
		bottom: 15px;
		left: 47%;
		transform: translateX(-30%);
	}







}
