@charset "UTF-8";

/* リセットCSS
---------------------------------------------------- */

body {
  margin: 0;
  padding: 0;
  color: #999999;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  min-width: 980px;
}

p,h1,h2,h3,h4,h5,h6,ul,ol {
  margin: 0;
  padding: 0;
}

img {
  border: none;
}

a {
  text-decoration: none;
}

/* ヘッダー内のスタイル
---------------------------------------------------- */

header {
	width: 100%;
	top: 0;
	left: 0;
	background-color: #E8DD09;
	position: fixed;
	z-index: 999;
}

.header-inner {
  width: 980px;
  height: 60px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; 
  align-items: center;
}

.logo {

}

.global-nav {

}

.global-nav li {
  display: inline-block;
  margin: 0 20px;
  font-size: 16px;
  list-style: none;
}

.global-nav li a {
  color: #ffffff;
}

.global-nav li a:hover {
  border-bottom: 2px solid #69C;
  padding-bottom: 1px;
}

.fab {
	color: #06F;
}

/*ページ内リンクの移動位置を調整*/
a.anchor {
    display: block;
    padding-top: 30px;
    margin-top: -30px;
}


/* コンテンツエリアのスタイル
---------------------------------------------------- */
#home {

}

#wrap {
	background-color: #E8DD09;
	background-image: url(../images/bg-catch-1.png),url(../images/bg-catch-2.png),url(../images/bg-index02.png);
	background-repeat: no-repeat;
  background-position: calc(50% - 230px) 130px,calc(50% - 230px) 370px,calc(50% + 230px) 100px;
  background-attachment: fixed;
	padding-top: 60px;	
}

.catch {
	display: none;	
}
	
.main {
	clear: both;
	margin-top: 540px;
	background-color:#F4F4EA;
}

.content {
	 width: 980px;
	 margin: 0 auto;
	 padding: 50px 0 0;

}

.sec {	
  
  margin: 0 auto;
  padding: 20px 10px;
}

h2 {
	font-size: 40px;
	line-height: 1.2;
	border-bottom:solid 3px #69C;
}

h3 {
	padding-top: 0.4rem;
	color: #666;
}


/* ▼▼▼　ボタンのスタイル　▼▼▼ */

.btn a {
  background-color: #C03;
  color: #ffffff;
  font-size: 20px;
  width: 185px;
  display: block;
  text-align: center;
  line-height: 50px;
  margin-top: 20px;
  border-radius: 5px;
  border: 3px solid #C03;
}

.btn a:hover {
  background-color: #F4F4EA;
  color: #C03;
}

.btn-small a {
	font-size: 14px;
	width: 100px;
	line-height: 30px;
	border-radius: 20px;
	margin: 20px auto 20px;
}

/* ▲▲▲　ボタンのスタイル　▲▲▲ */

.sec-2.container {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

figure {
	width: 300px;
	margin: 0 0 50px;
	background-color: #fff;
	
	
}

figure img {
	width: 300px;
	height: auto;
}

figcaption {
	padding: 10px;
	text-align: center;
}

.sec-2-ttl {
	font-size: 16px;
	font-weight: bold;
	color: #666;
	padding-bottom: 10px;
}

/* Contact のスタイル
---------------------------------------------------- */
.form {
  padding: 30px;
}

.form dl dt {
  width: 165px;
  padding: 10px 0;
  float: left;
  clear: both;
}

.form dl dd {
  padding: 10px 0;
}

.form .name {
  width: 240px;
  height: 30px;
}

.form .email {
  width: 300px;
  height: 30px;
}

.form .tel {
  width: 240px;
  height: 30px;
}

.form .type {
  width: 180px;
  height: 30px;
}

.form .message {
  width: 660px;
  height: 150px;
}

.form button {
  background-color: #69C;
  color: #ffffff;
  font-size: 20px;
  width: 120px;
  display: block;
  text-align: center;
  line-height: 50px;
  border-radius: 5px;
  border: 3px solid #69C;
  margin-left: 165px;
}

.form button:hover {
  background-color: #ffffff;
  color: #69C;
  cursor: pointer;
}

.form .required:after {
  content: "*";
  color: #ff0000;
}

.form .attention {
  margin: 20px 0 0 165px;
}

/* Access・Map のスタイル
---------------------------------------------------- */

/*  フロートによる回り込みの影響を解除する　 */

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.sec-5 table {
  float: left;
}

.sec-5 th,
.sec-5 td {
  text-align: left;
  vertical-align: top;
  line-height: 2.5;
}

.sec-5 td {
  padding-left: 30px;
}

.sec-5 iframe {
  width: 480px;
  float: right;
  padding-bottom: 50px;
}

#pageTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

#pageTop a {
    display: block;
    z-index: 999;
    border-radius: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(102,153,204,0.5);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}


/* フッターエリアのスタイル
---------------------------------------------------- */

footer {
  text-align: center;
  color: #ffffff;
  background-color: #666;
  padding: 20px 0;

}

footer small {
  font-size: 12px
}



/* スマートフォンのスタイル
---------------------------------------------------- */

@media screen and (max-width:600px) { /*メディアクエリ*/
  
  body {
    font-size: 0.9rem;
    min-width: 100%;
  } 
  
     header {
    width: 100%;
    
  }
  
   
   .header-inner {
	   width: 100%;
	   height: auto;
	   display: inherit;
   }
	
	.logo {
    float: none;	
    margin-top: 10px;
    text-align: center;
  }
  
  .logo img {
	  width: 180px;
  }
    
  .global-nav {
	  
    float: none;
    margin: 0;
	line-height: 1;
    text-align: center;
	padding-bottom: 4px;
  }
  
  .global-nav li {
	  font-size: 0.9rem;
    display: inline;
    float: none;
    margin: 0 4px;
	padding-bottom: 4px;
  }
  
  #wrap {
	background : none;
    margin-top: 60px;
    padding: 0;
    width: 100%;
  }

  .main {
	  width: 100%;
	  margin: 0;
  } 
      
  .catch {
	  color: #69C;
	  padding: 10px 0;
	  display: inherit;
	  text-align: center;
  }

  h1 {
    font-size: 6vw;
	padding-top: 5px;
    margin-bottom: 5px;
  }
  
  h2 {
    font-size: 6vw;
    margin: 10px 0 5px; /*aboutページのレスポンシブ用CSS*/
  }

  .content {
    width: 100%;
    padding: 0 2%;
    box-sizing: border-box;
  }
  
  .btn a {
    width: 100%;
    font-size: 14px; 
    margin: 20px auto;
    box-sizing: border-box;
  }
  
    .sec-2.container {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
	}
  
  section{
    padding-bottom: 20px;
  }
  
  .sec-3 iframe {
	  width: 100%;
  }
  

  /*
  sp contactのスタイル
  --------------------------------------------- */


  .sec-5 table {
    float: none;
    margin-bottom: 10px;
  }

  .sec-5 th, .sec-5 td {
    display: block;
    line-height: 1.8;
  }

  .sec-5 td {
    padding-left: 0;
    margin: 0 0 10px;
  }

  .sec-5 iframe {
    width: 100%;
    float: none;
  }

  .form {
    padding: 10px 20px;
  }

  .form dl {
    margin: 0;
  }

  .form dl dt {
    width: 100%;
    padding: 10px 0 0;
    float: none;
  }

  .form dl dd {
    padding: 0;
    margin: 0;
  }

  .form .name, .form .email, .form .tel {
    width: 100%;
    height: 30px;
    box-sizing: border-box;
  }

  .form .type {
    width: 100px;
    height: 30px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }

  .form .message {
    width: 100%;
    height: 120px;
  }

  .form button {
    font-size: 12px;
    line-height: 40px;
    margin: 10px 0;
  }

  .form .attention {
    margin: 10px 0 0 0;
    font-size: 10px;
  }
  
  footer {
	  margin: 0;
	  padding: 10px 0;
  }

} /*メディアクエリ*/