@charset "UTF-8";
/* ------------------ */
/* -- COMMON.CSS ---- */
/* ------------------ */

@media (min-width: 767px) {
  .sp_only {display: none;}
}
@media (min-width: 1024px) {
  .humbergar_only {display: none;}
}


/* -- COLLOR ----------------------------- */
.red {color:#E7563C;}


/* -- a tag ----------------------------- */

a {
  color: #333227;
  text-decoration: none;
  color: inherit; /* bodyなどの基本色を引き継ぐ */
}
/*a:link { color: #000; }
a:visited { color: #000; }*/
a:hover { color: #59BC91; }
a:active { color: #59BC91; }
a:hover img { opacity :0.9;}
a:hover { opacity :0.9;}



.link_line a {
	position: relative;
	display: inline-block;
	transition: .3s;
}
.link_line a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  height: 2px;
  background-color: #30b0c8;
  transition: .3s;
}
.link_line a:hover::after {
  width: 100%;
}
.link_line a:hover { opacity :1;}




/* -- btn（共通） ----------------------------- */


/* 共通ボタン */
.btn {
  display: block;    /* ← 幅指定きかせる */
  width: 240px;    /* PC固定幅 */
  padding: 12px 0;
  border-radius: 999px;
  text-align: center;
  background: #59BC91;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s, transform .2s;
  position: relative;
  margin: 0; 
}

.btn:hover {
  background: #71D3A8;
  color: #fff;
  transform: translateY(-2px);
}

.btn a { color: #fff;}

/* → 矢印マーク */
.btn::after {
  content: "→";
  position: absolute;
  right: 22px;        /* 右端からの距離 */
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  transition: transform 0.2s ease;
}

/* hover時にちょっと動かす（軽い演出） */
.btn:hover::after {
  transform: translate(4px, -50%);
}


@media only screen and (min-width: 769px) { /*769以上*/
	.over769non { display: none;}
}

@media only screen and (max-width: 768px) { /*768以下*/
	.under768non { display: none;}
	
}

/* heroのボタン */
.hero .btn {   /* 右寄せ */
  margin-left: auto;
  margin-right: 0;
  width: 260px;
}

/* 固定幅を維持して並べる */
.btn-row {
  display: flex;
  justify-content: center;   /* 常に中央 */
  align-items: center;
  align-content: center;     /* 折り返し時の列も中央 */
  gap: 18px;
  flex-wrap: wrap;
  width: 100%;
  margin: 22px 0 10px;
}

/* 固定幅を維持して並べる（PC/タブレット/スマホ共通） */
.btn-row .btn {
  flex: 0 0 240px;           /* 幅240pxを保って並べる */
}

	