@charset “utf-8”;

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  background-color: whitesmoke;
  margin-right: auto;
  margin-left: auto;
  max-width: 1160px;
}


body #container * {
  margin: 0 auto;
}

#headimg img,
main img {
  width: 100%;
}

/* 画像の下の謎の余白対応 */
/* #headimg img {
  vertical-align: bottom;
}*/
#headimg img {
  display: block;
}

/* clearfix */
.clearfix:after {
  clear: both;
  content: '';
  display: block;
}


#headimg {
  height: 300px;
  overflow: hidden;
}

#headimg img {
  margin-top: -150px;
}


/* メニュー */
ul.gmenu {
  margin: 0;
  padding: 0;
  background-color: darkgray;
  display: flex;
  justify-content: center;
  /* text-align: center; */
}

ul.gmenu > li {
  display: inline-block;
  padding: 5px;
  font-weight: bold;
  width: 15%;
  text-align: center;
}

ul.gmenu > li a {
  color: #ffffff;
  display: block;
}

/* サブメニュー */
ul.gmenu ul {
  display: none;
}

ul.gmenu > li ul {

  height: auto;
  position: absolute;
  background-color: darkgray;
  padding: 5px;
  margin-left: -5px;
}
ul.gmenu ul > li {
  display: block;
  padding: 5px;
}

ul.gmenu li:hover {
  background-color: #666666;
}

/* フッターメニュー 上に開く */
#footerrnav ul.gmenu > li {
  position: relative;
}
#footerrnav ul.gmenu > li:hover ul {
  bottom: 34px;
  white-space: nowrap;
}


/* メインコンテンツ */
#inner-content {
  margin-top: 20px;
}
main {
  width: 800px;
  margin-right: 24px;
  float: left;
}

#container header {
  height: 300px; 
  display: block;
}

main h1 {
  margin-top: 0;
}

footer {
  display: block;
}

/* サイドバー */
#sidebar {
  width: 336px;
  float: right;
}

#sidebar h4 {
  margin-top: 0;
  margin-bottom: 10px;
  background-color: darkgreen;
  color: #FFFFFF;
  padding: 5px 15px;
  cursor: pointer;
}
#sidebar .sidetextlist  ul {
  padding: 0;
  margin-top: 0;
}
#sidebar .sidetextlist li {
  list-style: none;
}

#sidebar.sidefixed {
  position: fixed;
  top: 50px;
  right: calc(50% - 580px);
}

#sidebar.sideab {
  position: absolute;
  bottom: 50px;
  right: 0;
}
#footer {
  height: 500px;
}

#inner-content.tuiju {
  position: relative;;
}


/* テーブル */
.menulist {
  margin: 50px;
}

.menulist table {
  border-collapse: collapse;
  width: 100%;
}

.menulist table,
.menulist td,
.menulist th {
  border: solid 1px #AAAAAA;
  font-size: 16px;
}
.menulist td,
.menulist th {
  padding: 10px;
}
.menulist th {
  background-color: rgba(0,0,0,0.1);
}

#contactform table th {
  width: 30%;
}
.sendbtn {
  display: block;
  margin: 20px auto;
  width: 300px;
}



/* PC */
@media screen and (min-width: 980px) {

}
/* pc タブレット 980-1200 */
@media screen and (min-width: 980px) and (max-width: 1200px) {

}
/* タブレット */
@media screen and (min-width: 768px) and (max-width: 1200px) {

}
/* モバイル 、 タブレット */
@media screen and (max-width: 1200px) {

}
/* モバイル、タブレット縦 */
@media screen and (max-width: 979px) {
  body {
    margin: 0;
  }
  #logo img {
    width: 100%;
  }
  main {
    width: 100%;
    overflow: hidden;
  }
  #headimg {
    height: auto;
  }
  
  #headimg img {
    margin-top: 0;
  }
  
  .sonomama iframe {
    width: 100%;
  }


  .iframerespo {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    margin: 10% 0;
  }
  .iframerespo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
/* スマホ横 */
@media screen and (max-width: 767px) {

}
/* スマホ縦 */
@media screen and (max-width: 480px) {
  /* テーブル縦長 */
  .blocktable {
    margin: 1%;
  }
  .blocktable table {
    border: none;
    border-top: 1px solid #AAAAAA;
  }
  .blocktable table th,
  .blocktable table td {
    display: block;
    width: auto!important;
    border-top: none;
  }
  
  /* テーブル横スクロール */
  .sidetable {
    margin: 1%;
  }
  .sidetable table{
    width:100%;
  }
  .sidetable {
    overflow: auto;
    white-space: nowrap;
  }
  .menulist {
    margin: 100px 0;
  }
}

.textstyle {
  color: red;
  font-weight: bold;
  font-size: 36px;
}

#inner {
  width: 100%;
  height: 100%;
  background-color: #a0c5da;
}
#idname {
  margin: 30px;
  padding: 40px;
  border: 20px solid #666;
  width: 200px;
  height: 150px;
}


h1 {
	font-size: 2.0rem;
	font-weight: bold;
	color: #ff7800;
	background-color: white;
}

h2 {
	font-size: 1.4rem; 
	font-weight: bold;
	background-color: lightgreen;
}

h3 {
	font-size:1.2rem; 
	font-weight: bold;
}

p {
	margin-left: 20px;
}

hr {
	border-top: 10px solid darkgray;
}

hr.narrow {
	border-top: 5px double darkgray;
}

dt {
	font-weight: bold;
}

section.tile {
  background-color: lightgray; /* 背景薄いグレー */
  display: grid;            /* グリッド表示 */
  gap: 10px;                /* 間隔10px */
  grid-template-columns: 1fr 1fr 1fr; /* 2列等間隔 */
}

section.tile div {
  margin: 5px;   
  text-align: center;       /* 中央寄せ */
}

section.tile h2 {
	margin: 0 0 1px 0;
	font-size:1.0rem;
	font-weight: bold;
}

.title {
	font-size:2.0rem;
	text-align: left;
	text-decoration: underline;
}