@charset "UTF-8";
/* CSS Document */

/*-------------------------------------------
リセットCSS外部読み込み
-------------------------------------------*/
@import url("sanitize.css");

html,body {
	min-width:100%;
	min-height:100%;
	position:relative;
	font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  margin: 0 auto;
}
a {
  text-decoration: none;
  color: #1b365d;
}

html {
  -webkit-text-size-adjust: none
}

.main-wrapper {
  margin: 50px 0;
}

.title {
  text-align: center;
  font-weight: 600;
  font-size: 25px;
  margin: 50px 0;
}

h1 {
  font-size: 33px;
  font-weight: 600;
  text-align: center;
}

.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}
.item {
  /* width: 33%; */
  width: 30%;
  margin: 25px 50px;
  text-align: center;
}
.item p {
  margin-top: 15px;
  line-height: 1.4;
}

/*-------------------------------------------
ボタン
-------------------------------------------*/
.btn {
  /* width: 70%; */
  border: 1px solid #1f1f1d;
  color: #1f1f1d;
  overflow: hidden;
  margin: 15px auto;
  padding: 20px;
  display: block;
  text-align: center;
  font-size: 17px;
  text-decoration: none;
  border-radius: 5px;
  position: relative;
  z-index: 1;
}

.btn::after {
  background-color: #1b365d;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: .4s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}

.btn:hover {
  color: #fff;
}

.btn:hover::after {
  transform: scale(1, 1);
}

.item img {
  width: 80%;
  margin-top: 40px;
  border: 1px solid #dcdcdc; 
  /* box-shadow: 10px 10px 15px -15px; */
}


/* .cssgrid {
  display: grid;
  max-width: 1200px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: 1fr;
  grid-gap: 2em;
  padding: 2em;
  margin: 0 auto;
}

.cssgrid  div {
  overflow: auto;
  min-width: 0;
  padding: 1em;
  text-align: center;
}

.btn {
  color: #1b365d;
  line-height: 1.3;
}
.button {
  padding: 20px;
  border-radius: 5px;
  border: 1px solid #1b365d;
}

.button:hover {
  background-color: #1b365d;
  color: #fff;
}

.cssgrid img {
  width: 80%;
  margin-top: 40px;
  /* border: 1px solid #dcdcdc; 
  box-shadow: 10px 10px 15px -15px;
} */

/*-------------------------------------------
ページ下の余白
-------------------------------------------*/
.foot-margin {
  height: 100px;
}

/*-------------------------------------------
レスポンシブ
-------------------------------------------*/

/* タブレット用 */
@media only screen and (max-width: 768px) {
  .item img {
    /* width: 80%; */
    margin-top: 20px;
  }
}

/* スマホ用 */
@media only screen and (max-width: 590px) {
  .item {
    width: 100%;
    margin: 25px 40px;
  }
}