@charset "UTF-8";
/* CSS Document */
/*cssリセット：どのブラウザでも適切なレイアウトで表示されるための初期設定*/
html, html * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}
/*ホームページ全体のデザイン*/
body {
  margin-left: auto;
  margin-right: auto;
  min-width: 350px;
  background-color: #ececed;
}
header {
  padding: 32px;
  background-color: #cacdd4;
}
/*超重要*/
/*行と列の初期定義*/
.row:before, .row:after {
  content: "";
  display: table;
}
.row:after {
  clear: both;
}
/*colの設定*/
.col {
  width: 100%;
}
/*ロゴの定義*/
.style-logo {
  margin-left: auto;
  margin-right: auto;
  width: 50px;
  margin-bottom: 20px;
  display: block;
}
/*ロゴスタイル*/
.col-head {
  margin: auto;
  padding-top: 10px;
  width: 70px;
  height: 100px;
}
.style_nav ul li a {
  color: #5a5f70;
  font-size: 12px;
  text-decoration: none;
  text-align: center;
  display: block;
  padding: 10px 3px;
}
.style_nav ul li a:hover {
  color: #ffffff;
}
ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
}
li {
  width: calc(100%/5);
  /*border-top: 3px solid #5a5f70;
	border-bottom: 3px solid #5a5f70;*/
}
.style_nav img {
  width: 30px;
}
.menu-box {
  border-left: 1px dashed #FFFFFF;
  font-size: 12px;
  text-decoration: none;
  color: #5a5f70;
  text-align: center;
  display: block;
  padding: 10px 3px;
  cursor: pointer;
  overflow: auto;
}
.menu-box:hover {
  color: #ffffff;
}
#btn-u:hover {
  background-color: #5a5f70;
  border-radius: 10px;
  color: #ffffff;
}
#open:hover {
  background-color: #5a5f70;
}
#overlay {
  /* viewpointを相対位置にし、全画面表示にする */
  width: 100%;
  height: 120%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7); /* 背景を半透明にする */
  display: none; /* HTML要素を非表示にする */
  z-index: 1; /* 「メインのHTML要素」よりもスタックレベルを高くする */
  overflow: auto;
}
#modalWindow {
  width: 350px;
  height: 90%;
  position: fixed;
  border: 3px solid #5a5f70;
  border-radius: 10px;
  background-color: rgba(202, 205, 212, 0.90);
  display: none;
  color: #FFFFFF;
  overflow: scroll;
  z-index: 2;
}
#modalWindow p {
  text-align: center;
  color: #5a5f70;
  font-size: 10px;
}
#modal-btn img {
  width: 30px;
  margin: 0px 10px 0px 10px;
  vertical-align: middle;
}
/*モーダルウィンドウ内のボタン*/
#modal-btn {
  display: block;
  border: 1px rgba(90, 95, 112, 0.70) solid;
  background-color: #CACDD4;
  width: 90%;
  padding: 10px 30px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  border-radius: 10px;
  color: #5a5f70;
  vertical-align: middle;
  cursor: pointer;
}
#modal-btn:hover {
  background-color: #5a5f70;
  color: #ffffff;
}
.modal-a {
  font-size: 14px;
  text-decoration: none;
  color: #FFFFFF;
}
/*モーダルウィンドウ内のボタン*/
#close-btn {
  display: block;
  border: 1px rgba(255, 255, 255, 0.1) solid;
  background-color: rgba(90, 95, 112, 0.70);
  width: 90%;
  padding: 10px 50px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  border-radius: 10px;
  color: #FFFFFF;
  vertical-align: middle;
  font-size: 14px;
  text-decoration: none;
}
#close-btn:hover {
  background-color: rgba(90, 95, 112, 1.0);
}
.modal-head p {
  font-size: 10px;
}
.modal-head {
  margin-left: 30px;
}
.model-head span {
  text-align: center;
  color: #5a5f70;
}
.btn-close {
  border: 1px rgba(255, 255, 255, 0.1) solid;
  background-color: rgba(227, 227, 227, 0.1);
  padding: 2px 8px;
  margin: 5px 5px;
  text-align: center;
  border-radius: 15px;
  color: #FFFFFF;
  text-decoration: none;
  float: right;
}
.btn-close:hover {
  background-color: #5A5F70;
}
/*span*/
span {
  font-size: 8px;
}
/*main*/
main {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
h2 {
  text-align: center;
  color: #5a5f70;
  font-size: 20px;
}
h4 {
  text-align: center;
  margin-bottom: 10px;
  color: #5a5f70;
  font-size: 14px;
}
.date {
  color: #cacdd4;
}
/*ボタン設定*/
.button-text {
  margin-top: 30px;
  text-align: center;
}
.button {
  background-color: #ececed;
  color: #5a5f70;
  padding: 12px 25px;
  border-radius: 30px;
  border: solid 1px #5a5f70;
  text-decoration: none;
  font-size: 12px;
}
.button:hover {
  background-color: #5a5f70;
  color: #ffffff;
}
h3 {
  font-weight: 300;
  padding-top: 30px;
}
/*下線の設定*/
hr {
  border-color: #5a5f70;
}
/*sectionの設定*/
section {
  margin-top: 30px;
  margin-bottom: 30px;
}
.news {
  padding: 20px;
}
.news-text a {
  text-decoration: none;
  color: #5a5f70;
}
.news-text a:hover {
  background-color: #cacdd4;
}

.newsImg img{
  width: 100%;
  border-radius: 10px;
  border: 3px #5a5f70 solid;
}

.two-newsImg img{
  width: 100%;
  border-radius: 10px;
  border: 3px #5a5f70 solid;
}
/*フッター*/
footer {
  background-color: #cacdd4;
  margin-top: 10px;
}
.footertext {
  padding: 10px;
  color: #5a5f70;
  text-align: center;
  font-size: 12px;
}


iframe{
	margin-left: auto;
	margin-right: auto;
	width: 320px;
	height: 180px;
}

.app-img img{
	width: 150px;
}

/*タブレット用*/
@media (min-width: 768px) {
  main {
    max-width: 900px;
  }
  .style-logo {
    width: 50px;
  }
  .style-nav ul li {
    display: inline-block;
  }
  .style-nav ul {
    text-align: center;
  }
  .style_nav {
    width: 450px;
    margin-right: 20px;
    float: right;
  }
  .col-head {
    float: left;
    margin: 10px 50px;
  }
  li {
    border-top: none;
    border-bottom: none;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .menu-box {
    border-left: none;
  }
  .modal-head {
    float: left;
    margin-bottom: 25px;
  }
  /*2段組にする設定*/
  .col-md-half {
    width: 50%;
  }
  .col {
    float: left;
  }
  .date {
    margin-top: 30px;
    font-size: 12px;
  }
  h2 {
    text-align: left;
    float: left;
    margin-left: 15px;
  }
  h4 {
    text-align: left;
    padding: 7px;
    margin-left: 100px;
  }
  .newsImg {
    width: 33%;
	float: left;
	padding: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
	
.two-newsImg {
    width: 50%;
	float: left;
	padding: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
	
	iframe{
		width: 560px;
		height: 315px;
	}
}
/*デスクトップ用*/
@media (min-width: 1024px) {
  main {
    max-width: 1200px;
  }
  .style-logo {
    float: left;
    width: 50px;
  }
  .style-nav {
    float: right;
  }
  .main-theme {
    margin-top: 30px;
  }
  .main-photo {
    max-width: 600px;
    margin-left: 60px;
    padding: 140px;
  }
  .main-theme {
    padding: 150px 50px;
  }
}