@charset "UTF-8";

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
    color: #24292e;
    font-family: Verdana, Roboto, "Droid Sans", "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
    line-height: inherit;
}

a {
  text-decoration: none;
}

p {
  font-size: 1rem;
  text-align: center;
}

img {
  max-width: 90%; }

hr.dotstyle {
  border-top: 1px dashed #8c8b8b;
  margin: 30px 30px ;
  }



/* wrapperは共通 */
.wrapper {
  max-width: 960px;
  margin: 0 auto 130px auto;
  font-size: 0.8rem; 
  padding: 0 4%;
}

.site-title {
  line-height: 1px;
  font-weight: 600;
  font-size: 2.4rem;
}

.site-title a {
  display: block;
  color: #24292e;
}


.sec-title-menu {
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 20px;
  color: #ff0000;
  

}




.sec-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 70px;
}

.h3-title {

  font-size: 1.7rem;
  font-weight: 300;
  text-align: center;
  margin-top: 60px; 
  margin-bottom: 50px;
  line-height: 40px;


}

.h3-title {
  color: #364e96;/*文字色*/
  padding: 0.5em 0;/*上下の余白*/
  border-top: solid 3px #364e96;/*上線*/
  border-bottom: solid 3px #364e96;/*下線*/
  
}

.h3-title2 {

  font-size: 1rem;
  font-weight: 300;
  text-align: center;
  margin-bottom: 30px;
  line-height: 30px;


}

.h3-title-syoukai{

  font-size: 1.7rem;
  position: relative;
  border-top: solid 2px #80c8d1;
  border-bottom: solid 2px #80c8d1;
  background: #f4f4f4;
  line-height: 1.4;
  padding: 0.4em 0.5em;
  margin: 2em 0 0.5em;
  
}

.h3-title-syoukai:after {
  /*タブ*/
  position: absolute;
  font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
  font-weight: 900;
  content: '\f0a7\ POINT';
  background: #80c8d1;
  color: #fff;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 5px 7px 3px;
  font-size: 0.7em;
  line-height: 1;
  letter-spacing: 0.05em;
}




.h3-menu {

  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  margin-top: 20px; 
  margin-bottom: 20px;
  line-height: 23px;
  
}

a.syoukai_btn {
	display: block;
  text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 230px;
	margin: 0 auto;
  margin-top: 50px;
  margin-bottom: 50px;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 2px solid #db1a2a;
	background: #db1a2a;
	color: #fff;
	border-radius: 5px;
	transition: 0.5s;
	animation: move_c 1s infinite;
}
@keyframes move_c {
    0% {transform: translate(0px, 0)}
    50% {transform: translate(0px, 0) rotateZ(5deg)}
}
a.syoukai_btn:hover {
	color: #db1a2a;
	background: #fff;
}

.kiyaku {
  margin: auto;
  margin-bottom: 50px; 
  max-width: 80%;
  border-radius :8px;
  box-shadow :0px 0px 5px silver;
  padding: 0.5em 0.5em 0.5em 2em; 
  font-size: 0.7rem;
  line-height: 1.5;
  padding: 0.5em 0;

  }



.kiyaku li {
  font-size: 0.7rem;
  line-height: 1.5;
  padding: 0.5em 0;
}


  
/*----------------------------------------------
ヘッダー
------------------------------------------------*/
#header {
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 170px;
  margin: 0 auto;
  padding: 0 4%;
}

#header ul {
  display: flex;
  padding: 10px 0;
  align-items: center;
}

#header li {
  font-size: 0.9rem;
  margin-left: 30px;
}

header li a {
  color: #24292e;
  transition: all 0.3s;
}

#header li a:hover {
  opacity: 0.5;
}

#header li img.icon {
  width: 30px;
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
  margin-bottom: 80px;
  text-align: center;
}

#mainvisual img {
  width: 100%;

}

/*-------------------------------------------
video
-------------------------------------------*/

video {
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 16 / 9; /* 動画のアスペクト比 */
  display: block;
  margin: auto;
  margin-top: 50px; 
  margin-bottom: 50px; 
}


/*-------------------------------------------
section01
-------------------------------------------*/
#section01 ul {
  margin-bottom: 30px;
}

#section01 ul li {
  margin-bottom: 3px;
}

#section01 ul li:first-child {
  margin-bottom: 30px;
}

#sention01 p {
  text-align: center;
}


/*----------------------------------------------
SP
------------------------------------------------*/
@media screen and (max-width: 320px) {
  .wrapper {
    margin-bottom: 70px;
  }

  .site-title {
    margin-top: 20px;
  }

  .sec-title {
    margin-bottom: 40px;
  }


  .p {
    font-size: 0.8rem;
    line-height: 2;

}

 /* ヘッダー */
  #header {
    max-width: 100%;
    height: auto;
    flex-direction: column;
    margin-top: 20px;
    line-height: 2;
  }

  #header li {
    font-size: 0.8rem;
    margin-left: 20px;
  }

  #header li:first-child {
    margin-left: 0;
  }

  #header li img.icon {
    width: 20px;
    margin-top: 15px;
  }


}





#cardlayout-wrap {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  margin: 2em auto;
  max-width: 960px;
  width: 100%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
}

/* リンクテキストの下線を非表示 */
a.card-link {
  text-decoration: none;
}

/* カードレイアウト内の画像を幅いっぱいに表示 */
#cardlayout-wrap img {
  display: block;
  max-width: 100%;
  height: auto;
}

.card-figure {
  margin: 0;
  padding: 0;
}

/* カードレイアウトのタイトル部分 */
.card-title {
  margin: 0.8em 0 0;
  color: #333;
  text-align: center;
  font-size: 1.5em;
}

/* カードレイアウトのタイトル部分（小） */
.card-title-s {
  margin-top: 10px;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
  font-size: 1.2em;
}

/* カードレイアウトの説明文部分 */
.card-text-tax {
  margin: 0;
  padding: 1em;
  color: #818181;
}

.card-text-center {
  margin: 0;
  padding: 1em;
  color: #e08925;
}

/* カードレイアウトを1カラムで配置 */
.card-list {
  margin: 0.5em auto;
  padding: 0;
  width: 96%;
  
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

/* 画面幅768px以上の場合カードレイアウトを2カラムで配置 */
@media all and (min-width: 768px) {
  .card-list {
      margin: 0.5em 0;
      width: calc(96% / 2); /* 96%幅を2で割るという指定 */
  }
}

/* 画面幅992px以上の場合カードレイアウトを3カラムで配置 */
@media all and (min-width: 992px) {
  .card-list {
      width: calc(96% / 3); /* 96%幅を3で割るという指定 */
}
  
/* 最後の行が3列より少ない場合左寄せにレイアウトさせる */
  #cardlayout-wrap::after{
      content: "";
      display: block;
      width: calc(96% / 3);
  }
}

