@charset "UTF-8";

*{
	margin: 0;
	font-size: 14pt;
	font-family: sans-serif;
	/*line-height: 1.8em;*/
}
body{
	min-width: 320px;
	max-width: 560px;
	margin: 0 auto;
}

.logo img{
	height: 3em;
	width: auto;
	box-sizing: border-box;
	margin: 2%;
}

.top_img img{
	width: 100%;
}
.link_img img{
	width: 100%;
	margin-bottom: 2em;
}

.content{
	width: 80%;
	margin: 1.5em auto;
	font-weight: bold;
}

#text{
	margin: 20px auto;
	width: 80%;
}
.toptext{
	margin: 1em auto;
	font-size: 0.8em;
	line-height: 1.8em;
}

table {
    display: table;
    border-collapse: separate;
    box-sizing: border-box;
    text-indent: initial;
    white-space-collapse: collapse;
    text-wrap: wrap;
    line-height: normal;
    font-weight: normal;
    font-size: medium;
    font-style: normal;
    color: -internal-quirk-inherit;
    text-align: start;
    border-spacing: 2px;
    border-color: gray;
    font-variant: normal;
	width: 100%;
}
th{
	width: 30%;
	text-align: left;
}
td input{
	width: 100%;
}

.terms h1{
	text-align: center;
	margin: 10px auto;
}
.terms__text{
	height: 200px;
	font-size: 13pt;
	margin: 0 auto;
	padding: 10px;
	border: solid black 0.5px;
	overflow-y: scroll;  
}
.terms ol{
	padding: 0 0 0 1.5em;
}
.terms li{
	margin-bottom: 0.5em;
}

.red{
	font-size: 0.8em;
	color: #bf272d;
}

.center{
	text-align: center;
}


/* チェックボックス全体 */
.checknox-wrap {
  display: block;
  position: relative;
  margin: 12px auto;
  cursor: pointer;
  font-size: 1.2em;
  user-select: none;	
	padding-left: 2em;
	align-items: center;
	max-width: 9em;
}

/* デフォルトチェックボックス非表示 */
.checknox-wrap input {
  display: none;
}

/* チェックボックスのスタイル */
.checknox-wrap .checkmark {
  position: absolute;
  top: 0.2em;
  left: 0;
  height: 1.5em;
  width: 1.5em;
  background: #CCC;
  box-sizing: border-box;
}

/* チェックマーク作成 */
.checknox-wrap .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 0.5em;
  top: 0.2em;
  width: 0.4em;
  height: 0.8em;
  border: 4px solid #FFF;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* チェック時のスタイル */
.checknox-wrap input:checked + .checkmark {
  background-color: #0071BA;
}

/* チェック時 チェックマーク表示 */
.checknox-wrap input:checked + .checkmark:after {
  display: block;
}

.button {
  margin: 10px auto 50px auto;
  display       : inline-block;
  border-radius : 10px;          /* 角丸       */
  font-size     : 1.2em;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 14px 36px;   /* 余白       */
  background    : #0071BA;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  border        : 2px solid #0071BA;   /* 枠の指定 */
}

.fix {
  display       : inline-block;
  border-radius : 10px;          /* 角丸       */
  font-size     : 1em;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 12px 34px;   /* 余白       */
  background    : #c6e4ee;     /* 背景色     */
  color         : #000000;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  border        : 2px solid #c6e4ee;    /* 枠の指定 */
  margin-bottom : 4rem;
}

.flex{
	display: flex;
	margin: 0 auto;
	padding: 1.5em 0;
	max-width: 750px;
	justify-content: center;
	border-top: 2px solid #0071ba;
}
.imgarea{
	width: 40%;
	text-align: center;
}
.textarea{
	width: 60%;
	padding: 0.5em;
}
.imgarea img{
	width: 100%;
	max-width: 90px;
}
.textarea h2{
	font-size: 16pt;
	line-height: 1.4em;
}
.textarea p{
	margin-top: 1em;
	font-size: 10pt;
	line-height: 1.3em;
}

#tel{
	text-align: center;
	border: 2px solid #0071ba;
}

#tel a{
	text-decoration: none;
	font-size: 1.8em;
	font-weight: bold;
}
#tel p{
	line-height: 1.5em;
}

.melife{
	width: 60%;
	margin: 1em auto;
}
.melife a{
}
.melife img{
	width: 100%;
	margin: 1em auto;
}

.footerFixed{
    min-height: 100vh; /* ←コンテンツの高さの最小値＝ブラウザの高さに指定 */
    position: relative;/* ←相対位置 */
    padding-bottom: 60px; /* ←フッターの高さを指定 */
    box-sizing: border-box;
    /* ↑ヘッダーやフッターを含むすべての要素の高さ＝min-height:100vhになるように指定 */
}

footer{
	margin-top: 110px;
	z-index: 1;
    position: absolute;/* ←絶対位置 */
    bottom: 0;
	background: #0071BA;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
	padding: 20px;
}
.footer p,
.footer a{
	margin: 0.3em;
	color: #fff;
	font-size: 0.5em;
	text-decoration: none;
}

.errortop{
	color: #fff;
	background: #ef5a24;
	height: 40px;
	text-align: center;
	line-height: 40px;
}



.floating-banner {
  position: fixed; /* バナーを追従させる */
  z-index: 99999; /* 他の要素の下に隠れないように */
  bottom: 0; /* バナーの上下の位置 */
  right: 0; /* バナーの左右の位置 */
}
.floating-banner__image {
  max-width: 100%; /* 画像の最大幅 */
}
@media screen and (max-width: 560px) { /* スマホ用のブレイクポイントを指定 */
  .floating-banner {
    display: block;/* 消していたバナーを表示させる */
    width: 100vw; /* スマホの画面幅いっぱいにバナーを表示 */
  }
}



#text{
    padding-bottom: 70px;
  }

  /* バナーを固定表示する */
  .floating-banner_wrap{
    width: 100%;
    max-width: 560px;
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 9999;
    transform: translateX(-50%);
  }

  /* aタグと画像をブロック要素にする */
  .floating-banner_wrap a,
  .floating-banner__image{
    display: block; 
  }










